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
You could port your existing color values into CSS variables and then make additional color classes with different values for those CSS color variables.
I coded a flexible and working solution for the Dark Mode.
Works with basic CSS variables + short JavaScript.
Can be used inside existing CSS style file. Can be used to define multiple color themes in one CSS file. No user logins or profiles or tracking required.
@kylegordy and I had discussed this at one point, and I wanted to make sure we didn't forget it.
Since this is a tech blog, dark mode is very important 😸
The text was updated successfully, but these errors were encountered: