-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
273 lines (272 loc) · 7.75 KB
/
Copy pathtailwind.config.ts
File metadata and controls
273 lines (272 loc) · 7.75 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
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
import tailwindcssTypography from '@tailwindcss/typography'
import flowbiteReact from 'flowbite-react/plugin/tailwindcss'
import flowbitePlugin from 'flowbite/plugin'
import type { Config } from 'tailwindcss'
export default {
content: [
'./src/**/*.{js,jsx,ts,tsx}',
'./app/**/*.{ts,tsx,mdx}',
'./components/**/*.{ts,tsx,mdx}',
'node_modules/flowbite-react/**/*.{js,jsx,ts,tsx}',
'.flowbite-react/class-list.json',
],
darkMode: 'class',
theme: {
extend: {
colors: {
// RoboLedger Brand Colors
// RoboLedger brand: violet primary, purple secondary, fuchsia accent.
primary: {
50: '#F5F3FF', // Lightest violet
100: '#EDE9FE', // Very light violet
200: '#DDD6FE', // Light violet
300: '#C4B5FD', // Soft violet
400: '#A78BFA', // Medium violet
500: '#8B5CF6', // Bright violet
600: '#7C3AED', // Strong violet
700: '#6D28D9', // Deep violet
800: '#5B21B6', // Brand primary (dark violet)
900: '#4C1D95', // Darker violet
950: '#2E1065', // Darkest violet
},
secondary: {
50: '#FAF5FF', // Lightest purple
100: '#F3E8FF', // Very light purple
200: '#E9D5FF', // Light purple
300: '#D8B4FE', // Soft purple
400: '#C084FC', // Medium purple
500: '#A855F7', // Brand secondary (purple)
600: '#9333EA', // Medium purple
700: '#7E22CE', // Deep purple
800: '#6B21A8', // Darker purple
900: '#581C87', // Very dark purple
950: '#3B0764', // Darkest purple
},
accent: {
50: '#FDF4FF', // Lightest fuchsia
100: '#FAE8FF', // Very light fuchsia
200: '#F5D0FE', // Light fuchsia
300: '#F0ABFC', // Soft fuchsia
400: '#E879F9', // Medium fuchsia
500: '#D946EF', // Brand accent (fuchsia)
600: '#C026D3', // Strong fuchsia
700: '#A21CAF', // Deep fuchsia
800: '#86198F', // Dark fuchsia
900: '#701A75', // Very dark fuchsia
950: '#4A044E', // Darkest fuchsia
},
// Shared semantic amber (decoupled from brand accent so `warning`
// stays amber across all apps regardless of the per-app accent hue).
amber: {
50: '#FFF5F0',
100: '#FFE6D9',
200: '#FFD4C1',
300: '#FFBFA6',
400: '#FFA589',
500: '#FF6B35',
600: '#F54E17',
700: '#DC4313',
800: '#B93810',
900: '#962D0D',
950: '#731F08',
},
graph: {
node: {
primary: '#00D4AA', // Primary nodes
secondary: '#3B7AF5', // Secondary nodes
accent: '#FF6B35', // Important/highlight nodes
inactive: '#94A3B8', // Inactive nodes
},
edge: {
primary: '#93BBFD', // Primary relationships
secondary: '#7FFFE6', // Secondary relationships
highlight: '#FFA589', // Highlighted paths
inactive: '#CBD5E1', // Inactive edges
},
cluster: {
bg: 'rgba(59, 122, 245, 0.05)', // Cluster backgrounds
border: '#BFDBFE', // Cluster borders
},
},
semantic: {
success: '#00D4AA', // Using secondary green
warning: '#FF6B35', // Using accent orange
error: '#DC2626', // Red for errors
info: '#3B7AF5', // Using primary blue
},
gray: {
50: '#F9FAFB',
100: '#F3F4F6',
200: '#E5E7EB',
300: '#D1D5DB',
400: '#9CA3AF',
500: '#6B7280',
600: '#4B5563',
700: '#374151',
800: '#1F2937',
900: '#111827',
950: '#030712',
},
},
animation: {
float: 'float 6s ease-in-out infinite',
'float-slow': 'float-slow 8s ease-in-out infinite',
'float-slower': 'float-slower 12s ease-in-out infinite',
},
keyframes: {
float: {
'0%, 100%': { transform: 'translateY(0px)' },
'50%': { transform: 'translateY(-10px)' },
},
'float-slow': {
'0%, 100%': { transform: 'translateY(0px) translateX(0px)' },
'50%': { transform: 'translateY(-20px) translateX(10px)' },
},
'float-slower': {
'0%, 100%': { transform: 'translateY(0px) translateX(0px)' },
'50%': { transform: 'translateY(-15px) translateX(-10px)' },
},
},
typography: {
DEFAULT: {
css: {
color: '#374151',
h1: {
color: '#1B3A57',
fontSize: '2.25rem',
fontWeight: '800',
},
h2: {
color: '#1B3A57',
fontSize: '1.875rem',
fontWeight: '700',
},
h3: {
color: '#1B3A57',
fontSize: '1.5rem',
fontWeight: '600',
},
h4: {
color: '#1B3A57',
fontSize: '1.25rem',
fontWeight: '600',
},
a: {
color: '#3B7AF5',
'&:hover': {
color: '#2563EB',
},
},
code: {
color: '#00D4AA',
backgroundColor: '#E6FFFA',
padding: '0.125rem 0.25rem',
borderRadius: '0.25rem',
fontWeight: '500',
},
pre: {
backgroundColor: '#1B3A57',
color: '#E6FFFA',
},
blockquote: {
borderLeftColor: '#00D4AA',
color: '#4B5563',
},
},
},
dark: {
css: {
color: '#D1D5DB',
h1: {
color: '#F9FAFB',
},
h2: {
color: '#F9FAFB',
},
h3: {
color: '#F9FAFB',
},
h4: {
color: '#F9FAFB',
},
a: {
color: '#6098FA',
'&:hover': {
color: '#93BBFD',
},
},
code: {
color: '#1AFFD1',
backgroundColor: 'rgba(0, 212, 170, 0.1)',
},
pre: {
backgroundColor: '#111827',
color: '#E5E7EB',
},
blockquote: {
borderLeftColor: '#00D4AA',
color: '#9CA3AF',
},
},
},
},
backdropBlur: {
xs: '2px',
},
},
fontFamily: {
body: [
'Space Grotesk',
'ui-sans-serif',
'system-ui',
'-apple-system',
'system-ui',
'Segoe UI',
'Roboto',
'Helvetica Neue',
'Arial',
'Noto Sans',
'sans-serif',
'Apple Color Emoji',
'Segoe UI Emoji',
'Segoe UI Symbol',
'Noto Color Emoji',
],
sans: [
'Space Grotesk',
'ui-sans-serif',
'system-ui',
'-apple-system',
'system-ui',
'Segoe UI',
'Roboto',
'Helvetica Neue',
'Arial',
'Noto Sans',
'sans-serif',
'Apple Color Emoji',
'Segoe UI Emoji',
'Segoe UI Symbol',
'Noto Color Emoji',
],
heading: [
'Orbitron',
'Space Grotesk',
'ui-sans-serif',
'system-ui',
'sans-serif',
],
mono: [
'JetBrains Mono',
'ui-monospace',
'SFMono-Regular',
'SF Mono',
'Menlo',
'Consolas',
'Liberation Mono',
'monospace',
],
},
},
plugins: [flowbitePlugin, flowbiteReact, tailwindcssTypography],
} satisfies Config