Skip to content
Discussion options

You must be logged in to vote

It seems like you'd need to have the Tailwind utilities outside any cascade layer:

-@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
8 replies
@sebastien-comeau
Comment options

@wongjn
Comment options

wongjn Jan 28, 2025
Collaborator

@sebastien-comeau
Comment options

@danielmarzan
Comment options

@mlorencs
Comment options

Answer selected by Simon-BEE
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@matys1
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