-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
73 lines (62 loc) · 1.47 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
import type { Config } from "tailwindcss"
const config: Config = {
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
// PURPLE
colors: {
pri: "#FFFFFF",
sec: "#DBB2E8",
text: "#0d1216",
accent: "#781FFF",
action: "#9362e3",
},
animation: {
wiggle: "wiggle 3s ease-in-out infinite alternate forwards",
},
keyframes: {
wiggle: {
"0%": {
transform: "translate(0) scale(1)",
},
"10%": {
transform: "translate(-2px, -2px)",
},
"20%": {
transform: "translate(2px, -2px)",
},
"30%": {
transform: "translate(-2px, 2px)",
},
"40%": {
transform: "translate(2px, 2px)",
},
"50%": {
transform: "translate(-2px, -2px) scale(1.3)",
},
"60%": {
transform: "translate(2px, -2px)",
},
"70%": {
transform: "translate(-2px, 2px)",
},
"80%": {
transform: "translate(-2px, -2px)",
},
"90%": {
transform: "translate(2px, -2px)",
},
"100%": {
transform: "translate(0) scale(1)",
},
},
},
},
},
plugins: [],
}
export default config