-
Notifications
You must be signed in to change notification settings - Fork 53
/
Copy pathtailwind.config.js
69 lines (69 loc) · 1.9 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
69
module.exports = {
theme: {
customForms: theme => ({
default: {
checkbox: {
borderColor: theme('colors.gray.500'),
'&:focus': {
boxShadow: '0 0 0 3px rgba(107, 142, 35, 0.5)',
borderColor: theme('colors.primary'),
},
},
input: {
borderColor: theme('colors.gray.500'),
paddingTop: theme('spacing.1'),
paddingRight: theme('spacing.2'),
paddingBottom: theme('spacing.1'),
paddingLeft: theme('spacing.2'),
'&:focus': {
boxShadow: '0 0 0 3px rgba(107, 142, 35, 0.5)',
borderColor: theme('colors.primary'),
},
},
radio: {
color: theme('colors.primary'),
borderColor: theme('colors.gray.500'),
'&:focus': {
boxShadow: '0 0 0 3px rgba(107, 142, 35, 0.5)',
borderColor: theme('colors.primary'),
},
},
select: {
borderColor: theme('colors.gray.500'),
paddingTop: theme('spacing.1'),
paddingRight: theme('spacing.2'),
paddingBottom: theme('spacing.1'),
paddingLeft: theme('spacing.2'),
'&:focus': {
boxShadow: '0 0 0 3px rgba(107, 142, 35, 0.5)',
borderColor: theme('colors.primary'),
},
},
},
}),
extend: {
colors: {
primary: '#6b8e23',
'primary-soft': '#7aa329',
dark: '#33313b',
'dark-fg': '#403E48',
'dark-fg-alt': '#4D4B55',
'dark-modal': 'rgba(51, 49, 59, .8)',
light: '#fbfbfb',
'light-fg': '#e5e4e4',
'light-fg-alt': '#CECDCD',
},
spacing: {
'80': '20rem',
},
fontSize: {
mini: '.84rem',
},
},
},
variants: {
cursor: ['responsive', 'hover'],
},
plugins: [require('@tailwindcss/custom-forms')],
purge: false,
};