WalrusSoup / Tailwind-Formatter

Port of Headwind to Intellij. Opinionated class formatter for TailwindCSS
108 stars 9 forks source link

Feature/tailwind3 #53

Closed WalrusSoup closed 2 years ago

WalrusSoup commented 2 years ago

New Update

People hate prettier so here we go.

Features

New Custom Configuration

Due to the growth of Tailwind supported classes & variants, a user defined order may be too large for the default settings menu. This has been moved to a .tailwindorder file which can be positioned at the root and is simple list of classes (1 per line).

Tailwind Config File

The one shipped is generated via the cli when passing npx tailwind init --full. Generation is then done for the full output of all classes and all plugins as needed.

Variants

Generating with all variants would make a nightmare sized file, so generation is done then variants are ordered independently based on the default variant order - with screen sizes pushed to the back of this.