fix(tailwind-prefix): resolve prefixing issue for Tailwind CSS v4 compatibility (including tests)
Extension of #6688
- Updated tests
- Added backwards compatibility for tailwind v3
Fixes: #6687
@Joshua-hypt is attempting to deploy a commit to the shadcn-pro Team on Vercel.
A member of the Team first needs to authorize it.
also what's the case for people using tailwind v3 ? we need to take into consideration this, as this is a breaking change for them. cc @shadcn
also what's the case for people using tailwind v3 ? we need to take into consideration this, as this is a breaking change for them. cc @shadcn
@azizChebbi I added backwards compatibility for tw v3 now.
@shadcn not sure what function applyPrefixesCss still has, I think it can be deleted?
@shadcn can we merge this?
@shadcn what's missing in this PR ? we really need this in our migration project, as we are using tailwind v4 but the shadcn components are missing the new prefix syntax. please let's try to merge this one if nothing is blocking
+1 on this
@shadcn this is still pending, could you find the time to take a look at this please?
@shadcn review this pls
can we get this in before gta 6 release? 🙏
Fixes #7175 as well; adding a comment for better issue linking.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Updated (UTC) |
|---|---|---|---|
| ui | ✅ Ready (Inspect) | Visit Preview | May 19, 2025 7:27am |
| v4 | ✅ Ready (Inspect) | Visit Preview | May 19, 2025 7:27am |