Description
Feature or enhancement
When reading the docs page in dark mode with night shift, some variables are invisible to see. For example in https://docs.python.org/3/c-api/intro.html#types, int, long, double and char*
are impossible to read without highlighting the text. This looks to affect any other parts of docs with same coloring too, for example all texts typedef
on https://docs.python.org/3/c-api/typeobj.html page are practically invisible.
Environment:
Enable dark mode for system/browser (black background), AND enable night shift. I think there are multiple ways to do so, for example Windows has built in night shift mode to enable screen to be more orange (basically make screen have less blue light). For easiest reproduction, download f.lux and set color to 1900K (or as low as possible). Look at page again, and all the dark blue text, for example the type
and typedef
texts, became invisible.
Pitch
The docs will be much more readable and improve accessibility for bigger audience if the text colors can be modified. I'm not sure how much work this would require, but can be happy to provide feedback. Alternatively, if making the docs text configurable by end user is too much work, just hard code a more friendly color that is readable with dark mode and night shift enabled.
Let me know if you want more information!