Live data from Hacker News

Dear web developers: set the font color, too

luu.io

121–130 of 151 posts

Re: Dear web developers: set the font color, too

#121
post #43

Earlier quoted context omitted.

> I think the issue should be fixed by the browser vendor really. Yes, I agree. Or whoever built the dark theme. They should be checking whether inputs have been overrided with styles for both background/color or none.

Funnily enough I think this is specific to Linux, I've not encountered this issue under Windows, and I don't think macOS has a dark mode.

It does, since Mojave.

Re: Dear web developers: set the font color, too

#122

Pretty tangential, but with AMOLED screens, I really hope society starts embracing a dark-mode default for interfaces. There is no reason to use light-mode with modern screens. It's taxing on the eyes, probably not good for kids and teens who are using screens 4 hours a day and it doesn't seem to offer benefits over dark-mode in terms of accessibility. It's nice to see more and more websites and operating systems pro…

Hmm... no.

Google Maps alternates between light and dark based on ambient light. That's the optional behavior I want for all apps. I use the Android feature to invert all colors at times.

Re: Dear web developers: set the font color, too

#123

Pretty tangential, but with AMOLED screens, I really hope society starts embracing a dark-mode default for interfaces. There is no reason to use light-mode with modern screens. It's taxing on the eyes, probably not good for kids and teens who are using screens 4 hours a day and it doesn't seem to offer benefits over dark-mode in terms of accessibility. It's nice to see more and more websites and operating systems pro…

I prefer reading black text on white screens, thank you very much. Code in an editor is different because syntax highlighting is better on black.

I prefer syntax highlighting on a white background, thank you very much.

Re: Dear web developers: set the font color, too

#125

Pretty tangential, but with AMOLED screens, I really hope society starts embracing a dark-mode default for interfaces. There is no reason to use light-mode with modern screens. It's taxing on the eyes, probably not good for kids and teens who are using screens 4 hours a day and it doesn't seem to offer benefits over dark-mode in terms of accessibility. It's nice to see more and more websites and operating systems pro…

I happen to agree with you, but others might not. I'd rather the system just let the user decide, and that preference get propagated into the appropriate place.

But, every company wants their app be a glorified ad for the app I'm already using, and wants it to use their branding: their colors, their fonts, their precise level of rounded corners.

I just want to have a consistent UX that allows me to get shit done.

Re: Dear web developers: set the font color, too

#126

Earlier quoted context omitted.

Funnily enough I think this is specific to Linux, I've not encountered this issue under Windows, and I don't think macOS has a dark mode.

It does, since Mojave.

It does, but Chrome ignores it. I have no idea about FF, since I have developer FF, and it had dark mode before OS X did. (So, I presume it also "ignores" it, since it was dark when the system wasn't.) But AFAIK, FF dark mode doesn't apply to the controls within the page, only the browser chrome.

Re: Dear web developers: set the font color, too

#127

Pretty tangential, but with AMOLED screens, I really hope society starts embracing a dark-mode default for interfaces. There is no reason to use light-mode with modern screens. It's taxing on the eyes, probably not good for kids and teens who are using screens 4 hours a day and it doesn't seem to offer benefits over dark-mode in terms of accessibility. It's nice to see more and more websites and operating systems pro…

Dark mode on any Mac display results in massive reflections -- like a mirror -- unless you work in a near-dark office.

Re: Dear web developers: set the font color, too

#128

Pretty tangential, but with AMOLED screens, I really hope society starts embracing a dark-mode default for interfaces. There is no reason to use light-mode with modern screens. It's taxing on the eyes, probably not good for kids and teens who are using screens 4 hours a day and it doesn't seem to offer benefits over dark-mode in terms of accessibility. It's nice to see more and more websites and operating systems pro…

Dark mode on any Mac display results in massive reflections -- like a mirror -- unless you work in a near-dark office.

Best counterargument I've seen on this matter. Until low reflectivity on screens becomes the norm, I doubt we'll ever see a default dark mode or the riddance of the light mode.

Re: Dear web developers: set the font color, too

#129
post #118
post #107

Earlier quoted context omitted.

Just found it! https://html.spec.whatwg.org/multipage/rendering.html#phrasi... "The initial value for the 'color' property is expected to be black. The initial value for the 'background-color' property is expected to be 'transparent'. The canvas's background is expected to be white."

If I read it correctly, what you just quoted is within the context of the element.

I'm not really sure, but the thematic break element () after the last paragraph mentioning ruby makes me believe its not.

Re: Dear web developers: set the font color, too

#130

Pretty tangential, but with AMOLED screens, I really hope society starts embracing a dark-mode default for interfaces. There is no reason to use light-mode with modern screens. It's taxing on the eyes, probably not good for kids and teens who are using screens 4 hours a day and it doesn't seem to offer benefits over dark-mode in terms of accessibility. It's nice to see more and more websites and operating systems pro…

Hmm... no. Google Maps alternates between light and dark based on ambient light. That's the optional behavior I want for all apps. I use the Android feature to invert all colors at times.

Inverting colors is not the right solution yet as it affects colors for everything, including things that you don't mean to invert. Browsing Twitter? All of the videos and images are now inverted. Anything that is nice enough to be in dark mode now appears super bright. Inversion would be better if it was "smart" and applied to interfaces, not content.
Post reply on HN