/** @type {import('tailwindcss').Config} */ import defaultTheme from "tailwindcss/defaultTheme"; import plugin from "tailwindcss/plugin"; export default { darkMode: ["class"], content: ["./src/**/*.{js,ts,jsx,tsx,html}"], theme: { container: { center: true, padding: "2rem", screens: { "2xl": "1400px", }, }, extend: { // https://tailwindcss.com/docs/font-family#font-families fontFamily: { sans: ['"Poppins"', ...defaultTheme.fontFamily.sans], }, /*fontFamily: { display: "Public Sans, ui-sans-serif", heading: "Noto Serif, ui-serif", },*/ colors: { border: "hsl(240, 5.9%, 90%)", input: "hsl(240, 5.9%, 90%)", ring: "hsl(346.8, 77.2%, 49.8%)", background: "hsl(0, 0%, 100%)", foreground: "hsl(240, 10%, 3.9%)", primary: { DEFAULT: "hsl(346.8, 77.2%, 49.8%)", foreground: "hsl(355.7, 100%, 97.3%)", }, secondary: { DEFAULT: "hsl(240, 4.8%, 95.9%)", foreground: "hsl(240, 5.9%, 10%)", }, destructive: { DEFAULT: "hsl(0, 84.2%, 60.2%)", foreground: "hsl(0, 0%, 98%)", }, muted: { DEFAULT: "hsl(240, 4.8%, 95.9%)", foreground: "hsl(240, 3.8%, 46.1%)", }, accent: { DEFAULT: "hsl(240, 4.8%, 95.9%)", foreground: "hsl(240, 5.9%, 10%)", }, popover: { DEFAULT: "hsl(0, 0%, 100%)", foreground: "hsl(240, 10%, 3.9%)", }, card: { DEFAULT: "hsl(0, 0%, 100%)", foreground: "hsl(240, 10%, 3.9%)", }, }, borderRadius: { lg: "0.3rem", md: "calc(0.3rem - 2px)", sm: "calc(0.3rem - 4px)", }, 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: [ require("tailwindcss-animate"), plugin(function ({ addBase }) { addBase({ html: { fontSize: "16px" }, // 16px es el valor por defecto }); }), ], };