/* * 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); }