Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 3m46s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 3m49s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 4m7s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 4m8s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 5m51s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 6m29s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 6m12s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m11s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 5m33s
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
63 lines
2.6 KiB
CSS
63 lines
2.6 KiB
CSS
/*
|
||
* Automatisch erzeugt (scripts/generate-sdk-shims.mjs) – Design-Tokens des Portals.
|
||
* In der style.css eines Plugins: @import "../../inhaus-sdk/theme.css";
|
||
* Farben, Ecken und Schrift folgen so dem Erscheinungsbild der Installation.
|
||
*
|
||
* Tailwind-Klassen in Plugins tragen das Präfix „ih:“ (z. B. ih:grid, ih:lg:grid-cols-2, ih:bg-brand).
|
||
* So kann das CSS eines Plugins nie die Klassen des Portals überschreiben.
|
||
* Nur Hilfsklassen – Grundstile (Preflight) bringt das Portal selbst mit.
|
||
*/
|
||
@import "tailwindcss/theme" layer(theme) prefix(ih);
|
||
@import "tailwindcss/utilities" layer(utilities);
|
||
@custom-variant dark (&:is(.dark *));
|
||
|
||
@theme inline {
|
||
--font-sans: var(--font-body);
|
||
|
||
--radius-sm: calc(var(--radius) - 4px);
|
||
--radius-md: calc(var(--radius) - 2px);
|
||
--radius-lg: var(--radius);
|
||
--radius-xl: calc(var(--radius) * 1.5);
|
||
--radius-2xl: calc(var(--radius) * 2);
|
||
/* „Pille“: voll gerundet – außer bei „Eckig“ im Erscheinungsbild (dann 0) */
|
||
--radius-pill: calc(var(--radius) * 1000);
|
||
|
||
--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-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);
|
||
--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);
|
||
}
|