Skip to content

Conversation

@RobinMalfait
Copy link
Member

@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

2 participants