[V4] automatic namespace detection #13420
Replies: 3 comments 1 reply
-
Obviously if no value is found it should fall back to the current implementation |
Beta Was this translation helpful? Give feedback.
-
Hey! Currently v4 doesn't actually support |
Beta Was this translation helpful? Give feedback.
-
Hey, I've been testing out V4 and I'm impressed the only thing I've been a little confused about is the theme function instead of the apply directive, I get the reason for the switch but I don't find it any faster than typing out the CSS variable that tailwind adds, is it possible instead of writing
border-radius: theme(borderRadius.lg)
To not be able to type
border-radius: theme(lg)
And grab the namespace of border radius from the CSS that's just been read. Otherwise I might as well just write
border-radius: var(--borderRadius-lg);
as that is the same thingBeta Was this translation helpful? Give feedback.
All reactions