semvec/pypi-packages huggingface dataset:
tailwind-color-picker 0.1.2
TUI Application for browsing and copying Tailwind colors to the clipboard.
Requires Python: >=3.10,<4.0

# Tailwind Color Picker

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

![screenshot](twcp-screenshot.png)

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](https://tailwindcss.com/docs/customizing-colors
).

### 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](https://textual.textualize.io/).

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.