-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
55 lines (55 loc) · 1.28 KB
/
Copy pathtailwind.config.js
File metadata and controls
55 lines (55 loc) · 1.28 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
/** @type {import('tailwindcss').Config} */
export default {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
darkMode: "class",
theme: {
extend: {
colors: {
darkBackground: "#121212",
lightBackground: "#f0f3f3",
darkAbsent: "#3a3a3c",
lightAbsent: "#787c7e",
lightSecondary: "#d3d6da",
lightCorrect: "#6aaa64",
darkCorrect: "#538d4e",
lightPresent: "#c9b458",
darkPresent: "#b59f3b",
},
animation: {
"pulse-short": "pulseShort 0.5s ease-in-out 1",
shake: "shake 0.5s ease-in-out 1",
},
keyframes: {
pulseShort: {
"0%": {
transform: "scale(1)",
},
"40%": {
transform: "scale(1.02)",
},
"100%": {
transform: "scale(1)",
},
},
shake: {
"0%": {
transform: "translateX(0)",
},
"25%": {
transform: "translateX(5px)",
},
"50%": {
transform: "translateX(-5px)",
},
"75%": {
transform: "translateX(5px)",
},
"100%": {
transform: "translateX(0)",
},
},
},
},
},
plugins: [],
};