- /edit/theme-settings now lists user-defined presets with preview
swatches, edit and delete actions
- Add/edit preset form at /edit/theme-settings/presets/new and /{key}
- Built-in catalog (14 themes from docs/themes.md) with one-click import
- docker-compose.yml using ghcr.io/uhlwoogi/modern-glance:latest
- Dockerfile gains OCI source label for GHCR repo linking
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- New /edit/theme-settings page with native color pickers for the
background/primary/positive/negative theme colors plus light mode,
contrast and saturation multipliers, custom-css-file path, and
picker-disable. Pickers use hex; the backend converts to Glance's
HSL "H S L" form before writing. Theme presets and full custom CSS
intentionally still YAML.
- Numbered backup chain: save() rotates up to 10 prior versions as
glance.yml.bak.1 .. .10 instead of a single .bak. The /edit page
lists them with humanized timestamps and a per-row Restore button.
Single-step "Restore previous (toggle)" is preserved.
- Restoring any backup saves the just-current state as a fresh
.bak.1, so undo-the-undo always works.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>