Skip to content

Code blocks have white text agaisnt white background in dark mode in documentation for 3.9 #116481

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mpitblado opened this issue Mar 7, 2024 · 1 comment
Labels
docs Documentation in the Doc dir

Comments

@mpitblado
Copy link

Documentation

Version: 3.9.18

As an example, on page https://docs.python.org/3.9/library/xml.etree.elementtree.html, some of the words contained within the code blocks are invisible because they are white text against white background.

image

Switching to the light theme, this same block appears like so in 3.9.18

image

Version: 3.10.13 onwards

This error is not present in versions after and including 3.10 which appears like so:

image

@mpitblado mpitblado added the docs Documentation in the Doc dir label Mar 7, 2024
@terryjreedy
Copy link
Member

This is a duplicate of #115349 which has been fixed, and will be deployed when the next 3.8 and 3.9 releases go out, which I think should be quite soon.

In the meantime, you can switch to the light theme, or visit the docs for 3.10 or later.

@hugovk hugovk closed this as not planned Won't fix, can't repro, duplicate, stale Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir
Projects
None yet
Development

No branches or pull requests

3 participants