Skip to content

Syntax highlighting in dark theme has less color variation than in light theme

Created by: felixfbecker

Thanks to Mojave I got into dark theme again, but I noticed that code is significantly harder to read because it has less color variation in syntax highlighting:

image

image

In light theme, this is red and the keywords in the parameter types are green. In dark theme, they are all the light blue of the rest of the code. Also, in light theme, control-flow keywords like if are green, which is very different from the light blue of the rest of the code. But in dark theme, they are just dark blue, which is a lot less different.

Here is the same snippet in VS Code with the Sourcegraph Dark theme:

image

Note how types are green, and control-flow keywords are purple. This is how the dark theme on Sourcegraph should look like