-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.mjs
72 lines (72 loc) · 2.04 KB
/
tailwind.config.mjs
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
65
66
67
68
69
70
71
72
/** @type {import('tailwindcss').Config} */
export default {
darkMode: "class",
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
theme: {
extend: {
colors: {
background: "hsl(var(--background))",
foreground: "hsl(var(--foreground))",
muted: "hsl(var(--muted))",
accent: "hsl(var(--accent))"
},
typography: () => ({
DEFAULT: {
css: {
color: "hsl(var(--foreground))",
a: {
color: "hsl(var(--accent))",
textDecoration: "none",
"&:hover": {
color: "hsl(var(--muted))",
textDecoration: "underline"
}
},
h1: {
color: "hsl(var(--foreground))"
},
h2: {
color: "hsl(var(--foreground))"
},
h3: {
color: "hsl(var(--foreground))"
},
h4: {
color: "hsl(var(--foreground))"
},
h5: {
color: "hsl(var(--foreground))"
},
h6: {
color: "hsl(var(--foreground))"
},
code: {
color: "hsl(var(--background))",
backgroundColor: "hsl(var(--muted))",
fontFamily: "var(--font-geist-mono)",
padding: "0.15em 0.3em",
borderRadius: "0.5em"
},
pre: {
fontFamily: "var(--font-geist-mono)"
},
blockquote: {
color: "hsl(var(--foreground))"
},
kbd: {
color: "hsl(var(--background))",
backgroundColor: "hsl(var(--muted))"
},
th: {
color: "hsl(var(--foreground))"
},
strong: {
color: "hsl(var(--foreground))"
}
}
}
})
}
},
plugins: [require("@tailwindcss/typography")]
}