Unslop redesign (design system, icons, Year in Books restyle)
Foundation
themes.cssregenerated: lighter, more neutral light theme (page#f7f4ee, card#fdfbf7, raised#efe9df), alpha hairline borders, neutral shadows only on floating surfaces, accent-as-text tokens at ≥ 4.5:1. New tokens--font-ui,--font-display,--fs-12…44,--r-chip/control/card/panel,--sp-1…16,--color-text-muted,--color-accent-text,--color-foil; legacy aliases (--accent,--surface,--muted…) kept and remapped.--font-monoresolves to the UI font (tabular figures).- Fonts: Lora 400/500/600 for the interface, Cormorant Garamond 500/600 only for display sizes ≥ 20px. Inter and Playfair removed. No weights above 600, no italics, no uppercase tracked labels, minimum 12px.
- Icons: self-hosted lucide sprite (ISC) inlined after
<body>; helpersicon(name, cls),collectionIcon(emoji, name, cls),COLLECTION_ICON_MAP,COLLECTION_PICKER. All emoji/glyph icons replaced;toast()strips leftover emoji. Collection icons are still stored as emoji in the DB (no migration) and mapped at render time; the picker saves the same values. - Shared components restyled (
.btnfamily,.fi,.fl, chips,.tag, modal chrome, toast, menus, empty states). New.ribboncomponent (bookmark ribbon, used only on covers of books being read). Cache-bust?v=20261121-unsloponthemes.cssand thewrapped.*files.
Areas
- Shell/dashboard: flat three-spine logo mark, icon nav (mobile label "Home"), stat strip instead of six icon cards, Currently reading with 96×144 covers + ribbon, ranked genre list with thin bars, progress bars via
transform: scaleX, theme switcher reachable on phones, one-row mobile header, password-reset screen restyled. - Books: single meta line per card, one status indicator (ribbon + progress line / "Finished" date), stars only when rated, joined sort/filter control, filter panel as one scroller with solid footer (fixes clipped pills and overlapping "Clear filters"), visible selected-card state, lookup result with cover as hero, read-modal date overflow fixed on mobile,
focusModalBody()so modals don't open with a focus ring on ✕. - Series/collections: cover fan on series cards, volume strip (read / owned / missing) in the series detail, quiet "Part N", cover mosaic on collection cards, collection delete moved to the drill-in header (still confirmed).
fbStatusBadge()/fbTypeIcon()keep their signatures (now icon output). Menu + modal titles unified as "Send feedback" / "My feedback". - Admin: sentence-case sub-nav with sprite icons and quiet counts (single scroll row on mobile), overview as stat strip + read/unread bar + books-per-owner chart from existing endpoints (
/admin/overview,/admin/users), distinct selected vs keyboard-focus row states (hookstr[data-id],.adm-row-sel,.adm-row-focusunchanged), data quality as ranked list with severity dots, reset modal migrated to tokens. - Year in Books: all hue gradients, glows and per-card palettes removed; always-dark story surface with gold foil, Cormorant figures, sprite icons for reader types, cards composed as one centred block. New
window.WrappedShelfdraws one spine per book (height/width from page count, cloth tone from a title hash, width clamped to 0.07–0.16 × row height); shelf built from the clientbooksarray (acceptsd.shelf = [{title, pages, cover_color}]if the API adds it later). Share PNG redrawn in the same style with measured stat columns; waits fordocument.fonts.ready.wsFilland all auto-advance hooks unchanged. - Changelog pages: font
<link>moved into<head>(the old@importwas ignored), neutral tag chips, no emoji prefixes ("Warning" lead-ins instead of ⚠️), un-borderedcode.
Deploy notes
- Frontend only; no backend or database changes. Rebuild the frontend container in Portainer. Backup of the previous frontend in
Y:\backups\2026-11-21-unslop\. - Built with a multi-agent workflow (Opus orchestrating, Sonnet agents per area) and verified with a Playwright harness against a mocked API: 43 scenarios × 2 themes × desktop/mobile, 0 JS errors. Not yet verified against the live database.