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 1 week ago

flozero commented 1 week 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.