Dear web developers: set the font color, too
1–10 of 151 posts
Re: Dear web developers: set the font color, too
#2Re: Dear web developers: set the font color, too
#3Good stuff, thank you for sharing.
Re: Dear web developers: set the font color, too
#4Re: Dear web developers: set the font color, too
#5Sure it's not an issue with whatever is doing that (hacky) dark mode CSS? Looking at the google example, they are setting the font color. It just doesn't look good when dark-mode CSS doesn't take the existing colors into account.
From inspecting the CSS in the developer console, the cases in the screenshot either set the background color without setting the text color, or vice versa.
Re: Dear web developers: set the font color, too
#6Re: Dear web developers: set the font color, too
#7Definitely agree accessibility is important going into 2019. Different users are going to be viewing a site with more screen readers, dark theme, and other alternative viewing options, very much like we saw with mobilegeddon and the advent of responsive design. I've seen the argument that this hurts the "intended web experience", but this can be solved by keeping up with modern CSS practices and crafting the experien…
Re: Dear web developers: set the font color, too
#8Never though about this before, but, dark themes have only recently become widespread, so I'm not necessarily faulting web devs on this.
Re: Dear web developers: set the font color, too
#9Browsers should be making this a prominent and first-class feature.
Users should be able to quickly and easily set their default styles for various elements and choose at what precedence level they apply.
Re: Dear web developers: set the font color, too
#10This 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 this styling mistake, a single dark input field on a full light page is not a satisfactory dark mode experience)