Skip to content

feat(app): take the look from @frostyard/lodge-ui, with no visual change (ADR-0030) - #75

Merged
bketelsen merged 1 commit into
mainfrom
ui/lodge-ui-tokens
Oct 21, 2026
Merged

bketelsen merged 1 commit into
mainfrom
ui/lodge-ui-tokens

Conversation

@bketelsen

Copy link
Copy Markdown
Contributor

Step 1 of the suite's UI library migration (Brian's decision, 2026-10-21; lodge ADR-0018, Proposed, lodge #18).

  • The shared colour tokens, the generic extras (--bg-code, --bg-highlight, --popover-shadow, --backdrop), the colour map and the 5 shared type roles come from @frostyard/lodge-ui. frostnotes keeps --bg-tag, --callout-cyan and its status, tab and keycap roles.
  • The preflight stays frostnotes' own (ADR-0025): the package imports no Tailwind; the import order is Tailwind theme, the app's preflight, Tailwind utilities, then the package. preflight.test.ts passes.
  • New ADR-0030 (Proposed): the look comes from lodge's UI package. It extends ADR-0011: the third-app condition is met (the reader, frostyard/frostread, is built on the package).

Proof of no visual change: built stylesheet before and after (make web-build): 0 custom properties lost or changed in all four colour contexts; no rule the app uses is lost or changed. frostnotes has no screenshot target.

Depends on lodge #18. The lock pins lodge commit 6975d3b. After lodge tags ui/v0.1.0, a follow-up bumps the pin. Merge lodge #18 first.

Gates: make check, make ui-check (793 tests).

ADR-0011 said a shared package is worth it when a third app needs the same
pieces; frostread is the third, and lodge carries the look as
@frostyard/lodge-ui (lodge ADR-0018). The planner approved the dependency
on 2026-10-21. ADR-0030 records the move.

app.css imports the package's fonts, tokens, accents and theme after
Tailwind's own theme, preflight and utilities, so the preflight stays the
app's copy (ADR-0025). tokens.css keeps the two tokens the package does
not carry, --bg-tag and --callout-cyan, and app.css keeps their colour
utilities and the status, tab and keycap roles.

Proof of no visual change, from the built stylesheet (make web-build,
before and after): 0 custom properties lost and 0 changed in the light
root, the media dark block, [data-theme="dark"] and [data-theme="light"].
The additions are the density tokens, the avatars and --accent-contrast
written out in the dark, and three utilities only the package's
components use. No rule the app uses is lost or changed.
@bketelsen
bketelsen merged commit 70e1ee0 into main Oct 21, 2026
4 checks passed
@bketelsen
bketelsen deleted the ui/lodge-ui-tokens branch October 21, 2026 10:51
@bketelsen bketelsen mentioned this pull request Nov 24, 2026
4 tasks done
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