Skip to content

fix(ui): fields keep rest, focus and invalid apart in a contrast theme - #347

Merged
Hona merged 8 commits into
devfrom
ws8/contrast-fields
Nov 21, 2026
Merged

Hona merged 8 commits into
devfrom
ws8/contrast-fields

Conversation

@Hona

@Hona Hona commented Nov 21, 2026

Copy link
Copy Markdown
Member

Closes two ledger rows, UP-114 and UP-122.

  • Contrast theme (UP-114, opencode#65100): the app sets Rune's Kit::forced (Allow Luau plugins to customize the main session sidebar #1310, already pinned) to the theme's highlight while the system contrast theme paints. Kit text fields then draw a text-colour edge (2 pt dashed when invalid) and focus as a 2 pt highlight ring, 2 out. Before, rest and focus looked the same. The find bar does the same.
  • Line comment field: focus is a border-focus border with a 1 px outline just outside, not the select shadow, as line-comment-styles.ts now draws it (in every theme).
  • Group name field (UP-122, opencode#65176): nothing to change. Our field fills its row and draws no ring. Note: our group menu renames inline (its Rename item), not in a field inside the menu as official's GroupEditor does; that difference belongs to UP-072.
  • Ledger: both rows set to "have it".

Night Sky contrast theme (RUNE_CONTRAST=night-sky), before (e9b29cd0) | after: find bar at rest and focused, then Appearance's font fields at rest and with the first focused:

@github-actions

github-actions Bot commented Nov 21, 2026 •

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.

@Hona
Hona merged commit 747a5e6 into dev Nov 21, 2026
6 checks passed
@Hona
Hona deleted the ws8/contrast-fields branch November 21, 2026 04:09
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.

1 participant