-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
94 lines (93 loc) · 3.27 KB
/
tailwind.config.ts
File metadata and controls
94 lines (93 loc) · 3.27 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
import type { Config } from "tailwindcss";
const config: Config = {
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: {
cursor: {
purple: "#7c3aed",
"purple-dark": "#5b21b6",
"purple-light": "#a78bfa",
bg: "#14120b",
"bg-dark": "#0f0d06",
surface: "#1c1a12",
"surface-raised": "#262318",
text: "#edecec",
"text-secondary": "rgba(237, 236, 236, 0.75)",
"text-muted": "rgba(237, 236, 236, 0.55)",
"text-faint": "rgba(237, 236, 236, 0.35)",
border: "rgba(237, 236, 236, 0.08)",
"border-emphasis": "rgba(237, 236, 236, 0.15)",
overlay: "rgba(237, 236, 236, 0.05)",
"accent-blue": "#a8b4c8",
"accent-green": "#a8c4a0",
"accent-red": "#c4a0a0",
"accent-purple": "#b8a8c8",
"accent-yellow": "#c8bfa0",
"accent-orange": "#c8b4a0",
"accent-blue-bg": "rgba(26, 29, 46, 0.3)",
"accent-green-bg": "rgba(26, 36, 24, 0.3)",
"accent-red-bg": "rgba(42, 26, 24, 0.3)",
"accent-purple-bg": "rgba(34, 26, 46, 0.3)",
"accent-yellow-bg": "rgba(42, 36, 24, 0.3)",
"accent-orange-bg": "rgba(42, 32, 24, 0.3)",
},
},
boxShadow: {
"glow": "0 0 20px rgba(255, 255, 255, 0.1)",
"glow-lg": "0 0 30px rgba(255, 255, 255, 0.15)",
"inner-glow": "inset 0 1px 0 rgba(255, 255, 255, 0.1)",
"glass": "0 25px 50px -12px rgba(0, 0, 0, 0.5)",
},
animation: {
"fade-in": "fadeIn 0.3s ease-out forwards",
"slide-up": "slideUp 0.25s ease-out forwards",
"slide-down": "slideDown 0.25s ease-out forwards",
"slide-right": "slideRight 0.25s ease-out forwards",
"scale-in": "scaleIn 0.2s ease-out forwards",
"reveal": "reveal 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards",
"float": "float 6s ease-in-out infinite",
"shimmer": "shimmer 2s linear infinite",
},
keyframes: {
fadeIn: {
"0%": { opacity: "0" },
"100%": { opacity: "1" },
},
slideUp: {
"0%": { opacity: "0", transform: "translateY(20px)" },
"100%": { opacity: "1", transform: "translateY(0)" },
},
slideDown: {
"0%": { opacity: "0", transform: "translateY(-20px)" },
"100%": { opacity: "1", transform: "translateY(0)" },
},
slideRight: {
"0%": { opacity: "0", transform: "translateX(-20px)" },
"100%": { opacity: "1", transform: "translateX(0)" },
},
scaleIn: {
"0%": { opacity: "0", transform: "scale(0.95)" },
"100%": { opacity: "1", transform: "scale(1)" },
},
reveal: {
"0%": { opacity: "0", transform: "translateY(40px)" },
"100%": { opacity: "1", transform: "translateY(0)" },
},
float: {
"0%, 100%": { transform: "translateY(0)" },
"50%": { transform: "translateY(-10px)" },
},
shimmer: {
"100%": { transform: "translateX(100%)" },
},
},
},
},
plugins: [],
};
export default config;