headwind
headwind | class-types.macro | |
---|---|---|
9 | 3 | |
1,366 | 7 | |
- | - | |
0.0 | 0.0 | |
9 months ago | over 1 year ago | |
TypeScript | TypeScript | |
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?
class-types.macro
- TailwindCSS JIT with Arbitrary Values
-
I Don't Like Tailwind CSS
The only thing I really didn't like about tailwind was the danger of changing tailwind.config and the long className lists. I "solved" both of those issues with a simple macro and PostCSS plugin: https://github.com/fleck/class-types.macro#why-use-this-libr...
What are some alternatives?
Tailwind CSS - A utility-first CSS framework for rapid UI development.
eslint-plugin-tailwind - ESLint rules for Tailwind CSS
prettier-plugin-tailwindcss - A Prettier plugin for Tailwind CSS that automatically sorts classes based on our recommended class order.
styled-jsx - Full CSS support for JSX without compromises
tailblocks - Ready-to-use Tailwind CSS blocks.
rustywind - CLI for organizing Tailwind CSS classes
headlong - Tailwind CSS on the fly without PostCSS
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.
docker-node-example - An example Node / Express app that's using Docker and Docker Compose.
docker-django-example - A production ready example Django app that's using Docker and Docker Compose.
truss - A TypeScript DSL for writing utility CSS in React/JSX