Skip to content

fix(editor): timeline clip delete icon contrast in light theme (cherry-pick for 1.10.0-rc.3) - #481

Merged
EtienneLescot merged 1 commit into
release/v1.10.0from
claude/timeline-clip-delete-contrast-rc3-cherrypick
Aug 22, 2026
Merged

fix(editor): timeline clip delete icon contrast in light theme (cherry-pick for 1.10.0-rc.3)#481
EtienneLescot merged 1 commit into
release/v1.10.0from
claude/timeline-clip-delete-contrast-rc3-cherrypick

Conversation

@EtienneLescot

@EtienneLescot EtienneLescot commented Aug 22, 2026

Copy link
Copy Markdown
Collaborator

Cherry-pick of #480 onto `release/v1.10.0` (currently at rc.2) for the next RC.

Summary

`.tlClipDelete` (the trash icon on a timeline clip's thumbnail) sits on the same fixed dark frosted-glass chip as `.tlClipLabel` right next to it — deliberately theme-independent since they overlay an arbitrary video thumbnail. But its icon used `color: var(--muted)` (theme-dependent) instead of the "light text on a dark overlay" token its sibling already uses correctly (`.tlClipName` is a flat `#fff` for the same reason). In light theme, `--muted` is close enough in tone to the chip's blended backdrop to read as nearly invisible — reported directly against a real clip's delete button. Switched to `--overlay-text`, the token `design-tokens.css` defines for exactly this pairing.

Same commit as #480 (merged to main), cherry-picked verbatim.

Testing

`npx tsc --noEmit -p .` — clean.

🤖 Generated with Claude Code

…treatment as its label

.tlClipDelete sits on the same fixed dark frosted-glass chip as
.tlClipLabel right next to it (both `color-mix(in srgb, #080a0d 55%,
transparent)`, deliberately theme-independent since they overlay an
arbitrary video thumbnail) — but its icon used `color: var(--muted)`,
the app's own theme-dependent secondary-text token, instead of the
"light text on a dark overlay" token the sibling chip's own text
already uses (`.tlClipName` is a flat `#fff` for the same reason).
In light theme `--muted` is a medium slate gray, close enough in tone
to the chip's blended backdrop to read as nearly invisible — reported
directly against a real clip's delete button in the timeline.

Switched to `--overlay-text`, the token design-tokens.css defines for
exactly this pairing (already used for scene/PiP overlay captions).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 94d51fdc-b6f3-4762-9b2d-a585ae1533e1

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@EtienneLescot
EtienneLescot merged commit a2a411b into release/v1.10.0 Aug 22, 2026
17 checks passed
@EtienneLescot
EtienneLescot deleted the claude/timeline-clip-delete-contrast-rc3-cherrypick branch August 22, 2026 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant