forked from kadalu/kadalu.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
48 lines (48 loc) · 1.51 KB
/
tailwind.config.js
File metadata and controls
48 lines (48 loc) · 1.51 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
module.exports = {
purge: [
'./layouts/**/*.html',
'./content/**/*.html',
'./content/**/*.erb',
'./content/**/*.md',
'./content/**/*.adoc'
],
darkMode: false, // or 'media' or 'class'
variants: {
extend: {},
},
theme: {
extend: {
typography: (theme) => ({
DEFAULT: {
css: {
pre: {
color: theme("colors.gray.900"),
backgroundColor: '#f3f6fa'
},
"pre code::before": {
"padding-left": "unset"
},
"pre code::after": {
"padding-right": "unset"
},
code: {
backgroundColor: '#f3f6fa',
color: "#DD1144",
fontWeight: "400",
"border-radius": "0.25rem"
},
"code::before": {
content: '""',
"padding-left": "0.25rem"
},
"code::after": {
content: '""',
"padding-right": "0.25rem"
}
}
}
})
}
},
plugins: [require("@tailwindcss/typography")],
}