-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
55 lines (54 loc) · 1.76 KB
/
Copy pathtailwind.config.ts
File metadata and controls
55 lines (54 loc) · 1.76 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
import type { Config } from "tailwindcss";
export default {
content: ["./index.html", "./src/**/*.{ts,tsx}"],
theme: {
extend: {
colors: {
cream: "#fff7df",
skysoft: "#8ecae6",
ink: "#25324a",
honey: "#ffcf5a",
mint: "#b8e6c9",
coralsoft: "#f28482",
lavenderSoft: "#d7e3fc",
},
boxShadow: {
soft: "0 16px 36px rgba(37, 50, 74, 0.14)",
tile: "0 10px 0 rgba(37, 50, 74, 0.08), 0 18px 34px rgba(37, 50, 74, 0.12)",
},
fontFamily: {
rounded: ["ui-rounded", "Avenir Next Rounded", "Trebuchet MS", "sans-serif"],
monoMath: ["SFMono-Regular", "Menlo", "Consolas", "monospace"],
},
keyframes: {
shake: {
"0%, 100%": { transform: "translateX(0)" },
"20%": { transform: "translateX(-10px)" },
"40%": { transform: "translateX(10px)" },
"60%": { transform: "translateX(-6px)" },
"80%": { transform: "translateX(6px)" },
},
pop: {
"0%": { transform: "scale(0.94)", opacity: "0.3" },
"100%": { transform: "scale(1)", opacity: "1" },
},
floatUp: {
"0%": { transform: "translateY(22px) rotate(0deg)", opacity: "0" },
"20%": { opacity: "1" },
"100%": { transform: "translateY(-90px) rotate(240deg)", opacity: "0" },
},
stepIn: {
"0%": { transform: "translateY(10px)", opacity: "0" },
"100%": { transform: "translateY(0)", opacity: "1" },
},
},
animation: {
shake: "shake 420ms ease-in-out",
pop: "pop 220ms ease-out",
floatUp: "floatUp 900ms ease-out forwards",
stepIn: "stepIn 360ms ease-out both",
},
},
},
plugins: [],
} satisfies Config;