1 version

This commit is contained in:
2026-07-12 19:59:15 +02:00
parent f1165b5404
commit 88c49e1b54
39 changed files with 9328 additions and 52 deletions

45
src/theme.ts Normal file
View File

@@ -0,0 +1,45 @@
/**
* Design-System: ruhig, vertrauenswürdig, barrierefrei.
* - Große Schrift (Basis 18) für die Zielgruppe
* - Hoher Kontrast (dunkles Blau auf Weiß, WCAG AA)
* - Große Touch-Targets (min. 56px Höhe)
*/
export const farben = {
// Grundfarben
hintergrund: '#FFFFFF',
flaeche: '#F2F5F9',
primaer: '#1A365D', // dunkles, ruhiges Blau
primaerText: '#FFFFFF',
text: '#1A202C',
textSekundaer: '#4A5568',
rand: '#CBD5E0',
// Dringlichkeits-Ampel (kräftig, gut unterscheidbar)
ampelRot: '#C0392B',
ampelGelb: '#B7791F',
ampelGruen: '#276749',
ampelRotHintergrund: '#FDECEA',
ampelGelbHintergrund: '#FDF6E3',
ampelGruenHintergrund: '#EAF6EE',
fehler: '#C0392B',
};
export const schrift = {
klein: 15,
basis: 18,
gross: 21,
titel: 26,
riesig: 32,
};
export const abstand = {
xs: 6,
s: 12,
m: 16,
l: 24,
xl: 32,
};
/** Mindesthöhe für alle interaktiven Elemente (Barrierefreiheit). */
export const TOUCH_TARGET = 56;