fix(editor): timeline clip delete icon contrast in light theme (cherry-pick for 1.10.0-rc.3) - #481
Merged
EtienneLescot merged 1 commit intoAug 22, 2026
Conversation
…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>
Contributor
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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. Comment |
EtienneLescot
deleted the
claude/timeline-clip-delete-contrast-rc3-cherrypick
branch
August 22, 2026 12:24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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