Dear web developers: set the font color, too
81–90 of 151 posts
Re: Dear web developers: set the font color, too
#82Re: Dear web developers: set the font color, too
#83Earlier quoted context omitted.
https://news.ycombinator.com/item?id=468471
Wow, that's a ridiculously user-hostile approach to the problem.
Re: Dear web developers: set the font color, too
#84Earlier quoted context omitted.
Wow, that's a ridiculously user-hostile approach to the problem.
HN was designed for a small audience, and it intentionally did things to discourage growth. The goal was to preserve the community for longer.
Re: Dear web developers: set the font color, too
#85Earlier quoted context omitted.
This comment intrigued me, so I did some digging. Looks like "prefers-color-scheme" is currently being considered by both Chrome[1] and Firefox[2]. A can-I-use page was just created for it[3]. I'm excited by this one! Think I'll add dark mode support to my simple blog right now. [1] https://bugs.chromium.org/p/chromium/issues/detail?id=889087 [2] https://bugzilla.mozilla.org/show_bug.cgi?id=1494034 [3] https://canius…
Wow, what an awful thing to standardise! Are there equivalents for high/low-contrast? Red themes, blue themes, multicolour themes, etc.? Why layer something like this on top of an override system, when devs can choose to just not override those things? As an example, the only CSS colours I use on chriswarbo.net are either semi-transparent, or mid-grey (which work on light and dark themes, although I might revisit tha…
Re: Dear web developers: set the font color, too
#86Due to how widespread assumptions about "system" form field colors are throught the web, the proper thing for browsers to do is probably to _not_ apply a dark theme to form fields, at least by default. Maybe instead allow a CSS opt-in to support dark themes. This seems to be what Apple is doing with Safari, and I feel like it's what provides the best user experience out of the box. (Even for pages that don't make thi…
That is, I kind of wish web developers couldn't control colors and such, so people could have consistent styling in their whole system.
That's a pipe dream though. Websites tend to be hosted by people that want a brand to protect, and as adoption of computers increase people on average don't want to invest time in learning how to use and configure their systems.
Maybe I should consider seriously switching to elinks or w3m for my style-consistent browsing.
Re: Dear web developers: set the font color, too
#87Earlier quoted context omitted.
Wow, that's a ridiculously user-hostile approach to the problem.
HN was designed for a small audience, and it intentionally did things to discourage growth. The goal was to preserve the community for longer.
There was never any real chance of this forum going mainstream, not because it was too ugly and awkward but because it didn't have any mainstream appeal. Negative reinforcements like making the text purposely difficult to read mostly just punish existing users.
Re: Dear web developers: set the font color, too
#88Never though about this before, but, dark themes have only recently become widespread, so I'm not necessarily faulting web devs on this.
It's just not as common anymore as it used to be back when you as a user could specify easily how you want your system to look.
Re: Dear web developers: set the font color, too
#89Re: Dear web developers: set the font color, too
#90I don't understand this article. The author is using something that manipulates the style of inputs to make them dark with light fonts... but only if the input isn't explicitly styled with either background-color or color . If they're going to be doing such hackery, just style both at the same time. Use JavaScript or something to ensure both are styled. This really isn't the developer's concern.
The hackery is literally opening the users control center and clicking the icon for desktop theme and clicking on a different theme and clicking apply. This sets the users desktop colors. Firefox will pick this up and use these colors for elements on the page unless these elements are explicitly styled by the developer. So say the users theme specifies a grey or black background and white text. The developer wants a…
It's a calculated risk to address 99% of users who don't have their browser change their default agent styles. Everyone else is assumed to know what they're doing.