@theme
directive adds all css variables to the :root
. Is there a way to change it?
#17175
Unanswered
jqueryisamonad
asked this question in
Help
Replies: 1 comment 1 reply
-
I'm interested by this too. I'm building a microfrontend (federation) for my company, and the CSS must absolutely be scoped, so |
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.
-
Hi. I want to scope all tailwind related styles to the
.tailwind
container.There is two problems with that:
@theme
directive adds all variables to the:root
. Is there a way to change this default behavior?preflight.css
contains global styles (:host
,html
,body
). May be fixed with scoped import. But in that case all styles in global selectors will be missed. So I need to copy them and apply to the my container. Is there better way to do this?Beta Was this translation helpful? Give feedback.
All reactions