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

Properly detect theme() value usage in arbitrary properties #6854

Merged
merged 2 commits into from Jan 3, 2022

Conversation

RobinMalfait
Copy link
Contributor

@RobinMalfait RobinMalfait commented Jan 3, 2022

This PR will ensure that we can properly detect the theme() when using arbitrary properties.
We could already detect this:

<div class="[--x:theme(colors.blue.500)]"></div>

But we didn't properly detect this (notice the quotes):

<div class="[--x:theme('colors.blue.500')]"></div>

Fixes: #6619

@RobinMalfait RobinMalfait merged commit 3149738 into master Jan 3, 2022
@RobinMalfait RobinMalfait deleted the fix/6619 branch January 3, 2022 12:12
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.

theme() function is not available when adding arbitrary properties
1 participant