Train Smarter — Design System
PROJ-1: Design System Foundation. Alle Tokens, Farben, Typografie und Komponenten auf einen Blick.
Typografie (Inter Variable)
H1 — 32px / Bold / -0.02em
H2 — 24px / SemiBold / -0.015em
H3 — 20px / SemiBold / -0.01em
H4 — 16px / SemiBold
H5 — 14px / SemiBold
Body Large — 16px / Regular
Body — 14px / Regular (Default)
Body Small — 12px / Regular
Label — 12px / SemiBold / UPPERCASE / +0.05em
Caption — 11px / Medium
Primary (Teal)
Secondary (Violet)
Gray (Warm Slate)
Semantische Farben
shadcn/ui Semantic Tokens
Tipp: Dark Mode umschalten um die Warm-Slate Dark-Surfaces zu sehen.
Buttons (shadcn/ui)
Badges
Form Elements
Focus Ring
Teal-600 (--ring Token) auf allen interaktiven Elementen.
Error-State nutzt ring-error (Rot).
Secondary nutzt Violet als Akzent-Farbe.
Spacing (8px Grid)
Border Radius
Schatten
Motion Tokens
Duration
fast 150ms
base 250ms
slow 400ms
Easing
default ease-in-out
spring overshoot
Usage
Hover/Focus: fast (150ms). Layout-Transitions: base (250ms). Page-Transitions: slow (400ms).
Card Komposition
24
+3 diese Woche
8
2 in Planung
87%
+5% vs. Vormonat