[BETA] Comments too dark to read on dark backgrounds

Continuing the discussion from [DONE] Dark theme for Anvil IDE - code editors:

I’ve seen the same thing, and had to switch to the light theme to continue working.

Edit: If you want to automate contrast-checking, for a list of colors, you can use Python’s colorsys module, YIQ color model, to estimate brightness (and therefore contrast) between foreground and background colors.

The 2nd image below is the Y component of the top image, and does a pretty good job of estimating brightness.

2 Likes

Hello - Love the Anvil dark theme with white letters. About a week ago, my fonts went from white to gray. I hadn’t made changes to Chrome, so I’m not sure how this happened. The Anvil IDE is almost unreadable. I played with different Chrome theme, but none revert the Anvil IDE back to its original settings. I appreciate any tip. I’m running a Mac with Monterey 12.6. Thanks!

image