Skip to content

Generate color palettes in JSON from your CLI, for use with Tailwind CSS or anything you like.

Notifications You must be signed in to change notification settings

danieljpalmer/cli-color

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cli-color - generate tailwind.css color palettes with npx

Generate color palettes in JSON from your CLI, for use with Tailwind CSS or anything you like. Simply run an npx command

How to use cli-color

To use this, just run:

npx @danieljpalmer/cli-color

and follow the steps.

It'll ask you for a primary brand color (i.e. your root color), and then ask if you want grays (with the primary color infused) and utilities (success, error, warning) too.

The palette gets generated instantly and copied to your clipboard for pasting into your Tailwind.config!

Running it locally

Alternatively, you can clone this repo and run:

npm start

To achieve the same thing.

About

Generate color palettes in JSON from your CLI, for use with Tailwind CSS or anything you like.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published