python-docs-theme icon indicating copy to clipboard operation
python-docs-theme copied to clipboard

Color change

Open JulienPalard opened this issue 1 year ago • 3 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

JulienPalard avatar Apr 13 '23 14:04 JulienPalard

See

https://github.com/python/python-docs-theme/blob/32115c4ce888d4147fb98a62b96a4ecb272c7e00/python_docs_theme/static/pydoctheme.css#L27-L30

introduced in https://github.com/python/python-docs-theme/commit/b888ef79dc967ab7afa56efd7dd87820fecbc00c#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

AA-Turner avatar Apr 13 '23 14:04 AA-Turner

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/@[email protected]/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

hugovk avatar Apr 13 '23 14:04 hugovk

How to contribute in this repo ?

rajneesh-18 avatar Nov 28 '23 10:11 rajneesh-18

The change was intentional, let's close this.

hugovk avatar Jun 14 '24 05:06 hugovk