-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
120 lines (104 loc) · 2.21 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
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
module.exports = {
purge: {
content: ["./components/**/*.js", "./pages/**/*.js"],
options: {
safelist: [
"text-alert-base",
"text-warning-dark",
"text-success-base",
"text-warning-light",
"bg-alert-base",
"bg-warning-dark",
"bg-success-base",
"bg-warning-light",
],
},
},
theme: {
colors: {
transparent: "transparent",
white: "#FFFFFF",
black: "#191E33",
primary: {
base: "#2270FD",
},
neutral: {
100: "#F3F5F8",
200: "#E7EBF2",
400: "#9EA0A3",
700: "#414246",
800: "#1A1B1F",
},
success: {
light: "#C3E951",
base: "#7BE376",
dark: "#57A554",
},
alert: {
base: "#EA5A54",
dark: "#AB2A21",
},
warning: {
light: "#F9D548",
base: "#AB2A21",
dark: "#EE9135",
},
},
extend: {
fontFamily: {
sans:
'Inter, Georgia, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',
},
boxShadow: {
default: "0px 0px 4px rgba(54, 44, 73, 0.03)",
md: "0px 4px 12px rgba(25, 30, 51, 0.06)",
lg: "0px 0px 12px rgba(54, 44, 73, 0.08)",
},
borderRadius: {
default: "0.5rem",
lg: "1rem",
},
backgroundOpacity: {
20: "0.2",
},
animation: {
"spinner-dot": "spinner-dot 1.4s infinite ease-in-out both",
},
keyframes: {
"spinner-dot": {
"0%, 80%, 100%": {
transform: "scale(0)",
},
"40%": {
transform: "scale(1)",
},
},
},
spacing: {
14: "3.5rem",
55: "13.75rem",
94: "23.5rem",
},
maxWidth: {
160: "40rem",
},
maxHeight: {
94: "23.5rem",
},
},
},
variants: [
"responsive",
"group-hover",
"first",
"last",
"odd",
"even",
"hover",
"focus",
"active",
"visited",
"disabled",
"focus-within",
],
};