-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
60 lines (60 loc) · 1.69 KB
/
tailwind.config.js
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
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: "class",
content: ["./src/**/*.{js,jsx,ts,tsx}"],
theme: {
extend: {
animation: {
dateContainerOpen: "dateContainerAnimationOpen 0.3s ease",
dateContainerClose: "dateContainerAnimationClose 0.3s ease",
footer: "footerAnimation 0.5s ease",
logo: "logoAnimation 0.25s ease",
expense: "expense 0.25s ease",
sum: "sumAnimation 0.25s ease",
},
backgroundColor: {
dataContainer: "#313131a0",
},
boxShadow: {
section: "0 0 1.25rem 0.25rem #71717a",
sectionDark: "0 0 1.25rem 0.25rem #27272a",
},
keyframes: {
dateContainerAnimationOpen: {
from: { opacity: "0", scale: "1.05" },
to: { opacity: "1", scale: "1" },
},
dateContainerAnimationClose: {
from: { opacity: "1", scale: "1" },
to: { opacity: "0", scale: "1.05" },
},
expense: {
from: { opacity: "0" },
to: { opacity: "1" },
},
footerAnimation: {
from: { opacity: "0", transform: "translateY(100%)" },
to: { opacity: "1", transform: "translateY(0)" },
},
logoAnimation: {
from: { opacity: "0", transform: "translateY(-100%)" },
to: { opacity: "1", transform: "translateY(0)" },
},
sumAnimation: {
from: { scale: "1.1" },
to: { scale: "1" },
},
},
width: {
section: "min(100%, 40rem)",
},
height: {
section: "min(100%, 47.55rem)",
},
textColor: {
darkmode: "#a2a6a2",
},
},
},
plugins: [],
};