-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
50 lines (48 loc) · 1.46 KB
/
tailwind.config.ts
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
import type { Config } from "tailwindcss";
const config: Config = {
darkMode: "class",
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
keyframes: {
wiggle: {
"0%, 100%": { transform: "rotateX(20deg) translateX(-8px)" },
"50%": { transform: "rotateX(-20deg) translateX(8px)" },
},
walkX: {
"0%, 100%": { transform: "translateX(0vw)" },
"50%": { transform: "translateX(24vw)" },
"75%": { transform: "translateX(12vw)" },
},
walkY: {
"0%, 100%": { transform: "translateY(0vh)" },
"50%": { transform: "translateY(20vh)" },
"75%": { transform: "translateY(-4vh)" },
},
popIn: {
"0%": { transform: "translateY(0em) scale(0.5)", opacity: "0.25" },
"75%": { transform: "translateY(-1em) scale(1)", opacity: "1" },
"100%": { transform: "translateY(-1em) scale(1)", opacity: "0" },
},
},
animation: {
wiggle: "wiggle 2s ease-in-out infinite",
walkX: "walkX ease-in-out infinite",
walkY: "walkY ease-in-out infinite",
popIn: "popIn 600ms ease-out 1 forwards",
},
listStyleType: {
square: "square",
},
colors: {
"dialog-backdrop": "rgb(0, 0, 0, 0.5)",
},
},
},
plugins: [],
};
export default config;