-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.ts
79 lines (77 loc) · 1.98 KB
/
tailwind.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
import type { Config } from "tailwindcss";
const config = {
darkMode: ["class"],
content: ["./src/components/**/*.{ts,tsx}", "./src/app/**/*.{ts,tsx}"],
prefix: "",
theme: {
container: {
center: true,
padding: {
DEFAULT: "2rem",
sm: "2rem",
md: "2rem",
lg: "4rem",
xl: "5rem",
"2xl": "6rem",
},
},
extend: {
spacing: {
4.5: "1.125rem",
6.5: "1.625rem",
7.5: "1.875rem",
11.5: "2.875rem",
12.5: "3.125rem",
15: "3.75rem",
24.5: "6.125rem",
30: "7.5rem",
},
fontSize: {
"2xl": "1.375rem",
"3xl": "1.5rem",
},
colors: {
"neutral-1": "#fefefe",
"neutral-2": "#f3f5f7",
"neutral-3": "#e8ecef",
"neutral-4": "#6c7275",
"neutral-5": "#343839",
"neutral-6": "#232627",
"neutral-7": "#141718",
"accent-blue": "#377dff",
"accent-green": "#38cb89",
"accent-orange": "#ffab00",
"accent-red": "#ff5630",
},
borderColor: {
DEFAULT: "#141718",
},
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" },
},
"menu-open": {
from: { left: "-110%" },
to: { left: "0" },
},
"menu-close": {
from: { display: "flex", left: "0" },
to: { display: "none", left: "-110%" },
},
},
animation: {
"accordion-down": "accordion-down 0.2s ease-out",
"accordion-up": "accordion-up 0.2s ease-out",
"menu-open": "menu-open 0.3s ease-in-out ",
"menu-close": "menu-close 0.3s ease-in-out ",
},
},
},
plugins: [require("tailwindcss-animate")],
} satisfies Config;
export default config;