Repository navigation
feat(desktop): draw frostui's Frostyard look - #202
Merged
Merged
Conversation
frostui v0.5.0 draws the Frostyard look (frostui ADR-0011). It builds and its tests pass against the MyGo fork the replace keeps.
The Theme setting picks FrostyardTheme with the desktop's preferences but not its accent. Live preview sets headings in Inter in the text color and puts code blocks' lines, fences included, on the code color; the reading view draws code blocks on it inside a hairline and callouts as frostui's banners. The literal font sizes and corners become kit styles and metrics, selected rows take frostui's selected row, and a Tester test draws the window over a vault in both themes.
ADR-0042 records the move to frostui's Frostyard themes and supersedes in part ADR-0038's accent; the app design, the UI spec, plan 0009 and AGENTS.md describe the new look.
frostyard-machines
approved these changes
Nov 12, 2026
This was referenced Nov 12, 2026
bketelsen
pushed a commit
to frostyard/frostui
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Phase 5 of frostui's Frostyard look plan: the desktop app moves to frostui v0.5.0 and its Frostyard look (frostui's ADR-0011). Recorded as ADR-0042 (Proposed), which supersedes in part ADR-0038's "the theme follows the desktop's accent".
go get,go mod tidy,make flatpak-sources). The MyGoreplaceto thebketelsen/mygofork stays; frostui v0.5.0 builds against it, andmake verify'sgo test github.com/frostyard/frostui/...step passes on the fork.applyAppearancesetsfrostui.FrostyardTheme(dark).WithPreferences(p)with the accent cleared, at the start of every frame: Light and Dark pick a theme, System follows the desktop's light or dark. High contrast and the desktop's text size apply; the accent no longer does. Zoom stays MyGo's whole-window zoom.livepreview.Result.Code), and the editor puts them on frostui's code color withLineBackgrounds. The fence header (language and Copy) stays on the editor's ground: MyGo places a block within the text's width, narrower than a line's background, so a header on the code color would not line up with the lines. The reading view (and live preview's rendered blocks) draws code blocks on the code color inside a hairline atRadiusChip, callouts as frostui's banner (tone fill and line, with the tone bar), and note embeds square.FontSize(n)and 5 literal.Radius(n)ininternal/desktopare now frostui styles (Title,Body,Muted,Caption),TextSize, the theme'sRadius,RadiusChipandRadiusCard. The brand tile is the brand gradient, as frostui's shell draws it. Selected rows (vault list, history, panes) use frostui's selected row via a newuikit.SelectedRow; pane tabs take the selected fill; hovered rows and tool buttons change their text color, not their background.Risk tier
Risk tier: 3 —
risk:high: two changed files are on the L1 list (the glob{internal/render/sanitize.go,…,internal/desktop/reading/view.go,internal/desktop/editor/live.go}, "what a rendered note may reach").internal/desktop/editor/live.go: only how live preview draws. Heading fonts, line backgrounds for code lines, a sparse editor theme that colors headings, and the code header's text styles change.embedKind, the link and tag objects,activate,resolvedand the image and media decisions are unchanged.internal/desktop/reading/view.go: only the Markdown view's theme (setLook: code block background, border and radius) and the callout and embed boxes' colors, radius and text style change.loadImage, the remote image fetch, its limits,link, task toggling and which fenced blocks are drawn are unchanged.Docs housekeeping
TEMPLATE.md(ADR-0042)docs/README.mdVerification
make ci IN_NSL=truegreen on the host, under the shared lock and a 16G cap:make verify(tidy, gen-check, vet, gofmt, the pinned golangci-lint 2.15.0, unit tests, frostui's tests against the MyGo fork),make desktop-build, andgo test -race ./....ui-checkwas replaced with a no-op (IN_NSL=true) because this host has nofrostnotesnsl machine. Nothing underapp/changed.make flatpak-sourcesrun (frostui v0.4.0 → v0.5.0 inpackaging/flatpak/go-sources.json)TestTheWindowDrawsInTheFrostyardThemes(internal/desktop/window/look_test.go) draws the main window over a vault in both themes, both as the desktop picks them and as the Theme setting overrides the desktop. It checks the theme's ground and font, the pixels of the note pane (background) and sidebar (chrome), that Inter is registered and measures differently from the default sans, live preview's heading font and code-line backgrounds, the reading view's code-block color, and that zooming keeps the theme. Revert check: with headings back in the editor's family and the fence lines on another color, it fails on both checks in every subtest.TestCodeBlocksKeepTheirLinescovers the scanner's code lines (fenced, indented, an open fence, spaces-only lines).FROSTNOTES_SCREENS=… go test -run 'TestTheWindowDrawsInTheFrostyardThemes|TestEveryScreenDraws'(live preview, reading view, vault manager, palette, settings; light and dark) compared with the Frostyard Desktop design system's README, tokens and component notes.Not done here: the Flatpak metainfo screenshots in
docs/images(make screenshots) still show the old look; frostui's plan leaves refreshing them for after phases 3 to 5.