3-rail desktop workbench with zero DOM re-parenting, collapsible rails, dynamic closeable tabs, and WAI-ARIA tablists.
workbench-layout.js
Workbench Gallery →
No Webpack, Vite, or React runtime. serveAgent() and createShellHandler() serve semantic HTML + plain ESM modules
directly into nav, main, and panels slots, restyled at load time from any Markdown design.md file.
packages/substrate/src/theme.ts
Every token below updates the mini 3-rail Substrate workbench instantaneously using the exact palette, border weights, typography, and corner radii returned by parseDesignMd().
ui:// table view cleanly.Swappable shells (ADR 0034), single-file design.md runtime tokens, and live metric strips.
3-rail desktop workbench with zero DOM re-parenting, collapsible rails, dynamic closeable tabs, and WAI-ARIA tablists.
workbench-layout.js
Workbench Gallery →
Runtime preset picker + compact/comfortable/spacious density selector + live design.md CSS inspection.
theme-switcher.js
Workbench Gallery →
Responsive metric cards with sparklines, delta chips, and semantic live/warn/danger status colors.
kpi-strip.js
Workbench Gallery →
Persistent navigation targets for local threads, remote A2A agents, and sandbox files.
Lists connected MCP servers, remote URLs, and bearer auth health indicators.
connections.js
Workbench Gallery →
Multi-node Habitat & A2A agent fleet roster showing live online/idle/in-flight status.
fleet-connections.js
Workbench Gallery →
Navigates git working files, recent commits, and sandboxed artifact previews.
workspace.js
Workbench Gallery →
Primary human collaboration views, forms, tabular drill-downs, and documentation.
Streaming thread chat with conversation switcher, tool call cards, inline ui:// iframes, and interrupt handling.
chat.js
Dual-Brain Voice →
Semantic Beat Lens panel running tool-less side questions & spec checks on forked SQLite entries.
beats.js
Beat Lens →
Sortable tabular inspector wired into cross-component row selection events.
data-table.js
Workbench Gallery →
Declarative schema-driven action forms submitting structured parameters back to host endpoints.
form-panel.js
Workbench Gallery →
Clean typographic Markdown viewer for design.md specs, runbooks, and agent findings.
markdown-doc.js
Workbench Gallery →
Deep introspection of selected objects, live execution traces, logs, and interactive WebSocket terminals.
Reactive key/value & Raw JSON inspector synchronized with row/object selections across rails.
detail-inspector.js
Workbench Gallery →
Filterable chronological stream of host lifecycle events, errors, and state mutations.
activity-log.js
Workbench Gallery →
Hierarchical execution span timeline showing LLM latency, tool timings, and fork ancestry.
traces.js
Workbench Gallery →
Zero-dependency live WebSocket terminal viewer bound to agent sandbox shell streams.
terminal.js
Workbench Gallery →
Plain ESM plugins auto-mounted from shell.customDir with full bidirectional audio & SQLite sync.
AudioWorklet mic capture, Multi-Context TTS streaming waveform/log, runtime voice selector dropdown, and instant barge-in.
voice-cascaded.js
Cascaded Voice →
SSE wire telemetry, ElevenLabs / Deepgram / Vapi config generator, HTTP disconnect barge-in test, and mic tester.
voice-byo-edge.js
BYO-LLM Edge →
Separate Fast Talker (Gemini 3.8 Live) + Durable Thinker (DurableAgent) lanes, SQLite voice persistence, and GoAway resumption.
voice-dual-brain.js
Dual-Brain Voice →
design.md
Compiled directly from design.md with 0px square corners and 2px borders.
Default v0.2 Shell palette without any external stylesheet overrides.
Interactive launcher for 14-tab overflow, Gaia replica, and live layout swaps.
# TheFocus.AI / Umwelten: fonts and colors
Dark and Amber capability brand system — crisp 0px square corners, 2px structural borders, zero drop shadows, Space Grotesk headlines, Inter body, and uppercase JetBrains Mono telemetry labels. Supports paired Warm Cream mode (`thefocus-cream`) for daylight reading.
## Color Tokens
| Name | Hex | Used for |
|---|---|---|
| Ink | `#0E1014` | Primary canvas background (Dark & Amber) |
| Deep | `#141820` | Subtle header bar, table headers, recessed wells |
| Slate | `#1A1E26` | Elevated card, panel, and shell rail surface |
| Raised | `#202530` | Hover surface and active code/table rows |
| Border | `#2F343E` | Hairline structural grid dividers |
| Border Strong | `#434A57` | High-emphasis 2px frames and active controls |
| Cream | `#F3F1EA` | Primary text on Dark; Warm Cream page canvas |
| Body Ink | `#B9BDC6` | Secondary body copy on Dark |
| Muted Ink | `#8D929C` | Metadata, timestamps, secondary axis labels |
| Amber | `#F2B33D` | Primary action fill, focus ring, highlight accent |
| On-Amber | `#0E1014` | High-contrast ink on solid Amber fills |
| Amber Soft | `#292214` | Subtle Amber tint for active callouts & badges |
| Cream Surface | `#FAF8F3` | Raised paper card surface in Warm Cream mode |
| Cream Subtle | `#E9E5D8` | Recessed header / table surface in Warm Cream mode |
| Amber On Cream | `#9A6300` | WCAG AA Amber label/link accent on Warm Cream |
## Rules & Geometry
- **Square corners everywhere (`0px`).** No border radius on cards, buttons, inputs, tables, badges, or modal frames.
- **No drop shadows.** Elevation comes strictly from background lightness step (`#0E1014` → `#141820` → `#1A1E26` → `#202530`) and border weight (`1px` structural grid, `2px` interactive frames).
- **`JetBrains Mono`** is uppercase with wide tracking (`0.08em–0.14em`) for section numbers, eyebrows, status badges, telemetry readouts, and navigation items.
- **`Space Grotesk`** handles hero headlines, card headings, and metric numbers with tight tracking (`-0.025em`).
- **`Inter`** handles prose, explanations, and documentation copy.
```css
:root {
--ink: #0E1014;
--cream: #F3F1EA;
--amber: #F2B33D;
--slate: #1A1E26;
--text: #F3F1EA;
--text-body: #B9BDC6;
--text-muted: #8D929C;
--border: #2F343E;
--text-on-light: #0E1014;
--text-body-on-light: #4A4F58;
--text-muted-on-light: #5C616B;
--border-on-light: #C9C5B8;
--amber-on-light: #9A6300;
--font-display: 'Space Grotesk', 'Geist', Arial, sans-serif;
--font-body: 'Inter', 'Geist', Arial, sans-serif;
--font-mono: 'JetBrains Mono', 'Geist Mono', monospace;
}
```