python/python-docs-theme

Color change

JulienPalard opened this issue · 4 comments

I don't know if it's intentional, but for me color changed since the lasts commits, see https://docs.python.org/3.12/tutorial/introduction.html#first-steps-towards-programming for example vs 3.11:

Screenshot 2023-04-13 at 16-11-37 3  An Informal Introduction to Python

Screenshot 2023-04-13 at 16-11-44 3  An Informal Introduction to Python

See

pre {
background-color: inherit;
color: inherit;
}

introduced in b888ef7#diff-e2d78a098e64c4a8bc2e910a8e6daa72e5fa12df8c0f316c746f922fab9ab759

If you untick those two rules in the browser debug console, the correct style returns. cc @septatrix as author of that commit.

A

hugovk commented

As it happens, @lolbat said last week he found the green background hard to read if you're at all red/green colourblind:

https://mastodon.social/@lolzac@home.social/110147582722352531

He suggested a blue-grey something like the top one here:

image

@lolbat: how does the first example on this page look? https://docs.python.org/3.12/tutorial/introduction.html#first-steps-towards-programming

How to contribute in this repo ?