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

Add styling for soft-deprecated class#305

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

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

Conversation

@StanFromIreland
Copy link
Copy Markdown
Member

@StanFromIreland StanFromIreland commented Apr 17, 2026

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:

image

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

image

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

@hugovk
Copy link
Copy Markdown
Member

hugovk commented Apr 17, 2026

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

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