-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
51 lines (51 loc) · 1.32 KB
/
Copy pathtailwind.config.js
File metadata and controls
51 lines (51 loc) · 1.32 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
module.exports = {
darkMode: 'class',
content: [
'./docs/**/*.html',
'./docs/**/*.md',
'./docs/_layouts/**/*.html',
'./docs/_includes/**/*.html'
],
theme: {
extend: {
typography: (theme) => ({
DEFAULT: {
css: {
maxWidth: 'none',
color: theme('colors.gray.700'),
'h1, h2, h3, h4': {
color: theme('colors.gray.900'),
fontWeight: '700',
},
code: {
color: theme('colors.pink.600'),
backgroundColor: theme('colors.gray.100'),
padding: '0.25rem',
borderRadius: '0.25rem',
fontWeight: '400',
},
'code::before': { content: '""' },
'code::after': { content: '""' },
},
},
dark: {
css: {
color: theme('colors.gray.300'),
'h1, h2, h3, h4': {
color: theme('colors.white'),
},
code: {
color: theme('colors.pink.400'),
backgroundColor: theme('colors.gray.800'),
},
strong: { color: theme('colors.white') },
a: { color: theme('colors.blue.400') },
},
},
}),
},
},
plugins: [
require('@tailwindcss/typography'),
],
}