busbud / tailwind-buddy

Tailwind Buddy: Your Friendly Helper for Composing Tailwind Classes 🎨
https://busbud.github.io/tailwind-buddy/
12 stars 1 forks source link

[WIP] Support tailwind v4 #20

Open flozero opened 2 months ago

flozero commented 2 months ago

'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 commented 2 months ago

great news about tailwind merge https://github.com/dcastil/tailwind-merge/discussions/468

We can expect it to be available for v4