DEV Community

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

Collapse
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.

Collapse
electronlab profile image
Harsh Vardhan Goswami Author

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