Skip to content

TUI Application for browsing and copying Tailwind colors to the clipboard.

License

Notifications You must be signed in to change notification settings

1dancook/tailwind-color-picker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tailwind Color Picker

This tool displays the Tailwind color palette from which you can yank.

screenshot

The yanked color is hex with hash i.e. #f8fafc

Why? I just like Tailwind colors and I like using them for things other than web development. This helps.

Colors are from the Tailwind Documentation.

Installation:

pipx install tailwind-color-picker

Usage:

Run with twcp.

Bindings, etc:

j / down   - move cursor down
k / up     - move cursor up
h / left   - move cursor left
l / right  - move cursor right
y / enter  - yank (copy) the select color
q / Ctrl+c - quit

Selecting a color with the mouse will copy it, if you mouse.

Other Information

This app was built using Textual.

This currently yanks only the hex code. It's not really meant to generate the css class names that you would use if developing with Tailwind. But it could be a helpful preview of the default palette.

About

TUI Application for browsing and copying Tailwind colors to the clipboard.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages