DEV Community


Discussion on: Dark Mode in CSS Part-2

machwatt profile image
Jöran Kurschatke

Thx for that article. A quick thought: Could be CSS Custom Properties a solution for Con No.2 ? Changing the color-value of a variable should do the work.

ritvikdubey27 profile image
Ritvik Dubey Author

Yes it could work but you have to couple it with selectors.