Skip to content

Conversation

adamwathan
Copy link
Member

Right now if your gray.500 color includes a CSS variable, the chevron on your select elements will disappear because URLs in background-image can't use CSS variables.

This PR just ensures that if there's a variable in your color, we fallback to the default gray.500 so at least the chevron doesn't disappear.

Fixes #165.

Copy link

vercel bot commented Sep 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tailwindcss-forms ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 5, 2024 1:44pm

@adamwathan adamwathan merged commit 255476c into main Sep 5, 2024
1 of 2 checks passed
@adamwathan adamwathan deleted the fix/issue-165 branch September 5, 2024 13:44
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.

No color on select chevron when overriding colors in config
2 participants