-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
68 lines (68 loc) · 1.66 KB
/
tailwind.config.js
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
module.exports = {
content: [
"./src/**/*.{js,jsx,ts,tsx}",
],
theme: {
extend: {
typography: {
DEFAULT: {
css: {
maxWidth: 'none',
h1: {
fontSize: '2.5em',
fontWeight: '700',
marginTop: '1em',
marginBottom: '0.5em',
},
h2: {
fontSize: '2em',
fontWeight: '700',
marginTop: '1em',
marginBottom: '0.5em',
},
strong: {
fontWeight: '700',
},
code: {
backgroundColor: '#f1f5f9',
padding: '0.2em 0.4em',
borderRadius: '0.25em',
fontWeight: '400',
},
'code::before': {
content: '""',
},
'code::after': {
content: '""',
},
pre: {
backgroundColor: '#1e293b',
color: '#e2e8f0',
padding: '1em',
borderRadius: '0.5em',
marginTop: '1em',
marginBottom: '1em',
},
'pre code': {
backgroundColor: 'transparent',
padding: '0',
borderRadius: '0',
color: 'inherit',
},
blockquote: {
borderLeftWidth: '4px',
borderLeftColor: '#e2e8f0',
fontStyle: 'italic',
marginTop: '1em',
marginBottom: '1em',
paddingLeft: '1em',
},
},
},
},
},
},
plugins: [
require('@tailwindcss/typography'),
],
};