forked from harrywang/tailpages
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
45 lines (42 loc) · 984 Bytes
/
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
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
content: [
'./**/*.html'
],
darkMode: 'media',
theme: {
extend: {
typography: {
DEFAULT: {
css: {
pre: {
padding: "0",
color: "#1F2933",
backgroundColor: "#F3F3F3"
},
code: {
padding: "0.2em 0.4em",
backgroundColor: "#F3F3F3",
color: "#DD1144",
fontWeight: "400",
"border-radius": "0.25rem"
},
"code::before": false,
"code::after": false,
"blockquote p:first-of-type::before": false,
"blockquote p:last-of-type::after": false,
},
},
},
fontFamily: {
sans: ['Inter var', ...defaultTheme.fontFamily.sans],
},
},
},
variants: {
extend: {},
},
plugins: [
require('@tailwindcss/typography'),
],
}