-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
46 lines (46 loc) · 1.06 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
44
45
46
/*
** TailwindCSS Configuration File
**
** Docs: https://tailwindcss.com/docs/configuration
** Default: https://github.com/tailwindcss/tailwindcss/blob/master/stubs/defaultConfig.stub.js
*/
module.exports = {
target: 'static',
theme: {
container: {
center: true,
padding: '1.5rem'
},
fontFamily: {
display: ['Quicksand', 'sans-serif']
},
extend: {
width: {
'80': '20rem',
'160': '40rem',
'240': '60rem'
},
flex: {
'10auto': '1 0 auto'
}
},
customForms: theme => ({
default: {
'input, textarea, select, multiselect, checkbox': {
borderColor: theme('colors.gray.400'),
backgroundColor: theme('colors.gray.100'),
borderRadius: theme('borderRadius.lg'),
borderWidth: theme('borderWidth[2]'),
'&:focus': {
borderColor: theme('colors.white')
}
}
}
})
},
variants: {},
plugins: [
require('@tailwindcss/custom-forms'),
require('@tailwindcss/typography')
]
}