import type { Config } from 'tailwindcss'; import plugin from 'tailwindcss/plugin'; const config: Config = { darkMode: ['class'], content: [ './pages/**/*.{js,ts,jsx,tsx,mdx}', './components/**/*.{js,ts,jsx,tsx,mdx}', './app/**/*.{js,ts,jsx,tsx,mdx}', ], theme: { container: { center: true, padding: '2rem', screens: { '2xl': '1400px' } }, extend: { screens: { 'xs': '480px', }, fontFamily: { allenoire: ['AlleNoire', 'sans-serif'], poppins: ['Poppins Regular', 'sans-serif'], 'poppins-semibold': ['Poppins SemiBold', 'sans-serif'], jakarta: ['AlleNoire', 'sans-serif'], }, fontWeight: { extrabold: '800', bold: '700', semibold: '600', }, borderRadius: { lg: 'var(--radius)', md: 'calc(var(--radius) - 2px)', sm: 'calc(var(--radius) - 4px)', button: '100px', }, colors: { border: 'hsl(var(--border))', input: 'hsl(var(--input))', ring: 'hsl(var(--ring))', background: 'hsl(var(--background))', foreground: 'hsl(var(--foreground))', primary: { DEFAULT: '#D94D72', dark: '#ff6670', light: '#E67E99', foreground: 'hsl(var(--primary-foreground))' }, secondary: { DEFAULT: '#fff4e4', gold: { DEFAULT: '#D89B1C', light: '#F0BB47', dark: '#B37E0E' }, foreground: 'hsl(var(--secondary-foreground))' }, wolt: { DEFAULT: '#FFC877', blue: '#00C2E8' }, destructive: { DEFAULT: 'hsl(var(--destructive))', foreground: 'hsl(var(--destructive-foreground))' }, muted: { DEFAULT: 'hsl(var(--muted))', foreground: 'hsl(var(--muted-foreground))' }, accent: { DEFAULT: 'hsl(var(--accent))', foreground: 'hsl(var(--accent-foreground))' }, popover: { DEFAULT: 'hsl(var(--popover))', foreground: 'hsl(var(--popover-foreground))' }, card: { DEFAULT: 'hsl(var(--card))', foreground: 'hsl(var(--card-foreground))' }, chart: { '1': 'hsl(var(--chart-1))', '2': 'hsl(var(--chart-2))', '3': 'hsl(var(--chart-3))', '4': 'hsl(var(--chart-4))', '5': 'hsl(var(--chart-5))' }, 'wolt-blue': '#00C2E8', }, keyframes: { fadeIn: { from: { opacity: '0' }, to: { opacity: '1' } }, marquee: { '0%': { transform: 'translateX(0%)' }, '100%': { transform: 'translateX(-100%)' } }, blink: { '0%': { opacity: '0.2' }, '20%': { opacity: '1' }, '100%': { opacity: '0.2' } }, '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: { fadeIn: 'fadeIn .3s ease-in-out', carousel: 'marquee 60s linear infinite', blink: 'blink 1.4s both infinite', 'accordion-down': 'accordion-down 0.2s ease-out', 'accordion-up': 'accordion-up 0.2s ease-out' } } }, future: { hoverOnlyWhenSupported: true }, plugins: [ require('@tailwindcss/container-queries'), require('@tailwindcss/typography'), plugin(({ matchUtilities, theme }: { matchUtilities: any; theme: any }) => { matchUtilities( { 'animation-delay': (value: string) => { return { 'animation-delay': value }; } }, { values: theme('transitionDelay') } ); }), require("tailwindcss-animate") ] }; export default config;