Closed
Description
Hi there,
I am trying to upgrade a project from tailwind v3 to v4.
I found that in v4 when using the important flag and then use @apply to inline any existing utility classes into my own custom CSS, these lines get "!important" added to them.
In v3 this was not the so.
I am not sure if this is a bug or an change. If it is intentional, then maybe the upgrade guide should be mention this.
If there is a way to prevent @apply to add the "!mportant" rule, I would love to know.
Regards
Metadata
Metadata
Assignees
Labels
No labels