feat(client): replace the global header with a sidebar dock and command palette

Remove AppHeader. The sidebar gains a Search row that opens a Cmd+K palette (books, authors,
series, places, settings pages and actions), a utility dock above the footer, and a Reading
group below the lists. Every page opens with a shared PageTitleRow; phones without one get a
slim bar. Settings headers gain a full description, and the top glow defaults to 50% with one
reach and strength for every style. The Appearance panel opens past the sidebar, reorders its
controls and names the current pick, and keeps each pastel accent under its vivid one.
This commit is contained in:
neon
2026-10-16 08:28:27 +00:00
parent be9b103120
commit c544a28e77
67 changed files with 2708 additions and 1789 deletions
+2 -2
View File
@@ -29,8 +29,8 @@
var style = readStoredValue('style', 'bookorbit')
var surfacePalette = readStoredValue('surfacePalette', 'steel')
var rawReach = localStorage.getItem('glowReach')
var storedReach = rawReach === null ? 80 : Number(rawReach)
var glowReach = isFinite(storedReach) ? Math.min(200, Math.max(0, storedReach)) : 80
var storedReach = rawReach === null ? 50 : Number(rawReach)
var glowReach = isFinite(storedReach) ? Math.min(200, Math.max(0, storedReach)) : 50
var systemDark = typeof window.matchMedia === 'function' && window.matchMedia('(prefers-color-scheme: dark)').matches
var isDark = theme === 'dark' || (theme !== 'light' && systemDark)
if (isDark) root.classList.add('dark')