-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
36 lines (36 loc) · 1.01 KB
/
tailwind.config.js
File metadata and controls
36 lines (36 loc) · 1.01 KB
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} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
animation: {
'slide-in': 'slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1)',
'slide-up': 'slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1)',
'fade-in': 'fadeIn 0.3s ease-out',
'scale-in': 'scaleIn 0.15s ease-out',
},
keyframes: {
slideIn: {
from: { opacity: 0, transform: 'translateX(-12px)' },
to: { opacity: 1, transform: 'translateX(0)' },
},
slideUp: {
from: { opacity: 0, transform: 'translateX(-50%) translateY(12px)' },
to: { opacity: 1, transform: 'translateX(-50%) translateY(0)' },
},
fadeIn: {
from: { opacity: 0 },
to: { opacity: 1 },
},
scaleIn: {
from: { opacity: 0, transform: 'scale(0.95)' },
to: { opacity: 1, transform: 'scale(1)' },
},
},
},
},
plugins: [],
}