Commit Graph
4 Commits
Author SHA1 Message Date
Locust agent b11d9fff9c feat(design): persistent wayfinding and typographic page shells on the token palette
- SiteHeader: brand, section navigation from route meta, section pages nav,
  theme toggle mounted as committed, keyboard menu under 640px.
- SiteFooter, PageHeader, PageSection and TableCard carry the page shells.
- Every view rewritten on the token type scale and reading public/src/data;
  the old layout and ui components it replaced are removed.
- NotFoundView plus the catch-all route, so an unknown path names itself.
- App.vue: skip link that moves focus without changing the hash route, focus
  moved to the main landmark after a page change, unique title from route meta.
- assets/styles/main.css reduced to the base layer on token utilities.
- FontAwesome self-hosted from the npm package instead of the CDN.
- Home carries all five commitments (WP-49).
2026-11-02 23:41:32 +00:00
Locust agent 8232c6a1d4 feat(tokens): add light and dark colour tokens
Define the nine contract custom properties in public/src/main.css, with
light values in the :root block and dark values in the .dark block that
the theme helper applies to the root element.

Every pair was measured against the WCAG 2.2 minimums and clears them
with headroom in both themes: body and muted text at 4.5:1, large text
and the border (which doubles as the UI component boundary) at 3:1, and
accent used as text at 4.5:1. Borders are checked on both the
background and the muted surface.

Import the file from public/src/main.js after the legacy sheet import,
so the tokens are in the bundle and are the last definition of any name
the legacy sheet also sets.
2026-11-02 21:15:32 +00:00
Locust agent 640a04d483 feat(theme): add theme toggle and pre-mount theme bootstrap
Add a self-contained theme toggle component under
public/src/components/theme/ that toggles the dark class on the root
element and stores the choice under the beat-theme key in
localStorage. Apply the stored theme, or the prefers-color-scheme
default when nothing is stored, before the app mounts so a cold load
never paints the wrong theme.

The pre-paint script in index.html and both 404 copies reads the same
beat-theme key, so the theme is already on the root element when the
first frame is painted.
2026-11-02 18:03:56 +00:00
lukaszraczylo 2c35679bd8 Add page deployment 2025-12-13 00:59:42 +00:00