-
-
Notifications
You must be signed in to change notification settings - Fork 170
Closed
Description
What version of prettier-plugin-tailwindcss
are you using?
v0.5.7
What version of Tailwind CSS are you using?
v3.3.5
What version of Node.js are you using?
v18.16.1
What package manager are you using?
npm
What operating system are you using?
Windows
Reproduction URL
https://play.tailwindcss.com/4hYmtn5TfP
Describe your issue
I extended the 'opacity' property, adding a value of 1 as 0.01. For extended/new attributes, the sorting behavior is lost. Such attributes are sorted to the beginning of the classes. Example:
bg-indigo-500 text-white hover:bg-indigo-700/50 active:bg-indigo-700/1
is turning into this:
active:bg-indigo-700/1 bg-indigo-500 text-white hover:bg-indigo-700/50
hugotox, seawatts, imericxu, stabildev, darioghilardi and 6 more
Metadata
Metadata
Assignees
Labels
No labels