-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.cjs
36 lines (36 loc) · 913 Bytes
/
tailwind.config.cjs
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
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: ["class"],
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
theme: {
container: {
center: true,
},
extend: {
typography: () => ({
DEFAULT: {
css: {
"--tw-prose-body": "black",
"--tw-prose-invert-body": "white",
"--tw-prose-links": "black",
"--tw-prose-invert-links": "white",
"--tw-prose-bullets": "black",
"--tw-prose-invert-bullets": "white",
maxWidth: "64rem",
h2: {
textAlign: "left",
},
a: {
textDecoration: "none",
fontWeight: 400,
},
li: {
margin: 0,
},
},
},
}),
},
},
plugins: [require("@tailwindcss/typography")],
};