-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.cjs
39 lines (39 loc) · 1.22 KB
/
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
37
38
39
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
theme: {
extend: {
fontFamily: {
"Roboto-Mono": ["Roboto Mono", "monospace"],
"IBM-Mono": ["IBM Plex Mono", "monospace"],
},
typography: (theme) => ({
DEFAULT: {
css: {
"code::before": {
content: '""', // This overrides the default content, which is the backtick.
},
"code::after": {
content: '""', // This overrides the default content, which is the backtick.
},
code: {
color: "var(--md-inline-code-color)",
fontSize: "1em",
},
"font-size": "1.15rem",
"--tw-prose-headings": "var(--md-text-color)",
"max-width": "100%",
color: "var(--md-text-color)",
backgroundColor: "none",
"--tw-prose-bold": "var(--md-text-color)",
"--tw-prose-code": "var(--md-text-color)",
li: {
color: "var(--md-li-text-color)",
},
},
},
}),
},
},
plugins: [require("@tailwindcss/typography")],
};