-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
76 lines (75 loc) · 1.74 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
import { type Config } from "tailwindcss";
import { fontFamily } from "tailwindcss/defaultTheme";
export default {
content: ["./src/**/*.tsx"],
safelist: ["bg-yellow", "bg-green", "bg-blue", "bg-purple"],
theme: {
extend: {
fontFamily: {
sans: ["var(--font-sans)", ...fontFamily.sans],
},
colors: {
yellow: "#F9DF6D",
green: "#A0C35A",
blue: "#B0C4EF",
purple: "#BA81C5",
gray: "#EFEFE6",
"dark-gray": "#5A594E",
"disabled-gray": "#7F7F7F",
},
animation: {
"fade-in": "fade-in 300ms ease-out",
"fade-out": "fade-out 300ms ease-in forwards",
"bounce-up": "bounce-up 400ms ease-in-out",
shake: "shake 400ms ease-out",
},
keyframes: {
"fade-in": {
"0%": {
opacity: "0",
},
"100%": {
opacity: "1",
},
},
"fade-out": {
"0%": {
opacity: "1",
},
"100%": {
opacity: "0",
},
},
"bounce-up": {
"0%": {
transform: "translateY(0)",
},
"50%": {
transform: "translateY(-10px)",
},
"100%": {
transform: "translateY(0)",
},
},
shake: {
"0%": {
transform: "translateX(0)",
},
"25%": {
transform: "translateX(-5px)",
},
"50%": {
transform: "translateX(5px)",
},
"75%": {
transform: "translateX(-5px)",
},
"100%": {
transform: "translateX(0)",
},
},
},
},
},
plugins: [],
} satisfies Config;