Replies: 1 comment
-
Hi @qaws7791! Yes, that's right. If you use a prefix, you now have to add it manually to the classes first. @import "tailwindcss" prefix(tw); <h1 class="tw:text-2xl">Hi there</h1> Here is an interactive example. |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
I thought the prefix was used at compile time, so I thought I should use
var(--text-lg)
, but it only worked withvar(--ui-text-lg)
. Is this the intended behavior?demo: https://play.tailwindcss.com/klXHd00bau?file=css
reference:
Beta Was this translation helpful? Give feedback.
All reactions