-
Notifications
You must be signed in to change notification settings - Fork 48
/
tailwind.config.js
51 lines (51 loc) · 1019 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
46
47
48
49
50
51
module.exports = {
purge: [],
darkMode: false, // or 'media' or 'class'
theme: {
extend: {
typography: (theme) => ({
DEFAULT: {
css: {
h1: {
fontWeight: '600',
},
h2: {
fontWeight: '600',
},
h3: {
fontWeight: '600',
},
h4: {
fontWeight: '600',
},
h5: {
fontWeight: '600',
},
}
}
})
},
borderWidth: {
DEFAULT: '0.5px',
'0': '0',
'2': '2px',
'3': '3px',
'4': '4px',
'6': '6px',
},
fill: theme => ({
'red': theme('colors.red.500'),
'green': theme('colors.green.500'),
'blue': theme('colors.blue.500'),
})
},
variants: {
extend: {
translate: ['active', 'group-hover'],
transitionDuration: ['hover', 'focus'],
},
},
plugins: [
require('@tailwindcss/typography'),
],
}