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

Detect alpha value in CSS theme() function when using quotes #8625

merged 4 commits into from Jun 13, 2022


Copy link

Fixes #8619

While we don't necessarily recommend using the quoted syntax anymore as it's not consistent with CSS functions generally we do still support it. However, we would only detect the alpha value when using bare theme syntax theme(colors.yellow / 50%) but not theme('colors.yellow / 50%') and it should definitely detect that. This fixes that.

@thecrypticace thecrypticace merged commit 1c24d7a into master Jun 13, 2022
@thecrypticace thecrypticace deleted the fix/theme-css-alpha-in-quotes branch June 13, 2022 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

3.1 version, theme function reports lint error
1 participant