Closed ntjess closed 6 months ago
oof, you're right. Thanks for letting me know and proposing changes!
I will take a look at this, I'm not sure whether to use opacity as you suggested or if it would make sense to expose different default color schemes for light and dark theme from which the user can select.
Originally, one could pass your own type-color dictionary but I removed that in favour of totally customizable styles. I think it would be good to get this intermediate level of customization back.
Different colors are now supported in the lastly mentioned way with tidy:0.2.0.
Also, the default theme uses transparency for the parameter blocks as suggested by you.
Thanks!
When the default tidy style is applied to a page with a black background & white text, the styling prevents visibility:
However, if you added transparency to every color in the style list, the light mode is unaffected and the dark mode looks fine:
Relevant changes: