2024-11-05 18:06:15 +01:00
|
|
|
/** @type {import('tailwindcss').Config} */
|
|
|
|
module.exports = {
|
2024-11-05 18:51:13 +01:00
|
|
|
darkMode: ["class"],
|
2024-11-05 18:06:15 +01:00
|
|
|
content: [
|
|
|
|
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
|
|
|
|
"./components/**/*.{js,ts,jsx,tsx,mdx}",
|
2024-11-05 22:32:29 +01:00
|
|
|
"./constants/**/*.{js,ts,jsx,tsx,mdx}",
|
2024-11-05 19:25:00 +01:00
|
|
|
"./app/**/*.{js,ts,jsx,tsx,mdx}"
|
2024-11-05 18:06:15 +01:00
|
|
|
],
|
2024-11-05 19:25:00 +01:00
|
|
|
safelist: ["dark"],
|
2024-11-05 18:06:15 +01:00
|
|
|
theme: {
|
|
|
|
extend: {
|
|
|
|
colors: {
|
2024-11-05 18:51:13 +01:00
|
|
|
border: "hsla(var(--border), 1)",
|
|
|
|
input: "hsla(var(--input), 1)",
|
|
|
|
ring: "hsla(var(--ring), 1)",
|
|
|
|
background: "hsla(var(--background), 1)",
|
|
|
|
foreground: "hsla(var(--foreground), 1)",
|
|
|
|
primary: {
|
|
|
|
DEFAULT: "hsla(var(--primary), 1)",
|
2024-11-05 19:25:00 +01:00
|
|
|
foreground: "hsla(var(--primary-foreground), 1)"
|
2024-11-05 18:51:13 +01:00
|
|
|
},
|
|
|
|
secondary: {
|
|
|
|
DEFAULT: "hsla(var(--secondary), 1)",
|
2024-11-05 19:25:00 +01:00
|
|
|
foreground: "hsla(var(--secondary-foreground), 1)"
|
2024-11-05 18:51:13 +01:00
|
|
|
},
|
|
|
|
destructive: {
|
|
|
|
DEFAULT: "hsla(var(--destructive), 1)",
|
2024-11-05 19:25:00 +01:00
|
|
|
foreground: "hsla(var(--destructive-foreground), 1)"
|
2024-11-05 18:51:13 +01:00
|
|
|
},
|
|
|
|
muted: {
|
|
|
|
DEFAULT: "hsla(var(--muted), 1)",
|
2024-11-05 19:25:00 +01:00
|
|
|
foreground: "hsla(var(--muted-foreground), 1)"
|
2024-11-05 18:51:13 +01:00
|
|
|
},
|
|
|
|
accent: {
|
|
|
|
DEFAULT: "hsla(var(--accent), 1)",
|
2024-11-05 19:25:00 +01:00
|
|
|
foreground: "hsla(var(--accent-foreground), 1)"
|
2024-11-05 18:51:13 +01:00
|
|
|
},
|
|
|
|
popover: {
|
|
|
|
DEFAULT: "hsla(var(--popover), 1)",
|
2024-11-05 19:25:00 +01:00
|
|
|
foreground: "hsla(var(--popover-foreground), 1)"
|
2024-11-05 18:51:13 +01:00
|
|
|
},
|
|
|
|
card: {
|
|
|
|
DEFAULT: "hsla(var(--card), 1)",
|
2024-11-05 19:25:00 +01:00
|
|
|
foreground: "hsla(var(--card-foreground), 1)"
|
|
|
|
}
|
2024-11-05 18:51:13 +01:00
|
|
|
},
|
|
|
|
borderRadius: {
|
|
|
|
lg: `var(--radius)`,
|
|
|
|
md: `calc(var(--radius) - 2px)`,
|
2024-11-05 19:25:00 +01:00
|
|
|
sm: "calc(var(--radius) - 4px)"
|
2024-11-05 18:51:13 +01:00
|
|
|
},
|
|
|
|
keyframes: {
|
|
|
|
"accordion-down": {
|
|
|
|
from: { height: 0 },
|
2024-11-05 19:25:00 +01:00
|
|
|
to: { height: "var(--radix-accordion-content-height)" }
|
2024-11-05 18:51:13 +01:00
|
|
|
},
|
|
|
|
"accordion-up": {
|
|
|
|
from: { height: "var(--radix-accordion-content-height)" },
|
2024-11-05 19:25:00 +01:00
|
|
|
to: { height: 0 }
|
|
|
|
}
|
2024-11-05 18:51:13 +01:00
|
|
|
},
|
|
|
|
animation: {
|
|
|
|
"accordion-down": "accordion-down 0.2s ease-out",
|
2024-11-05 19:25:00 +01:00
|
|
|
"accordion-up": "accordion-up 0.2s ease-out"
|
|
|
|
}
|
|
|
|
}
|
2024-11-05 18:06:15 +01:00
|
|
|
},
|
2024-11-06 20:39:45 +01:00
|
|
|
plugins: [require("@tailwindcss/typography")]
|
2024-11-05 18:06:15 +01:00
|
|
|
};
|