From e482d0eb3087e495a53fb0a308292b784ff254a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20B=C3=B6hm?= Date: Fri, 6 Nov 2026 20:20:37 +0000 Subject: [PATCH] New look: pastel coral and lavender, serif headings (26.11.4) Palette H chosen by Kai (E-0009, replaces the palette of E-0002): light lavender-tinted surfaces, the main action as a pill in pastel coral with dark text, small-caps labels in deep lavender, Newsreader serif for h1 and h2 (vendored under app/fonts, OFL), sections separated by hairlines. The app icon follows the colours. tests/contrast.test.ts computes the contrast of every text/surface token pair from globals.css, light and dark, and requires 4.5:1. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01HUc2nv7rJVU2gp3Bgtha3q --- CLAUDE.md | 14 ++- OlaresManifest.yaml | 4 +- app/(app)/mehr/page.tsx | 15 +-- app/(app)/page.tsx | 26 ++++-- app/fonts/Newsreader-OFL.txt | 93 +++++++++++++++++++ app/fonts/newsreader-latin-opsz-normal.woff2 | Bin 0 -> 132000 bytes app/globals.css | 81 ++++++++++------ app/layout.tsx | 16 +++- app/manifest.ts | 4 +- components/app-nav.tsx | 6 +- components/auth/auth-shell.tsx | 4 +- components/more/invite-panel.tsx | 2 +- components/ui/button.tsx | 8 +- components/ui/input.tsx | 2 +- components/ui/notice.tsx | 4 +- docs/entscheidungen.md | 24 +++++ docs/icon/lunch.svg | 12 +-- messages/de.json | 7 +- messages/en.json | 7 +- messages/es.json | 7 +- messages/fr.json | 7 +- olares/Chart.yaml | 4 +- olares/OlaresManifest.yaml | 4 +- olares/icon.png | Bin 24850 -> 23572 bytes olares/markt/26.11.4.md | 5 + public/apple-touch-icon.png | Bin 5960 -> 5521 bytes public/icon-192.png | Bin 9278 -> 8940 bytes public/icon-512-maskable.png | Bin 18725 -> 16988 bytes public/icon-512.png | Bin 24850 -> 23572 bytes public/icon.svg | 12 +-- scripts/app-icons.mjs | 4 +- tests/contrast.test.ts | 62 +++++++++++++ 32 files changed, 344 insertions(+), 90 deletions(-) create mode 100644 app/fonts/Newsreader-OFL.txt create mode 100644 app/fonts/newsreader-latin-opsz-normal.woff2 create mode 100644 olares/markt/26.11.4.md create mode 100644 tests/contrast.test.ts diff --git a/CLAUDE.md b/CLAUDE.md index 2a8351d..b98f7b6 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -7,7 +7,7 @@ > **Plattform:** Olares One (Kubernetes), Repo und CI auf Gitea — kein Supabase, > kein Vercel (E-0001). Eigene Gestaltung, nicht AImighty (E-0002). > Verteilung über den Markt, Repo öffentlich (E-0005). -> **Status:** 26.11.3 — Arbeitspakete 1 und 2 fertig: Anmeldung mit Passkeys, +> **Status:** 26.11.4 (Gestaltung E-0009) — Arbeitspakete 1 und 2 fertig: Anmeldung mit Passkeys, > Datenmodell (24 Tabellen, E-0007/E-0008), Test mit zwei Haushalten, Sicherung nach > `/app/data`. Als Nächstes Arbeitspaket 3, Seed (`docs/PROJEKTSTART.md`). > **Letzte Aktualisierung:** 6. November 2026 @@ -74,10 +74,14 @@ Datenmodells (`households`, `dishes`, `rounds`, `slots`, …). 5. **Der Wochenvorschlag ist Regelwerk, keine KI** (`lib/suggest.ts`, mit Tests): Wünsche zuerst, dann Vetos, Kostenbalance, Basis-Wechsel, keine Wiederholung der Vorrunde, Frisches zuerst; jeder Slot trägt einen Satz, warum. -6. **Gestaltung (E-0002):** warme Palette (Creme, Terrakotta, Salbei) als - CSS-Variablen, dunkler Modus von Anfang an, shadcn/ui, Icons aus Lucide, keine - Emojis, Schrift lokal (nie vom CDN). Leere Zustände sagen, was als Nächstes zu - tun ist. Mobile zuerst. +6. **Gestaltung (E-0002, E-0009):** Pastell Coral & Lavendel, nur als Token in + `app/globals.css` (nie Farbwerte am Bauteil); Hauptaktion als Pille in Coral mit + dunkler Schrift, Etiketten `.eyebrow` in tiefem Lavendel, Überschriften in Newsreader + (lokal, `app/fonts/`), Abschnitte mit feinen Linien statt Kästen. Dunkler Modus von + Anfang an; `tests/contrast.test.ts` verlangt 4,5:1. shadcn/ui, Icons aus Lucide, + keine Emojis, nichts vom CDN. Leere Zustände sagen, was als Nächstes zu tun ist. + Mobile zuerst. Ändert sich das Symbol: `docs/icon/lunch.svg`, dann + `scripts/app-icons.mjs`, und `olares/icon.png` per PR nach `aimighty/bilder`. 7. **PWA:** Serwist; App-Shell und Rezepte offline, Einkaufsliste als lokale Warteschlange mit Abgleich. Wake Lock im Kochmodus. Web Push mit Opt-in beim ersten sinnvollen Anlass, Kinder nie per Push. diff --git a/OlaresManifest.yaml b/OlaresManifest.yaml index 2a8ccee..753fba4 100644 --- a/OlaresManifest.yaml +++ b/OlaresManifest.yaml @@ -21,7 +21,7 @@ metadata: title: What's cooking? description: The family decides together what's for dinner — and the shopping list writes itself. Runs entirely on your own box. icon: https://git.aimighty.olares.de/aimighty/bilder/raw/branch/main/lunch/icon.png - version: 26.11.3 + version: 26.11.4 categories: - Applications @@ -61,7 +61,7 @@ permission: appData: true spec: - versionName: '26.11.3' + versionName: '26.11.4' featuredImage: https://git.aimighty.olares.de/aimighty/bilder/raw/branch/main/lunch/icon.png promoteImage: diff --git a/app/(app)/mehr/page.tsx b/app/(app)/mehr/page.tsx index 9ef3575..05102c8 100644 --- a/app/(app)/mehr/page.tsx +++ b/app/(app)/mehr/page.tsx @@ -6,10 +6,11 @@ import { requireSession } from "@/lib/auth/session"; import { withHousehold } from "@/lib/db"; import { isLocale } from "@/lib/locale"; +// Abschnitte ohne Kasten: ein Etikett in Versalien, getrennt durch eine feine Linie. function Section({ title, children }: { title: string; children: React.ReactNode }) { return ( -
-

{title}

+
+

{title}

{children}
); @@ -32,11 +33,13 @@ export default async function MorePage() { const date = new Intl.DateTimeFormat(locale, { dateStyle: "medium" }); return ( -
-

{t("title")}

+
+
+

{t("household")}

+

{session.householdName}

+
-
-

{t("members")}

+