Home

giogio / goko

public
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

feat: polish goko-rune header and tab strip

3 days ago

1b52f2d
Authored
JoeJoeflyn11/9/2026, 9:14:48 AM
Header
- Settings gear: hover/press wash, 0.95 press scale, an accent-tinted open
  state with the gear turning one 60 degree notch on a spring, a tooltip, an
  accessible name and toggle state, and keyboard focus with a focus ring.
- Connection dot gets a halo, an accessible name and a hover tooltip; the
  Disconnected pill enters with a fade and small scale-up.
- Usage chip separators sit evenly between values, and chip and wordmark text
  use fixed line boxes so they land on whole device pixels.

Tab strip
- Terminal/Editor switch is a radio group with one thumb that glides to the
  active segment (shared-element motion), a visible thumb fill, and hover and
  press feedback. Children are keyed so the icon and label do not morph into
  each other when the thumb moves.
- Switch padding is even on all four sides (the track height is derived from
  the inset) with concentric radii, and the track lines up with the 32 pt tab
  pills.
- The bar is centred in its visible 40 pt instead of sitting 0.5 pt low.
- A hovered inactive tab no longer paints the active tab's fill, the close X
  has its own hover and a balanced box, tab titles keep one weight so
  selecting never shifts neighbours, and tabs are keyed by title.
- Split buttons are dimmed and disabled with a tooltip instead of looking live.
- Shared buttons use text-colour hover and press washes, a 0.97 press scale,
  a role and a focus ring; unused btn_icon is removed.

STATE_SPRING moves to theme.rs so the sidebar and chrome share it.

Parentd40526a

4 files changed
  • apps/rune/src/chrome.rs+266−74
  • apps/rune/src/sidebar.rs+2−7
  • apps/rune/src/theme.rs+38−19
  • docs/llm/domains/rune-chrome.md+18−6