-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
44 lines (42 loc) · 1.26 KB
/
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
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
future: {
// removeDeprecatedGapUtilities: true,
// purgeLayersByDefault: true,
// defaultLineHeights: true,
// standardFontWeights: true
},
purge: ["./src/**/*.js", "./src/**/*.jsx", "./src/**/*.ts", "./src/**/*.tsx"],
important: false,
theme: {
extend: {
fontFamily: {
"sans": ['"Open Sans"', ...defaultTheme.fontFamily.sans],
"serif": ['"Cormorant Garamond"', ...defaultTheme.fontFamily.serif],
"mono": ['"Fira Code"', ...defaultTheme.fontFamily.mono]
},
typography: {
DEFAULT: {
css: {
'h1,h2,h3,h4': {
fontWeight: 'inherit',
},
code: {
backgroundColor: defaultTheme.colors.gray[100],
},
'code::before': {
content: '""',
},
'code::after': {
content: '""',
},
},
},
},
},
},
variants: {},
plugins: [
require('@tailwindcss/typography'),
],
};