DEV Community

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

whitep4nth3r profile image
Salma Alam-Naylor Author

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?

felixdusengimana profile image
Felix DUSENGIMANA • Edited on

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