Your preference for light and dark mode doesnt change with the ambient light?
Im always surprised by the number of people who will delcare one absolutely better than the other without consideration for this factor. Sure, people have some general preferences, but I thnk it's 90% about the ambient light.
If it's pitch black most people will prefer dark and if it's bright daylight people will prefer light.
F.lux / Redshift / Gammastep exist. On sunset, my screen becomes much darker and tinted yellowish / reddish. Then white backgrounds look fine, and I happily continue using my light color themes late into the night. Also, bias lighting on the wall behind the monitor helps my eyes avoid strain.
> (And of course white background always. Dark mode is depressing.)
Twice during the last couple of years, I’ve done this poll online:
When reading a code block in your chosen viewing mode (light or dark),
which of these should the code block always do?
- Match my chosen mode
- Have a dark background
- Have a light background
... and, each time, “Match my chosen mode” won with well over 75% of the votes (about 150–200 total votes in each case). Accordingly, I’ve styled my site’s code blocks to handle both dark- and light-mode viewing. I also provide a switch that enables one to toggle back and forth just in case the chosen system mode doesn’t match how one wants to view code blocks (e.g., some people prefer to see code blocks in dark mode even if they’re otherwise using light mode).
After a couple of years working in Smalltalk, I’ve acquired the hot take that all the code should be in a proportional font. Admittedly it doesn’t work quite as well for brace syntax languages, but in Smalltalk and Python it’s great.
(And of course white background always. Dark mode is depressing.)