This repository has been archived by the owner on Dec 9, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
97 lines (97 loc) · 1.98 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
module.exports = {
// plugins: [require("@tailwindcss/custom-forms")],
theme: {
spacing: {
0: "0",
px: "1px",
1: "0.25rem", // 3px
2: "0.5rem", // 6px
4: "1rem", // 12px
6: "1.5rem", // 18px
8: "2rem", // 24px
10: "2.5rem", // 30px
12: "3rem", // 36px
14: "3.5rem", // 42px
16: "4rem", // 48px
20: "5rem", // 60px
24: "6rem", // 72px
},
fontFamily: {
handwritten: ["ff-market-web"],
serif: ["freight-text-pro", "serif"],
sans: ["freight-sans-condensed-pro", "sans-serif"],
},
fontWeight: {
book: 400,
medium: 500,
semibold: 600,
bold: 700,
},
fontSize: {
small: "1.083333333rem",
base: "1.416666667rem",
lg: "2.1rem",
xl: "3rem",
"2xl": "4rem",
"4xl": "6rem",
},
lineHeight: {
none: "1",
normal: "1.352941176",
},
extend: {
colors: {
gray: {
100: "#F5F7FA",
200: "#E4E7EB",
300: "#CBD2D9",
400: "#9AA5B1",
500: "#A0AEC0",
600: "#718096",
700: "#4A5568",
800: "#2D3748",
900: "#1A202C",
},
},
inset: {
"1/2": "50%",
},
},
},
variants: {
margin: ["responsive", "first", "last"],
padding: ["responsive", "first", "last"],
backgroundColor: [
"responsive",
"group-hover",
"focus-within",
"focus",
"hover",
"active",
"visited",
"disabled",
],
border: [
"responsive",
"group-hover",
"focus-within",
"focus",
"hover",
"active",
"visited",
"disabled",
],
opacity: ["hover", "focus", "active", "group-hover"],
scale: ["responsive", "hover", "focus", "active", "group-hover"],
textColor: [
"responsive",
"group-hover",
"focus-within",
"focus",
"hover",
"active",
"visited",
"disabled",
],
},
};