Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(tailwind-prefix): resolve prefixing issue for Tailwind CSS v4 compatibility (including tests) #6885

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

Joshua-hypt
Copy link

@Joshua-hypt Joshua-hypt commented Mar 7, 2025

Extension of #6688

  • Updated tests

Fixes: #6687

Ain477 and others added 4 commits February 19, 2025 02:17
…patibility

1. Fixed incorrect prefix application causing issues with Tailwind CSS v4.
2. Optimized implementation using map() for better performance and readability.
Copy link

vercel bot commented Mar 7, 2025

@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.

@Joshua-hypt Joshua-hypt changed the title fix(tailwind-prefix): fix test transform-tw-prefixt fix(tailwind-prefix): resolve prefixing issue for Tailwind CSS v4 compatibility (including tests) Mar 7, 2025
@azizChebbi
Copy link

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

@Joshua-hypt
Copy link
Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug]: Prefix not working properly for Pseudo-classes
3 participants