Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify text colour #2345

Closed
Bilge opened this issue Nov 13, 2021 · 1 comment · Fixed by #2362
Closed

Specify text colour #2345

Bilge opened this issue Nov 13, 2021 · 1 comment · Fixed by #2362
Labels

Comments

@Bilge
Copy link

Bilge commented Nov 13, 2021

New feature motivation

There is an option to specify the background colour (background) but there appears to be no way to set the foreground (text) colour. WCAG generally requires that background and foreground colours are specified in pairs to ensure correct contrast.

New feature description

Add new colour option.

New feature implementation

In addition to colour literals (e.g. #fff) it should be valid to specify any other valid CSS property values for color, such as inherit to use the colour inherited from the stylesheet.

@limonte
Copy link
Member

limonte commented Dec 5, 2021

🎉 This issue has been resolved in version 11.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants