-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathtailwind.config.js
More file actions
82 lines (82 loc) · 1.73 KB
/
Copy pathtailwind.config.js
File metadata and controls
82 lines (82 loc) · 1.73 KB
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
module.exports = {
purge: {
enabled: process.env.NODE_ENV === "production" ? true : false,
content: [
"./lib/**/*.js",
"./lib/**/**/*.js",
"./lib/**/**/**/*.js",
"./lib/*.js",
],
defaultExtractor: (content) => content.match(/[A-Za-z0-9-_:/]+/g) || [],
options: {
safelist: [
"bg-gray-100",
"bg-red-100",
"bg-yellow-100",
"bg-green-100",
"bg-blue-100",
"bg-indigo-100",
"bg-purple-100",
"bg-pink-100",
"bg-orange-100",
"text-gray-800",
"text-red-800",
"text-yellow-800",
"text-green-800",
"text-blue-800",
"text-indigo-800",
"text-purple-800",
"text-pink-800",
"text-orange-800",
"w-3/12",
"w-4/12",
"w-5/12",
"w-6/12",
"w-7/12",
"w-8/12",
"w-9/12",
"w-10/12",
],
},
},
theme: {
extend: {
spacing: {
1.5: "0.375rem",
2.5: "0.625rem",
4.5: "1.125rem",
5: "1.25rem",
10: "2.5rem",
18: "4.5rem",
36: "8.5rem",
140: "35rem",
180: "45rem",
},
colors: {
orange: {
100: "#FFEDD5",
800: "#9A3412",
},
},
boxShadow: {
xs: "0 0 0 1px rgba(0, 0, 0, 0.05)",
},
zIndex: {
1: 1,
},
screens: {
sm: "768px",
md: "991px",
},
},
},
variants: {
borderColor: ["hover"],
boxShadow: ["hover"],
backgroundColor: ["hover", "active"],
color: ["hover", "active"],
margin: ["last"],
outline: ["focus"],
},
plugins: [require("@tailwindcss/forms"), require("@tailwindcss/typography")],
};