Browsers Dark Mode affects website | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Browsers Dark Mode affects website

I switched my opera and mi browsers to dark mode, the browsers look good, but it also affects every websites as well, not just the background or foreground colors but also changes the svg images, and removes any sort of box shadows, which doesn't look good. So is their an option as a developer to avoid the user agent dark mode css to be applied to my websites. Or is their a way to mutate color preferences that browser may choose. Night Eye is the feature I believe, most of the browsers are using, but I don't find a post which tells to override those styles. screenshot: mi browser (dark mode) https://ibb.co/4ZgMZ3j screenshot: mi browser (light mode) https://ibb.co/3kn2TTh

23rd Aug 2020, 11:20 AM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
1 Answer
- 1
No
25th Aug 2020, 10:42 AM
Pranav jha
Pranav jha - avatar