tailwind-class-prefixer Tailwind Templates

Tailwind Class Prefixer

prefix tailwind classes with a CLI tool

tailwind class prefixer

Install: poetry install. (Obviously requires poetry)

Usage: python prefixer.py [OPTIONS] COMMAND [ARGS]...

╭─ Options ──────────────────────────────────────────────────────────────────────────────────────╮
│ --version             -v                              Show the application's version and exit. │
│ --remove              -r                              Remove the prefix.                       │
│ --help                                                Show this message and exit.              │
╰────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ─────────────────────────────────────────────────────────────────────────────────────╮
│ prefix         Process an existing project.                                                    │
│ update         Update the tailwind class list from official sources.                           │
╰────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ prefix-Arguments ─────────────────────────────────────────────────────────────────────────────╮
│   path        [PATH]    Path to project root. [default: None]                                  │
│   prefix      [PREFIX]  Change the prefix for tailwind classes. [default: tw-]                 │
╰────────────────────────────────────────────────────────────────────────────────────────────────╯

Top categories

Loading Svelte Themes