A design system extracted from the OpenScreen Editor — an AI-native screen-recording studio and video editor. Think "Screen Studio meets a chat agent": you record your screen, and an AI agent cleans up dead air, filler words, and pacing, proposes cuts you approve, and lets you restyle backgrounds, cursors, captions, zoom and layout from a floating inspector.
The UI is a dark-first, dense, pro-tool aesthetic built around a single emerald brand hue, Geist / Geist Mono type, glassy floating panels, and a rich multi-lane timeline.
Everything here was extracted from a single ground-truth file in this project:
OpenScreen Editor v4.dc.html— the most complete build of the editor (chat + stage + timeline).
No external codebase or Figma was provided; the .dc.html source IS the ground truth. Related
earlier files (OpenScreen Editor v2/v3, OpenScreen Recording Widget) were left out of scope
per the request (v4 only).
Sharing: to let others in your org use this, open the Share menu and set the file type to Design System.
How OpenScreen writes.
- Voice: calm, competent, first-person-as-agent. The agent says "On it — scanning track 1 for silences now" and "I'll flag anything over 600ms." It narrates what it's doing in plain language, commits to specifics (numbers, thresholds), and never gushes.
- 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 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. - Verbs for actions: "Apply 3 cuts", "Review each", "Regenerate", "Import media", "Export". Short, concrete, no "Click here".
- Tone of empty states: factual, lightly guiding — "Not generated yet — pick a language and click regenerate.", "No annotations yet".
- No emoji. None anywhere in the product. Don't introduce them.
- Filenames stay real:
demo-n8n-as-code-1.mp4,recording-1783066227227.mp4— never "My Video.mp4".
- 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. 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 preview stage sits on its own radial vignette. No photographic backgrounds, no patterns, no 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 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. - Blur / transparency: floating panels and on-video chrome use
backdrop-filter: blur(12–20px)over semi-transparent dark fills. This is reserved for elements that float over the video stage (transport, inspector, recording bar, clip labels) — flat panels in the shell do not blur. - 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-1fill, 1px border, radius 11–14px,--elev-cardshadow. Inspector settings are not cards: they are free rows grouped by section labels and space; a slider row pairs a label (left) with a--mutedbody-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 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-washfill and--accent-border. - Press/active/selected: active tabs are raised (
--surface-hi,--fg-emphasis), not accent-filled; a pressed ChoiceRow cell gets an--accentborder 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.
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
tileswhen the icon draws the choice), radius--r-md, fillcolor-mix(in oklab, var(--fg) 6%, transparent). Pressed =--accentborder,--accent-softfill,--fgtext. Source:ChoiceRowinsrc/components/ai-edition/RightPanes.tsx,.choiceRow / .choiceBtninNewEditorShell.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, gradientcolor-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 intokens/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).
- Lucide-style line icons. Every icon in the product is a stroked SVG at
viewBox="0 0 24 24",stroke-width1.8–2.4, round caps/joins,fill:none(a few small glyphs use solid fill — play/pause triangles, cursor arrow, waveform bars). This matches the Lucide icon set almost exactly, so this system standardises on Lucide (https://unpkg.com/lucide@latest) as the icon source. Component cards link Lucide from CDN. - Icon sizes: 9–17px inside controls, scaled to the control. Stroke colour is always
currentColorso icons inherit the control's text colour (muted → fg on hover, accent when active). - No emoji, no icon font, no PNG icons anywhere. One raster asset only: the logo mark.
- A few icons in the source are hand-tuned (the OpenScreen agent avatar built from
<rect>s, the waveform bars, the cursor arrow). Treat those as bespoke; use Lucide for everything standard.
assets/logo-icon.png— the OpenScreen app icon, transparent (24×24 in the topbar; the mark is a disc, so it needs a little more box than a filled tile to carry the same optical weight). This is the only provided brand asset. There is no wordmark file; the product sets "OpenScreen" in Geist 600, 15px,-0.015emtracking next to the icon. Do not redraw or recolour the mark.
Root:
styles.css— the single entry point consumers link.@imports everything below.readme.md— this file.SKILL.md— Agent-Skill front-matter wrapper.assets/logo-icon.png— brand mark.
tokens/ — CSS custom properties (all reachable from styles.css):
fonts.css·colors.css·typography.css·spacing.css·radii.css·elevation.css·effects.css·base.cssv4.css— the vocabulary the cards and components actually use (--bg,--fg,--font-display,--surface-N,--accent-*, …). A verbatim re-export of the product'ssrc/styles/design-tokens.css, imported last so it wins the dozen names the older files also declare. Re-export it after any token change upstream;diffthe two files and only the header comment should differ. Author new work against these names — the older token files are legacy and largely unreferenced.
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, ChoiceRow, Switch, Slider, Select, TextFielddisplay/— Badge, Chip, Card, ProgressBareditor/— ChatBubble, ProposalCard, MediaCard, TimelinePill, FacetRailButton
ui_kits/editor/ — high-fidelity recreation of the OpenScreen Editor (chat + stage + timeline).
None. The component inventory is exactly what the v4 editor defines. TextField merges the
<input> and <textarea> patterns (identical styling) into one primitive. ChoiceRow mirrors
the app's ChoiceRow (it replaced most of Select's uses).