2024-06-07 14:02:52 +00:00
|
|
|
import type { Config } from "tailwindcss";
|
2024-06-09 07:35:48 +00:00
|
|
|
import { fontFamily } from "tailwindcss/defaultTheme";
|
2024-06-07 14:02:52 +00:00
|
|
|
|
2024-06-09 07:35:48 +00:00
|
|
|
const config = {
|
|
|
|
darkMode: ["class"],
|
2024-06-07 14:02:52 +00:00
|
|
|
content: [
|
2024-06-09 07:35:48 +00:00
|
|
|
"./pages/**/*.{ts,tsx}",
|
|
|
|
"./components/**/*.{ts,tsx}",
|
|
|
|
"./app/**/*.{ts,tsx}",
|
|
|
|
"./src/**/*.{ts,tsx}",
|
2024-06-07 14:02:52 +00:00
|
|
|
],
|
2024-06-09 07:35:48 +00:00
|
|
|
prefix: "",
|
2024-06-07 14:02:52 +00:00
|
|
|
theme: {
|
2024-06-09 07:35:48 +00:00
|
|
|
container: {
|
|
|
|
center: true,
|
2024-06-09 22:50:37 +00:00
|
|
|
padding: "1rem",
|
2024-06-09 07:35:48 +00:00
|
|
|
screens: {
|
|
|
|
"2xl": "1400px",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
extend: {
|
|
|
|
fontFamily: {
|
|
|
|
sans: ["var(--font-sans)", ...fontFamily.sans],
|
|
|
|
},
|
|
|
|
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: {
|
2024-06-09 22:50:37 +00:00
|
|
|
"accordion-down": "accordion-down 0.6s ease-out",
|
|
|
|
"accordion-up": "accordion-up 0.6s ease-out",
|
2024-06-09 07:35:48 +00:00
|
|
|
},
|
|
|
|
},
|
2024-06-07 14:02:52 +00:00
|
|
|
},
|
2024-06-09 07:35:48 +00:00
|
|
|
plugins: [require("tailwindcss-animate")],
|
|
|
|
} satisfies Config;
|
|
|
|
|
2024-06-07 14:02:52 +00:00
|
|
|
export default config;
|