-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
36 lines (36 loc) · 1.21 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{tsx,ts}'],
theme: {
extend: {
keyframes: {
slideUpAndFade: {
'0%': { opacity: 0, transform: 'translateY(2px)' },
'100%': { opacity: 1, transform: 'translateY(0)' }
},
slideRightAndFade: {
'0%': { opacity: 0, transform: 'translateX(-2px)' },
'100%': { opacity: 1, transform: 'translateX(0)' }
},
slideDownAndFade: {
'0%': { opacity: 0, transform: 'translateY(-2px)' },
'100%': { opacity: 1, transform: 'translateY(0)' }
},
slideLeftAndFade: {
'0%': { opacity: 0, transform: 'translateX(2px)' },
'100%': { opacity: 1, transform: 'translateX(0)' }
}
},
animation: {
slideUpAndFade: 'slideUpAndFade 300ms cubic-bezier(0.16, 0, 0.13, 1)',
slideDownAndFade:
'slideDownAndFade 300ms cubic-bezier(0.16, 0, 0.13, 1)',
slideRightAndFade:
'slideRightAndFade 300ms cubic-bezier(0.16, 0, 0.13, 1)',
slideLeftAndFade:
'slideLeftAndFade 300ms cubic-bezier(0.16, 0, 0.13, 1)'
}
}
},
plugins: [require('@tailwindcss/forms')]
}