DEV Community

Discussion on: Simplifying React state and styled components

Collapse
 
simoroshka profile image
Anna Simoroshka • Edited

I usually use styled-components theme provider and keep all colors and reusable settings in one theme file. And if I am planning to change themes at some point, I don't name colors by their color name but rather by the function in the application (brand, accent, background, etc.)

Collapse
 
independnt profile image
independnt

Very interesting! I think i actually like that better, thanks for the input :)