GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(ui): one keyboard focus ring everywhere, inset where an edge clips by Hona · Pull Request #262 · anomalyco/opencode-rune

Conversation

@Hona

@Hona Hona commented Nov 20, 2026

Copy link
Copy Markdown
Member

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.

  • One place: opencode_ui::focus (WIDTH, OFFSET, INSET, color) and FocusExt::{focus_default, focus_inset}, so each control is one call. The view's default ring moves from 2.5 to 2 pt out.
  • Theme: theme.json and themes.json regenerated from upstream with tools/theme.py and tools/themes.ts: every dark border-focus changes, nothing else. The kit's controls take the app's border-focus in every theme.
  • Inside: titlebar buttons and plugin titlebar items (#65084), sidebar rows, headers and Show more, inbox cards, Home's rows and scroll viewport, the timeline viewport, side panel tabs, the narrow drawer, Connect's rows, the question dock's progress, the Find bar's close button.
  • Outside: Send, timeline event rows.
  • Session title: a button inside its heading, a Tab stop; a rename returns focus to it.

Before (baseline 757edbae) | after, dark and light, 1x and 1.5x:

Checks: scripts/guardrails 5/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).

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Hona added 4 commits November 20, 2026 18:28
@Hona
fix(ui): one keyboard focus ring everywhere, inset where an edge clips
57296bf
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.
@Hona
Merge origin/dev into ws8/focus-ring
30adc63
@Hona
fix(ui): keep Home's row actions clear of the row's inset focus ring
2f6d740
@Hona
Merge origin/dev into ws8/focus-ring
108b005
@Hona
Hona merged commit e6fe564 into dev Nov 20, 2026
3 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@Hona
Hona deleted the ws8/focus-ring branch November 20, 2026 09:13
Hona added a commit that referenced this pull request Nov 20, 2026
@Hona
style(tab-groups): align focus_inset rings with #262
e5783ac
@github-actions

github-actions Bot commented Nov 20, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

PR test build retired — merged into dev. Install or auto-update OpenCode (Rune) from https://anoma.ly/release/opencode/desktop-rune/dev/macos-arm64-dmg.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Hona added a commit that referenced this pull request Nov 20, 2026
@Hona
docs(sync): fold #247-#265, add UP-107..UP-113, and refine radar rout…
d32f7bf
…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
@Hona
feat(tabs): experimental side tab groups with 4-intent drag, dwell co…
3869c29
…mbine, filter, and tear-out (#259)

* feat(tabs): experimental side tab groups with 4-intent drag, dwell combine, filter, and tear-out

* refactor(tab-groups): split drag hit testing below 800-line ceiling

* style(tab-groups): align focus_inset rings with #262
@Hona Hona mentioned this pull request Nov 20, 2026
fix(ui): settings mode cards and sidebar pins take the shared focus ring #269
Merged
Hona added a commit that referenced this pull request Nov 20, 2026
@Hona
fix(ui): settings mode cards and sidebar pins take the shared focus r…
2d05cd8
…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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@Hona
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.