Is there any risk associated placing --radius to be defined under @theme block? #10019
Replies: 1 comment 1 reply
-
|
Yes it is safe to define The → Tailwind IntelliSense support Things to keep in mind: → If you need the variable globally outside So in short: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Let's say I have a globals.css like above.
What I realized is that tailwindcss intellisense does not respect --radius under ":root".
If I move it over to theme block like below
The intellisense seems to provide correct canonical suggestion.
Now I am wondering if doing such is a safe move.
I am not a tailwind or css related expert so if anyone can provide an advice, it would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions