feat(t5): neue Farbwerte, Dunkel für alle, Farb-Codemod (T5a A4)

- globals.css: Hell, Dunkel und Druck mit den Spec-Werten aus 4.2,
  Fokusring = --primary-ink, Verlaufs-Token entfernt.
- Codemod scripts/codemod-t5-colors.mjs: text-primary/-warning auf -ink,
  Vordergrund nur auf voller Fläche, Auswahlrahmen dunkel; --check-Modus
  und Spec halten src sauber.
- Kontrast-Wächter misst die echte globals.css (VALUES_SWITCHED), alle 21
  Zeilen aus 4.4 in allen vier Sätzen; keine dark:-Klassen mehr in src.
- Dunkel ist ohne Entwickler-Schalter wählbar, Standard bleibt Hell.
- Review-Nacharbeit: Auswahl-Umrisse und aktueller Schritt in Vordergrund,
  deaktivierte Felder bg-muted, Avatar ohne Blend, Honig-Check-Rahmen
  über --input.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
Nick.RosenloecherandClaude Opus 5.5 committed 2026-10-16 17:23:21 +02:00
1 parent 6edae3efec
commit d8238855fc
91 files changed
+673 -391

No files matched your search

+124 -130
View File
@@ -102,55 +102,52 @@
}
:root {
--background: oklch(0.955 0.017 80);
--foreground: oklch(0.22 0.028 55);
--background: oklch(0.968 0.014 85);
--foreground: oklch(0.21 0.03 55);
--card: oklch(0.995 0.004 90);
--card-foreground: oklch(0.22 0.028 55);
--card-foreground: oklch(0.21 0.03 55);
--popover: oklch(0.995 0.004 90);
--popover-foreground: oklch(0.22 0.028 55);
--primary: oklch(0.6 0.15 48);
--primary-foreground: oklch(0.99 0.02 85);
--popover-foreground: oklch(0.21 0.03 55);
--primary: oklch(0.8 0.145 78);
--primary-foreground: oklch(0.21 0.035 55);
--secondary: oklch(0.44 0.07 145);
--secondary-foreground: oklch(0.98 0.015 100);
--muted: oklch(0.9 0.02 82);
--muted-foreground: oklch(0.48 0.032 65);
--accent: oklch(0.93 0.032 74);
--accent-foreground: oklch(0.26 0.045 50);
--destructive: oklch(0.5 0.16 30);
--border: oklch(0.85 0.024 78);
--input: oklch(0.85 0.024 78);
--ring: oklch(0.6 0.15 48);
--warning: oklch(0.68 0.14 75);
--warning-foreground: oklch(0.24 0.04 60);
--success: oklch(0.46 0.06 145);
--muted: oklch(0.925 0.018 82);
--muted-foreground: oklch(0.44 0.03 60);
--accent: oklch(0.935 0.03 78);
--accent-foreground: oklch(0.25 0.045 50);
--destructive: oklch(0.5 0.17 28);
--border: oklch(0.86 0.022 78);
--input: oklch(0.6 0.035 65);
--ring: oklch(0.47 0.115 55);
--warning: oklch(0.79 0.15 80);
--warning-foreground: oklch(0.23 0.04 60);
--success: oklch(0.46 0.08 145);
--success-foreground: oklch(0.98 0.015 100);
--condition-excellent: oklch(0.58 0.13 145);
--condition-excellent-foreground: oklch(0.16 0.04 145);
--condition-good: oklch(0.64 0.13 118);
--condition-good-foreground: oklch(0.26 0.05 118);
--condition-average: oklch(0.7 0.14 90);
--condition-average-foreground: oklch(0.28 0.05 90);
--condition-weak: oklch(0.68 0.15 55);
--condition-weak-foreground: oklch(0.26 0.05 55);
--condition-critical: oklch(0.64 0.16 30);
--condition-excellent: oklch(0.62 0.13 150);
--condition-excellent-foreground: oklch(0.15 0.04 150);
--condition-good: oklch(0.645 0.13 125);
--condition-good-foreground: oklch(0.17 0.04 125);
--condition-average: oklch(0.665 0.125 88);
--condition-average-foreground: oklch(0.19 0.04 90);
--condition-weak: oklch(0.665 0.14 58);
--condition-weak-foreground: oklch(0.18 0.04 55);
--condition-critical: oklch(0.62 0.17 30);
--condition-critical-foreground: oklch(0.15 0.04 30);
--chart-1: oklch(0.6 0.135 50);
--chart-2: oklch(0.46 0.06 145);
--chart-3: oklch(0.68 0.14 75);
--chart-4: oklch(0.5 0.16 30);
--chart-5: oklch(0.55 0.05 250);
--chart-1: oklch(0.56 0.13 55);
--chart-2: oklch(0.46 0.08 145);
--chart-3: oklch(0.6 0.12 85);
--chart-4: oklch(0.5 0.17 28);
--chart-5: oklch(0.52 0.08 250);
--radius: 0.75rem;
--sidebar: oklch(0.995 0.004 90);
--sidebar-foreground: oklch(0.22 0.028 55);
--sidebar-primary: oklch(0.6 0.15 48);
--sidebar-primary-foreground: oklch(0.99 0.02 85);
--sidebar-accent: oklch(0.93 0.032 74);
--sidebar-accent-foreground: oklch(0.26 0.045 50);
--sidebar-border: oklch(0.85 0.024 78);
--sidebar-ring: oklch(0.6 0.15 48);
--gradient-honey: linear-gradient(135deg, oklch(0.74 0.15 62) 0%, oklch(0.56 0.16 38) 100%);
--gradient-sage: linear-gradient(135deg, oklch(0.64 0.09 150) 0%, oklch(0.4 0.075 145) 100%);
--gradient-sky: linear-gradient(135deg, oklch(0.68 0.1 235) 0%, oklch(0.5 0.1 255) 100%);
--sidebar-foreground: oklch(0.21 0.03 55);
--sidebar-primary: oklch(0.8 0.145 78);
--sidebar-primary-foreground: oklch(0.21 0.035 55);
--sidebar-accent: oklch(0.935 0.03 78);
--sidebar-accent-foreground: oklch(0.25 0.045 50);
--sidebar-border: oklch(0.86 0.022 78);
--sidebar-ring: oklch(0.47 0.115 55);
--shadow-elevated: 0 1px 2px -1px oklch(0.3 0.05 50 / 8%), 0 8px 24px -8px oklch(0.3 0.05 50 / 16%);
--shadow-soft: 0 1px 2px -1px oklch(0.3 0.05 50 / 6%), 0 4px 12px -4px oklch(0.3 0.05 50 / 10%);
/* Hive "screen": always dark, in light and dark mode (spec 9.3). */
@@ -160,7 +157,7 @@
--holo-fill: oklch(0.78 0.14 220 / 10%);
--holo-label-bg: oklch(0.26 0.04 250);
--holo-label-fg: oklch(0.95 0.02 230);
/* T5 tokens, end values (spec 4.2); the old values above switch in task A4. */
/* T5 tokens (spec 4.2). */
--primary-ink: oklch(0.47 0.115 55);
--warning-ink: oklch(0.5 0.11 65);
--destructive-foreground: oklch(0.985 0.005 30);
@@ -188,54 +185,51 @@
}
.dark {
--background: oklch(0.2 0.018 55);
--foreground: oklch(0.94 0.02 80);
--card: oklch(0.25 0.02 55);
--card-foreground: oklch(0.94 0.02 80);
--popover: oklch(0.25 0.02 55);
--popover-foreground: oklch(0.94 0.02 80);
--primary: oklch(0.72 0.13 55);
--primary-foreground: oklch(0.2 0.02 55);
--secondary: oklch(0.62 0.075 145);
--secondary-foreground: oklch(0.15 0.02 145);
--muted: oklch(0.29 0.018 55);
--muted-foreground: oklch(0.7 0.025 75);
--accent: oklch(0.32 0.03 60);
--accent-foreground: oklch(0.94 0.02 80);
--destructive: oklch(0.62 0.16 30);
--border: oklch(1 0 0 / 12%);
--input: oklch(1 0 0 / 16%);
--ring: oklch(0.72 0.13 55);
--warning: oklch(0.74 0.13 75);
--background: oklch(0.19 0.016 55);
--foreground: oklch(0.95 0.018 80);
--card: oklch(0.235 0.018 55);
--card-foreground: oklch(0.95 0.018 80);
--popover: oklch(0.235 0.018 55);
--popover-foreground: oklch(0.95 0.018 80);
--primary: oklch(0.8 0.14 78);
--primary-foreground: oklch(0.19 0.03 55);
--secondary: oklch(0.66 0.08 145);
--secondary-foreground: oklch(0.16 0.02 145);
--muted: oklch(0.28 0.018 55);
--muted-foreground: oklch(0.76 0.025 75);
--accent: oklch(0.31 0.03 60);
--accent-foreground: oklch(0.95 0.018 80);
--destructive: oklch(0.7 0.15 28);
--border: oklch(0.34 0.02 60);
--input: oklch(0.56 0.025 70);
--ring: oklch(0.82 0.13 80);
--warning: oklch(0.8 0.14 80);
--warning-foreground: oklch(0.2 0.03 60);
--success: oklch(0.62 0.075 145);
--success-foreground: oklch(0.15 0.02 145);
--condition-excellent: oklch(0.66 0.11 145);
--condition-excellent-foreground: oklch(0.2 0.04 145);
--condition-good: oklch(0.72 0.12 118);
--condition-good-foreground: oklch(0.22 0.04 118);
--condition-average: oklch(0.76 0.13 90);
--condition-average-foreground: oklch(0.24 0.04 90);
--condition-weak: oklch(0.74 0.13 55);
--condition-weak-foreground: oklch(0.22 0.04 55);
--condition-critical: oklch(0.62 0.16 30);
--condition-critical-foreground: oklch(0.2 0.04 30);
--chart-1: oklch(0.72 0.13 55);
--chart-2: oklch(0.62 0.075 145);
--chart-3: oklch(0.74 0.13 75);
--chart-4: oklch(0.62 0.16 30);
--chart-5: oklch(0.65 0.06 250);
--sidebar: oklch(0.22 0.02 55);
--sidebar-foreground: oklch(0.94 0.02 80);
--sidebar-primary: oklch(0.72 0.13 55);
--sidebar-primary-foreground: oklch(0.2 0.02 55);
--sidebar-accent: oklch(0.32 0.03 60);
--sidebar-accent-foreground: oklch(0.94 0.02 80);
--sidebar-border: oklch(1 0 0 / 12%);
--sidebar-ring: oklch(0.72 0.13 55);
--gradient-honey: linear-gradient(135deg, oklch(0.62 0.14 55) 0%, oklch(0.38 0.13 40) 100%);
--gradient-sage: linear-gradient(135deg, oklch(0.5 0.08 148) 0%, oklch(0.3 0.06 145) 100%);
--gradient-sky: linear-gradient(135deg, oklch(0.55 0.09 235) 0%, oklch(0.34 0.09 255) 100%);
--success: oklch(0.7 0.09 145);
--success-foreground: oklch(0.16 0.02 145);
--condition-excellent: oklch(0.68 0.12 150);
--condition-excellent-foreground: oklch(0.17 0.04 150);
--condition-good: oklch(0.72 0.12 125);
--condition-good-foreground: oklch(0.18 0.04 125);
--condition-average: oklch(0.77 0.13 90);
--condition-average-foreground: oklch(0.2 0.04 90);
--condition-weak: oklch(0.74 0.13 60);
--condition-weak-foreground: oklch(0.19 0.04 55);
--condition-critical: oklch(0.68 0.16 28);
--condition-critical-foreground: oklch(0.16 0.04 30);
--chart-1: oklch(0.78 0.13 70);
--chart-2: oklch(0.7 0.09 145);
--chart-3: oklch(0.82 0.12 90);
--chart-4: oklch(0.7 0.15 28);
--chart-5: oklch(0.72 0.08 250);
--sidebar: oklch(0.235 0.018 55);
--sidebar-foreground: oklch(0.95 0.018 80);
--sidebar-primary: oklch(0.8 0.14 78);
--sidebar-primary-foreground: oklch(0.19 0.03 55);
--sidebar-accent: oklch(0.31 0.03 60);
--sidebar-accent-foreground: oklch(0.95 0.018 80);
--sidebar-border: oklch(0.34 0.02 60);
--sidebar-ring: oklch(0.82 0.13 80);
--shadow-elevated: 0 1px 2px -1px oklch(0 0 0 / 30%), 0 8px 24px -8px oklch(0 0 0 / 45%);
--shadow-soft: 0 1px 2px -1px oklch(0 0 0 / 25%), 0 4px 12px -4px oklch(0 0 0 / 30%);
/* Hive "screen": always dark, in light and dark mode (spec 9.3). */
@@ -245,7 +239,7 @@
--holo-fill: oklch(0.78 0.14 220 / 10%);
--holo-label-bg: oklch(0.26 0.04 250);
--holo-label-fg: oklch(0.95 0.02 230);
/* T5 tokens, end values (spec 4.2); the old values above switch in task A4. */
/* T5 tokens (spec 4.2). */
--primary-ink: oklch(0.82 0.13 80);
--warning-ink: oklch(0.82 0.13 82);
--destructive-foreground: oklch(0.17 0.03 30);
@@ -364,51 +358,51 @@
.dark,
:root[data-contrast="sun"],
.dark[data-contrast="sun"] {
--background: oklch(0.955 0.017 80);
--foreground: oklch(0.22 0.028 55);
--background: oklch(0.968 0.014 85);
--foreground: oklch(0.21 0.03 55);
--card: oklch(0.995 0.004 90);
--card-foreground: oklch(0.22 0.028 55);
--card-foreground: oklch(0.21 0.03 55);
--popover: oklch(0.995 0.004 90);
--popover-foreground: oklch(0.22 0.028 55);
--primary: oklch(0.6 0.15 48);
--primary-foreground: oklch(0.99 0.02 85);
--popover-foreground: oklch(0.21 0.03 55);
--primary: oklch(0.8 0.145 78);
--primary-foreground: oklch(0.21 0.035 55);
--secondary: oklch(0.44 0.07 145);
--secondary-foreground: oklch(0.98 0.015 100);
--muted: oklch(0.9 0.02 82);
--muted-foreground: oklch(0.48 0.032 65);
--accent: oklch(0.93 0.032 74);
--accent-foreground: oklch(0.26 0.045 50);
--destructive: oklch(0.5 0.16 30);
--border: oklch(0.85 0.024 78);
--input: oklch(0.85 0.024 78);
--ring: oklch(0.6 0.15 48);
--warning: oklch(0.68 0.14 75);
--warning-foreground: oklch(0.24 0.04 60);
--success: oklch(0.46 0.06 145);
--muted: oklch(0.925 0.018 82);
--muted-foreground: oklch(0.44 0.03 60);
--accent: oklch(0.935 0.03 78);
--accent-foreground: oklch(0.25 0.045 50);
--destructive: oklch(0.5 0.17 28);
--border: oklch(0.86 0.022 78);
--input: oklch(0.6 0.035 65);
--ring: oklch(0.47 0.115 55);
--warning: oklch(0.79 0.15 80);
--warning-foreground: oklch(0.23 0.04 60);
--success: oklch(0.46 0.08 145);
--success-foreground: oklch(0.98 0.015 100);
--condition-excellent: oklch(0.58 0.13 145);
--condition-excellent-foreground: oklch(0.16 0.04 145);
--condition-good: oklch(0.64 0.13 118);
--condition-good-foreground: oklch(0.26 0.05 118);
--condition-average: oklch(0.7 0.14 90);
--condition-average-foreground: oklch(0.28 0.05 90);
--condition-weak: oklch(0.68 0.15 55);
--condition-weak-foreground: oklch(0.26 0.05 55);
--condition-critical: oklch(0.64 0.16 30);
--condition-excellent: oklch(0.62 0.13 150);
--condition-excellent-foreground: oklch(0.15 0.04 150);
--condition-good: oklch(0.645 0.13 125);
--condition-good-foreground: oklch(0.17 0.04 125);
--condition-average: oklch(0.665 0.125 88);
--condition-average-foreground: oklch(0.19 0.04 90);
--condition-weak: oklch(0.665 0.14 58);
--condition-weak-foreground: oklch(0.18 0.04 55);
--condition-critical: oklch(0.62 0.17 30);
--condition-critical-foreground: oklch(0.15 0.04 30);
--chart-1: oklch(0.6 0.135 50);
--chart-2: oklch(0.46 0.06 145);
--chart-3: oklch(0.68 0.14 75);
--chart-4: oklch(0.5 0.16 30);
--chart-5: oklch(0.55 0.05 250);
--chart-1: oklch(0.56 0.13 55);
--chart-2: oklch(0.46 0.08 145);
--chart-3: oklch(0.6 0.12 85);
--chart-4: oklch(0.5 0.17 28);
--chart-5: oklch(0.52 0.08 250);
--sidebar: oklch(0.995 0.004 90);
--sidebar-foreground: oklch(0.22 0.028 55);
--sidebar-primary: oklch(0.6 0.15 48);
--sidebar-primary-foreground: oklch(0.99 0.02 85);
--sidebar-accent: oklch(0.93 0.032 74);
--sidebar-accent-foreground: oklch(0.26 0.045 50);
--sidebar-border: oklch(0.85 0.024 78);
--sidebar-ring: oklch(0.6 0.15 48);
--sidebar-foreground: oklch(0.21 0.03 55);
--sidebar-primary: oklch(0.8 0.145 78);
--sidebar-primary-foreground: oklch(0.21 0.035 55);
--sidebar-accent: oklch(0.935 0.03 78);
--sidebar-accent-foreground: oklch(0.25 0.045 50);
--sidebar-border: oklch(0.86 0.022 78);
--sidebar-ring: oklch(0.47 0.115 55);
--shadow-elevated: 0 1px 2px -1px oklch(0.3 0.05 50 / 8%), 0 8px 24px -8px oklch(0.3 0.05 50 / 16%);
--shadow-soft: 0 1px 2px -1px oklch(0.3 0.05 50 / 6%), 0 4px 12px -4px oklch(0.3 0.05 50 / 10%);
--holo-bg: oklch(0.18 0.03 250);
@@ -515,7 +509,7 @@
}
input,
textarea {
caret-color: var(--primary);
caret-color: var(--primary-ink);
}
}
@@ -587,7 +581,7 @@
position: absolute;
inset: 0.375rem;
border-radius: 0.6rem;
border: 2px solid color-mix(in oklch, var(--primary) 65%, var(--border));
border: 2px solid var(--input);
background: var(--card);
transition:
border-color 150ms ease-out,