-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
85 lines (84 loc) · 2.01 KB
/
tailwind.config.js
File metadata and controls
85 lines (84 loc) · 2.01 KB
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
85
import { heroui } from "@heroui/theme";
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
"./node_modules/@heroui/theme/dist/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
fontFamily: {
sans: ["var(--font-sans)"],
mono: ["var(--font-mono)"],
},
typography: {
DEFAULT: {
css: {
maxWidth: "none",
color: "inherit",
h1: {
color: "inherit",
fontWeight: "700",
},
h2: {
color: "inherit",
fontWeight: "600",
},
h3: {
color: "inherit",
fontWeight: "600",
},
h4: {
color: "inherit",
fontWeight: "600",
},
strong: {
color: "inherit",
fontWeight: "600",
},
em: {
color: "inherit",
},
a: {
color: "#0ea5e9",
"&:hover": {
color: "#0284c7",
},
},
blockquote: {
color: "inherit",
borderLeftColor: "#0ea5e9",
fontStyle: "italic",
paddingLeft: "1rem",
},
"ul, ol": {
paddingLeft: "2rem",
color: "inherit",
},
"ul > li::marker": {
color: "inherit",
},
"ol > li::marker": {
color: "inherit",
},
code: {
color: "white !important",
},
pre: {
color: "inherit",
backgroundColor: "#0C0A20 !important",
},
},
},
},
},
},
darkMode: "class",
plugins: [heroui(), require("@tailwindcss/typography")],
variants: {
extend: {
scale: ["before"],
},
},
};