Kristian sent the exact values; the first Charcoal was a neutral grey guess and missed them. Now: three panel greys, lightest sidebar (#2d3133) to darkest editor (#1e1e1e) with the list (#242b2e) between — the reverse of the usual sunken-is-darkest order, so the editor takes its own --editor-bg rather than sharing the list's surface. The accent is amber: the selected menu item is solid #ffce35 with dark text, a selected note is gold #a78c26 with dark text, and the section headings drop to a quiet grey (#8a8e90). Each per-element colour is a fallback token only Charcoal sets, so every other theme reads through to the shared token unchanged. Verified the computed values land on Kristian's samples exactly. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
web
The SvelteKit PWA. Not written yet — this directory holds its place so the Docker build has something to copy, and so the frontend stage can tell "not built yet" apart from "the build failed".
The Dockerfile builds this directory when it finds a package.json here, and
otherwise emits a placeholder page. So adding the real app is exactly: put a
SvelteKit project in this directory whose npm run build produces build/.
What it needs to be
- SvelteKit,
adapter-static, output inbuild/. The Go binary embeds that directory at compile time and serves it, falling back toindex.htmlso client-side routes survive a reload. - A PWA: installable, offline reading of already-cached lists, swipe gestures for complete and schedule.
- Nordic minimalism. Dark by default, light available. One accent colour, everything else neutral. Runic mark for Verdande.
- Optimistic on every local action. No spinner ever appears for something the browser could already know the answer to.
Talking to the backend
Same origin — the Go binary serves both. /api/v1 for REST, /api/v1/ws for the
live sync. Session cookie is httpOnly, so the frontend never handles the token
itself.
During development, run the backend on 8080 and point the Vite dev server's proxy at it:
VERDANDE_DATA_DIR=./data VERDANDE_DEV=true go run ./cmd/verdande