forked from hk-plantify/plantify-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
94 lines (93 loc) · 2.21 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
import type { Config } from "tailwindcss";
export default {
content: [
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/lib/**/*.{js,ts,jsx,tsx,mdx}",
"./src/providers/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
screens: {
xs: "420px",
"3xl": "1920px",
},
colors: {
accent: {
purple: "#9974F8",
green: "#B2F142",
red: "#FF4C47",
},
shadow: {
50: "#ffffff",
100: "#e6e6e6",
200: "#dcdcdc",
300: "#bbbbbb",
400: "#a0a0a0",
500: "#7d7d7d",
600: "#616161",
700: "#3c3c3c",
800: "#1e1e1e",
900: "#000000",
},
lightBg: "#ffffff", // shadow 50
darkBg: "#000000", // shadow 900
},
animation: {
slideUp: "slideUp 0.4s ease-in-out",
slideDown: "slideDown 0.4s ease-in-out",
},
keyframes: {
slideUp: {
from: {
transform: "scaleY(1)",
transformOrigin: "top center",
},
to: {
transform: "scaleY(0)",
},
},
slideDown: {
// from: {
// transform: "scaleY(0)",
// transformOrigin: "top center",
// },
// "50%": {
// transform: "scaleY(1.1)",
// transformOrigin: "top center",
// },
// to: {
// transform: "scaleY(1)",
// },
from: {
maxHeight: "0px",
transform: "scaleY(0)",
transformOrigin: "top center",
},
to: {
maxHeight: "fit-content",
transform: "scaleY(1)",
transformOrigin: "top center",
},
},
fadeIn: {
from: {
opacity: "0 ",
},
to: {
opacity: "1",
},
},
marquee: {
from: {
transform: "translateX(0)",
},
to: {
transform: "translateX(calc(0px - 50%))",
},
},
},
},
},
plugins: [require("tailwind-scrollbar-hide")],
} satisfies Config;