Skip to content

Fix display of color swatches using new v4 oklch color palette #1073

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

Merged
merged 5 commits into from
Nov 8, 2024

Conversation

thecrypticace
Copy link
Contributor

The new oklch color palette doesn't show swatches in some cases due to how we were detecting fallback values for CSS variables. I've made the code much more general and it should be able to handle any number of CSS var fallbacks regardless of how its nested.

@thecrypticace thecrypticace changed the title Fix display of color swatches using new oklch color palette Fix display of color swatches using new v4 oklch color palette Oct 25, 2024
@RobinMalfait RobinMalfait merged commit 8a39555 into main Nov 8, 2024
@RobinMalfait RobinMalfait deleted the fix/v4-oklch-colors branch November 8, 2024 13:45
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 this pull request may close these issues.

3 participants