You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was looking into css variables which was introduced not long time back. But it lacks example of it's usage or any recommended way to use it. Do anyone have idea how we can implement multiple theme like dark, light where light theme can have multiple color palettes in itself. If possible I want to avoid use of react lifecycle methods or css-in-js, it should be more like I can just modify classname on root and the theme changes.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I was looking into css variables which was introduced not long time back. But it lacks example of it's usage or any recommended way to use it. Do anyone have idea how we can implement multiple theme like dark, light where light theme can have multiple color palettes in itself. If possible I want to avoid use of react lifecycle methods or css-in-js, it should be more like I can just modify classname on root and the theme changes.
Beta Was this translation helpful? Give feedback.
All reactions