FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add styling for `soft-deprecated` class by StanFromIreland · Pull Request #305 · python/python-docs-theme · GitHub

Add styling for soft-deprecated class - #305

Merged
StanFromIreland merged 2 commits into
python:mainfrom
StanFromIreland:soft-deprecated
Apr 19, 2026
Merged

Add styling for soft-deprecated class#305
StanFromIreland merged 2 commits into
python:mainfrom
StanFromIreland:soft-deprecated

Conversation

StanFromIreland commented Apr 17, 2026
edited
Loading

Copy link
Copy Markdown
Member

For the new directive proposed in python/cpython#148630. I have to use two separate colours to meet accessibility standards.

In light mode with "Poison Purple Paradise" (per some site), we have a ratio of 4.92:

In dark mode with "Jacaranda Pink", we have a ratio of 5.22:


📚 Documentation preview 📚: https://python-docs-theme-previews--305.org.readthedocs.build/en/305/library/re.html#re.match

hugovk commented Apr 17, 2026

Copy link
Copy Markdown
Member

Will review once python/cpython#148630 is merged so it's easier to test.

StanFromIreland merged commit b884109 into python:main Apr 19, 2026
14 checks passed
StanFromIreland deleted the soft-deprecated branch April 19, 2026 13:18

Copy link
Copy Markdown
Member Author

Thanks for the review!

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL