-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
127 lines (127 loc) · 3.59 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
121
122
123
124
125
126
127
module.exports = {
purge: [
"./_includes/**/*.html",
"./_layouts/**/*.html",
"./_posts/*.md",
"./*.html",
],
darkMode: "media",
theme: {
// customColorPalette: {
// utilities: {
// textColor: true, // render text color utilities: true (default) | false
// backgroundColor: true, // render background color utilities: true (default) | false
// borderColor: true, // render border color utilities: true (default) | false
// gradientColorStops: true, // render gradient color utilities: true (default) | false
// placeholderColor: true, // render placeholder color utilities: true (default) | false
// divideColor: true, // render divide color utilities: true (default) | false
// ringColor: true, // render ring color utilities: true (default) | false
// ringOffsetColor: true, // render ring offset color utilities: true (default) | false
// },
// steps: 100, // define the steps between each shade: 100 (default) | 50
// calculation: "relative", // change color calculation: relative (default) | linear
// },
extend: {
colors: {
white: "#ffffff",
error: "#FFC7CF",
transparent: "transparent",
banana: {
DEFAULT: "var(--banana)",
10: "var(--banana-10)",
20: "var(--banana-20)",
40: "var(--banana-40)",
60: "var(--banana-60)",
80: "var(--banana-80)",
},
blush: {
DEFAULT: "var(--blush)",
20: "var(--blush-20)",
40: "var(--blush-40)",
60: "var(--blush-60)",
80: "var(--blush-80)",
},
indigo: {
DEFAULT: "var(--indigo)",
20: "var(--indigo-20)",
40: "var(--indigo-40)",
60: "var(--indigo-60)",
80: "var(--indigo-80)",
},
lavender: {
DEFAULT: "var(--lavender)",
60: "var(--lavender-60)",
light: "var(--lavender-light)",
},
night: {
DEFAULT: "var(--night)",
5: "var(--night-5)",
10: "var(--night-10)",
20: "var(--night-20)",
40: "var(--night-40)",
60: "var(--night-60)",
80: "var(--night-80)",
},
seafoam: {
DEFAULT: "var(--seafoam)",
20: "var(--seafoam-20)",
30: "var(--seafoam-30)",
40: "var(--seafoam-40)",
60: "var(--seafoam-60)",
80: "var(--seafoam-80)",
},
tiger: {
DEFAULT: "var(--tiger)",
10: "var(--tiger-10)",
20: "var(--tiger-20)",
40: "var(--tiger-40)",
60: "var(--tiger-60)",
80: "var(--tiger-80)",
},
},
fontSize: {
"4xl": [
"2.125rem", // 34px
{
lineHeight: "2.625rem", // 42px
},
],
"5xl": [
"3rem", // 48px
{
lineHeight: "3.25rem", // 52px
},
],
"6xl": [
"3.5rem", // 56px
{
lineHeight: "4rem",
},
],
"7xl": [
"5rem", // 80px
{
lineHeight: "5.125rem", // 82px
},
],
},
},
},
safelist: [
"bg-blush",
"bg-tiger-10",
"bg-banana-10",
"bg-seafoam-30",
"bg-lavender-60",
"border-lavender",
"border-tiger-40",
"border-banana-60",
"border-seafoam",
"hover:border-lavender",
"hover:border-tiger-40",
"hover:border-banana-60",
"hover:border-seafoam",
],
variants: {},
plugins: [require("@tailwindcss/typography")],
};