DEV Community

Discussion on: How to Implement a Dark Mode with CSS and 3 Simple Lines of Javascript

Collapse
 
lewiscowles1986 profile image
Lewis Cowles

You might want to combine that CSS with a cookie or something to omit the switch over if someone explicitly switches for a site.

Collapse
 
daveyhert profile image
David Herbert💻🚀

True. But this was a beginners guide so I didn't want to do anything extra.