Skip to content

Add styling for soft-deprecated class#305

Open
StanFromIreland wants to merge 1 commit intopython:mainfrom
StanFromIreland:soft-deprecated
Open

Add styling for soft-deprecated class#305
StanFromIreland wants to merge 1 commit 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/

@hugovk
Copy link
Copy Markdown
Member

hugovk commented Apr 17, 2026

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

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