Repository navigation
fix(ui): one keyboard focus ring everywhere, inset where an edge clips - #262
Merged
Merged
Conversation
Ports the ring half of anomalyco/opencode#64909 and #65084. - opencode_ui::focus holds the ring: 2 pt of border-focus, 2 pt out by default, 2 pt in (focus_inset) for full-width rows, tabs, scroll viewports and controls flush with a clipping edge. FocusExt makes each control's choice one call in its builder. - The view's default ring moves from 2.5 to 2 pt out (button.css, icon-button.css). - Dark themes ring in blue-400 (theme.json and themes.json regenerated from upstream), and the kit's controls take the app's border-focus in every theme. - Inset rings: titlebar buttons and plugin titlebar items (#65084), sidebar session rows, group headers and Show more, inbox cards and headers, Home's project and session rows and its scroll viewport, the timeline viewport, side panel tabs, the narrow tabs trigger and drawer, Connect's provider, account and model rows, the question dock's progress and 2 pt option ring, the Find bar's close button. - Send keeps the outside ring; the composer's toolbar keeps the inside one. - The session title is a button inside its heading, a Tab stop, and a rename hands focus back to it.
|
PR test build retired — merged into |
Hona
added a commit
that referenced
this pull request
Nov 20, 2026
…ing (#266) - Fold verified fleet PRs #247, #251, #252, #253, #254, #255, #256, #257, #258, #260, #261, #262, #263, #264, and #265 (Rune #1290 PRE-11 / #1296) into docs/upstream-sync/ledger.{json,md} - Audit upstream anomalyco/opencode through 92d35f8e18 (+9 commits past bf683129fa), adding UP-107..UP-113 and assigning UP-106/UP-108/UP-111 to BROWSER-UI - Update scripts/upstream-sync-check.ts to skip pure *.fixture.* test files and route browser UI/history vs extensions commits to BROWSER-UI and WS-9
Hona
added a commit
that referenced
this pull request
Nov 20, 2026
…ing (#269) The rest of anomalyco/opencode#64909's rings, on screens that landed since #262. - Interface and Navigation mode cards: selection is a neutral 2 pt border-strong edge and a 16 pt check outside the corner, never the blue focus colour; unselected sketches at 45%; resting border border-muted (interface-mode.css). - Project colour swatches: the chosen one rings in border-inverse; focus is the shared outline. - Settings project rows: the open button covers the row, so its inset ring is the row's. - Sidebar pins, pin groups, Recent group headers and its view-options trigger: inset rings.
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.
Ports the ring half of anomalyco/opencode#64909 and all of #65084: every control draws one keyboard focus ring, 2 pt of
border-focus(blue-500 light, blue-400 dark), 2 pt out by default and 2 pt in where an edge clips.opencode_ui::focus(WIDTH,OFFSET,INSET,color) andFocusExt::{focus_default, focus_inset}, so each control is one call. The view's default ring moves from 2.5 to 2 pt out.theme.jsonandthemes.jsonregenerated from upstream withtools/theme.pyandtools/themes.ts: every darkborder-focuschanges, nothing else. The kit's controls take the app'sborder-focusin every theme.Before (baseline
757edbae) | after, dark and light, 1x and 1.5x:Checks:
scripts/guardrails5/5,check --workspace,web.ps1 -Check. Not in this PR: top-tab strip tabs (Rune #1296), settings cards, timeline group triggers, keyboard-only composer and field rings (Rune).