import type { Config } from "tailwindcss"; export default { // Match the token theme, including the portal, rather than the OS preference alone. darkMode: ["selector", ':is(.dark, [data-bs-theme="dark"])'], content: ["./index.html", "./src/**/*.{ts,tsx}"], theme: { extend: { colors: { background: "oklch(var(--background) / )", foreground: "oklch(var(--foreground) / )", card: { DEFAULT: "oklch(var(--card) / )", foreground: "oklch(var(--card-foreground) / )", }, popover: { DEFAULT: "oklch(var(--popover) / )", foreground: "oklch(var(--popover-foreground) / )", }, primary: { DEFAULT: "oklch(var(--primary) / )", foreground: "oklch(var(--primary-foreground) / )", }, secondary: { DEFAULT: "oklch(var(--secondary) / )", foreground: "oklch(var(--secondary-foreground) / )", }, muted: { DEFAULT: "oklch(var(--muted) / )", foreground: "oklch(var(--muted-foreground) / )", }, accent: { DEFAULT: "oklch(var(--accent) / )", foreground: "oklch(var(--accent-foreground) / )", }, destructive: { DEFAULT: "oklch(var(--destructive) / )", }, border: "oklch(var(--border) / )", input: "oklch(var(--input) / )", ring: "oklch(var(--ring) / )", success: "oklch(var(--success) / )", warning: "oklch(var(--warning) / )", sidebar: { DEFAULT: "oklch(var(--sidebar) / )", foreground: "oklch(var(--sidebar-foreground) / )", primary: "oklch(var(--sidebar-primary) / )", "primary-foreground": "oklch(var(--sidebar-primary-foreground) / )", accent: "oklch(var(--sidebar-accent) / )", "accent-foreground": "oklch(var(--sidebar-accent-foreground) / )", border: "oklch(var(--sidebar-border) / )", ring: "oklch(var(--sidebar-ring) / )", }, }, borderRadius: { lg: "var(--radius)", md: "calc(var(--radius) - 2px)", sm: "calc(var(--radius) - 4px)", }, ringWidth: { 3: "3px" }, boxShadow: { xs: "var(--shadow-xs)", sm: "var(--shadow-sm)", DEFAULT: "var(--shadow-sm)", md: "var(--shadow-md)", }, fontFamily: { sans: ["var(--font-sans)", "sans-serif"], heading: ["var(--font-heading)", "sans-serif"], mono: ["var(--font-mono)", "monospace"], }, fontSize: { xs: ["var(--text-meta)", "1.5"], sm: ["var(--text-control)", "1.5"], base: ["var(--text-body)", "1.5"], lg: ["var(--text-section)", "1.4"], xl: ["var(--text-section)", "1.4"], "2xl": ["var(--text-page)", "1.3"], }, }, }, plugins: [], } satisfies Config;