headwind
tailwind-sorter
Our great sponsors
headwind | tailwind-sorter | |
---|---|---|
9 | 1 | |
1,362 | 18 | |
- | - | |
0.0 | 6.6 | |
9 months ago | 6 months ago | |
TypeScript | Ruby | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
headwind
-
HyperUI Rewritten... What's Changed?
Added the tailwind-prettier-plugin as not everyone uses headwind
-
class order
Headwind is a nice addon for VS Code to sort classes automatically and warn you when using conflicting classes: https://github.com/heybourn/headwind
-
Cleaner CSS in your component templates with Tailwind and Headwind
The one I'm using is Headwind which defines itself as:
-
Tailwind CSS class sorter – the custom way
Headwind is a nice opinionated sorter which probably can be tweaked to understand our Slim templates but as a VS Code plugin it only works inside this particular IDE. We mostly use JetBrains RubyMine in our team and also needed a CLI version.
-
How to keep Tailwind DRY
If you are worried about property sort order (Tailwind is much more readable if you are) then you can use another tool to deal with that for you: Headwind. This VS Code extension will format your Tailwind classes on save and group them by their function, making sure everything is where you expect it.
-
Automatically sorting your Tailwind CSS class names
Headwind - a VS Code extension that sorts your CSS classes on save
-
Why Tailwind? A long term user perspective
I can suggest taking a look at Tailwind CSS Best Practice Patterns and Robin Malfait's Good Example to get an idea of how that would look like. For consistency, I can also recommend having a convention for class ordering or using headwind as an opinionated class sorter.
-
TailwindCSS JIT with Arbitrary Values
There's Headwind CSS, which orders classes predictably. But it doesn't move them to separate lines. This could be a config option if you're willing to write a pull request.
https://github.com/heybourn/headwind
- How do you order class names in the markup?
tailwind-sorter
-
Tailwind CSS class sorter – the custom way
If we’ve got your attention, please read the project README and wiki and feel free to customize anything you’ll find there. And let us know how it worked for you. Good luck with Tailwind classes sorting! 🤞
What are some alternatives?
Tailwind CSS - A utility-first CSS framework for rapid UI development.
modern-rails-flash-messages - Modern Rails flash messages - Example App
prettier-plugin-tailwindcss - A Prettier plugin for Tailwind CSS that automatically sorts classes based on our recommended class order.
rustywind - CLI for organizing Tailwind CSS classes
tailblocks - Ready-to-use Tailwind CSS blocks.
phlex - A framework for building object-oriented views in Ruby.
Slim - Slim is a template language whose goal is to reduce the syntax to the essential parts without becoming cryptic.
twin.macro - 🦹♂️ Twin blends the magic of Tailwind with the flexibility of css-in-js (emotion, styled-components, solid-styled-components, stitches and goober) at build time.
Overcommit - A fully configurable and extendable Git hook manager
docker-django-example - A production ready example Django app that's using Docker and Docker Compose.
docker-rails-example - A production ready example Rails app that's using Docker and Docker Compose.