Files
ServerKit/frontend/src
Juan DenisandClaude Opus 4.8 cd16d9a479 feat(ui): add layout switcher with compact rail variant
- New LayoutContext (localStorage-persisted, sets data-layout on <html>),
  mirroring ThemeContext.
- "Layout" switcher in the sidebar user menu: Sidebar | Compact.
- Compact rail: a 64px icon-only sidebar that expands to the full sidebar
  on hover/keyboard focus; desktop-only, the mobile drawer is unchanged.
- Reuses existing nav markup — labels hide via font-size:0 (kept in the
  accessibility tree); no nav-render changes.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-19 03:02:23 -04:00
..