Update the site menu
Owner: Ivan Hawkes
references: p2-ft-menu-system | p3-us-toggle-light-dark

Site Menu

Update the menu system to be inline with modern practices.

The sidebar navigation becomes a modern, accessible top bar, and the colour scheme switch sits in it beside a site search box. The work reuses the existing menu code: the recursive partial, the menus front matter and the colour scheme module all stay, so the diff is the navigation itself.

Top Bar

Responsive

Colour Scheme

Acceptance Criteria

Migration

Removed:

Added: header.css, layout.css, tokens.css, nav-menu.ts, site-header.ts and navigation/top-nav.html.

Templates and parameters:

Storage: no new key. The setting stays under theme, with the pre-three-state darkMode key migrated on read, as the colour scheme card established. The resolved scheme is on <html> as the dark class, the intent as data-theme.

Content needs no change: the entries still come from the menus front matter.

Verification