Data display
Palette thumbnail card
Show a palette’s swatches and essential details together in a gallery.
Anatomy
- Palette swatch thumbnail
- Palette name
- Status badge
Configuration
Swatch preview
Coastal palette
Two colour scales
Show a palette’s key colours first. Hover over the thumbnail to see the full scales.
Coastal palette
Two colour scales
Show representative steps across each scale at a glance.
Design tokens used
| Category | Token | Value | Where it’s used |
|---|---|---|---|
| Colour | --cc-foreground | — | Palette name |
--cc-muted-foreground | — | Scale count | |
--cc-surface | — | Card surface | |
--cc-border | — | Card outline, header rule, and swatch frame | |
--cc-primary | — | Primary swatches | |
--cc-primary-hover | — | Strong primary swatch | |
--cc-primary-soft | — | Featured badge background and a light primary swatch | |
--cc-primary-soft-foreground | — | Featured badge label | |
--cc-secondary | — | Secondary swatches | |
--cc-secondary-soft | — | Light secondary swatch | |
--cc-tertiary | — | Tertiary swatches |