feat(web): paint a recording's meta.theme hint #11

Merged
natsukium merged 1 commit from feat/meta-theme into main 2026-10-14 17:19:10 +09:00
Owner

Reads felis-cast's meta.theme hint (foreground/background/cursor) and paints with it while the host has chosen no theme. setTheme(null) / removing the theme attribute returns to the hint. Verified in a headless browser against a live recording and a distinct-colour hint.

Reads felis-cast's `meta.theme` hint (foreground/background/cursor) and paints with it while the host has chosen no theme. `setTheme(null)` / removing the `theme` attribute returns to the hint. Verified in a headless browser against a live recording and a distinct-colour hint.
feat(web): paint a recording's meta.theme hint
All checks were successful
ci / fmt / clippy / test / deny / types / bundle (pull_request) Successful in 1m29s
ci / fmt / clippy / test / deny / types / bundle (push) Successful in 58s
8efe84c41f
felis-cast now records the recorder's base theme as a meta.theme hint,
so a shared recording can look the way it looked when it was made.
Without reading it the player painted every recording in its built-in
default, including output a program had tuned to the recorder's
background through OSC 11 ; ?.

The hint applies only while the host has chosen no theme, and a host
choice replaces it whole rather than slot by slot, so a partial host
theme cannot pair with the hint's other colours into a combination
neither side picked. setTheme(null) and removing the theme attribute
now withdraw the host choice and return to the hint; before, an unknown
or removed theme fell back to the built-in default directly. The
hint's palette is not applied because the palette here is fixed
client policy.

Also drop the comment pointing at `felis-cast migrate`, a command that
does not ship: a recording under the earlier format id is re-recorded.

Assisted-by: Claude Code
natsukium deleted branch feat/meta-theme 2026-10-14 17:19:10 +09:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
natsukium/felis-web-component!11
No description provided.