import defaultTheme from 'tailwindcss/defaultTheme';
import forms from '@tailwindcss/forms';

/** @type {import('tailwindcss').Config} */
export default {
    // Tema oscuro solo con clase .dark (no sigue el sistema): interfaz clara por defecto, mejor accesibilidad.
    darkMode: 'class',
    content: [
        './vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php',
        './storage/framework/views/*.php',
        './resources/views/**/*.blade.php',
    ],

    theme: {
        extend: {
            fontFamily: {
                sans: ['"Plus Jakarta Sans"', 'Figtree', ...defaultTheme.fontFamily.sans],
            },
            boxShadow: {
                glow: '0 0 20px -5px rgba(20, 184, 166, 0.45)',
                'glow-violet': '0 0 24px -6px rgba(139, 92, 246, 0.4)',
            },
        },
    },

    plugins: [forms],
};
