-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
319 lines (317 loc) · 9.55 KB
/
Copy pathtailwind.config.ts
File metadata and controls
319 lines (317 loc) · 9.55 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
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
import tailwindcssTypography from '@tailwindcss/typography'
import flowbiteReact from 'flowbite-react/plugin/tailwindcss'
import flowbitePlugin from 'flowbite/plugin'
const config = {
content: [
'./src/**/*.{js,jsx,ts,tsx}',
'./app/**/*.{ts,tsx,mdx}',
'./components/**/*.{ts,tsx,mdx}',
'node_modules/flowbite-react/**/*.{js,jsx,ts,tsx}',
'node_modules/@robosystems/core/**/*.js',
'.flowbite-react/class-list.json',
],
darkMode: 'class',
theme: {
extend: {
colors: {
// RoboSystems Brand Colors
primary: {
50: '#EFF6FF', // Lightest blue for backgrounds
100: '#DBEAFE', // Light blue for hover states
200: '#BFDBFE', // Soft blue for borders
300: '#93BBFD', // Medium light blue
400: '#6098FA', // Medium blue
500: '#3B7AF5', // Bright blue
600: '#2563EB', // Strong blue
700: '#1D4ED8', // Deep blue
800: '#1B3A57', // Brand primary (dark blue)
900: '#1E3A8A', // Darker blue
950: '#172E47', // Darkest blue
},
secondary: {
50: '#ECFEFF', // Lightest cyan
100: '#CFFAFE', // Very light cyan
200: '#A5F3FC', // Light cyan
300: '#67E8F9', // Soft cyan
400: '#22D3EE', // Bright cyan
500: '#06B6D4', // Brand secondary (cyan)
600: '#0891B2', // Medium cyan
700: '#0E7490', // Deep cyan
800: '#155E75', // Darker cyan
900: '#164E63', // Very dark cyan
950: '#083344', // Darkest cyan
},
accent: {
// Indigo — a blue-leaning accent for RoboSystems. Deliberately NOT
// violet (#8B5CF6), which is RoboLedger's primary; indigo keeps the
// "bluish purple" hint while staying clearly distinct from RoboLedger.
50: '#EEF2FF', // Lightest indigo
100: '#E0E7FF', // Very light indigo
200: '#C7D2FE', // Light indigo
300: '#A5B4FC', // Soft indigo
400: '#818CF8', // Medium indigo
500: '#6366F1', // Brand accent (indigo)
600: '#4F46E5', // Strong indigo
700: '#4338CA', // Deep indigo
800: '#3730A3', // Dark indigo
900: '#312E81', // Very dark indigo
950: '#1E1B4B', // Darkest indigo
},
// 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', // teal-green — app-invariant semantic, not a token
warning: '#FF6B35', // orange — app-invariant; matches the amber-* scale
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',
},
keyframes: {
float: {
'0%, 100%': { transform: 'translateY(0px)' },
'50%': { transform: 'translateY(-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',
// The typography plugin styles several elements off its own
// `--tw-prose-*` variables rather than off element rules, and its
// variable selectors win on specificity: `thead th` reads
// `--tw-prose-headings`, so the `thead` rule below can never
// recolor a header cell, and the light-mode default (near-black)
// leaves table headers invisible on dark. Override the variables
// themselves — the way `prose-invert` does — so every
// variable-driven element (headers, captions, kbd, markers,
// borders) follows the dark palette.
'--tw-prose-body': '#D1D5DB',
'--tw-prose-headings': '#F9FAFB',
'--tw-prose-lead': '#9CA3AF',
'--tw-prose-links': '#6098FA',
'--tw-prose-bold': '#F9FAFB',
'--tw-prose-counters': '#9CA3AF',
'--tw-prose-bullets': '#9CA3AF',
'--tw-prose-hr': '#374151',
'--tw-prose-quotes': '#9CA3AF',
'--tw-prose-quote-borders': '#00D4AA',
'--tw-prose-captions': '#9CA3AF',
'--tw-prose-kbd': '#F9FAFB',
'--tw-prose-kbd-shadows': 'rgb(249 250 251 / 10%)',
'--tw-prose-code': '#1AFFD1',
'--tw-prose-pre-code': '#E5E7EB',
'--tw-prose-pre-bg': '#111827',
'--tw-prose-th-borders': '#4B5563',
'--tw-prose-td-borders': '#374151',
h1: {
color: '#F9FAFB',
},
h2: {
color: '#F9FAFB',
},
h3: {
color: '#F9FAFB',
},
h4: {
color: '#F9FAFB',
},
h5: {
color: '#F9FAFB',
},
h6: {
color: '#F9FAFB',
},
strong: {
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',
},
'ol > li::marker': {
color: '#9CA3AF',
},
'ul > li::marker': {
color: '#9CA3AF',
},
hr: {
borderColor: '#374151',
},
thead: {
color: '#F9FAFB',
borderBottomColor: '#4B5563',
},
'tbody tr': {
borderBottomColor: '#374151',
},
},
},
},
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],
}
export default config