-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
58 lines (58 loc) · 1.14 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
module.exports = {
theme: {
fontFamily: {
sans: ["PT Sans", "sans-serif"],
serif: ["PT Serif", "serif"]
},
colors: {
white: "#FFFFFF",
black: "#000000",
"black-10": "#1F2123",
"gray-10": "#BBBBBB",
"gray-20": "#B4B4B4",
"gray-30": "#5B5B5B",
transparent: "transparent"
},
extend: {
fontSize: {
"5xl": "3rem"
}
},
typography: theme => ({
default: {
css: {
color: theme("colors.black-10"),
code: {
color: theme("colors.black-10")
}
}
},
dark: {
css: {
color: theme("colors.white")
}
}
})
},
variants: {
typography: ["responsive", "dark"],
backgroundColor: ["dark"],
textColor: ["dark"],
boxShadow: ["dark", "dark-focus"],
borderColor: ["dark"]
},
plugins: [
require("tailwindcss-dark-mode")(),
require("@tailwindcss/typography")
],
purge: {
content: [
"./content/**/*.liquid",
"./_layouts/**/*.liquid",
"./_includes/**/*.liquid"
],
options: {
whitelist: ["mode-dark"]
}
}
};