-
Notifications
You must be signed in to change notification settings - Fork 416
/
tailwind.config.js
71 lines (70 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
module.exports = {
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
colors: {
primary: "#010101",
secondary: "#131313",
tertiary: "#222222",
accent: "#f3f3f3",
},
boxShadow: {
commandButton: "0 0 0 3px hsl(0 0% 30%)",
},
fontFamily: {
web3: ["Syncopate", "sans-serif"],
},
typography: theme => ({
DEFAULT: {
css: {
color: theme("colors.gray.300"),
"h1, h2, h3, h4, h5, h6": {
color: theme("colors.gray.100"),
strong: theme("colors.gray.100"),
fontWeight: theme("fontWeight.bold"),
},
h1: {
fontSize: theme("fontSize.3xl"),
marginBottom: theme("spacing.8"),
marginTop: theme("spacing.8"),
},
h2: {
fontSize: theme("fontSize.2xl"),
marginBottom: theme("spacing.8"),
marginTop: theme("spacing.8"),
},
h3: {
fontSize: theme("fontSize.xl"),
marginBottom: theme("spacing.6"),
marginTop: theme("spacing.6"),
},
h4: {
fontSize: theme("fontSize.lg"),
marginBottom: theme("spacing.6"),
marginTop: theme("spacing.6"),
},
h5: {
fontSize: theme("fontSize.lg"),
marginBottom: theme("spacing.4"),
marginTop: theme("spacing.4"),
},
h6: {
fontSize: theme("fontSize.lg"),
marginBottom: theme("spacing.4"),
marginTop: theme("spacing.4"),
},
"--tw-prose-code": theme("colors.red[300]"),
"--tw-prose-bold": theme("colors.accent"),
"--tw-prose-quotes": theme("colors.accent"),
},
},
}),
},
},
plugins: [
require("@tailwindcss/typography"),
],
};