-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
68 lines (66 loc) · 1.86 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
module.exports = {
theme: {
extend: {
spacing:{
'72' : '18rem',
'80' : '20rem'
},
padding:{
'5/6': '83.333333%'
},
},
customForms: theme => ({
default: {
'input, textarea, multiselect, select': {
borderRadius: theme('borderRadius.lg'),
backgroundColor: theme('colors.gray.700'),
borderColor:'transparent'
},
'radio, checkbox':{
backgroundColor: theme('colors.gray.900'),
borderColor:'transparent',
width: '1.5em',
height: '1.5em',
'&:checked': {
backgroundColor: theme('colors.gray.500'),
},
'&:focus': {
backgroundColor: theme('colors.gray.700'),
}
},
// 'input, textarea, multiselect': {
// backgroundColor: theme('colors.gray.900'),
// },
input: {
// borderRadius: theme('borderRadius.lg'),
backgroundColor: theme('colors.gray.200'),
'&:focus': {
backgroundColor: theme('colors.white'),
}
},
select: {
// borderRadius: theme('borderRadius.lg'),
// boxShadow: theme('boxShadow.default'),
color: theme('colors.white'),
lineHeight: theme('lineHeight.snug'),
'&:focus': {
boxShadow: theme('boxShadow.outline.none'),
borderColor: 'transparent',
backgroundColor: theme('colors.gray.400'),
color: theme('colors.gray.900'),
fontWeight: theme('fontWeight.semibold')
},
},
// checkbox: {
// '&:checked': {
// backgroundColor: theme('colors.indigo.500'),
// }
// },
},
})
},
variants: {},
plugins: [
require('@tailwindcss/custom-forms')
],
}