Skip to content

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.

4 participants