Quansight-Labs / accessible-pygments

♿ Accessible pygments themes
https://quansight-labs.github.io/accessible-pygments/
BSD 3-Clause "New" or "Revised" License
12 stars 5 forks source link

BUG - a11y highlight colour does not have enough contrast with text #19

Closed trallard closed 1 year ago

trallard commented 1 year ago

Issue

I just noticed in the PyData Sphinx theme where they are using the themes that the highlight colour for the dark a11y theme is preventing the text from being readable whether they are too bright or too dark and close to the foreground colour:

Source for these screenshots https://pydata-sphinx-theme.readthedocs.io/en/latest/examples/kitchen-sink/blocks.html