You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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 theprettier-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.
Alternatives
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: