r/programming • • Nov 26 '20

Dark Mode Coming to GitHub After 7 Years

https://github.com/isaacs/github/issues/66#issuecomment-733446758
6.1k Upvotes

357 comments sorted by

View all comments

365

u/[deleted] Nov 26 '20 edited Nov 26 '20

Light mode gang checking in, if it hurts your eyes, your monitor is too bright.

0

u/[deleted] Nov 26 '20

[deleted]

13

u/[deleted] Nov 26 '20

One of the main reasons I'm happy to be remote with all this COVID stuff.

I wasn't even on their "team", but I sat with a group of guys in a shared space at the office. They kept the lights completely off and the blinds down most of the time. My eyes would always hurt, and there was even one day where I got so sleepy from it being dark, I nodded off, slumped over, and my face hit the keyboard. Fortunately, nobody was around to see that.

At least in my home office I can set the lights and surroundings to be whatever I want.

59

u/Astarothsito Nov 26 '20

Never look at a screen for extended amounts of time in an otherwise dark room.

Why not? Aside from the popular belief that thinks is bad, is there any proof that it does any damage at all?

82

u/Antrikshy Nov 26 '20

I don’t think it does lasting damage, but it’s just not pleasant and can be tiring to your eyes.

17

u/Zv0n Nov 26 '20

Started doing this like a year or two back, used to think it was wasteful to have the lights on when all I'm doing is starting at a lit screen, but oh my god does it make a massive difference! My eyes no longer hurt while doing stuff on my PC, 10/10 would never go back to the dark times

→ More replies (10)

5

u/kenman Nov 26 '20

I don't think there's any supporting evidence that its damaging, but it can definitely cause (or exacerbate) visual fatigue/eye strain as well as dry eyes.

Anecdotally, I've noticed a decrease in eye strain after applying the concept of bias lighting.

→ More replies (1)

0

u/[deleted] Nov 26 '20

[deleted]

→ More replies (2)
→ More replies (2)

9

u/feraferoxdei Nov 26 '20

Instead of raising the ambient light, why not lower your sceen's brightness? That's the way I like to roll personally. No ambient light and low screen brightness.

→ More replies (3)
→ More replies (3)

9

u/ScrimpyCat Nov 26 '20

I just use whichever I think looks best. Some designers know how to make a great looking light mode app, while others are much better at designing for dark mode.

Never noticed any difference when it comes to using it at night (can use both comfortably), though I’ve never had eye strain issues from looking at a screen before (even when it’s pitch black). Maybe I’m immune! ... or just blind.

→ More replies (1)

25

u/[deleted] Nov 26 '20

That many monitors make it really hard with their clunky OSDs to adjust the brightness isn't helping. Screens really should have dedicated keys to adjust it like the olden days – I really miss the CRT screens with POD switches to adjust everything. Or better yet: a lightsensor to adjust it automatically. I believe some Apple laptops do this (and perhaps also screens?) but I don't recall seeing it anywhere else.

I adjust my brightness all the time depending on ambient light conditions. The weather turns cloudy and it gets a bit darker: lower brightness. The sun pops out again: up the brightness goes.

15

u/Ph0X Nov 26 '20

Yeah, it's really stupid that in 2020, I still need to press 4-5 hard button on the monitor to change the brightness. On laptops this is a solved problem, but yeah it's definitely not something you can do on desktops.

29

u/andrco Nov 26 '20

Not true, if it supports DDC/CI (most should) then you can control it with for example Monitorian or ClickMonitorDDC (Windows). On Linux you can use ddcutil.

24

u/Ph0X Nov 26 '20 edited Nov 26 '20

Hmm, interesting, I'll give that a try, thanks.

EDIT: Wow, all 3 of my monitors support it, this is a life changer.

Now the real question is, why isn't this just built into Windows...

12

u/AreTheseMyFeet Nov 26 '20

*Degauss*
giggles
*Degauss*
giggles
*Degauss*
...

→ More replies (2)

8

u/Sol33t303 Nov 26 '20

Some monitors support DDC/CI, using that it's possible to control your monitor through software.

I know on Linux ddcutil is available, from there you can use it to control the brightness (or anything else on your monitor for that matter) based on time by wrapping it in a bash script and giving it to cron. I'd assume Windows and Mac probably has similar software.

→ More replies (4)

60

u/ASIC_SP Nov 26 '20

and there are programs like redshift to reduce blue light

I use 3000K all times, which has significantly reduce eye strain for me.. reddish tone felt weird initially, but now I'm used to it

0

u/[deleted] Nov 26 '20

[deleted]

22

u/[deleted] Nov 26 '20

Everyone should know about our blue screen gang https://marketplace.visualstudio.com/items?itemName=kalk.borland

18

u/philomathie Nov 26 '20

One of eyes just exploded.

→ More replies (6)

29

u/BindaB Nov 26 '20

I’m glad someone is here to speak the truth

→ More replies (16)

5

u/ilmoeuro Nov 26 '20

On Windows (and probably Mac too) you don't even need extra software, just search for "Night light" in the settings.

5

u/ASIC_SP Nov 26 '20

Nice. Just checked for Ubuntu, and seems like newer versions have it - https://help.ubuntu.com/stable/ubuntu-help/display-night-light.html.en

→ More replies (1)
→ More replies (7)

11

u/kankyo Nov 26 '20

I have floaters in my eyes. To not see them I would have to turn down the brightness so far I can't read the text.

→ More replies (1)

13

u/Sol33t303 Nov 26 '20 edited Nov 26 '20

if it's too bright your monitor is too bright.

When I'm doing stuff late at night I have my monitor turned down to it's min brightness, even then when I switch from a dark window to a light one it hurts my eyes lol

It's fine during the day, but I just find dark mode to be easier on my eyes and I find the contrast with white characters on a black screen to be better and easier to read.

→ More replies (25)