Syntax Highlighting Visibility

Our syntax highlighting can struggle for some languages and themes. Specifically the bold characters are hard to differentiate in the Dawn and Dark themes.

JavaScript/C/C++ does ok, but common Python syntax highlighting really relies upon bolding. A lot of dark mode editors use different colors for Python dark mode syntax highlighting in place of bolding. Is this something we can turn on? Or at least a little bit bolder of a bold?

Samples to try in different modes:

Easier to read:

  • JavaScript
for (let i = 0; i < 10; i++) {
  console.log("Hello World");
  • C/C++
for (int i = 0; i < 10; i++) {
  printf("Hello World\n");

Harder to read:

  • Python
for i in range(10):
  print("Hello World")

Screenshots of Themes: