/** @type {import('tailwindcss').Config} */ module.exports = { content: [ './src/**/*.{js,jsx,ts,tsx,mdx}', './docs/**/*.{md,mdx}', ], darkMode: ['class'], // ThemeSynchronizer bridges Docusaurus data-theme → .dark class theme: { extend: { fontFamily: { sans: ['Geist', 'Inter', 'system-ui', 'sans-serif'], mono: ['Geist Mono', 'Fira Code', 'monospace'], }, colors: { border: 'hsl(var(--border))', input: 'hsl(var(--input))', ring: 'hsl(var(--ring))', background: 'hsl(var(--background))', foreground: 'hsl(var(--foreground))', primary: { DEFAULT: 'hsl(var(--primary))', foreground: 'hsl(var(--primary-foreground))', }, secondary: { DEFAULT: 'hsl(var(--secondary))', foreground: 'hsl(var(--secondary-foreground))', }, muted: { DEFAULT: 'hsl(var(--muted))', foreground: 'hsl(var(--muted-foreground))', }, accent: { DEFAULT: 'hsl(var(--accent))', foreground: 'hsl(var(--accent-foreground))', }, destructive: { DEFAULT: 'hsl(var(--destructive))', foreground: 'hsl(var(--destructive-foreground))', }, card: { DEFAULT: 'hsl(var(--card))', foreground: 'hsl(var(--card-foreground))', }, }, borderRadius: { // All set to 0 — Lego wants sharp corners everywhere lg: '0px', md: '0px', sm: '0px', none: '0px', }, }, }, corePlugins: { preflight: false, // MUST be false — prevents fighting Docusaurus Infima CSS }, };