Repository navigation
fix(app): distinguish quote toolbar from dark transcript surfaces - #61781
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Looks good: a one-line, dark-mode-only change that moves the quote toolbar from bg-layer-01 (the same surface as code blocks and tool output) to bg-layer-02. That directly addresses the toolbar blending in. I checked that bg-layer-02 is defined in every dark token block and that the ghost button's hover and pressed overlays still read on the new surface. Light mode and the shadow are unchanged. I couldn't run the web app here, so I relied on the before/after captures in the description.
Public API: unchanged (CSS only).
No concerns.
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.
Summary
bg-layer-02surface in dark mode so it stands out from transcript content.Fixes #61329
Checks
bun typecheck: passed.bun test --conditions=solid --preload ../ui/test/solid-jsx.ts --preload ./happydom.ts ./src/session/composer/selection.test.ts: 2 passed.timeline-stream.spec.ts -g 'quotes plain timeline text'): 1 passed on base, 1 passed on the fixed build.rgb(36, 36, 36)torgb(46, 46, 46); computed shadow is identical.bun run check: passed with 1,066 existing lint warnings and an unused-suppression notice outside this diff.bun run lint:changed origin/dev: passed (no changed TypeScript files).bunx @hona/strobe bench packages/app/perf/timeline.bench.ts --base origin/dev --head .: timed out after 120 seconds during the first case; no performance verdict. The worktree changed while it was preparing builds, so that attempt is not performance evidence.bun install --frozen-lockfileresolved those. An intermediate capture/e2e attempt hit stale SPA HTML held by the first static test server after rebuilding; using a separate fixed-build test server resolved it. No app or background service was restarted.Before / after
Real app captures at 1100 × 780, OpenCode (
oc-1) theme in dark mode, identical fixture and code selection. Before is the unmodifiedorigin/devbuild at4c8b83ff84; after is this branch. Screenshots are attached, not committed.Before:
After:
Visual