Skip to content

desktop: selection quote toolbar blends into dark theme background #61329

Description

@Realmagnum

Description

The floating Quote toolbar ([data-component="timeline-quote"]) that pops up when selecting text in the chat transcript uses background-color: var(--v2-background-bg-layer-01) in dark mode (default theme Opencode) with a ghost button and no border.

Because bg-layer-01 matches the transcript background, the toolbar has almost zero contrast and blends in with the message behind it, making it hard to notice.

Giving it a subtle border, an elevated surface/glow, or an accent icon makes the action immediately recognizable.

OpenCode version

2.2.5

Expected behavior

The floating quote action should have enough contrast (border / elevated surface / distinct shadow) to clearly stand out over transcript messages.

Screenshot

Quote toolbar contrast enhancement

Operating System

macOS Tahoe on M1

Activity

  1. opencodejr commented on Nov 3, 2026

    @opencodejr
    Contributor

    Thanks for the report and the screenshot, @Realmagnum!

    To restate the request: in dark mode the floating Quote toolbar that appears when you select transcript text should stand out more. That could be a stronger border, a more raised surface, a distinct shadow or an accent icon, so it doesn't blend into what's behind it.

    I checked the code. In dark mode the toolbar uses --v2-background-bg-layer-01, the same color code blocks and tool output use, with a ghost button, so you're right that it can blend in there. It does already have the shared elevation-raised shadow, which includes a faint 0.5px light outline, so this is a deliberate style and not a rendering bug. I've filed it as a design improvement, and the maintainers will consider it.

    Related items, for context:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions