by whatyesaid · 2y ago · 0 comments
Pretty sure dark mode is much easier on the eyes at night at least.
This is very subjective. I personally find it much more difficult to focus on dark screens and they tire my eyes more. I'd rather turn the brightness down on a light theme than need to have it cranked up to full on a dark theme.
Dark themes make me dizzy and tired, be it either day or night, and I believe it's because I have high degree of astigmatism and myopia in both eyes.
Seriously, why should web sites have to care about this? Your OS and browser know better what you display how and can match web page display to browser chrome and system UI.
It doesn't work without extensions like DarkReader etc if you don't provide the theme/CSS as the website. I uninstalled DarkReader because it just guesses how to map things over and some websites became unreadable or in subtle ways things don't display properly.
Maybe I will use whatever is suggested here but you really shouldn't have to for a site as big as HN.
(I realize that HN does have color CSS rules, but this complaint comes up all the time even with web sites that don‘t specify colors)
But we do get the "prefers-color-scheme"[0] and "color-scheme"[1] CSS media features, they make it easy for everyone, the visitor can just change the OS/Browser theme and the browser tells the website about what color the visitor prefers. It's up to the developer to ignore/accept their preference.
This is an accessibility thing, many hates dark theme, and some cannot look at a bright screen for long, all sites should provide either a way to change the theme or use these CSS features.
[0] https://developer.mozilla.org/en-US/docs/Web/CSS/@media/pref...
[1] https://developer.mozilla.org/en-US/docs/Web/CSS/color-schem...
Only while you have a good/perfect eyesight.
It's counterintuitive but black-on-white has less perceived contrast ratio than whatever-on-black. And while you can tone down brightness and contrast of the display device for the 'day' theme, if you do that for the dark theme it just makes the text dull and harder to read.