/* Studio's design tokens, the one place a design value is decided. Tailwind emits * each as a utility and a CSS custom property; `@theme static` keeps unused * tokens in `:root` so plain CSS and canvas code can still read them. */ @theme static { /* ---------------------------------------------------------------- colour */ /* Background levels, darkest (app shell) to lightest (inset panel body). */ --color-bg-0: #0a0a0a; --color-bg-1: #0c0c0e; --color-bg-2: #121214; /* Raised surfaces. */ --color-surface: #18181b; --color-surface-alt: #141414; --color-input: #161618; --color-hover: #27272a; /* Separators, weakest to strongest. */ --color-hairline: #1a1a1c; --color-border: #1e1e1e; --color-border-input: #27272a; --color-border-strong: #262626; /* Text, brightest (0) to dimmest (5). */ --color-text-0: #fafafa; --color-text-1: #e4e4e7; --color-text-2: #a1a1aa; --color-text-3: #71717a; --color-text-4: #52525b; --color-text-5: #3f3f46; --color-text-body: #e5e5e5; --color-text-muted: #737373; /* Roles. Selection and playhead are reserved and differ from the accent so a * selected clip, the playhead and an accented control stay tellable apart. */ --color-accent: #3ce6ac; --color-selection: #4ba3d2; --color-playhead: #ffffff; --color-danger: #ef4444; --color-media: #00e3ff; --color-container: #f5a623; /* The two stops of the HeyGen brand gradient, worn by the header logo. Fixed brand values * rather than roles, so they are not reachable as a background or text colour by mistake. */ --color-brand-gradient-from: #06e3fa; --color-brand-gradient-to: #4fdb5e; /* The timeline's own surfaces: darker and bluer than the shared scale, so they * get their own names instead of snapping to the nearest --color-bg/-surface * step (a host themes the timeline by overriding these). */ --timeline-shell-bg: #0a0a0b; --timeline-shell-border: rgba(255, 255, 255, 0.05); --timeline-ruler-border: rgba(255, 255, 255, 0.16); --timeline-row-bg: #101014; --timeline-row-border: rgba(255, 255, 255, 0.06); --timeline-gutter-bg: #0e0f12; --timeline-gutter-border: rgba(255, 255, 255, 0.1); --timeline-text-primary: rgba(255, 255, 255, 0.92); --timeline-text-secondary: rgba(255, 255, 255, 0.62); --timeline-tick-text: rgba(255, 255, 255, 0.34); --timeline-tick-major: rgba(255, 255, 255, 0.1); --timeline-tick-minor: rgba(255, 255, 255, 0.06); --timeline-clip-bg: rgba(255, 255, 255, 0.12); --timeline-clip-label-active: rgba(232, 255, 247, 0.95); --timeline-clip-label-shadow: 0 1px 2px rgba(0, 0, 0, 0.85); --timeline-clip-audio-bg: rgba(167, 139, 250, 0.16); --timeline-clip-audio-border: rgba(167, 139, 250, 0.4); --timeline-clip-audio-bg-hover: rgba(167, 139, 250, 0.24); --timeline-clip-audio-bg-dragging: rgba(60, 52, 84, 0.96); --timeline-clip-audio-muted-bg: rgb(72, 74, 78); --timeline-audio-link: #a0aaa4; --timeline-clip-selection: rgba(255, 255, 255, 0.85); --timeline-clip-selection-highlight: rgb(255 255 255 / 0.55); --timeline-clip-radius: 8px; --timeline-clip-audio-radius: 21px; --timeline-clip-highlight: rgb(255 255 255 / 0.08); --timeline-clip-shadow: 0 2px 6px rgb(0 0 0 / 0.3); --timeline-clip-chip-bg: rgba(15, 22, 18, 0.73); --timeline-clip-chip-audio-bg: rgba(25, 16, 38, 0.7); --timeline-clip-chip-text: #ffffff; --timeline-shortcut-bg: rgba(17, 23, 35, 0.84); /* Composition and text clips draw their frame as it is, like video filmstrips; a host may dim them. */ --timeline-composition-thumbnail-opacity: 1; --timeline-composition-thumbnail-blend: normal; --timeline-thumbnail-shimmer: linear-gradient( 90deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.02) 100% ); --timeline-thumbnail-label-gradient: linear-gradient( to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100% ); --timeline-thumbnail-label-shadow: 0 1px 2px rgba(0, 0, 0, 0.9); --timeline-waveform-bar-rgb: 245, 237, 255; --timeline-waveform-muted-rgb: 236, 238, 242; --timeline-waveform-baseline-rgb: 226, 216, 238; --timeline-waveform-error: repeating-linear-gradient( 90deg, rgba(245, 237, 255, 0.35) 0 2px, transparent 2px 5px ); --timeline-waveform-label-shadow: 0 1px 3px rgba(0, 0, 0, 0.9); --timeline-clip-bg-active: rgba(60, 230, 172, 0.2); --timeline-clip-bg-hover: rgba(255, 255, 255, 0.16); --timeline-clip-bg-dragging: rgba(38, 42, 52, 0.96); --timeline-clip-border: rgba(255, 255, 255, 0.22); --timeline-clip-border-hover: rgba(60, 230, 172, 0.75); --timeline-clip-border-active: rgba(60, 230, 172, 0.55); --timeline-handle: rgba(255, 255, 255, 0.55); /* Audio clip fades: the shaded wedge over the faded gain, and the corner dots. */ --timeline-fade-shade: rgba(0, 0, 0, 0.38); --timeline-fade-dot-active: rgba(255, 255, 255, 1); --timeline-fade-dot-ring: rgba(0, 0, 0, 0.55); --timeline-resize-seam: rgba(255, 255, 255, 0.12); --timeline-resize-active: rgba(255, 255, 255, 0.24); --timeline-track-clip-fill: rgba(255, 255, 255, 0.055); --timeline-track-clip-active: rgba(60, 230, 172, 0.16); --timeline-track-label: rgba(255, 255, 255, 0.5); --timeline-border-strong: rgba(255, 255, 255, 0.2); --timeline-group-member-tint: rgba(255, 255, 255, 0.035); --timeline-overlay-text: rgba(255, 255, 255, 0.8); --timeline-accent: #3ce6ac; --timeline-accent-soft: rgba(60, 230, 172, 0.18); --timeline-accent-faint: rgba(60, 230, 172, 0.055); --timeline-accent-fill: rgba(60, 230, 172, 0.1); --timeline-accent-glow: rgba(60, 230, 172, 0.5); --timeline-accent-border: rgba(60, 230, 172, 0.7); --timeline-accent-rail: rgba(60, 230, 172, 0.35); --timeline-accent-hover: rgba(60, 230, 172, 0.25); --timeline-accent-button-bg: rgba(60, 230, 172, 0.15); --timeline-danger: rgba(239, 68, 68, 0.7); --timeline-info-bg: rgba(59, 130, 246, 0.12); --timeline-info-border: rgba(59, 130, 246, 0.4); --timeline-dialog-bg: #1b1b1f; --timeline-diamond-bg: #171717; --timeline-diamond-border: rgba(255, 255, 255, 0.14); --timeline-text-solid: #ffffff; --timeline-text-faint: rgba(255, 255, 255, 0.35); --timeline-text-dim: rgba(255, 255, 255, 0.4); --timeline-text-soft: rgba(255, 255, 255, 0.75); --timeline-text-bright: rgba(255, 255, 255, 0.7); --timeline-snap-guide: rgba(255, 255, 255, 0.6); --timeline-overlay-bg: rgba(0, 0, 0, 0.8); --timeline-overlay-bg-strong: rgba(0, 0, 0, 0.85); --timeline-input-bg: rgba(0, 0, 0, 0.3); --timeline-automation-rail: rgba(255, 255, 255, 0.08); --timeline-automation-point-muted: rgba(0, 0, 0, 0.5); --timeline-diamond-muted: #a3a3a3; --timeline-beat: rgb(34, 197, 94); --timeline-clip-shadow-dragging: rgba(0, 0, 0, 0.4); --timeline-playhead-glow: rgba(60, 230, 172, 0.14); --timeline-playhead-shadow: rgba(0, 0, 0, 0.55); --timeline-transition-zone: rgba(255, 255, 255, 0.2); --timeline-transition-badge: rgba(237, 244, 239, 0.98); --timeline-transition-badge-ink: rgba(36, 56, 45, 0.96); /* -------------------------------------------------------------- geometry */ --radius-sm: 0.25rem; --radius-md: 0.375rem; --radius-lg: 0.5rem; /* The one radius every push-button wears, named by its role so a button does * not have to know which step of the scale it sits on. */ --radius-button: var(--radius-md); /* Control heights: 24, 28 and 32 px. `--spacing-*` gives `h-ctl`, `min-h-ctl` * and friends. */ --spacing-ctl-sm: 24px; --spacing-ctl: 28px; --spacing-ctl-lg: 32px; /* ------------------------------------------------------------------ type */ /* Dense UI type sizes named by pixel value. `step` avoids a clash with * Tailwind's own `--text-*` scale, whose `xs`, `sm` and `lg` are unchanged. */ --text-step-7: 7px; --text-step-8: 8px; --text-step-9: 9px; --text-step-10: 10px; --text-step-11: 11px; --text-step-12: 12px; --text-step-13: 13px; --text-step-14: 14px; --text-step-15: 15px; --text-step-16: 16px; --text-step-17: 17px; --text-step-18: 18px; --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; --font-mono: "JetBrains Mono", "IBM Plex Mono", "SF Mono", "Fira Code", monospace; /* ---------------------------------------------------------------- shadow */ /* Floating chrome over a near-black canvas: the hairline ring does the edge * definition that a light-mode drop shadow cannot. */ --shadow-menu: 0 8px 24px rgb(0 0 0 / 0.45), 0 0 0 1px rgb(0 0 0 / 0.4); --shadow-popover: 0 16px 40px rgb(0 0 0 / 0.55), 0 0 0 1px rgb(0 0 0 / 0.45); /* The primary button is the one light surface in a dark UI, so it reads as a * raised key rather than a floating panel: a tight contact shadow, a soft * ambient one, and an inner top highlight. */ --shadow-btn-primary: 0 1px 2px rgb(0 0 0 / 0.6), 0 2px 6px rgb(0 0 0 / 0.35), inset 0 1px 0 rgb(255 255 255 / 0.65); /* ---------------------------------------------------------------- motion */ --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1); --ease-out-expo: cubic-bezier(0.23, 1, 0.32, 1); --ease-in-out-circ: cubic-bezier(0.77, 0, 0.175, 1); /* The curve for a small state change (hover, press, focus), named by role so * a control does not have to pick one. The other two stay for motion that is * meant to be noticed. */ --ease-standard: var(--ease-out-quint); /* Durations have no Tailwind namespace, so these are plain variables paired * with the `@utility` rules at the bottom of this file. All are at or under * 200 ms. */ --duration-focus: 100ms; --duration-press: 120ms; --duration-hover: 150ms; --duration-expand: 160ms; /* Menus, popovers, and dropdowns. Open is ease-out; close is shorter and ease-in. */ --duration-open: 120ms; --duration-close: 90ms; /* Tooltips use the same enter shape on a shorter open. */ --duration-tooltip: 100ms; /* Visible on the first frame. Never enter from scale 0 or opacity 0. */ --popup-enter-opacity: 0.8; --popup-enter-scale: 0.97; /* ------------------------------------------------------------------ icon */ /* Read by `readIconTokens` and handed to Phosphor's `IconContext`. */ --icon-size: 16px; --icon-weight: regular; /* ------------------------------------------------- deprecated: old names */ /* The `studio.*` and `panel.*` scales, aliases of the tokens above so existing * markup keeps working during the sweep. U12 removes them from Studio's * source; the published JS preset keeps them one more major. */ --color-studio-bg: var(--color-bg-0); --color-studio-surface: var(--color-surface-alt); --color-studio-border: var(--color-border-strong); --color-studio-text: var(--color-text-body); --color-studio-muted: var(--color-text-muted); --color-studio-accent: var(--color-accent); --color-panel-bg: var(--color-bg-1); --color-panel-bg-inset: var(--color-bg-2); --color-panel-input: var(--color-input); --color-panel-surface: var(--color-surface); --color-panel-hover: var(--color-hover); --color-panel-border: var(--color-border); --color-panel-border-input: var(--color-border-input); --color-panel-hairline: var(--color-hairline); --color-panel-text-0: var(--color-text-0); --color-panel-text-1: var(--color-text-1); --color-panel-text-2: var(--color-text-2); --color-panel-text-3: var(--color-text-3); --color-panel-text-4: var(--color-text-4); --color-panel-text-5: var(--color-text-5); --color-panel-bg-soft: var(--color-bg-2); --color-panel-bg-2: var(--color-bg-2); --color-panel-accent: var(--color-accent); --color-panel-danger: var(--color-danger); --color-panel-media: var(--color-media); --color-panel-container: var(--color-container); /* Dock panels are cards on the shell. The card owns the only border; its tab * strip sits below the card body and the shown tab is a fill in the body colour. */ --panel-shell-bg: var(--color-bg-1); --panel-card-bg: var(--color-surface); --panel-card-border: #303034; --panel-strip-bg: var(--color-bg-0); --panel-tab-bg-hover: #202023; /* Names Studio's markup invented that no config ever defined, so the classes * compiled to nothing. Aliased to the token that was meant, rather than * given values of their own, so there is still one source per decision. * U12 rewrites the call sites and deletes these. */ --color-surface-hover: var(--color-hover); --color-accent-red: var(--color-danger); --text-2xs: var(--text-step-10); /* ------------------------------------------- deprecated: Tailwind palette */ /* Verbatim Tailwind 4.3.3 defaults for stock colours markup still names, so * `--color-*: initial` does not blank them. U12 deletes this block; * `theme.test.ts` fails if a value drifts from upstream. */ --color-amber-50: oklch(98.7% 0.022 95.277); --color-amber-100: oklch(96.2% 0.059 95.617); --color-amber-200: oklch(92.4% 0.12 95.746); --color-amber-300: oklch(87.9% 0.169 91.605); --color-amber-400: oklch(82.8% 0.189 84.429); --color-amber-500: oklch(76.9% 0.188 70.08); --color-amber-900: oklch(41.4% 0.112 45.904); --color-amber-950: oklch(27.9% 0.077 45.635); --color-black: #000; --color-blue-400: oklch(70.7% 0.165 254.624); --color-blue-500: oklch(62.3% 0.214 259.815); --color-cyan-400: oklch(78.9% 0.154 211.53); --color-cyan-500: oklch(71.5% 0.143 215.221); --color-emerald-300: oklch(84.5% 0.143 164.978); --color-emerald-400: oklch(76.5% 0.177 163.223); --color-emerald-500: oklch(69.6% 0.17 162.48); --color-emerald-600: oklch(59.6% 0.145 163.225); --color-emerald-700: oklch(50.8% 0.118 165.612); --color-green-400: oklch(79.2% 0.209 151.711); --color-green-500: oklch(72.3% 0.219 149.579); --color-green-600: oklch(62.7% 0.194 149.214); --color-neutral-50: oklch(98.5% 0 none); --color-neutral-100: oklch(97% 0 none); --color-neutral-200: oklch(92.2% 0 none); --color-neutral-300: oklch(87% 0 none); --color-neutral-400: oklch(70.8% 0 none); --color-neutral-500: oklch(55.6% 0 none); --color-neutral-600: oklch(43.9% 0 none); --color-neutral-700: oklch(37.1% 0 none); --color-neutral-800: oklch(26.9% 0 none); --color-neutral-900: oklch(20.5% 0 none); --color-neutral-950: oklch(14.5% 0 none); --color-orange-300: oklch(83.7% 0.128 66.29); --color-orange-400: oklch(75% 0.183 55.934); --color-pink-400: oklch(71.8% 0.202 349.761); --color-pink-500: oklch(65.6% 0.241 354.308); --color-purple-200: oklch(90.2% 0.063 306.703); --color-purple-300: oklch(82.7% 0.119 306.383); --color-purple-400: oklch(71.4% 0.203 305.504); --color-purple-500: oklch(62.7% 0.265 303.9); --color-purple-900: oklch(38.1% 0.176 304.987); --color-red-100: oklch(93.6% 0.032 17.717); --color-red-200: oklch(88.5% 0.062 18.334); --color-red-300: oklch(80.8% 0.114 19.571); --color-red-400: oklch(70.4% 0.191 22.216); --color-red-500: oklch(63.7% 0.237 25.331); --color-red-600: oklch(57.7% 0.245 27.325); --color-red-700: oklch(50.5% 0.213 27.518); --color-red-800: oklch(44.4% 0.177 26.899); --color-red-900: oklch(39.6% 0.141 25.723); --color-red-950: oklch(25.8% 0.092 26.042); --color-rose-400: oklch(71.2% 0.194 13.428); --color-rose-500: oklch(64.5% 0.246 16.439); --color-sky-200: oklch(90.1% 0.058 230.902); --color-sky-300: oklch(82.8% 0.111 230.318); --color-sky-400: oklch(74.6% 0.16 232.661); --color-sky-500: oklch(68.5% 0.169 237.323); --color-sky-700: oklch(50% 0.134 242.749); --color-sky-900: oklch(39.1% 0.09 240.876); --color-sky-950: oklch(29.3% 0.066 243.157); --color-violet-400: oklch(70.2% 0.183 293.541); --color-violet-500: oklch(60.6% 0.25 292.717); --color-white: #fff; } /* One paper block. A host sets data-theme="paper" on the document element. */ :root[data-theme="paper"] { --timeline-shell-bg: #f4f6f3; --timeline-row-bg: #edf0ed; --timeline-clip-bg: #c9d1cb; --timeline-clip-shadow: 0 2px 6px rgb(0 0 0 / 0.12); --timeline-clip-highlight: rgb(255 255 255 / 0.08); --timeline-clip-selection: #0f766e; --timeline-clip-selection-highlight: rgb(255 255 255 / 0.55); --timeline-clip-chip-bg: rgba(15, 22, 18, 0.73); --timeline-clip-chip-audio-bg: rgba(25, 16, 38, 0.7); --timeline-clip-chip-text: #ffffff; --timeline-clip-audio-bg: rgb(150, 128, 180); --timeline-clip-audio-bg-hover: rgb(135, 109, 170); --timeline-clip-audio-bg-dragging: rgb(232, 224, 242); --timeline-clip-audio-border: rgba(113, 80, 155, 0.45); --timeline-clip-audio-muted-bg: rgb(156, 161, 157); --timeline-audio-link: #626d66; --timeline-waveform-bar-rgb: 20, 12, 32; --timeline-waveform-muted-rgb: 24, 28, 26; --timeline-waveform-baseline-rgb: 76, 62, 88; --timeline-waveform-error: repeating-linear-gradient( 90deg, rgba(20, 12, 32, 0.35) 0 2px, transparent 2px 5px ); } /* Motion durations as utilities, since Tailwind has no `--duration-*` * namespace. Each one zeroes itself under `prefers-reduced-motion`, so a * caller cannot forget the reduced-motion case. */ @utility duration-* { transition-duration: --value(--duration-*); @media (prefers-reduced-motion: reduce) { transition-duration: 0ms; } }