DEV Community

Discussion on: Light and dark mode in just 14 lines of CSS

Collapse
 
sinewalker profile image
Mike Lockhart

I use a static blog generator with a light theme that I have overridden by hand. Now with this idea I can just wrap my overrides in the media query.

Thread Thread
 
whitep4nth3r profile image
Salma Alam-Naylor

Sweet!