-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
48 lines (47 loc) · 1.05 KB
/
tailwind.config.js
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
const variants = ["responsive", "hover", "focus", "group-hover", "group-focus"];
module.exports = {
theme: {
extend: {
spacing: {
72: "18rem",
84: "21rem",
96: "24rem",
},
height: () => ({
"screen/2": "50vh",
"screen/3": "calc(100vh / 3)",
"screen/4": "calc(100vh / 4)",
"screen/5": "calc(100vh / 5)",
}),
transitionDuration: {
2000: "2000ms",
},
},
},
purge: {
enabled: process.env.NODE_ENV === "production",
content: [
"./pages/.vitepress/**/*.js",
"./pages/.vitepress/**/*.vue",
"./pages/.vitepress/**/*.ts",
"./pages/**/*.md",
"./pages/**/*.vue",
"./pages/**/*.js",
],
options: {
safelist: ["html", "body"],
},
},
variants: {
backgroundColor: variants,
borderColor: variants,
borderWidth: variants,
boxShadow: variants,
divideColor: variants,
opacity: variants,
scale: variants,
textColor: variants,
textDecoration: variants,
translate: variants,
},
};