-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Tailwind v4 Compatibility? #66
Comments
Hi, it will very likely need a rewrite for Tailwind v4 but I don't want to start working on it until the plugin API is finalized/documented 😶. |
Pretty weird that v4 doesn't have clamp support out of the box to be honest. Have you asked Adam about this? |
@daphen I have not but if you can get a hold of him I'd be curious to hear his thoughts! I'd imagine it'd be a pretty big lift so I'm not expecting a surprise announcement on that front but who knows 😅 |
Is there any update on the progress of this, when will it work with tailwind v4? |
Hi, no update but I'm planning to look into this over the next few weekends 👍 |
You actually won't need this library anymore, since tailwind will be using the @theme directive.
And it will work out of the box. You can just overwrite every possible thing such as padding directly. |
Hi, you could already do this in Tailwind v3 and it works well. The goal of this plugin is to let you generate these values on-the-fly in any utility using your existing theme values 👍 |
Ah sweet didn't know that, excited what you come up with then :) |
while the @theme solution is nice! Are you still planning to update this package though? I really like the way we can "tailwindify" our projects by using the class & utilities. |
Hi, I'm still planning on it yes. Tailwind v4 doesn't have an upgrade guide for third-party plugins, or any official API for third-party plugins in general, so there's a bit more guesswork than I would've hoped. v4 also silently dropped support for custom extractors, so it will definitely require a complete rewrite. |
Thank you for your work @barvian |
Appreciate all you're doing @barvian and am also pumped to know you're still planning work on this. |
Was this what you were waiting for? https://github.com/tailwindlabs/tailwindcss/releases/tag/v4.0.9 Make JS APIs available to plugins and configs in the Standalone CLI |
Is this plugin compatible with Tailwindcss v4?
https://fluid.tw/#installation
Since v4 use rem by default for breakpoints and font size I guess point 3 is no more relevant.
But how can I add the extractor in tailwind css v4 since it doesn't use
tailwind.config.js
anymore.The text was updated successfully, but these errors were encountered: