diff --git a/tailwind.config.ts b/tailwind.config.ts index 61e4c31..c434c32 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -1,21 +1,35 @@ import type { Config } from 'tailwindcss'; -const config: Config = { - content: [ - './src/pages/**/*.{js,ts,jsx,tsx,mdx}', - './src/components/**/*.{js,ts,jsx,tsx,mdx}', - './src/app/**/*.{js,ts,jsx,tsx,mdx}', - ], +const config = { + darkMode: ['class'], + content: ['./src/**/*.{ts,tsx}'], + prefix: '', theme: { + container: { + center: true, + padding: '2rem', + screens: { + '2xl': '1400px', + }, + }, extend: { - backgroundImage: { - 'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))', - 'gradient-conic': - 'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))', + keyframes: { + 'accordion-down': { + from: { height: '0' }, + to: { height: 'var(--radix-accordion-content-height)' }, + }, + 'accordion-up': { + from: { height: 'var(--radix-accordion-content-height)' }, + to: { height: '0' }, + }, + }, + animation: { + 'accordion-down': 'accordion-down 0.2s ease-out', + 'accordion-up': 'accordion-up 0.2s ease-out', }, }, }, - plugins: [], -}; + plugins: [require('tailwindcss-animate')], +} satisfies Config; export default config;