-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
134 lines (133 loc) · 4.23 KB
/
tailwind.config.ts
File metadata and controls
134 lines (133 loc) · 4.23 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
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
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}",
],
darkMode: "class",
theme: {
extend: {
colors: {
primary: {
50: "#f0f9ff",
100: "#e0f2fe",
200: "#bae6fd",
300: "#7dd3fc",
400: "#38bdf8",
500: "#0ea5e9",
600: "#0284c7",
700: "#0369a1",
800: "#075985",
900: "#0c4a6e",
DEFAULT: "#0ea5e9",
},
secondary: {
50: "#faf5ff",
100: "#f3e8ff",
200: "#e9d5ff",
300: "#d8b4fe",
400: "#c084fc",
500: "#a855f7",
600: "#9333ea",
700: "#7e22ce",
800: "#6b21a8",
900: "#581c87",
DEFAULT: "#a855f7",
},
accent: {
50: "#fdf4ff",
100: "#fae8ff",
200: "#f5d0fe",
300: "#f0abfc",
400: "#e879f9",
500: "#d946ef",
600: "#c026d3",
700: "#a21caf",
800: "#86198f",
900: "#701a75",
DEFAULT: "#d946ef",
},
},
backgroundImage: {
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
"gradient-conic":
"conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
"gradient-primary": "linear-gradient(135deg, #0ea5e9 0%, #a855f7 100%)",
"gradient-secondary":
"linear-gradient(135deg, #a855f7 0%, #d946ef 100%)",
"gradient-dark": "linear-gradient(135deg, #1e293b 0%, #0f172a 100%)",
},
animation: {
"fade-in": "fadeIn 0.5s ease-in-out",
"slide-up": "slideUp 0.5s ease-out",
"slide-down": "slideDown 0.5s ease-out",
"slide-left": "slideLeft 0.5s ease-out",
"slide-right": "slideRight 0.5s ease-out",
"pulse-slow": "pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite",
"bounce-slow": "bounce 2s infinite",
"spin-slow": "spin 3s linear infinite",
wiggle: "wiggle 1s ease-in-out infinite",
shimmer: "shimmer 2s linear infinite",
glow: "glow 2s ease-in-out infinite",
float: "float 3s ease-in-out infinite",
"scale-in": "scaleIn 0.3s ease-out",
},
keyframes: {
fadeIn: {
"0%": { opacity: "0" },
"100%": { opacity: "1" },
},
slideUp: {
"0%": { transform: "translateY(20px)", opacity: "0" },
"100%": { transform: "translateY(0)", opacity: "1" },
},
slideDown: {
"0%": { transform: "translateY(-20px)", opacity: "0" },
"100%": { transform: "translateY(0)", opacity: "1" },
},
slideLeft: {
"0%": { transform: "translateX(20px)", opacity: "0" },
"100%": { transform: "translateX(0)", opacity: "1" },
},
slideRight: {
"0%": { transform: "translateX(-20px)", opacity: "0" },
"100%": { transform: "translateX(0)", opacity: "1" },
},
wiggle: {
"0%, 100%": { transform: "rotate(-3deg)" },
"50%": { transform: "rotate(3deg)" },
},
shimmer: {
"0%": { backgroundPosition: "-1000px 0" },
"100%": { backgroundPosition: "1000px 0" },
},
glow: {
"0%, 100%": { boxShadow: "0 0 20px rgba(14, 165, 233, 0.5)" },
"50%": { boxShadow: "0 0 40px rgba(14, 165, 233, 0.8)" },
},
float: {
"0%, 100%": { transform: "translateY(0px)" },
"50%": { transform: "translateY(-10px)" },
},
scaleIn: {
"0%": { transform: "scale(0.9)", opacity: "0" },
"100%": { transform: "scale(1)", opacity: "1" },
},
},
boxShadow: {
"glow-sm": "0 0 10px rgba(14, 165, 233, 0.3)",
glow: "0 0 20px rgba(14, 165, 233, 0.4)",
"glow-lg": "0 0 30px rgba(14, 165, 233, 0.5)",
"glow-purple": "0 0 20px rgba(168, 85, 247, 0.4)",
"glow-pink": "0 0 20px rgba(217, 70, 239, 0.4)",
"inner-glow": "inset 0 0 20px rgba(14, 165, 233, 0.2)",
},
backdropBlur: {
xs: "2px",
},
},
},
plugins: [],
};
export default config;