/* * Design tokens. Dark is the default because archied is a daemon you check at * odd hours; light is a toggle, not an afterthought, so both themes define the * same variable set and nothing else in the app references a raw colour. * * Semantic names only. Never `--blue`; always `--accent` or `--status-running`, * so a palette change is one file rather than a grep. */ :root { /* Type */ --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif; --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace; --text-xs: 0.6875rem; --text-sm: 0.8125rem; --text-base: 0.875rem; --text-lg: 1.0625rem; --text-xl: 1.375rem; --text-2xl: 1.875rem; --text-3xl: 2.5rem; /* Spacing: a 4px scale. Layout uses these, never magic pixels. */ --sp-1: 0.25rem; --sp-2: 0.5rem; --sp-3: 0.75rem; --sp-4: 1rem; --sp-5: 1.5rem; --sp-6: 2rem; --sp-7: 3rem; --radius-sm: 6px; --radius-md: 10px; --radius-lg: 14px; --radius-xl: 20px; --radius-pill: 999px; --transition: 140ms cubic-bezier(0.4, 0, 0.2, 1); } /* ── Dark (default) ─────────────────────────────────────────────────────── */ [data-theme="dark"] { --bg: #0d1014; --bg-raised: #141920; --surface: #171d25; --surface-hover: #1d242e; --border: #232b36; --border-strong: #303a48; --fg: #e8edf4; --fg-muted: #8b97a8; --fg-subtle: #5d6878; --accent: #4c8dff; --accent-fg: #ffffff; --accent-soft: rgba(76, 141, 255, 0.14); /* Status. Used for task state, gate results and trend direction alike, so the same colour always means the same thing wherever it appears. */ --ok: #3fbf7f; --ok-soft: rgba(63, 191, 127, 0.14); --warn: #e8a33d; --warn-soft: rgba(232, 163, 61, 0.14); --danger: #f0616d; --danger-soft: rgba(240, 97, 109, 0.14); --info: #4c8dff; --info-soft: rgba(76, 141, 255, 0.14); --idle: #6b7688; --idle-soft: rgba(107, 118, 136, 0.14); --accent-2: #7b5cff; --bg-blur: rgba(20, 25, 32, 0.55); /* Panels are translucent so the canvas wash shows through and the whole workspace reads as one lit surface rather than opaque cards on a picture. */ --surface-glass: rgba(23, 29, 37, 0.62); --surface-glass-strong: rgba(20, 25, 32, 0.78); --workspace: rgba(17, 21, 27, 0.55); --hairline: rgba(255, 255, 255, 0.06); --wash-a: rgba(76, 141, 255, 0.10); --wash-b: rgba(123, 92, 255, 0.12); --wash-c: rgba(63, 191, 127, 0.06); --shadow-workspace: 0 24px 70px rgba(0, 0, 0, 0.5); --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4); --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.42); } /* ── Light ──────────────────────────────────────────────────────────────── */ [data-theme="light"] { --bg: #f6f8fb; --bg-raised: #ffffff; --surface: #ffffff; --surface-hover: #f1f4f9; --border: #e2e8f0; --border-strong: #cbd5e1; --fg: #16202e; --fg-muted: #5a6779; --fg-subtle: #8c99ab; --accent: #2563eb; --accent-fg: #ffffff; --accent-soft: rgba(37, 99, 235, 0.1); --ok: #10935c; --ok-soft: rgba(16, 147, 92, 0.12); --warn: #b87514; --warn-soft: rgba(184, 117, 20, 0.12); --danger: #d4344a; --danger-soft: rgba(212, 52, 74, 0.12); --info: #2563eb; --info-soft: rgba(37, 99, 235, 0.1); --idle: #64748b; --idle-soft: rgba(100, 116, 139, 0.12); --accent-2: #7c3aed; --bg-blur: rgba(255, 255, 255, 0.6); --surface-glass: rgba(255, 255, 255, 0.72); --surface-glass-strong: rgba(255, 255, 255, 0.88); --workspace: rgba(255, 255, 255, 0.55); --hairline: rgba(15, 23, 42, 0.06); --wash-a: rgba(37, 99, 235, 0.10); --wash-b: rgba(124, 58, 237, 0.12); --wash-c: rgba(16, 147, 92, 0.07); --shadow-workspace: 0 24px 70px rgba(15, 23, 42, 0.14); --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06); --shadow-md: 0 8px 28px rgba(15, 23, 42, 0.10); }