Skip to content

Theme Slate, Frame.Card, Chip.Style, GraphView.CornerRadius - #599

Merged
tannevaled merged 1 commit into
mainfrom
feat/theme-slate
Nov 18, 2026
Merged

tannevaled merged 1 commit into
mainfrom
feat/theme-slate

Conversation

@tannevaled

Copy link
Copy Markdown
Contributor

A Tailwind-slate theme with one brand accent, and the widget support it needs, for agentscope (modelled on the go-authn account page).

  • theme_slate.go: SlateLight(brand), SlateDark(brand), Slate(brand, dark). The slate-50 page, white cards, slate-900 ink, slate-200 borders at 80 percent; dark uses the page dark-bg, dark-surface, dark-raised and white 7 percent borders. The brand variants are DERIVED from the brand colour (hover 14 percent darker in light and lighter in dark, ink 31 percent lighter) and reproduce the page values for its 0079a8 brand: 006890, 248cb4 and 4ea2c3 (tested). Extra carries OnAccent, brand_hover, brand_ink, chip colours, a muted ink, and the card shadow (light only: the page has none in dark). The host reads the system colour-scheme preference and picks the variant.
  • Frame.Card, Frame.CornerRadius: a card is a rounded Theme.Surface with a soft border and the theme two-layer shadow, padded 12, with its title as a heading over a hairline. The plain frame is unchanged.
  • Chip.Style: ChipPlain and ChipBrand rounded pills with the theme chip colours; the default chip is unchanged.
  • GraphView.CornerRadius: rounded node pills and cluster boxes (square by default).

Tests: palette values, the derived variants against the reference, card corner, middle and shadow in light and dark, heading hairline, chip pills and fallbacks, graph corner pixels; 100.0 percent of every package; the MVVM gate allowlist gains the four set-once fields.

🤖 Generated with Claude Code

…, GraphView.CornerRadius

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@tannevaled
tannevaled merged commit 73b204d into main Nov 18, 2026
1 check passed
@tannevaled
tannevaled deleted the feat/theme-slate branch November 18, 2026 21:12
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