ColorPicker
30-swatch palette of Twenty named tag colors. Picked value is a token name, not a hex.
Use ColorPicker when the user is naming a record colour: Tag, Kanban column, calendar category. The picked value is a string like `"blue"` or `"amber"` that maps to --t-color-* tokens — your storage stays theme-aware and the same record looks correct in both Light and Dark.
Install
Pull from the workspace packages (already available if you ran pnpm add):
Examples
Palette
Selected:
blueGuidelines
✓
Store the picked name in the database, not a hex.A hex value freezes the colour — when Twenty shifts a palette step the rest of the UI updates but this single record stays old.
✕
Use ColorPicker as a generic color input (#rrggbb).For free-form colour use a third-party hex picker — ours is intentionally palette-bound.