Can I use panda's utilities
layer with tailwindcss's utilities
?
#1117
Replies: 2 comments 1 reply
-
I might be wrong, but afaik tailwind doesn't use @layers ? isn't it a custom thing ? so I'm not sure there is going to be a collision, you can probably just try it and see for yourself to make sure you can |
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
-
Hi, I'm making a design-system library with
pandacss
.During the test to confirm that the
tailwindcss
side also works without any problems,I found that pandcss's layer name is same with tailwind's layer, name as
utilities
In index.css file is like below
I think the first solution I thought of would be if the name doesn't overlap with the layer provided by tailwind, is there a way to customize the name of the util layer in pandacss?
Or, is there any other solution you can suggest?
The environment setting of the app code using the package I built with pandacss is as follows.
vite + typescript + tailwindcss + postcss
Beta Was this translation helpful? Give feedback.
All reactions