The Wayback Machine - https://web.archive.org/web/20220610065214/https://github.com/tailwindlabs/tailwindcss/pull/7587
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

Allow default ring color to be a function #7587

Merged
merged 2 commits into from Feb 22, 2022
Merged

Conversation

thecrypticace
Copy link
Collaborator

@thecrypticace thecrypticace commented Feb 22, 2022

Fixes #6748

We were resolving ringColor.DEFAULT directly in theme instead of ringColor and then pulling the DEFAULT key from it. The difference here is that when calling theme() it'll call the function w/o arguments. In this case we want withAlphaValue to call the function with the appropriate opacityValue even when setting the default.

@thecrypticace thecrypticace merged commit d72b277 into master Feb 22, 2022
10 checks passed
@thecrypticace thecrypticace deleted the fix/default-ring-color-fn branch Feb 22, 2022
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.

1 participant