Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: [solved] Dark/light modes via OS preference
Firefox 87 —out just today— now include a toggle to test “the other” media query (dark mode or light mode) build in the developper tools. That might be, for development, a better solution than the extension discussed above. See this Mozilla blog post (first item) for some details. I have no idea how well it works on systems that don’t have build-in Dark mode support. And it won’t help magically displaying webpages in Dark mode for everyday browsing of course.
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg
Offline
Re: [solved] Dark/light modes via OS preference
phiw13 wrote #329416:
Firefox . . . toggle to test “the other” media query (dark mode or light mode) build in the developper tools.
Works nice in old macOS.
And, as you assumed, the color preference query does not work if dev tools are not active in same old OS. Dark Web Enforcer still needed in that case.
Still, since the color pref query got all popular, there’s been a lot of push-back on dark themes, and especially against websites that don’t offer a light theme option. Seems there are people trying really hard to discredit dark themes as bad for your eyes and problematic for people with existing eye problems, etc.
Sounds like a silly pissing war to me. I personally like the iOS preference that switches the mode in relation to day and night hours. My eyes are old and failing like anyone’s and this behaviour works well for me. I prefer dark mode screens at night and light in the day. Bright screens at night in low ambient light always feel like looking across white salt flats with the sun in my eyes. Having that automatically switch on a diurnal pattern on my phone is a pleasant change up. I wish my old macOS would do that.
Regardless, if the query is used correctly, adjusting to user preferences, there should be no problem. It’s a Yin-yang Thang, after all.
Offline