The thing with this is that many people want to switch their setting to be non default, and it’s impossible to have both user configurable and nice css at the same time. One has to go.
Comment on nobody in webdev knows what graceful degradation is anymore
MonkderVierte@lemmy.zip 1 month ago
Most don’t even know @media (prefers-color-scheme: dark/light)
, rather cobble something with JS that works half of the time and needs buttons to toggle.
Xylight@lemdro.id 1 week ago
possiblylinux127@lemmy.zip 1 month ago
I hate “dark mode” so much
Don’t default to it as it makes the page hard to read and ugly. If you want make it optional that is fine but don’t force it.
shiftymccool@programming.dev 1 month ago
I hate “light mode” so much
Don’t default to it as it makes the page as blinding as the mid-day sun. If you want make it optional that is fine but don’t force it.
moseschrute@lemmy.world 1 month ago
I hate default text size
Don’t default to it as it’s too small for a lot of people to read. Optional is fine, but don’t force that small text on me by default, making me go into your small text settings to find the large text setting
JustARaccoon@lemmy.world 1 month ago
Took me ages to find a snippet that has a manual dark mode toggle but in a way that works with prefer-color-scheme so by default it inherits your settings but you can overwrite it… It’s just not a priority for a lot of people or they’re ok with the site flashing or something.
python@lemmy.world 1 month ago
Bookmarking this, so far I’ve cobbled my Dark/Light Mode switch together with Material-UI themes, but this seems like the cleaner way to do this that I’ve been searching for!
MonkderVierte@lemmy.zip 1 month ago
Also note
prefers-reduced-motion
for accessibility.
unmagical@lemmy.ml 1 month ago
A button to toggle is good design, it should just default to your system preferences.