top | item 22730553

Dark mode for Stack Overflow

90 points| XCSme | 6 years ago |stackoverflow.blog

56 comments

order
[+] dsr_|6 years ago|reply
This seems redundant. What could be darker than the way they treat their volunteer moderators?
[+] hellofunk|6 years ago|reply
I've been waiting 10 years for this feature. Now that it's here, I can finally start using that website.
[+] saagarjha|6 years ago|reply
Seems nice, but it’d be better if “system” ended up being the default even when not logged in.
[+] acqq|6 years ago|reply
And I don't want dark mode as the default, as I can't read such pages.
[+] airstrike|6 years ago|reply
It's still in beta
[+] vienzo|6 years ago|reply
When it's hidden behind login, 90% of population most likely will never see it.
[+] dewey|6 years ago|reply
90% of the population also probably don't care about dark mode as much as some people in the tech bubble.
[+] zamadatix|6 years ago|reply
It's beta, the average user isn't supposed to see it yet:

"We want to share it with our community, especially our power users, and gather feedback so we can improve, iterate, and expand Dark Mode in the future."

One of the beta is "System setting" which pulls the default from the browsers "prefers-color-scheme" value (which by default pulls it's value from the system scheme). When it's ready to roll out fully this seems to be the likely path they are planning.

[+] lstamour|6 years ago|reply
... but it doesn’t work on mobile, where dark mode was first popularized and whose screens tend to look best in dark mode due to the prevalence of smaller OLED panels which make white on dark truly pop... kind of disappointing then.
[+] galacticaactual|6 years ago|reply
The Chrome Extension "Dark Reader" has given me months of dark mode for hundreds of websites to include Stack Overflow. Given the long hours and late nights, it has been invaluable to both my productivity and eyesight.
[+] quaffapint|6 years ago|reply
I've been using Dark Reader for about a month or so now and though it's anecdotal it has really helped with my dry/irritated eyes.

I realize it could be other factors as well, but I notice that I can go longer without my dry eyes bugging we with it on then with normal bright pages.

[+] ravenstine|6 years ago|reply
That extension is amazing! I tried 4 different alternatives and they all had either terrible performance or just didn't work well for 1 in 4 websites.
[+] pedrokost|6 years ago|reply
Chrome has this built-in as a flag: chrome://flags/#enable-force-dark

It will render all web pages with dark mode

[+] ProAm|6 years ago|reply
There has been userstyle scripts for this for years as well.
[+] kyberias|6 years ago|reply
Is the dark mode supported in Windows + some browser combo so that the web site gets that info automatically?
[+] jakub_g|6 years ago|reply
Windows and Firefox and Chrome support dark mode. You can see for example on twitter_com.

How it works: OS setting is propagated to the browser, which propagates it to the websites via CSS `@media (prefers-color-scheme: dark)`.

For now StackOverflow is in beta, so it's only opt-in for logged in users.

[+] airstrike|6 years ago|reply
It's in beta still, but apparently one of the opt-in choices is "system" which presumably picks up what best fits your OS / browser choices.

Speaking for myself, it correctly chose "Dark" and I'm using Windows 10 and Firefox with a dark theme

[+] pojntfx|6 years ago|reply
Working fine on both macOS and Linux here.
[+] CodeSheikh|6 years ago|reply
Why do developers prefer dark mode for pretty much everything from IDE to OS to iOS?

Edit: added missing 'much'

[+] downtide|6 years ago|reply
I prefer consistency. The system setting, is the best here. If my system is dark, go dark, if light, go light. At night, dark is great, in a bright room, light wins. Shifting between the extremes is horrid.
[+] jonfw|6 years ago|reply
I feel like light mode is way way easier on my eyes, but I generally work in well lit rooms and avoid computers at night.

Plus I think it's important for your circadian rhythm. Bright blue-ish white makes you feel like it's daytime

[+] Ididntdothis|6 years ago|reply
I find it easier on the eyes if I stare at a screen the whole day.
[+] mixmastamyk|6 years ago|reply
It had for years with the "dark mode and light text" extension. But, glad to see more sites supporting the css mode.

It's funny, the text of the blog post makes it sound like it was really difficult. Non-trivial, sure, but difficult?

[+] NKosmatos|6 years ago|reply
So, when can we expect to see a dark mode here in our beloved HN? (currently reading on an iPad, late at night, with night shift on to cut blue light and with minimum brightness to reduce eye strain)
[+] redditmigrant|6 years ago|reply
The title should be "StackOverflow now has a dark mode" instead of "StackOverflow has now a dark mode".
[+] airstrike|6 years ago|reply
No, it really should be "Introducing Dark Mode (beta) for Stack Overflow"
[+] lopis|6 years ago|reply
Both are grammatically correct. "has now" gives emphasis to "now" while "now has" emphasizes "has".
[+] ravoori|6 years ago|reply
Interesting, what is the difference?
[+] adamanz|6 years ago|reply
Just what the world needed!
[+] Ididntdothis|6 years ago|reply
Sounds pretty disruptive to me :) At least they put energy into something useful instead of wasting millions on a logo...