/** @type {import('tailwindcss').Config} */ export default { content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'], darkMode: 'class', theme: { extend: { colors: { // Tokens pilotés par variables CSS (voir :root et .dark dans index.css). bg: 'rgb(var(--c-bg) / )', sidebar: 'rgb(var(--c-sidebar) / )', panel: 'rgb(var(--c-panel) / )', panel2: 'rgb(var(--c-panel2) / )', hover: 'rgb(var(--c-hover) / )', border: 'rgb(var(--c-border) / )', 'border-strong': 'rgb(var(--c-border-strong) / )', ink: 'rgb(var(--c-ink) / )', muted: 'rgb(var(--c-muted) / )', subtle: 'rgb(var(--c-subtle) / )', accent: 'rgb(var(--c-accent) / )', 'accent-soft': 'rgb(var(--c-accent-soft) / )', accentfg: 'rgb(var(--c-accentfg) / )', accent2: 'rgb(var(--c-accent2) / )' }, boxShadow: { // Élévation pilotée par le thème : en sombre, les ombres portées // seules sont invisibles — les variables ajoutent un liseré interne. card: 'var(--shadow-card)', raised: 'var(--shadow-raised)', pop: 'var(--shadow-pop)' }, spacing: { sidebar: '15rem', 'sidebar-sm': '3.75rem' }, transitionTimingFunction: { smooth: 'cubic-bezier(0.32, 0.72, 0, 1)' } } }, plugins: [] }