Skip to content

feat: draw the components in the Frostyard brand (ADR-0011) - #19

Merged
bketelsen merged 1 commit into
mainfrom
feat/frostyard-components
Nov 11, 2026
Merged

bketelsen merged 1 commit into
mainfrom
feat/frostyard-components

Conversation

@bketelsen

Copy link
Copy Markdown
Contributor

Summary

Phase 2 of the Frostyard look: the kit's components drawn in the brand. Phase 1 set the colors and font.

  • Corners. RadiusCard 0 (cards, figures, disclosure cards, toasts), RadiusChip 2 (pills, fields, banners, keycaps, palette and pipeline rows), and the theme's Radius 4 for buttons, the brand tile, avatars and icon tiles.
  • Faces.
    • Cards, Figures and DisclosureCard sit on the panel gradient.
    • Primary buttons, the brand tile, and the About and hero logos are on the brand gradient.
    • IconButton, LabeledButton and the compact palette button are ghosts: a hairline, no face, and the hover text on hover. Selected still gives toggles the accent face.
    • A destructive confirmation is the danger fill and line.
  • Pills. A 1px outline in the tone's line, with uppercase monospace text. Each keeps the text as written as its accessible name, so tests that find pills by text still pass.
  • Selection (fixes Rail: an Accent badge vanishes on the selected item #15). The selected rail item (Shell and Settings), the chosen source-list row and the palette's chosen row take the selected fill, a 1px accent rule on the leading edge, and the selected text. A badge on a selected row is drawn in the selected text, so the accent badge reads. MyGo paints those rows itself, so the rail and the source list's outline are built inside theme scopes (railTheme, choiceTheme) whose accent and accent text are the selected colors.
  • Labels. Rail sections, source-list headers and palette headings are Labels.
  • Surfaces. The palette field sits on the code color at radius 2. So does the console. Toasts float on the panel inside the line-strong hairline, with no shadow.

The design doc's theming section lists all of this. The API-changes note covers the new radii and pill text. The plan marks phase 2 done. The README pictures are the new snapshots.

For review:

  • The pictures in docs/images/ against the Frostyard Desktop design system's previews.
  • Badge size: pills and counts use the brand's 9 DIP text, and the plan leaves "counts at 11.5" open.
  • The three-pane example's own left sidebar is a plain MyGo ui.Sidebar in the example, not a kit component, so it keeps MyGo's look. Frostmail uses the kit's SourceList, which is restyled.
  • MyGo's own dialogs, the palette's modal among them, keep their own corners.

Risk tier

Risk tier: 2 — a visual behavior change across the kit's components. No security, release or CI paths change.

Docs housekeeping

  • Cross-links added in both directions (design ↔ plan)
  • Conformance aliases and canonical symlinks are unchanged

Verification

  • make verify green
  • make ci BASE=origin/main green: verify, the js/wasm tests, the race detector and every cross-build target
  • TestSourceListMiddleClickSurvivesRowsBuiltAgain measured the pinned header by its title's box. The title is now the 9.5 DIP label, so the test now measures the header's 28 DIP row centered on the title. The behavior it checks (the release lands on the pinned header) is unchanged.
  • make snapshot: the command center, source list and three-pane examples in both themes, reviewed against the design system's previews. The light ones replace docs/images/.

Corners are nearly square: RadiusCard 0, RadiusChip 2, buttons at the
theme's 4. Cards, figures and disclosure cards fill with the panel
gradient; the primary face (primary buttons, the brand tile, the About and
hero logos) is the brand gradient; IconButton, LabeledButton and the
compact palette button are ghosts with the hover text. Pills are outlines
in the tone's line with uppercase monospace text, named as written. A
destructive confirmation is the danger fill and line.

The selected rail item, the chosen source-list row and the palette's
chosen row are the selected fill with an accent rule and the selected
text; a badge on them is drawn in the selected text, so the rail's accent
badge reads on the selected item. Rail sections, source-list headers and
palette headings are Labels. The palette field and the console sit on the
code color; toasts float on the panel inside the line-strong hairline,
with no shadow.

The design doc lists the brand's components, the API changes note the new
radii and pill text, the plan marks phase 2 done, and the README pictures
are the new snapshots.

Fixes #15
@github-actions github-actions Bot added level:L2 Read the diff risk:high Touches a path in .github/risk-paths.json (core ADR-0068) labels Nov 11, 2026
@bketelsen
bketelsen merged commit f40c029 into main Nov 11, 2026
9 checks passed
@bketelsen
bketelsen deleted the feat/frostyard-components branch November 11, 2026 23:50
bketelsen pushed a commit that referenced this pull request Nov 13, 2026
The Frostyard look's phases 1 to 5 all landed (frostui #18 and #19,
released in v0.5.0; frostyard/chairlift#295, frostyard/frostmail#277,
frostyard/frostnotes#202). Add a status line with that evidence, and
point its open "Later" items to #32, #33 and #34. The README and
store screenshots item landed in frostyard/chairlift#296,
frostyard/frostmail#281 and frostyard/frostnotes#204.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

level:L2 Read the diff risk:high Touches a path in .github/risk-paths.json (core ADR-0068)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rail: an Accent badge vanishes on the selected item

1 participant