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.