import type { Config } from 'tailwindcss'; const config: Config = { darkMode: ['class'], content: [ './src/app/**/*.{ts,tsx}', './src/components/**/*.{ts,tsx}', './src/modules/**/*.{ts,tsx}', ], theme: { container: { center: true, padding: '1.5rem', screens: { '2xl': '1400px', }, }, extend: { 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))', }, destructive: { DEFAULT: 'hsl(var(--destructive))', foreground: 'hsl(var(--destructive-foreground))', }, success: { DEFAULT: 'hsl(var(--success))', foreground: 'hsl(var(--success-foreground))', }, warning: { DEFAULT: 'hsl(var(--warning))', foreground: 'hsl(var(--warning-foreground))', }, muted: { DEFAULT: 'hsl(var(--muted))', foreground: 'hsl(var(--muted-foreground))', }, accent: { DEFAULT: 'hsl(var(--accent))', foreground: 'hsl(var(--accent-foreground))', }, card: { DEFAULT: 'hsl(var(--card))', foreground: 'hsl(var(--card-foreground))', }, popover: { DEFAULT: 'hsl(var(--popover))', foreground: 'hsl(var(--popover-foreground))', }, }, borderRadius: { lg: 'var(--radius)', md: 'calc(var(--radius) - 4px)', sm: 'calc(var(--radius) - 8px)', }, fontSize: { // Échelle typographique plus resserrée (style Apple) xs: ['0.75rem', { lineHeight: '1rem' }], sm: ['0.8125rem', { lineHeight: '1.125rem' }], base: ['0.9375rem', { lineHeight: '1.375rem' }], lg: ['1.0625rem', { lineHeight: '1.5rem' }], xl: ['1.25rem', { lineHeight: '1.75rem' }], '2xl': ['1.5rem', { lineHeight: '2rem', letterSpacing: '-0.022em' }], '3xl': ['1.875rem', { lineHeight: '2.25rem', letterSpacing: '-0.025em' }], '4xl': ['2.5rem', { lineHeight: '3rem', letterSpacing: '-0.028em' }], '5xl': ['3.25rem', { lineHeight: '3.5rem', letterSpacing: '-0.03em' }], }, keyframes: { 'fade-in': { '0%': { opacity: '0', transform: 'translateY(4px)' }, '100%': { opacity: '1', transform: 'translateY(0)' }, }, }, animation: { 'fade-in': 'fade-in 0.2s ease-out', }, }, }, plugins: [require('tailwindcss-animate')], }; export default config;