https://developer.mozilla.org/en-US/docs/Web/CSS/@media/pref...
https://developer.mozilla.org/en-US/docs/Web/CSS/@media/pref...
That doesn't make any sense.
While it does lack in many other areas, Safari on MacOS has a wonderful interface for per-site default behavior for: automatically using reader-mode, allowing permissions (microphone, etc), setting page zoom, etc. This would be the perfect place for per-site overrides of the system light/dark mode.
Problem is, this doesn't always work;
https://forum.manjaro.org/t/google-chrome-not-in-dark-mode/8... https://forum.manjaro.org/t/why-media-query-always-choosing-...
Editing config or .desktop files to work around such issues may be an option for experienced user, but even speaking from such a users perspective, I would much prefer a webpage to offer me a simple button or checkbox.
The first is a complaint about a browser context menu not the web page and the second is about a GNOME theme which obviously has no affect on CSS in browsers.
Instead of a shitty div hell to construct a slide toggle, which becomes super laggy if you have to have a scrollable list of 1000 of them.
[0]: https://developer.mozilla.org/en-US/docs/Web/CSS/:indetermin...
Slide toggles would be completely bizarre on a survey, for example. "ah yes I'll just turn on 'member of the armed forces'"
<input type="checkbox" ...>
<input type="slide_toggle" ...>
<input type="range" min="0" max="1000" step="5">
<input type="color">
....
You can have whatever you want, just saying, make modern UI native components accessible via HTML without some CPU-intensive div-react-polyfill-javascript fluff. It's ridiculous that if you need to implement a slide toggle, which is available as a native component, that you try to emulate the shit out of it with some images and CSS and javascript and more div hell for the sliding animation and then even more div hell for the little radiating animation instead of just dropping in the native widget which will do all of that and at way better fps than your emulated version.[X] Mute notifications
[X] Large fonts
Whereas with slide toggles the on-off semantics are much more obvious and design patterns tend to get forced to a better, simplified pattern:
[o--] Notifications
[--o] Large fonts
(where the toggle is clearly lit up for the "on" state of course)
Checkboxes may be ugly but pretty clear.