Repository navigation
fix(tui): unify attention indicators with unread accent - #45741
Merged
Merged
Conversation
kitlangton
marked this pull request as ready for review
August 27, 2026 21:13
Contributor
Author
|
Merging with a CI exception: Linux unit tests timed out in |
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.
Why
Question, permission, and unread indicators currently use three different colors. Give them one consistent attention color and let the glyph communicate what needs attention.
What Changes
Default both
text.status.questionandtext.status.permissionto$text.status.unread, the theme's unread accent color.?!Changing a theme's unread color now updates question and permission indicators too, unless the theme explicitly overrides those status tokens. This applies to both light and dark modes, including standalone themes.
Demo
Left: base
0c77f6ed5b. Right:99d57e01b3.OpenCode dark, Catppuccin dark, Gruvbox dark, then Catppuccin light. Each pair shows real running, question, permission, and unread sessions, with the question selected.
accent-comparison.mp4
Recorded from the production TUI using an isolated OpenCode Drive scenario with simulated LLM responses. Live frames are sampled at 10 fps and encoded with Drive's recording renderer. The video reuses the base-revision footage, crops to the tab rail, and joins equal-length theme checkpoints. Setup and theme-picker transitions are omitted.
Scope
Only the default question and permission colors change. Their glyphs and semantic tokens remain distinct, explicit theme overrides are preserved, and error feedback stays unchanged. Includes a theme changeset and regression coverage for theme resolution and selected/unselected tab indicators.
Verification
All passed: 6 theme tests and 8 tab tests. The push hook also passed all 33 workspace typecheck tasks. All four updated Drive runs completed successfully; inspected narrow 60x26 and wide 120x32 captures as well as the recorded 96x26 viewport.