-
-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
Description
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
Reactions are currently unavailable