Skip to content

fix(color-contrast): process non-rgb color functions#4092

Merged
WilcoFiers merged 4 commits intodevelopfrom
text-shadow-color-space
Jul 27, 2023
Merged

fix(color-contrast): process non-rgb color functions#4092
WilcoFiers merged 4 commits intodevelopfrom
text-shadow-color-space

Conversation

@WilcoFiers
Copy link
Copy Markdown
Contributor

Prevent color-contrast from erroring out when non-RGB color spaces are used.

Closes: #4080

@WilcoFiers WilcoFiers requested a review from a team as a code owner July 17, 2023 11:25
straker
straker previously approved these changes Jul 24, 2023
Copy link
Copy Markdown
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 minor thing (can merge if you'd like). Regex is complicated so a comment above will help clarify the purpose of the matching.

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.

Color-contrast errors out on CSS color spaces in text-shadow

2 participants