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

/** @type {import('tailwindcss').Config} */
export default {
    content: [
        './vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php',
        './storage/framework/views/*.php',
        './resources/views/**/*.php',
        './resources/views/**/**/*.php',
        './resources/views/**/**/**/*.php',
        './resources/views/**/**/**/**/**/*.php',
        'node_modules/preline/dist/*.js',
        './resources/js/**/*.js',
    ],

    theme: {
        extend: {
            fontFamily: {
                sans: ['Inter', 'sans-serif'],
            },
            keyframes: {
                wiggle: {
                    '0%': { transform: 'translateX(-100%)', opacity: '0' },
                    '100%': { transform: 'translateX(120%)' },
                }
            },
            animation: {
                wiggle: 'wiggle 1s ease-in forwards',
            },
        },
    },

    plugins: [forms, require('preline/plugin'), ],
};