Closed goosewobbler closed 4 years ago
You can customize the ordering using the headwind.sortTailwindClasses
property, check the README.
Long term the classes will probably be ordered from how they appear in the tailwind.css file
Thanks, I should have looked closer at the documentation before raising this. I'll close it...
It would be nice if headwind ordering of the
margin
andpadding
classnames could match the syntax of the CSS rule, e.g. for margin:Current and expected ordering behaviour for the above tailwind classnames:
There are other shorthand properties which would benefit from similar, namely
border
,font
andbackground
:https://developer.mozilla.org/en-US/docs/Web/CSS/Shorthand_properties