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

[WIP] Support tailwind v4 #20

Open
flozero opened this issue Sep 13, 2024 · 1 comment
Open

[WIP] Support tailwind v4 #20

flozero opened this issue Sep 13, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request question Further information is requested

Comments

@flozero
Copy link
Collaborator

flozero commented Sep 13, 2024

'm not certain how well this library will work with Tailwind v4. However, after some discussions:

It appears we'll need to change the generateSafeList function. Instead of adding classes in the Tailwind config, we'll need to build all the classes we use inside a CSS file.

Apart from this, everything should work well. We'll need to keep an eye on how tailwind-merge handles Tailwind v4. While we don't rely on it directly, it's a valuable addition to our library and the Tailwind ecosystem in general.

@flozero flozero self-assigned this Sep 13, 2024
@flozero flozero added enhancement New feature or request question Further information is requested labels Sep 13, 2024
@flozero flozero mentioned this issue Sep 13, 2024
@flozero
Copy link
Collaborator Author

flozero commented Sep 22, 2024

great news about tailwind merge dcastil/tailwind-merge#468

We can expect it to be available for v4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant