-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathtailwind.config.js
More file actions
70 lines (70 loc) · 1.85 KB
/
tailwind.config.js
File metadata and controls
70 lines (70 loc) · 1.85 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
module.exports = {
theme: {
extend: {
typography: (theme) => ({
DEFAULT: {
css: {
fontSize: '.875rem',
color: theme('colors.darkblue'),
'h1, h2, h3, h4': {
color: theme('colors.darkblue'),
},
h1: {
fontWeight: '700',
paddingBottom: '.3em',
borderBottom: '1px solid ' + theme('colors.slate.300'),
marginBottom: 0,
},
img: {
margin: 'auto',
},
hr: {
marginTop: '2em',
marginBottom: '2em',
color: theme('colors.slate.400'),
},
dt: {
color: theme('colors.darkblue'),
},
'a, a:hover': {
color: theme('colors.blue'),
},
'h2 a': {
fontWeight: 700,
textDecoration: 'none',
},
'a.anchorjs-link, a.anchorjs-link:hover': {
textDecoration: 'none',
},
'.readmore': {
textDecoration: 'none',
},
'.anchorjs-link': {
color: theme('colors.slate.400'),
},
},
},
dark: {
css: {
color: theme('colors.slate.300'),
'h1, h2, h3, h4, code, blockquote, strong': {
color: theme('colors.slate.300'),
},
dt: {
color: theme('colors.slate.300'),
},
'a, a:hover, a code': {
color: theme('colors.slate.300'),
},
'thead th': {
color: theme('colors.slate.300'),
},
blockquote: {
borderLeftColor: theme('colors.slate.600'),
},
},
},
}),
}
}
}