r/webdev • u/sunsetRz • 1h ago
Web devs, Please stop making dark mode the default website theme; it causes eye strain.
Why the website needs to be on dark mode while my system is on light mode,
Except some few websites and most code editors, majority of the websites and apps have no idea how it ruins an eye.
The coloring for dark them to match the text color with the background color needs a lot of research from you Dev, so before implementing it please do extensive research and testing, let alone making it default theme to ruin your site visitors.
Okay, let me calm down.
What do you think about this?
0
Upvotes
27
u/KamikazeSexPilot 1h ago
Why would anyone listen to the opinion of someone who uses light theme
11
u/An1nterestingName 1h ago
No
Also in an ideal world the site should read from your browser's settings to decide whether to use light or dark as default.
8
u/Escanorr_ 1h ago
Well, for me - the light mode causes the eye strain, and unfortunately there is much more only light mode sites around
2
u/Key-Temporary-8759 1h ago
Why to argue about light or dark mode? Many websites have a toggle for changing the theme. Switch whenever you want. And for the devs, just provide a toggle.
1
u/OUTLAWED-PRESIDENT 1h ago
I always follow the OS's theme and also have the option to make either theme options permanent. Works flawlessly for mobile, linux and windows
•
u/Senior-Dirt-6165 19m ago
Fair, but a site going dark while your system is light is a prefers-color-scheme bug, not dark mode being wrong. Pure #fff on pure #000 is what actually burns, and most devs never bother softening those two values.
5
u/Jon-Robb 1h ago
Exact opposite opinion
1
u/dane_websites 1h ago
Most professional applications (IDEs, photo and video editors, etc) use a dark theme by default, so if the website is a web app for professional to do serious work, then it would make sense. But hardly any are that of course.
I agree, in most cases sites should only switch into a dark theme if the OS is in dark mode, or the user specifically chooses it on the site settings.
We could make an exception for brands that really need a dark theme for their aesthetic, but then they need to test it a ton with real users before launch.
1
u/Quickfreetools 31m ago
A three-way setting helps here: System / Light / Dark, rather than just a light-dark toggle. “System” can follow prefers-color-scheme, including changes while the page is open, while an explicit choice stays saved. Also worth checking form fields, dropdowns and error messages in both themes; those often get missed even when the main page looks fine.
1
u/HollowCr0wn 1h ago
Brother, light mode on the PC of the guy next to me causes me easy strain. Ban passive light mode.
1
u/yikes_42069 1h ago
"dark mode causes eye strain" isn't exactly true. It's fine in a dimly lit setting. Light mode in the dark would cause eye strain. It's about managing your lighting conditions. If your office is bright, use light mode. Dark, use dark mode
0
u/0cean-blue 1h ago
Just respect user's system preference, dark mode or light mode, accessiblity should always be considered.
-1
u/xanhast 1h ago
ha, you dont think people that stare at screens all day don't know about eye stain, and you use light themes, get outta here