Dark Mode

I have a simple question, when the user on his phone or laptop has his dark mode option on ... Is there a way it doesn't affect the colors on my website?
2 Replies
Jochem
Jochem8mo ago
MDN Web Docs
prefers-color-scheme - CSS: Cascading Style Sheets | MDN
The prefers-color-scheme CSS media feature is used to detect if a user has requested light or dark color themes. A user indicates their preference through an operating system setting (e.g. light or dark mode) or a user agent setting.
Jochem
Jochem8mo ago
oh, doesn't affect. I misread that, sorry. Unless you use something like prefers-color-scheme media queries, the dark mode option on the OS will not affect websites
Want results from more Discord servers?
Add your server