Design Tokens
Die DNA des Systems als CSS Custom Properties (Spacing, Typography, Colors, Radius, Shadows).
Spacing (4px Grid)
Abstände sind auf einem 4px‑Raster standardisiert.
| Token | Value | Preview |
|---|---|---|
| --s8 | 8px | |
| --s16 | 16px | |
| --s24 | 24px | |
| --s32 | 32px | |
| --s48 | 48px | |
| --s64 | 64px |
Typography Tokens
Skalierung für Premium‑Lesbarkeit (ruhig, nicht laut).
| Token | Value | Usage |
|---|---|---|
| --fs-sm | 13px | Captions, Hints |
| --fs-base | 15px | Body Text |
| --fs-lg | 17px | Lead |
| --fs-xl | 20px | Card Titles |
| --fs-3xl | 32px | H2 |
| --fs-4xl | 40px | H1 / Hero |
Color Tokens
Semantik: Brand für Actions, Accent sparsam als Highlight.
| Token | Value | Preview |
|---|---|---|
| --bg | #f5f5f4 | Background |
| --surface | #ffffff | Surface |
| --border | #e0e0de | Border |
| --text | #1f2937 | Text |
| --brand | #0f766e | Brand |
| --accent | #c9a227 | Accent |
Radius Tokens
Weiche Kanten, premium‑ruhig. Keine harten 0px.
| Token | Value | Preview |
|---|---|---|
| --r8 | 8px | |
| --r12 | 12px | |
| --r16 | 16px | |
| --r20 | 20px | |
| --r-pill | 999px |
Shadow Tokens
Schatten sind subtil: Soft → Medium → Deep → Premium.
| Token | Value | Preview |
|---|---|---|
| --sh-soft | 0 4px 12px rgba(...) | |
| --sh-medium | 0 8px 24px rgba(...) | |
| --sh-deep | 0 18px 45px rgba(...) | |
| --sh-premium | mixed |