-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
64 lines (63 loc) · 1.54 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
const colors = {
'grey': '#697386',
'grey-100': '#3c4257',
'gray-1000': '#171c26',
'gray-1100': '#11151c',
'gray-450': '#c8cacc',
'primary': '#0054ff',
'primary-100': '#002eff',
'secondary': '#2874d2',
'bravo': '#d86664',
'dark': '#0d2a4e'
}
module.exports = {
purge: {
enabled: process.env.NODE_ENV === 'production',
content: ['./app/javascript/dashboard/**/*.vue']
},
corePlugins: {
textDecoration: false,
objectFit: false,
borderOpacity: false,
skew: false,
accessibility: false
},
theme: {
extend: {
backgroundColor: theme => ({
...theme('colors'),
...colors
}),
borderColor: theme => ({
...theme('colors'),
default: theme('colors.gray.300', 'currentColor'),
...colors
}),
textColor: theme => ({
...theme('colors'),
...colors
}),
fontFamily: {
sans: ['Gilroy', 'sans-serif']
},
lineHeight: {
'almost-none': '0.1'
},
fontSize: {
'7xl': '5rem'
},
margin: {
'11': '2.75rem'
}
}
},
variants: {
display: ['responsive', 'hover', 'group-hover'],
backgroundColor: ['responsive', 'hover', 'focus', 'active', 'group-hover', 'disabled'],
opacity: ['responsive', 'hover', 'focus', 'active', 'group-hover', 'disabled'],
borderWidth: ['responsive', 'hover', 'focus'],
borderColor: ['responsive', 'hover', 'focus', 'disabled'],
textColor: ['group-hover', 'responsive', 'hover', 'focus', 'disabled']
},
plugins: []
}