-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
48 lines (47 loc) · 1.2 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
import defaultTheme from "tailwindcss/defaultTheme";
/** @type {import('tailwindcss').Config} */
export default {
content: ["./src/**/*.{html,njk}"],
darkMode: "class",
theme: {
extend: {
aria: {
current: "current=page"
},
fontFamily: {
sans: ["'IBM Plex Sans'", ...defaultTheme.fontFamily.sans],
mono: ["'IBM Plex Mono'", ...defaultTheme.fontFamily.mono]
},
typography: (theme) => ({
DEFAULT: {
css: {
color: theme("colors.zinc.800"),
a: {
color: theme("colors.blue.600"),
textDecoration: "none",
"&:hover": {
textDecoration: theme("underline")
}
},
"ul ul, ul ol, ol ul, ol ol": {
marginTop: "0",
marginBottom: "0"
},
"section.footnotes": {
fontSize: theme("fontSize.sm")
}
}
},
invert: {
css: {
color: theme("colors.zinc.200"),
a: {
color: theme("colors.yellow.500")
}
}
}
})
}
},
plugins: [require("@tailwindcss/typography")]
};