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.
Comment on nobody in webdev knows what graceful degradation is anymore
MonkderVierte@lemmy.zip 2 weeks 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.
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.
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.
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
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.
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!
Also note prefers-reduced-motion
for accessibility.
unmagical@lemmy.ml 2 weeks ago
A button to toggle is good design, it should just default to your system preferences.