project-nomad/admin/types
Chris Sherwood b1edef27e8 feat(UI): add Night Ops dark mode with theme toggle
Add a warm charcoal dark mode ("Night Ops") using CSS variable swapping
under [data-theme="dark"]. All 23 desert palette variables are overridden
with dark-mode counterparts, and ~313 generic Tailwind classes (bg-white,
text-gray-*, border-gray-*) are replaced with semantic tokens.

Infrastructure:
- CSS variable overrides in app.css for both themes
- ThemeProvider + useTheme hook (localStorage + KV store sync)
- ThemeToggle component (moon/sun icons, "Night Ops"/"Day Ops" labels)
- FOUC prevention script in inertia_layout.edge
- Toggle placed in StyledSidebar and Footer for access on every page

Color replacements across 50 files:
- bg-white → bg-surface-primary
- bg-gray-50/100 → bg-surface-secondary
- text-gray-900/800 → text-text-primary
- text-gray-600/500 → text-text-secondary/text-text-muted
- border-gray-200/300 → border-border-subtle/border-border-default
- text-desert-white → text-white (fixes invisible text on colored bg)
- Button hover/active states use dedicated btn-green-hover/active vars

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-20 11:46:10 -07:00
..
benchmark.ts refactor(Benchmarks): cleanup api calls 2026-02-01 05:23:11 +00:00
chat.ts fix(AI): improved perf via rewrite and streaming logic 2026-03-03 20:51:38 -08:00
collections.ts feat: curated content update checking 2026-02-11 21:49:46 -08:00
docker.ts feat: initial commit 2025-06-29 15:51:08 -07:00
downloads.ts feat: curated content system overhaul 2026-02-11 15:44:46 -08:00
files.ts feat: curated content system overhaul 2026-02-11 15:44:46 -08:00
kv_store.ts feat(UI): add Night Ops dark mode with theme toggle 2026-03-20 11:46:10 -07:00
maps.ts feat: [wip] new maps system 2025-11-30 22:29:16 -08:00
ollama.ts feat(AI Assistant): improved state management and performance 2026-03-11 14:08:09 -07:00
rag.ts feat(AI Assistant): performance improvements and smarter RAG context usage 2026-03-11 14:08:09 -07:00
services.ts feat: support for updating services 2026-03-11 14:08:09 -07:00
system.ts feat(GPU): warn when GPU passthrough not working and offer one-click fix 2026-03-11 14:08:09 -07:00
util.ts feat: initial commit 2025-06-29 15:51:08 -07:00
zim.ts feat: zim content embedding 2026-02-08 13:20:10 -08:00