Settings page: themes (Dark, Light, Cyberpunk, Retro) with xterm palettes and hub-synced choice, change password, access tokens, about

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Mitchell-Johnson
2026-09-18 13:14:01 -07:00
co-authored by Claude Fable 5.1
parent 254e0cdd58
commit a4f39859b6
11 changed files with 319 additions and 22 deletions
+7
View File
@@ -220,6 +220,13 @@ something long in one, switch away and back, refresh — it's all still there.
- **Terminal extras** — search, copy-mode, font/theme, split panes, upload via
drag-drop into cwd.
- **Settings + themes** — **shipped 2026-09-18** (`Settings.tsx`, `themes.ts`): Settings
page with Appearance (Dark, Light, Cyberpunk, Retro — CSS variables on `<html>` plus a
matching xterm palette, applied before first paint from localStorage and synced hub-side
via `GET/PUT /api/prefs/ui` so the choice follows the login), Account (change password,
`POST /api/password`, current password required), Access tokens (list/revoke the tokens
hubs hold), About (version, host, arch, uptime, certificate).
## Open questions
- Idle-session reaping policy (never / after N days) — leaning never; it's a