@import "tailwindcss"; @import "tw-animate-css"; @import "@fontsource-variable/inter"; @plugin "@tailwindcss/typography"; @custom-variant dark (&:is(.dark *)); /* * Design-Tokens des Portals. * Neutrale Flächen, die Markenfarbe nur als Akzent. Die Markenfarbe und ihre * Abstufungen (--brand, --brand-50 … --brand-950) setzt der Server in * resources/views/app.blade.php – aus der Einstellung „Erscheinungsbild“. */ :root { --radius: 0.5rem; --background: #f4f5f7; --foreground: #1a1d21; --card: #ffffff; --card-foreground: #1a1d21; --popover: #ffffff; --popover-foreground: #1a1d21; --muted: #f1f2f4; --muted-foreground: #5f6670; --accent: #f1f2f4; --accent-foreground: #1a1d21; --secondary: #eef0f2; --secondary-foreground: #1a1d21; --border: #e3e5e8; --input: #d5d8dd; --destructive: #c62828; --primary: var(--brand); --primary-foreground: var(--brand-foreground); --ring: var(--brand-400); /* Akzenttext (Links, Kategorien) – auf Weiß gut lesbar. */ --brand-text: var(--brand-600); --brand-soft: var(--brand-50); --brand-soft-foreground: var(--brand-700); } .dark { --background: #0f1114; --foreground: #e8eaed; --card: #171a1e; --card-foreground: #e8eaed; --popover: #1c1f24; --popover-foreground: #e8eaed; --muted: #22262b; --muted-foreground: #9aa1ab; --accent: #22262b; --accent-foreground: #e8eaed; --secondary: #22262b; --secondary-foreground: #e8eaed; --border: #2a2e34; --input: #353a41; --destructive: #ef5350; --brand-text: var(--brand-300); --brand-soft: color-mix(in oklab, var(--brand) 22%, transparent); --brand-soft-foreground: var(--brand-200); } @theme inline { --font-sans: "Inter Variable", ui-sans-serif, system-ui, sans-serif; --radius-sm: calc(var(--radius) - 4px); --radius-md: calc(var(--radius) - 2px); --radius-lg: var(--radius); --radius-xl: calc(var(--radius) + 4px); --color-background: var(--background); --color-foreground: var(--foreground); --color-card: var(--card); --color-card-foreground: var(--card-foreground); --color-popover: var(--popover); --color-popover-foreground: var(--popover-foreground); --color-primary: var(--primary); --color-primary-foreground: var(--primary-foreground); --color-secondary: var(--secondary); --color-secondary-foreground: var(--secondary-foreground); --color-muted: var(--muted); --color-muted-foreground: var(--muted-foreground); --color-accent: var(--accent); --color-accent-foreground: var(--accent-foreground); --color-destructive: var(--destructive); --color-border: var(--border); --color-input: var(--input); --color-ring: var(--ring); --color-brand: var(--brand); --color-brand-foreground: var(--brand-foreground); --color-brand-text: var(--brand-text); --color-brand-soft: var(--brand-soft); --color-brand-soft-foreground: var(--brand-soft-foreground); --color-brand-50: var(--brand-50); --color-brand-100: var(--brand-100); --color-brand-200: var(--brand-200); --color-brand-300: var(--brand-300); --color-brand-400: var(--brand-400); --color-brand-500: var(--brand-500); --color-brand-600: var(--brand-600); --color-brand-700: var(--brand-700); --color-brand-800: var(--brand-800); --color-brand-900: var(--brand-900); --color-brand-950: var(--brand-950); } @layer base { * { @apply border-border outline-ring/50; } body { @apply bg-background text-foreground antialiased; font-feature-settings: "cv11", "ss01"; } } /* Fließtext aus dem Editor (Neuigkeiten, Termine) */ .prose { --tw-prose-body: var(--foreground); --tw-prose-headings: var(--foreground); --tw-prose-links: var(--brand-text); --tw-prose-bold: var(--foreground); --tw-prose-quotes: var(--foreground); --tw-prose-quote-borders: var(--brand-300); --tw-prose-bullets: var(--muted-foreground); --tw-prose-counters: var(--muted-foreground); --tw-prose-hr: var(--border); --tw-prose-th-borders: var(--border); --tw-prose-td-borders: var(--border); } /* Anführungszeichen setzt die Redaktion selbst – keine automatischen zusätzlich. */ .prose :where(blockquote p:first-of-type)::before, .prose :where(blockquote p:last-of-type)::after { content: none; }