4 ms·
Can this also be exploited using CSS `@media (prefers-color-scheme: dark)` if the device's configured to use dark mode in low-light conditions (as opposed to ti
by drdaeman 7y ago
Can this also be exploited using CSS `@media (prefers-color-scheme: dark)` if the device's configured to use dark mode in low-light conditions (as opposed to time-based switching)?
- gen3 7y agoThat wouldn't work for a lot of people (like me), who have a dark theme on all the time. I don't have any statistics to back it up, but most everyone I know just leaves dark theme on all the time (or in the case of one light theme on all the time).
- duskwuff 7y agoAutomatic dark mode switching is also usually based on time, not lighting. And even if it is based on lighting, it usually has a very low temporal resolution -- if the user is in a dark room with occasional flashes of bright light (say, a disco), the UI isn't expected to flash in synchrony.