feature/share-libs
ts 40 lines 917 Bytes
Raw
1 import type { Config } from "tailwindcss"
2
3 const config = {
4 darkMode: ["class"],
5 content: [
6 './pages/**/*.{ts,tsx}',
7 './components/**/*.{ts,tsx}',
8 './app/**/*.{ts,tsx}',
9 './src/**/*.{ts,tsx}',
10 ],
11 prefix: "",
12 theme: {
13 container: {
14 center: true,
15 padding: "2rem",
16 screens: {
17 "2xl": "1400px",
18 },
19 },
20 extend: {
21 keyframes: {
22 "accordion-down": {
23 from: { height: "0" },
24 to: { height: "var(--radix-accordion-content-height)" },
25 },
26 "accordion-up": {
27 from: { height: "var(--radix-accordion-content-height)" },
28 to: { height: "0" },
29 },
30 },
31 animation: {
32 "accordion-down": "accordion-down 0.2s ease-out",
33 "accordion-up": "accordion-up 0.2s ease-out",
34 },
35 },
36 },
37 plugins: [require("tailwindcss-animate")],
38 } satisfies Config
39
40 export default config