Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.
TypeScript cross-platformelectronffmpegopen-sourceproduct-demorustscreen-capturescreen-recorderscreen-recordingscreen-studioscreencastspeech-to-texttypescriptvideo-editingvideo-editorwaylandwgpuwhisper
/* OpenScreen design system — light + dark.
* Single source of truth for tokens used by the new editor shell.
* Mint #10b981 is the sole chromatic accent. Red is reserved for
* REC / cut / skip / trim / transcript-highlight only. */
/* :root:root (doubled pseudo-class) deliberately outranks a plain `:root` —
* src/index.css's shadcn/Tailwind base ALSO declares --accent/--border/
* --muted (as space-separated HSL triples, a different convention than
* this file's hex values) in a plain `:root` block. Both are equal-weight
* declarations otherwise, so whichever stylesheet the bundler happens to
* emit last silently wins the collision — pin it here instead of
* depending on import order. */
:root:root {
/* canvas */
--bg: #eaeef3;
--bg-grad: radial-gradient(ellipse 1200px 800px at 50% -200px, #ffffff 0%, #f1f5f9 80%);
--surface: #ffffff;
--surface-1: #f1f5f9;
--surface-2: #e2e8f0;
--surface-3: #cbd5e1;
--surface-hi: #ffffff;
--surface-warm: #f1f5f9;
/* lines */
--border: #e2e8f0;
--border-soft: #e6eaef;
--border-hi: #cbd5e1;
--border-dark: #0f172a;
/* the shell's rules (under the top bar, above and inside the timeline): on light the plain
borders vanish against white, so they are darker than --border / --border-soft. */
--shell-rule: #cbd5e1;
--shell-rule-soft: #d3dbe4;
/* foreground */
--fg: #0f172a;
--fg-2: #334155;
--fg-emphasis: #020617;
--muted: #64748b;
--muted-soft: #94a3b8;
--meta: #6b7a90;
--dim: #b6c2d1;
/* mint brand */
--brand: #10b981;
--brand-lo: #059669;
--brand-glow: rgba(16, 185, 129, 0.35);
--brand-soft: rgba(16, 185, 129, 0.10);
--accent: #10b981;
--accent-on: #04221a;
--accent-soft: rgba(16, 185, 129, 0.10);
--accent-wash: rgba(16, 185, 129, 0.06);
--accent-border: rgba(16, 185, 129, 0.26);
--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()
so the dark-theme overrides of the target tokens cascade automatically —
no need to redefine these in the dark block. */
--primary: var(--accent);
--primary-foreground: var(--accent-on);
--card: var(--surface);
--card-foreground: var(--fg);
--muted-foreground: var(--muted);
/* semantic */
--danger: #ef4444;
--danger-lo: #dc2626;
--danger-soft: rgba(239, 68, 68, 0.10);
--danger-wash: rgba(239, 68, 68, 0.06);
--danger-hatch: rgba(239, 68, 68, 0.32);
--warn: #f59e0b;
--warn-soft: rgba(245, 158, 11, 0.12);
/* timeline pills */
--annotation: #eab308;
--annotation-soft: rgba(234, 179, 8, 0.14);
--annotation-wash: rgba(234, 179, 8, 0.14);
--speed: #f97316;
--speed-soft: rgba(249, 115, 22, 0.14);
--speed-wash: rgba(249, 115, 22, 0.14);
/* the recording clip: the brand's green, on the main object of the timeline. A solid
candy card with dark ink on it (mint cannot carry white), in both themes. */
--clip: var(--accent);
/* zoom pills: blue, so the most common effect never reads as the clip under it.
Light enough to carry the pills' dark ink. */
--zoom: #3b82f6;
/* strength of the coloured glow under candy pills and clips: on a light surface
a glow reads as an outline, so it is much fainter there than on dark. */
--candy-glow: 12%;
--success: #10b981;
--success-soft: rgba(16, 185, 129, 0.10);
/* the update button: blue, apart from the mint accent, which already means "export" in the
same bar */
--update: #2563eb;
--update-soft: rgba(37, 99, 235, 0.10);
/* macOS traffic lights */
--light-red: #ff5f57;
--light-yellow: #febc2e;
--light-green: #28c840;
/* preview scene placeholders */
--scene-sky-hi: #eaebed;
--scene-sky-mid: #bcc0c6;
--scene-foliage: #6b7280;
--scene-foliage-d: #16171d;
--scene-overlay: rgba(22, 23, 29, 0.18);
--pip-bg-1: #16171d;
--pip-bg-2: #16171d;
--pip-bg-3: #16171d;
--pip-skin-hi: #bcc0c6;
--pip-skin-lo: #6b7280;
--pip-hair: #16171d;
--pip-shadow: rgba(22, 23, 29, 0.30);
--overlay-dark: rgba(22, 23, 29, 0.45);
--overlay-light: rgba(255, 255, 255, 0.85);
--overlay-text: rgba(255, 255, 255, 0.60);
--overlay-text-2: rgba(255, 255, 255, 0.55);
--overlay-border: rgba(22, 23, 29, 0.06);
/* typography — Geist / Geist Mono are the brand faces, self-hosted by
styles/fonts.css. The old system stacks stay on as fallback so a failed
font load degrades instead of dropping to a serif default. */
--font-display: "Geist", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
--font-body: "Geist", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
--font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;
/* size */
--fs-app: 13px;
--fs-app-sm: 12px;
--fs-app-lg: 14px;
--fs-title: 16px;
--fs-section: 11px;
--fs-display: 24px;
/* spacing */
--sp-1: 4px;
--sp-2: 8px;
--sp-3: 12px;
--sp-4: 16px;
--sp-5: 20px;
--sp-6: 24px;
/* radius */
--r-xs: 4px;
--r-sm: 8px;
--r-md: 10px;
--r-lg: 12px;
--r-pill: 9999px;
/* layout */
--titlebar-h: 34px;
--rail-w: 48px;
--panel-w-left: 320px;
--panel-w-right: 320px;
--handle-w: 6px;
--handle-h: 6px;
--bottom-h: 224px;
/* elevation */
--elev-card: 0 1px 2px rgba(15, 23, 42, 0.03), 0 2px 8px -2px rgba(15, 23, 42, 0.05);
--elev-card-soft: 0 1px 2px rgba(15, 23, 42, 0.03);
--elev-pop: 0 8px 24px -8px rgba(15, 23, 42, 0.10), 0 2px 4px rgba(15, 23, 42, 0.04);
--focus-ring: 0 0 0 3px rgba(16, 185, 129, 0.18);
--motion-fast: 120ms;
--motion-base: 180ms;
--ease: cubic-bezier(0.2, 0, 0, 1);
}
:root[data-theme="dark"] {
--bg: #0a0d12;
--bg-grad: radial-gradient(ellipse at 50% 0%, #13171f 0%, #0a0d12 60%);
--surface: #14181f;
--surface-1: #191d26;
--surface-2: #1c2029;
--surface-3: #252a35;
--surface-hi: #2b313b;
--surface-warm: #1c2029;
--fg-emphasis: #ffffff;
--border: #252a35;
--border-soft: #1c2029;
--border-hi: #3a4150;
--border-dark: #0a0d12;
--shell-rule: #252a35;
--shell-rule-soft: #1c2029;
--fg: #e6e9ef;
--fg-2: #f3f5f8;
--muted: #8b95a3;
--meta: #7a8491;
--dim: #1c2029;
--brand: #10b981;
--brand-lo: #34d399;
--brand-glow: rgba(16, 185, 129, 0.40);
--brand-soft: rgba(16, 185, 129, 0.14);
--accent: #10b981;
--accent-on: #0a0d12;
--accent-soft: rgba(16, 185, 129, 0.14);
--accent-wash: rgba(16, 185, 129, 0.06);
--accent-border: rgba(16, 185, 129, 0.26);
--accent-ring: rgba(16, 185, 129, 0.32);
--accent-stripe: rgba(16, 185, 129, 0.34);
--danger: #f87171;
--danger-lo: #ef4444;
--danger-soft: rgba(248, 113, 113, 0.14);
--danger-wash: rgba(248, 113, 113, 0.08);
--danger-hatch: rgba(248, 113, 113, 0.40);
--warn: #fbbf24;
--warn-soft: rgba(251, 191, 36, 0.14);
--annotation: #fbbf24;
--annotation-soft: rgba(251, 191, 36, 0.16);
--annotation-wash: rgba(251, 191, 36, 0.16);
--speed: #fb923c;
--speed-soft: rgba(251, 146, 60, 0.16);
--speed-wash: rgba(251, 146, 60, 0.16);
--candy-glow: 35%;
--success: #10b981;
--success-soft: rgba(16, 185, 129, 0.14);
--update: #60a5fa;
--update-soft: rgba(96, 165, 250, 0.14);
--scene-sky-hi: #2e3440;
--scene-sky-mid: #252a35;
--scene-foliage: #14181f;
--scene-foliage-d: #0a0d12;
--scene-overlay: rgba(0, 0, 0, 0.30);
--pip-bg-1: #14181f;
--pip-bg-2: #0a0d12;
--pip-bg-3: #252a35;
--pip-skin-hi: #bcc0c6;
--pip-skin-lo: #8b95a3;
--pip-hair: #0a0d12;
--pip-shadow: rgba(0, 0, 0, 0.50);
--overlay-dark: rgba(0, 0, 0, 0.55);
--overlay-light: rgba(20, 24, 31, 0.85);
--overlay-text: rgba(230, 233, 239, 0.80);
--overlay-text-2: rgba(230, 233, 239, 0.70);
--overlay-border: rgba(255, 255, 255, 0.08);
--elev-card: 0 1px 2px rgba(0, 0, 0, 0.40), 0 4px 12px -4px rgba(0, 0, 0, 0.50);
--elev-card-soft: 0 1px 2px rgba(0, 0, 0, 0.30);
--elev-pop: 0 8px 24px -8px rgba(0, 0, 0, 0.60);
--focus-ring: 0 0 0 3px rgba(16, 185, 129, 0.30);
}