-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtailwind.config.js
More file actions
84 lines (84 loc) · 2.51 KB
/
Copy pathtailwind.config.js
File metadata and controls
84 lines (84 loc) · 2.51 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
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
keyframes: {
"accordion-down": {
from: { height: "0" },
to: { height: "var(--radix-accordion-content-height)" },
},
"accordion-up": {
from: { height: "var(--radix-accordion-content-height)" },
to: { height: "0" },
},
'bounce-once': {
'0%, 100%': { transform: 'translateY(0)' },
'50%': { transform: 'translateY(-10px)' },
},
'parade-in': {
'0%': {
transform: 'translateY(20px) scale(0.5) rotate(10deg)',
opacity: '0'
},
'50%': {
transform: 'translateY(-10px) scale(1.1) rotate(-5deg)',
},
'100%': {
transform: 'translateY(0) scale(1) rotate(0deg)',
opacity: '1'
}
},
'parade-in-bounce': {
'0%': {
transform: 'translateY(20px) scale(0.5) rotate(10deg)',
opacity: '0'
},
'50%': {
transform: 'translateY(-15px) scale(1.1) rotate(-5deg)',
opacity: '1'
},
'75%': {
transform: 'translateY(-5px) scale(1) rotate(2deg)',
opacity: '1'
},
'100%': {
transform: 'translateY(0) scale(1) rotate(0deg)',
opacity: '1'
}
},
'float-leaf': {
'0%': {
transform: 'translateY(-10px) rotate(0deg)',
opacity: '0'
},
'50%': {
transform: 'translateY(40vh) rotate(180deg)',
opacity: '1'
},
'100%': {
transform: 'translateY(90vh) rotate(360deg)',
opacity: '0'
}
},
'slide-in': {
'0%': { transform: 'translateX(100%)', opacity: '0' },
'100%': { transform: 'translateX(0)', opacity: '1' }
}
},
animation: {
"accordion-down": "accordion-down 0.2s ease-out",
"accordion-up": "accordion-up 0.2s ease-out",
'bounce-once': 'bounce-once 1s ease-in-out',
'parade-in': 'parade-in 0.8s ease-out forwards',
'parade-in-bounce': 'parade-in-bounce 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards',
'float-leaf': 'float-leaf 10s linear infinite',
'slide-in': 'slide-in 0.5s ease-out forwards'
},
},
},
plugins: [require("tailwindcss-animate")],
}