DesignRevision / shards-react

⚛️A beautiful and modern React design system.
https://designrevision.com/downloads/shards-react/
MIT License
759 stars 98 forks source link

Defining default theme in Shards? #13

Closed stickyburn closed 1 year ago

stickyburn commented 5 years ago

Hi guys! Thanks for the awesome project! I was wondering how to change my default theme's primary and secondary colours. Do I just define a theme object and render it with my main App component?

Thanks!

Calfredop commented 5 years ago

Hello, Yes I would also like a quick guide to global theming or some reference to look into. Thanks

magrinj commented 5 years ago

Any help here ? Is it possible to did it without building from scratch shards-ui ?

ogaston commented 4 years ago

Any of you could solve it?

aueangpanit commented 4 years ago

Currently using this method until there's an official doc

index.css [class*='primary'] { background-color: red; border-color: red; }

Should work for other theme colors too: Primary #0067F4 Secondary #5A6169 Success #17C671 Info #00B8D8 Warning #FFB400 Danger #C4183C Light #E9ECEF Dark #212529

stickyburn commented 1 year ago

Just going to close this :skull: