Skip to content

Commit c5ac59d

Browse files
authored
fix: tailwind css config (#11)
1 parent b5ec9d8 commit c5ac59d

File tree

1 file changed

+38
-56
lines changed

1 file changed

+38
-56
lines changed

tailwind.config.ts

Lines changed: 38 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,48 @@
1-
import type { Config } from "tailwindcss"
1+
import type { Config } from "tailwindcss";
22

33
const config = {
44
darkMode: ["class"],
55
content: [
6-
'./pages/**/*.{ts,tsx}',
7-
'./components/**/*.{ts,tsx}',
8-
'./app/**/*.{ts,tsx}',
9-
'./src/**/*.{ts,tsx}',
6+
"./pages/**/*.{ts,tsx}",
7+
"./components/**/*.{ts,tsx}",
8+
"./app/**/*.{ts,tsx}",
9+
"./src/**/*.{ts,tsx}",
1010
],
1111
prefix: "",
1212
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: {
24-
height: '0'
25-
},
26-
to: {
27-
height: 'var(--radix-accordion-content-height)'
28-
}
29-
},
30-
'accordion-up': {
31-
from: {
32-
height: 'var(--radix-accordion-content-height)'
33-
},
34-
to: {
35-
height: '0'
36-
}
37-
},
38-
'accordion-down': {
39-
from: {
40-
height: '0'
41-
},
42-
to: {
43-
height: 'var(--radix-accordion-content-height)'
44-
}
45-
},
46-
'accordion-up': {
47-
from: {
48-
height: 'var(--radix-accordion-content-height)'
49-
},
50-
to: {
51-
height: '0'
52-
}
53-
}
54-
},
55-
animation: {
56-
'accordion-down': 'accordion-down 0.2s ease-out',
57-
'accordion-up': 'accordion-up 0.2s ease-out',
58-
'accordion-down': 'accordion-down 0.2s ease-out',
59-
'accordion-up': 'accordion-up 0.2s ease-out'
60-
}
61-
}
13+
container: {
14+
center: true,
15+
padding: "2rem",
16+
screens: {
17+
"2xl": "1400px",
18+
},
19+
},
20+
extend: {
21+
keyframes: {
22+
"accordion-down": {
23+
from: {
24+
height: "0",
25+
},
26+
to: {
27+
height: "var(--radix-accordion-content-height)",
28+
},
29+
},
30+
"accordion-up": {
31+
from: {
32+
height: "var(--radix-accordion-content-height)",
33+
},
34+
to: {
35+
height: "0",
36+
},
37+
},
38+
},
39+
animation: {
40+
"accordion-down": "accordion-down 0.2s ease-out",
41+
"accordion-up": "accordion-up 0.2s ease-out",
42+
},
43+
},
6244
},
6345
plugins: [require("tailwindcss-animate")],
64-
} satisfies Config
46+
} satisfies Config;
6547

66-
export default config
48+
export default config;

0 commit comments

Comments
 (0)