DEV Community

loading...

Discussion on: Dark Mode in CSS Part-2

Collapse
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.

Collapse
ritvikdubey27 profile image
Ritvik Dubey Author

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