catppuccin / tailwindcss

💨 Soothing pastel theme for Tailwind CSS
https://tailwindcss.catppuccin.com/
MIT License
372 stars 5 forks source link

Migration to Tailwind v4? #19

Open SapphicMoe opened 6 months ago

SapphicMoe commented 6 months ago

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?

uncenter commented 6 months ago

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.

nekowinston commented 6 months ago

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.