-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
41 lines (41 loc) · 1.57 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./app/**/*.{js,ts,jsx,tsx,css}",
"./app/globals.css",
"./app/*.module.css",
"./components/*.{js,ts,jsx,tsx,css}",
"./components/mdx/*.{js,ts,jsx,tsx,css}",
"./pages/*.{js,ts,jsx,tsx,css}",
],
theme: {
extend: {
typography: (theme) => ({
DEFAULT: {
css: {
// Remove "`" before and after inline code elements and blockquotes
"code::before": {
content: "none",
},
"code::after": {
content: "none",
},
"blockquote p::before": {
content: "none",
},
"blockquote p::after": {
content: "none",
},
// Make bullets and other border elements more visible
"--tw-prose-bullets": theme("colors.slate[500]"),
"--tw-prose-invert-bullets": theme("colors.slate[300]"),
"--tw-prose-quote-borders": theme("colors.slate[400]"),
"--tw-prose-th-borders": theme("colors.slate[400]"),
"--tw-prose-td-borders": theme("colors.slate[400]"),
},
},
}),
},
},
plugins: [require("@tailwindcss/typography")],
};