-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind.config.ts
101 lines (100 loc) · 2.51 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
95
96
97
98
99
100
101
import type { Config } from "tailwindcss";
export default {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
colors: {
background: "var(--background)",
foreground: "var(--foreground)",
steelGray: "#160430",
skyBlue: "#6BA1E1",
silver: "#B6B6B6",
royalPurple: "#583091",
darkMagenta: "#501794",
oceanBlue: "#3E70A1",
electricViolet: "#9747FF",
beginner: "#6DBE45",
intermediate: "#FFCA3A",
advanced: "#FF6A00",
},
boxShadow: {
card: "0px 8px 24px 0px rgba(149, 157, 165, 0.2)",
"card-hover": "0px 8px 36px 0px rgba(149, 157, 165, 0.6)",
},
},
keyframes: {
"gradient-shift": {
"0%, 100%": {
backgroundImage:
"radial-gradient(circle at 0% 0%, #583091 0%, transparent 50%)",
},
"50%": {
backgroundImage:
"radial-gradient(circle at 100% 100%, #583091 0%, transparent 50%)",
},
},
"fade-slide-in": {
"0%": {
opacity: "0",
transform: "translateX(-20px)",
},
"100%": {
opacity: "1",
transform: "translateX(0)",
},
},
"fade-scale-in": {
"0%": {
opacity: "0",
transform: "scale(0.8)",
},
"100%": {
opacity: "1",
transform: "scale(1)",
},
},
"fade-up": {
"0%": {
opacity: "0",
transform: "translateY(20px)",
},
"100%": {
opacity: "1",
transform: "translateY(0)",
},
},
"pulse-scale": {
"0%, 100%": {
transform: "scale(1)",
opacity: "0.3",
},
"50%": {
transform: "scale(1.2)",
opacity: "0.1",
},
},
"spin-slow": {
"100%": {
transform: "rotate(360deg)",
},
},
},
animation: {
"gradient-shift": "gradient-shift 10s linear infinite",
"fade-slide-in": "fade-slide-in 0.6s ease-out forwards",
"fade-scale-in": "fade-scale-in 0.6s ease-out forwards",
"fade-up": "fade-up 0.6s ease-out forwards",
"pulse-scale": "pulse-scale 3s infinite",
"spin-slow": "spin-slow 20s linear infinite",
},
scale: {
"102": "1.02",
"98": "0.98",
},
},
plugins: [require("daisyui")],
} satisfies Config;