-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
64 lines (62 loc) · 2.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./layouts/**/*.html"],
theme: {
fontFamily: {
mono: ["Iosevka", "monospace"],
sans: ["Atkinson Hyperlegible", "sans-serif"],
},
colors: {
main: {
light: "#f6f6f6",
dark: "#1f1f1f",
darkGrey: "#3d3d3d",
lightGrey: "#c2c2c2",
},
},
extend: {
gridTemplateColumns: {
header: "1fr 5fr 1fr",
},
typography: ({ theme }) => ({
DEFAULT: {
css: {
"--tw-prose-body": theme("colors.main.dark"),
"--tw-prose-headings": theme("colors.main.dark"),
"--tw-prose-links": theme("colors.main.dark"),
"--tw-prose-bold": theme("colors.main.dark"),
"--tw-prose-bullets": theme("colors.main.darkGrey"),
"--tw-prose-hr": theme("colors.main.darkGrey"),
"--tw-prose-invert-body": theme("colors.main.light"),
"--tw-prose-invert-headings": theme("colors.main.light"),
"--tw-prose-invert-links": theme("colors.main.light"),
"--tw-prose-invert-bold": theme("colors.main.light"),
"--tw-prose-invert-bullets": theme("colors.main.lightGrey"),
"--tw-prose-invert-hr": theme("colors.main.lightGrey"),
"article > section > p:first-of-type": { marginTop: "0" },
"blockquote p:first-of-type::before": { content: "none" },
"blockquote p:first-of-type::after": { content: "none" },
"code::before": { content: "none" },
"code::after": { content: "none" },
".highlight div, .highlight pre": {
overflowX: "auto",
},
"> ul > li > input:first-child": {
marginTop: 0,
},
"> ul > li > input:last-child": {
marginBottom: 0,
},
"> ol > li > input:first-child": {
marginTop: 0,
},
"> ol > li > input:last-child": {
marginBottom: 0,
},
},
},
}),
},
},
plugins: [require("postcss-import"), require("@tailwindcss/typography")],
};