Skip to content
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

[Feature Request]: Support Tailwind 4 #313

Open
wuifdesign opened this issue Feb 21, 2025 · 0 comments
Open

[Feature Request]: Support Tailwind 4 #313

wuifdesign opened this issue Feb 21, 2025 · 0 comments
Assignees

Comments

@wuifdesign
Copy link

Description

Currently only tailwind.config.js is supported for class sorting, but with tailwind 4 a new format was introduced. Would be nice to support it as you use a custom sorting mechanic and the prettier-plugin-tailwindcss is not working with this plugin.

Suggested Solution

Do something like https://github.com/tailwindlabs/prettier-plugin-tailwindcss?tab=readme-ov-file#specifying-your-tailwind-stylesheet-path to define a path to the css file and parse variables out of it.

"tailwindStylesheet": "./resources/css/app.css",

Alternatives

No response

Additional Context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants