Building dark mode on Stack Overflow
stackoverflow.blog
stackoverflow.blog
Then again, I also find it funny that "dark mode" is heralded as something revolutionary, when long ago people could customise UIs far more. You can still do that with userstyles, another thing that seems to have gotten mostly ignored these days...
As to UI customization, often that was an inconvenient cop out not a great enabler. "We don't want to figure this out so just change things yourself, but then you'll switch PCs or reinstall and you'll lose all of those customizations and you'll never do it again and you will forever leave everything vanilla".
Is it worth websites making a big deal about? No, not really... At most it should put a little badge when it detects the dark mode CSS allowing unwilling users to disable it, but it doesn't seem like something that gets dragged on as long as it has by a couple of sites.
Hm. I like the "better" one more. However, it's cheating -- the first screenshot displays a lot of white text in the filters and the text of the questions. The text of the questions is most of what I find off-putting about the first screenshot.
The second screenshot displays no white text at all. The filters menu isn't visible. The text of the questions isn't visible. Text that's gray in the second screenshot is also gray in the first screenshot.
What kind of comparison is this?
For an accurate comparison, compare the first and last screenshots in the article.
The important part is that you could change it relatively easily if you didn't like it, but the "modern" trend has been to remove that ability.
That and everyone patting themselves on the back for building dark mode.
It looks like they're using the darkest background ("pure" black or nearly so) for code blocks. Seems like a reasonable choice to me, given that the need for clarity is strongest there.
The vaunted Apple UI was the exception, forcing an inverse color scheme on all users, all the time. They refused to admit the failure of the "screen as a piece of paper" analogy that ascended during the "desktop publishing" rage of the late '80s/early '90s.
So now Microsoft inexplicably REMOVED user-definable color schemes from Windows (around the time of Vista, I think), and Apple has clumsily implemented a hard-coded "dark mode." If you're a developer, you know how hideously broken numerous Apple UI controls are now as a result (rendering nearly invisible text and arbitrary background colors).
You could spot Web designers and even design tools that didn't know what they were doing when you'd pull up a Web site to find it mostly blank. This meant that the page overrode your system's dark background color with white, but didn't override your white text color. The result, of course, was white text on a white background.
Google embarrassingly introduced this defect into the Google News page at some point, rendering all the story abstracts invisible.
Good times.
As others have pointed out: Desktop apps never had this problem and decent operating systems gave you much more freedom to adjust the color style to your liking.
Now we have half-assed solutions running in a hypertext display engine. Amazing! ;)
https://guidebookgallery.org/pics/gui/settings/appearance/wi...
3.11:
https://guidebookgallery.org/pics/gui/settings/appearance/wi...
95:
https://guidebookgallery.org/pics/gui/settings/appearance/wi...
...and that dialog remained almost unchanged up until Windows 7:
https://www.dedoimedo.com/images/computers_new_2/windows-7-s...
Unfortunately, after Win7 it was removed, and they basically took away customisation completely in Win10.
Whereas that older style of Windows color configuration would automatically adjust each and every well behaved Win32 application.
[1]: https://www.blakespot.com/mac/Images/Gallerypix/drawing2.jpg [2]: https://blog.codinghorror.com/a-tribute-to-the-windows-31-ho...
Windows 10 is a shitshow.
Especially on a site like stack overflow when there are literally 10,000 other things they need to improve that would be appreciated more.
I have good experience using the theme-changer package in emacs which turns dark theme after sunset automatically.
> I used Lyft’s amazing Colorbox to help normalize our colors. Instead of a naive linear scale at 10% increments, I used bezier curves—a vast improvement at the more extreme ends of the scale.
Linear HSB is very naive, but HSB is still quite naive. It's just a cylindrical version of a color space optimized for displays, not human perception.
I don't understand why they wouldn't instead opt for the CIELAB color space, or its cylindrical equivalent. IBM does this, and it gives them effortless support for dark mode, by just flipping the luminance component of colors:
https://www.ibm.com/design/language/color
You can visualize the CIELAB behind IBM's color scheme here:
https://cielab.io/ (go to "IBM Carbon")
Otherwise your first impression is simply blinding and not in a positive way
Speaking of blinding, it's too bad the other aspects of accessibility aren't as popular. When screen reader support was broken, they didn't write blog posts about fixing it.
That said, why does everybody care about Dark Mode so much these days? It's an interesting problem; I worked on it 20 years ago and solved it adequately for my own purposes. But it's not a very important problem, especially right now.
My guess is that people either don't know/can't be bothered to adjust their monitors' brightness and contrast to a comfortable level, so they're left at the default which is usually eye-burningly bright, and they're trying to work around this in software by reducing brightness and contrast. Unfortunately this also means those who do have their monitors adjusted comfortably are subjected to much worse contrast.
Let me guess, you think wheelchair ramps are a fad, too?
Because we don't like our eyes getting blasted by brightness pollution from all white websites? Some of us have disabilities?
But not 100% in this case
They just recoloured something that already existed
Design must also account for spacing, layout, positioning and emphasizing things, according to the colour scheme