by wcoenen · 3y ago · 0 comments
Contrary to your preference, I believe a light theme (black letters on white/gray background) is better for astigmatism. With a dark theme, the bright letters will bleed into the dark areas surrounding them. (At least that's how I experience it. I have only slight astigmatism, but the ghosting effect already annoys me for dark themes.)
If you really want to stick to a dark theme, I would select something where the text is not too bright. The Solarized Dark Theme that you mention seems OK in this regard.
As for astigmatism - I’d say wearing your glasses so you don’t strain / squint and stress your muscles is probably the best way to avoid strain. I have it pretty bad but it’s stabilized over the years with the right prescription and the correct degrees of rotation.
I understand light backgrounds may be better if you can handle it but I don't think I'll ever be able to, except when wearing rose tinted glasses I have to block light.
I would go even further - a light theme is better for optical clarity, period. Think about how a pinhole camera works [0]. "Up to a certain point, the smaller the hole, the sharper the image, but the dimmer the projected image." A pupil is basically the pinhole of a pinhole camera. The brighter the light, the smaller your pupil gets (up to a point), and the sharper the image.
I personally switch between light and dark modes. During day time, I turn on all the interior lighting and switch to light mode. During the night, I turn off the lights, use Flux [1], use dark mode, and bump the zoom in VS Code. This is to optimize for sleep.
[0] https://en.wikipedia.org/wiki/Pinhole_camera#Selection_of_pi...
I just code in dark mode because I got used to that when I switched to vscode.
I am recently experimenting with the Windows Night mode (that orangifies the screen) but I will give a try to flux (that I used last tile 10 or 15 years ago, or maybe even more)
I wear glasses all day long, and I feel it helps. Although my astigmatism is a light one, without glasses everything gets blurred, therefore harder to focus on.
I wear glasses and this happens to me. Does it mean I have developed astigmatism?