-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
200 lines (182 loc) · 5.19 KB
/
Copy pathtailwind.config.ts
File metadata and controls
200 lines (182 loc) · 5.19 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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
import type { Config } from 'tailwindcss';
const config: Config = {
darkMode: ['class'],
content: [
'./pages/**/*.{ts,tsx}',
'./components/**/*.{ts,tsx}',
'./app/**/*.{ts,tsx}',
'./src/**/*.{ts,tsx}',
],
theme: {
container: {
center: true,
padding: '2rem',
screens: {
'2xl': '1400px',
},
},
extend: {
colors: {
// Dark theme base colors
background: {
DEFAULT: '#101520',
secondary: '#0F1419',
tertiary: '#1a1f2e',
elevated: '#242938',
},
// Primary colors
primary: {
DEFAULT: '#63B5FF',
dark: '#3B82F6',
light: '#93C5FD',
},
// Accent colors
accent: {
DEFAULT: '#B5FF63',
dark: '#86C735',
light: '#D4FF94',
},
// Semantic colors
destructive: {
DEFAULT: '#ff6b6b',
dark: '#EF4444',
light: '#FCA5A5',
},
warning: {
DEFAULT: '#FFA500',
dark: '#F59E0B',
light: '#FFC04D',
},
success: {
DEFAULT: '#10B981',
dark: '#059669',
light: '#34D399',
},
// Graph-specific colors
graph: {
900: '#0a0d13',
800: '#0F1419',
700: '#151b26',
600: '#1a2332',
500: '#242d3f',
400: '#2e3a4e',
},
// Text colors
text: {
100: '#f3f4f6',
200: '#e5e7eb',
300: '#9ca3af',
400: '#6b7280',
},
// Node type colors
node: {
data: '#3B82F6',
document: '#8B5CF6',
agent: '#10B981',
user: '#F59E0B',
system: '#6B7280',
},
// Immutability level colors
immutable: {
mutable: '#10B981',
locked: '#F59E0B',
immutable: '#EF4444',
},
},
// Glassmorphism utilities
backdropBlur: {
xs: '2px',
sm: '4px',
md: '8px',
lg: '12px',
xl: '16px',
'2xl': '24px',
'3xl': '40px',
},
// Shadows for depth
boxShadow: {
'glow-sm': '0 0 10px rgba(99, 181, 255, 0.3)',
'glow-md': '0 0 20px rgba(99, 181, 255, 0.4)',
'glow-lg': '0 0 30px rgba(99, 181, 255, 0.5)',
'glow-accent': '0 0 20px rgba(181, 255, 99, 0.4)',
'glass': '0 8px 32px 0 rgba(0, 0, 0, 0.37)',
'depth-1': '0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24)',
'depth-2': '0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23)',
'depth-3': '0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23)',
'depth-4': '0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22)',
'depth-5': '0 19px 38px rgba(0, 0, 0, 0.30), 0 15px 12px rgba(0, 0, 0, 0.22)',
},
// Animation
animation: {
'fade-in': 'fadeIn 0.3s ease-out',
'slide-up': 'slideUp 0.4s ease-out',
'slide-down': 'slideDown 0.4s ease-out',
'scale-in': 'scaleIn 0.2s ease-out',
'spin-slow': 'spin 3s linear infinite',
'pulse-glow': 'pulseGlow 2s cubic-bezier(0.4, 0, 0.6, 1) infinite',
'strobe-gentle': 'strobeGentle 4s ease-in-out infinite',
'float': 'float 3s ease-in-out infinite',
'shimmer': 'shimmer 2s linear infinite',
'block-flip': 'blockFlip 0.6s cubic-bezier(0.4, 0, 0.2, 1)',
},
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' },
},
scaleIn: {
'0%': { transform: 'scale(0.95)', opacity: '0' },
'100%': { transform: 'scale(1)', opacity: '1' },
},
pulseGlow: {
'0%, 100%': { boxShadow: '0 0 20px rgba(99, 181, 255, 0.4)' },
'50%': { boxShadow: '0 0 30px rgba(99, 181, 255, 0.6)' },
},
strobeGentle: {
'0%, 100%': { opacity: '1' },
'50%': { opacity: '0.8' },
},
float: {
'0%, 100%': { transform: 'translateY(0)' },
'50%': { transform: 'translateY(-10px)' },
},
shimmer: {
'0%': { transform: 'translateX(-100%)' },
'100%': { transform: 'translateX(100%)' },
},
blockFlip: {
'0%': { transform: 'rotateY(0deg)' },
'100%': { transform: 'rotateY(180deg)' },
},
},
// Typography
fontFamily: {
sans: ['Inter', 'system-ui', 'sans-serif'],
mono: ['JetBrains Mono', 'monospace'],
},
// Spacing for the grid system
spacing: {
'18': '4.5rem',
'88': '22rem',
'128': '32rem',
},
// Border radius
borderRadius: {
'glass': '16px',
},
},
},
plugins: [
require('tailwindcss-animate'),
require('@tailwindcss/typography'),
],
};
export default config;