-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
46 lines (45 loc) · 1016 Bytes
/
tailwind.config.js
File metadata and controls
46 lines (45 loc) · 1016 Bytes
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
const colors = require("tailwindcss/colors");
module.exports = {
darkMode: "class",
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
colors: {
code: {
dark: "#1e1f22",
gray: "rgba(135,131,120,0.15)",
},
},
typography: (theme) => ({
DEFAULT: {
css: {
h1: {
fontWeight: "700",
},
p: {
code: {
color: theme("colors.blue.400"),
backgroundColor: theme("colors.code.gray"),
padding: "0.2rem 0.4rem",
borderRadius: "3px",
},
},
img: {
margin: "auto",
padding: "20px",
},
},
},
dark: {
css: {
color: theme("colors.gray.300"),
},
},
}),
},
},
plugins: [require("@tailwindcss/typography")],
};