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


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) screenshot: mi browser (light mode)

8/23/2020 11:20:34 AM

Мг. Кнап🌠

1 Answer

New Answer