phoenixframework / tailwind

An installer for tailwind
MIT License
473 stars 60 forks source link

Automatically sort tailwind CSS classes #42

Closed nelsonmestevao closed 1 year ago

nelsonmestevao commented 2 years ago

The team behind Tailwind CSS, launched a Prettier plugin for Tailwind CSS v3.0+ that automatically sorts classes based on their recommended class order.

I was thinking it would be really cool to be able to do the same by creating a Mix Format Plugin similar to what have been done to HEEX in Phoenix LiveView.

I am willing to work on this. Do you guys think it could be part of this package?

lobo-tuerto commented 2 years ago

I think this is fundamental for having a great DX while using Tailwind CSS.

cgarvis commented 2 years ago

https://github.com/100phlecs/tailwind_formatter

nelsonmestevao commented 2 years ago

Would @100phlecs be willing to merge his work in this project? Are the maintainers of this project willing to have this feature?

josevalim commented 1 year ago

Closing as it is out of scope for this project. Our focus is exclusively on the installer. :)