Light mode is actually quite scary
The dark-mode vs light-mode discussion popped up on Hacker News again so I wanted to summarise all I cound find about it.
In chronological order:
Suggests that contrast ratio over 20:1 is associated with user eye fatigute, and dark-mode displays are associated with “higher comfort” and “higher user acceptance”. Also discusses many other points like green-screen vs orange-screen, keyboard height, etc.
- Smaller pupil size and better proofreading performance with positive than with negative polarity displays (Sept 2013)
“Positive polarity” (light mode) results in better proofreading performance.
Digital eye strain (DES) is most likely associated with not blinking for long periods, too-small fonts, or undiagnosed eye defects (astigmatism). Blue light might be a factor.
- Reading and Myopia: Contrast Polarity Matters (July 2018)
Prolonged exposure to black-on-white (light mode) thins the choroid which is associated with myopia, while white-on-black (dark mode) thickens the choroid which inhibits myopia.
Blue light might not be so bad, bright yellow light produced poor sleep patterns #inmice
. Suggests dim cool colours in evening, bright warm colours in the day.
Light mode is better for small cognitive tasks, but the effect decreases with age. People with cloudy vision defects might perform better with light mode. Cites the “Reading and Myopia” paper above.
Coding with a dark theme adds measurable milliseconds of cognitive delay. Etienne Grandjean’s “Ergonomic Aspects of Visual Display Terminals” (1980) [1, 2, 3, 4] determined that it’s easier to proofread dark text on light background (light mode). I wish there was a copy of this paper online.
Cites the NN Group page about light mode performance increase. Cites a 2019 Vice article which cites the “Digital eye strain” study. Dark mode doesn’t save battery unless it’s true #000
black on OLED screen. Users should be given flexibility to choose. Somehow comes to the conclusion that dark mode damages eyes?
- https://medium.com/codesphere-cloud/should-you-really-be-coding-in-dark-mode-1c34c7cf5f99 (June 2021)
Cites the “Smaller pupil size” paper. Cites the “Blue light” study and says that screen use altogether before bed isn’t great. True-black-on-OLED power usage again. Users should be given flexibility to choose.
I actually started this post intending to write about accepting Brent from Stitcher’s challenge and try light mode for a week with the following:
- Terminal: https://github.com/solarized/xresources/blob/master/Xresources.light
- Vim: https://github.com/altercation/vim-colors-solarized with
background=light
- Firefox: https://addons.mozilla.org/en-US/firefox/addon/zen-fox/
- GTK: https://github.com/Ferdi265/numix-solarized-gtk-theme
However, having sorted through the above, two major points stand out to me:
Risk of myopia increases with light mode
Use of dark mode also builds resilience against myopia.
This is the most important to me.
My eyesight is fairly perfect and I’d like to keep it that way.
Cognitive advantage of light mode is unsure
Whilst there is a repeatable cognitive advantage of light mode:
- It decreases with age after 20s.
I’m older than that now, so any cognitive advantage seems irrelevant to me.
- All research seems to be on instantaneous “glancing” cognition, like reading a sign, or proofreading of small passages.
I don’t see research specifically to exposure for 8+ hours a day and to the cognition of knowledge work like programming and problem-solving.
Even if it makes me work a little slower, saving my eyes is more important so that I can continue to be productive into the future.
Summary
With that, I’m switching back to dark mode.