Phase 5: Erscheinungsbild mit Entwurf, Vorschau und Veröffentlichen
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 2m7s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 2m11s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 2m16s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 2m18s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 2m49s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 2m46s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 2m41s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 2m33s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m0s

- Theme in den Einstellungen (Entwurf/veröffentlicht), Übernahme der
  Einstellungen aus Phase 0; statische CSS-Datei mit Hash beim Veröffentlichen
- Logos hell/dunkel, Signet, App-Symbol → Favicon, Homescreen-Symbole,
  Web-App-Manifest; SVG-Bereinigung
- Markenfarbe exakt, zweite Akzentfarbe, Kopfleiste hell/Marke/dunkel,
  Kontrastprüfung (WCAG AA) mit automatisch lesbarer Linkfarbe
- Lokale Schriften (Latein), Überschriften-Schrift, eigene WOFF2-Schrift,
  Ecken, Dichte, Dunkelmodus-Regel
- Anmeldeseite (geteilt/zentriert, Bild, Texte), Fußzeile, E-Mails im Design
- Admin: Live-Vorschau (Startseite, Anmeldung, Beispielseite; hell/dunkel),
  Veröffentlichen, Verwerfen, Export/Import, Zurücksetzen, eigenes CSS
- Admin-Bereich übernimmt Logo, Farbe und Favicon; Whitelabel

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Friederich Loheide 2026-09-26 10:46:05 +00:00
parent ee8dde93c0
commit 82bbeef31b
148 changed files with 2884 additions and 362 deletions

View file

@ -1,6 +1,6 @@
@import "tailwindcss";
@import "tw-animate-css";
@import "@fontsource-variable/inter";
@import "./fonts.css";
@plugin "@tailwindcss/typography";
@custom-variant dark (&:is(.dark *));
@ -34,8 +34,18 @@
--primary-foreground: var(--brand-foreground);
--ring: var(--brand-400);
/* Akzenttext (Links, Kategorien) – auf Weiß gut lesbar. */
/* Akzenttext (Links, Kategorien) – auf Weiß gut lesbar. Das Erscheinungsbild
setzt hier bei zu hellen Markenfarben automatisch eine dunklere Stufe. */
--brand-text: var(--brand-600);
/* Zweite Akzentfarbe (optional) – ohne eigene Angabe die Markenfarbe. */
--accent2: var(--brand);
--accent2-foreground: var(--brand-foreground);
--accent2-text: var(--brand-text);
/* Schriften – aus dem Erscheinungsbild, lokal ausgeliefert. */
--font-body: "Inter Variable", ui-sans-serif, system-ui, sans-serif;
--font-heading: var(--font-body);
--brand-soft: var(--brand-50);
--brand-soft-foreground: var(--brand-700);
}
@ -63,7 +73,7 @@
}
@theme inline {
--font-sans: "Inter Variable", ui-sans-serif, system-ui, sans-serif;
--font-sans: var(--font-body);
--radius-sm: calc(var(--radius) - 4px);
--radius-md: calc(var(--radius) - 2px);
@ -92,6 +102,9 @@
--color-brand: var(--brand);
--color-brand-foreground: var(--brand-foreground);
--color-brand-text: var(--brand-text);
--color-accent2: var(--accent2);
--color-accent2-foreground: var(--accent2-foreground);
--color-accent2-text: var(--accent2-text);
--color-brand-soft: var(--brand-soft);
--color-brand-soft-foreground: var(--brand-soft-foreground);
--color-brand-50: var(--brand-50);
@ -116,6 +129,10 @@
@apply bg-background text-foreground antialiased;
font-feature-settings: "cv11", "ss01";
}
h1, h2, h3, h4, .font-heading {
font-family: var(--font-heading);
}
}
/* Fließtext aus dem Editor (Neuigkeiten, Termine) */
@ -147,3 +164,40 @@
--tw-prose-bullets: currentColor;
--tw-prose-headings: currentColor;
}
/* Kopfleiste in Markenfarbe oder dunkel (Erscheinungsbild): Tokens nur im Header umstellen. */
header[data-header="brand"] {
--foreground: var(--brand-foreground);
--accent: color-mix(in oklab, var(--brand-foreground) 14%, transparent);
--muted-foreground: color-mix(in oklab, var(--brand-foreground) 75%, transparent);
background: var(--brand);
border-color: transparent;
color: var(--foreground);
}
header[data-header="dark"] {
--foreground: #eef0f2;
--accent: rgb(255 255 255 / 0.1);
--muted-foreground: #a3aab3;
background: #16191d;
border-color: #262a30;
color: var(--foreground);
}
/* Suchfeld in farbiger bzw. dunkler Kopfleiste: halbtransparent statt weiß. */
header[data-header="brand"] input,
header[data-header="dark"] input {
background: color-mix(in oklab, var(--foreground) 14%, transparent);
border-color: transparent;
color: var(--foreground);
}
header[data-header="brand"] input::placeholder,
header[data-header="dark"] input::placeholder {
color: var(--muted-foreground);
}
header[data-header="brand"] .nav-underline,
header[data-header="dark"] .nav-underline {
background: currentColor;
}

217
resources/css/fonts.css Normal file
View file

@ -0,0 +1,217 @@
/* Automatisch erzeugt von scripts/generate-fonts-css.py – nicht von Hand ändern. */
/* inter-latin-ext-wght-normal */
@font-face {
font-family: 'Inter Variable';
font-style: normal;
font-display: swap;
font-weight: 100 900;
src: url(../../node_modules/@fontsource-variable/inter/files/inter-latin-ext-wght-normal.woff2) format('woff2-variations');
unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* inter-latin-wght-normal */
@font-face {
font-family: 'Inter Variable';
font-style: normal;
font-display: swap;
font-weight: 100 900;
src: url(../../node_modules/@fontsource-variable/inter/files/inter-latin-wght-normal.woff2) format('woff2-variations');
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* source-sans-3-latin-ext-wght-normal */
@font-face {
font-family: 'Source Sans 3 Variable';
font-style: normal;
font-display: swap;
font-weight: 200 900;
src: url(../../node_modules/@fontsource-variable/source-sans-3/files/source-sans-3-latin-ext-wght-normal.woff2) format('woff2-variations');
unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* source-sans-3-latin-wght-normal */
@font-face {
font-family: 'Source Sans 3 Variable';
font-style: normal;
font-display: swap;
font-weight: 200 900;
src: url(../../node_modules/@fontsource-variable/source-sans-3/files/source-sans-3-latin-wght-normal.woff2) format('woff2-variations');
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* open-sans-latin-ext-wght-normal */
@font-face {
font-family: 'Open Sans Variable';
font-style: normal;
font-display: swap;
font-weight: 300 800;
src: url(../../node_modules/@fontsource-variable/open-sans/files/open-sans-latin-ext-wght-normal.woff2) format('woff2-variations');
unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* open-sans-latin-wght-normal */
@font-face {
font-family: 'Open Sans Variable';
font-style: normal;
font-display: swap;
font-weight: 300 800;
src: url(../../node_modules/@fontsource-variable/open-sans/files/open-sans-latin-wght-normal.woff2) format('woff2-variations');
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* nunito-sans-latin-ext-wght-normal */
@font-face {
font-family: 'Nunito Sans Variable';
font-style: normal;
font-display: swap;
font-weight: 200 1000;
src: url(../../node_modules/@fontsource-variable/nunito-sans/files/nunito-sans-latin-ext-wght-normal.woff2) format('woff2-variations');
unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* nunito-sans-latin-wght-normal */
@font-face {
font-family: 'Nunito Sans Variable';
font-style: normal;
font-display: swap;
font-weight: 200 1000;
src: url(../../node_modules/@fontsource-variable/nunito-sans/files/nunito-sans-latin-wght-normal.woff2) format('woff2-variations');
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* roboto-latin-ext-wght-normal */
@font-face {
font-family: 'Roboto Variable';
font-style: normal;
font-display: swap;
font-weight: 100 900;
src: url(../../node_modules/@fontsource-variable/roboto/files/roboto-latin-ext-wght-normal.woff2) format('woff2-variations');
unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* roboto-latin-wght-normal */
@font-face {
font-family: 'Roboto Variable';
font-style: normal;
font-display: swap;
font-weight: 100 900;
src: url(../../node_modules/@fontsource-variable/roboto/files/roboto-latin-wght-normal.woff2) format('woff2-variations');
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* ibm-plex-sans-latin-ext-wght-normal */
@font-face {
font-family: 'IBM Plex Sans Variable';
font-style: normal;
font-display: swap;
font-weight: 100 700;
src: url(../../node_modules/@fontsource-variable/ibm-plex-sans/files/ibm-plex-sans-latin-ext-wght-normal.woff2) format('woff2-variations');
unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* ibm-plex-sans-latin-wght-normal */
@font-face {
font-family: 'IBM Plex Sans Variable';
font-style: normal;
font-display: swap;
font-weight: 100 700;
src: url(../../node_modules/@fontsource-variable/ibm-plex-sans/files/ibm-plex-sans-latin-wght-normal.woff2) format('woff2-variations');
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* figtree-latin-ext-wght-normal */
@font-face {
font-family: 'Figtree Variable';
font-style: normal;
font-display: swap;
font-weight: 300 900;
src: url(../../node_modules/@fontsource-variable/figtree/files/figtree-latin-ext-wght-normal.woff2) format('woff2-variations');
unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* figtree-latin-wght-normal */
@font-face {
font-family: 'Figtree Variable';
font-style: normal;
font-display: swap;
font-weight: 300 900;
src: url(../../node_modules/@fontsource-variable/figtree/files/figtree-latin-wght-normal.woff2) format('woff2-variations');
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* atkinson-hyperlegible-latin-ext-400-normal */
@font-face {
font-family: 'Atkinson Hyperlegible';
font-style: normal;
font-display: swap;
font-weight: 400;
src: url(../../node_modules/@fontsource/atkinson-hyperlegible/files/atkinson-hyperlegible-latin-ext-400-normal.woff2) format('woff2');
unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* atkinson-hyperlegible-latin-400-normal */
@font-face {
font-family: 'Atkinson Hyperlegible';
font-style: normal;
font-display: swap;
font-weight: 400;
src: url(../../node_modules/@fontsource/atkinson-hyperlegible/files/atkinson-hyperlegible-latin-400-normal.woff2) format('woff2');
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* atkinson-hyperlegible-latin-ext-700-normal */
@font-face {
font-family: 'Atkinson Hyperlegible';
font-style: normal;
font-display: swap;
font-weight: 700;
src: url(../../node_modules/@fontsource/atkinson-hyperlegible/files/atkinson-hyperlegible-latin-ext-700-normal.woff2) format('woff2');
unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* atkinson-hyperlegible-latin-700-normal */
@font-face {
font-family: 'Atkinson Hyperlegible';
font-style: normal;
font-display: swap;
font-weight: 700;
src: url(../../node_modules/@fontsource/atkinson-hyperlegible/files/atkinson-hyperlegible-latin-700-normal.woff2) format('woff2');
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* source-serif-4-latin-ext-wght-normal */
@font-face {
font-family: 'Source Serif 4 Variable';
font-style: normal;
font-display: swap;
font-weight: 200 900;
src: url(../../node_modules/@fontsource-variable/source-serif-4/files/source-serif-4-latin-ext-wght-normal.woff2) format('woff2-variations');
unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* source-serif-4-latin-wght-normal */
@font-face {
font-family: 'Source Serif 4 Variable';
font-style: normal;
font-display: swap;
font-weight: 200 900;
src: url(../../node_modules/@fontsource-variable/source-serif-4/files/source-serif-4-latin-wght-normal.woff2) format('woff2-variations');
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* merriweather-latin-ext-wght-normal */
@font-face {
font-family: 'Merriweather Variable';
font-style: normal;
font-display: swap;
font-weight: 300 900;
src: url(../../node_modules/@fontsource-variable/merriweather/files/merriweather-latin-ext-wght-normal.woff2) format('woff2-variations');
unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* merriweather-latin-wght-normal */
@font-face {
font-family: 'Merriweather Variable';
font-style: normal;
font-display: swap;
font-weight: 300 900;
src: url(../../node_modules/@fontsource-variable/merriweather/files/merriweather-latin-wght-normal.woff2) format('woff2-variations');
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* lora-latin-ext-wght-normal */
@font-face {
font-family: 'Lora Variable';
font-style: normal;
font-display: swap;
font-weight: 400 700;
src: url(../../node_modules/@fontsource-variable/lora/files/lora-latin-ext-wght-normal.woff2) format('woff2-variations');
unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* lora-latin-wght-normal */
@font-face {
font-family: 'Lora Variable';
font-style: normal;
font-display: swap;
font-weight: 400 700;
src: url(../../node_modules/@fontsource-variable/lora/files/lora-latin-wght-normal.woff2) format('woff2-variations');
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}