Files
spa/TRM_Design_System-handoff/trm-design-system/project/preview/comp-kpi.html
T
julian 8223a566e4 docs: import TRM design handoff + defer adoption to phase 3.8
A design handoff bundle generated by Claude Design (claude.ai/design)
on 2026-05-02. Defines the Bloomberg/F1-pit-wall aesthetic for TRM:
- ink-on-paper base + race-flag red accent (#E8412B)
- square-edged everything, sharp printed offset shadows
- mono numerics (JetBrains Mono) for any changing value
- Goldplay (real licensed font, three weights in bundle fonts/)
- four surfaces designed: dashboard / leaderboard / mobile / marketing
  (SPA scope is the first two)

The bundle is committed in-tree at TRM_Design_System-handoff/ so 3.8
has the full source material when it picks the work up. Includes:
- Top-level + project READMEs (the design spec)
- chats/chat1.md (intent + iteration history)
- colors_and_type.css (token set, drop-in for Tailwind 4 @theme)
- fonts/ (Goldplay regular/semibold/bold)
- ui_kits/ (HTML prototypes per surface)
- preview/ (per-token visual reference cards)

Updated phase-3-dogfood-readiness/README.md task 3.8 row to point at
the bundle and document the recommended approach (retheme shadcn via
CSS variable overrides + Tailwind 4 @theme, not replace).

Why deferred: foundational tokens are non-blocking for Phase 1 (login
+ placeholder home) and Phase 2 (live map without chrome). Applying
them now would either delay dogfood-blocking work or land partial
styling that gets reworked when 3.8 lands the full pass.
2026-05-02 19:11:57 +02:00

35 lines
1.8 KiB
HTML

<!doctype html><html><head><meta charset="utf-8">
<link rel="stylesheet" href="../colors_and_type.css">
<link rel="stylesheet" href="_card.css">
<style>
body { padding: 24px; }
.grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.card { border: 1px solid var(--ink); padding: 14px; background: var(--paper); }
.lbl { font-family: var(--font-display); font-size: 11px; font-weight: 600; letter-spacing: 0.10em; text-transform: uppercase; color: var(--ink-3); }
.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.delta { font-family: var(--font-mono); font-size: 11px; }
.up { color: var(--green); }
.dn { color: var(--flag); }
.meta { font-family: var(--font-mono); font-size: 11px; color: var(--ink-4); }
</style></head>
<body>
<div class="overline" style="margin-bottom:14px;">Stat / KPI cards</div>
<div class="grid">
<div class="card">
<div class="lbl">Active bibs</div>
<div class="num" style="font-size: 40px; margin-top:8px;">1,247</div>
<div class="delta up" style="margin-top:6px;">↑ 12 in last 5 min</div>
</div>
<div class="card">
<div class="lbl">Lead time</div>
<div class="num" style="font-size: 40px; margin-top:8px;">42:18.4</div>
<div class="delta meta" style="margin-top:6px;">Bib 247 · split 3</div>
</div>
<div class="card" style="background: var(--ink); color: var(--paper); border-color: var(--ink);">
<div class="lbl" style="color: var(--paper-3);">Leader gap</div>
<div class="num" style="font-size: 40px; margin-top:8px; color: var(--paper);">+0:04.2</div>
<div class="delta dn" style="margin-top:6px;">↓ closing 0.3s/km</div>
</div>
</div>
</body></html>