-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
51 lines (51 loc) · 1.69 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
module.exports = {
purge: ['*/**/*.tsx'],
theme: {
extend: {
textColor: {
grey: '#888888',
required: '#C90000',
},
borderColor: {
'light-grey': '#CCCCCC',
'dark-grey': '#222222',
},
backgroundColor: {
header: '#F6F6F7',
},
width: {
'mobile-orders': 'calc(100vh - 12rem)',
},
},
},
variants: {
animation: ['responsive', 'hover'],
display: ['responsive', 'hover', 'focus', 'group-hover'],
width: ['responsive', 'hover', 'focus', 'group-hover'],
height: ['responsive', 'hover', 'focus', 'group-hover'],
inset: ['responsive', 'hover', 'focus', 'group-hover'],
opacity: ['responsive', 'hover', 'focus', 'group-hover'],
transitionProperty: ['responsive', 'hover', 'focus', 'group-hover'],
transitionDuration: ['responsive', 'hover', 'focus', 'group-hover'],
transitionTimingFunction: ['responsive', 'hover', 'focus', 'group-hover'],
textColor: ['responsive', 'hover', 'focus', 'active', 'group-hover'],
visibility: ['responsive', 'hover', 'focus', 'group-hover'],
zIndex: ['responsive', 'hover', 'focus', 'group-hover'],
borderWidth: ['responsive', 'hover', 'focus', 'group-hover'],
borderOpacity: ['responsive', 'hover', 'focus', 'active', 'group-hover'],
},
plugins: [
require('tailwindcss-animatecss')({
classes: ['animate__animated', 'animate__pulse', 'animate__delay'],
settings: {
animatedSpeed: 1000,
heartBeatSpeed: 1000,
hingeSpeed: 2000,
bounceInSpeed: 750,
bounceOutSpeed: 750,
animationDelaySpeed: 1000,
},
variants: ['responsive', 'hover', 'reduced-motion', ''],
}),
],
}