tailwindcss icon indicating copy to clipboard operation
tailwindcss copied to clipboard

Migration to Tailwind v4?

Open sapphies opened this issue 1 year ago • 10 comments

I just saw this tweet by Adam Wathan about the early Tailwind v4 alpha: https://twitter.com/adamwathan/status/1764383146559017048

image

In it, it's mentioned that the Tailwind config file (tailwind.config.mjs) is no longer necessary.

How will this affect the Catppuccin plugin?

sapphies avatar Mar 03 '24 21:03 sapphies

https://x.com/adamwathan/status/1764393609246261496:

Plugins and presets will be CSS imports if all goes according to plan 👍

The new "CSS configuration" looks remarkably easy to use so I imagine it won't be too difficult to convert it to that. I'm sure they'll have good documentation on migrating plugins as well.

uncenter avatar Mar 03 '24 22:03 uncenter

Can't say until they've figured how they want to go about it. https://twitter.com/adamwathan/status/1764384186478067728

Seems like everything will be CSS based, I assume that there'll be some magic to translate {...config} into CSS directives... we'll see. I won't offer support for prereleases in any case.

nekowinston avatar Mar 03 '24 22:03 nekowinston