Minimal · AI
Signal AI design system template
Clean AI chat product on a quiet white canvas with Geist type and exactly one signal-orange for the assistant's live state. Built for copilots, assistants and agent consoles.
- WCAG AA verified
- Light + dark
- Tokens = preview
- Geist
Yes, sudden pipe failure is covered under section 4.2, up to 25,000 EUR, with a 500 EUR excess. Gradual leaks are excluded under 4.5.
I drafted a letter citing exclusion 4.5 and the inspection photo from 12 May. I flagged it for senior review because the photo evidence is ambiguous.
Ask your claims backlog anything
Personality. Signal AI treats the conversation as the interface. The canvas is a cool near-white, text is a soft ink, and bubbles are almost invisible: the user's messages sit in a pale gray block, the assistant's reply has no container at all. The only saturated color is signal orange, reserved for things that are alive: the streaming caret, the thinking indicator, the stop button and the focused composer. When orange appears, something is happening; when it does not, the system is idle.
Orange means live: streaming caret, thinking dots, stop button and composer focus ring are the only orange elements
Assistant messages are uncontained prose; user messages sit in a muted rounded block
Composer as a floating 16px-radius card with an inset 1px highlight and a single send button
Tool calls shown as collapsed mono rows with a status dot, expandable inline
Geist Mono for model names, token counts and latency so metadata reads as instrument data
Color. 21 roles, both modes.
background
#f9fafb
foreground
#14161a
card
#ffffff
cardForeground
#14161a
muted
#eff1f4
mutedForeground
#5b616b
primary
#14161a
primaryForeground
#f9fafb
secondary
#e9ecf0
secondaryForeground
#14161a
accent
#ffeadb
accentForeground
#8a3200
border
rgba(20,22,26,0.09)
input
rgba(20,22,26,0.16)
ring
#e8590c
destructive
#c9302c
destructiveForeground
#ffffff
success
#17794a
successForeground
#ffffff
warning
#e8590c
warningForeground
#1a0a00
Type. Geist · Geist · Geist Mono
The file. Drop it in your repo.
1---2name: "Signal AI"3slug: "signal-ai"4schema: "freedesignmd/v2"5description: "Clean AI chat product on a quiet white canvas with Geist type and exactly one signal-orange for the assistant's live state. Built for copilots, assistants and agent consoles."6source: "https://freedesignmd.com/system/signal-ai"7aesthetic: "minimal"8industry: "ai"9default_mode: "light"10fonts:11 display: "Geist"12 body: "Geist"13 mono: "Geist Mono"14 google_fonts_url: "https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600&family=Geist+Mono:wght@400;500&display=swap"15colors:16 light:17 background: "#f9fafb"18 foreground: "#14161a"19 card: "#ffffff"20 cardForeground: "#14161a"21 muted: "#eff1f4"22 mutedForeground: "#5b616b"23 primary: "#14161a"24 primaryForeground: "#f9fafb"25 secondary: "#e9ecf0"26 secondaryForeground: "#14161a"27 accent: "#ffeadb"28 accentForeground: "#8a3200"29 border: "rgba(20,22,26,0.09)"30 input: "rgba(20,22,26,0.16)"31 ring: "#e8590c"32 destructive: "#c9302c"33 destructiveForeground: "#ffffff"34 success: "#17794a"35 successForeground: "#ffffff"36 warning: "#e8590c"37 warningForeground: "#1a0a00"38 dark:39 background: "#0e0f12"40 foreground: "#ececef"41 card: "#16181c"42 cardForeground: "#ececef"43 muted: "#1c1e23"44 mutedForeground: "#9298a3"45 primary: "#ececef"46 primaryForeground: "#0e0f12"47 secondary: "#23262b"48 secondaryForeground: "#ececef"49 accent: "#33200f"50 accentForeground: "#ffc9a0"51 border: "rgba(255,255,255,0.08)"52 input: "rgba(255,255,255,0.15)"53 ring: "#ff7a2e"54 destructive: "#ff6b66"55 destructiveForeground: "#1e0302"56 success: "#4cc38a"57 successForeground: "#04170d"58 warning: "#ff7a2e"59 warningForeground: "#1a0a00"60chart:61 light: ["#e8590c", "#14161a", "#6b7380", "#17794a", "#3b6fd8"]62 dark: ["#ff7a2e", "#ececef", "#8a919d", "#4cc38a", "#7a9cf0"]63type:64 display: { font: display, size: 60, size_mobile: 34, leading: 1.05, weight: 600, tracking: "-0.045em" }65 h1: { font: display, size: 36, size_mobile: 24, leading: 1.12, weight: 600, tracking: "-0.035em" }66 h2: { font: display, size: 22, size_mobile: 18, leading: 1.25, weight: 600, tracking: "-0.02em" }67 h3: { font: display, size: 16, size_mobile: 16, leading: 1.4, weight: 500, tracking: "-0.01em" }68 body: { font: body, size: 15, size_mobile: 15, leading: 1.65, weight: 400, tracking: "-0.006em" }69 small: { font: body, size: 13, size_mobile: 13, leading: 1.5, weight: 400, tracking: "0em" }70 label: { font: body, size: 12, size_mobile: 12, leading: 1.3, weight: 500, tracking: "0.01em" }71 mono: { font: mono, size: 12, size_mobile: 12, leading: 1.55, weight: 400, tracking: "0em" }72spacing: [4, 8, 12, 16, 20, 24, 32, 48, 64, 96]73radius: { sm: "6px", md: "10px", lg: "16px", xl: "22px", full: "9999px" }74shadow:75 light:76 sm: "0 1px 2px rgba(20,22,26,0.05), inset 0 1px 0 rgba(255,255,255,0.8)"77 md: "0 8px 24px -8px rgba(20,22,26,0.14), 0 1px 2px rgba(20,22,26,0.06)"78 lg: "0 32px 80px -20px rgba(20,22,26,0.3), 0 0 0 1px rgba(20,22,26,0.06)"79 dark:80 sm: "0 0 0 1px rgba(255,255,255,0.06)"81 md: "0 0 0 1px rgba(255,255,255,0.08), 0 12px 32px -12px rgba(0,0,0,0.6)"82 lg: "0 0 0 1px rgba(255,255,255,0.1), 0 40px 90px -20px rgba(0,0,0,0.8)"83motion:84 duration_ms: { instant: 90, fast: 140, base: 220, slow: 480 }85 easing: { standard: "cubic-bezier(0.32, 0.72, 0, 1)", out: "cubic-bezier(0.16, 1, 0.3, 1)", in: "cubic-bezier(0.5, 0, 0.75, 0)" }86 reveal: { distance_px: 10, stagger_ms: 50 }87layout: { max_width: 1080, columns: 12, gutter: 24, section_y: 88, section_y_mobile: 52, measure: "68ch" }88extras:89 signal: { light: "#e8590c", dark: "#ff7a2e" }90---91 92# Signal AI, DESIGN.md93 94> Clean AI chat product on a quiet white canvas with Geist type and exactly one signal-orange for the assistant's live state. Built for copilots, assistants and agent consoles.95 96## How to use this file97 981. Save this file as `DESIGN.md` in the project root and paste the `tokens.css` block (section 10) into your global stylesheet, or import `https://freedesignmd.com/system/signal-ai.css`, which also contains every component class.992. **Claude Code:** add `Before any UI work, read @DESIGN.md and use only its tokens and component recipes.` to `CLAUDE.md`.1003. **Cursor:** create `.cursor/rules/design.mdc` with `alwaysApply: true` and the line `Follow @DESIGN.md for every color, font, radius, shadow, spacing and duration.`1014. **Lovable:** paste section 10 into `src/index.css` and add this file to Project Knowledge; ask for changes by role name (`primary`, `muted-foreground`), never by hex.1025. Default mode is **light**: dark mode is `class="dark"` on `<html>` (both modes are fully specified). Use semantic names only (`bg-primary`, `text-muted-foreground`, `.btn-primary`, `var(--radius-lg)`); if a value is not in this file, it does not belong in the UI.103 104## 1. Overview & personality105 106Signal AI treats the conversation as the interface. The canvas is a cool near-white, text is a soft ink, and bubbles are almost invisible: the user's messages sit in a pale gray block, the assistant's reply has no container at all. The only saturated color is signal orange, reserved for things that are alive: the streaming caret, the thinking indicator, the stop button and the focused composer. When orange appears, something is happening; when it does not, the system is idle.107 108**At a glance**109 110- Aesthetic: Minimal · Industry: AI · Default mode: light111- Type: Geist (display) · Geist (body) · Geist Mono (mono)112- Brand color (`primary`): `#14161a` light · `#ececef` dark, on primary, text is `#f9fafb` / `#0e0f12`113- Corners: 6px / 10px / 16px / 22px · Container 1080px · Base motion 220ms114 115**Signature moves**116 117- Orange means live: streaming caret, thinking dots, stop button and composer focus ring are the only orange elements118- Assistant messages are uncontained prose; user messages sit in a `muted` rounded block119- Composer as a floating 16px-radius card with an inset 1px highlight and a single send button120- Tool calls shown as collapsed mono rows with a status dot, expandable inline121- Geist Mono for model names, token counts and latency so metadata reads as instrument data122 123## 2. Color124 125Roles follow shadcn/ui naming, so `primary` is always the brand / main-action color and `foreground` is always body text. Every text pair below is WCAG AA (≥ 4.5:1) in both modes.126 127### Light mode (`:root`)128 129| Role | CSS variable | Value | Contrast | Usage |130|---|---|---|---|---|131| `background` | `--background` | `#f9fafb` | | Page canvas |132| `foreground` | `--foreground` | `#14161a` | 17.33:1 on background | Body text and headings on background |133| `card` | `--card` | `#ffffff` | | Cards, panels, popovers |134| `cardForeground` | `--card-foreground` | `#14161a` | 18.11:1 on card | Text on card |135| `muted` | `--muted` | `#eff1f4` | | Subtle fills: table headers, code, skeletons |136| `mutedForeground` | `--muted-foreground` | `#5b616b` | 5.51:1 on muted | Secondary text, captions, placeholders |137| `primary` | `--primary` | `#14161a` | | Brand color: primary buttons, links, focus, active states |138| `primaryForeground` | `--primary-foreground` | `#f9fafb` | 17.33:1 on primary | Text and icons on primary |139| `secondary` | `--secondary` | `#e9ecf0` | | Secondary buttons and quiet fills |140| `secondaryForeground` | `--secondary-foreground` | `#14161a` | 15.28:1 on secondary | Text on secondary |141| `accent` | `--accent` | `#ffeadb` | | Hover and selected backgrounds (rows, menu items, ghost buttons) |142| `accentForeground` | `--accent-foreground` | `#8a3200` | 7.11:1 on accent | Text on accent |143| `border` | `--border` | `rgba(20,22,26,0.09)` | | Dividers and card outlines |144| `input` | `--input` | `rgba(20,22,26,0.16)` | | Input borders |145| `ring` | `--ring` | `#e8590c` | | Focus ring |146| `destructive` | `--destructive` | `#c9302c` | | Errors and destructive actions |147| `destructiveForeground` | `--destructive-foreground` | `#ffffff` | 5.33:1 on destructive | Text on destructive |148| `success` | `--success` | `#17794a` | | Positive status |149| `successForeground` | `--success-foreground` | `#ffffff` | 5.43:1 on success | Text on success |150| `warning` | `--warning` | `#e8590c` | | Caution status |151| `warningForeground` | `--warning-foreground` | `#1a0a00` | 5.39:1 on warning | Text on warning |152| `chart-1…5` | `--chart-1…5` | `#e8590c` `#14161a` `#6b7380` `#17794a` `#3b6fd8` | | Data series, in this order |153 154### Dark mode (`.dark`)155 156| Role | CSS variable | Value | Contrast | Usage |157|---|---|---|---|---|158| `background` | `--background` | `#0e0f12` | | Page canvas |159| `foreground` | `--foreground` | `#ececef` | 16.25:1 on background | Body text and headings on background |160| `card` | `--card` | `#16181c` | | Cards, panels, popovers |161| `cardForeground` | `--card-foreground` | `#ececef` | 15.07:1 on card | Text on card |162| `muted` | `--muted` | `#1c1e23` | | Subtle fills: table headers, code, skeletons |163| `mutedForeground` | `--muted-foreground` | `#9298a3` | 5.75:1 on muted | Secondary text, captions, placeholders |164| `primary` | `--primary` | `#ececef` | | Brand color: primary buttons, links, focus, active states |165| `primaryForeground` | `--primary-foreground` | `#0e0f12` | 16.25:1 on primary | Text and icons on primary |166| `secondary` | `--secondary` | `#23262b` | | Secondary buttons and quiet fills |167| `secondaryForeground` | `--secondary-foreground` | `#ececef` | 12.87:1 on secondary | Text on secondary |168| `accent` | `--accent` | `#33200f` | | Hover and selected backgrounds (rows, menu items, ghost buttons) |169| `accentForeground` | `--accent-foreground` | `#ffc9a0` | 10.42:1 on accent | Text on accent |170| `border` | `--border` | `rgba(255,255,255,0.08)` | | Dividers and card outlines |171| `input` | `--input` | `rgba(255,255,255,0.15)` | | Input borders |172| `ring` | `--ring` | `#ff7a2e` | | Focus ring |173| `destructive` | `--destructive` | `#ff6b66` | | Errors and destructive actions |174| `destructiveForeground` | `--destructive-foreground` | `#1e0302` | 7.06:1 on destructive | Text on destructive |175| `success` | `--success` | `#4cc38a` | | Positive status |176| `successForeground` | `--success-foreground` | `#04170d` | 8.36:1 on success | Text on success |177| `warning` | `--warning` | `#ff7a2e` | | Caution status |178| `warningForeground` | `--warning-foreground` | `#1a0a00` | 7.43:1 on warning | Text on warning |179| `chart-1…5` | `--chart-1…5` | `#ff7a2e` `#ececef` `#8a919d` `#4cc38a` `#7a9cf0` | | Data series, in this order |180 181### System extras182 183| Variable | Light | Dark | Usage |184|---|---|---|---|185| `--signal` | `#e8590c` | `#ff7a2e` | The live-state color: streaming caret, thinking dots, stop button and composer focus. Never decorative. |186 187## 3. Typography188 189Load fonts with:190 191```html192<link rel="preconnect" href="https://fonts.googleapis.com" />193<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />194<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600&family=Geist+Mono:wght@400;500&display=swap" />195```196 197| Role | Font | Size (390px → 1440px) | Line height | Weight | Tracking | Style | Class |198|---|---|---|---|---|---|---|---|199| `display` | Geist | 34px → 60px | 1.05 | 600 | -0.045em | – | `.type-display` |200| `h1` | Geist | 24px → 36px | 1.12 | 600 | -0.035em | – | `.type-h1` |201| `h2` | Geist | 18px → 22px | 1.25 | 600 | -0.02em | – | `.type-h2` |202| `h3` | Geist | 16px | 1.4 | 500 | -0.01em | – | `.type-h3` |203| `body` | Geist | 15px | 1.65 | 400 | -0.006em | – | `.type-body` |204| `small` | Geist | 13px | 1.5 | 400 | 0em | – | `.type-small` |205| `label` | Geist | 12px | 1.3 | 500 | 0.01em | – | `.type-label` |206| `mono` | Geist Mono | 12px | 1.55 | 400 | 0em | – | `.type-mono` |207 208- `h1`–`h3` elements map to the roles of the same name; `display` is for one hero headline per page.209- Fluid sizes use `clamp()` between the two values (see `--type-*-size` in tokens.css).210- Only the weights in this table are loaded; never use other weights.211 212## 4. Spacing & layout213 214Spacing is a 4px scale. Use these steps only (`--space-N` = N × 4px):215 216| Token | `--space-1` | `--space-2` | `--space-3` | `--space-4` | `--space-5` | `--space-6` | `--space-8` | `--space-12` | `--space-16` | `--space-24` |217|---|---|---|---|---|---|---|---|---|---|---|218| px | 4 | 8 | 12 | 16 | 20 | 24 | 32 | 48 | 64 | 96 |219 220- Container: max 1080px, 24px side gutters (`.container`).221- Grid: 12 columns, 24px gap.222- Sections: 88px vertical padding on desktop, 52px on mobile (`.section`).223- Long text: max 68ch per line (`.prose`).224- Chat shell: 260px conversation list, a centered 720px thread and a composer pinned 24px from the bottom.225- Marketing pages use a 1080px container with a single centered product frame.226- Message spacing is 24px between turns and 8px between blocks within a turn.227 228## 5. Shape & elevation229 230| Radius | Value | Use |231|---|---|---|232| `--radius-sm` | 6px | badges, checkboxes, small chips |233| `--radius-md` | 10px | buttons, inputs, tabs (= shadcn `--radius`) |234| `--radius-lg` | 16px | cards, panels, menus |235| `--radius-xl` | 22px | dialogs, hero media, large surfaces |236| `--radius-full` | 9999px | avatars, pills, toggles |237 238| Shadow | Mode | Value |239|---|---|---|240| `--shadow-sm` | light | `0 1px 2px rgba(20,22,26,0.05), inset 0 1px 0 rgba(255,255,255,0.8)` |241| `--shadow-md` | light | `0 8px 24px -8px rgba(20,22,26,0.14), 0 1px 2px rgba(20,22,26,0.06)` |242| `--shadow-lg` | light | `0 32px 80px -20px rgba(20,22,26,0.3), 0 0 0 1px rgba(20,22,26,0.06)` |243| `--shadow-sm` | dark | `0 0 0 1px rgba(255,255,255,0.06)` |244| `--shadow-md` | dark | `0 0 0 1px rgba(255,255,255,0.08), 0 12px 32px -12px rgba(0,0,0,0.6)` |245| `--shadow-lg` | dark | `0 0 0 1px rgba(255,255,255,0.1), 0 40px 90px -20px rgba(0,0,0,0.8)` |246 247`sm` = resting card · `md` = hover / raised · `lg` = dialogs and popovers. Nothing else casts a shadow.248 249## 6. Motion250 251**Token stream.** Replies appear as a stream: each new line fades in with a tiny rise while an orange caret trails the last character. The thinking indicator is three dots that pulse in sequence. When streaming ends the caret fades out and the interface settles into stillness.252 253| Token | Value | Use |254|---|---|---|255| `--duration-instant` | 90ms | press feedback, toggles |256| `--duration-fast` | 140ms | hover, focus, color changes |257| `--duration-base` | 220ms | menus, tabs, popovers, cards lifting |258| `--duration-slow` | 480ms | dialogs and scroll reveals |259| `--ease-standard` | `cubic-bezier(0.32, 0.72, 0, 1)` | state changes |260| `--ease-out` | `cubic-bezier(0.16, 1, 0.3, 1)` | entrances and reveals |261| `--ease-in` | `cubic-bezier(0.5, 0, 0.75, 0)` | exits |262 263- Scroll reveal (`.reveal` → `.reveal.is-in` via IntersectionObserver): rise 10px and fade over `--duration-slow` with `--ease-out`; siblings stagger by 50ms (`--reveal-index`).264- Use no durations other than the four above.265- `prefers-reduced-motion: reduce` → no transforms, reveals show immediately (included in tokens.css).266 267## 7. Components268 269Every component reads only variables from section 10, so light and dark mode work with no extra code. These are the exact rules (also in `https://freedesignmd.com/system/signal-ai.css`). In React/shadcn projects, put the same declarations on the matching shadcn component variants.270 271### Button272 273```html274<button class="btn btn-primary">Save</button> <!-- btn-secondary · btn-outline · btn-ghost -->275```276 277```css278.btn {279 display: inline-flex;280 align-items: center;281 justify-content: center;282 gap: 8px;283 height: 36px;284 padding: 0 16px;285 font-family: var(--font-sans);286 font-size: 14px;287 font-weight: 500;288 letter-spacing: -0.006em;289 border-radius: var(--radius-full);290 border: 1px solid transparent;291 white-space: nowrap;292 cursor: pointer;293 text-decoration: none;294 transition: background-color var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard);295}296.btn-primary {297 background: var(--primary);298 color: var(--primary-foreground);299 box-shadow: inset 0 1px 0 rgba(255,255,255,0.14);300}301.btn-primary:hover:not(:disabled) {302 background: color-mix(in oklab, var(--primary) 86%, var(--background));303}304.btn-primary:active:not(:disabled) {305 transform: scale(0.98);306}307.btn-secondary {308 background: var(--secondary);309 color: var(--secondary-foreground);310}311.btn-secondary:hover:not(:disabled) {312 background: color-mix(in oklab, var(--secondary) 80%, var(--foreground));313}314.btn-secondary:active:not(:disabled) {315 background: var(--muted);316 transform: scale(0.98);317}318.btn-outline {319 background: transparent;320 color: var(--foreground);321 border-color: var(--input);322}323.btn-outline:hover:not(:disabled) {324 background: var(--muted);325}326.btn-outline:active:not(:disabled) {327 background: var(--secondary);328}329.btn-ghost {330 background: transparent;331 color: var(--muted-foreground);332}333.btn-ghost:hover:not(:disabled) {334 background: var(--muted);335 color: var(--foreground);336}337.btn-ghost:active:not(:disabled) {338 background: var(--secondary);339}340.btn:focus-visible {341 outline: 2px solid var(--ring);342 outline-offset: 2px;343}344.btn:disabled, .btn[aria-disabled="true"] {345 opacity: 0.4;346 cursor: not-allowed;347}348```349 350### Input351 352```html353<input class="input" placeholder="you@company.com" /> <!-- aria-invalid="true" for errors -->354```355 356```css357.input {358 display: block;359 width: 100%;360 height: 40px;361 padding: 0 14px;362 font-family: var(--font-sans);363 font-size: 15px;364 color: var(--foreground);365 background: var(--card);366 border: 1px solid var(--input);367 border-radius: var(--radius-lg);368 outline: none;369 transition: border-color var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard), background-color var(--duration-fast) var(--ease-standard);370}371.input::placeholder {372 color: var(--muted-foreground);373 opacity: 1;374}375.input:hover:not(:disabled):not(:focus) {376 border-color: var(--muted-foreground);377}378.input:focus, .input:focus-visible {379 border-color: var(--ring);380 box-shadow: 0 0 0 4px color-mix(in oklab, var(--ring) 18%, transparent);381}382.input[aria-invalid="true"] {383 border-color: var(--destructive);384 box-shadow: 0 0 0 3px color-mix(in oklab, var(--destructive) 22%, transparent);385}386.input:disabled {387 opacity: 0.5;388 cursor: not-allowed;389 background: var(--muted);390}391```392 393### Card394 395```html396<article class="card">…</article> <!-- add card-interactive when the whole card is a link -->397```398 399```css400.card {401 background: var(--card);402 color: var(--card-foreground);403 border: 1px solid var(--border);404 border-radius: var(--radius-lg);405 box-shadow: var(--shadow-sm);406 padding: 20px;407 transition: border-color var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out), background-color var(--duration-base) var(--ease-out);408}409.card-interactive:hover {410 box-shadow: var(--shadow-md);411 transform: translateY(-1px);412}413```414 415### Badge416 417```html418<span class="badge badge-soft" data-tone="success">Paid</span> <!-- badge-solid · badge-outline; tones: primary (default) · success · warning · destructive -->419```420 421```css422.badge {423 --tone: var(--primary);424 --tone-foreground: var(--primary-foreground);425 display: inline-flex;426 align-items: center;427 gap: 6px;428 height: 22px;429 padding: 0 9px;430 border-radius: var(--radius-full);431 font-family: var(--font-sans);432 font-size: 12px;433 font-weight: 500;434 letter-spacing: 0em;435 line-height: 1;436 white-space: nowrap;437}438.badge[data-tone="success"] {439 --tone: var(--success);440 --tone-foreground: var(--success-foreground);441}442.badge[data-tone="warning"] {443 --tone: var(--warning);444 --tone-foreground: var(--warning-foreground);445}446.badge[data-tone="destructive"] {447 --tone: var(--destructive);448 --tone-foreground: var(--destructive-foreground);449}450.badge-solid {451 background: var(--tone);452 color: var(--tone-foreground);453 border: 1px solid var(--tone);454}455.badge-soft {456 background: color-mix(in oklab, var(--tone) 12%, var(--card));457 color: var(--foreground);458 border: 1px solid color-mix(in oklab, var(--tone) 28%, transparent);459}460.badge-outline {461 background: transparent;462 color: var(--foreground);463 border: 1px solid var(--border);464}465```466 467### Navigation bar468 469```html470<nav class="nav"><a class="nav-link" aria-current="page">Home</a><a class="nav-link">Docs</a></nav>471```472 473```css474.nav {475 display: flex;476 align-items: center;477 gap: 4px;478 height: 56px;479 padding: 0 24px;480 background: color-mix(in oklab, var(--background) 80%, transparent);481 backdrop-filter: blur(14px) saturate(160%);482 -webkit-backdrop-filter: blur(14px) saturate(160%);483 border-bottom: 1px solid var(--border);484}485.nav-link {486 padding: 6px 12px;487 border-radius: var(--radius-full);488 font-family: var(--font-sans);489 font-size: 14px;490 font-weight: 500;491 letter-spacing: -0.006em;492 color: var(--muted-foreground);493 text-decoration: none;494 transition: color var(--duration-fast) var(--ease-standard), background-color var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard);495}496.nav-link:hover {497 color: var(--foreground);498 background: var(--muted);499}500.nav-link[aria-current="page"] {501 color: var(--primary-foreground);502 background: var(--primary);503}504```505 506### Tabs507 508```html509<div class="tabs" role="tablist"><button class="tab" role="tab" aria-selected="true">Overview</button>…</div>510```511 512```css513.tabs {514 display: inline-flex;515 gap: 4px;516 padding: 4px;517 background: var(--muted);518 border-radius: var(--radius-full);519}520.tab {521 height: 32px;522 padding: 0 16px;523 border: 0;524 border-radius: var(--radius-full);525 background: transparent;526 color: var(--muted-foreground);527 cursor: pointer;528 font-family: var(--font-sans);529 font-size: 13px;530 font-weight: 500;531 letter-spacing: 0em;532 transition: color var(--duration-base) var(--ease-standard), background-color var(--duration-base) var(--ease-standard), border-color var(--duration-base) var(--ease-standard), box-shadow var(--duration-base) var(--ease-standard);533}534.tab:hover:not([aria-selected="true"]) {535 color: var(--foreground);536}537.tab[aria-selected="true"] {538 background: var(--card);539 color: var(--foreground);540 box-shadow: var(--shadow-sm);541}542```543 544### Table545 546```html547<table class="table"><thead><tr><th>…</th></tr></thead><tbody><tr><td>…</td></tr></tbody></table>548```549 550```css551.table {552 width: 100%;553 border-collapse: collapse;554 font-size: 14px;555 font-variant-numeric: tabular-nums;556}557.table th {558 text-align: left;559 height: 40px;560 padding: 0 16px;561 font-family: var(--font-sans);562 font-size: 13px;563 font-weight: 500;564 background: var(--muted);565 color: var(--muted-foreground);566 border-bottom: 1px solid var(--border);567}568.table td {569 height: 44px;570 padding: 0 16px;571 border-bottom: 1px solid var(--border);572 color: var(--foreground);573 transition: background-color var(--duration-fast) var(--ease-standard);574}575.table tbody tr:hover td {576 background: var(--accent);577 color: var(--accent-foreground);578}579```580 581### Dialog / modal582 583```html584<div class="dialog-overlay"><div class="dialog" role="dialog" aria-modal="true">…</div></div>585```586 587```css588.dialog-overlay {589 position: fixed;590 inset: 0;591 background: rgba(14,15,18,0.45);592 backdrop-filter: blur(6px);593 -webkit-backdrop-filter: blur(6px);594 display: grid;595 place-items: center;596 padding: 24px;597}598.dialog {599 width: min(520px, 100%);600 background: var(--card);601 color: var(--card-foreground);602 border: 1px solid var(--border);603 border-radius: var(--radius-xl);604 box-shadow: var(--shadow-lg);605 padding: 24px;606}607```608 609### Text link610 611```html612<a class="link" href="…">Read more</a>613```614 615```css616.link {617 color: var(--foreground);618 text-decoration: underline;619 text-decoration-color: var(--input);620 text-decoration-thickness: 1px;621 text-underline-offset: 3px;622 transition: color var(--duration-fast) var(--ease-standard), text-decoration-color var(--duration-fast) var(--ease-standard);623}624.link:hover {625 text-decoration-color: var(--ring);626}627```628 629## 8. Imagery & iconography630 631**Imagery.** The product thread is the imagery: real conversations with tool-call rows, citations and a floating composer, framed in a single 16px-radius card with a soft shadow. No robots, no glowing brains, no abstract orbs.632 633**Icons.** 16px rounded line icons at 1.5px stroke (Lucide) in `muted-foreground`. The send arrow and stop square are the only filled glyphs, and they are the only icons allowed in the signal color.634 635## 9. Do / Don't636 637**Do**638 639- Reserve `--signal` for live state: streaming, thinking, stop and composer focus640- Render assistant replies as plain prose without a bubble641- Show model name and latency in Geist Mono at 12px beneath each turn642- Collapse tool calls to a single row by default and let the user expand them643- Keep the thread column at 720px or narrower644 645**Don't**646 647- Don't use orange for buttons, links or badges outside of live state648- Don't use gradients, sparkles or glow to signal that something is AI649- Don't put assistant text in a colored bubble650- Don't animate anything that is not changing state651- Don't use more than one filled button per view652 653## 10. tokens.css654 655Drop-in, shadcn/ui-compatible. Works with Tailwind v4 as-is (the `@theme inline` block creates `bg-primary`, `text-muted-foreground`, `font-heading`, `text-display`, `rounded-ui-lg`, `shadow-ui-md`…). Plain CSS projects can ignore the `@theme` block.656 657```css658/* Signal AI, tokens.css659 * https://freedesignmd.com/system/signal-ai660 * shadcn/ui-compatible variables. Light on :root, dark on .dark.661 * Default mode: light.662 */663@import url("https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600&family=Geist+Mono:wght@400;500&display=swap");664 665:root {666 --font-display: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;667 --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;668 --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;669 --type-display-size: clamp(34px, 24.34px + 2.476vw, 60px);670 --type-display-leading: 1.05;671 --type-display-weight: 600;672 --type-display-tracking: -0.045em;673 --type-h1-size: clamp(24px, 19.54px + 1.143vw, 36px);674 --type-h1-leading: 1.12;675 --type-h1-weight: 600;676 --type-h1-tracking: -0.035em;677 --type-h2-size: clamp(18px, 16.51px + 0.381vw, 22px);678 --type-h2-leading: 1.25;679 --type-h2-weight: 600;680 --type-h2-tracking: -0.02em;681 --type-h3-size: 16px;682 --type-h3-leading: 1.4;683 --type-h3-weight: 500;684 --type-h3-tracking: -0.01em;685 --type-body-size: 15px;686 --type-body-leading: 1.65;687 --type-body-weight: 400;688 --type-body-tracking: -0.006em;689 --type-small-size: 13px;690 --type-small-leading: 1.5;691 --type-small-weight: 400;692 --type-small-tracking: 0em;693 --type-label-size: 12px;694 --type-label-leading: 1.3;695 --type-label-weight: 500;696 --type-label-tracking: 0.01em;697 --type-mono-size: 12px;698 --type-mono-leading: 1.55;699 --type-mono-weight: 400;700 --type-mono-tracking: 0em;701 --space-1: 4px;702 --space-2: 8px;703 --space-3: 12px;704 --space-4: 16px;705 --space-5: 20px;706 --space-6: 24px;707 --space-8: 32px;708 --space-12: 48px;709 --space-16: 64px;710 --space-24: 96px;711 --radius: 10px;712 --radius-sm: 6px;713 --radius-md: 10px;714 --radius-lg: 16px;715 --radius-xl: 22px;716 --radius-full: 9999px;717 --duration-instant: 90ms;718 --duration-fast: 140ms;719 --duration-base: 220ms;720 --duration-slow: 480ms;721 --ease-standard: cubic-bezier(0.32, 0.72, 0, 1);722 --ease-out: cubic-bezier(0.16, 1, 0.3, 1);723 --ease-in: cubic-bezier(0.5, 0, 0.75, 0);724 --reveal-distance: 10px;725 --reveal-stagger: 50ms;726 --container-max: 1080px;727 --gutter: 24px;728 --section-y: 88px;729 --section-y-mobile: 52px;730 --measure: 68ch;731 --background: #f9fafb;732 --foreground: #14161a;733 --card: #ffffff;734 --card-foreground: #14161a;735 --muted: #eff1f4;736 --muted-foreground: #5b616b;737 --primary: #14161a;738 --primary-foreground: #f9fafb;739 --secondary: #e9ecf0;740 --secondary-foreground: #14161a;741 --accent: #ffeadb;742 --accent-foreground: #8a3200;743 --border: rgba(20,22,26,0.09);744 --input: rgba(20,22,26,0.16);745 --ring: #e8590c;746 --destructive: #c9302c;747 --destructive-foreground: #ffffff;748 --success: #17794a;749 --success-foreground: #ffffff;750 --warning: #e8590c;751 --warning-foreground: #1a0a00;752 --chart-1: #e8590c;753 --chart-2: #14161a;754 --chart-3: #6b7380;755 --chart-4: #17794a;756 --chart-5: #3b6fd8;757 --shadow-sm: 0 1px 2px rgba(20,22,26,0.05), inset 0 1px 0 rgba(255,255,255,0.8);758 --shadow-md: 0 8px 24px -8px rgba(20,22,26,0.14), 0 1px 2px rgba(20,22,26,0.06);759 --shadow-lg: 0 32px 80px -20px rgba(20,22,26,0.3), 0 0 0 1px rgba(20,22,26,0.06);760 --signal: #e8590c;761}762 763.dark {764 --background: #0e0f12;765 --foreground: #ececef;766 --card: #16181c;767 --card-foreground: #ececef;768 --muted: #1c1e23;769 --muted-foreground: #9298a3;770 --primary: #ececef;771 --primary-foreground: #0e0f12;772 --secondary: #23262b;773 --secondary-foreground: #ececef;774 --accent: #33200f;775 --accent-foreground: #ffc9a0;776 --border: rgba(255,255,255,0.08);777 --input: rgba(255,255,255,0.15);778 --ring: #ff7a2e;779 --destructive: #ff6b66;780 --destructive-foreground: #1e0302;781 --success: #4cc38a;782 --success-foreground: #04170d;783 --warning: #ff7a2e;784 --warning-foreground: #1a0a00;785 --chart-1: #ff7a2e;786 --chart-2: #ececef;787 --chart-3: #8a919d;788 --chart-4: #4cc38a;789 --chart-5: #7a9cf0;790 --shadow-sm: 0 0 0 1px rgba(255,255,255,0.06);791 --shadow-md: 0 0 0 1px rgba(255,255,255,0.08), 0 12px 32px -12px rgba(0,0,0,0.6);792 --shadow-lg: 0 0 0 1px rgba(255,255,255,0.1), 0 40px 90px -20px rgba(0,0,0,0.8);793 --signal: #ff7a2e;794}795 796/* Tailwind v4: utilities like bg-primary, text-muted-foreground, font-heading, text-display, rounded-ui-lg, shadow-ui-md */797@theme inline {798 --color-background: var(--background);799 --color-foreground: var(--foreground);800 --color-card: var(--card);801 --color-card-foreground: var(--card-foreground);802 --color-muted: var(--muted);803 --color-muted-foreground: var(--muted-foreground);804 --color-primary: var(--primary);805 --color-primary-foreground: var(--primary-foreground);806 --color-secondary: var(--secondary);807 --color-secondary-foreground: var(--secondary-foreground);808 --color-accent: var(--accent);809 --color-accent-foreground: var(--accent-foreground);810 --color-border: var(--border);811 --color-input: var(--input);812 --color-ring: var(--ring);813 --color-destructive: var(--destructive);814 --color-destructive-foreground: var(--destructive-foreground);815 --color-success: var(--success);816 --color-success-foreground: var(--success-foreground);817 --color-warning: var(--warning);818 --color-warning-foreground: var(--warning-foreground);819 --color-chart-1: var(--chart-1);820 --color-chart-2: var(--chart-2);821 --color-chart-3: var(--chart-3);822 --color-chart-4: var(--chart-4);823 --color-chart-5: var(--chart-5);824 --font-heading: var(--font-display);825 --font-body: var(--font-sans);826 --font-code: var(--font-mono);827 --radius-ui-sm: var(--radius-sm);828 --radius-ui-md: var(--radius-md);829 --radius-ui-lg: var(--radius-lg);830 --radius-ui-xl: var(--radius-xl);831 --text-display: var(--type-display-size);832 --text-display--line-height: var(--type-display-leading);833 --text-display--letter-spacing: var(--type-display-tracking);834 --text-display--font-weight: var(--type-display-weight);835 --text-h1: var(--type-h1-size);836 --text-h1--line-height: var(--type-h1-leading);837 --text-h1--letter-spacing: var(--type-h1-tracking);838 --text-h1--font-weight: var(--type-h1-weight);839 --text-h2: var(--type-h2-size);840 --text-h2--line-height: var(--type-h2-leading);841 --text-h2--letter-spacing: var(--type-h2-tracking);842 --text-h2--font-weight: var(--type-h2-weight);843 --text-h3: var(--type-h3-size);844 --text-h3--line-height: var(--type-h3-leading);845 --text-h3--letter-spacing: var(--type-h3-tracking);846 --text-h3--font-weight: var(--type-h3-weight);847 --text-body: var(--type-body-size);848 --text-body--line-height: var(--type-body-leading);849 --text-body--letter-spacing: var(--type-body-tracking);850 --text-body--font-weight: var(--type-body-weight);851 --text-small: var(--type-small-size);852 --text-small--line-height: var(--type-small-leading);853 --text-small--letter-spacing: var(--type-small-tracking);854 --text-small--font-weight: var(--type-small-weight);855 --text-label: var(--type-label-size);856 --text-label--line-height: var(--type-label-leading);857 --text-label--letter-spacing: var(--type-label-tracking);858 --text-label--font-weight: var(--type-label-weight);859 --text-mono: var(--type-mono-size);860 --text-mono--line-height: var(--type-mono-leading);861 --text-mono--letter-spacing: var(--type-mono-tracking);862 --text-mono--font-weight: var(--type-mono-weight);863 --shadow-ui-sm: var(--shadow-sm);864 --shadow-ui-md: var(--shadow-md);865 --shadow-ui-lg: var(--shadow-lg);866}867 868@layer base {869 body {870 background: var(--background);871 color: var(--foreground);872 font-family: var(--font-sans);873 font-size: var(--type-body-size);874 line-height: var(--type-body-leading);875 font-weight: var(--type-body-weight);876 letter-spacing: var(--type-body-tracking);877 -webkit-font-smoothing: antialiased;878 }879 .type-display {880 font-family: var(--font-display);881 font-size: var(--type-display-size);882 line-height: var(--type-display-leading);883 font-weight: var(--type-display-weight);884 letter-spacing: var(--type-display-tracking);885 }886 .type-h1 {887 font-family: var(--font-display);888 font-size: var(--type-h1-size);889 line-height: var(--type-h1-leading);890 font-weight: var(--type-h1-weight);891 letter-spacing: var(--type-h1-tracking);892 }893 .type-h2 {894 font-family: var(--font-display);895 font-size: var(--type-h2-size);896 line-height: var(--type-h2-leading);897 font-weight: var(--type-h2-weight);898 letter-spacing: var(--type-h2-tracking);899 }900 .type-h3 {901 font-family: var(--font-display);902 font-size: var(--type-h3-size);903 line-height: var(--type-h3-leading);904 font-weight: var(--type-h3-weight);905 letter-spacing: var(--type-h3-tracking);906 }907 .type-body {908 font-family: var(--font-sans);909 font-size: var(--type-body-size);910 line-height: var(--type-body-leading);911 font-weight: var(--type-body-weight);912 letter-spacing: var(--type-body-tracking);913 }914 .type-small {915 font-family: var(--font-sans);916 font-size: var(--type-small-size);917 line-height: var(--type-small-leading);918 font-weight: var(--type-small-weight);919 letter-spacing: var(--type-small-tracking);920 }921 .type-label {922 font-family: var(--font-sans);923 font-size: var(--type-label-size);924 line-height: var(--type-label-leading);925 font-weight: var(--type-label-weight);926 letter-spacing: var(--type-label-tracking);927 }928 .type-mono {929 font-family: var(--font-mono);930 font-size: var(--type-mono-size);931 line-height: var(--type-mono-leading);932 font-weight: var(--type-mono-weight);933 letter-spacing: var(--type-mono-tracking);934 }935 h1 {936 font-family: var(--font-display);937 font-size: var(--type-h1-size);938 line-height: var(--type-h1-leading);939 font-weight: var(--type-h1-weight);940 letter-spacing: var(--type-h1-tracking);941 }942 h2 {943 font-family: var(--font-display);944 font-size: var(--type-h2-size);945 line-height: var(--type-h2-leading);946 font-weight: var(--type-h2-weight);947 letter-spacing: var(--type-h2-tracking);948 }949 h3 {950 font-family: var(--font-display);951 font-size: var(--type-h3-size);952 line-height: var(--type-h3-leading);953 font-weight: var(--type-h3-weight);954 letter-spacing: var(--type-h3-tracking);955 }956 code, kbd, samp, pre {957 font-family: var(--font-mono);958 }959 ::selection {960 background: var(--primary);961 color: var(--primary-foreground);962 }963 .container {964 width: 100%;965 max-width: var(--container-max);966 margin-inline: auto;967 padding-inline: var(--gutter);968 }969 .section {970 padding-block: var(--section-y);971 }972 .prose {973 max-width: var(--measure);974 }975 .reveal {976 opacity: 0;977 transform: translateY(var(--reveal-distance));978 transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out);979 transition-delay: calc(var(--reveal-index, 0) * var(--reveal-stagger));980 }981 .reveal.is-in {982 opacity: 1;983 transform: none;984 }985 @media (prefers-reduced-motion: reduce) {986 .reveal { opacity: 1; transform: none; transition: none; }987 *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; animation-iteration-count: 1 !important; }988 }989}990```991 992Tailwind v3:993 994```js995// tailwind.config.js, Tailwind v3 (v4 users: the @theme block in tokens.css does this)996module.exports = {997 darkMode: "class",998 theme: {999 extend: {1000 colors: {1001 "background": "var(--background)",1002 "foreground": "var(--foreground)",1003 "card": { DEFAULT: "var(--card)", foreground: "var(--card-foreground)" },1004 "muted": { DEFAULT: "var(--muted)", foreground: "var(--muted-foreground)" },1005 "primary": { DEFAULT: "var(--primary)", foreground: "var(--primary-foreground)" },1006 "secondary": { DEFAULT: "var(--secondary)", foreground: "var(--secondary-foreground)" },1007 "accent": { DEFAULT: "var(--accent)", foreground: "var(--accent-foreground)" },1008 "border": "var(--border)",1009 "input": "var(--input)",1010 "ring": "var(--ring)",1011 "destructive": { DEFAULT: "var(--destructive)", foreground: "var(--destructive-foreground)" },1012 "success": { DEFAULT: "var(--success)", foreground: "var(--success-foreground)" },1013 "warning": { DEFAULT: "var(--warning)", foreground: "var(--warning-foreground)" },1014 chart: { 1: "var(--chart-1)", 2: "var(--chart-2)", 3: "var(--chart-3)", 4: "var(--chart-4)", 5: "var(--chart-5)" },1015 },1016 fontFamily: { heading: ["var(--font-display)"], body: ["var(--font-sans)"], code: ["var(--font-mono)"] },1017 borderRadius: { "ui-sm": "var(--radius-sm)", "ui-md": "var(--radius-md)", "ui-lg": "var(--radius-lg)", "ui-xl": "var(--radius-xl)" },1018 boxShadow: { "ui-sm": "var(--shadow-sm)", "ui-md": "var(--shadow-md)", "ui-lg": "var(--shadow-lg)" },1019 transitionDuration: { instant: "var(--duration-instant)", fast: "var(--duration-fast)", base: "var(--duration-base)", slow: "var(--duration-slow)" },1020 transitionTimingFunction: { standard: "var(--ease-standard)", out: "var(--ease-out)", in: "var(--ease-in)" },1021 maxWidth: { container: "var(--container-max)", measure: "var(--measure)" },1022 },1023 },1024};1025```1026 1027Dependencies: `lucide-react`Save as DESIGN.md in the repo root and add “Follow DESIGN.md for all UI” to CLAUDE.md, AGENTS.md or your Cursor rules.


