colormate
v1.0.2
Published
A CLI tool to scan your project for Tailwind color classes (e.g., `bg-[#fff]`) and replace them with standard or custom Tailwind colors.
Downloads
14
Maintainers
Readme
Colormate
A CLI tool to scan your project for Tailwind color classes (e.g., bg-[#fff]) and replace them with standard or custom Tailwind colors.
Features
- Scan files for hex color classes.
- Replace arbitrary hex classes with standard Tailwind or custom names.
- Optionally generate custom Tailwind colors in the config.
Installation
npm install -g colormateUsage
colormate- Follow prompts to select your project folder and map colors.
- Generates a replacement map for Tailwind classes.
License
MIT
