-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.ts
49 lines (49 loc) · 1.28 KB
/
tailwind.config.ts
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
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: "class",
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,ts,tsx,vue}"],
theme: {
extend: {
typography: {
DEFAULT: {
css: {
"code::before": {
content: '""',
},
"code::after": {
content: '""',
},
"p, li": {
code: {
backgroundColor: "#27272a",
padding: "0.250rem 0.4rem",
borderRadius: "0.250rem",
fontWeight: "300",
color: "white",
},
},
"html:not(.dark) p, li": {
code: {
backgroundColor: "#e4e4e7",
padding: "0.250rem 0.4rem",
borderRadius: "0.250rem",
fontWeight: "300",
color: "black",
},
},
"h1, h2, h3, h4": {
fontWeight: "300",
},
},
},
},
fontFamily: {
inter: "Inter, Arial, sans-serif",
},
gridTemplateColumns: {
1: "repeat(auto-fit, minmax(24ch, 1fr));",
},
},
},
plugins: [require("tailwind-scrollbar"), require("@tailwindcss/typography")],
};