@tailwind base; @tailwind components; @tailwind utilities; /* * Design tokens for shadcn/ui primitives (components.json: baseColor "slate", * cssVariables: true). Base scale is shadcn's stock "slate" theme; --primary * and --ring are overridden to the site's fixed indigo/purple brand color * (matches the `brand` scale in tailwind.config.js, brand-600 #4F46E5). * * IMPORTANT: the org's admin-configurable accent color * (SiteSettingsContext.settings.accent_color) must NEVER be wired into any * variable here or into any Tailwind color token. It is applied in exactly * one place — an inline `style={{ color }}` on the org name text in * Navbar.tsx — and nowhere else. Every other themed element (buttons, links, * active nav states, icon chips, the help button, etc.) uses the fixed * brand/primary tokens below regardless of what the org sets that setting to. */ @layer base { :root { --background: 0 0% 100%; --foreground: 222.2 84% 4.9%; --card: 0 0% 100%; --card-foreground: 222.2 84% 4.9%; --popover: 0 0% 100%; --popover-foreground: 222.2 84% 4.9%; --primary: 243 75% 59%; --primary-foreground: 210 40% 98%; --secondary: 210 40% 96.1%; --secondary-foreground: 222.2 47.4% 11.2%; --muted: 210 40% 96.1%; --muted-foreground: 215.4 16.3% 46.9%; --accent: 210 40% 96.1%; --accent-foreground: 222.2 47.4% 11.2%; --destructive: 0 84.2% 60.2%; --destructive-foreground: 210 40% 98%; --border: 214.3 31.8% 91.4%; --input: 214.3 31.8% 91.4%; --ring: 243 75% 59%; --radius: 0.5rem; } } @layer base { * { @apply border-border; } } html { scroll-behavior: smooth; }