DEV Community

Discussion on: Create A Dark/Light Theme Switch with CSS/JS

mpuckett profile image
Michael Puckett

Haha had a fun time reading this. It’s not shit it’s good code 😄 Just wanted to mention that the CSS “prefers-color-theme: dark” media query might work for some people as well. The “switcher” is in the system settings.

electronlab profile image
Harsh Vardhan Goswami Author

Yeah that also a choice.I forgot to mention that🤣now will write that shit🤣