-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
81 lines (81 loc) · 2.01 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
module.exports = {
purge: ["./pages/**/*.tsx", "./components/**/*.tsx"],
darkMode: "class",
theme: {
fontFamily: {
serif: ["Playfair Display", "serif"],
sans: ["Inter", "sans-serif"],
mono: ["Fira Code", "monospace"],
},
extend: {
colors: {
primary: "#F4544E",
secondary: "#FEAA00",
ternary: "#E36506",
ternary30: "#E3650630",
},
typography: (theme) => ({
DEFAULT: {
css: {
color: theme("colors.white"),
a: {
color: "#E36506",
"&:hover": {
color: "#F4544E",
},
},
h1: {
color: theme("colors.white"),
fontFamily: '"Playfair Display", "serif"',
},
h2: {
color: theme("colors.white"),
fontFamily: '"Playfair Display", "serif"',
},
h3: {
color: theme("colors.white"),
fontFamily: '"Playfair Display", "serif"',
},
h4: {
color: theme("colors.white"),
},
h5: {
color: theme("colors.white"),
},
h6: {
color: theme("colors.white"),
},
blockquote: {
color: theme("colors.gray.300"),
},
strong: {
color: theme("colors.secondary"),
},
code: {
fontFamily: '"Fira Code"',
backgroundColor: "#a9a9a9",
borderRadius: "5px",
padding: "0.1rem 0.35rem",
},
"code::before": {
content: '""',
},
"code::after": {
content: '""',
},
},
},
}),
},
},
variants: {
extend: {
margin: ["last"],
backgroundColor: ["active"],
},
},
plugins: [
require("@tailwindcss/typography"),
require("@tailwindcss/line-clamp"),
],
};