-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
49 lines (48 loc) · 1.15 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
const plugin = require("tailwindcss/plugin");
module.exports = {
content: ["./src/**/*.{js,jsx,ts,tsx}"],
theme: {
fontFamily: {
sans: [
"Roboto\\ Serif",
"-apple-system",
"BlinkMacSystemFont",
"Segoe\\ UI",
"Roboto",
"Oxygen-Sans",
"Ubuntu",
"Cantarell",
"Helvetica\\ Neue",
"sans-serif",
],
mono: ["Space Mono", "IBM Plex Mono", "monospace"],
},
extend: {
typography: (theme) => ({
DEFAULT: {
css: {
color: theme("colors.gray.700"),
h2: {
fontWeight: "font-light",
color: theme("colors.gray.800"),
},
h3: {
fontWeight: "font-light",
color: theme("colors.gray.800"),
},
strong: {
color: theme("colors.gray.800"),
},
a: {
color: theme("colors.green.500"),
"&:hover": {
color: theme("colors.green.600"),
},
},
},
},
}),
},
},
plugins: [require("@tailwindcss/typography")],
};