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

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

  safelist: [
    'bg-neutral-200',
    'text-neutral-800',
    'bg-red-200',
    'text-red-600',
    'bg-amber-200',
    'text-amber-600',
    'bg-emerald-200',
    'text-emerald-600',
    'bg-slate-200',
    'text-slate-600',
    'bg-sky-200',
    'text-sky-600',
    'bg-lime-500',
    'bg-lime-300',
    'bg-cyan-600',
    'bg-cyan-300',
    'bg-orange-600',
    'bg-orange-300',
    'bg-red-700',
    'bg-red-400',
    'bg-stone-400',
    'bg-stone-700',
    'bg-slate-900',
    'dark:bg-green-100',
    'dark:bg-green-200',
    'dark:bg-green-300',
    'dark:bg-green-400',
    'dark:bg-green-500',
    'dark:bg-green-600',
    'dark:bg-green-700',
    'dark:bg-green-800',
    'dark:bg-green-900',
    {
      pattern: /bg-(green)-(100|200|300|400|500|600|700|800|900)/,
    },
  ],

  theme: {
    extend: {
      fontFamily: {
        sans: ['Nunito', ...defaultTheme.fontFamily.sans],
      },
    },
  },

  darkMode: 'class',

  plugins: [forms, typography],
};
