-
I'm playing with couple UI libraries with TW4 and some of them are using CSS at-layer already. How do I go about to make sure that TW4 layer and UI libraries layer work well. FYI: What I would want is to make sure that UI libraries are overridden by TW4 class that I use. |
Beta Was this translation helpful? Give feedback.
Answered by
wongjn
Sep 17, 2025
Replies: 1 comment 3 replies
-
Have a @layer theme, base, components, ui-library, utilities;
|
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
tounsoo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Have a
@layer
statement that comes before any CSS like:theme
,base
,components
andutilities
are Tailwind@layer
s, whileui-library
would be the UI library's@layer
.