Explore the public documentation →
DES is an audience-aware design practice plus the Lyra Forge production vocabulary. It is not one visual personality for every site. The shared floor covers task clarity, accessibility, evidence honesty, semantic tokens, responsive behavior, and rendered proof; the selected surface mode owns density, structure, typography, imagery, motion, and expressive range.
DES has four primary modes:
- Operator — repeated professional work in admin tools, queues, and workbenches. Stable, compact, keyboard-safe, and state-rich.
- Public data — public exploration, comparison, and explanation. Provenance, uncertainty, exact values, and overview-to-detail movement are first-class.
- Editorial — sustained reading, argument, and documented records. Reading rhythm, figures, claims, citations, and source custody lead.
- Marketing — product distinction, credibility, and action. Greater structural and visual range is allowed when it supports an honest argument.
Read modes/README.md and the selected mode before choosing a visual direction.
Mode defaults and the independent variance, density, motion, type, and imagery
dials prevent both accidental sameness and random style changes.
The Lyra Forge tool family is the worked example: barnowl (claims research), keel (dashboard / reference implementation), tern (geographic live-feed), steve (public claim records), and weaver (data-viz publishing). Other teams should preserve the audience/task contract while replacing Lyra’s nouns, states, references, and visual identity with their own.
The files here are a mix of production-ready system code and design references.
| File / folder | Kind | What to do with it |
|---|---|---|
tokens.css |
Production | Drop in as-is. Single source of truth for all design values. |
components.css |
Production | Drop in as-is. Vanilla CSS — framework-agnostic. |
themes/ |
Production | Drop in as-is. Applied via [data-theme="…"] on any ancestor. |
react/ |
Production reference | Radix + CVA React implementations. Port to your stack (React, Vue, SwiftUI) using the same token names and behavior. |
colors_and_type.css |
Production | Optional Lyra Forge color and typography roles. Import only when that vocabulary fits. |
assets/ |
Production | SVG icons, Lyra Forge wordmark. Drop in. |
ui-kits/ |
Design reference | HTML prototypes of each product and mode. Not production code — study for layout, density, interaction patterns. |
showcase.html |
Design reference | Canonical render of every component. Open in a browser and compare against your implementation. |
PRACTICE.md |
Guidance | Diagnosis-to-proof workflow for reviews and implemented improvements. |
modes/ |
Guidance | Shared floor, surface router, style dials, and mode-specific contracts. |
PRINCIPLES.md |
Guidance | Design philosophy. Read before making non-obvious decisions. |
PATTERNS-ADMIN.md |
Guidance | Queue, triage, review-rail, and decision-surface rules. |
RUBRIC.md |
Evaluation | Rendered admin-surface gates and region-anchored scoring. |
docs/design-engineering-toolchain.md |
Guidance | Current browser, reference, image-generation, and evaluation tool roles. |
scripts/des-audit.mjs |
Tooling | Reproducible 1440/768/390 screenshots, accessibility snapshots, browser checks, and JSON receipts. |
scripts/des-profile.mjs |
Tooling | Deterministic surface/model/harness/capability profile for prompts and receipts. |
evaluations/ |
Evidence | Production calibrations that changed the system or practice. |
MIGRATING.md |
Guidance | Per-tool adoption guide. |
SKILL.md |
Guidance | Condensed system brief — cross-compatible with Agent Skills, drop into Claude Code. |
The HTML UI kits are design references — prototypes showing the intended look and feel of each product. When implementing a specific product (say, barnowl) in your codebase, the job is to recreate the HTML design in your target environment (React with your component library, Vue, SwiftUI, etc.) — not to ship the HTML.
High-fidelity within the shipped Lyra Forge vocabulary. Its colors, spacing,
typography, and interaction values live in tokens.css. Recreate those assets
faithfully when the selected surface uses this vocabulary. Marketing, editorial,
or public-data work may establish a different tokenized identity rather than
being forced through the operator system.
- Copy
tokens.cssandcomponents.cssinto your stylesheet pipeline. - If you use the Lyra Forge vocabulary, load the families listed under “Shipped Lyra Forge typography,” or map those roles to your own local fonts.
- Wrap your app root in
<html data-theme="dark">(orlight,carbon,slate,parchment). - If you want a named theme beyond dark/light, also import the theme file:
themes/carbon.css,themes/slate.css, orthemes/parchment.css. - Use the component classes directly, or re-export them as your framework's components (see React reference).
Files in react/ are the reference:
react/components.tsx— top-level components (Shell, Header, Sidebar, StatCard, ScoreBadge, Table, FilterBar, Timeline, etc.)react/table.tsx— Tanstack-table integration + sort/filter statereact/radix.tsx— Radix primitives (Dialog, DropdownMenu, Tooltip, Popover) styled to the systemreact/radix.css— styles for the Radix primitives
These are CVA-based. Port the class mappings to your own component library if you already have one; do not run two component libraries in parallel.
The .css files are framework-agnostic — classes are BEM-ish and scoped. Vue, Svelte, Angular, plain HTML all work. Mirror the React component API as needed.
Take the tokens from tokens.css and port them to your native color / spacing / typography system. PRINCIPLES.md is the authoritative reference for behavior — motion timing, density rules, interaction states.
- dark (default) — zinc neutrals, indigo accent. Instrument default.
- light — warm off-white ("cream"), navy accent. Artifact default.
- carbon — pure black, electric blue accent. Developer / analysis.
- slate — blue-shifted dark, cyan accent. Geographic / live-feed.
- parchment — warm dark, amber accent. Long-form reading.
Apply via <html data-theme="…">. These are available identities, not the only
allowed directions. Within one route or product, keep a coherent design DNA and
make theme transitions deliberate rather than mixing arbitrary treatments.
- No fabricated proof. Do not invent metrics, customers, testimonials, citations, capabilities, or urgency.
- No scattered visual constants. Reusable component colors and dimensions come from semantic tokens. A new identity may define a new token set.
- Status colors are semantic — success, warning, error, and info carry meaning and are not decoration.
- Keyboard focus, contrast, semantic structure, reduced motion, and responsive behavior hold in every selected mode.
- Tabular numerals on numeric comparison columns.
- Expression is mode-specific. Operator work prefers flat surfaces, functional motion, restrained imagery, and stable structure. Public-data, editorial, and marketing work may use gradients, elevation, expressive type, imagery, and greater variance when each choice has a stated job.
Load from Google Fonts:
<link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500&family=Instrument+Serif:ital@1&family=Newsreader:ital,opsz,wght@0,6..72,300..700;1,6..72,300..700&display=swap" rel="stylesheet">| Role | Family | Use |
|---|---|---|
| Sans | Geist | All UI labels, body, nav, tables |
| Display serif (italic) | Instrument Serif | Tool brand/name in header |
| Prose serif | Newsreader | Article body, long-form reading |
| Mono | Geist Mono | Numbers, IDs, timestamps, code |
Type scale (in tokens.css): --text-xs 10px · --text-sm 12px · --text-base 13px · --text-md 15px · --text-lg 18px · --text-xl 22px · --text-2xl 28px. Prose headings use clamp(28px, 4vw, 48px).
4px base grid. Stops: --space-1 4 · --space-2 8 · --space-3 12 · --space-4 16 · --space-5 20 · --space-6 24 · --space-8 32 · --space-10 40 · --space-12 48 · --space-16 64.
Layout tokens: --sidebar-width 220px · --sidebar-width-lg 280px · --inspector-width 360px · --header-height 48px · --content-max 1400px · --prose-max 680px · --prose-wide 940px.
Fast and functional. Durations:
--duration-fast80ms (button press)--duration-default150ms (hover, toggle)--duration-slow300ms (panel open, modal)--duration-live200ms (value flash on live update)
Easing: --ease-out cubic-bezier(.16,1,.3,1) for entrances. prefers-reduced-motion zeroes all durations (already handled in tokens.css).
Operator tools do not bounce. Other modes may use explanatory or expressive motion under their mode contract and still provide a reduced-motion equivalent.
Defined in components.css. Full render in showcase.html. Key classes:
.shell,.header,.sidebar,.inspector— layout primitives.stat-card— uppercase label + mono numeral, no icon, no sparkline by default.table— tabular-nums, row hover--surface-raised, uppercase 11px header.score-badge.is-hi|is-mid|is-lo— three named bands; thresholds≥0.70 / ≥0.40 / <0.40.filter-barwith.chip— active chip uses--accent-surface+--accent-text.decision-header,.segmented-nav,.decision-layout,.decision-brief,.decision-list,.decision-card,.decision-rationale— bounded queue/review composition.journey-header,.journey-map,.journey-focus,.journey-proof,.journey-attention,.journey-system-work,.journey-inventory— intent-to-outcome briefing with bounded attention and machine settlement.record-section,.record-list,.record-item— typed heterogeneous operational records with full-text disclosure and optional action rails.timeline— vertical dotted rail with mono timestamps.palette— 640px modal on--surface-overlay, mono input, grouped results.prose— Newsreader 19px, serif h2, mono figure captions
No icon font. Use Lucide (https://unpkg.com/lucide@latest) or equivalent stroke SVG set at 1.5–2px weight, currentColor, sizes 14/16/20px. A small Lucide subset ships in assets/icons/.
Study these before building or migrating the corresponding tool:
| UI kit | Product | Theme | Pattern |
|---|---|---|---|
ui-kits/barnowl.html |
barnowl | dark | Split view · article + inspector · timeline · score badges |
ui-kits/keel.html |
keel | dark | Operator shell · metrics · service table · pipeline |
ui-kits/tern.html |
tern | slate | Geographic live feed · stylized map · event stream |
ui-kits/steve.html |
steve | light | Editorial claim record · scoring · bibliography |
ui-kits/weaver.html |
weaver | light | Editorial-data narrative · figures · reading sequence |
ui-kits/public-data.html |
Qualifier Observatory | custom | Public-data explorer · filters · shareable scope · exact values |
ui-kits/des-marketing.html |
DES | custom | Marketing argument · expressive identity · tuple-bound proof |
Open each in a browser (or serve the handoff folder as static files) while implementing.
design_handoff/
├── README.md # this file
├── PRACTICE.md # diagnosis-to-proof workflow
├── PRINCIPLES.md # design philosophy and component guidance
├── PATTERNS-ADMIN.md # admin decision-surface patterns
├── RUBRIC.md # rendered evaluator gates
├── modes/ # surface router + four audience/task contracts
├── evaluations/ # production calibration cases
├── MIGRATING.md # per-tool adoption guide
├── SKILL.md # condensed brief for Agent Skills / Claude Code
├── tokens.css # primitive + semantic tokens (source of truth)
├── components.css # component styles
├── colors_and_type.css # light re-export of the token vars
├── showcase.html # canonical component reference — open in a browser
├── playground.html # token override sandbox
├── scripts/
│ ├── des-profile.mjs # deterministic design execution profile
│ └── des-audit.mjs # tuple-bound browser evidence receipt
├── themes/
│ ├── carbon.css
│ ├── slate.css
│ └── parchment.css
├── react/
│ ├── components.tsx
│ ├── table.tsx
│ ├── radix.tsx
│ └── radix.css
├── assets/
│ ├── (SVG icons + wordmark)
├── ui-kits/ # per-product and per-mode design references
│ ├── barnowl.html
│ ├── keel.html
│ ├── tern.html
│ ├── steve.html
│ └── weaver.html
└── preview/ # design-system specimen cards (type, color, spacing, etc.)
- Drop the handoff folder into your repo (e.g.
packages/design-system/). - Make the agent read
SKILL.md,PRACTICE.md,modes/README.md, and the selected surface mode before it proposes changes. - Generate a DES profile for the actual model, harness, and available seeing or browser capabilities.
- Point it at a specific product and representative task: "improve barnowl's article review flow using operator mode; reference
ui-kits/barnowl.html". - Require the baseline, rendered task walk, after screenshots, and receipt described in
PRACTICE.md.
For a consistent mechanical capture, serve the target app and run des-audit:
des-audit \
--url http://127.0.0.1:3000/dashboard/resources \
--task "Decide whether this resource belongs in the collection" \
--surface "Resource review queue" \
--mode operator \
--harness codex \
--model-tier frontier \
--requested-model gpt-5 \
--served-model gpt-5 \
--capability browser \
--capability visual-input \
--arm baselineSee docs/design-engineering-toolchain.md for the boundary between deterministic
receipts, exploratory browser control, performance diagnosis, references, and
image-generated candidates.
- Which framework / component library are you targeting?
- Are you migrating an existing tool, or building new?
- Will you need offline font bundles (Google Fonts is CDN-only here)?
- Do you want the React reference ported to a different stack?