-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.cjs
38 lines (37 loc) · 1.18 KB
/
tailwind.config.cjs
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
/** @type {import('tailwindcss').Config} */
const config = {
content: ["./src/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {
keyframes: {
expand_in_out: {
"0%, 100%": { transform: "scale(1)" },
"50%": { transform: "scale(1.1)" },
},
slide_left_full: {
"0%": { transform: "translate(0%)" },
"100%": { transform: "translate(-50%)" },
},
slide_right_full: {
"0%": { transform: "translate(-50%)" },
"100%": { transform: "translate(0%)" },
},
wiggle_rotate: {
"0%, 60%, 100%": { transform: "rotate(0deg)" },
"42%": { transform: "rotate(-6deg)" },
"50%": { transform: "rotate(4deg)" },
"6%, 30%": { transform: "rotate(24deg)" },
"18%": { transform: "rotate(-12deg)" },
},
},
animation: {
expand_in_out: "expand_in_out 2s ease-in-out infinite",
slide_search_page: "slide_left_full 0.5s ease-in-out",
slide_search_page_backwards: "slide_right_full 0.5s ease-in-out",
hand_wave: "wiggle_rotate 1.5s ease-in-out infinite",
},
},
},
plugins: [],
};
module.exports = config;