Files
hyperframes/packages/studio
Vance Ingalls c858ae3f31 feat(studio): vibrant preset colours, each with its own background
Saturation roughly doubles — the muted 26-46% band was chosen to stay out
of the way, and stayed so far out of it that the titles read as grey text
with a hint of tint. They are 68-92% now, and light enough (58-78%) to
carry on the panel's near-black ground.

Two hues moved rather than brightened. The voice presets sat at hue 155,
which is the accent (#3CE6AC is hue 160) — saturating them there would
have made "Clean Voice" read as automated or playing, which is what that
green means everywhere else in the panel. They are blues now, and a test
keeps every title at least 20° clear of the accent.

**Each preset also gets its own background**, derived from its title hue
rather than picked: nineteen hand-chosen pairs is nineteen chances for
one to clash with its own title, and a hue rotation cannot. Same hue at
22% saturation and 11% lightness, so a rack with several presets reads as
several regions instead of one long list, while staying dark enough that
every control on top of it is unaffected.

The repair family deliberately shares one colour and therefore one
background — they are workshop tools, not characters — so the uniqueness
test covers the character family only.

Verified in a running studio with five presets applied: five distinct
title colours over five matching washes, and the accent still reads as
the only green in the panel.

Falsified: a washed-out colour, a title on the accent's hue, a background
bright enough to fight the controls, and a background hue unhooked from
its title each fail a test.

studio 3730 passing, 18 todo.
2026-08-10 15:39:09 -07:00
..
2026-08-03 22:48:00 -07:00
…

@hyperframes/studio

Browser-based composition editor UI for Hyperframes. Provides a visual timeline, code editor, and live preview for building video compositions.

Install

npm install @hyperframes/studio

What it does

The studio is a React application with:

  • Visual timeline — drag, resize, and arrange elements on tracks
  • Code editor — edit HTML and GSAP scripts with CodeMirror (syntax highlighting, autocomplete)
  • Live preview — see changes in real time as you edit
  • Composition inspector — view and modify element properties

Development

The studio is embedded in the hyperframes preview command. To develop the studio UI itself:

cd packages/studio
bun run dev        # Start Vite dev server
bun run build      # Build for production
bun run typecheck  # Type-check

Tech stack

  • React 18/19, Zustand (state management)
  • CodeMirror 6 (editor)
  • Tailwind CSS (styling)
  • Vite (bundler)
  • Phosphor Icons

Documentation

Full documentation: hyperframes.heygen.com/packages/studio