DEV Community

Discussion on: Use CSS to automatically enable dark mode in your web app based on system settings

dorshinar profile image
Dor Shinar

It's usually an OS setting you should turn on (e.g. chrome on Windows will activate prefers-color-scheme: dark if you have dark theme turned on in your Windows settings)