Replies: 1 comment 1 reply
-
Both <div class="[--background-color:theme(colors.blue.DEFAULT)]">
<!-- ... -->
</div> And <div class="[--background-color:theme('colors.blue.DEFAULT')]">
<!-- ... -->
</div> Should already work, as evidenced in this Tailwind Play. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
It is already possible to use at-rules like @media or @supports in arbitrary variants.
And you can also already override variables with hardcoded values.
But it would be very helpful if we could use tailwind values (config) instead.
Here some proposals:
I do understand that some of the proposals are probably not even possible, but I still wanted to list them down for some inspiration.
Beta Was this translation helpful? Give feedback.
All reactions