Skip to content

Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.

docs(design): align the design system with the editor's new direction

EtienneLescot23d5962b3ac9
diff --git a/design/DESIGN.md b/design/DESIGN.md
index 8450dcb04..d8f07b719 100644
--- a/design/DESIGN.md
+++ b/design/DESIGN.md
@@ -76,7 +76,7 @@ REC / cut / skip / trim / transcript-highlight states; amber covers warnings.
| `--fs-app-sm` | 12px | Secondary |
| `--fs-app-lg` | 14px | Primary UI |
| `--fs-title` | 16px | Panel titles |
-| `--fs-section` | 11px | Section headers (uppercase, tracked) |
+| `--fs-section` | 13px | Section labels: 600, sentence case (`.sectionLabel`) |
| `--fs-display` | 24px | Hero numerals |
Nothing below 11px.
@@ -85,7 +85,7 @@ Nothing below 11px.
## Layout
-- **Radius:** 8px standard; `--r-xs: 4px`, `--r-sm: 6px`, `--r-md: 8px`, `--r-lg: 12px`, `--r-pill: 9999px`
+- **Radius:** `--r-xs: 4px`, `--r-sm: 8px`, `--r-md: 10px`, `--r-lg: 12px`, `--r-pill: 9999px` (see `tokens/v4.css`)
- **Border weight:** 1px
- **Spacing:** 4px baseline grid (`--sp-1` through `--sp-6`)
- **Editor wireframe:**
@@ -104,6 +104,16 @@ Nothing below 11px.
- **Off-white canvas, tiered surfaces.** Never use pure `#000` or pure `#fff` for editorial chrome.
- **Soft elevation, slate-based shadows.** Two `--elev-card` and `--elev-pop` are enough.
- **System-ui type, mono numerics.** No web fonts loaded; ships the declared fallback stack.
+- **One click for a fixed choice.** A ChoiceRow of equal buttons, never a dropdown; a select only
+ for a long list (15 translation targets).
+- **Named levels over meaningless numbers** (shadow None/Light/Medium/Strong); sliders only for
+ continuous amounts.
+- **Free rows, no hints.** Settings are rows grouped by sentence-case section labels, not cards.
+ Nothing under a setting explains it; an option that does nothing right now is hidden.
+- **Candy timeline.** The clip is the brand green, zooms blue, every lane solid with dark ink
+ `#0b1220`. The playhead is violet. No transport seek bar: the ruler seeks.
+
+The full rule set, with sources in the app, is **EDITOR CONTROLS** in `readme.md`.
---
@@ -140,17 +150,16 @@ Nothing below 11px.
| File | Role |
|---|---|
-| `openscreen-editor-2.html` | Latest editor (light + dark themes in one file). Canonical source of tokens. |
-| `openscreen-editor.html` | First editor pass. Light-only. |
-| `editor.html` | Earlier experimental editor with red REC accent. |
-| `openscreen-landing.html` | Marketing landing page. |
-| `index.html` | Launcher / overview. |
+| `openscreen-editor-v2.html` | Later editor pass (bundled page, light + dark). Historical. |
+| `openscreen-editor.html` | First editor pass. Its timeline, inspector rows and pills are kept in line with the app's direction. |
+| `openscreen-widget.html` | Recording HUD widget (bundled page). |
+| `tokens/v4.css` | The shipped token vocabulary, a re-export of `src/styles/design-tokens.css`. Canonical. |
+| `readme.md` | System overview, foundations and **EDITOR CONTROLS**. |
| `DESIGN.md` | This document. |
---
## Open questions / follow-ups
-- `editor.html` uses a different red-dominant accent and predates the mint brand color. Keep as historical reference; do not import its tokens into new work.
-- Landing page (`openscreen-landing.html`) is light-only; consider a dark variant once product photography is sourced.
+- The token tables above predate `tokens/v4.css`; where they disagree, `tokens/v4.css` (and the app's `src/styles/design-tokens.css`) wins.
- No logo asset is committed yet. Brand mark should be a simple wordmark or geometric mark in mint on the dark canvas.
diff --git a/design/SKILL.md b/design/SKILL.md
index cf8e24598..a7166f472 100644
--- a/design/SKILL.md
+++ b/design/SKILL.md
@@ -14,3 +14,5 @@ Quick orientation:
- One brand hue: emerald `--accent`. Ration it. Timeline lanes add amber/orange/red semantic accents.
- Components live in `components/` (forms, display, editor); full-screen recreations in `ui_kits/editor/`. Icons are Lucide.
- No emoji, no gradients-as-decoration, no photographic backgrounds. Dense pro-tool density, glassy floating panels, hairline borders.
+- Editor controls (full rules: "EDITOR CONTROLS" in readme.md): a fixed choice is a one-click `ChoiceRow`, not a select; named levels instead of meaningless numbers; settings are free rows under sentence-case section labels, never cards; no hint text, and an option that does nothing is hidden, not disabled.
+- Timeline is "candy": the clip is the brand green, zooms blue, every lane solid with dark ink `#0b1220`; playhead violet; no seek bar.
diff --git a/design/_ds_manifest.json b/design/_ds_manifest.json
index 082a6cb6b..83dd3c3aa 100644
--- a/design/_ds_manifest.json
+++ b/design/_ds_manifest.json
@@ -1 +1 @@
-{"namespace":"DesignSystem_d5355e","components":[{"name":"Badge","sourcePath":"components/display/Badge.jsx"},{"name":"Card","sourcePath":"components/display/Card.jsx"},{"name":"Chip","sourcePath":"components/display/Chip.jsx"},{"name":"ProgressBar","sourcePath":"components/display/ProgressBar.jsx"},{"name":"ChatBubble","sourcePath":"components/editor/ChatBubble.jsx"},{"name":"FacetRailButton","sourcePath":"components/editor/FacetRailButton.jsx"},{"name":"MediaCard","sourcePath":"components/editor/MediaCard.jsx"},{"name":"ProposalCard","sourcePath":"components/editor/ProposalCard.jsx"},{"name":"TimelinePill","sourcePath":"components/editor/TimelinePill.jsx"},{"name":"Button","sourcePath":"components/forms/Button.jsx"},{"name":"IconButton","sourcePath":"components/forms/IconButton.jsx"},{"name":"SegmentedControl","sourcePath":"components/forms/SegmentedControl.jsx"},{"name":"Select","sourcePath":"components/forms/Select.jsx"},{"name":"Slider","sourcePath":"components/forms/Slider.jsx"},{"name":"Switch","sourcePath":"components/forms/Switch.jsx"},{"name":"TextField","sourcePath":"components/forms/TextField.jsx"}],"startingPoints":[{"name":"editor","path":"ui_kits/editor/index.html","previewPath":"ui_kits/editor/index.html","kind":"screen","section":"Editor","subtitle":"OpenScreen editor shell (chat + stage + timeline)","viewport":"1360x840"}],"cards":[{"path":"guidelines/brand-elevation.card.html","group":"Brand","viewport":"700x170","subtitle":"Resting card vs floating popover","name":"Elevation"},{"path":"guidelines/brand-logo.card.html","group":"Brand","viewport":"700x140","subtitle":"Icon mark + Geist wordmark lockup","name":"Logo"},{"path":"guidelines/brand-motion.card.html","group":"Brand","viewport":"700x150","subtitle":"One easing, 0.15s; record dot pulses","name":"Motion"},{"path":"guidelines/brand-radii.card.html","group":"Brand","viewport":"700x170","subtitle":"Nested-radius rhythm, 2 → fully round","name":"Radii"},{"path":"guidelines/colors-brand.card.html","group":"Colors","viewport":"700x150","subtitle":"Emerald — the single brand hue","name":"Brand / accent"},{"path":"guidelines/colors-semantic.card.html","group":"Colors","viewport":"700x150","subtitle":"Timeline lanes & status — rationed accents","name":"Semantic"},{"path":"guidelines/colors-surfaces.card.html","group":"Colors","viewport":"700x160","subtitle":"Near-black blue-grey, low → high","name":"Surfaces & borders"},{"path":"guidelines/colors-text.card.html","group":"Colors","viewport":"700x140","subtitle":"Primary → meta text ramp","name":"Text"},{"path":"components/display/display.card.html","group":"Components","viewport":"700x300","subtitle":"Badge · Chip · Card · ProgressBar","name":"Display"},{"path":"components/editor/editor.card.html","group":"Components","viewport":"700x520","subtitle":"ChatBubble · ProposalCard · MediaCard · TimelinePill · FacetRailButton","name":"Editor"},{"path":"components/forms/forms.card.html","group":"Components","viewport":"700x430","subtitle":"Button · IconButton · SegmentedControl · Switch · Slider · Select · TextField","name":"Forms"},{"path":"ui_kits/editor/index.html","group":"Editor","viewport":"1360x840","subtitle":"Full OpenScreen editor — Edit mode"},{"path":"guidelines/spacing-scale.card.html","group":"Spacing","viewport":"700x150","subtitle":"Common rungs — dense, off-grid","name":"Scale"},{"path":"guidelines/type-families.card.html","group":"Type","viewport":"700x170","subtitle":"Geist (UI) + Geist Mono (numeric)","name":"Families"},{"path":"guidelines/type-reading.card.html","group":"Type","viewport":"700x150","subtitle":"Transcript reads at 1.85 line-height","name":"Reading"},{"path":"guidelines/type-scale.card.html","group":"Type","viewport":"700x230","subtitle":"9.5px labels → 16.5px headings","name":"Scale"}],"templates":[],"hasThumbnailHtml":false,"globalCssPaths":["tokens/base.css","tokens/fonts.css","tokens/colors.css","tokens/typography.css","tokens/spacing.css","tokens/radii.css","tokens/elevation.css","tokens/effects.css","styles.css"],"tokens":[{"name":"--ease","value":"cubic-bezier(0.4, 0, 0.2, 1)","kind":"other","definedIn":"tokens/effects.css"},{"name":"--dur","value":"0.15s","kind":"other","definedIn":"tokens/base.css"},{"name":"--brand-green","value":"#34b27b","kind":"color","definedIn":"tokens/colors.css"},{"name":"--brand-green-hover","value":"#2d9e6c","kind":"color","definedIn":"tokens/colors.css"},{"name":"--brand-green-active","value":"#27885c","kind":"color","definedIn":"tokens/colors.css"},{"name":"--brand-green-ring","value":"rgba(52, 178, 123, 0.5)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--brand-green-glow","value":"rgba(74, 222, 128, 0.4)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--brand-green-tint","value":"rgba(52, 178, 123, 0.13)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--rec-red","value":"#ef4444","kind":"color","definedIn":"tokens/colors.css"},{"name":"--rec-red-text","value":"#f87171","kind":"font","definedIn":"tokens/colors.css"},{"name":"--rec-amber","value":"#f59e0b","kind":"color","definedIn":"tokens/colors.css"},{"name":"--rec-amber-text","value":"#fbbf24","kind":"font","definedIn":"tokens/colors.css"},{"name":"--background","value":"0 0% 100%","kind":"other","definedIn":"tokens/colors.css"},{"name":"--foreground","value":"20 14.3% 4.1%","kind":"other","definedIn":"tokens/colors.css"},{"name":"--card","value":"0 0% 100%","kind":"other","definedIn":"tokens/colors.css"},{"name":"--card-foreground","value":"20 14.3% 4.1%","kind":"other","definedIn":"tokens/colors.css"},{"name":"--popover","value":"0 0% 100%","kind":"other","definedIn":"tokens/colors.css"},{"name":"--popover-foreground","value":"20 14.3% 4.1%","kind":"other","definedIn":"tokens/colors.css"},{"name":"--primary","value":"24 9.8% 10%","kind":"other","definedIn":"tokens/colors.css"},{"name":"--primary-foreground","value":"60 9.1% 97.8%","kind":"other","definedIn":"tokens/colors.css"},{"name":"--secondary","value":"60 4.8% 95.9%","kind":"other","definedIn":"tokens/colors.css"},{"name":"--secondary-foreground","value":"24 9.8% 10%","kind":"other","definedIn":"tokens/colors.css"},{"name":"--muted","value":"60 4.8% 95.9%","kind":"other","definedIn":"tokens/colors.css"},{"name":"--muted-foreground","value":"25 5.3% 44.7%","kind":"other","definedIn":"tokens/colors.css"},{"name":"--accent","value":"60 4.8% 95.9%","kind":"other","definedIn":"tokens/colors.css"},{"name":"--accent-foreground","value":"24 9.8% 10%","kind":"other","definedIn":"tokens/colors.css"},{"name":"--destructive","value":"0 84.2% 60.2%","kind":"other","definedIn":"tokens/colors.css"},{"name":"--destructive-foreground","value":"60 9.1% 97.8%","kind":"other","definedIn":"tokens/colors.css"},{"name":"--border","value":"20 5.9% 90%","kind":"other","definedIn":"tokens/colors.css"},{"name":"--input","value":"20 5.9% 90%","kind":"other","definedIn":"tokens/colors.css"},{"name":"--ring","value":"20 14.3% 4.1%","kind":"other","definedIn":"tokens/colors.css"},{"name":"--radius","value":"0.5rem","kind":"radius","definedIn":"tokens/spacing.css"},{"name":"--shell-0","value":"#050606","kind":"color","definedIn":"tokens/colors.css"},{"name":"--shell-1","value":"#07080a","kind":"color","definedIn":"tokens/colors.css"},{"name":"--shell-2","value":"#08090b","kind":"color","definedIn":"tokens/colors.css"},{"name":"--shell-3","value":"#090a0c","kind":"color","definedIn":"tokens/colors.css"},{"name":"--shell-4","value":"#09090b","kind":"color","definedIn":"tokens/colors.css"},{"name":"--shell-5","value":"#0b0c10","kind":"color","definedIn":"tokens/colors.css"},{"name":"--line-subtle","value":"rgba(255, 255, 255, 0.055)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--line","value":"rgba(255, 255, 255, 0.075)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--line-strong","value":"rgba(255, 255, 255, 0.10)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--fill-subtle","value":"rgba(255, 255, 255, 0.032)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--fill","value":"rgba(255, 255, 255, 0.045)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--fill-hover","value":"rgba(255, 255, 255, 0.075)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--text-hi","value":"#ffffff","kind":"font","definedIn":"tokens/colors.css"},{"name":"--text-1","value":"#e4e4e7","kind":"font","definedIn":"tokens/colors.css"},{"name":"--text-2","value":"#d9e2ee","kind":"font","definedIn":"tokens/colors.css"},{"name":"--text-3","value":"#a1a1aa","kind":"font","definedIn":"tokens/colors.css"},{"name":"--text-4","value":"rgba(255, 255, 255, 0.6)","kind":"font","definedIn":"tokens/colors.css"},{"name":"--text-5","value":"rgba(255, 255, 255, 0.4)","kind":"font","definedIn":"tokens/colors.css"},{"name":"--text-slate-500","value":"#64748b","kind":"font","definedIn":"tokens/colors.css"},{"name":"--color-bg","value":"hsl(var(--background))","kind":"color","definedIn":"tokens/colors.css"},{"name":"--color-fg","value":"hsl(var(--foreground))","kind":"color","definedIn":"tokens/colors.css"},{"name":"--surface-card","value":"hsl(var(--card))","kind":"color","definedIn":"tokens/colors.css"},{"name":"--surface-popover","value":"hsl(var(--popover))","kind":"color","definedIn":"tokens/colors.css"},{"name":"--text-body","value":"hsl(var(--foreground))","kind":"font","definedIn":"tokens/colors.css"},{"name":"--text-muted","value":"hsl(var(--muted-foreground))","kind":"font","definedIn":"tokens/colors.css"},{"name":"--border-default","value":"hsl(var(--border))","kind":"color","definedIn":"tokens/colors.css"},{"name":"--focus-ring","value":"0 0 0 3px rgba(16,185,129,0.32)","kind":"shadow","definedIn":"tokens/elevation.css"},{"name":"--accent-primary","value":"var(--brand-green)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--font-sans","value":"\"Inter\", ui-sans-serif, system-ui, -apple-system,\n\t\t\"Segoe UI\", Roboto, Helvetica, Arial, sans-serif","kind":"font","definedIn":"tokens/typography.css"},{"name":"--font-mono","value":"\"IBM Plex Mono\", \"Fira Code\", ui-monospace,\n\t\tSFMono-Regular, Menlo, Consolas, monospace","kind":"font","definedIn":"tokens/typography.css"},{"name":"--font-caption-marker","value":"\"Permanent Marker\", cursive","kind":"font","definedIn":"tokens/typography.css"},{"name":"--font-caption-hand","value":"\"Caveat\", cursive","kind":"font","definedIn":"tokens/typography.css"},{"name":"--font-caption-impact","value":"\"Bebas Neue\", \"Oswald\", sans-serif","kind":"font","definedIn":"tokens/typography.css"},{"name":"--font-caption-serif","value":"\"Playfair Display\", Georgia, serif","kind":"font","definedIn":"tokens/typography.css"},{"name":"--font-caption-grotesk","value":"\"Space Grotesk\", sans-serif","kind":"font","definedIn":"tokens/typography.css"},{"name":"--fw-regular","value":"400","kind":"other","definedIn":"tokens/typography.css"},{"name":"--fw-medium","value":"500","kind":"other","definedIn":"tokens/typography.css"},{"name":"--fw-semibold","value":"600","kind":"other","definedIn":"tokens/typography.css"},{"name":"--fw-bold","value":"700","kind":"other","definedIn":"tokens/typography.css"},{"name":"--text-9","value":"9px","kind":"font","definedIn":"tokens/typography.css"},{"name":"--text-10","value":"10px","kind":"font","definedIn":"tokens/typography.css"},{"name":"--text-11","value":"11px","kind":"font","definedIn":"tokens/typography.css"},{"name":"--text-12","value":"12px","kind":"font","definedIn":"tokens/typography.css"},{"name":"--text-13","value":"13px","kind":"font","definedIn":"tokens/typography.css"},{"name":"--text-sm","value":"14px","kind":"font","definedIn":"tokens/typography.css"},{"name":"--text-base","value":"16px","kind":"font","definedIn":"tokens/typography.css"},{"name":"--text-lg","value":"18px","kind":"font","definedIn":"tokens/typography.css"},{"name":"--text-xl","value":"20px","kind":"font","definedIn":"tokens/typography.css"},{"name":"--text-2xl","value":"24px","kind":"font","definedIn":"tokens/typography.css"},{"name":"--lh-none","value":"1","kind":"other","definedIn":"tokens/typography.css"},{"name":"--lh-tight","value":"1.15","kind":"other","definedIn":"tokens/typography.css"},{"name":"--lh-snug","value":"1.35","kind":"other","definedIn":"tokens/typography.css"},{"name":"--lh-normal","value":"1.5","kind":"other","definedIn":"tokens/typography.css"},{"name":"--lh-relaxed","value":"1.6","kind":"other","definedIn":"tokens/typography.css"},{"name":"--tracking-tight","value":"-0.01em","kind":"font","definedIn":"tokens/typography.css"},{"name":"--tracking-normal","value":"0","kind":"font","definedIn":"tokens/typography.css"},{"name":"--space-0","value":"0","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--space-0-5","value":"2px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--space-1","value":"4px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--space-1-5","value":"6px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--space-2","value":"8px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--space-2-5","value":"10px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--space-3","value":"12px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--space-3-5","value":"14px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--space-4","value":"16px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--space-5","value":"20px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--space-6","value":"24px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--space-8","value":"32px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--space-10","value":"40px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--space-12","value":"48px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--radius-sm","value":"6px","kind":"radius","definedIn":"tokens/radii.css"},{"name":"--radius-md","value":"9px","kind":"radius","definedIn":"tokens/radii.css"},{"name":"--radius-lg","value":"11px","kind":"radius","definedIn":"tokens/radii.css"},{"name":"--radius-xl","value":"12px","kind":"radius","definedIn":"tokens/radii.css"},{"name":"--radius-2xl","value":"14px","kind":"radius","definedIn":"tokens/radii.css"},{"name":"--radius-3xl","value":"16px","kind":"radius","definedIn":"tokens/radii.css"},{"name":"--radius-window","value":"24px","kind":"radius","definedIn":"tokens/spacing.css"},{"name":"--radius-full","value":"9999px","kind":"radius","definedIn":"tokens/spacing.css"},{"name":"--control-h-xs","value":"28px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--control-h-sm","value":"32px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--control-h-md","value":"36px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--control-h-lg","value":"40px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--icon-xs","value":"11px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--icon-sm","value":"13px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--icon-md","value":"16px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--icon-lg","value":"20px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--rail-width","value":"clamp(286px, 20vw, 352px)","kind":"other","definedIn":"tokens/spacing.css"},{"name":"--workspace-pad","value":"14px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--radius-xs","value":"2px","kind":"radius","definedIn":"tokens/radii.css"},{"name":"--radius-pill","value":"9999px","kind":"radius","definedIn":"tokens/radii.css"},{"name":"--elev-card","value":"inset 0 1px 0 rgba(255,255,255,0.04), 0 2px 10px -4px rgba(0,0,0,0.55)","kind":"shadow","definedIn":"tokens/elevation.css"},{"name":"--elev-pop","value":"0 20px 50px -16px rgba(0,0,0,0.75), inset 0 1px 0 rgba(255,255,255,0.05)","kind":"shadow","definedIn":"tokens/elevation.css"},{"name":"--glow-accent","value":"0 2px 10px -3px var(--accent-soft)","kind":"color","definedIn":"tokens/elevation.css"},{"name":"--elev-card","value":"0 1px 2px rgba(15,23,42,0.05), 0 2px 10px -3px rgba(15,23,42,0.08)","kind":"shadow","definedIn":"tokens/elevation.css","scope":"[data-theme=\"light\"]"},{"name":"--elev-pop","value":"0 20px 48px -16px rgba(15,23,42,0.22), 0 4px 12px rgba(15,23,42,0.08)","kind":"shadow","definedIn":"tokens/elevation.css","scope":"[data-theme=\"light\"]"},{"name":"--focus-ring","value":"0 0 0 3px rgba(16,185,129,0.2)","kind":"shadow","definedIn":"tokens/elevation.css","scope":"[data-theme=\"light\"]"},{"name":"--shadow-hud","value":"0 20px 60px rgba(0, 0, 0, 0.42),\n\t\tinset 0 1px 0 rgba(255, 255, 255, 0.06)","kind":"shadow","definedIn":"tokens/effects.css"},{"name":"--shadow-panel","value":"0 24px 70px rgba(0, 0, 0, 0.42),\n\t\tinset 0 1px 0 rgba(255, 255, 255, 0.045)","kind":"shadow","definedIn":"tokens/effects.css"},{"name":"--shadow-popover","value":"0 18px 42px rgba(0, 0, 0, 0.48),\n\t\tinset 0 1px 0 rgba(255, 255, 255, 0.045)","kind":"shadow","definedIn":"tokens/effects.css"},{"name":"--shadow-card","value":"inset 0 1px 0 rgba(255, 255, 255, 0.035)","kind":"shadow","definedIn":"tokens/effects.css"},{"name":"--shadow-card-hover","value":"0 10px 24px rgba(0, 0, 0, 0.22),\n\t\tinset 0 1px 0 rgba(255, 255, 255, 0.04)","kind":"shadow","definedIn":"tokens/effects.css"},{"name":"--shadow-badge","value":"0 6px 14px rgba(0, 0, 0, 0.35)","kind":"shadow","definedIn":"tokens/effects.css"},{"name":"--shadow-inset-hi","value":"inset 0 1px 0 rgba(255, 255, 255, 0.025)","kind":"shadow","definedIn":"tokens/effects.css"},{"name":"--shadow-capture","value":"0 40px 90px rgba(0, 0, 0, 0.45),\n\t\t0 12px 32px rgba(0, 0, 0, 0.35)","kind":"shadow","definedIn":"tokens/effects.css"},{"name":"--glass-blur","value":"blur(24px) saturate(150%)","kind":"other","definedIn":"tokens/effects.css"},{"name":"--glass-blur-strong","value":"blur(24px) saturate(140%)","kind":"other","definedIn":"tokens/effects.css"},{"name":"--glass-shell","value":"linear-gradient(\n\t\t145deg,\n\t\trgba(13, 14, 17, 0.94) 0%,\n\t\trgba(8, 9, 12, 0.9) 100%\n\t)","kind":"other","definedIn":"tokens/effects.css"},{"name":"--glass-hud","value":"rgba(7, 8, 10, 0.9)","kind":"color","definedIn":"tokens/effects.css"},{"name":"--glass-popover","value":"rgba(8, 9, 12, 0.96)","kind":"color","definedIn":"tokens/effects.css"},{"name":"--gradient-workspace","value":"radial-gradient(\n\t\t\tcircle at 18% 0%,\n\t\t\trgba(52, 178, 123, 0.08),\n\t\t\ttransparent 30%\n\t\t),\n\t\tlinear-gradient(180deg, #08090b 0%, #050606 100%)","kind":"other","definedIn":"tokens/effects.css"},{"name":"--gradient-panel","value":"linear-gradient(\n\t\t\t180deg,\n\t\t\trgba(255, 255, 255, 0.035),\n\t\t\trgba(255, 255, 255, 0.012)\n\t\t),\n\t\t#090a0c","kind":"other","definedIn":"tokens/effects.css"},{"name":"--gradient-selected","value":"linear-gradient(\n\t\t145deg,\n\t\trgba(52, 178, 123, 0.13),\n\t\trgba(255, 255, 255, 0.045)\n\t)","kind":"other","definedIn":"tokens/effects.css"},{"name":"--dur-fast","value":"120ms","kind":"other","definedIn":"tokens/effects.css"},{"name":"--dur-base","value":"150ms","kind":"other","definedIn":"tokens/effects.css"},{"name":"--dur-mid","value":"200ms","kind":"other","definedIn":"tokens/effects.css"},{"name":"--dur-slow","value":"300ms","kind":"other","definedIn":"tokens/effects.css"},{"name":"--press-scale","value":"0.95","kind":"other","definedIn":"tokens/effects.css"},{"name":"--ring-focus","value":"0 0 0 2px var(--brand-green-ring)","kind":"color","definedIn":"tokens/effects.css"},{"name":"--ring-slider","value":"0 0 0 4px rgba(52, 178, 123, 0.12)","kind":"shadow","definedIn":"tokens/effects.css"}],"themes":[{"selector":".dark","label":"Dark"},{"selector":"[data-theme=\"light\"]","label":"Light"}],"fonts":[],"brandFonts":[{"family":"Inter","status":"ok","tokens":["--font-sans"],"path":"tokens/typography.css"},{"family":"IBM Plex Mono","status":"ok","tokens":["--font-mono"],"path":"tokens/typography.css"},{"family":"Permanent Marker","status":"ok","tokens":["--font-caption-marker"],"path":"tokens/typography.css"},{"family":"Caveat","status":"ok","tokens":["--font-caption-hand"],"path":"tokens/typography.css"},{"family":"Bebas Neue","status":"ok","tokens":["--font-caption-impact"],"path":"tokens/typography.css"},{"family":"Playfair Display","status":"ok","tokens":["--font-caption-serif"],"path":"tokens/typography.css"},{"family":"Space Grotesk","status":"ok","tokens":["--font-caption-grotesk"],"path":"tokens/typography.css"}],"source":"spa"}
+{"namespace":"DesignSystem_d5355e","components":[{"name":"Badge","sourcePath":"components/display/Badge.jsx"},{"name":"Card","sourcePath":"components/display/Card.jsx"},{"name":"Chip","sourcePath":"components/display/Chip.jsx"},{"name":"ProgressBar","sourcePath":"components/display/ProgressBar.jsx"},{"name":"ChatBubble","sourcePath":"components/editor/ChatBubble.jsx"},{"name":"FacetRailButton","sourcePath":"components/editor/FacetRailButton.jsx"},{"name":"MediaCard","sourcePath":"components/editor/MediaCard.jsx"},{"name":"ProposalCard","sourcePath":"components/editor/ProposalCard.jsx"},{"name":"TimelinePill","sourcePath":"components/editor/TimelinePill.jsx"},{"name":"Button","sourcePath":"components/forms/Button.jsx"},{"name":"IconButton","sourcePath":"components/forms/IconButton.jsx"},{"name":"SegmentedControl","sourcePath":"components/forms/SegmentedControl.jsx"},{"name":"ChoiceRow","sourcePath":"components/forms/ChoiceRow.jsx"},{"name":"Select","sourcePath":"components/forms/Select.jsx"},{"name":"Slider","sourcePath":"components/forms/Slider.jsx"},{"name":"Switch","sourcePath":"components/forms/Switch.jsx"},{"name":"TextField","sourcePath":"components/forms/TextField.jsx"}],"startingPoints":[{"name":"editor","path":"ui_kits/editor/index.html","previewPath":"ui_kits/editor/index.html","kind":"screen","section":"Editor","subtitle":"OpenScreen editor shell (chat + stage + timeline)","viewport":"1360x840"}],"cards":[{"path":"guidelines/brand-elevation.card.html","group":"Brand","viewport":"700x170","subtitle":"Resting card vs floating popover","name":"Elevation"},{"path":"guidelines/brand-logo.card.html","group":"Brand","viewport":"700x140","subtitle":"Icon mark + Geist wordmark lockup","name":"Logo"},{"path":"guidelines/brand-motion.card.html","group":"Brand","viewport":"700x150","subtitle":"One easing, 0.15s; record dot pulses","name":"Motion"},{"path":"guidelines/brand-radii.card.html","group":"Brand","viewport":"700x170","subtitle":"Nested-radius rhythm, 2 → fully round","name":"Radii"},{"path":"guidelines/colors-brand.card.html","group":"Colors","viewport":"700x150","subtitle":"Emerald — the single brand hue","name":"Brand / accent"},{"path":"guidelines/colors-semantic.card.html","group":"Colors","viewport":"700x150","subtitle":"Timeline candy: green clip, blue zoom, dark ink","name":"Semantic"},{"path":"guidelines/colors-surfaces.card.html","group":"Colors","viewport":"700x160","subtitle":"Near-black blue-grey, low → high","name":"Surfaces & borders"},{"path":"guidelines/colors-text.card.html","group":"Colors","viewport":"700x140","subtitle":"Primary → meta text ramp","name":"Text"},{"path":"components/display/display.card.html","group":"Components","viewport":"700x300","subtitle":"Badge · Chip · Card · ProgressBar","name":"Display"},{"path":"components/editor/editor.card.html","group":"Components","viewport":"700x520","subtitle":"ChatBubble · ProposalCard · MediaCard · TimelinePill · FacetRailButton","name":"Editor"},{"path":"components/forms/forms.card.html","group":"Components","viewport":"700x520","subtitle":"Button · IconButton · SegmentedControl · ChoiceRow · Switch · Slider · Select · TextField","name":"Forms"},{"path":"ui_kits/editor/index.html","group":"Editor","viewport":"1360x840","subtitle":"Full OpenScreen editor — Edit mode"},{"path":"guidelines/spacing-scale.card.html","group":"Spacing","viewport":"700x150","subtitle":"Common rungs — dense, off-grid","name":"Scale"},{"path":"guidelines/type-families.card.html","group":"Type","viewport":"700x170","subtitle":"Geist (UI) + Geist Mono (numeric)","name":"Families"},{"path":"guidelines/type-reading.card.html","group":"Type","viewport":"700x150","subtitle":"Transcript reads at 1.85 line-height","name":"Reading"},{"path":"guidelines/type-scale.card.html","group":"Type","viewport":"700x230","subtitle":"9.5px labels → 16.5px headings","name":"Scale"}],"templates":[],"hasThumbnailHtml":false,"globalCssPaths":["tokens/base.css","tokens/fonts.css","tokens/colors.css","tokens/typography.css","tokens/spacing.css","tokens/radii.css","tokens/elevation.css","tokens/effects.css","styles.css"],"tokens":[{"name":"--ease","value":"cubic-bezier(0.4, 0, 0.2, 1)","kind":"other","definedIn":"tokens/effects.css"},{"name":"--dur","value":"0.15s","kind":"other","definedIn":"tokens/base.css"},{"name":"--brand-green","value":"#34b27b","kind":"color","definedIn":"tokens/colors.css"},{"name":"--brand-green-hover","value":"#2d9e6c","kind":"color","definedIn":"tokens/colors.css"},{"name":"--brand-green-active","value":"#27885c","kind":"color","definedIn":"tokens/colors.css"},{"name":"--brand-green-ring","value":"rgba(52, 178, 123, 0.5)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--brand-green-glow","value":"rgba(74, 222, 128, 0.4)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--brand-green-tint","value":"rgba(52, 178, 123, 0.13)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--rec-red","value":"#ef4444","kind":"color","definedIn":"tokens/colors.css"},{"name":"--rec-red-text","value":"#f87171","kind":"font","definedIn":"tokens/colors.css"},{"name":"--rec-amber","value":"#f59e0b","kind":"color","definedIn":"tokens/colors.css"},{"name":"--rec-amber-text","value":"#fbbf24","kind":"font","definedIn":"tokens/colors.css"},{"name":"--background","value":"0 0% 100%","kind":"other","definedIn":"tokens/colors.css"},{"name":"--foreground","value":"20 14.3% 4.1%","kind":"other","definedIn":"tokens/colors.css"},{"name":"--card","value":"0 0% 100%","kind":"other","definedIn":"tokens/colors.css"},{"name":"--card-foreground","value":"20 14.3% 4.1%","kind":"other","definedIn":"tokens/colors.css"},{"name":"--popover","value":"0 0% 100%","kind":"other","definedIn":"tokens/colors.css"},{"name":"--popover-foreground","value":"20 14.3% 4.1%","kind":"other","definedIn":"tokens/colors.css"},{"name":"--primary","value":"24 9.8% 10%","kind":"other","definedIn":"tokens/colors.css"},{"name":"--primary-foreground","value":"60 9.1% 97.8%","kind":"other","definedIn":"tokens/colors.css"},{"name":"--secondary","value":"60 4.8% 95.9%","kind":"other","definedIn":"tokens/colors.css"},{"name":"--secondary-foreground","value":"24 9.8% 10%","kind":"other","definedIn":"tokens/colors.css"},{"name":"--muted","value":"60 4.8% 95.9%","kind":"other","definedIn":"tokens/colors.css"},{"name":"--muted-foreground","value":"25 5.3% 44.7%","kind":"other","definedIn":"tokens/colors.css"},{"name":"--accent","value":"60 4.8% 95.9%","kind":"other","definedIn":"tokens/colors.css"},{"name":"--accent-foreground","value":"24 9.8% 10%","kind":"other","definedIn":"tokens/colors.css"},{"name":"--destructive","value":"0 84.2% 60.2%","kind":"other","definedIn":"tokens/colors.css"},{"name":"--destructive-foreground","value":"60 9.1% 97.8%","kind":"other","definedIn":"tokens/colors.css"},{"name":"--border","value":"20 5.9% 90%","kind":"other","definedIn":"tokens/colors.css"},{"name":"--input","value":"20 5.9% 90%","kind":"other","definedIn":"tokens/colors.css"},{"name":"--ring","value":"20 14.3% 4.1%","kind":"other","definedIn":"tokens/colors.css"},{"name":"--radius","value":"0.5rem","kind":"radius","definedIn":"tokens/spacing.css"},{"name":"--shell-0","value":"#050606","kind":"color","definedIn":"tokens/colors.css"},{"name":"--shell-1","value":"#07080a","kind":"color","definedIn":"tokens/colors.css"},{"name":"--shell-2","value":"#08090b","kind":"color","definedIn":"tokens/colors.css"},{"name":"--shell-3","value":"#090a0c","kind":"color","definedIn":"tokens/colors.css"},{"name":"--shell-4","value":"#09090b","kind":"color","definedIn":"tokens/colors.css"},{"name":"--shell-5","value":"#0b0c10","kind":"color","definedIn":"tokens/colors.css"},{"name":"--line-subtle","value":"rgba(255, 255, 255, 0.055)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--line","value":"rgba(255, 255, 255, 0.075)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--line-strong","value":"rgba(255, 255, 255, 0.10)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--fill-subtle","value":"rgba(255, 255, 255, 0.032)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--fill","value":"rgba(255, 255, 255, 0.045)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--fill-hover","value":"rgba(255, 255, 255, 0.075)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--text-hi","value":"#ffffff","kind":"font","definedIn":"tokens/colors.css"},{"name":"--text-1","value":"#e4e4e7","kind":"font","definedIn":"tokens/colors.css"},{"name":"--text-2","value":"#d9e2ee","kind":"font","definedIn":"tokens/colors.css"},{"name":"--text-3","value":"#a1a1aa","kind":"font","definedIn":"tokens/colors.css"},{"name":"--text-4","value":"rgba(255, 255, 255, 0.6)","kind":"font","definedIn":"tokens/colors.css"},{"name":"--text-5","value":"rgba(255, 255, 255, 0.4)","kind":"font","definedIn":"tokens/colors.css"},{"name":"--text-slate-500","value":"#64748b","kind":"font","definedIn":"tokens/colors.css"},{"name":"--color-bg","value":"hsl(var(--background))","kind":"color","definedIn":"tokens/colors.css"},{"name":"--color-fg","value":"hsl(var(--foreground))","kind":"color","definedIn":"tokens/colors.css"},{"name":"--surface-card","value":"hsl(var(--card))","kind":"color","definedIn":"tokens/colors.css"},{"name":"--surface-popover","value":"hsl(var(--popover))","kind":"color","definedIn":"tokens/colors.css"},{"name":"--text-body","value":"hsl(var(--foreground))","kind":"font","definedIn":"tokens/colors.css"},{"name":"--text-muted","value":"hsl(var(--muted-foreground))","kind":"font","definedIn":"tokens/colors.css"},{"name":"--border-default","value":"hsl(var(--border))","kind":"color","definedIn":"tokens/colors.css"},{"name":"--focus-ring","value":"0 0 0 3px rgba(16,185,129,0.32)","kind":"shadow","definedIn":"tokens/elevation.css"},{"name":"--accent-primary","value":"var(--brand-green)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--font-sans","value":"\"Inter\", ui-sans-serif, system-ui, -apple-system,\n\t\t\"Segoe UI\", Roboto, Helvetica, Arial, sans-serif","kind":"font","definedIn":"tokens/typography.css"},{"name":"--font-mono","value":"\"IBM Plex Mono\", \"Fira Code\", ui-monospace,\n\t\tSFMono-Regular, Menlo, Consolas, monospace","kind":"font","definedIn":"tokens/typography.css"},{"name":"--font-caption-marker","value":"\"Permanent Marker\", cursive","kind":"font","definedIn":"tokens/typography.css"},{"name":"--font-caption-hand","value":"\"Caveat\", cursive","kind":"font","definedIn":"tokens/typography.css"},{"name":"--font-caption-impact","value":"\"Bebas Neue\", \"Oswald\", sans-serif","kind":"font","definedIn":"tokens/typography.css"},{"name":"--font-caption-serif","value":"\"Playfair Display\", Georgia, serif","kind":"font","definedIn":"tokens/typography.css"},{"name":"--font-caption-grotesk","value":"\"Space Grotesk\", sans-serif","kind":"font","definedIn":"tokens/typography.css"},{"name":"--fw-regular","value":"400","kind":"other","definedIn":"tokens/typography.css"},{"name":"--fw-medium","value":"500","kind":"other","definedIn":"tokens/typography.css"},{"name":"--fw-semibold","value":"600","kind":"other","definedIn":"tokens/typography.css"},{"name":"--fw-bold","value":"700","kind":"other","definedIn":"tokens/typography.css"},{"name":"--text-9","value":"9px","kind":"font","definedIn":"tokens/typography.css"},{"name":"--text-10","value":"10px","kind":"font","definedIn":"tokens/typography.css"},{"name":"--text-11","value":"11px","kind":"font","definedIn":"tokens/typography.css"},{"name":"--text-12","value":"12px","kind":"font","definedIn":"tokens/typography.css"},{"name":"--text-13","value":"13px","kind":"font","definedIn":"tokens/typography.css"},{"name":"--text-sm","value":"14px","kind":"font","definedIn":"tokens/typography.css"},{"name":"--text-base","value":"16px","kind":"font","definedIn":"tokens/typography.css"},{"name":"--text-lg","value":"18px","kind":"font","definedIn":"tokens/typography.css"},{"name":"--text-xl","value":"20px","kind":"font","definedIn":"tokens/typography.css"},{"name":"--text-2xl","value":"24px","kind":"font","definedIn":"tokens/typography.css"},{"name":"--lh-none","value":"1","kind":"other","definedIn":"tokens/typography.css"},{"name":"--lh-tight","value":"1.15","kind":"other","definedIn":"tokens/typography.css"},{"name":"--lh-snug","value":"1.35","kind":"other","definedIn":"tokens/typography.css"},{"name":"--lh-normal","value":"1.5","kind":"other","definedIn":"tokens/typography.css"},{"name":"--lh-relaxed","value":"1.6","kind":"other","definedIn":"tokens/typography.css"},{"name":"--tracking-tight","value":"-0.01em","kind":"font","definedIn":"tokens/typography.css"},{"name":"--tracking-normal","value":"0","kind":"font","definedIn":"tokens/typography.css"},{"name":"--space-0","value":"0","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--space-0-5","value":"2px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--space-1","value":"4px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--space-1-5","value":"6px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--space-2","value":"8px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--space-2-5","value":"10px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--space-3","value":"12px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--space-3-5","value":"14px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--space-4","value":"16px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--space-5","value":"20px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--space-6","value":"24px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--space-8","value":"32px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--space-10","value":"40px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--space-12","value":"48px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--radius-sm","value":"6px","kind":"radius","definedIn":"tokens/radii.css"},{"name":"--radius-md","value":"9px","kind":"radius","definedIn":"tokens/radii.css"},{"name":"--radius-lg","value":"11px","kind":"radius","definedIn":"tokens/radii.css"},{"name":"--radius-xl","value":"12px","kind":"radius","definedIn":"tokens/radii.css"},{"name":"--radius-2xl","value":"14px","kind":"radius","definedIn":"tokens/radii.css"},{"name":"--radius-3xl","value":"16px","kind":"radius","definedIn":"tokens/radii.css"},{"name":"--radius-window","value":"24px","kind":"radius","definedIn":"tokens/spacing.css"},{"name":"--radius-full","value":"9999px","kind":"radius","definedIn":"tokens/spacing.css"},{"name":"--control-h-xs","value":"28px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--control-h-sm","value":"32px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--control-h-md","value":"36px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--control-h-lg","value":"40px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--icon-xs","value":"11px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--icon-sm","value":"13px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--icon-md","value":"16px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--icon-lg","value":"20px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--rail-width","value":"clamp(286px, 20vw, 352px)","kind":"other","definedIn":"tokens/spacing.css"},{"name":"--workspace-pad","value":"14px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--radius-xs","value":"2px","kind":"radius","definedIn":"tokens/radii.css"},{"name":"--radius-pill","value":"9999px","kind":"radius","definedIn":"tokens/radii.css"},{"name":"--elev-card","value":"inset 0 1px 0 rgba(255,255,255,0.04), 0 2px 10px -4px rgba(0,0,0,0.55)","kind":"shadow","definedIn":"tokens/elevation.css"},{"name":"--elev-pop","value":"0 20px 50px -16px rgba(0,0,0,0.75), inset 0 1px 0 rgba(255,255,255,0.05)","kind":"shadow","definedIn":"tokens/elevation.css"},{"name":"--glow-accent","value":"0 2px 10px -3px var(--accent-soft)","kind":"color","definedIn":"tokens/elevation.css"},{"name":"--elev-card","value":"0 1px 2px rgba(15,23,42,0.05), 0 2px 10px -3px rgba(15,23,42,0.08)","kind":"shadow","definedIn":"tokens/elevation.css","scope":"[data-theme=\"light\"]"},{"name":"--elev-pop","value":"0 20px 48px -16px rgba(15,23,42,0.22), 0 4px 12px rgba(15,23,42,0.08)","kind":"shadow","definedIn":"tokens/elevation.css","scope":"[data-theme=\"light\"]"},{"name":"--focus-ring","value":"0 0 0 3px rgba(16,185,129,0.2)","kind":"shadow","definedIn":"tokens/elevation.css","scope":"[data-theme=\"light\"]"},{"name":"--shadow-hud","value":"0 20px 60px rgba(0, 0, 0, 0.42),\n\t\tinset 0 1px 0 rgba(255, 255, 255, 0.06)","kind":"shadow","definedIn":"tokens/effects.css"},{"name":"--shadow-panel","value":"0 24px 70px rgba(0, 0, 0, 0.42),\n\t\tinset 0 1px 0 rgba(255, 255, 255, 0.045)","kind":"shadow","definedIn":"tokens/effects.css"},{"name":"--shadow-popover","value":"0 18px 42px rgba(0, 0, 0, 0.48),\n\t\tinset 0 1px 0 rgba(255, 255, 255, 0.045)","kind":"shadow","definedIn":"tokens/effects.css"},{"name":"--shadow-card","value":"inset 0 1px 0 rgba(255, 255, 255, 0.035)","kind":"shadow","definedIn":"tokens/effects.css"},{"name":"--shadow-card-hover","value":"0 10px 24px rgba(0, 0, 0, 0.22),\n\t\tinset 0 1px 0 rgba(255, 255, 255, 0.04)","kind":"shadow","definedIn":"tokens/effects.css"},{"name":"--shadow-badge","value":"0 6px 14px rgba(0, 0, 0, 0.35)","kind":"shadow","definedIn":"tokens/effects.css"},{"name":"--shadow-inset-hi","value":"inset 0 1px 0 rgba(255, 255, 255, 0.025)","kind":"shadow","definedIn":"tokens/effects.css"},{"name":"--shadow-capture","value":"0 40px 90px rgba(0, 0, 0, 0.45),\n\t\t0 12px 32px rgba(0, 0, 0, 0.35)","kind":"shadow","definedIn":"tokens/effects.css"},{"name":"--glass-blur","value":"blur(24px) saturate(150%)","kind":"other","definedIn":"tokens/effects.css"},{"name":"--glass-blur-strong","value":"blur(24px) saturate(140%)","kind":"other","definedIn":"tokens/effects.css"},{"name":"--glass-shell","value":"linear-gradient(\n\t\t145deg,\n\t\trgba(13, 14, 17, 0.94) 0%,\n\t\trgba(8, 9, 12, 0.9) 100%\n\t)","kind":"other","definedIn":"tokens/effects.css"},{"name":"--glass-hud","value":"rgba(7, 8, 10, 0.9)","kind":"color","definedIn":"tokens/effects.css"},{"name":"--glass-popover","value":"rgba(8, 9, 12, 0.96)","kind":"color","definedIn":"tokens/effects.css"},{"name":"--gradient-workspace","value":"radial-gradient(\n\t\t\tcircle at 18% 0%,\n\t\t\trgba(52, 178, 123, 0.08),\n\t\t\ttransparent 30%\n\t\t),\n\t\tlinear-gradient(180deg, #08090b 0%, #050606 100%)","kind":"other","definedIn":"tokens/effects.css"},{"name":"--gradient-panel","value":"linear-gradient(\n\t\t\t180deg,\n\t\t\trgba(255, 255, 255, 0.035),\n\t\t\trgba(255, 255, 255, 0.012)\n\t\t),\n\t\t#090a0c","kind":"other","definedIn":"tokens/effects.css"},{"name":"--gradient-selected","value":"linear-gradient(\n\t\t145deg,\n\t\trgba(52, 178, 123, 0.13),\n\t\trgba(255, 255, 255, 0.045)\n\t)","kind":"other","definedIn":"tokens/effects.css"},{"name":"--dur-fast","value":"120ms","kind":"other","definedIn":"tokens/effects.css"},{"name":"--dur-base","value":"150ms","kind":"other","definedIn":"tokens/effects.css"},{"name":"--dur-mid","value":"200ms","kind":"other","definedIn":"tokens/effects.css"},{"name":"--dur-slow","value":"300ms","kind":"other","definedIn":"tokens/effects.css"},{"name":"--press-scale","value":"0.95","kind":"other","definedIn":"tokens/effects.css"},{"name":"--ring-focus","value":"0 0 0 2px var(--brand-green-ring)","kind":"color","definedIn":"tokens/effects.css"},{"name":"--ring-slider","value":"0 0 0 4px rgba(52, 178, 123, 0.12)","kind":"shadow","definedIn":"tokens/effects.css"}],"themes":[{"selector":".dark","label":"Dark"},{"selector":"[data-theme=\"light\"]","label":"Light"}],"fonts":[],"brandFonts":[{"family":"Inter","status":"ok","tokens":["--font-sans"],"path":"tokens/typography.css"},{"family":"IBM Plex Mono","status":"ok","tokens":["--font-mono"],"path":"tokens/typography.css"},{"family":"Permanent Marker","status":"ok","tokens":["--font-caption-marker"],"path":"tokens/typography.css"},{"family":"Caveat","status":"ok","tokens":["--font-caption-hand"],"path":"tokens/typography.css"},{"family":"Bebas Neue","status":"ok","tokens":["--font-caption-impact"],"path":"tokens/typography.css"},{"family":"Playfair Display","status":"ok","tokens":["--font-caption-serif"],"path":"tokens/typography.css"},{"family":"Space Grotesk","status":"ok","tokens":["--font-caption-grotesk"],"path":"tokens/typography.css"}],"source":"spa"}
diff --git a/design/components/editor/TimelinePill.jsx b/design/components/editor/TimelinePill.jsx
index 91d4572f0..126747236 100644
--- a/design/components/editor/TimelinePill.jsx
+++ b/design/components/editor/TimelinePill.jsx
@@ -1,25 +1,34 @@
import React from 'react';
/**
- * OpenScreen TimelinePill — a labelled marker on a timeline lane.
- * tone maps to the four lane accents. `fixedWidth` (tag mode) sizes to
- * content; otherwise it spans a range via left/width percentages.
+ * OpenScreen TimelinePill — a labelled effect on a timeline lane.
+ * Source: `.lanePill` in src/components/ai-edition/v4/EditorShellV4.module.css.
+ *
+ * "Candy": a solid gradient in the lane colour with a glow under it (--candy-glow,
+ * 12% light / 35% dark), no border, no gloss line, and dark ink #0b1220 on every
+ * colour: the light lane colours cannot carry white. Zoom is blue (--zoom) so it never
+ * reads as the recording clip, which owns the brand green (--clip).
+ * `widthPct` spans a range; leave it null to size to the content.
*/
+const TONES = {
+ zoom: 'var(--zoom)',
+ annotation: 'var(--annotation)',
+ speed: 'var(--speed)',
+ trim: 'var(--danger)',
+ danger: 'var(--danger)',
+ camera: '#a855f7',
+};
+
export function TimelinePill({
- tone = 'accent',
+ tone = 'zoom',
icon = null,
children,
leftPct = 0,
widthPct = null,
+ selected = false,
style = {},
}) {
- const map = {
- accent: { c: 'var(--accent)', w: 'var(--accent-soft)' },
- annotation: { c: 'var(--annotation)', w: 'var(--annotation-wash)' },
- speed: { c: 'var(--speed)', w: 'var(--speed-wash)' },
- danger: { c: 'var(--danger)', w: 'var(--danger-soft)' },
- };
- const t = map[tone] || map.accent;
+ const c = TONES[tone] || TONES.zoom;
return (
<span
style={{
@@ -27,16 +36,20 @@ export function TimelinePill({
top: 1,
left: `${leftPct}%`,
width: widthPct == null ? 'max-content' : `${widthPct}%`,
+ minWidth: 1,
height: 22,
display: 'inline-flex',
alignItems: 'center',
gap: 5,
- padding: '0 9px 0 7px',
- borderRadius: 6,
- border: `1.5px solid ${t.c}`,
- background: t.w,
- color: tone === 'danger' ? 'var(--danger)' : 'var(--fg)',
- fontSize: 11,
+ padding: '0 8px 0 7px',
+ borderRadius: 8,
+ border: '1px solid transparent',
+ background: `linear-gradient(180deg, color-mix(in oklab, ${c} 72%, white), ${c}) border-box`,
+ boxShadow: selected
+ ? `0 0 0 2px var(--bg), 0 0 0 3.5px ${c}`
+ : `0 2px 6px color-mix(in oklab, ${c} var(--candy-glow), transparent)`,
+ color: '#0b1220',
+ fontSize: 12,
fontWeight: 600,
whiteSpace: 'nowrap',
overflow: 'hidden',
diff --git a/design/components/editor/editor.card.html b/design/components/editor/editor.card.html
index 017c424c8..a167130be 100644
--- a/design/components/editor/editor.card.html
+++ b/design/components/editor/editor.card.html
@@ -22,9 +22,9 @@
const Bot=<svg width="15" height="15" viewBox="0 0 16 16" shapeRendering="crispEdges"><rect x="7" y="0" width="2" height="2" fill="currentColor"/><rect x="3" y="3" width="10" height="9" rx="1" fill="none" stroke="currentColor" strokeWidth="1.4"/><rect x="5" y="6" width="2" height="2" fill="currentColor"/><rect x="9" y="6" width="2" height="2" fill="currentColor"/><rect x="5.5" y="9.5" width="5" height="1.4" fill="currentColor"/></svg>;
function Demo(){
- const [facet,setFacet]=React.useState('bg');
+ const [facet,setFacet]=React.useState('fx');
React.useEffect(()=>{ window.lucide && window.lucide.createIcons(); });
- const facets=[['bg','image'],['fx','sliders-horizontal'],['layout','layout'],['cursor','mouse-pointer-2'],['cap','captions'],['crop','crop']];
+ const facets=[['fx','sliders-horizontal'],['layout','layout'],['cursor','mouse-pointer-2'],['cap','captions'],['crop','crop']];
return (
<React.Fragment>
<div>
@@ -47,8 +47,8 @@
</div>
<div style={{position:'relative',height:24,borderRadius:6,background:'var(--surface-1)'}}>
<TimelinePill tone="speed" leftPct={18} widthPct={12} icon={I('clock',11)}>1.5×</TimelinePill>
- <TimelinePill tone="danger" leftPct={40} widthPct={18}>0:37.3</TimelinePill>
- <TimelinePill tone="accent" leftPct={70} widthPct={10} icon={I('zoom-in',11)}>1.8×</TimelinePill>
+ <TimelinePill tone="trim" leftPct={40} widthPct={18}>0:37.3</TimelinePill>
+ <TimelinePill tone="zoom" leftPct={70} widthPct={10} icon={I('zoom-in',11)} selected>1.8×</TimelinePill>
</div>
</div>
</div>
diff --git a/design/components/forms/ChoiceRow.jsx b/design/components/forms/ChoiceRow.jsx
new file mode 100644
index 000000000..fd64dee57
--- /dev/null
+++ b/design/components/forms/ChoiceRow.jsx
@@ -0,0 +1,79 @@
+import React from 'react';
+
+/**
+ * OpenScreen ChoiceRow — a fixed choice picked in one click. Replaces a select or a
+ * dropdown whenever the options are few and known (Format, frame style, theme, focus
+ * mode, caption font, shadow and bounce levels…): every value stays visible.
+ * Source: `ChoiceRow` in src/components/ai-edition/RightPanes.tsx, CSS
+ * `.choiceRow / .choiceBtn / .choiceRowTiles` in NewEditorShell.module.css.
+ *
+ * Equal grid cells, 4px gap. The pressed option carries the app's one selected look:
+ * accent border on the accent tint, fg text. `tiles` makes 44px cells for icons that
+ * draw their choice. A value that matches no option (a stored level between two named
+ * ones) presses nothing. Only a long list (the 15 translation targets) stays a Select.
+ *
+ * options: string | { value, label, icon? }; `null` leaves a hole in the grid.
+ */
+export function ChoiceRow({
+ label,
+ options = [],
+ value,
+ onChange,
+ columns,
+ tiles = false,
+ disabled = false,
+ style = {},
+}) {
+ const norm = options.map((o) => (o == null || typeof o === 'object' ? o : { value: o, label: o }));
+ return (
+ <div style={{ display: 'grid', gap: 6, ...style }}>
+ {label && <span style={{ font: '500 13px/1.3 var(--font-body)', color: 'var(--fg-2)' }}>{label}</span>}
+ <div
+ role="group"
+ aria-label={label}
+ style={{ display: 'grid', gap: 4, gridTemplateColumns: `repeat(${columns || norm.length}, minmax(0, 1fr))` }}
+ >
+ {norm.map((o, i) => {
+ if (o == null) return <span key={`hole-${i}`} aria-hidden="true" />;
+ const pressed = o.value === value;
+ return (
+ <button
+ key={String(o.value)}
+ type="button"
+ aria-pressed={pressed}
+ aria-label={o.icon && !tiles ? o.label : undefined}
+ title={o.label}
+ disabled={disabled}
+ onClick={() => !pressed && onChange && onChange(o.value)}
+ style={{
+ minWidth: 0,
+ minHeight: tiles ? 44 : 32,
+ padding: '0 6px',
+ display: 'inline-flex',
+ flexDirection: 'column',
+ alignItems: 'center',
+ justifyContent: 'center',
+ gap: 3,
+ borderRadius: 'var(--r-md)',
+ border: `1px solid ${pressed ? 'var(--accent)' : 'transparent'}`,
+ background: pressed ? 'var(--accent-soft)' : 'color-mix(in oklab, var(--fg) 6%, transparent)',
+ color: pressed ? 'var(--fg)' : 'var(--fg-2)',
+ font: '500 12.5px/1.2 var(--font-body)',
+ fontVariantNumeric: 'tabular-nums',
+ whiteSpace: 'nowrap',
+ overflow: 'hidden',
+ textOverflow: 'ellipsis',
+ cursor: disabled ? 'not-allowed' : 'pointer',
+ opacity: disabled ? 0.5 : 1,
+ transition: 'background var(--motion-fast) var(--ease), border-color var(--motion-fast) var(--ease)',
+ }}
+ >
+ {o.icon}
+ {o.icon ? (tiles && <span style={{ fontSize: 12 }}>{o.label}</span>) : o.label}
+ </button>
+ );
+ })}
+ </div>
+ </div>
+ );
+}
diff --git a/design/components/forms/Select.jsx b/design/components/forms/Select.jsx
index 939954272..9e3975780 100644
--- a/design/components/forms/Select.jsx
+++ b/design/components/forms/Select.jsx
@@ -1,8 +1,9 @@
import React from 'react';
/**
- * OpenScreen Select — native dropdown styled to match. Used for
- * caption style, layout preset, transcript language, etc.
+ * OpenScreen Select — native dropdown styled to match. Only for a LONG list
+ * (the 15 translation targets). A fixed choice of a few values is a ChoiceRow:
+ * one click, every value visible (commit e4c56004).
*/
export function Select({
options = [],
diff --git a/design/components/forms/Slider.jsx b/design/components/forms/Slider.jsx
index fcab589fd..e75aef88e 100644
--- a/design/components/forms/Slider.jsx
+++ b/design/components/forms/Slider.jsx
@@ -1,9 +1,15 @@
import React from 'react';
/**
- * OpenScreen Slider — the labelled range control inside inspector cards.
- * Renders the whole card: label (left) + mono value in emerald (right)
- * above a filled range track. Pass `card={false}` for a bare track.
+ * OpenScreen Slider — a continuous amount (padding, roundness, blur 0–100 %, cursor
+ * size). Source: `.sliderCell` in src/components/ai-edition/NewEditorShell.module.css.
+ *
+ * A free row, never a card: label left, the value right in --muted body text (not mint,
+ * not mono), a 6px track filled in the brand colour. When the number has no unit (a
+ * cursor size of "30.0") show no value at all: `format` returns null and the track's
+ * position is the value. When the number means nothing to a user (shadow, click
+ * bounce), use a ChoiceRow of named levels instead of a slider.
+ * Pass `bare` for the track alone.
*/
export function Slider({
label,
@@ -13,16 +19,10 @@ export function Slider({
step = 1,
format,
onChange,
- card = true,
+ bare = false,
style = {},
}) {
const pct = ((value - min) / (max - min)) * 100;
- const trackStyle = {
- width: '100%',
- display: 'block',
- backgroundImage: `linear-gradient(var(--accent),var(--accent)), linear-gradient(var(--surface-3),var(--surface-3))`,
- backgroundSize: `${pct}% 5px, 100% 5px`,
- };
const display = format ? format(value) : value;
const input = (
@@ -33,25 +33,24 @@ export function Slider({
step={step}
value={value}
onChange={(e) => onChange && onChange(Number(e.target.value))}
- style={trackStyle}
+ style={{
+ width: '100%',
+ display: 'block',
+ backgroundImage: `linear-gradient(var(--brand),var(--brand)), linear-gradient(var(--border-hi),var(--border-hi))`,
+ backgroundSize: `${pct}% 6px, 100% 6px`,
+ }}
/>
);
- if (!card) return input;
+ if (bare) return input;
return (
- <div
- style={{
- border: '1px solid var(--border)',
- borderRadius: 12,
- background: 'var(--surface)',
- padding: '11px 13px',
- ...style,
- }}
- >
- <div style={{ display: 'flex', alignItems: 'center', marginBottom: 8 }}>
- <span style={{ fontSize: 11.5, fontWeight: 500, color: 'var(--fg-2)' }}>{label}</span>
- <span style={{ fontFamily: 'var(--font-mono)', fontSize: 11, color: 'var(--accent)', marginLeft: 'auto' }}>{display}</span>
+ <div style={{ display: 'grid', gap: 10, padding: '12px 0', ...style }}>
+ <div style={{ display: 'flex', alignItems: 'center', gap: 6, minHeight: 20 }}>
+ <span style={{ font: '500 13px/1.3 var(--font-body)', color: 'var(--fg-2)', marginRight: 'auto' }}>{label}</span>
+ {display != null && (
+ <span style={{ font: '500 12px/1.3 var(--font-body)', fontVariantNumeric: 'tabular-nums', color: 'var(--muted)' }}>{display}</span>
+ )}
</div>
{input}
</div>
diff --git a/design/components/forms/forms.card.html b/design/components/forms/forms.card.html
index 6f469756b..a4c7927bd 100644
--- a/design/components/forms/forms.card.html
+++ b/design/components/forms/forms.card.html
@@ -1,4 +1,4 @@
-<!-- @dsCard group="Components" viewport="700x430" subtitle="Button · IconButton · SegmentedControl · Switch · Slider · Select · TextField" name="Forms" -->
+<!-- @dsCard group="Components" viewport="700x520" subtitle="Button · IconButton · SegmentedControl · ChoiceRow · Switch · Slider · Select · TextField" name="Forms" -->
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8">
<link rel="stylesheet" href="../../styles.css">
<script crossorigin src="https://unpkg.com/react@18/umd/react.production.min.js"></script>
@@ -23,13 +23,16 @@
}
const Button = pick('Button'), IconButton = pick('IconButton'),
SegmentedControl = pick('SegmentedControl'), Switch = pick('Switch'),
- Slider = pick('Slider'), Select = pick('Select'), TextField = pick('TextField');
+ Slider = pick('Slider'), Select = pick('Select'), TextField = pick('TextField'),
+ ChoiceRow = pick('ChoiceRow');
const I = (n, s=15) => <i data-lucide={n} style={{width:s,height:s}}></i>;
function Demo(){
const [mode,setMode] = React.useState('Edit');
const [on,setOn] = React.useState(true);
- const [sh,setSh] = React.useState(24);
+ const [pad,setPad] = React.useState(24);
+ const [sh,setSh] = React.useState(0.6);
+ const [fmt,setFmt] = React.useState('16:9');
const [q,setQ] = React.useState('');
React.useEffect(()=>{ window.lucide && window.lucide.createIcons(); });
return (
@@ -50,6 +53,11 @@
<SegmentedControl options={['Media','Edit','Rec']} value={mode} onChange={setMode} />
<SegmentedControl size="sm" options={['Screen','Window']} value={mode==='Rec'?'Window':'Screen'} onChange={()=>{}} />
</div>
+ <div className="grp"><span className="cap">CHOICEROW · a fixed choice, one click</span>
+ <div className="col"><ChoiceRow label="Format" options={['Auto','16:9','9:16','1:1']} value={fmt} onChange={setFmt} /></div>
+ <div className="col"><ChoiceRow label="Shadow" value={sh} onChange={setSh}
+ options={[{value:0,label:'None'},{value:0.3,label:'Light'},{value:0.6,label:'Medium'},{value:0.9,label:'Strong'}]} /></div>
+ </div>
<div className="grp"><span className="cap">SWITCH</span>
<Switch checked={on} onChange={setOn} />
<Switch checked={!on} onChange={()=>setOn(!on)} />
@@ -57,10 +65,10 @@
</div>
<div className="grp">
<div className="col"><span className="cap">SLIDER</span>
- <Slider label="Shadow" value={sh} onChange={setSh} format={v=>`${v}%`} />
+ <Slider label="Padding" value={pad} onChange={setPad} format={v=>`${v}%`} />
</div>
- <div className="col"><span className="cap">SELECT</span>
- <Select options={['Bold Center','Minimal Bottom','Karaoke','Boxed']} value="Bold Center" onChange={()=>{}} />
+ <div className="col"><span className="cap">SELECT · long lists only</span>
+ <Select options={['English','French','German','Spanish','Italian','Portuguese','Japanese']} value="French" onChange={()=>{}} />
</div>
<div className="col"><span className="cap">TEXTFIELD</span>
<TextField leadingIcon={I('search')} placeholder="Search media…" value={q} onChange={setQ} />
diff --git a/design/guidelines/colors-semantic.card.html b/design/guidelines/colors-semantic.card.html
index adb7bdc50..063102d8d 100644
--- a/design/guidelines/colors-semantic.card.html
+++ b/design/guidelines/colors-semantic.card.html
@@ -1,15 +1,20 @@
-<!-- @dsCard group="Colors" viewport="700x150" subtitle="Timeline lanes & status — rationed accents" name="Semantic" -->
+<!-- @dsCard group="Colors" viewport="700x150" subtitle="Timeline candy: green clip, blue zoom, dark ink" name="Semantic" -->
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8">
<link rel="stylesheet" href="../styles.css">
<style>
body{margin:0;background:var(--bg);color:var(--fg);font-family:var(--font-display);padding:20px;display:flex;gap:12px;flex-wrap:wrap;}
- .pill{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px 0 8px;border-radius:var(--radius-sm);font-size:11px;font-weight:600;border:1.5px solid;box-sizing:border-box;}
+ /* .lanePill / .tlClip in src/components/ai-edition/v4/EditorShellV4.module.css */
+ .pill{--_c:var(--accent);display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px 0 8px;border-radius:8px;font-size:12px;font-weight:600;box-sizing:border-box;color:#0b1220;
+ background:linear-gradient(180deg,color-mix(in oklab,var(--_c) 72%,white),var(--_c));box-shadow:0 2px 6px color-mix(in oklab,var(--_c) var(--candy-glow),transparent);}
+ .clip{--_c:var(--clip);width:120px;height:34px;border-radius:12px;background:linear-gradient(180deg,color-mix(in oklab,var(--_c) 78%,white),var(--_c));}
.sw{display:flex;flex-direction:column;gap:8px;}
.hex{font-family:var(--font-mono);font-size:9.5px;color:var(--meta);}
</style></head>
<body>
- <div class="sw"><span class="pill" style="border-color:var(--annotation);background:var(--annotation-wash);">Annotation</span><span class="hex">annotation · #fbbf24</span></div>
- <div class="sw"><span class="pill" style="border-color:var(--speed);background:var(--speed-wash);">1.5×</span><span class="hex">speed · #fb923c</span></div>
- <div class="sw"><span class="pill" style="border-color:var(--danger);background:var(--danger-soft);color:var(--danger);">Skip / cut</span><span class="hex">danger · #f87171</span></div>
- <div class="sw"><span class="pill" style="border-color:var(--accent);background:var(--accent-soft);color:var(--accent);">Zoom 1.8×</span><span class="hex">accent · #10b981</span></div>
+ <div class="sw"><span class="pill clip">demo.mp4</span><span class="hex">clip · var(--accent)</span></div>
+ <div class="sw"><span class="pill" style="--_c:var(--zoom)">Zoom 1.8×</span><span class="hex">zoom · #3b82f6</span></div>
+ <div class="sw"><span class="pill" style="--_c:var(--annotation)">Annotation</span><span class="hex">annotation</span></div>
+ <div class="sw"><span class="pill" style="--_c:var(--speed)">1.5×</span><span class="hex">speed</span></div>
+ <div class="sw"><span class="pill" style="--_c:var(--danger)">Trim</span><span class="hex">danger</span></div>
+ <div class="sw"><span class="pill" style="--_c:#a855f7">Camera</span><span class="hex">camera · #a855f7</span></div>
</body></html>
diff --git a/design/openscreen-editor.html b/design/openscreen-editor.html
index 8a740b1c5..7f693b1bf 100644
--- a/design/openscreen-editor.html
+++ b/design/openscreen-editor.html
@@ -77,6 +77,12 @@
--speed: #f97316; /* orange-500 */
--speed-soft: rgba(249, 115, 22, 0.14);
+ /* timeline candy (tokens/v4.css): the clip is the brand green, zooms blue */
+ --clip: var(--accent);
+ --zoom: #3b82f6;
+ --candy-glow: 12%;
+ --playhead: #6c55ff;
+
/* semantic — success = brand (DS has no separate green) */
--success: #10b981;
--success-soft: rgba(16, 185, 129, 0.10);
@@ -216,6 +222,7 @@
--annotation-soft: rgba(251, 191, 36, 0.16);
--speed: #fb923c; /* orange-400 */
--speed-soft: rgba(251, 146, 60, 0.16);
+ --candy-glow: 35%;
/* success = brand */
--success: #10b981;
@@ -1193,7 +1200,7 @@
cursor: pointer;
transition: background 150ms ease, color 150ms ease;
}
- .pane-tabs button.is-active { background: var(--brand); color: var(--accent-on); box-shadow: 0 1px 2px rgba(22,23,29,.12); }
+ .pane-tabs button.is-active { background: var(--surface-hi); color: var(--fg-emphasis); font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.pane-section { display: none; }
.pane-section.is-active { display: block; }
@@ -1212,18 +1219,20 @@
.bg-grid {
display: grid;
- grid-template-columns: repeat(4, 1fr);
- gap: 8px;
+ grid-template-columns: repeat(8, minmax(0, 1fr));
+ gap: 5px;
padding: 0 var(--sp-4) var(--sp-4);
}
.bg-thumb {
aspect-ratio: 1/1;
- border-radius: 10px;
+ border-radius: 8px;
border: 1px solid transparent;
cursor: pointer;
transition: transform 150ms ease, border-color 150ms ease;
}
.bg-thumb:hover { transform: translateY(-1px); }
+ .bg-add { display: grid; place-items: center; border: 1px dashed var(--border-hi); background: transparent; color: var(--muted); }
+ .bg-add:hover { border-color: var(--accent); color: var(--accent); }
.bg-thumb.is-active {
border-color: var(--brand);
box-shadow: 0 0 0 2px color-mix(in oklab, var(--brand), transparent 70%);
@@ -1312,11 +1321,8 @@
.pane-row {
display: flex; align-items: center; justify-content: space-between;
gap: 12px;
- padding: 12px 14px;
+ padding: 12px 0;
margin: 8px var(--sp-4);
- border: 1px solid var(--border);
- border-radius: 10px;
- background: var(--bg);
}
.pane-row .label { font: 500 13px var(--font-body); color: var(--fg-2); }
.pane-row .info { color: var(--meta); font-size: 12px; margin-left: 4px; }
@@ -1346,25 +1352,24 @@
.slider-grid {
display: grid;
- grid-template-columns: 1fr 1fr;
- gap: 10px;
+ grid-template-columns: 1fr;
+ gap: 8px;
padding: 0 var(--sp-4) var(--sp-4);
}
+ /* a free row, like .pane-row: no card around the label, value and track */
.slider-cell {
- border: 1px solid var(--border);
- border-radius: 10px;
- background: var(--bg);
- padding: 10px 12px;
+ padding: 12px 0;
display: grid;
grid-template-rows: auto auto;
- gap: 8px;
+ gap: 10px;
}
- .slider-cell .head { display: flex; align-items: center; gap: 6px; }
- .slider-cell .label { font: 500 11px var(--font-body); color: var(--fg-2); }
- .slider-cell .val { font: 500 11px var(--font-mono); color: var(--brand); margin-left: auto; }
+ .slider-cell .head { display: flex; align-items: center; gap: 6px; min-height: 20px; }
+ .slider-cell .label { font: 500 13px var(--font-body); color: var(--fg-2); }
+ /* --muted body text, not mint mono: mint text is 2.3:1 on the light row */
+ .slider-cell .val { font: 500 12px var(--font-body); font-variant-numeric: tabular-nums; color: var(--muted); margin-left: auto; }
.slider-cell input[type=range] {
- width: 100%; height: 4px;
- background: var(--border);
+ width: 100%; height: 6px;
+ background: var(--border-hi);
border-radius: 2px;
outline: none;
-webkit-appearance: none;
@@ -1390,7 +1395,7 @@
.slider-cell input[type=range]:disabled { cursor: not-allowed; }
.section-label {
- font: 500 12px var(--font-body);
+ font: 600 13px/1.3 var(--font-body);
color: var(--fg-2);
margin: 4px var(--sp-4) 8px;
}
@@ -1417,6 +1422,17 @@
outline: none;
}
.field select:focus, .field input:focus { border-color: var(--brand); }
+ /* ChoiceRow: a fixed choice in one click (src/components/ai-edition/NewEditorShell.module.css) */
+ .choice-row { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 4px; }
+ .choice-btn {
+ min-width: 0; min-height: 32px; padding: 0 6px;
+ border: 1px solid transparent; border-radius: var(--r-md);
+ background: color-mix(in oklab, var(--fg) 6%, transparent);
+ color: var(--fg-2); font: 500 12.5px/1.2 var(--font-body);
+ white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer;
+ }
+ .choice-btn:hover { background: color-mix(in oklab, var(--fg) 11%, transparent); }
+ .choice-btn.is-active { border-color: var(--accent); background: var(--accent-soft); color: var(--fg); }
.transcript-list {
display: grid;
@@ -1705,7 +1721,7 @@
left: 120px;
width: 2px;
bottom: 0;
- background-color: var(--accent);
+ background-color: var(--playhead);
z-index: 10;
pointer-events: none;
}
@@ -1716,7 +1732,7 @@
left: -3px;
width: 8px;
height: 8px;
- background: var(--accent);
+ background: var(--playhead);
transform: rotate(45deg);
}
@@ -1726,35 +1742,40 @@
gap: 4px;
position: relative;
}
+ /* the recording clip: a solid candy card in the brand green (--clip), dark ink #0b1220
+ on it (mint cannot carry white: 2.3:1 against 8.2:1). .tlClip in EditorShellV4.module.css */
.track-block {
- background: var(--surface-2);
- border: 1px solid var(--border);
- border-radius: var(--r-md);
+ background: linear-gradient(180deg, color-mix(in oklab, var(--clip) 78%, white), var(--clip)) border-box;
+ border: 1px solid transparent;
+ border-radius: 12px;
+ color: #0b1220;
overflow: visible;
position: relative;
display: flex;
flex-direction: column;
cursor: pointer;
- box-shadow: var(--elev-card-soft);
+ box-shadow: 0 3px 10px color-mix(in oklab, var(--clip) var(--candy-glow), transparent);
transition: border-color var(--motion-fast) var(--ease),
box-shadow var(--motion-fast) var(--ease);
}
.track-block.block-1 { flex: 36.5; }
.track-block.block-2 { flex: 63.5; }
- .track-block:hover { border-color: var(--border-hi); }
+ /* selection = a halo ring set off by a gap: a border does not show on a solid card */
.track-block.is-selected {
- border-color: var(--accent);
- box-shadow: 0 0 0 1px var(--accent), 0 4px 12px -4px var(--accent-soft);
+ box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--clip);
}
+ .track-block .track-title,
+ .track-block .track-subtitle { color: #0b1220; }
+ .track-block .track-subtitle span { color: rgb(11 18 32 / 0.5); }
/* visual timeline strip — hatched cut regions + transparent keep regions */
.track-visual-timeline {
height: 28px;
- border-bottom: 1px solid var(--border);
- border-radius: var(--r-md) var(--r-md) 0 0;
+ border-bottom: 1px solid rgb(11 18 32 / 0.15);
+ border-radius: 12px 12px 0 0;
overflow: hidden;
display: flex;
- background: var(--surface);
+ background: transparent;
}
.segment {
height: 100%;
@@ -1763,11 +1784,11 @@
background: transparent;
}
.segment.cut {
- background-color: var(--accent-wash);
+ background-color: rgb(11 18 32 / 0.08);
background-image: repeating-linear-gradient(
45deg,
- color-mix(in oklch, var(--accent) 32%, transparent) 0,
- color-mix(in oklch, var(--accent) 32%, transparent) 8px,
+ rgb(11 18 32 / 0.18) 0,
+ rgb(11 18 32 / 0.18) 8px,
transparent 8px,
transparent 16px
);
@@ -1963,28 +1984,21 @@
gap: 6px;
height: auto;
padding: 5px 10px 6px;
- background:
- linear-gradient(
- 180deg,
- color-mix(in oklch, var(--_pill) 14%, var(--bg)) 0%,
- color-mix(in oklch, var(--_pill) 6%, var(--bg)) 60%,
- var(--bg) 100%
- );
- border: 1.5px solid var(--_pill);
- border-radius: var(--r-md);
- color: var(--fg);
+ /* candy (.lanePill): solid gradient + glow, dark ink on every lane colour */
+ background: linear-gradient(180deg, color-mix(in oklab, var(--_pill) 72%, white), var(--_pill)) border-box;
+ border: 1px solid transparent;
+ border-radius: 8px;
+ color: #0b1220;
font: 600 11.5px/1 var(--font-display);
letter-spacing: 0.01em;
font-variant-numeric: tabular-nums;
white-space: nowrap;
pointer-events: auto;
- box-shadow:
- 0 4px 12px -8px color-mix(in oklch, var(--_pill) 60%, transparent),
- inset 0 1px 0 color-mix(in oklch, var(--_pill) 30%, transparent);
+ box-shadow: 0 2px 6px color-mix(in oklab, var(--_pill) var(--candy-glow), transparent);
}
/* per-type frame color (uses a private var so the gradient + shadow
above can share it without re-declaring the body three times) */
- .zoom-pill { --_pill: var(--accent); }
+ .zoom-pill { --_pill: var(--zoom); }
.speed-pill { --_pill: var(--speed); }
.annotation-pin { --_pill: var(--annotation); }
@@ -1993,24 +2007,17 @@
flex-shrink: 0;
width: 12px;
height: 12px;
- color: color-mix(in oklch, var(--_pill) 70%, var(--fg));
+ color: currentColor;
}
/* value = main text inside the pill */
.pill-value {
- color: var(--fg);
+ color: inherit;
font-variant-numeric: tabular-nums;
}
/* subtle hover lift for interactive annotation pins */
.annotation-pin { cursor: pointer; }
- .annotation-pin:hover {
- background-image:
- linear-gradient(
- 180deg,
- color-mix(in oklch, var(--annotation) 22%, var(--bg)) 0%,
- color-mix(in oklch, var(--annotation) 10%, var(--bg)) 100%
- );
- }
+ .annotation-pin:hover { filter: brightness(1.06); }
.annotation-pin:focus-visible {
outline: none;
box-shadow:
@@ -2029,7 +2036,7 @@
.speed-pill::after,
.annotation-pin::before,
.annotation-pin::after {
- content: '';
+ content: none; /* retired: candy pills carry no end caps */
position: absolute;
top: 50%;
width: 7px;
@@ -3407,6 +3414,7 @@
<button class="bg-thumb" style="background: linear-gradient(135deg,#6b7280,#16171d)"></button>
<button class="bg-thumb" style="background: linear-gradient(135deg,#eaebed,#bcc0c6)"></button>
<button class="bg-thumb" style="background: linear-gradient(135deg,#16171d,#6b7280)"></button>
+ <button class="bg-thumb bg-add" title="Upload" aria-label="Upload"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><line x1="12" y1="5" x2="12" y2="19"/><line x1="5" y1="12" x2="19" y2="12"/></svg></button>
</div>
</div>
@@ -3515,22 +3523,20 @@
</span>
</header>
<div class="pane-body">
- <div class="section-label">Preset</div>
- <div class="field"><label>Layout</label>
- <select>
- <option>Picture in Picture</option>
- <option>Side by Side</option>
- <option>Top / Bottom</option>
- <option>Webcam Only</option>
- <option>Screen Only</option>
- </select>
+ <div class="section-label">Layout</div>
+ <div class="choice-row" role="group" aria-label="Layout" style="margin: 0 var(--sp-4) 8px;">
+ <button class="choice-btn is-active" aria-pressed="true" title="Picture in Picture">PiP</button>
+ <button class="choice-btn" aria-pressed="false" title="Side by Side">Side</button>
+ <button class="choice-btn" aria-pressed="false" title="Top / Bottom">Stack</button>
+ <button class="choice-btn" aria-pressed="false" title="Webcam Only">Webcam</button>
+ <button class="choice-btn" aria-pressed="false" title="Screen Only">Screen</button>
</div>
<div class="pane-row">
<span class="label">Mirror Webcam</span>
<button class="toggle" data-toggle aria-label="Mirror Webcam"></button>
</div>
<div class="pane-row">
- <span class="label">Shrink on Zoom <span class="info" title="Webcam shrinks automatically when the canvas zooms in.">?</span></span>
+ <span class="label">Shrink on zoom</span>
<button class="toggle is-on" data-toggle aria-label="Shrink on Zoom"></button>
</div>
<div class="section-label">Camera Shape</div>
@@ -3591,7 +3597,7 @@
<button class="toggle is-on" data-toggle aria-label="Show Cursor"></button>
</div>
<div class="pane-row">
- <span class="label">Clip to Canvas <span class="info" title="When on, the cursor stays inside the canvas.">?</span></span>
+ <span class="label">Clip to canvas</span>
<button class="toggle" data-toggle aria-label="Clip to Canvas"></button>
</div>
<div class="section-label">Cursor Style</div>
diff --git a/design/readme.md b/design/readme.md
index 1213b8b69..a5ac6d49a 100644
--- a/design/readme.md
+++ b/design/readme.md
@@ -33,8 +33,11 @@ How OpenScreen writes.
- **Person:** the product speaks as **"I"** (the agent) to **"you"** (the creator). UI chrome is
impersonal and imperative: *"Describe the edit you want…"*, *"Drag a clip onto the timeline
below to add it"*, *"Add chapter at playhead"*.
-- **Casing:** Sentence case for body, buttons, and helper text. **UPPERCASE mono micro-labels**
- for section eyebrows only — `RECIPE`, `PRESET`, `STYLE`, `ASPECT RATIO`, `CAMERA SHAPE`.
+- **Casing:** Sentence case everywhere, section labels included (`Background`, `Frame`,
+ `Camera shape`), 600 13px `--fg-2`. Do not introduce new UPPERCASE mono eyebrows in the
+ inspector.
+- **Say it once.** No hint sentence under a setting that repeats its label, and no "disabled
+ because…" text: an option that does nothing right now is hidden. See EDITOR CONTROLS.
- **Numbers are first-class.** Timecodes (`0:00.0`), durations (`−0:37.3`), resolutions
(`1920 × 1080 · 60 fps`), counts (`3/5`, `−3 cuts`), percentages (`0% context`) all render in
**Geist Mono**. Precision reads as trustworthy.
@@ -53,10 +56,11 @@ How OpenScreen writes.
- **Theme:** dark-first. A light theme exists and is a full token swap (`data-theme="light"`),
but dark is the default and the "hero" look. The accent emerald is identical in both themes.
- **Color:** near-black blue-grey surfaces (`#080a0d` → `#2b313b`), a single **emerald** brand
- hue (`#10b981`) used sparingly for primary actions, active states, and focus. Timeline lanes
- add three semantic accents — **amber** annotations, **orange** speed ramps, **red/danger**
- skips & cuts. Color is rationed: most of the UI is greyscale, emerald marks the one thing that
- matters on screen.
+ hue (`#10b981`) used sparingly for primary actions, active states, and focus. On the timeline
+ the recording clip owns the emerald (`--clip`), zooms are **blue** (`--zoom`), and the other
+ lanes add **amber** annotations, **orange** speed ramps, **red/danger** trims: all solid
+ "candy" with dark ink. Color is rationed: most of the UI is greyscale, emerald marks the one
+ thing that matters on screen.
- **Type:** Geist for everything UI, Geist Mono for anything numeric/technical. Base 13px. Tight
negative tracking on headings; wide positive tracking on tiny uppercase labels.
- **Backgrounds:** subtle radial gradient on the app shell (lighter toward top-center). The
@@ -64,7 +68,7 @@ How OpenScreen writes.
noise/grain. Surfaces are flat fills separated by hairline borders.
- **Borders:** 1px hairlines everywhere (`--border`), with a softer variant for internal dividers
(`--border-soft`) and a brighter one for hover/handles (`--border-hi`). Selected/active
- controls get a 1.5px emerald border.
+ choices get a 1px emerald border on the accent tint.
- **Elevation:** two levels. Resting cards use a barely-there inset top highlight + soft shadow.
Floating things (inspector, transport, popover menus) use `--elev-pop` — a deep soft drop
shadow plus a 1px inner top highlight, reading as glass.
@@ -75,21 +79,71 @@ How OpenScreen writes.
- **Corner radii:** nested-radius rhythm — small controls 6–9px, cards 11–12px, panels/popovers
14–16px, status chips fully round. Containers always round more than what's nested in them.
- **Cards:** flat `--surface`/`--surface-1` fill, 1px border, radius 11–14px, `--elev-card`
- shadow. Setting cards in the inspector pair a label (left) with a mono value in emerald (right)
- above a slider.
+ shadow. **Inspector settings are not cards**: they are free rows grouped by section labels and
+ space; a slider row pairs a label (left) with a `--muted` body-font value (right).
- **Motion:** one shared easing `cubic-bezier(0.2,0,0,1)` at **0.15s** on color/border/shadow/
- transform for every interactive element. Sliders scale their thumb 1.14× on hover with an
- emerald halo. The record dot pulses (`os-pulse`, 1.4s). Content fades up 6px (`os-fade`). No
+ transform for every interactive element. Sliders have a white knob on a 6px brand-filled
+ track. The record dot pulses (`os-pulse`, 1.4s). Content fades up 6px (`os-fade`). No
bounces in chrome, no long durations.
- **Hover:** surfaces step up one level (`transparent → --surface-1/2/3`); ghost icon buttons go
`--muted → --fg`; primary buttons darken to `--brand-lo`; chips gain an `--accent-wash` fill and
`--accent-border`.
-- **Press/active/selected:** active tabs & tools get an `--accent-soft` fill with `--accent` text;
- selected clips/media get a 1.5px emerald border; toggles slide a knob and fill emerald.
+- **Press/active/selected:** active tabs are raised (`--surface-hi`, `--fg-emphasis`), not
+ accent-filled; a pressed ChoiceRow cell gets an `--accent` border on `--accent-soft`; selected
+ timeline clips and pills get a halo ring in their own colour; toggles slide a white knob and
+ fill emerald.
- **Focus:** 3px emerald ring (`--focus-ring`) via `:focus-visible`, no outline.
- **Density:** high. This is a desktop pro tool, not a marketing site. Compact controls
(26–36px tall), off-grid odd paddings (7/9/11/13px), tight gaps.
+## EDITOR CONTROLS
+
+The inspector and timeline direction the app ships (verify against the cited source before
+changing a rule; the app is the source of truth).
+
+**Choosing a value**
+- **A fixed choice is a ChoiceRow, not a select.** Equal grid cells, 4px gap, 32px tall (44px
+ `tiles` when the icon draws the choice), radius `--r-md`, fill
+ `color-mix(in oklab, var(--fg) 6%, transparent)`. Pressed = `--accent` border, `--accent-soft`
+ fill, `--fg` text. Source: `ChoiceRow` in `src/components/ai-edition/RightPanes.tsx`,
+ `.choiceRow / .choiceBtn` in `NewEditorShell.module.css` (commit e4c56004).
+- **A select only for a long list**: the 15 translation targets.
+- **Named levels, not numbers, when the number means nothing to a user.** Shadow is
+ None / Light / Medium / Strong, click bounce None / Light / Strong (`SHADOW_LEVELS`,
+ `CLICK_BOUNCE_LEVELS`). A stored value between two levels presses nothing.
+- **Sliders for continuous amounts** only: padding, roundness, blur amount 0–100 %, cursor size.
+ A value with no unit (cursor size) shows no number; the track's position is the value.
+
+**Laying out settings**
+- **Free rows, no card around each setting** (`.paneRow`, `.sliderCell`). Rows are grouped by
+ sentence-case section labels (`.sectionLabel`: 600 13px, `--fg-2`) and by space.
+- **Slider value text is `--muted`, body font**: not mint (2.3:1 on the light row), not mono.
+- **No explanatory hint text.** A label says what a setting is; do not repeat it in a sentence
+ below. An option that does nothing in the current context is **hidden**, not disabled with a
+ reason (commit 605422e8). Exception: a warning that prevents a real surprise.
+- **Tabs** (`.paneTabs`): the active tab is raised (`--surface-hi`, `--fg-emphasis`, 600, small
+ shadow), never an accent fill.
+- **Wallpaper grid**: 8 per row, 5px gap; upload is the last tile, dashed with a "+".
+- **Pane structure**: Background is a section of the Composition pane, not a facet of its own.
+ There is no Fit button. Export offers named destinations (Web / YouTube, Social, Studio,
+ README GIF) with the details under an "Advanced" disclosure.
+
+**Timeline**
+- **Candy, dark ink.** The recording clip is the brand green (`--clip: var(--accent)`): a solid
+ card, gradient `color-mix(in oklab, var(--clip) 78%, white)` to `--clip`, glow
+ `--candy-glow` (12 % light, 35 % dark). Text and waveform on it are dark ink `#0b1220`: mint
+ cannot carry white (2.3:1 against 8.2:1). Selection is a halo ring, `0 0 0 2px var(--bg),
+ 0 0 0 4px var(--clip)`.
+- **Lane pills are candy too** (`.lanePill`): no border, no gloss, dark ink. Zoom is blue
+ (`--zoom: #3b82f6`) so it never reads as the clip. Annotation amber, speed orange, trim
+ `--danger`, camera `#a855f7`. Source: `src/components/ai-edition/v4/EditorShellV4.module.css`,
+ tokens in `tokens/v4.css`.
+- **Playhead violet** (`--playhead`), its own hue so it reads over every lane.
+- **No seek bar.** The ruler seeks; the transport sits centred in the timeline header row,
+ between the tools and the shortcut hints (commits f7fe8908, 98445ff5).
+- **Edit clip trim track** is drawn as the clip's candy card with notch grips inside its ends,
+ on a faint groove for the whole source (commit 7aa00935).
+
---
## ICONOGRAPHY
@@ -136,7 +190,7 @@ Root:
`guidelines/` — foundation specimen cards (Design System tab): colors, type, spacing, radii, elevation, motion.
`components/` — reusable React primitives (see each `*.prompt.md`):
-- `forms/` — Button, IconButton, SegmentedControl, Switch, Slider, Select, TextField
+- `forms/` — Button, IconButton, SegmentedControl, ChoiceRow, Switch, Slider, Select, TextField
- `display/` — Badge, Chip, Card, ProgressBar
- `editor/` — ChatBubble, ProposalCard, MediaCard, TimelinePill, FacetRailButton
@@ -145,4 +199,5 @@ Root:
## Intentional additions
None. The component inventory is exactly what the v4 editor defines. `TextField` merges the
-`<input>` and `<textarea>` patterns (identical styling) into one primitive.
+`<input>` and `<textarea>` patterns (identical styling) into one primitive. `ChoiceRow` mirrors
+the app's `ChoiceRow` (it replaced most of `Select`'s uses).
diff --git a/design/tokens/v4.css b/design/tokens/v4.css
index c43c6f0ba..55c5b7244 100644
--- a/design/tokens/v4.css
+++ b/design/tokens/v4.css
@@ -44,7 +44,7 @@
--fg-emphasis: #020617;
--muted: #64748b;
--muted-soft: #94a3b8;
- --meta: #7c8aa0;
+ --meta: #6b7a90;
--dim: #b6c2d1;
/* mint brand */
@@ -60,6 +60,15 @@
--accent-ring: rgba(16, 185, 129, 0.28);
--accent-stripe: rgba(16, 185, 129, 0.30);
+ /* timeline playhead — deliberately NOT the mint accent. The scrub cursor
+ crosses every lane, including the accent-coloured zoom pills, so it needs
+ a hue of its own to stay readable on top of them. One value for both
+ themes (the dark block doesn't override it): this violet carries against
+ the light and the dark timeline surfaces alike. */
+ --playhead: #6c55ff;
+ --playhead-glow: rgba(108, 85, 255, 0.68);
+ --playhead-shadow: rgba(108, 85, 255, 0.35);
+
/* legacy shadcn-style aliases → canonical tokens. Referenced by the
TimelinePane / TranscriptEditor / VirtualPreview / NewEditorShell module
CSS that was ported before the token system existed. Defined via var()
@@ -151,8 +160,8 @@
/* radius */
--r-xs: 4px;
- --r-sm: 6px;
- --r-md: 8px;
+ --r-sm: 8px;
+ --r-md: 10px;
--r-lg: 12px;
--r-pill: 9999px;
@@ -181,7 +190,7 @@
--bg: #0a0d12;
--bg-grad: radial-gradient(ellipse at 50% 0%, #13171f 0%, #0a0d12 60%);
--surface: #14181f;
- --surface-1: #14181f;
+ --surface-1: #191d26;
--surface-2: #1c2029;
--surface-3: #252a35;
--surface-hi: #2b313b;
@@ -196,7 +205,7 @@
--fg: #e6e9ef;
--fg-2: #f3f5f8;
--muted: #8b95a3;
- --meta: #5b6470;
+ --meta: #7a8491;
--dim: #1c2029;
--brand: #10b981;
diff --git a/design/ui_kits/editor/README.md b/design/ui_kits/editor/README.md
index ee848471c..a0b4684c2 100644
--- a/design/ui_kits/editor/README.md
+++ b/design/ui_kits/editor/README.md
@@ -10,10 +10,13 @@ system primitives. It is a visual + light-interaction recreation, not production
- **Agent panel** (left, 392px) — recipe header + progress, a conversation (`ChatBubble` +
`ProposalCard`), quick-action `Chip` row, and the composer (`TextField`).
- **Stage** (center) — 16:9 preview with rule-of-thirds grid, timecode + resolution badges, webcam
- PiP, a floating transport bar, and the floating **inspector** (facet rail via `FacetRailButton`
- + an Effects panel of `Slider`s and `Switch`es).
-- **Timeline ribbon** (bottom) — tool row, ruler, the annotation / speed / skip / zoom lanes
- (`TimelinePill`), the clips lane with generated waveforms, and the zoom/pan nav bar.
+ PiP, and the floating **inspector** (facet rail via `FacetRailButton` + the Composition pane:
+ Format `ChoiceRow`, a Background section with the 8-per-row wallpaper grid and blur `Slider`,
+ a Frame section with free-row `Slider`s and the named Shadow levels).
+- **Timeline ribbon** (bottom) — header row with the tools, the transport centred, and the
+ shortcut hints (no seek bar: the ruler seeks); ruler with the violet playhead; the annotation /
+ speed / trim / zoom lanes (candy `TimelinePill`s, zoom in blue); the clips as brand-green candy
+ cards with dark-ink waveforms; and the zoom/pan nav bar.
Interaction is intentionally shallow: the stage tabs switch, the theme toggles, sliders/switches
move, chips fill the composer. It demonstrates the look and the component composition — the real
diff --git a/design/ui_kits/editor/index.html b/design/ui_kits/editor/index.html
index 5d0f720dc..16cf40692 100644
--- a/design/ui_kits/editor/index.html
+++ b/design/ui_kits/editor/index.html
@@ -21,7 +21,8 @@ function pick(name){ for(const k in window){ try{ const v=window[k]; if(v&&typeo
const Button=pick('Button'), IconButton=pick('IconButton'), SegmentedControl=pick('SegmentedControl'),
Switch=pick('Switch'), Slider=pick('Slider'), Chip=pick('Chip'), TextField=pick('TextField'),
Badge=pick('Badge'), ChatBubble=pick('ChatBubble'), ProposalCard=pick('ProposalCard'),
- MediaCard=pick('MediaCard'), TimelinePill=pick('TimelinePill'), FacetRailButton=pick('FacetRailButton');
+ MediaCard=pick('MediaCard'), TimelinePill=pick('TimelinePill'), FacetRailButton=pick('FacetRailButton'),
+ ChoiceRow=pick('ChoiceRow');
const I=(n,s=16)=><i data-lucide={n} style={{width:s,height:s,display:'block'}}></i>;
const Bot=<svg width="15" height="15" viewBox="0 0 16 16" shapeRendering="crispEdges"><rect x="7" y="0" width="2" height="2" fill="currentColor"/><rect x="3" y="3" width="10" height="9" rx="1" fill="none" stroke="currentColor" strokeWidth="1.4"/><rect x="5" y="6" width="2" height="2" fill="currentColor"/><rect x="9" y="6" width="2" height="2" fill="currentColor"/><rect x="5.5" y="9.5" width="5" height="1.4" fill="currentColor"/></svg>;
const HR=()=><span style={{width:1,height:18,background:'var(--border)',flexShrink:0}}></span>;
@@ -34,15 +35,15 @@ function Editor(){
const [facet,setFacet]=React.useState('fx');
const [msg,setMsg]=React.useState('');
const [playing,setPlaying]=React.useState(false);
- const [sh,setSh]=React.useState(24),[rd,setRd]=React.useState(42),[pd,setPd]=React.useState(30);
- const [blur,setBlur]=React.useState(false),[mir,setMir]=React.useState(false);
+ const [sh,setSh]=React.useState(0.6),[rd,setRd]=React.useState(42),[pd,setPd]=React.useState(30);
+ const [bl,setBl]=React.useState(0),[fmt,setFmt]=React.useState('16:9');
const root=React.useRef(null);
React.useEffect(()=>{ window.lucide && window.lucide.createIcons(); });
- const facets=[['bg','Background','image'],['fx','Effects','sliders-horizontal'],['layout','Layout','layout'],
+ const facets=[['fx','Composition','sliders-horizontal'],['layout','Layout','layout'],
['cursor','Cursor','mouse-pointer-2'],['cap','Captions','captions'],['ch','Chapters','git-fork'],
['tr','Transcript','file-text'],['crop','Crop','crop']];
- const facetTitle={bg:'Background',fx:'Video Effects',layout:'Layout',cursor:'Cursor',cap:'Captions',ch:'Chapters',tr:'Transcript',crop:'Crop'}[facet];
+ const facetTitle={fx:'Composition',layout:'Layout',cursor:'Cursor',cap:'Captions',ch:'Chapters',tr:'Transcript',crop:'Crop'}[facet];
const clipWave=wave(2,90);
@@ -119,7 +120,7 @@ function Editor(){
{/* STAGE */}
<section style={{position:'relative',overflow:'hidden',background:'radial-gradient(ellipse 68% 54% at 52% 32%, var(--surface-1) 0%, var(--bg) 66%)'}}>
- <div style={{position:'absolute',inset:0,display:'flex',alignItems:'center',justifyContent:'center',padding:'40px 360px 110px 80px',boxSizing:'border-box'}}>
+ <div style={{position:'absolute',inset:0,display:'flex',alignItems:'center',justifyContent:'center',padding:'40px 360px 40px 80px',boxSizing:'border-box'}}>
<div style={{position:'relative',aspectRatio:'16/9',width:'100%',maxWidth:820,maxHeight:'100%',background:'radial-gradient(ellipse at 50% 34%, #e6e8ea 0%, #b7bbc2 34%, #676d78 68%, #14161c 100%)',borderRadius:16,boxShadow:'0 40px 90px -30px rgba(0,0,0,0.75), inset 0 0 0 1px rgba(255,255,255,0.09)',overflow:'hidden'}}>
<div aria-hidden="true" style={{position:'absolute',inset:0,opacity:0.16,pointerEvents:'none'}}>
<div style={{position:'absolute',left:'33.33%',top:0,bottom:0,width:1,background:'rgba(255,255,255,0.6)'}}></div>
@@ -136,19 +137,6 @@ function Editor(){
</div>
</div>
- {/* transport */}
- <div style={{position:'absolute',left:0,right:0,bottom:22,display:'flex',justifyContent:'center',zIndex:15}}>
- <div role="toolbar" style={{display:'inline-flex',alignItems:'center',gap:8,padding:'8px 10px',borderRadius:16,background:'var(--surface-1)',border:'1px solid var(--border)',boxShadow:'var(--elev-pop)'}}>
- <IconButton title="Previous" size={34}>{I('skip-back',15)}</IconButton>
- <button onClick={()=>setPlaying(p=>!p)} style={{width:44,height:44,display:'grid',placeItems:'center',borderRadius:12,background:'var(--accent)',color:'#fff',border:0,cursor:'pointer',boxShadow:'0 4px 14px -4px var(--accent-soft)'}}>{playing?I('pause',16):I('play',16)}</button>
- <IconButton title="Next" size={34}>{I('skip-forward',15)}</IconButton>
- <HR/>
- <span style={{fontFamily:'var(--font-mono)',fontSize:13,color:'var(--fg)',minWidth:104,textAlign:'center'}}><b>0:00.0</b><span style={{color:'var(--meta)',margin:'0 5px'}}>/</span><span style={{color:'var(--muted)'}}>7:03.6</span></span>
- <IconButton title="Loop" size={34}>{I('repeat',15)}</IconButton>
- <IconButton title="Fullscreen" size={34}>{I('maximize',15)}</IconButton>
- </div>
- </div>
-
{/* INSPECTOR */}
<div style={{position:'absolute',top:20,right:20,bottom:16,display:'flex',alignItems:'flex-start',gap:10,zIndex:20}}>
<div style={{width:288,maxHeight:'100%',display:'flex',flexDirection:'column',background:'var(--surface-1)',border:'1px solid var(--border)',borderRadius:16,boxShadow:'var(--elev-pop)',overflow:'hidden',backdropFilter:'blur(18px)'}}>
@@ -157,19 +145,19 @@ function Editor(){
<IconButton title="Collapse" size={26} style={{marginLeft:'auto'}}>{I('chevron-right',15)}</IconButton>
</header>
<div style={{overflowY:'auto',minHeight:0,padding:'14px 16px 16px'}}>
- <div style={{display:'flex',alignItems:'center',justifyContent:'space-between',gap:12,padding:'12px 14px',marginBottom:12,border:'1px solid var(--border)',borderRadius:12,background:'var(--surface)'}}>
- <span style={{fontSize:13,fontWeight:500,color:'var(--fg-2)'}}>Blur background</span>
- <Switch checked={blur} onChange={setBlur}/>
- </div>
- <div style={{display:'flex',alignItems:'center',justifyContent:'space-between',gap:12,padding:'12px 14px',marginBottom:12,border:'1px solid var(--border)',borderRadius:12,background:'var(--surface)'}}>
- <span style={{fontSize:13,fontWeight:500,color:'var(--fg-2)'}}>Mirror webcam</span>
- <Switch checked={mir} onChange={setMir}/>
- </div>
- <div style={{display:'flex',flexDirection:'column',gap:10}}>
- <Slider label="Shadow" value={sh} onChange={setSh} format={v=>`${v}%`}/>
- <Slider label="Roundness" value={rd} onChange={setRd} format={v=>`${v}%`}/>
- <Slider label="Padding" value={pd} onChange={setPd} format={v=>`${v}%`}/>
+ {/* Free rows (.paneRow / .sliderCell), grouped by sentence-case section labels and space. */}
+ <ChoiceRow label="Format" options={['Auto','16:9','9:16','1:1']} value={fmt} onChange={setFmt}/>
+ <div style={{font:'600 13px/1.3 var(--font-body)',color:'var(--fg-2)',margin:'20px 0 0'}}>Background</div>
+ <div style={{display:'grid',gridTemplateColumns:'repeat(8,minmax(0,1fr))',gap:5,margin:'8px 0 0'}}>
+ {['#10b981','#3b82f6','#a855f7','#f59e0b','#ef4444','#0ea5e9','#64748b'].map(c=>(<span key={c} style={{aspectRatio:'1/1',borderRadius:8,background:`linear-gradient(135deg,${c},#0b1220)`,border:c==='#10b981'?'1px solid var(--brand)':'1px solid transparent'}}></span>))}
+ <span title="Upload" style={{aspectRatio:'1/1',borderRadius:8,border:'1px dashed var(--border-hi)',display:'grid',placeItems:'center',color:'var(--muted)'}}>{I('plus',12)}</span>
</div>
+ <Slider label="Blur" value={bl} onChange={setBl} format={v=>`${v}%`}/>
+ <div style={{font:'600 13px/1.3 var(--font-body)',color:'var(--fg-2)',margin:'12px 0 0'}}>Frame</div>
+ <Slider label="Padding" value={pd} onChange={setPd} format={v=>`${v}%`}/>
+ <Slider label="Roundness" value={rd} onChange={setRd} format={v=>`${v}%`}/>
+ <ChoiceRow label="Shadow" value={sh} onChange={setSh} style={{marginTop:6}}
+ options={[{value:0,label:'None'},{value:0.3,label:'Light'},{value:0.6,label:'Medium'},{value:0.9,label:'Strong'}]}/>
</div>
</div>
<div style={{display:'flex',flexDirection:'column',gap:4,padding:6,background:'var(--surface-1)',border:'1px solid var(--border)',borderRadius:14,boxShadow:'var(--elev-pop)',backdropFilter:'blur(18px)'}}>
@@ -181,15 +169,21 @@ function Editor(){
{/* TIMELINE */}
<footer style={{position:'relative',background:'var(--surface)',borderTop:'1px solid var(--border)',minHeight:0}}>
- <div style={{display:'flex',alignItems:'center',gap:8,padding:'0 16px',height:40,borderBottom:'1px solid var(--border-soft)'}}>
- <div role="toolbar" style={{display:'flex',alignItems:'center',gap:1}}>
+ <div style={{display:'flex',alignItems:'center',gap:8,padding:'0 16px',height:48,borderBottom:'1px solid var(--border-soft)'}}>
+ <div role="toolbar" style={{flex:1,display:'flex',alignItems:'center',gap:1}}>
{[['mouse-pointer-2','Select',true],['film','Capture frame'],['scissors','Split'],['message-square','Comment'],['gauge','Speed'],['sparkles','Auto-enhance']].map(([ic,lbl,act],i)=>(
<IconButton key={i} title={lbl} size={28} active={!!act}>{I(ic,15)}</IconButton>
))}
</div>
- <HR/>
- <Button variant="ghost" size="sm" iconRight={I('chevron-down',10)}>Widescreen 16:9</Button>
- <div style={{marginLeft:'auto',display:'flex',alignItems:'center',gap:10}}>
+ {/* transport, centred in the header row; the ruler below seeks (no seek bar) */}
+ <div role="toolbar" style={{display:'flex',alignItems:'center',gap:12}}>
+ <IconButton title="Previous" size={32}>{I('skip-back',15)}</IconButton>
+ <button onClick={()=>setPlaying(p=>!p)} style={{width:34,height:34,display:'grid',placeItems:'center',borderRadius:'50%',background:'var(--fg)',color:'var(--bg)',border:0,cursor:'pointer'}}>{playing?I('pause',15):I('play',15)}</button>
+ <IconButton title="Next" size={32}>{I('skip-forward',15)}</IconButton>
+ <span style={{font:'500 14px/1 var(--font-body)',fontVariantNumeric:'tabular-nums',color:'var(--fg)',minWidth:104,textAlign:'center'}}>0:00.0<span style={{color:'var(--meta)',margin:'0 4px'}}>/</span><span style={{color:'var(--muted)'}}>7:03.6</span></span>
+ <IconButton title="Loop" size={32}>{I('repeat',15)}</IconButton>
+ </div>
+ <div style={{flex:1,display:'flex',justifyContent:'flex-end',alignItems:'center',gap:10}}>
<span style={{display:'inline-flex',alignItems:'center',gap:7,height:26,padding:'0 10px',background:'var(--surface-1)',border:'1px solid var(--border)',borderRadius:7}}>
<span style={{fontFamily:'var(--font-mono)',fontSize:10.5,fontWeight:600,color:'var(--fg-2)'}}>Scroll</span>{I('arrow-right',11)}<span style={{fontSize:11,color:'var(--muted)'}}>Pan</span>
</span>
@@ -201,8 +195,8 @@ function Editor(){
<div style={{position:'relative',padding:'8px 20px 0'}}>
{/* playhead */}
- <div aria-hidden="true" style={{position:'absolute',top:2,bottom:66,left:'42%',width:2,background:'var(--accent)',zIndex:6,boxShadow:'0 0 10px var(--accent-soft)'}}>
- <span style={{position:'absolute',top:-5,left:'50%',transform:'translateX(-50%) rotate(45deg)',width:9,height:9,background:'var(--accent)',borderRadius:2}}></span>
+ <div aria-hidden="true" style={{position:'absolute',top:2,bottom:0,left:'42%',width:2,background:'var(--playhead)',zIndex:6,boxShadow:'0 0 10px var(--playhead-shadow)'}}>
+ <span style={{position:'absolute',top:-5,left:'50%',transform:'translateX(-50%) rotate(45deg)',width:9,height:9,background:'var(--playhead)',borderRadius:2}}></span>
</div>
<div style={{display:'flex',justifyContent:'space-between',height:15,marginBottom:7}}>
{['0:00','0:15','0:30','0:45','1:00','1:15','1:30','1:45','2:00','2:15','2:30'].map(t=><span key={t} style={{fontFamily:'var(--font-mono)',fontSize:10,color:'var(--meta)'}}>{t}</span>)}
@@ -217,24 +211,24 @@ function Editor(){
<TimelinePill tone="speed" leftPct={76} widthPct={14} icon={I('clock',11)}>1.5×</TimelinePill>
</div>
<div style={{position:'relative',height:24,marginBottom:5,borderRadius:6,background:'var(--surface-1)'}}>
- <TimelinePill tone="danger" leftPct={10} widthPct={10} icon={I('scissors',11)}>0:37.3</TimelinePill>
- <TimelinePill tone="danger" leftPct={27} widthPct={2}></TimelinePill>
- <TimelinePill tone="danger" leftPct={31} widthPct={19} icon={I('scissors',11)}>0:30.3</TimelinePill>
+ <TimelinePill tone="trim" leftPct={10} widthPct={10} icon={I('scissors',11)}>0:37.3</TimelinePill>
+ <TimelinePill tone="trim" leftPct={27} widthPct={2}></TimelinePill>
+ <TimelinePill tone="trim" leftPct={31} widthPct={19} icon={I('scissors',11)}>0:30.3</TimelinePill>
</div>
<div style={{position:'relative',height:24,marginBottom:8,borderRadius:6,background:'var(--surface-1)'}}>
- <TimelinePill tone="accent" leftPct={11} widthPct={7} icon={I('zoom-in',11)}>1.8×</TimelinePill>
- <TimelinePill tone="accent" leftPct={47} widthPct={6} icon={I('zoom-in',11)}>1.5×</TimelinePill>
+ <TimelinePill tone="zoom" leftPct={11} widthPct={7} icon={I('zoom-in',11)}>1.8×</TimelinePill>
+ <TimelinePill tone="zoom" leftPct={47} widthPct={6} icon={I('zoom-in',11)}>1.5×</TimelinePill>
</div>
{/* clips */}
<div style={{position:'relative',display:'flex',gap:6,height:66}}>
{[0,1].map(ci=>(
- <div key={ci} style={{position:'relative',flex:1,borderRadius:11,border:`1.5px solid ${ci===1?'var(--accent)':'var(--border)'}`,background:'var(--surface-1)',overflow:'hidden',boxShadow:'inset 0 1px 8px rgba(255,255,255,0.09)'}}>
+ <div key={ci} style={{position:'relative',flex:1,borderRadius:12,border:'1px solid transparent',background:'linear-gradient(180deg, color-mix(in oklab, var(--clip) 78%, white), var(--clip)) border-box',overflow:'hidden',boxShadow:ci===1?'0 0 0 2px var(--bg), 0 0 0 4px var(--clip)':'0 3px 10px color-mix(in oklab, var(--clip) var(--candy-glow), transparent)'}}>
<div style={{position:'absolute',inset:0,display:'flex',alignItems:'center',justifyContent:'space-between',gap:1,padding:'0 2px'}}>
- {clipWave.map((h,i)=><span key={i} style={{flex:'1 1 0',alignSelf:'center',height:`${Math.round(h*100)}%`,maxWidth:2,background:'var(--accent)',opacity:(0.5+h*0.5).toFixed(2),borderRadius:2}}></span>)}
+ {clipWave.map((h,i)=><span key={i} style={{flex:'1 1 0',alignSelf:'center',height:`${Math.round(h*100)}%`,maxWidth:2,background:'rgb(11 18 32 / 0.5)',borderRadius:2}}></span>)}
</div>
- <div style={{position:'absolute',left:10,top:8,display:'inline-flex',alignItems:'center',gap:8,padding:'3px 9px 3px 6px',borderRadius:8,background:'rgba(8,10,13,0.55)',backdropFilter:'blur(8px)',border:'1px solid rgba(255,255,255,0.08)'}}>
- <span style={{width:16,height:16,display:'grid',placeItems:'center',borderRadius:5,background:'var(--surface)',color:'var(--fg)'}}>{I('pencil',9)}</span>
- <span style={{fontSize:11,fontWeight:500,color:'#fff'}}>demo-n8n-as-code-1.mp4</span>
+ <div style={{position:'absolute',left:8,top:8,display:'inline-flex',alignItems:'center',gap:8}}>
+ <span style={{width:30,height:30,display:'grid',placeItems:'center',borderRadius:999,border:'1px solid var(--border)',background:'var(--surface-hi)',color:'var(--fg)',boxShadow:'0 1px 3px rgba(0,0,0,0.12)'}}>{I('pencil',12)}</span>
+ <span style={{font:'500 12px/1.2 var(--font-body)',fontVariantNumeric:'tabular-nums',color:'#0b1220'}}>0:02:34.7</span>
</div>
</div>
))}