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

fix(color-contrast): consider -webkit-text-stroke & -webkit-text-fill-color #3791

Merged
merged 5 commits into from
Nov 28, 2022

Conversation

WilcoFiers
Copy link
Contributor

@WilcoFiers WilcoFiers commented Nov 21, 2022

Consider -webkit-text-stroke and its cousin -webkit-text-fill-color when calculating contrast

Closes #3356

@WilcoFiers WilcoFiers marked this pull request as ready for review November 22, 2022 11:09
@WilcoFiers WilcoFiers requested a review from a team as a code owner November 22, 2022 11:09
@WilcoFiers WilcoFiers changed the title fix(color-contrast): use text-stroke colors fix(color-contrast): use -webkit-text-stroke colors Nov 22, 2022
@WilcoFiers WilcoFiers changed the title fix(color-contrast): use -webkit-text-stroke colors fix(color-contrast): consider -webkit-text-stroke & -webkit-text-fill-color Nov 22, 2022
Copy link
Contributor

@straker straker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a typo, rest looks good

test/commons/color/get-foreground-color.js Outdated Show resolved Hide resolved
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.

-webkit-text-stroke- vs "insufficient contrast"
2 participants