Skip to content

fix(bots): make the Suggested marker readable under every theme - #52224

Closed
orca-remote-automation[bot] wants to merge 1 commit into
mainfrom
orca-remote-automation/task-b960d1a0164c-suggested-marker
Closed

orca-remote-automation[bot] wants to merge 1 commit into
mainfrom
orca-remote-automation/task-b960d1a0164c-suggested-marker

Conversation

@orca-remote-automation

@orca-remote-automation orca-remote-automation Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Fixes C14-01 from #49587: the "Suggested" marker on a question's recommended reply was accent-colored text. Under some Match Terminal themes it fell below 4.5:1 (Ghostty Default Style Dark 4.18 idle / 3.84 hover, Dracula 4.3 / 3.95).

The marker is now foreground text on a bg-background pill with an accent ring (inset-ring-theme-accent/50). It uses only existing theme tokens, no new literals. Its contrast is the theme's own foreground on its own background, which the app theme already keeps readable. It no longer depends on the accent or the row's hover tint.

Unchanged: text-xs, the right alignment, the row tint, and the narrow-pane layout (below 18rem the marker moves under the label). The pill's right edge sits on the card's time edge. In a narrow pane its left edge sits on the label edge. The pill is compact (px-1.5) with no extra elements.

Checked against how comparable products handle this.

Contrast, measured in the running app

The marker text against the composited surface behind it, at 340px.

Theme Before idle / hover After idle / hover
Built-in Light 5.80 / 5.32 19.80 / 19.80
Built-in Dark 5.57 / 5.07 17.37 / 17.37
Match Terminal: Ghostty Default Style Dark 4.18 / 3.84 14.00 / 14.00
Match Terminal: Solarized Dark 5.01 / 4.56 5.46 / 5.46
Match Terminal: Dracula 4.30 / 3.95 13.36 / 13.36
Match Terminal: Solarized Light 5.80 / 5.32 5.34 / 5.34

Screenshots

Red dashed guides mark the card's time edge and the reply label's edge, at 220 / 300 / 340px.

Light, short and long label:

light
light long

Dark, short and long label:

dark
dark long

All six themes, idle and hover:

themes

Performance

The diff only changes the marker's classes, all static Tailwind utilities with no new elements, effects or state. Paint cost is one rounded background plus an inset ring on a single span per open question.

Tests and i18n

The bots.items.ask.suggested string is unchanged. No test asserts the marker's classes. pnpm check:changed passes.

The recommended quick reply's Suggested marker was accent-colored text, which fell below
4.5:1 under some Match Terminal themes (e.g. Ghostty Default Style Dark, Dracula). It is now
foreground text on a background pill ringed in the accent, so it reads wherever the theme's
own text does, idle and hovered.
@greptile-apps

greptile-apps Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

Confidence Score: 5/5 · This styling change appears safe to merge.RetriggerView in GreptileConfidence Score: 5/5

[Low impact] This styling change appears safe to merge.

Summary

Makes the Suggested marker a rounded pill using the theme’s foreground and background colors, with an accent ring.

  • The Suggested marker uses a background-colored pill with an accent ring.

Reviews (1) · Last reviewed commit: "fix(bots): make the Suggested marker rea..." · Reviewed by Greptile

@orca-remote-automation

Copy link
Copy Markdown
Contributor Author

Superseded by #52236, which replaced the text marker with an accent star. Nothing left to apply here.

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.

0 participants