/** @type {import('tailwindcss').Config} */ export default { darkMode: "class", content: ["./index.html", "./src/**/*.{ts,tsx}"], theme: { extend: { // Semantic tokens backed by CSS variables (see index.css). Using these // instead of raw grays lets every surface switch with the theme. // Make every `border`/`divide` utility theme-aware by default, so a bare // `border` never falls back to Tailwind's light gray-200 in dark mode. borderColor: { DEFAULT: "rgb(var(--app-border) / )", }, divideColor: { DEFAULT: "rgb(var(--app-border) / )", }, colors: { app: { bg: "rgb(var(--app-bg) / )", surface: "rgb(var(--app-surface) / )", elevated: "rgb(var(--app-elevated) / )", border: "rgb(var(--app-border) / )", fg: "rgb(var(--app-fg) / )", muted: "rgb(var(--app-muted) / )", faint: "rgb(var(--app-faint) / )", accent: "rgb(var(--app-accent) / )", "accent-fg": "rgb(var(--app-accent-fg) / )", hover: "rgb(var(--app-hover) / )", active: "rgb(var(--app-active) / )", }, }, }, }, plugins: [], };