-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.ts
101 lines (99 loc) · 2.37 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
import { grayDark, blue, red, green, yellow } from "@radix-ui/colors";
import type { Config } from "tailwindcss";
import { fontFamily } from "tailwindcss/defaultTheme";
const config: Config = {
content: ["./src/**/*.tsx"],
theme: {
extend: {
fontFamily: {
sans: ["var(--font-geist)", ...fontFamily.sans],
},
colors: {
gray: {
1: grayDark.gray1,
2: grayDark.gray2,
3: grayDark.gray3,
4: grayDark.gray4,
5: grayDark.gray5,
6: grayDark.gray6,
7: grayDark.gray7,
8: grayDark.gray8,
9: grayDark.gray9,
10: grayDark.gray10,
11: grayDark.gray11,
12: grayDark.gray12,
},
blue: {
1: blue.blue1,
2: blue.blue2,
3: blue.blue3,
4: blue.blue4,
5: blue.blue5,
6: blue.blue6,
7: blue.blue7,
8: blue.blue8,
9: blue.blue9,
10: blue.blue10,
11: blue.blue11,
12: blue.blue12,
},
red: {
1: red.red1,
2: red.red2,
3: red.red3,
4: red.red4,
5: red.red5,
6: red.red6,
7: red.red7,
8: red.red8,
9: red.red9,
10: red.red10,
11: red.red11,
12: red.red12,
},
yellow: {
1: yellow.yellow1,
2: yellow.yellow2,
3: yellow.yellow3,
4: yellow.yellow4,
5: yellow.yellow5,
6: yellow.yellow6,
7: yellow.yellow7,
8: yellow.yellow8,
9: yellow.yellow9,
10: yellow.yellow10,
11: yellow.yellow11,
12: yellow.yellow12,
},
green: {
1: green.green1,
2: green.green2,
3: green.green3,
4: green.green4,
5: green.green5,
6: green.green6,
7: green.green7,
8: green.green8,
9: green.green9,
10: green.green10,
11: green.green11,
12: green.green12,
},
},
keyframes: {
"fade-in": {
from: { opacity: "0" },
to: { opacity: "1" },
},
},
animation: {
"fade-in": "fade-in 150ms ease-in",
},
},
},
future: {
hoverOnlyWhenSupported: true,
},
plugins: [],
};
export default config;