diff --git a/CLAUDE.md b/CLAUDE.md index 7f5b3a0..3a467e1 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.36 — alle neun Arbeitspakete aus `docs/PROJEKTSTART.md` sind gebaut: +> **Status:** 26.11.37 — alle neun Arbeitspakete aus `docs/PROJEKTSTART.md` sind gebaut: > Anmeldung (Passkeys, Kinder mit Gerät + PIN), Gerichte (Link, Kochbuchfoto, AI über den > Olares Router), Wünschen, Plan, Einkaufsliste (Echtzeit, offline), Kochmodus mit > Bewertung, Web-App; Einzahl bei Stück-Mengen (26.11.15), Preise und Kosten mit Ampel @@ -86,8 +86,8 @@ Datenmodells (`households`, `dishes`, `rounds`, `slots`, …). Wiederholung der Vorrunde, Frisches zuerst; jeder Slot trägt einen Satz, warum. 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 + dunkler Schrift, Etiketten `.eyebrow` in tiefem Lavendel, eine Schrift: Poppins überall, Caveat nur + für „by Maike“ (lokal, `app/fonts/`, E-0014), 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 diff --git a/OlaresManifest.yaml b/OlaresManifest.yaml index 99a7537..c4a898e 100644 --- a/OlaresManifest.yaml +++ b/OlaresManifest.yaml @@ -1,5 +1,5 @@ # ============================================================================ -# OlaresManifest.yaml — foodplanhero (lunch, bis 26.11.36 „Was gibt's?“) +# OlaresManifest.yaml — foodplanhero (lunch, bis 26.11.37 „Was gibt's?“) # # Linter-Regeln, die hier zwingend gelten (scripts/check-chart.sh): # - metadata.name, metadata.appid, Chart.yaml.name und der Ordnername @@ -21,7 +21,7 @@ metadata: title: foodplanhero description: Plan. Cook. Smile. 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.36 + version: 26.11.37 categories: - Applications @@ -61,7 +61,7 @@ permission: appData: true spec: - versionName: '26.11.36' + versionName: '26.11.37' featuredImage: https://git.aimighty.olares.de/aimighty/bilder/raw/branch/main/lunch/icon.png promoteImage: diff --git a/app/fonts/Newsreader-OFL.txt b/app/fonts/Newsreader-OFL.txt deleted file mode 100644 index 03ad13c..0000000 --- a/app/fonts/Newsreader-OFL.txt +++ /dev/null @@ -1,93 +0,0 @@ -Copyright 2020 The Newsreader Project Authors (http://github.com/productiontype/Newsreader) Newsreader-Italic[opsz,wght].ttf: Copyright 2020 The Newsreader Project Authors (http://github.com/productiontype/Newsreader) - -This Font Software is licensed under the SIL Open Font License, Version 1.1. -This license is copied below, and is also available with a FAQ at: -http://scripts.sil.org/OFL - - ------------------------------------------------------------ -SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 ------------------------------------------------------------ - -PREAMBLE -The goals of the Open Font License (OFL) are to stimulate worldwide -development of collaborative font projects, to support the font creation -efforts of academic and linguistic communities, and to provide a free and -open framework in which fonts may be shared and improved in partnership -with others. - -The OFL allows the licensed fonts to be used, studied, modified and -redistributed freely as long as they are not sold by themselves. The -fonts, including any derivative works, can be bundled, embedded, -redistributed and/or sold with any software provided that any reserved -names are not used by derivative works. The fonts and derivatives, -however, cannot be released under any other type of license. The -requirement for fonts to remain under this license does not apply -to any document created using the fonts or their derivatives. - -DEFINITIONS -"Font Software" refers to the set of files released by the Copyright -Holder(s) under this license and clearly marked as such. This may -include source files, build scripts and documentation. - -"Reserved Font Name" refers to any names specified as such after the -copyright statement(s). - -"Original Version" refers to the collection of Font Software components as -distributed by the Copyright Holder(s). - -"Modified Version" refers to any derivative made by adding to, deleting, -or substituting -- in part or in whole -- any of the components of the -Original Version, by changing formats or by porting the Font Software to a -new environment. - -"Author" refers to any designer, engineer, programmer, technical -writer or other person who contributed to the Font Software. - -PERMISSION & CONDITIONS -Permission is hereby granted, free of charge, to any person obtaining -a copy of the Font Software, to use, study, copy, merge, embed, modify, -redistribute, and sell modified and unmodified copies of the Font -Software, subject to the following conditions: - -1) Neither the Font Software nor any of its individual components, -in Original or Modified Versions, may be sold by itself. - -2) Original or Modified Versions of the Font Software may be bundled, -redistributed and/or sold with any software, provided that each copy -contains the above copyright notice and this license. These can be -included either as stand-alone text files, human-readable headers or -in the appropriate machine-readable metadata fields within text or -binary files as long as those fields can be easily viewed by the user. - -3) No Modified Version of the Font Software may use the Reserved Font -Name(s) unless explicit written permission is granted by the corresponding -Copyright Holder. This restriction only applies to the primary font name as -presented to the users. - -4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font -Software shall not be used to promote, endorse or advertise any -Modified Version, except to acknowledge the contribution(s) of the -Copyright Holder(s) and the Author(s) or with their explicit written -permission. - -5) The Font Software, modified or unmodified, in part or in whole, -must be distributed entirely under this license, and must not be -distributed under any other license. The requirement for fonts to -remain under this license does not apply to any document created -using the Font Software. - -TERMINATION -This license becomes null and void if any of the above conditions are -not met. - -DISCLAIMER -THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT -OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL -DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM -OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/app/fonts/newsreader-latin-opsz-normal.woff2 b/app/fonts/newsreader-latin-opsz-normal.woff2 deleted file mode 100644 index c6e5b0e..0000000 Binary files a/app/fonts/newsreader-latin-opsz-normal.woff2 and /dev/null differ diff --git a/app/fonts/poppins-latin-400-normal.woff2 b/app/fonts/poppins-latin-400-normal.woff2 new file mode 100644 index 0000000..b69e009 Binary files /dev/null and b/app/fonts/poppins-latin-400-normal.woff2 differ diff --git a/app/fonts/poppins-latin-600-normal.woff2 b/app/fonts/poppins-latin-600-normal.woff2 new file mode 100644 index 0000000..921e962 Binary files /dev/null and b/app/fonts/poppins-latin-600-normal.woff2 differ diff --git a/app/globals.css b/app/globals.css index 47dc160..6c90616 100644 --- a/app/globals.css +++ b/app/globals.css @@ -64,9 +64,8 @@ --color-over: var(--over); --color-hero: var(--hero); --radius-xl: var(--radius); - --font-sans: var(--font-geist-sans), ui-sans-serif, system-ui, sans-serif; - --font-serif: var(--font-newsreader), ui-serif, Georgia, serif; - --font-brand: var(--font-poppins), var(--font-geist-sans), ui-sans-serif, sans-serif; + --font-sans: var(--font-poppins), ui-sans-serif, system-ui, sans-serif; + --font-brand: var(--font-sans); --font-hand: var(--font-caveat), cursive; } @@ -94,12 +93,11 @@ body { } @layer base { - /* Überschriften in der Serifenschrift, etwas enger gesetzt. */ + /* Überschriften in Poppins SemiBold, etwas enger gesetzt (E-0014: eine Schrift). */ h1, h2 { - font-family: var(--font-newsreader), ui-serif, Georgia, serif; - font-weight: 500; - letter-spacing: -0.01em; + font-weight: 600; + letter-spacing: -0.02em; } } diff --git a/app/layout.tsx b/app/layout.tsx index f89268e..f8f60ee 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,25 +1,18 @@ import type { Metadata, Viewport } from "next"; -import { GeistSans } from "geist/font/sans"; import localFont from "next/font/local"; import { NextIntlClientProvider } from "next-intl"; import { getLocale, getTranslations } from "next-intl/server"; import "./globals.css"; import { STARTUP_SIZES } from "@/lib/startup-sizes"; -// Überschriften in einer Serifenschrift (E-0009), lokal aus app/fonts — -// nie vom CDN. Newsreader, SIL Open Font License (app/fonts/Newsreader-OFL.txt). -const serif = localFont({ - src: "./fonts/newsreader-latin-opsz-normal.woff2", - weight: "200 800", - variable: "--font-newsreader", - display: "swap", -}); - -// foodplanhero (26.11.35): Logo und Slogan in Poppins, „by Maike“ in Caveat — beide -// SIL Open Font License (app/fonts/Poppins-OFL.txt, Caveat-OFL.txt), lokal. -const brand = localFont({ +// Eine Schrift für alles (Kai, 7.11.2026, E-0014): Poppins — Logo, Überschriften, +// Text —, dazu Caveat nur für Maikes Unterschrift „by Maike“. Beide SIL Open Font +// License (app/fonts/Poppins-OFL.txt, Caveat-OFL.txt), lokal, nie vom CDN. +const sans = localFont({ src: [ + { path: "./fonts/poppins-latin-400-normal.woff2", weight: "400" }, { path: "./fonts/poppins-latin-500-normal.woff2", weight: "500" }, + { path: "./fonts/poppins-latin-600-normal.woff2", weight: "600" }, { path: "./fonts/poppins-latin-700-normal.woff2", weight: "700" }, ], variable: "--font-poppins", @@ -60,7 +53,7 @@ export const viewport: Viewport = { export default async function RootLayout({ children }: { children: React.ReactNode }) { const locale = await getLocale(); return ( - + {children} diff --git a/components/dishes/portion-scaler.tsx b/components/dishes/portion-scaler.tsx index c71767c..733fd52 100644 --- a/components/dishes/portion-scaler.tsx +++ b/components/dishes/portion-scaler.tsx @@ -80,11 +80,11 @@ export function PortionScaler({ ingredients, steps, initialPortions }: { ingredi if (!list.length) return null; return (
-

{ts(section)}

+

{ts(section)}

    {list.map((s) => (
  1. - + {s.n}
    diff --git a/components/dishes/starter-picker.tsx b/components/dishes/starter-picker.tsx index 19a540d..17c950d 100644 --- a/components/dishes/starter-picker.tsx +++ b/components/dishes/starter-picker.tsx @@ -52,7 +52,7 @@ export function StarterPicker({ starters }: { starters: Starter[] }) { {on || s.inPool ? : null} - {s.title} + {s.title} {s.inPool ? t("starters.inPool") : s.meta} diff --git a/components/plan/plan-board.tsx b/components/plan/plan-board.tsx index 9dd9151..9c43b7c 100644 --- a/components/plan/plan-board.tsx +++ b/components/plan/plan-board.tsx @@ -269,7 +269,7 @@ function SlotCard({

    {t("slot", { n: index + 1 })}

    -

    {slot.title ?? t("empty")}

    +

    {slot.title ?? t("empty")}

    {reason ?

    {reason}

    : null} {cost ? (

    diff --git a/components/wishes/wish-board.tsx b/components/wishes/wish-board.tsx index dedc3d5..c968274 100644 --- a/components/wishes/wish-board.tsx +++ b/components/wishes/wish-board.tsx @@ -232,7 +232,7 @@ export function WishBoard({ ) : null} - {tile.title} + {tile.title} {favorite ? {t("favorite")} : null} {mineNames.length ? {isMyDish ? t("mine") : t("mineOf", { names: mineNames.join(", ") })} : null} {names.length ? {t("wishedBy", { names: names.join(", ") })} : null} diff --git a/docs/entscheidungen.md b/docs/entscheidungen.md index d898549..13620f3 100644 --- a/docs/entscheidungen.md +++ b/docs/entscheidungen.md @@ -174,8 +174,8 @@ acht Paletten Variante H gewählt). Löst die Palette aus E-0002 ab; der Rest vo Hauptaktion je Ansicht. - **Etiketten und Links:** kleine Versalien in tiefem Lavendel (`.eyebrow`), etwa „HEUTE“, „ZUTATEN“. Pastell nie als Schriftfarbe auf heller Fläche. -- **Schrift:** Überschriften `h1`/`h2` in Newsreader (Serifen, SIL OFL, lokal unter - `app/fonts/`), Text in Geist. +- **Schrift:** ~~Überschriften in Newsreader, Text in Geist~~ — seit 26.11.37 Poppins + überall (E-0014). - **Abschnitte** ohne Kasten, getrennt durch feine Linien. - **Symbol:** Teller mit Dampf auf Coral, Blatt in Lavendel (`docs/icon/lunch.svg`). - **Kontrast** jeder Schrift auf ihrer Fläche mindestens 4,5:1, hell und dunkel — @@ -245,3 +245,13 @@ Slogan **„Plan. Cook. Smile.“** (Kais früherer Entwurf); technisch bleibt s - **Slogan im Ablauf:** leise, mit dem Wort, das gerade passiert (Plan, Kochen, Bewerten). - **Gestaltung bleibt** (E-0009): Coral und Lavendel; neu ist nur das Grün von „hero“ als Token `--hero`, das auch Maikes Ring trägt. + +## E-0014 · Eine Schrift: Poppins (löst die Serifen aus E-0009 ab) + +*7.11.2026 · Kai („zu viele Schriftarten“)* + +Mit foodplanhero standen vier Schriften auf der Startseite: Poppins (Logo), Caveat +(„by Maike“), Newsreader (Überschriften) und Geist (Text). Entschieden: **Poppins für +alles** — Logo, Überschriften (SemiBold), Text, Knöpfe —, wie in Kais Figma-Entwurf. +**Caveat** bleibt, aber nur als Maikes Unterschrift „by Maike“, nirgends sonst. +Newsreader und Geist sind entfernt. Farben, Flächen und Abstände aus E-0009 bleiben. diff --git a/olares/Chart.yaml b/olares/Chart.yaml index 5749978..85d0090 100644 --- a/olares/Chart.yaml +++ b/olares/Chart.yaml @@ -2,5 +2,5 @@ apiVersion: v2 name: lunch description: foodplanhero (Plan. Cook. Smile.) — die Familie entscheidet gemeinsam, was es gibt; aus dem Plan entsteht die Einkaufsliste type: application -version: 26.11.36 # YY.M. wie im AImighty-Markt — bei jeder Chart-Änderung erhöhen -appVersion: "26.11.36" # MUSS gleich version sein: der Linter prüft es, und der Image-Tag hängt daran +version: 26.11.37 # YY.M. wie im AImighty-Markt — bei jeder Chart-Änderung erhöhen +appVersion: "26.11.37" # MUSS gleich version sein: der Linter prüft es, und der Image-Tag hängt daran diff --git a/olares/OlaresManifest.yaml b/olares/OlaresManifest.yaml index 99a7537..c4a898e 100644 --- a/olares/OlaresManifest.yaml +++ b/olares/OlaresManifest.yaml @@ -1,5 +1,5 @@ # ============================================================================ -# OlaresManifest.yaml — foodplanhero (lunch, bis 26.11.36 „Was gibt's?“) +# OlaresManifest.yaml — foodplanhero (lunch, bis 26.11.37 „Was gibt's?“) # # Linter-Regeln, die hier zwingend gelten (scripts/check-chart.sh): # - metadata.name, metadata.appid, Chart.yaml.name und der Ordnername @@ -21,7 +21,7 @@ metadata: title: foodplanhero description: Plan. Cook. Smile. 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.36 + version: 26.11.37 categories: - Applications @@ -61,7 +61,7 @@ permission: appData: true spec: - versionName: '26.11.36' + versionName: '26.11.37' featuredImage: https://git.aimighty.olares.de/aimighty/bilder/raw/branch/main/lunch/icon.png promoteImage: diff --git a/olares/markt/26.11.37.md b/olares/markt/26.11.37.md new file mode 100644 index 0000000..b00aa9a --- /dev/null +++ b/olares/markt/26.11.37.md @@ -0,0 +1,5 @@ +# One typeface +v26.11.37: foodplanhero now uses a single typeface throughout — Poppins, as in the logo — for headings, text and buttons. The handwriting is kept only for Maike's signature "by Maike". Two fonts fewer to load. + +## Deutsch +v26.11.37: foodplanhero nutzt jetzt durchgehend eine Schrift — Poppins, wie im Logo — für Überschriften, Text und Knöpfe. Die Schreibschrift bleibt nur Maikes Unterschrift „by Maike“. Zwei Schriften weniger zu laden. diff --git a/package-lock.json b/package-lock.json index ab1dd00..479149b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,6 @@ "@simplewebauthn/server": "^13.3.3", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", - "geist": "^1.9.2", "lucide-react": "^1.70.0", "next": "15.5.29", "next-intl": "^4.14.9", @@ -3549,15 +3548,6 @@ "node": "^8.16.0 || ^10.6.0 || >=11.0.0" } }, - "node_modules/geist": { - "version": "1.9.2", - "resolved": "https://registry.npmjs.org/geist/-/geist-1.9.2.tgz", - "integrity": "sha512-UU1x2q5Khob0+i4csFvXk1Ki4DePdu7xISuXyEcj1tzQMg64oN7Kbuy4e5z5QhcUWbbvOMJNs3ZxYQqpsEMV3w==", - "license": "SIL OPEN FONT LICENSE", - "peerDependencies": { - "next": ">=13.2.0" - } - }, "node_modules/glob": { "version": "13.0.6", "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.6.tgz", diff --git a/package.json b/package.json index d734a2f..0e126c2 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,6 @@ "@simplewebauthn/server": "^13.3.3", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", - "geist": "^1.9.2", "lucide-react": "^1.70.0", "next": "15.5.29", "next-intl": "^4.14.9",