-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.ts
52 lines (51 loc) · 1.11 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
51
52
import { type Config } from "tailwindcss";
import { fontFamily } from "tailwindcss/defaultTheme";
export default {
content: ["./src/**/*.tsx"],
theme: {
extend: {
fontFamily: {
sans: ["var(--font-sans)", ...fontFamily.sans],
},
},
animation: {
"fade-in-down": "fade-in-down 0.6s ease-in-out;",
spin: "spin 1s linear infinite;",
pulse: "pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;",
"zoom-in": "zoom-in 0.6s ease-out",
},
keyframes: {
"fade-in-down": {
"0%": {
opacity: "0",
transform: "translateY(-20px)",
},
"100%": {
opacity: "1",
transform: "translateY(0)",
},
},
spin: {
to: {
transform: "rotate(360deg)",
},
},
pulse: {
"50%": {
opacity: "0.5",
},
},
"zoom-in": {
"0%": {
opacity: "0",
transform: "scale(.5)",
},
"100%": {
opacity: "1",
transform: "scale(1)",
},
},
},
},
plugins: [],
} satisfies Config;