-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
125 lines (125 loc) · 3.54 KB
/
tailwind.config.js
File metadata and controls
125 lines (125 loc) · 3.54 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./templates/**/*.html"],
darkMode: 'class',
theme: {
extend: {
typography: {
DEFAULT: {
css: {
maxWidth: '65ch',
color: 'rgb(15 23 42)', // slate-900
a: {
color: 'rgb(37 99 235)', // blue-600
'&:hover': {
color: 'rgb(30 64 175)', // blue-800
},
textDecoration: 'none',
},
h1: {
color: 'rgb(15 23 42)', // slate-900
fontWeight: '700',
fontSize: '2.25rem',
marginBottom: '1rem',
},
h2: {
color: 'rgb(15 23 42)', // slate-900
fontWeight: '700',
fontSize: '1.875rem',
marginBottom: '0.75rem',
},
h3: {
color: 'rgb(15 23 42)', // slate-900
fontWeight: '600',
fontSize: '1.5rem',
marginBottom: '0.5rem',
},
strong: {
color: 'rgb(15 23 42)', // slate-900
fontWeight: '600',
},
'code::before': {
content: 'normal',
},
'code::after': {
content: 'normal',
},
code: {
color: 'rgb(15 23 42)', // slate-900
backgroundColor: 'rgb(241 245 249)', // slate-100
borderRadius: '0.25rem',
padding: '0.125rem 0.25rem',
fontFamily: 'ui-monospace, monospace',
},
pre: {
backgroundColor: 'rgb(241 245 249)', // slate-100
padding: '1rem',
borderRadius: '0.5rem',
overflow: 'auto',
code: {
backgroundColor: 'transparent',
padding: '0',
color: 'inherit',
},
},
blockquote: {
color: 'rgb(71 85 105)', // slate-600
borderLeftColor: 'rgb(148 163 184)', // slate-400
fontStyle: 'italic',
marginLeft: '0',
paddingLeft: '1rem',
},
ul: {
listStyleType: 'disc',
paddingLeft: '1.25rem',
},
ol: {
listStyleType: 'decimal',
paddingLeft: '1.25rem',
},
li: {
marginBottom: '0.5rem',
},
},
},
invert: {
css: {
color: 'rgb(241 245 249)', // slate-100
a: {
color: 'rgb(96 165 250)', // blue-400
'&:hover': {
color: 'rgb(147 197 253)', // blue-300
},
},
h1: {
color: 'rgb(255 255 255)',
},
h2: {
color: 'rgb(255 255 255)',
},
h3: {
color: 'rgb(255 255 255)',
},
strong: {
color: 'rgb(255 255 255)',
},
code: {
color: 'rgb(241 245 249)', // slate-100
backgroundColor: 'rgb(30 41 59)', // slate-800
},
pre: {
backgroundColor: 'rgb(30 41 59)', // slate-800
},
blockquote: {
color: 'rgb(148 163 184)', // slate-400
borderLeftColor: 'rgb(71 85 105)', // slate-600
},
},
},
},
},
},
plugins: [
require('@tailwindcss/typography'),
],
}