8223a566e4
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.
68 lines
5.3 KiB
CSS
68 lines
5.3 KiB
CSS
/* Shared chrome for all UI kits — top bar / sidebar / table tokens */
|
|
:root { --top-h: 56px; --side-w: 240px; }
|
|
|
|
* { box-sizing: border-box; }
|
|
html, body { margin: 0; padding: 0; min-height: 100vh; background: var(--paper); color: var(--ink); font-family: var(--font-body); }
|
|
|
|
.kit-app { display: grid; grid-template-rows: var(--top-h) 1fr; min-height: 100vh; }
|
|
.kit-top {
|
|
display: grid; grid-template-columns: var(--side-w) 1fr auto; align-items: center;
|
|
border-bottom: 1px solid var(--ink); background: var(--paper);
|
|
position: sticky; top: 0; z-index: 5;
|
|
}
|
|
.kit-brand { display: flex; align-items: center; gap: 10px; padding: 0 18px; height: 100%; border-right: 1px solid var(--ink); }
|
|
.kit-brand img { height: 22px; width: auto; }
|
|
.kit-brand .b-meta { font-family: var(--font-mono); font-size: 10px; color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase; }
|
|
.kit-search { display: flex; align-items: center; gap: 10px; padding: 0 18px; height: 100%; }
|
|
.kit-search input { border: 1px solid var(--ink); height: 32px; width: 320px; padding: 0 10px; font-family: var(--font-mono); font-size: 13px; background: var(--paper-2); border-radius: 2px; }
|
|
.kit-top-actions { display: flex; align-items: center; gap: 14px; padding: 0 18px; height: 100%; border-left: 1px solid var(--hairline); }
|
|
.kit-clk { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 14px; font-weight: 600; }
|
|
|
|
.kit-main { display: grid; grid-template-columns: var(--side-w) 1fr; min-height: 0; }
|
|
.kit-side { border-right: 1px solid var(--ink); background: var(--paper); display: flex; flex-direction: column; }
|
|
.kit-side-section { padding: 16px 14px 6px; font-family: var(--font-display); font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.10em; color: var(--ink-4); }
|
|
.kit-nav-item { display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 36px; font-family: var(--font-display); font-size: 13px; color: var(--ink-2); cursor: pointer; border-left: 2px solid transparent; }
|
|
.kit-nav-item:hover { background: var(--paper-2); }
|
|
.kit-nav-item.active { background: var(--paper-2); border-left-color: var(--flag); color: var(--ink); font-weight: 600; }
|
|
.kit-nav-item [data-lucide] { width: 16px; height: 16px; stroke-width: 2; }
|
|
.kit-nav-item .badge { margin-left: auto; font-family: var(--font-mono); font-size: 10px; color: var(--ink-3); }
|
|
|
|
.kit-content { padding: 22px 28px; min-width: 0; overflow: hidden; }
|
|
|
|
.btn { font-family: var(--font-display); font-weight: 600; font-size: 13px; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); padding: 0 14px; height: 32px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; box-shadow: 2px 2px 0 0 var(--ink); border-radius: 0; transition: all 120ms var(--ease-snap); }
|
|
.btn:hover { box-shadow: 3px 3px 0 0 var(--ink); transform: translate(-1px,-1px); }
|
|
.btn:active { box-shadow: 0 0 0 0 var(--ink); transform: translate(2px,2px); }
|
|
.btn.primary { background: var(--ink); color: var(--paper); }
|
|
.btn.flag { background: var(--flag); color: #fff; }
|
|
.btn.ghost { box-shadow: none; }
|
|
.btn [data-lucide] { width: 14px; height: 14px; }
|
|
|
|
.pill { display:inline-flex; align-items:center; gap:6px; padding: 3px 10px; font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 999px; border: 1px solid currentColor; }
|
|
.pill .dot { width:6px; height:6px; border-radius:999px; background: currentColor; }
|
|
.pill.live { color: var(--flag); }
|
|
.pill.live .dot { animation: pulse 2s infinite ease-out; }
|
|
.pill.ok { color: var(--green); }
|
|
.pill.warn { color: var(--amber-2); }
|
|
.pill.danger { color: var(--flag-2); }
|
|
.pill.info { color: var(--blue-2); }
|
|
.pill.neutral { color: var(--ink-3); }
|
|
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(232,65,43,0.6); } 100% { box-shadow: 0 0 0 8px rgba(232,65,43,0); } }
|
|
|
|
table.lb { width: 100%; border-collapse: collapse; border: 1px solid var(--ink); }
|
|
table.lb th, table.lb td { text-align: left; padding: 0 10px; height: 28px; font-family: var(--font-mono); font-size: 12px; border-bottom: 1px solid var(--hairline); }
|
|
table.lb th { background: var(--paper-2); font-weight: 600; font-size: 10px; letter-spacing: 0.10em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid var(--ink); }
|
|
table.lb tr:hover td { background: var(--paper-2); }
|
|
table.lb td.num { text-align: right; font-variant-numeric: tabular-nums; }
|
|
table.lb td.name { font-family: var(--font-display); font-weight: 500; font-size: 13px; }
|
|
.gain { color: var(--green); }
|
|
.loss { color: var(--flag); }
|
|
|
|
.card { border: 1px solid var(--ink); background: var(--paper); }
|
|
.card-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--ink); background: var(--paper-2); }
|
|
.card-head h3 { font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin: 0; }
|
|
.card-body { padding: 14px; }
|
|
.kpi { padding: 14px; }
|
|
.kpi .lbl { font-family: var(--font-display); font-size: 10px; font-weight: 600; letter-spacing: 0.10em; text-transform: uppercase; color: var(--ink-3); }
|
|
.kpi .val { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 32px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; margin-top: 8px; }
|
|
.kpi .delta { font-family: var(--font-mono); font-size: 11px; margin-top: 6px; }
|