Tailwind v3 in a package #18679
Unanswered
SukhorukovS
asked this question in
Help
Replies: 0 comments
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.
-
Hello everyone, I need some help.
I've created a package and used Tailwind v3 for styling. Everything works fine, but there’s an issue with CSS custom properties. When my package is imported, these CSS custom properties "leak" into the application that uses my package. As a result, every element in the host application gets these custom properties, which is messy, hurts performance, and is just inconvenient.
Is there any way to avoid this?

Beta Was this translation helpful? Give feedback.
All reactions