Browsers Dark Mode affects website | Sololearn: Learn to code for FREE!

+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

8/23/2020 11:20:34 AM

Мг. Кнап🌠

1 Answer

New Answer

-1