-
|
I checked the update guide and searched the documentation but i couldn't find the way to migrate from my config.ts to css this configuration export default {
important: true,
} satisfies Config;is that even possible in the new pure css configuration? |
Beta Was this translation helpful? Give feedback.
Answered by
wongjn
Jan 24, 2025
Replies: 2 comments
-
|
From a test: tailwindcss/packages/tailwindcss/src/important.test.ts Lines 34 to 37 in a8c54ac @layer theme, base, components, utilities;
@import "tailwindcss/theme.css" layer(theme);
@import "tailwindcss/preflight.css" layer(base);
@import "tailwindcss/utilities.css" layer(utilities) important; |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
miguelski
-
|
thanks this seems to make the trick @import "tailwindcss" important; |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From a test:
tailwindcss/packages/tailwindcss/src/important.test.ts
Lines 34 to 37 in a8c54ac