DEV Community


Discussion on: Why Most Developers Prefer The Dark Theme IDE?

dbarwikowski profile image
Daniel Barwikowski

However, most studies have shown that dark characters on a light background are superior to light characters on a dark background (when the refresh rate is fairly high). For example, Bauer and Cavonius (1980) found that participants were 26% more accurate in reading text when they read it with dark characters on a light background.

People with astigmatism (approximately 50% of the population) find it harder to read white text on black than black text on white. Part of this has to do with light levels: with a bright display (white background) the iris closes a bit more, decreasing the effect of the "deformed" lens; with a dark display (black background) the iris opens to receive more light and the deformation of the lens creates a much fuzzier focus at the eye.

Thread Thread
surajsrv11 profile image
Suraj Vishwakarma Author

Might be it's hard for white colour but other colours on black are easily readable. On white, we have a lot of trouble to read bright colour while on black we can easily read the bright colour without any trouble. IDE is made of multiple colours with each element is different, so dark is very suitable is such a situation.

Thread Thread
skyjur profile image

Depends on color palette. I can't agree that colored code is any less readable on white if the right shades that is dark enough is chosen.

You can also chose shades that are hard to read on black.

Not that this is in any way scientific but:
#ffe0ff on #fff - I can still read
#002000 on #000 - can't read at all, can't tell which color it is

Thread Thread
surajsrv11 profile image
Suraj Vishwakarma Author

Yep Bro, Everything at last comes to personal preferences and yes there are colours which you can't read clearly on dark but same goes for white theme IDE too.

Thread Thread
ytjchan profile image

My astigmatic eyes approves this.