@titan-design/react-ui 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/dist/MesoStatusCard-CQk71hSi.d.mts +77 -0
  2. package/dist/MesoStatusCard-CQk71hSi.d.ts +77 -0
  3. package/dist/bodymap.d.mts +246 -3
  4. package/dist/bodymap.d.ts +246 -3
  5. package/dist/bodymap.mjs +1911 -6
  6. package/dist/bodymap.mjs.map +1 -1
  7. package/dist/index.d.mts +31 -738
  8. package/dist/index.d.ts +31 -738
  9. package/dist/index.js +894 -1692
  10. package/dist/index.js.map +1 -1
  11. package/dist/index.mjs +10287 -8203
  12. package/dist/index.mjs.map +1 -1
  13. package/dist/pages-D7Jlssvp.d.ts +791 -0
  14. package/dist/pages-MO0JCySL.d.mts +791 -0
  15. package/dist/pages.d.mts +4 -0
  16. package/dist/pages.d.ts +4 -0
  17. package/dist/pages.js +6646 -0
  18. package/dist/pages.js.map +1 -0
  19. package/dist/pages.mjs +6626 -0
  20. package/dist/pages.mjs.map +1 -0
  21. package/dist/theme/index.d.mts +12 -12
  22. package/dist/theme/index.d.ts +12 -12
  23. package/dist/theme/index.js +30 -30
  24. package/dist/theme/index.js.map +1 -1
  25. package/dist/theme/index.mjs +1880 -2
  26. package/dist/theme/index.mjs.map +1 -1
  27. package/dist/theme/tokens-css.mjs +573 -1
  28. package/dist/theme/tokens-css.mjs.map +1 -1
  29. package/package.json +9 -7
  30. package/src/components/custom/Workout/BaseBadge.stories.tsx +3 -3
  31. package/src/components/custom/Workout/BaseBadge.test.tsx +1 -1
  32. package/src/components/custom/Workout/BaseBadge.tsx +1 -1
  33. package/src/components/custom/Workout/ExerciseCard.tsx +5 -1
  34. package/src/components/custom/Workout/ExerciseDetailPage.tsx +17 -4
  35. package/src/components/custom/Workout/IntensityBar.test.tsx +112 -60
  36. package/src/components/custom/Workout/IntensityBar.tsx +109 -58
  37. package/src/components/custom/Workout/PlaceholderStrip.tsx +5 -9
  38. package/src/components/custom/Workout/PrBadge.tsx +3 -3
  39. package/src/components/custom/Workout/PrHistoryModal.tsx +2 -2
  40. package/src/components/custom/Workout/README.md +50 -0
  41. package/src/components/custom/Workout/RestTimer.test.tsx +41 -10
  42. package/src/components/custom/Workout/RestTimer.tsx +48 -43
  43. package/src/components/custom/Workout/SetRow.tsx +10 -1
  44. package/src/components/custom/Workout/TempoDisplay.stories.tsx +69 -2
  45. package/src/components/custom/Workout/TempoDisplay.test.tsx +35 -0
  46. package/src/components/custom/Workout/TempoDisplay.tsx +104 -1
  47. package/src/components/custom/Workout/VelocityStrip.test.tsx +89 -2
  48. package/src/components/custom/Workout/VelocityStrip.tsx +203 -38
  49. package/src/components/custom/Workout/WeekRow.test.tsx +2 -2
  50. package/src/components/custom/Workout/WeightBadge.test.tsx +2 -2
  51. package/src/components/custom/Workout/WeightBadge.tsx +2 -2
  52. package/src/components/custom/Workout/icons.tsx +68 -0
  53. package/src/components/custom/Workout/index.ts +38 -47
  54. package/src/index.ts +3 -2
  55. package/src/pages.ts +61 -0
  56. package/src/test/stories-smoke.test.tsx +50 -0
  57. package/src/theme/barrel.ts +53 -0
  58. package/src/theme/index.ts +8 -43
  59. package/src/theme/native-theming-guard.test.ts +117 -0
  60. package/dist/bodymap-BhG55xHM.d.mts +0 -318
  61. package/dist/bodymap-BhG55xHM.d.ts +0 -318
  62. package/dist/chunk-2SISKTWM.mjs +0 -1027
  63. package/dist/chunk-2SISKTWM.mjs.map +0 -1
  64. package/dist/chunk-7XPB4NAO.mjs +0 -1013
  65. package/dist/chunk-7XPB4NAO.mjs.map +0 -1
  66. package/dist/chunk-SNVKL5WZ.mjs +0 -883
  67. package/dist/chunk-SNVKL5WZ.mjs.map +0 -1
@@ -1,1013 +0,0 @@
1
- var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
2
- get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
3
- }) : x)(function(x) {
4
- if (typeof require !== "undefined") return require.apply(this, arguments);
5
- throw Error('Dynamic require of "' + x + '" is not supported');
6
- });
7
-
8
- // src/theme/tokens/primitives.ts
9
- var primitiveColors = {
10
- // Blue scale (primary brand)
11
- blue: {
12
- 50: "#EFF6FF",
13
- 100: "#DBEAFE",
14
- 200: "#BFDBFE",
15
- 300: "#93C5FD",
16
- 400: "#60A5FA",
17
- 500: "#3B82F6",
18
- 600: "#5048E5",
19
- // Primary main
20
- 700: "#3832A0",
21
- // Primary dark
22
- 800: "#1E40AF",
23
- 900: "#1E3A8A"
24
- },
25
- // Green scale (secondary brand)
26
- green: {
27
- 50: "#ECFDF5",
28
- 100: "#D1FAE5",
29
- 200: "#A7F3D0",
30
- 300: "#6EE7B7",
31
- 400: "#3FC79A",
32
- // Secondary light
33
- 500: "#10B981",
34
- // Secondary main
35
- 600: "#059669",
36
- 700: "#0B815A",
37
- // Secondary dark
38
- 800: "#065F46",
39
- 900: "#064E3B"
40
- },
41
- // Teal scale (success)
42
- teal: {
43
- 50: "#F0FDFA",
44
- 100: "#CCFBF1",
45
- 200: "#99F6E4",
46
- 300: "#5EEAD4",
47
- 400: "#43C6B7",
48
- // Success light
49
- 500: "#14B8A6",
50
- // Success main
51
- 600: "#0D9488",
52
- 700: "#0E8074",
53
- // Success dark
54
- 800: "#115E59",
55
- 900: "#134E4A"
56
- },
57
- // Red scale (error)
58
- red: {
59
- 50: "#FEF2F2",
60
- 100: "#FEE2E2",
61
- 200: "#FECACA",
62
- 300: "#FCA5A5",
63
- 400: "#DA6868",
64
- // Error light
65
- 500: "#EF4444",
66
- 600: "#D14343",
67
- // Error main
68
- 700: "#922E2E",
69
- // Error dark
70
- 800: "#991B1B",
71
- 900: "#7F1D1D"
72
- },
73
- // Amber scale (warning)
74
- amber: {
75
- 50: "#FFFBEB",
76
- 100: "#FEF3C7",
77
- 200: "#FDE68A",
78
- 300: "#FCD34D",
79
- 400: "#FFBF4C",
80
- // Warning light
81
- 500: "#FFB020",
82
- // Warning main
83
- 600: "#B27B16",
84
- // Warning dark
85
- 700: "#B45309",
86
- 800: "#92400E",
87
- 900: "#78350F"
88
- },
89
- // Sky/Blue scale (info)
90
- sky: {
91
- 50: "#F0F9FF",
92
- 100: "#E0F2FE",
93
- 200: "#BAE6FD",
94
- 300: "#7DD3FC",
95
- 400: "#64B6F7",
96
- // Info light
97
- 500: "#2196F3",
98
- // Info main
99
- 600: "#0284C7",
100
- 700: "#0B79D0",
101
- // Info dark
102
- 800: "#075985",
103
- 900: "#0C4A6E"
104
- },
105
- // Neutral/Gray scale
106
- neutral: {
107
- 50: "#FAFAFA",
108
- 100: "#F3F4F6",
109
- 200: "#E5E7EB",
110
- 300: "#D1D5DB",
111
- 400: "#9CA3AF",
112
- 500: "#6B7280",
113
- 600: "#4B5563",
114
- 700: "#374151",
115
- 800: "#1F2937",
116
- 900: "#111827",
117
- 950: "#030712"
118
- },
119
- // Orange scale (accent/brand color)
120
- accent: {
121
- 100: "#FFA860",
122
- 200: "#FF9630",
123
- 300: "#FF8500",
124
- 400: "#FF7900",
125
- 500: "#F56C00",
126
- 600: "#E06D10",
127
- 700: "#D0620C",
128
- 800: "#B75500",
129
- 900: "#A34900"
130
- },
131
- // Charcoal scale (dark backgrounds)
132
- charcoal: {
133
- 0: "#6E6E6E",
134
- 50: "#5D5D5D",
135
- 100: "#4C4C4C",
136
- 200: "#3C3C3C",
137
- 300: "#2C2C2C",
138
- 400: "#1F1F1F",
139
- 500: "#1C1C1C",
140
- 600: "#191919",
141
- 700: "#161616",
142
- 800: "#131313",
143
- 900: "#101010"
144
- },
145
- // Steel scale (cool accent)
146
- steel: {
147
- 100: "#8AA4B8",
148
- 200: "#7894A8",
149
- 300: "#678498",
150
- 400: "#557488",
151
- 500: "#406D87",
152
- 600: "#39617A",
153
- 700: "#32556D",
154
- 800: "#243D53",
155
- 900: "#1D3146"
156
- },
157
- // Pure colors
158
- white: "#FFFFFF",
159
- black: "#000000",
160
- transparent: "transparent"
161
- };
162
- var discreteRainbow = [
163
- "#E8ECFB",
164
- "#D9CCE3",
165
- "#D1BBD7",
166
- "#CAACCB",
167
- "#BA8DB4",
168
- "#AE76A3",
169
- "#AA6F9E",
170
- "#994F88",
171
- "#882E72",
172
- "#1965B0",
173
- "#437DBF",
174
- "#5289C7",
175
- "#6195CF",
176
- "#7BAFDE",
177
- "#4EB265",
178
- "#90C987",
179
- "#CAE0AB",
180
- "#F7F056",
181
- "#F7CB45",
182
- "#F6C141",
183
- "#F4A736",
184
- "#F1932D",
185
- "#EE8026",
186
- "#E8601C",
187
- "#E65518",
188
- "#DC050C",
189
- "#A5170E",
190
- "#72190E",
191
- "#42150A"
192
- ];
193
- var discreteRainbowPalettes = [
194
- [10],
195
- [10, 26],
196
- [10, 18, 26],
197
- [10, 15, 18, 26],
198
- [10, 14, 15, 18, 26],
199
- [10, 14, 15, 17, 18, 26],
200
- [9, 10, 14, 15, 17, 18, 26],
201
- [9, 10, 14, 15, 17, 18, 23, 26],
202
- [9, 10, 14, 15, 17, 18, 23, 26, 28],
203
- [9, 10, 14, 15, 17, 18, 21, 24, 26, 28],
204
- [9, 10, 12, 14, 15, 17, 18, 21, 24, 26, 28],
205
- [3, 6, 9, 10, 12, 14, 15, 17, 18, 21, 24, 26],
206
- [3, 6, 9, 10, 12, 14, 15, 16, 17, 18, 21, 24, 26],
207
- [3, 6, 9, 10, 12, 14, 15, 16, 17, 18, 20, 22, 24, 26],
208
- [3, 6, 9, 10, 12, 14, 15, 16, 17, 18, 20, 22, 24, 26, 28],
209
- [3, 5, 7, 9, 10, 12, 14, 15, 16, 17, 18, 20, 22, 24, 26, 28],
210
- [3, 5, 7, 8, 9, 10, 12, 14, 15, 16, 17, 18, 20, 22, 24, 26, 28],
211
- [3, 5, 7, 8, 9, 10, 12, 14, 15, 16, 17, 18, 20, 22, 24, 26, 27, 28],
212
- [2, 4, 5, 7, 8, 9, 10, 12, 14, 15, 16, 17, 18, 20, 22, 24, 26, 27, 28],
213
- [2, 4, 5, 7, 8, 9, 10, 11, 13, 14, 15, 16, 17, 18, 20, 22, 24, 26, 27, 28],
214
- [2, 4, 5, 7, 8, 9, 10, 11, 13, 14, 15, 16, 17, 18, 19, 21, 23, 25, 26, 27, 28],
215
- [2, 4, 5, 7, 8, 9, 10, 11, 13, 14, 15, 16, 17, 18, 19, 21, 23, 25, 26, 27, 28, 29],
216
- [1, 2, 4, 5, 7, 8, 9, 10, 11, 13, 14, 15, 16, 17, 18, 19, 21, 23, 25, 26, 27, 28, 29]
217
- ];
218
- function getDiscreteRainbowColor(index, size) {
219
- index = Math.max(0, index);
220
- size = Math.min(Math.max(1, size), discreteRainbowPalettes.length);
221
- const palette = discreteRainbowPalettes[size - 1];
222
- if (index >= palette.length) index = index % palette.length;
223
- return discreteRainbow[palette[index] - 1];
224
- }
225
- var primitiveTypography = {
226
- fontFamilies: {
227
- sans: ["Inter", "-apple-system", "BlinkMacSystemFont", "Segoe UI", "Helvetica", "Arial", "sans-serif"],
228
- body: ["Nunito Sans", "sans-serif"],
229
- heading: ["Space Grotesk", "sans-serif"],
230
- mono: ["SF Mono", "Monaco", "Inconsolata", "Fira Mono", "Droid Sans Mono", "Source Code Pro", "monospace"]
231
- },
232
- fontSizes: {
233
- xs: "0.75rem",
234
- // 12px
235
- sm: "0.875rem",
236
- // 14px
237
- base: "1rem",
238
- // 16px
239
- lg: "1.125rem",
240
- // 18px
241
- xl: "1.5rem",
242
- // 24px
243
- "2xl": "2rem",
244
- // 32px
245
- "3xl": "2.25rem",
246
- // 36px
247
- "4xl": "3rem",
248
- // 48px
249
- "5xl": "3.5rem"
250
- // 56px
251
- },
252
- fontWeights: {
253
- normal: 400,
254
- medium: 500,
255
- semibold: 600,
256
- bold: 700
257
- },
258
- lineHeights: {
259
- none: 1,
260
- tight: 1.375,
261
- snug: 1.5,
262
- normal: 1.57,
263
- relaxed: 1.66,
264
- loose: 1.75
265
- },
266
- letterSpacing: {
267
- tighter: "-0.05em",
268
- tight: "-0.025em",
269
- normal: "0em",
270
- wide: "0.025em",
271
- wider: "0.05em",
272
- widest: "0.5px"
273
- }
274
- };
275
- var primitiveSpacing = {
276
- 0: "0",
277
- px: "1px",
278
- 0.5: "0.125rem",
279
- // 2px
280
- 1: "0.25rem",
281
- // 4px
282
- 1.5: "0.375rem",
283
- // 6px
284
- 2: "0.5rem",
285
- // 8px
286
- 2.5: "0.625rem",
287
- // 10px
288
- 3: "0.75rem",
289
- // 12px
290
- 3.5: "0.875rem",
291
- // 14px
292
- 4: "1rem",
293
- // 16px
294
- 5: "1.25rem",
295
- // 20px
296
- 6: "1.5rem",
297
- // 24px
298
- 7: "1.75rem",
299
- // 28px
300
- 8: "2rem",
301
- // 32px
302
- 9: "2.25rem",
303
- // 36px
304
- 10: "2.5rem",
305
- // 40px
306
- 11: "2.75rem",
307
- // 44px
308
- 12: "3rem",
309
- // 48px
310
- 14: "3.5rem",
311
- // 56px
312
- 16: "4rem",
313
- // 64px
314
- 20: "5rem",
315
- // 80px
316
- 24: "6rem",
317
- // 96px
318
- 28: "7rem",
319
- // 112px
320
- 32: "8rem"
321
- // 128px
322
- };
323
- var primitiveBorderRadius = {
324
- none: "0",
325
- sm: "4px",
326
- DEFAULT: "8px",
327
- md: "8px",
328
- lg: "12px",
329
- xl: "16px",
330
- "2xl": "24px",
331
- full: "9999px"
332
- };
333
- var primitiveShadows = {
334
- none: "none",
335
- sm: "0px 1px 2px rgba(100, 116, 139, 0.12)",
336
- DEFAULT: "0px 1px 3px rgba(100, 116, 139, 0.12), 0px 1px 2px rgba(100, 116, 139, 0.24)",
337
- md: "0px 4px 6px rgba(100, 116, 139, 0.12)",
338
- lg: "0px 10px 15px rgba(100, 116, 139, 0.12)",
339
- xl: "0px 20px 25px rgba(100, 116, 139, 0.12)",
340
- "2xl": "0px 25px 50px rgba(100, 116, 139, 0.25)",
341
- inner: "inset 0 2px 4px 0 rgba(0, 0, 0, 0.06)"
342
- };
343
- var primitiveBreakpoints = {
344
- xs: 0,
345
- sm: 600,
346
- md: 1e3,
347
- lg: 1200,
348
- xl: 1920
349
- };
350
- var primitiveZIndex = {
351
- hide: -1,
352
- auto: "auto",
353
- base: 0,
354
- docked: 10,
355
- dropdown: 1e3,
356
- sticky: 1100,
357
- drawer: 1100,
358
- banner: 1200,
359
- appBar: 1200,
360
- overlay: 1300,
361
- modal: 1400,
362
- popover: 1500,
363
- skipLink: 1600,
364
- toast: 1700,
365
- tooltip: 1800
366
- };
367
-
368
- // src/theme/tokens/semantic.ts
369
- var semanticColorsLight = {
370
- // Brand colors (brand-*)
371
- "brand-primary": primitiveColors.accent[400],
372
- // #FF7900
373
- "brand-primary-light": primitiveColors.accent[200],
374
- // #FF9630
375
- "brand-primary-dark": primitiveColors.accent[700],
376
- // #D0620C
377
- "brand-primary-subtle": "rgba(255, 121, 0, 0.08)",
378
- "brand-primary-hover": primitiveColors.accent[500],
379
- "brand-primary-active": primitiveColors.accent[600],
380
- "brand-secondary": primitiveColors.steel[500],
381
- // #406D87
382
- "brand-secondary-light": primitiveColors.steel[300],
383
- // #678498
384
- "brand-secondary-dark": primitiveColors.steel[700],
385
- // #32556D
386
- "brand-secondary-subtle": "rgba(64, 109, 135, 0.08)",
387
- "brand-secondary-hover": primitiveColors.steel[600],
388
- "brand-secondary-active": primitiveColors.steel[700],
389
- // Text on brand backgrounds (on-*)
390
- "on-brand-primary": primitiveColors.white,
391
- "on-brand-secondary": primitiveColors.white,
392
- // Status colors (status-*)
393
- "status-success": primitiveColors.teal[500],
394
- // #14B8A6
395
- "status-success-light": primitiveColors.teal[400],
396
- // #43C6B7
397
- "status-success-dark": primitiveColors.teal[700],
398
- // #0E8074
399
- "status-success-subtle": primitiveColors.teal[50],
400
- "status-error": primitiveColors.red[600],
401
- // #D14343
402
- "status-error-light": primitiveColors.red[400],
403
- // #DA6868
404
- "status-error-dark": primitiveColors.red[700],
405
- // #922E2E
406
- "status-error-subtle": primitiveColors.red[50],
407
- "status-warning": primitiveColors.amber[500],
408
- // #FFB020
409
- "status-warning-light": primitiveColors.amber[400],
410
- // #FFBF4C
411
- "status-warning-dark": primitiveColors.amber[600],
412
- // #B27B16
413
- "status-warning-subtle": primitiveColors.amber[50],
414
- "status-info": primitiveColors.sky[500],
415
- // #2196F3
416
- "status-info-light": primitiveColors.sky[400],
417
- // #64B6F7
418
- "status-info-dark": primitiveColors.sky[700],
419
- // #0B79D0
420
- "status-info-subtle": primitiveColors.sky[50],
421
- // Text on status backgrounds (on-status-*)
422
- "on-status-success": primitiveColors.white,
423
- "on-status-error": primitiveColors.white,
424
- "on-status-warning": primitiveColors.white,
425
- "on-status-info": primitiveColors.white,
426
- // Result/outcome indicators (result-*)
427
- "result-improve": "#4caf50",
428
- // Green - positive outcome
429
- "result-improve-light": "rgba(76, 175, 80, 0.12)",
430
- "result-improve-dark": "#248a24",
431
- "result-degrade": "#ef5350",
432
- // Red - negative outcome
433
- "result-degrade-light": "rgba(239, 83, 80, 0.12)",
434
- "result-degrade-dark": "#b30000",
435
- "result-inconclusive": "#9E9A97",
436
- // Gray - no clear result
437
- "result-inconclusive-light": "rgba(158, 154, 151, 0.12)",
438
- "result-neutral": primitiveColors.neutral[500],
439
- // Neutral baseline
440
- // Text on result backgrounds (on-result-*)
441
- "on-result-improve": primitiveColors.white,
442
- "on-result-degrade": primitiveColors.white,
443
- "on-result-inconclusive": primitiveColors.white,
444
- // Data visualization colors (data-*)
445
- // First 10 colors from discrete rainbow optimized for charts
446
- "data-1": discreteRainbow[9],
447
- // #1965B0 - Blue
448
- "data-2": discreteRainbow[14],
449
- // #4EB265 - Green
450
- "data-3": discreteRainbow[17],
451
- // #F7F056 - Yellow
452
- "data-4": discreteRainbow[25],
453
- // #DC050C - Red
454
- "data-5": discreteRainbow[8],
455
- // #882E72 - Purple
456
- "data-6": discreteRainbow[20],
457
- // #F4A736 - Orange
458
- "data-7": discreteRainbow[13],
459
- // #7BAFDE - Light Blue
460
- "data-8": discreteRainbow[15],
461
- // #90C987 - Light Green
462
- "data-9": discreteRainbow[3],
463
- // #CAACCB - Lavender
464
- "data-10": discreteRainbow[22],
465
- // #EE8026 - Dark Orange
466
- // Text colors (text-*)
467
- "text-primary": "#121828",
468
- "text-secondary": "#65748B",
469
- "text-tertiary": primitiveColors.neutral[400],
470
- "text-disabled": "rgba(55, 65, 81, 0.48)",
471
- "text-inverse": primitiveColors.white,
472
- "text-link": primitiveColors.blue[600],
473
- "text-link-hover": primitiveColors.blue[700],
474
- // Surface colors (surface-*) - for elevated containers
475
- "surface-base": primitiveColors.white,
476
- "surface-elevated": primitiveColors.neutral[50],
477
- // #FAFAFA - slightly off-white for elevated cards
478
- "surface-raised": primitiveColors.neutral[100],
479
- // #F3F4F6 - light gray for raised cards
480
- "surface-overlay": primitiveColors.white,
481
- "surface-input": primitiveColors.neutral[50],
482
- // Input field background (filled variant)
483
- // Background colors (background-*)
484
- "background-base": "#EBEBEB",
485
- "background-default": primitiveColors.white,
486
- "background-subtle": primitiveColors.neutral[50],
487
- // Border colors (border-*)
488
- "border-default": "#E8E9EB",
489
- "border-subtle": primitiveColors.neutral[100],
490
- "border-strong": primitiveColors.neutral[300],
491
- "border-focus": primitiveColors.blue[600],
492
- "border-input": primitiveColors.neutral[300],
493
- // Input field border
494
- "border-input-hover": primitiveColors.neutral[400],
495
- // Input field border on hover
496
- "border-input-focus": primitiveColors.blue[600],
497
- // Input field border on focus
498
- "border-input-error": primitiveColors.red[600],
499
- // Input field border on error
500
- // Interactive states (interactive-*)
501
- "interactive-hover": "rgba(55, 65, 81, 0.04)",
502
- "interactive-focus": "rgba(55, 65, 81, 0.12)",
503
- "interactive-active": "rgba(55, 65, 81, 0.16)",
504
- "interactive-selected": "rgba(55, 65, 81, 0.08)",
505
- "interactive-disabled": "rgba(55, 65, 81, 0.12)",
506
- "interactive-disabled-text": "rgba(55, 65, 81, 0.26)",
507
- // Divider
508
- "divider": "#E8E9EB",
509
- // Avatar default
510
- "avatar-background": primitiveColors.neutral[500],
511
- "avatar-text": primitiveColors.white
512
- };
513
- var semanticColorsDark = {
514
- // Brand colors stay the same in dark mode
515
- "brand-primary": primitiveColors.accent[400],
516
- "brand-primary-light": primitiveColors.accent[200],
517
- "brand-primary-dark": primitiveColors.accent[700],
518
- "brand-primary-subtle": "rgba(255, 121, 0, 0.12)",
519
- "brand-primary-hover": primitiveColors.accent[300],
520
- "brand-primary-active": primitiveColors.accent[200],
521
- "brand-secondary": primitiveColors.steel[500],
522
- "brand-secondary-light": primitiveColors.steel[300],
523
- "brand-secondary-dark": primitiveColors.steel[700],
524
- "brand-secondary-subtle": "rgba(64, 109, 135, 0.12)",
525
- "brand-secondary-hover": primitiveColors.steel[400],
526
- "brand-secondary-active": primitiveColors.steel[300],
527
- // Text on brand backgrounds
528
- "on-brand-primary": primitiveColors.white,
529
- "on-brand-secondary": primitiveColors.white,
530
- // Status colors
531
- "status-success": primitiveColors.teal[500],
532
- "status-success-light": primitiveColors.teal[400],
533
- "status-success-dark": primitiveColors.teal[700],
534
- "status-success-subtle": "rgba(20, 184, 166, 0.12)",
535
- "status-error": primitiveColors.red[600],
536
- "status-error-light": primitiveColors.red[400],
537
- "status-error-dark": primitiveColors.red[700],
538
- "status-error-subtle": "rgba(209, 67, 67, 0.12)",
539
- "status-warning": primitiveColors.amber[500],
540
- "status-warning-light": primitiveColors.amber[400],
541
- "status-warning-dark": primitiveColors.amber[600],
542
- "status-warning-subtle": "rgba(255, 176, 32, 0.12)",
543
- "status-info": primitiveColors.sky[500],
544
- "status-info-light": primitiveColors.sky[400],
545
- "status-info-dark": primitiveColors.sky[700],
546
- "status-info-subtle": "rgba(33, 150, 243, 0.12)",
547
- // Text on status backgrounds
548
- "on-status-success": primitiveColors.white,
549
- "on-status-error": primitiveColors.white,
550
- "on-status-warning": primitiveColors.white,
551
- "on-status-info": primitiveColors.white,
552
- // Result/outcome indicators (result-*)
553
- "result-improve": "#4caf50",
554
- "result-improve-light": "rgba(76, 175, 80, 0.16)",
555
- "result-improve-dark": "#248a24",
556
- "result-degrade": "#ef5350",
557
- "result-degrade-light": "rgba(239, 83, 80, 0.16)",
558
- "result-degrade-dark": "#b30000",
559
- "result-inconclusive": "#9E9A97",
560
- "result-inconclusive-light": "rgba(158, 154, 151, 0.16)",
561
- "result-neutral": primitiveColors.neutral[400],
562
- // Text on result backgrounds
563
- "on-result-improve": primitiveColors.white,
564
- "on-result-degrade": primitiveColors.white,
565
- "on-result-inconclusive": primitiveColors.white,
566
- // Data visualization colors (same in dark mode for consistency)
567
- "data-1": discreteRainbow[9],
568
- "data-2": discreteRainbow[14],
569
- "data-3": discreteRainbow[17],
570
- "data-4": discreteRainbow[25],
571
- "data-5": discreteRainbow[8],
572
- "data-6": discreteRainbow[20],
573
- "data-7": discreteRainbow[13],
574
- "data-8": discreteRainbow[15],
575
- "data-9": discreteRainbow[3],
576
- "data-10": discreteRainbow[22],
577
- // Text colors - inverted for dark mode
578
- "text-primary": primitiveColors.neutral[100],
579
- "text-secondary": primitiveColors.neutral[400],
580
- "text-tertiary": primitiveColors.neutral[500],
581
- "text-disabled": "rgba(255, 255, 255, 0.38)",
582
- "text-inverse": primitiveColors.neutral[900],
583
- "text-link": "#828DF8",
584
- "text-link-hover": primitiveColors.blue[400],
585
- // Surface colors - dark backgrounds
586
- "surface-base": primitiveColors.charcoal[700],
587
- // #161616 - main surface
588
- "surface-elevated": primitiveColors.charcoal[600],
589
- // #191919 - elevated surface
590
- "surface-raised": primitiveColors.charcoal[500],
591
- // #1C1C1C - raised surface
592
- "surface-overlay": primitiveColors.charcoal[600],
593
- // #191919 - overlay surface
594
- "surface-input": primitiveColors.charcoal[600],
595
- // #191919 - input surface
596
- // Background colors
597
- "background-base": primitiveColors.charcoal[900],
598
- // #101010 - darkest charcoal
599
- "background-default": primitiveColors.charcoal[700],
600
- // #161616 - main background
601
- "background-subtle": primitiveColors.charcoal[500],
602
- // #1C1C1C - subtle background
603
- // Border colors
604
- "border-default": primitiveColors.charcoal[400],
605
- // #1F1F1F - default border
606
- "border-subtle": primitiveColors.charcoal[500],
607
- // #1C1C1C - subtle border
608
- "border-strong": primitiveColors.charcoal[300],
609
- // #2C2C2C - strong border
610
- "border-focus": "#828DF8",
611
- "border-input": primitiveColors.neutral[600],
612
- "border-input-hover": primitiveColors.neutral[500],
613
- "border-input-focus": "#828DF8",
614
- "border-input-error": primitiveColors.red[500],
615
- // Interactive states
616
- "interactive-hover": "rgba(255, 255, 255, 0.04)",
617
- "interactive-focus": "rgba(255, 255, 255, 0.12)",
618
- "interactive-active": "rgba(255, 255, 255, 0.16)",
619
- "interactive-selected": "rgba(255, 255, 255, 0.08)",
620
- "interactive-disabled": "rgba(255, 255, 255, 0.12)",
621
- "interactive-disabled-text": "rgba(255, 255, 255, 0.26)",
622
- // Divider
623
- "divider": primitiveColors.charcoal[400],
624
- // #1F1F1F - divider color
625
- // Avatar default
626
- "avatar-background": primitiveColors.neutral[600],
627
- "avatar-text": primitiveColors.white
628
- };
629
- var semanticTypography = {
630
- // Headings (Space Grotesk)
631
- h1: {
632
- fontFamily: "heading",
633
- fontSize: "3.5rem",
634
- fontWeight: 700,
635
- lineHeight: 1.375
636
- },
637
- h2: {
638
- fontFamily: "heading",
639
- fontSize: "3rem",
640
- fontWeight: 700,
641
- lineHeight: 1.375
642
- },
643
- h3: {
644
- fontFamily: "heading",
645
- fontSize: "2.25rem",
646
- fontWeight: 700,
647
- lineHeight: 1.375
648
- },
649
- h4: {
650
- fontFamily: "heading",
651
- fontSize: "2rem",
652
- fontWeight: 700,
653
- lineHeight: 1.375
654
- },
655
- h5: {
656
- fontFamily: "heading",
657
- fontSize: "1.5rem",
658
- fontWeight: 600,
659
- lineHeight: 1.375
660
- },
661
- h6: {
662
- fontFamily: "heading",
663
- fontSize: "1.125rem",
664
- fontWeight: 600,
665
- lineHeight: 1.375
666
- },
667
- // Body text (Nunito Sans)
668
- body1: {
669
- fontFamily: "body",
670
- fontSize: "1rem",
671
- fontWeight: 400,
672
- lineHeight: 1.5
673
- },
674
- body2: {
675
- fontFamily: "body",
676
- fontSize: "0.875rem",
677
- fontWeight: 400,
678
- lineHeight: 1.57
679
- },
680
- subtitle1: {
681
- fontFamily: "body",
682
- fontSize: "1rem",
683
- fontWeight: 500,
684
- lineHeight: 1.75
685
- },
686
- subtitle2: {
687
- fontFamily: "body",
688
- fontSize: "0.875rem",
689
- fontWeight: 500,
690
- lineHeight: 1.57
691
- },
692
- caption: {
693
- fontFamily: "body",
694
- fontSize: "0.75rem",
695
- fontWeight: 400,
696
- lineHeight: 1.66
697
- },
698
- overline: {
699
- fontFamily: "body",
700
- fontSize: "0.75rem",
701
- fontWeight: 600,
702
- lineHeight: 2.5,
703
- letterSpacing: "0.5px",
704
- textTransform: "uppercase"
705
- },
706
- button: {
707
- fontFamily: "sans",
708
- fontSize: "0.875rem",
709
- fontWeight: 600,
710
- lineHeight: 1.75
711
- }
712
- };
713
- var buttonSizes = {
714
- sm: {
715
- paddingX: "16px",
716
- paddingY: "6px",
717
- fontSize: "0.875rem"
718
- },
719
- md: {
720
- paddingX: "20px",
721
- paddingY: "8px",
722
- fontSize: "0.875rem"
723
- },
724
- lg: {
725
- paddingX: "24px",
726
- paddingY: "11px",
727
- fontSize: "1rem"
728
- }
729
- };
730
- function getSemanticColors(mode) {
731
- return mode === "dark" ? semanticColorsDark : semanticColorsLight;
732
- }
733
-
734
- // src/theme/config.ts
735
- var themeIndependentCSSVars = {
736
- // RGB decomposed values for glow shadows
737
- "--color-brand-primary-rgb": "255, 121, 0",
738
- "--color-brand-secondary-rgb": "64, 109, 135",
739
- "--color-status-success-rgb": "20, 184, 166",
740
- "--color-status-error-rgb": "209, 67, 67",
741
- "--color-status-warning-rgb": "255, 176, 32",
742
- "--color-status-info-rgb": "33, 150, 243",
743
- "--color-background-base-rgb": "16, 16, 16",
744
- // Font families
745
- "--font-family-sans": "'Inter'",
746
- "--font-family-body": "'Nunito Sans'",
747
- "--font-family-heading": "'Space Grotesk'",
748
- "--font-family-mono": "'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace",
749
- // Animation tokens
750
- "--ease-out": "cubic-bezier(0.22, 1, 0.36, 1)",
751
- "--ease-in-out": "cubic-bezier(0.65, 0, 0.35, 1)",
752
- "--ease-spring": "cubic-bezier(0.34, 1.56, 0.64, 1)",
753
- "--duration-fast": "150ms",
754
- "--duration-normal": "250ms",
755
- "--duration-slow": "400ms"
756
- };
757
- var lightThemeCSSVars = {
758
- "--color-brand-primary": semanticColorsLight["brand-primary"],
759
- "--color-brand-primary-light": semanticColorsLight["brand-primary-light"],
760
- "--color-brand-primary-dark": semanticColorsLight["brand-primary-dark"],
761
- "--color-brand-primary-subtle": semanticColorsLight["brand-primary-subtle"],
762
- "--color-brand-secondary": semanticColorsLight["brand-secondary"],
763
- "--color-brand-secondary-light": semanticColorsLight["brand-secondary-light"],
764
- "--color-brand-secondary-dark": semanticColorsLight["brand-secondary-dark"],
765
- "--color-brand-secondary-subtle": semanticColorsLight["brand-secondary-subtle"],
766
- "--color-on-brand-primary": semanticColorsLight["on-brand-primary"],
767
- "--color-on-brand-secondary": semanticColorsLight["on-brand-secondary"],
768
- "--color-status-success": semanticColorsLight["status-success"],
769
- "--color-status-success-subtle": semanticColorsLight["status-success-subtle"],
770
- "--color-status-error": semanticColorsLight["status-error"],
771
- "--color-status-error-subtle": semanticColorsLight["status-error-subtle"],
772
- "--color-status-warning": semanticColorsLight["status-warning"],
773
- "--color-status-warning-subtle": semanticColorsLight["status-warning-subtle"],
774
- "--color-status-info": semanticColorsLight["status-info"],
775
- "--color-status-info-subtle": semanticColorsLight["status-info-subtle"],
776
- "--color-text-primary": semanticColorsLight["text-primary"],
777
- "--color-text-secondary": semanticColorsLight["text-secondary"],
778
- "--color-text-tertiary": semanticColorsLight["text-tertiary"],
779
- "--color-text-disabled": semanticColorsLight["text-disabled"],
780
- "--color-text-inverse": semanticColorsLight["text-inverse"],
781
- "--color-text-link": semanticColorsLight["text-link"],
782
- "--color-surface-base": semanticColorsLight["surface-base"],
783
- "--color-surface-elevated": semanticColorsLight["surface-elevated"],
784
- "--color-surface-raised": semanticColorsLight["surface-raised"],
785
- "--color-background-base": semanticColorsLight["background-base"],
786
- "--color-background-default": semanticColorsLight["background-default"],
787
- "--color-background-subtle": semanticColorsLight["background-subtle"],
788
- "--color-border-default": semanticColorsLight["border-default"],
789
- "--color-border-subtle": semanticColorsLight["border-subtle"],
790
- "--color-border-strong": semanticColorsLight["border-strong"],
791
- "--color-border-focus": semanticColorsLight["border-focus"],
792
- "--color-interactive-hover": semanticColorsLight["interactive-hover"],
793
- "--color-interactive-focus": semanticColorsLight["interactive-focus"],
794
- "--color-interactive-active": semanticColorsLight["interactive-active"],
795
- "--color-interactive-selected": semanticColorsLight["interactive-selected"],
796
- "--color-interactive-disabled": semanticColorsLight["interactive-disabled"],
797
- "--color-divider": semanticColorsLight["divider"],
798
- "--color-brand-primary-hover": semanticColorsLight["brand-primary-hover"],
799
- "--color-brand-primary-active": semanticColorsLight["brand-primary-active"],
800
- "--color-brand-secondary-hover": semanticColorsLight["brand-secondary-hover"],
801
- "--color-brand-secondary-active": semanticColorsLight["brand-secondary-active"],
802
- "--color-status-success-light": semanticColorsLight["status-success-light"],
803
- "--color-status-success-dark": semanticColorsLight["status-success-dark"],
804
- "--color-status-error-light": semanticColorsLight["status-error-light"],
805
- "--color-status-error-dark": semanticColorsLight["status-error-dark"],
806
- "--color-status-warning-light": semanticColorsLight["status-warning-light"],
807
- "--color-status-warning-dark": semanticColorsLight["status-warning-dark"],
808
- "--color-status-info-light": semanticColorsLight["status-info-light"],
809
- "--color-status-info-dark": semanticColorsLight["status-info-dark"],
810
- "--color-on-status-success": semanticColorsLight["on-status-success"],
811
- "--color-on-status-error": semanticColorsLight["on-status-error"],
812
- "--color-on-status-warning": semanticColorsLight["on-status-warning"],
813
- "--color-on-status-info": semanticColorsLight["on-status-info"],
814
- "--color-result-improve": semanticColorsLight["result-improve"],
815
- "--color-result-improve-light": semanticColorsLight["result-improve-light"],
816
- "--color-result-improve-dark": semanticColorsLight["result-improve-dark"],
817
- "--color-result-degrade": semanticColorsLight["result-degrade"],
818
- "--color-result-degrade-light": semanticColorsLight["result-degrade-light"],
819
- "--color-result-degrade-dark": semanticColorsLight["result-degrade-dark"],
820
- "--color-result-inconclusive": semanticColorsLight["result-inconclusive"],
821
- "--color-result-inconclusive-light": semanticColorsLight["result-inconclusive-light"],
822
- "--color-result-neutral": semanticColorsLight["result-neutral"],
823
- "--color-on-result-improve": semanticColorsLight["on-result-improve"],
824
- "--color-on-result-degrade": semanticColorsLight["on-result-degrade"],
825
- "--color-on-result-inconclusive": semanticColorsLight["on-result-inconclusive"],
826
- "--color-data-1": semanticColorsLight["data-1"],
827
- "--color-data-2": semanticColorsLight["data-2"],
828
- "--color-data-3": semanticColorsLight["data-3"],
829
- "--color-data-4": semanticColorsLight["data-4"],
830
- "--color-data-5": semanticColorsLight["data-5"],
831
- "--color-data-6": semanticColorsLight["data-6"],
832
- "--color-data-7": semanticColorsLight["data-7"],
833
- "--color-data-8": semanticColorsLight["data-8"],
834
- "--color-data-9": semanticColorsLight["data-9"],
835
- "--color-data-10": semanticColorsLight["data-10"],
836
- "--color-text-link-hover": semanticColorsLight["text-link-hover"],
837
- "--color-surface-overlay": semanticColorsLight["surface-overlay"],
838
- "--color-surface-input": semanticColorsLight["surface-input"],
839
- "--color-border-input": semanticColorsLight["border-input"],
840
- "--color-border-input-hover": semanticColorsLight["border-input-hover"],
841
- "--color-border-input-focus": semanticColorsLight["border-input-focus"],
842
- "--color-border-input-error": semanticColorsLight["border-input-error"],
843
- "--color-interactive-disabled-text": semanticColorsLight["interactive-disabled-text"],
844
- "--color-avatar-background": semanticColorsLight["avatar-background"],
845
- "--color-avatar-text": semanticColorsLight["avatar-text"],
846
- ...themeIndependentCSSVars
847
- };
848
- var darkThemeCSSVars = {
849
- "--color-brand-primary": semanticColorsDark["brand-primary"],
850
- "--color-brand-primary-light": semanticColorsDark["brand-primary-light"],
851
- "--color-brand-primary-dark": semanticColorsDark["brand-primary-dark"],
852
- "--color-brand-primary-subtle": semanticColorsDark["brand-primary-subtle"],
853
- "--color-brand-secondary": semanticColorsDark["brand-secondary"],
854
- "--color-brand-secondary-light": semanticColorsDark["brand-secondary-light"],
855
- "--color-brand-secondary-dark": semanticColorsDark["brand-secondary-dark"],
856
- "--color-brand-secondary-subtle": semanticColorsDark["brand-secondary-subtle"],
857
- "--color-on-brand-primary": semanticColorsDark["on-brand-primary"],
858
- "--color-on-brand-secondary": semanticColorsDark["on-brand-secondary"],
859
- "--color-status-success": semanticColorsDark["status-success"],
860
- "--color-status-success-subtle": semanticColorsDark["status-success-subtle"],
861
- "--color-status-error": semanticColorsDark["status-error"],
862
- "--color-status-error-subtle": semanticColorsDark["status-error-subtle"],
863
- "--color-status-warning": semanticColorsDark["status-warning"],
864
- "--color-status-warning-subtle": semanticColorsDark["status-warning-subtle"],
865
- "--color-status-info": semanticColorsDark["status-info"],
866
- "--color-status-info-subtle": semanticColorsDark["status-info-subtle"],
867
- "--color-text-primary": semanticColorsDark["text-primary"],
868
- "--color-text-secondary": semanticColorsDark["text-secondary"],
869
- "--color-text-tertiary": semanticColorsDark["text-tertiary"],
870
- "--color-text-disabled": semanticColorsDark["text-disabled"],
871
- "--color-text-inverse": semanticColorsDark["text-inverse"],
872
- "--color-text-link": semanticColorsDark["text-link"],
873
- "--color-surface-base": semanticColorsDark["surface-base"],
874
- "--color-surface-elevated": semanticColorsDark["surface-elevated"],
875
- "--color-surface-raised": semanticColorsDark["surface-raised"],
876
- "--color-background-base": semanticColorsDark["background-base"],
877
- "--color-background-default": semanticColorsDark["background-default"],
878
- "--color-background-subtle": semanticColorsDark["background-subtle"],
879
- "--color-border-default": semanticColorsDark["border-default"],
880
- "--color-border-subtle": semanticColorsDark["border-subtle"],
881
- "--color-border-strong": semanticColorsDark["border-strong"],
882
- "--color-border-focus": semanticColorsDark["border-focus"],
883
- "--color-interactive-hover": semanticColorsDark["interactive-hover"],
884
- "--color-interactive-focus": semanticColorsDark["interactive-focus"],
885
- "--color-interactive-active": semanticColorsDark["interactive-active"],
886
- "--color-interactive-selected": semanticColorsDark["interactive-selected"],
887
- "--color-interactive-disabled": semanticColorsDark["interactive-disabled"],
888
- "--color-divider": semanticColorsDark["divider"],
889
- "--color-brand-primary-hover": semanticColorsDark["brand-primary-hover"],
890
- "--color-brand-primary-active": semanticColorsDark["brand-primary-active"],
891
- "--color-brand-secondary-hover": semanticColorsDark["brand-secondary-hover"],
892
- "--color-brand-secondary-active": semanticColorsDark["brand-secondary-active"],
893
- "--color-status-success-light": semanticColorsDark["status-success-light"],
894
- "--color-status-success-dark": semanticColorsDark["status-success-dark"],
895
- "--color-status-error-light": semanticColorsDark["status-error-light"],
896
- "--color-status-error-dark": semanticColorsDark["status-error-dark"],
897
- "--color-status-warning-light": semanticColorsDark["status-warning-light"],
898
- "--color-status-warning-dark": semanticColorsDark["status-warning-dark"],
899
- "--color-status-info-light": semanticColorsDark["status-info-light"],
900
- "--color-status-info-dark": semanticColorsDark["status-info-dark"],
901
- "--color-on-status-success": semanticColorsDark["on-status-success"],
902
- "--color-on-status-error": semanticColorsDark["on-status-error"],
903
- "--color-on-status-warning": semanticColorsDark["on-status-warning"],
904
- "--color-on-status-info": semanticColorsDark["on-status-info"],
905
- "--color-result-improve": semanticColorsDark["result-improve"],
906
- "--color-result-improve-light": semanticColorsDark["result-improve-light"],
907
- "--color-result-improve-dark": semanticColorsDark["result-improve-dark"],
908
- "--color-result-degrade": semanticColorsDark["result-degrade"],
909
- "--color-result-degrade-light": semanticColorsDark["result-degrade-light"],
910
- "--color-result-degrade-dark": semanticColorsDark["result-degrade-dark"],
911
- "--color-result-inconclusive": semanticColorsDark["result-inconclusive"],
912
- "--color-result-inconclusive-light": semanticColorsDark["result-inconclusive-light"],
913
- "--color-result-neutral": semanticColorsDark["result-neutral"],
914
- "--color-on-result-improve": semanticColorsDark["on-result-improve"],
915
- "--color-on-result-degrade": semanticColorsDark["on-result-degrade"],
916
- "--color-on-result-inconclusive": semanticColorsDark["on-result-inconclusive"],
917
- "--color-data-1": semanticColorsDark["data-1"],
918
- "--color-data-2": semanticColorsDark["data-2"],
919
- "--color-data-3": semanticColorsDark["data-3"],
920
- "--color-data-4": semanticColorsDark["data-4"],
921
- "--color-data-5": semanticColorsDark["data-5"],
922
- "--color-data-6": semanticColorsDark["data-6"],
923
- "--color-data-7": semanticColorsDark["data-7"],
924
- "--color-data-8": semanticColorsDark["data-8"],
925
- "--color-data-9": semanticColorsDark["data-9"],
926
- "--color-data-10": semanticColorsDark["data-10"],
927
- "--color-text-link-hover": semanticColorsDark["text-link-hover"],
928
- "--color-surface-overlay": semanticColorsDark["surface-overlay"],
929
- "--color-surface-input": semanticColorsDark["surface-input"],
930
- "--color-border-input": semanticColorsDark["border-input"],
931
- "--color-border-input-hover": semanticColorsDark["border-input-hover"],
932
- "--color-border-input-focus": semanticColorsDark["border-input-focus"],
933
- "--color-border-input-error": semanticColorsDark["border-input-error"],
934
- "--color-interactive-disabled-text": semanticColorsDark["interactive-disabled-text"],
935
- "--color-avatar-background": semanticColorsDark["avatar-background"],
936
- "--color-avatar-text": semanticColorsDark["avatar-text"],
937
- ...themeIndependentCSSVars
938
- };
939
- function getThemeCSSVars(mode) {
940
- return mode === "dark" ? darkThemeCSSVars : lightThemeCSSVars;
941
- }
942
- var gluestackConfig = {
943
- tokens: {
944
- colors: {
945
- // Map to our semantic colors via CSS vars
946
- primary500: "var(--color-brand-primary)",
947
- primary600: "var(--color-brand-primary-dark)",
948
- primary400: "var(--color-brand-primary-light)",
949
- secondary500: "var(--color-brand-secondary)",
950
- secondary600: "var(--color-brand-secondary-dark)",
951
- secondary400: "var(--color-brand-secondary-light)",
952
- success500: "var(--color-status-success)",
953
- error500: "var(--color-status-error)",
954
- warning500: "var(--color-status-warning)",
955
- info500: "var(--color-status-info)",
956
- textLight: "var(--color-text-primary)",
957
- textDark: "var(--color-text-inverse)",
958
- backgroundLight: "var(--color-background-default)",
959
- backgroundDark: "var(--color-surface-base)"
960
- },
961
- space: {
962
- "0": 0,
963
- "1": 4,
964
- "2": 8,
965
- "3": 12,
966
- "4": 16,
967
- "5": 20,
968
- "6": 24,
969
- "8": 32,
970
- "10": 40,
971
- "12": 48,
972
- "16": 64,
973
- "20": 80,
974
- "24": 96
975
- },
976
- radii: {
977
- none: 0,
978
- sm: 4,
979
- md: 8,
980
- lg: 12,
981
- xl: 16,
982
- "2xl": 24,
983
- full: 9999
984
- },
985
- fontSizes: {
986
- xs: 12,
987
- sm: 14,
988
- md: 16,
989
- lg: 18,
990
- xl: 20,
991
- "2xl": 24,
992
- "3xl": 30,
993
- "4xl": 36,
994
- "5xl": 48
995
- }
996
- },
997
- aliases: {
998
- bg: "backgroundColor",
999
- p: "padding",
1000
- px: "paddingHorizontal",
1001
- py: "paddingVertical",
1002
- m: "margin",
1003
- mx: "marginHorizontal",
1004
- my: "marginVertical",
1005
- h: "height",
1006
- w: "width",
1007
- rounded: "borderRadius"
1008
- }
1009
- };
1010
-
1011
- export { __require, buttonSizes, darkThemeCSSVars, discreteRainbow, getDiscreteRainbowColor, getSemanticColors, getThemeCSSVars, gluestackConfig, lightThemeCSSVars, primitiveBorderRadius, primitiveBreakpoints, primitiveColors, primitiveShadows, primitiveSpacing, primitiveTypography, primitiveZIndex, semanticColorsDark, semanticColorsLight, semanticTypography };
1012
- //# sourceMappingURL=chunk-7XPB4NAO.mjs.map
1013
- //# sourceMappingURL=chunk-7XPB4NAO.mjs.map