Code blocks are unreadable in light mode

It is very hard to read code blocks in light mode

Demonstration:

print('hello world')
foo = 'meow2'
baz = 'skeleton'
foo, baz = baz, foo

def main():
  for x in range(10):
    print(foo, baz) # Comment

if __name__ == '__main__':
  main()

This looks great on dark mode, which I’m currently using:

But not so good on light mode (default PIxelTail theme)

Update:
This seems to only affect code embedded in a details (example screenshot):

Like this!
print('hello world')
foo = 'meow2'
baz = 'skeleton'
foo, baz = baz, foo

def main():
  for x in range(10):
    print(foo, baz) # Comment

if __name__ == '__main__':
  main()

This is now fixed.

1 Like