chrisgreg / bloom

The opinionated extension to Phoenix core_components
https://bloom-ui.fly.dev
MIT License
347 stars 18 forks source link

Automatic Tailwind class name ordering #6

Closed samjowen closed 6 months ago

samjowen commented 6 months ago

Hi Chris, first of all, great repo - love the idea.

Please may I suggest adding the Elixir Tailwind formatter as a dependency to this project? It's designed to sort Tailwind classes, similar to the official Prettier Tailwind plugin, which you can read more about here: https://tailwindcss.com/blog/automatic-class-sorting-with-prettier.

The main benefits would be to enhance code readability and ensure style consistency across the project.

What do you think?

chrisgreg commented 6 months ago

I think that's a great idea - wanna raise a PR to implement it?

samjowen commented 6 months ago

I think that's a great idea - wanna raise a PR to implement it?

Sure thing 👍