python / python-docs-theme

Sphinx theme for Python documentation
Other
75 stars 58 forks source link

Color change #125

Closed JulienPalard closed 2 months ago

JulienPalard commented 1 year ago

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

AA-Turner commented 1 year ago

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

hugovk commented 1 year ago

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

rajneesh-18 commented 9 months ago

How to contribute in this repo ?

hugovk commented 2 months ago

The change was intentional, let's close this.