Skip to content
Discussion options

You must be logged in to vote

You could consider unwrapping the utility classes from being in a CSS cascade layer like:

-@import "tailwindcss";
+@layer theme, base, components, utilities;
+
+@import "tailwindcss/theme.css" layer(theme);
+@import "tailwindcss/preflight.css" layer(base);
+@import "tailwindcss/utilities.css";

Replies: 3 comments 9 replies

Comment options

You must be logged in to vote
4 replies
@AnttiTolvanen01
Comment options

@esaia
Comment options

@volfadar
Comment options

@SpiZeak
Comment options

Answer selected by AnttiTolvanen01
Comment options

You must be logged in to vote
4 replies
@wongjn
Comment options

wongjn Apr 5, 2025
Collaborator

@sboerrigter
Comment options

@wongjn
Comment options

wongjn Apr 5, 2025
Collaborator

@sboerrigter
Comment options

Comment options

You must be logged in to vote
1 reply
@rozsazoltan
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
8 participants