-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.ts
84 lines (82 loc) · 2.11 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
import type { Config } from "tailwindcss";
import typography from "@tailwindcss/typography";
const config: Config = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
colors: {
background: "var(--background)",
foreground: "var(--foreground)",
},
typography: {
DEFAULT: {
css: {
td: {
align: "center",
textAlign: "center",
},
code: {
color: "#FFFFFF",
padding: "0.2em 0.4em",
borderRadius: "0.25rem",
borderColor: "grey",
borderWidth: "0.5px",
fontWeight: "600px",
},
"code::before": {
content: '""',
},
"code::after": {
content: '""',
},
pre: {
backgroundColor: "#1E1E1E",
color: "white",
padding: "1em",
borderRadius: "0.5rem",
overflowX: "auto",
},
"pre code": {
backgroundColor: "transparent",
color: "inherit",
},
"h1 a": {
fontSize: "32px",
fontWeight: "700",
textDecoration: "none",
},
"h2 a": {
fontSize: "24px",
fontWeight: "700",
textDecoration: "none",
},
"h3 a": {
fontSize: "20px",
fontWeight: "700",
textDecoration: "none",
},
"h4 a": {
fontWeight: "700",
textDecoration: "none",
},
"ul li": {
background: "**",
},
blockquote: {
fontFamily: "Newsreader",
fontWeight: 300,
fontStyle: "normal",
borderColor: '#606060'
}
},
},
},
},
},
plugins: [typography],
};
export default config;