Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/afeiship/tw-color-picker-cli
Color class picker for tailwind css.
https://github.com/afeiship/tw-color-picker-cli
cli color colors compare delta-e picker tailwind tailwindcss tcpc tw
Last synced: 8 days ago
JSON representation
Color class picker for tailwind css.
- Host: GitHub
- URL: https://github.com/afeiship/tw-color-picker-cli
- Owner: afeiship
- Created: 2018-04-10T10:57:17.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-10-09T03:28:54.000Z (2 months ago)
- Last Synced: 2024-11-29T07:10:31.656Z (24 days ago)
- Topics: cli, color, colors, compare, delta-e, picker, tailwind, tailwindcss, tcpc, tw
- Language: JavaScript
- Homepage:
- Size: 24.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tw-color-picker-cli
> Color class picker for tailwind css.## getting started
```shell
$ tcpc "#E6E8F5" -b # bg-slate-200
$ tcpc "#E6E8F5" -t # text-slate-200
$ tcpc "#E6E8F5" # slate-200
$ tcpc "#3E3E7C" -b -c './tailwind.config.cjs' -v # with tailwind config file
```## usage
```shell
$ tcpc -h
Usage: tcpc [options]Options:
-V, --version output the version number
-v, --verbose show verbose log
-t, --is-text create text color css class
-b, --is-background create background color css class
-c, --config path to tailwind.config.js
-h, --help display help for command
```