◐ Shell
clean mode source ↗

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

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