-
I'm building a component library with TW, using the
This is problematic since I don't want to mix up my variables with consumers variables. They might be overridden by consumer and inadvertently change my library defaults. I would instead want something like:
Is this possible? I could skip including |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
I made this manual workaround using
Would be best if TW provided a way to do this itself, though |
Beta Was this translation helpful? Give feedback.
-
Yup, the |
Beta Was this translation helpful? Give feedback.
-
Would this continue to work after upgrading to tailwindcss v4? |
Beta Was this translation helpful? Give feedback.
I made this manual workaround using
postcss-replace
in my project.postcss.config
:Would be best if TW provided a way to do this itself, though