/** @type {import('tailwindcss').Config} */ export default { content: [ "./index.html", "./src/**/*.{js,ts,jsx,tsx}", ], theme: { extend: { // Palette de couleurs personnalisée pour HomeStock colors: { // Couleur primaire (bleu pour inventaire/organisation) primary: { 50: '#eff6ff', 100: '#dbeafe', 200: '#bfdbfe', 300: '#93c5fd', 400: '#60a5fa', 500: '#3b82f6', 600: '#2563eb', 700: '#1d4ed8', 800: '#1e40af', 900: '#1e3a8a', 950: '#172554', }, // Couleur secondaire (vert pour statut/disponibilité) secondary: { 50: '#f0fdf4', 100: '#dcfce7', 200: '#bbf7d0', 300: '#86efac', 400: '#4ade80', 500: '#22c55e', 600: '#16a34a', 700: '#15803d', 800: '#166534', 900: '#14532d', 950: '#052e16', }, // Gris pour UI gray: { 50: '#f9fafb', 100: '#f3f4f6', 200: '#e5e7eb', 300: '#d1d5db', 400: '#9ca3af', 500: '#6b7280', 600: '#4b5563', 700: '#374151', 800: '#1f2937', 900: '#111827', 950: '#030712', }, }, // Espacements supplémentaires spacing: { '128': '32rem', '144': '36rem', }, // Typographie fontFamily: { sans: [ 'Inter', 'system-ui', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'sans-serif', ], mono: [ 'Fira Code', 'Consolas', 'Monaco', 'Courier New', 'monospace', ], }, // Animations personnalisées keyframes: { 'fade-in': { '0%': { opacity: '0' }, '100%': { opacity: '1' }, }, 'slide-in-right': { '0%': { transform: 'translateX(100%)' }, '100%': { transform: 'translateX(0)' }, }, 'slide-in-up': { '0%': { transform: 'translateY(100%)' }, '100%': { transform: 'translateY(0)' }, }, }, animation: { 'fade-in': 'fade-in 0.2s ease-in-out', 'slide-in-right': 'slide-in-right 0.3s ease-out', 'slide-in-up': 'slide-in-up 0.3s ease-out', }, // Largeurs max personnalisées maxWidth: { '8xl': '88rem', '9xl': '96rem', }, // Border radius personnalisé borderRadius: { '4xl': '2rem', }, }, }, plugins: [ // Plugin pour les formulaires (optionnel, décommenter si installé) // require('@tailwindcss/forms'), // Plugin pour la typographie (optionnel, décommenter si installé) // require('@tailwindcss/typography'), ], }