DEV Community

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

Collapse
 
whitep4nth3r profile image
Salma Alam-Naylor

TIL!! Thanks for that! I guess if you wanted different shades of black and white for the foreground/background colours you’d still have to do a bit more work?

Collapse
 
felixdusengimana profile image
Felix DUSENGIMANA • Edited

Sure. If you want different background other than the CSS built-in you'd use the first approach.