@titan-design/react-ui 0.5.0 → 0.6.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.
- package/dist/bodymap.js +232 -185
- package/dist/bodymap.js.map +1 -1
- package/dist/bodymap.mjs +232 -185
- package/dist/bodymap.mjs.map +1 -1
- package/dist/index.d.mts +164 -8
- package/dist/index.d.ts +164 -8
- package/dist/index.js +835 -342
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +816 -343
- package/dist/index.mjs.map +1 -1
- package/dist/pages.js +570 -522
- package/dist/pages.js.map +1 -1
- package/dist/pages.mjs +570 -522
- package/dist/pages.mjs.map +1 -1
- package/dist/theme/index.d.mts +461 -199
- package/dist/theme/index.d.ts +461 -199
- package/dist/theme/index.js +311 -97
- package/dist/theme/index.js.map +1 -1
- package/dist/theme/index.mjs +303 -98
- package/dist/theme/index.mjs.map +1 -1
- package/dist/theme/tokens-css.js +148 -139
- package/dist/theme/tokens-css.js.map +1 -1
- package/dist/theme/tokens-css.mjs +148 -139
- package/dist/theme/tokens-css.mjs.map +1 -1
- package/package.json +3 -1
- package/src/components/custom/DateTime/DateTime.stories.tsx +82 -6
- package/src/components/custom/DateTime/DateTime.test.tsx +29 -3
- package/src/components/custom/DateTime/DateTime.tsx +55 -15
- package/src/components/custom/Gauge/Gauge.test.tsx +2 -2
- package/src/components/custom/Gauge/Gauge.tsx +6 -3
- package/src/components/custom/Scatter/Scatter.tsx +3 -5
- package/src/components/custom/Treemap/Treemap.tsx +3 -5
- package/src/components/custom/Typography/Typography.stories.tsx +45 -27
- package/src/components/custom/Typography/Typography.test.tsx +13 -3
- package/src/components/custom/Typography/Typography.tsx +5 -0
- package/src/components/custom/Workout/ActiveWorkoutPage.tsx +2 -1
- package/src/components/custom/Workout/BodyMap.tsx +6 -3
- package/src/components/custom/Workout/BodyMapDetailPanel.tsx +6 -3
- package/src/components/custom/Workout/CapacityBandChart.test.tsx +2 -2
- package/src/components/custom/Workout/CapacityBandChart.tsx +9 -6
- package/src/components/custom/Workout/DeviationBar.test.tsx +1 -1
- package/src/components/custom/Workout/DeviationBar.tsx +7 -4
- package/src/components/custom/Workout/ExerciseDetailPage.tsx +2 -1
- package/src/components/custom/Workout/InputBar.tsx +2 -1
- package/src/components/custom/Workout/IntensityBar.test.tsx +8 -8
- package/src/components/custom/Workout/IntensityBar.tsx +10 -6
- package/src/components/custom/Workout/MesoCard.tsx +8 -3
- package/src/components/custom/Workout/MesoProgressBar.test.tsx +1 -1
- package/src/components/custom/Workout/MesoProgressBar.tsx +3 -2
- package/src/components/custom/Workout/MesoStatusCard.tsx +20 -13
- package/src/components/custom/Workout/MuscleGroupChip.tsx +7 -4
- package/src/components/custom/Workout/PrBadge.tsx +5 -2
- package/src/components/custom/Workout/PrHistoryModal.tsx +4 -3
- package/src/components/custom/Workout/ProgramPlanningPage.tsx +2 -1
- package/src/components/custom/Workout/ReadinessCheck.tsx +7 -4
- package/src/components/custom/Workout/RestTimer.tsx +2 -1
- package/src/components/custom/Workout/SetRow.tsx +2 -1
- package/src/components/custom/Workout/Sparkline.tsx +2 -1
- package/src/components/custom/Workout/StatusDot.test.tsx +2 -2
- package/src/components/custom/Workout/StatusDot.tsx +12 -9
- package/src/components/custom/Workout/StrengthTrendChart.tsx +9 -6
- package/src/components/custom/Workout/SupersetWrapper.tsx +2 -1
- package/src/components/custom/Workout/TempoDisplay.tsx +6 -3
- package/src/components/custom/Workout/VelocityStrip.test.tsx +3 -3
- package/src/components/custom/Workout/WeekRow.tsx +3 -2
- package/src/components/custom/Workout/WeightBadge.tsx +6 -2
- package/src/components/custom/Workout/WorkoutCard.tsx +5 -2
- package/src/components/custom/Workout/WorkoutPill.tsx +12 -8
- package/src/components/custom/Workout/icons.tsx +6 -67
- package/src/components/icons/SvgIcon.tsx +50 -0
- package/src/components/icons/icons.stories.tsx +57 -0
- package/src/components/icons/icons.test.tsx +43 -0
- package/src/components/icons/icons.tsx +45 -0
- package/src/components/icons/index.ts +4 -0
- package/src/components/index.ts +6 -0
- package/src/components/shell/BrandLockup.stories.tsx +27 -0
- package/src/components/shell/BrandLockup.test.tsx +23 -0
- package/src/components/shell/BrandLockup.tsx +47 -0
- package/src/components/shell/DeviceIndicator.stories.tsx +28 -0
- package/src/components/shell/DeviceIndicator.test.tsx +26 -0
- package/src/components/shell/DeviceIndicator.tsx +52 -0
- package/src/components/shell/DeviceMenu.stories.tsx +47 -0
- package/src/components/shell/DeviceMenu.test.tsx +40 -0
- package/src/components/shell/DeviceMenu.tsx +65 -0
- package/src/components/shell/DeviceRow.stories.tsx +38 -0
- package/src/components/shell/DeviceRow.test.tsx +37 -0
- package/src/components/shell/DeviceRow.tsx +58 -0
- package/src/components/shell/README.md +86 -0
- package/src/components/shell/SessionStatePill.stories.tsx +27 -0
- package/src/components/shell/SessionStatePill.test.tsx +25 -0
- package/src/components/shell/SessionStatePill.tsx +46 -0
- package/src/components/shell/TopBar.stories.tsx +49 -0
- package/src/components/shell/TopBar.test.tsx +36 -0
- package/src/components/shell/TopBar.tsx +89 -0
- package/src/components/shell/index.ts +8 -0
- package/src/components/ui/indicator/Indicator.stories.tsx +37 -1
- package/src/components/ui/indicator/Indicator.test.tsx +19 -1
- package/src/components/ui/indicator/Indicator.tsx +45 -6
- package/src/components/ui/indicator/index.ts +1 -1
- package/src/components/ui/spinner/Spinner.tsx +3 -2
- package/src/components/ui/toolbar-button/ToolbarButton.tsx +2 -1
- package/src/theme/ColorSystem.stories.tsx +323 -0
- package/src/theme/Colors.stories.tsx +69 -1
- package/src/theme/barrel.ts +1 -0
- package/src/theme/config.ts +16 -3
- package/src/theme/extracted-colors-dataviz.ts +21 -0
- package/src/theme/extracted-colors-ui.ts +20 -0
- package/src/theme/global.css +64 -52
- package/src/theme/gradients.test.ts +25 -0
- package/src/theme/gradients.ts +36 -0
- package/src/theme/tokens/primitives.test.ts +232 -0
- package/src/theme/tokens/primitives.ts +247 -0
- package/src/theme/tokens/semantic.ts +93 -81
- package/src/theme/workout-tokens.ts +22 -21
- package/src/utils/avatar-color.ts +3 -3
- package/tailwind.config.js +10 -3
package/dist/theme/index.d.ts
CHANGED
|
@@ -178,6 +178,30 @@ declare const primitiveColors: {
|
|
|
178
178
|
readonly 800: "#991B1B";
|
|
179
179
|
readonly 900: "#7F1D1D";
|
|
180
180
|
};
|
|
181
|
+
readonly greenVivid: {
|
|
182
|
+
readonly 50: "#E9FBF0";
|
|
183
|
+
readonly 100: "#C8F7DA";
|
|
184
|
+
readonly 200: "#9FF0BF";
|
|
185
|
+
readonly 300: "#6BE79D";
|
|
186
|
+
readonly 400: "#47DE84";
|
|
187
|
+
readonly 500: "#2ED573";
|
|
188
|
+
readonly 600: "#22B85F";
|
|
189
|
+
readonly 700: "#1A9950";
|
|
190
|
+
readonly 800: "#157A40";
|
|
191
|
+
readonly 900: "#105C30";
|
|
192
|
+
};
|
|
193
|
+
readonly redVivid: {
|
|
194
|
+
readonly 50: "#FFECEE";
|
|
195
|
+
readonly 100: "#FFD6DB";
|
|
196
|
+
readonly 200: "#FFB3BC";
|
|
197
|
+
readonly 300: "#FF8593";
|
|
198
|
+
readonly 400: "#FF6070";
|
|
199
|
+
readonly 500: "#FF4757";
|
|
200
|
+
readonly 600: "#E63548";
|
|
201
|
+
readonly 700: "#C42539";
|
|
202
|
+
readonly 800: "#9E1C2C";
|
|
203
|
+
readonly 900: "#7A1520";
|
|
204
|
+
};
|
|
181
205
|
readonly amber: {
|
|
182
206
|
readonly 50: "#FFFBEB";
|
|
183
207
|
readonly 100: "#FEF3C7";
|
|
@@ -254,6 +278,177 @@ declare const primitiveColors: {
|
|
|
254
278
|
readonly black: "#000000";
|
|
255
279
|
readonly transparent: "transparent";
|
|
256
280
|
};
|
|
281
|
+
/**
|
|
282
|
+
* Derived tonal ramps (TD-05.09 color foundations)
|
|
283
|
+
*
|
|
284
|
+
* Seven OKLCH-generated hue ramps, 11 perceptual lightness steps each (50 -> 950).
|
|
285
|
+
* Built with hue-torsion + a chroma arc, anchored through existing brand/semantic
|
|
286
|
+
* hexes. `pin` marks the step each ramp flows through its anchor.
|
|
287
|
+
* This is the single source of truth for chromatic hexes — the categorical palette
|
|
288
|
+
* below references these steps rather than duplicating values.
|
|
289
|
+
* See coordination/design-explorations/foundations.
|
|
290
|
+
*/
|
|
291
|
+
declare const primitiveRamps: {
|
|
292
|
+
readonly red: {
|
|
293
|
+
readonly 50: "#FFF4F4";
|
|
294
|
+
readonly 100: "#FFE3E5";
|
|
295
|
+
readonly 200: "#FFC2C5";
|
|
296
|
+
readonly 300: "#FF9A9D";
|
|
297
|
+
readonly 400: "#F77175";
|
|
298
|
+
readonly 500: "#E05254";
|
|
299
|
+
readonly 600: "#D14343";
|
|
300
|
+
readonly 700: "#A4221C";
|
|
301
|
+
readonly 800: "#7E1002";
|
|
302
|
+
readonly 900: "#5A0900";
|
|
303
|
+
readonly 950: "#3D0400";
|
|
304
|
+
};
|
|
305
|
+
readonly orange: {
|
|
306
|
+
readonly 50: "#FFF5ED";
|
|
307
|
+
readonly 100: "#FFE6D4";
|
|
308
|
+
readonly 200: "#FFC7A2";
|
|
309
|
+
readonly 300: "#FFA063";
|
|
310
|
+
readonly 400: "#FF7900";
|
|
311
|
+
readonly 500: "#DA5F00";
|
|
312
|
+
readonly 600: "#B94A00";
|
|
313
|
+
readonly 700: "#983804";
|
|
314
|
+
readonly 800: "#6F290F";
|
|
315
|
+
readonly 900: "#4E1C0C";
|
|
316
|
+
readonly 950: "#331107";
|
|
317
|
+
};
|
|
318
|
+
readonly amber: {
|
|
319
|
+
readonly 50: "#FFF7DD";
|
|
320
|
+
readonly 100: "#FFEAA9";
|
|
321
|
+
readonly 200: "#FFD352";
|
|
322
|
+
readonly 300: "#F9B415";
|
|
323
|
+
readonly 400: "#E08C00";
|
|
324
|
+
readonly 500: "#C27400";
|
|
325
|
+
readonly 600: "#A45E00";
|
|
326
|
+
readonly 700: "#814D14";
|
|
327
|
+
readonly 800: "#5B3A1A";
|
|
328
|
+
readonly 900: "#442503";
|
|
329
|
+
readonly 950: "#301500";
|
|
330
|
+
};
|
|
331
|
+
readonly green: {
|
|
332
|
+
readonly 50: "#E3FFEE";
|
|
333
|
+
readonly 100: "#B5FFD2";
|
|
334
|
+
readonly 200: "#58F69E";
|
|
335
|
+
readonly 300: "#2ED573";
|
|
336
|
+
readonly 400: "#21C05D";
|
|
337
|
+
readonly 500: "#22A444";
|
|
338
|
+
readonly 600: "#298732";
|
|
339
|
+
readonly 700: "#2B6B25";
|
|
340
|
+
readonly 800: "#264D1C";
|
|
341
|
+
readonly 900: "#1B3515";
|
|
342
|
+
readonly 950: "#11220D";
|
|
343
|
+
};
|
|
344
|
+
readonly cyan: {
|
|
345
|
+
readonly 50: "#E6FBFF";
|
|
346
|
+
readonly 100: "#C2F6FF";
|
|
347
|
+
readonly 200: "#62EAFF";
|
|
348
|
+
readonly 300: "#22D3EE";
|
|
349
|
+
readonly 400: "#01B5D1";
|
|
350
|
+
readonly 500: "#2697B7";
|
|
351
|
+
readonly 600: "#307B9B";
|
|
352
|
+
readonly 700: "#2A617F";
|
|
353
|
+
readonly 800: "#22465F";
|
|
354
|
+
readonly 900: "#0B3149";
|
|
355
|
+
readonly 950: "#001F36";
|
|
356
|
+
};
|
|
357
|
+
readonly blue: {
|
|
358
|
+
readonly 50: "#EFF8FF";
|
|
359
|
+
readonly 100: "#D9EFFF";
|
|
360
|
+
readonly 200: "#ACDBFF";
|
|
361
|
+
readonly 300: "#78C2FF";
|
|
362
|
+
readonly 400: "#3CA8FF";
|
|
363
|
+
readonly 500: "#2196F3";
|
|
364
|
+
readonly 600: "#1072CB";
|
|
365
|
+
readonly 700: "#135AA8";
|
|
366
|
+
readonly 800: "#14407E";
|
|
367
|
+
readonly 900: "#112C5A";
|
|
368
|
+
readonly 950: "#091B3C";
|
|
369
|
+
};
|
|
370
|
+
readonly magenta: {
|
|
371
|
+
readonly 50: "#FFF3F9";
|
|
372
|
+
readonly 100: "#FFE2F1";
|
|
373
|
+
readonly 200: "#FFBDE2";
|
|
374
|
+
readonly 300: "#FF8FD5";
|
|
375
|
+
readonly 400: "#ED69C3";
|
|
376
|
+
readonly 500: "#D548AF";
|
|
377
|
+
readonly 600: "#BA2996";
|
|
378
|
+
readonly 700: "#9C0D7A";
|
|
379
|
+
readonly 800: "#77005A";
|
|
380
|
+
readonly 900: "#56003F";
|
|
381
|
+
readonly 950: "#3B0029";
|
|
382
|
+
};
|
|
383
|
+
};
|
|
384
|
+
/**
|
|
385
|
+
* Categorical (qualitative) palette — an ordered, CVD-safe series expressed as
|
|
386
|
+
* references into {@link primitiveRamps} (one source of truth; the palette moves
|
|
387
|
+
* with the ramps).
|
|
388
|
+
*
|
|
389
|
+
* Design: a single canonical hue order (blue, magenta, red, orange, green, cyan,
|
|
390
|
+
* amber), with steps chosen vivid-midtone-first and fanned lighter/darker as the
|
|
391
|
+
* series grows to preserve separation. The sequence is nested-stable — a chart
|
|
392
|
+
* with N series uses the first N colors, and the series index is stable as N
|
|
393
|
+
* changes. Colorblind-safe worst-case deuteranopia/protanopia floor 8 holds
|
|
394
|
+
* through {@link CATEGORICAL_CVD_SAFE_MAX} colors; the 7th is an extended color
|
|
395
|
+
* that should be paired with a legend or other secondary encoding.
|
|
396
|
+
*
|
|
397
|
+
* Two variants: `default` (vivid, sits on neutral/light surfaces, legible under
|
|
398
|
+
* black text) and `dark` (deeper shades legible under white text on a fill). A
|
|
399
|
+
* separate "light" variant was dropped — the vivid `default` picks already clear
|
|
400
|
+
* black-text contrast, so it doubles as the light-context palette.
|
|
401
|
+
*/
|
|
402
|
+
declare const categoricalPalette: {
|
|
403
|
+
readonly default: readonly ["#2196F3", "#D548AF", "#E05254", "#FF7900", "#2ED573", "#22D3EE", "#A45E00"];
|
|
404
|
+
readonly dark: readonly ["#1072CB", "#BA2996", "#E05254", "#B94A00", "#264D1C", "#22465F", "#C27400"];
|
|
405
|
+
};
|
|
406
|
+
/** Largest series count that holds the CVD floor without a legend. */
|
|
407
|
+
declare const CATEGORICAL_CVD_SAFE_MAX = 6;
|
|
408
|
+
/**
|
|
409
|
+
* Categorical palette variant.
|
|
410
|
+
* - `default` : vivid; neutral/light surfaces, legible under black text
|
|
411
|
+
* - `dark` : deeper shades, legible under white text on a filled swatch
|
|
412
|
+
*/
|
|
413
|
+
type CategoricalVariant = keyof typeof categoricalPalette;
|
|
414
|
+
/**
|
|
415
|
+
* Get a color from the ordered categorical palette by series index.
|
|
416
|
+
* The palette is nested-stable, so the color for a given index does not change
|
|
417
|
+
* with the total series count; `index` simply wraps past the end.
|
|
418
|
+
*
|
|
419
|
+
* @param index - 0-based series index (wraps past the end)
|
|
420
|
+
* @param variant - `default` (black-text / light surfaces) or `dark` (white text)
|
|
421
|
+
* @returns The hex color string
|
|
422
|
+
*/
|
|
423
|
+
declare function getCategoricalColor(index: number, variant?: CategoricalVariant): string;
|
|
424
|
+
/**
|
|
425
|
+
* Diverging status scale (BodyMap training-status: under → optimal → over) as
|
|
426
|
+
* references into {@link primitiveRamps}. A true diverging shape — `optimal` is
|
|
427
|
+
* the lightest center, the extremes go darker — so the signal reads in lightness
|
|
428
|
+
* (colorblind-robust; worst-case deut/protanopia min ΔE ~10.9) and the direction
|
|
429
|
+
* reads in the blue↔red axis (the CVD-safe hue pair).
|
|
430
|
+
*
|
|
431
|
+
* Tuned so every stop is dark enough for the fill yet light enough that BLACK
|
|
432
|
+
* text clears 4.5:1 on all five — no per-cell white/black flipping. The value
|
|
433
|
+
* valley is symmetric: the two mid-arms (maintenance / approaching) sit at equal
|
|
434
|
+
* lightness (both ~0.53 relative luminance), the ends darker.
|
|
435
|
+
*/
|
|
436
|
+
declare const divergingScale: readonly ["#2196F3", "#22D3EE", "#58F69E", "#F9B415", "#D14343"];
|
|
437
|
+
/**
|
|
438
|
+
* Sequential "effort" scale (low → high intensity: green → yellow → orange → red)
|
|
439
|
+
* as references into {@link primitiveRamps}. A 6-stop ordinal palette; the
|
|
440
|
+
* velocity/RPE strip sub-samples it. Every adjacent pair clears the CVD floor
|
|
441
|
+
* (min deut/protan ΔE ≥ 4.5), and within that the hue walk is kept smooth —
|
|
442
|
+
* the amber-200 → amber-300 → orange-400 run steps the yellow→orange transition
|
|
443
|
+
* gradually rather than lurching. Order encodes magnitude, so it tolerates the
|
|
444
|
+
* green↔red CVD pair. Stops 0–3 take black text; the dark reds take white.
|
|
445
|
+
*/
|
|
446
|
+
declare const sequentialEffort: readonly ["#2ED573", "#FFD352", "#F9B415", "#FF7900", "#D14343", "#A4221C"];
|
|
447
|
+
/**
|
|
448
|
+
* Best-contrast text color (black or white) for a solid fill — for labels sitting
|
|
449
|
+
* on categorical/diverging/effort swatches. Uses the WCAG relative-luminance ratio.
|
|
450
|
+
*/
|
|
451
|
+
declare function bestTextColor(hex: string): '#000000' | '#FFFFFF';
|
|
257
452
|
/**
|
|
258
453
|
* Discrete rainbow palette for data visualization
|
|
259
454
|
* Based on Paul Tol's color schemes: https://personal.sron.nl/~pault/#fig:scheme_rainbow_discrete
|
|
@@ -400,35 +595,39 @@ declare const primitiveZIndex: {
|
|
|
400
595
|
*/
|
|
401
596
|
declare const semanticColorsLight: {
|
|
402
597
|
readonly 'brand-primary': "#FF7900";
|
|
403
|
-
readonly 'brand-primary-light': "#
|
|
404
|
-
readonly 'brand-primary-dark': "#
|
|
598
|
+
readonly 'brand-primary-light': "#FFA063";
|
|
599
|
+
readonly 'brand-primary-dark': "#DA5F00";
|
|
405
600
|
readonly 'brand-primary-subtle': "rgba(255, 121, 0, 0.08)";
|
|
406
|
-
readonly 'brand-primary-hover': "#
|
|
407
|
-
readonly 'brand-primary-active': "#
|
|
408
|
-
readonly 'brand-secondary': "#
|
|
409
|
-
readonly 'brand-secondary-light': "#
|
|
410
|
-
readonly 'brand-secondary-dark': "#
|
|
411
|
-
readonly 'brand-secondary-subtle': "rgba(
|
|
412
|
-
readonly 'brand-secondary-hover': "#
|
|
413
|
-
readonly 'brand-secondary-active': "#
|
|
601
|
+
readonly 'brand-primary-hover': "#DA5F00";
|
|
602
|
+
readonly 'brand-primary-active': "#B94A00";
|
|
603
|
+
readonly 'brand-secondary': "#307B9B";
|
|
604
|
+
readonly 'brand-secondary-light': "#2697B7";
|
|
605
|
+
readonly 'brand-secondary-dark': "#2A617F";
|
|
606
|
+
readonly 'brand-secondary-subtle': "rgba(48, 123, 155, 0.08)";
|
|
607
|
+
readonly 'brand-secondary-hover': "#2A617F";
|
|
608
|
+
readonly 'brand-secondary-active': "#22465F";
|
|
414
609
|
readonly 'on-brand-primary': "#FFFFFF";
|
|
415
610
|
readonly 'on-brand-secondary': "#FFFFFF";
|
|
416
|
-
readonly 'status-success': "#
|
|
417
|
-
readonly 'status-success-light': "#
|
|
418
|
-
readonly 'status-success-dark': "#
|
|
419
|
-
readonly 'status-success-subtle': "#
|
|
611
|
+
readonly 'status-success': "#2ED573";
|
|
612
|
+
readonly 'status-success-light': "#58F69E";
|
|
613
|
+
readonly 'status-success-dark': "#298732";
|
|
614
|
+
readonly 'status-success-subtle': "#E3FFEE";
|
|
420
615
|
readonly 'status-error': "#D14343";
|
|
421
|
-
readonly 'status-error-light': "#
|
|
422
|
-
readonly 'status-error-dark': "#
|
|
423
|
-
readonly 'status-error-subtle': "#
|
|
424
|
-
readonly 'status-
|
|
425
|
-
readonly 'status-
|
|
426
|
-
readonly 'status-
|
|
427
|
-
readonly 'status-
|
|
616
|
+
readonly 'status-error-light': "#E05254";
|
|
617
|
+
readonly 'status-error-dark': "#A4221C";
|
|
618
|
+
readonly 'status-error-subtle': "#FFF4F4";
|
|
619
|
+
readonly 'status-error-vivid': "#FF4757";
|
|
620
|
+
readonly 'status-error-vivid-light': "#FF6070";
|
|
621
|
+
readonly 'status-error-vivid-dark': "#C42539";
|
|
622
|
+
readonly 'status-error-vivid-subtle': "rgba(255, 71, 87, 0.12)";
|
|
623
|
+
readonly 'status-warning': "#F9B415";
|
|
624
|
+
readonly 'status-warning-light': "#FFD352";
|
|
625
|
+
readonly 'status-warning-dark': "#C27400";
|
|
626
|
+
readonly 'status-warning-subtle': "#FFF7DD";
|
|
428
627
|
readonly 'status-info': "#2196F3";
|
|
429
|
-
readonly 'status-info-light': "#
|
|
430
|
-
readonly 'status-info-dark': "#
|
|
431
|
-
readonly 'status-info-subtle': "#
|
|
628
|
+
readonly 'status-info-light': "#78C2FF";
|
|
629
|
+
readonly 'status-info-dark': "#1072CB";
|
|
630
|
+
readonly 'status-info-subtle': "#EFF8FF";
|
|
432
631
|
readonly 'on-status-success': "#FFFFFF";
|
|
433
632
|
readonly 'on-status-error': "#FFFFFF";
|
|
434
633
|
readonly 'on-status-warning': "#FFFFFF";
|
|
@@ -473,6 +672,7 @@ declare const semanticColorsLight: {
|
|
|
473
672
|
readonly 'border-default': "#E8E9EB";
|
|
474
673
|
readonly 'border-subtle': "#F3F4F6";
|
|
475
674
|
readonly 'border-strong': "#D1D5DB";
|
|
675
|
+
readonly 'border-prominent': "#9CA3AF";
|
|
476
676
|
readonly 'border-focus': "#5048E5";
|
|
477
677
|
readonly 'border-input': "#D1D5DB";
|
|
478
678
|
readonly 'border-input-hover': "#9CA3AF";
|
|
@@ -490,34 +690,38 @@ declare const semanticColorsLight: {
|
|
|
490
690
|
};
|
|
491
691
|
declare const semanticColorsDark: {
|
|
492
692
|
readonly 'brand-primary': "#FF7900";
|
|
493
|
-
readonly 'brand-primary-light': "#
|
|
494
|
-
readonly 'brand-primary-dark': "#
|
|
693
|
+
readonly 'brand-primary-light': "#FFA063";
|
|
694
|
+
readonly 'brand-primary-dark': "#DA5F00";
|
|
495
695
|
readonly 'brand-primary-subtle': "rgba(255, 121, 0, 0.12)";
|
|
496
|
-
readonly 'brand-primary-hover': "#
|
|
497
|
-
readonly 'brand-primary-active': "#
|
|
498
|
-
readonly 'brand-secondary': "#
|
|
499
|
-
readonly 'brand-secondary-light': "#
|
|
500
|
-
readonly 'brand-secondary-dark': "#
|
|
501
|
-
readonly 'brand-secondary-subtle': "rgba(
|
|
502
|
-
readonly 'brand-secondary-hover': "#
|
|
503
|
-
readonly 'brand-secondary-active': "#
|
|
696
|
+
readonly 'brand-primary-hover': "#FFA063";
|
|
697
|
+
readonly 'brand-primary-active': "#FFC7A2";
|
|
698
|
+
readonly 'brand-secondary': "#307B9B";
|
|
699
|
+
readonly 'brand-secondary-light': "#2697B7";
|
|
700
|
+
readonly 'brand-secondary-dark': "#2A617F";
|
|
701
|
+
readonly 'brand-secondary-subtle': "rgba(48, 123, 155, 0.12)";
|
|
702
|
+
readonly 'brand-secondary-hover': "#2697B7";
|
|
703
|
+
readonly 'brand-secondary-active': "#01B5D1";
|
|
504
704
|
readonly 'on-brand-primary': "#FFFFFF";
|
|
505
705
|
readonly 'on-brand-secondary': "#FFFFFF";
|
|
506
|
-
readonly 'status-success': "#
|
|
507
|
-
readonly 'status-success-light': "#
|
|
508
|
-
readonly 'status-success-dark': "#
|
|
509
|
-
readonly 'status-success-subtle': "rgba(
|
|
706
|
+
readonly 'status-success': "#2ED573";
|
|
707
|
+
readonly 'status-success-light': "#58F69E";
|
|
708
|
+
readonly 'status-success-dark': "#298732";
|
|
709
|
+
readonly 'status-success-subtle': "rgba(46, 213, 115, 0.12)";
|
|
510
710
|
readonly 'status-error': "#D14343";
|
|
511
|
-
readonly 'status-error-light': "#
|
|
512
|
-
readonly 'status-error-dark': "#
|
|
711
|
+
readonly 'status-error-light': "#E05254";
|
|
712
|
+
readonly 'status-error-dark': "#A4221C";
|
|
513
713
|
readonly 'status-error-subtle': "rgba(209, 67, 67, 0.12)";
|
|
514
|
-
readonly 'status-
|
|
515
|
-
readonly 'status-
|
|
516
|
-
readonly 'status-
|
|
517
|
-
readonly 'status-
|
|
714
|
+
readonly 'status-error-vivid': "#FF4757";
|
|
715
|
+
readonly 'status-error-vivid-light': "#FF6070";
|
|
716
|
+
readonly 'status-error-vivid-dark': "#C42539";
|
|
717
|
+
readonly 'status-error-vivid-subtle': "rgba(255, 71, 87, 0.12)";
|
|
718
|
+
readonly 'status-warning': "#F9B415";
|
|
719
|
+
readonly 'status-warning-light': "#FFD352";
|
|
720
|
+
readonly 'status-warning-dark': "#C27400";
|
|
721
|
+
readonly 'status-warning-subtle': "rgba(249, 180, 21, 0.12)";
|
|
518
722
|
readonly 'status-info': "#2196F3";
|
|
519
|
-
readonly 'status-info-light': "#
|
|
520
|
-
readonly 'status-info-dark': "#
|
|
723
|
+
readonly 'status-info-light': "#78C2FF";
|
|
724
|
+
readonly 'status-info-dark': "#1072CB";
|
|
521
725
|
readonly 'status-info-subtle': "rgba(33, 150, 243, 0.12)";
|
|
522
726
|
readonly 'on-status-success': "#FFFFFF";
|
|
523
727
|
readonly 'on-status-error': "#FFFFFF";
|
|
@@ -563,6 +767,7 @@ declare const semanticColorsDark: {
|
|
|
563
767
|
readonly 'border-default': "#1F1F1F";
|
|
564
768
|
readonly 'border-subtle': "#1C1C1C";
|
|
565
769
|
readonly 'border-strong': "#2C2C2C";
|
|
770
|
+
readonly 'border-prominent': "#3C3C3C";
|
|
566
771
|
readonly 'border-focus': "#828DF8";
|
|
567
772
|
readonly 'border-input': "#4B5563";
|
|
568
773
|
readonly 'border-input-hover': "#6B7280";
|
|
@@ -680,35 +885,39 @@ declare const buttonSizes: {
|
|
|
680
885
|
type ThemeMode = 'light' | 'dark';
|
|
681
886
|
declare function getSemanticColors(mode: ThemeMode): {
|
|
682
887
|
readonly 'brand-primary': "#FF7900";
|
|
683
|
-
readonly 'brand-primary-light': "#
|
|
684
|
-
readonly 'brand-primary-dark': "#
|
|
888
|
+
readonly 'brand-primary-light': "#FFA063";
|
|
889
|
+
readonly 'brand-primary-dark': "#DA5F00";
|
|
685
890
|
readonly 'brand-primary-subtle': "rgba(255, 121, 0, 0.08)";
|
|
686
|
-
readonly 'brand-primary-hover': "#
|
|
687
|
-
readonly 'brand-primary-active': "#
|
|
688
|
-
readonly 'brand-secondary': "#
|
|
689
|
-
readonly 'brand-secondary-light': "#
|
|
690
|
-
readonly 'brand-secondary-dark': "#
|
|
691
|
-
readonly 'brand-secondary-subtle': "rgba(
|
|
692
|
-
readonly 'brand-secondary-hover': "#
|
|
693
|
-
readonly 'brand-secondary-active': "#
|
|
891
|
+
readonly 'brand-primary-hover': "#DA5F00";
|
|
892
|
+
readonly 'brand-primary-active': "#B94A00";
|
|
893
|
+
readonly 'brand-secondary': "#307B9B";
|
|
894
|
+
readonly 'brand-secondary-light': "#2697B7";
|
|
895
|
+
readonly 'brand-secondary-dark': "#2A617F";
|
|
896
|
+
readonly 'brand-secondary-subtle': "rgba(48, 123, 155, 0.08)";
|
|
897
|
+
readonly 'brand-secondary-hover': "#2A617F";
|
|
898
|
+
readonly 'brand-secondary-active': "#22465F";
|
|
694
899
|
readonly 'on-brand-primary': "#FFFFFF";
|
|
695
900
|
readonly 'on-brand-secondary': "#FFFFFF";
|
|
696
|
-
readonly 'status-success': "#
|
|
697
|
-
readonly 'status-success-light': "#
|
|
698
|
-
readonly 'status-success-dark': "#
|
|
699
|
-
readonly 'status-success-subtle': "#
|
|
901
|
+
readonly 'status-success': "#2ED573";
|
|
902
|
+
readonly 'status-success-light': "#58F69E";
|
|
903
|
+
readonly 'status-success-dark': "#298732";
|
|
904
|
+
readonly 'status-success-subtle': "#E3FFEE";
|
|
700
905
|
readonly 'status-error': "#D14343";
|
|
701
|
-
readonly 'status-error-light': "#
|
|
702
|
-
readonly 'status-error-dark': "#
|
|
703
|
-
readonly 'status-error-subtle': "#
|
|
704
|
-
readonly 'status-
|
|
705
|
-
readonly 'status-
|
|
706
|
-
readonly 'status-
|
|
707
|
-
readonly 'status-
|
|
906
|
+
readonly 'status-error-light': "#E05254";
|
|
907
|
+
readonly 'status-error-dark': "#A4221C";
|
|
908
|
+
readonly 'status-error-subtle': "#FFF4F4";
|
|
909
|
+
readonly 'status-error-vivid': "#FF4757";
|
|
910
|
+
readonly 'status-error-vivid-light': "#FF6070";
|
|
911
|
+
readonly 'status-error-vivid-dark': "#C42539";
|
|
912
|
+
readonly 'status-error-vivid-subtle': "rgba(255, 71, 87, 0.12)";
|
|
913
|
+
readonly 'status-warning': "#F9B415";
|
|
914
|
+
readonly 'status-warning-light': "#FFD352";
|
|
915
|
+
readonly 'status-warning-dark': "#C27400";
|
|
916
|
+
readonly 'status-warning-subtle': "#FFF7DD";
|
|
708
917
|
readonly 'status-info': "#2196F3";
|
|
709
|
-
readonly 'status-info-light': "#
|
|
710
|
-
readonly 'status-info-dark': "#
|
|
711
|
-
readonly 'status-info-subtle': "#
|
|
918
|
+
readonly 'status-info-light': "#78C2FF";
|
|
919
|
+
readonly 'status-info-dark': "#1072CB";
|
|
920
|
+
readonly 'status-info-subtle': "#EFF8FF";
|
|
712
921
|
readonly 'on-status-success': "#FFFFFF";
|
|
713
922
|
readonly 'on-status-error': "#FFFFFF";
|
|
714
923
|
readonly 'on-status-warning': "#FFFFFF";
|
|
@@ -753,6 +962,7 @@ declare function getSemanticColors(mode: ThemeMode): {
|
|
|
753
962
|
readonly 'border-default': "#E8E9EB";
|
|
754
963
|
readonly 'border-subtle': "#F3F4F6";
|
|
755
964
|
readonly 'border-strong': "#D1D5DB";
|
|
965
|
+
readonly 'border-prominent': "#9CA3AF";
|
|
756
966
|
readonly 'border-focus': "#5048E5";
|
|
757
967
|
readonly 'border-input': "#D1D5DB";
|
|
758
968
|
readonly 'border-input-hover': "#9CA3AF";
|
|
@@ -769,34 +979,38 @@ declare function getSemanticColors(mode: ThemeMode): {
|
|
|
769
979
|
readonly 'avatar-text': "#FFFFFF";
|
|
770
980
|
} | {
|
|
771
981
|
readonly 'brand-primary': "#FF7900";
|
|
772
|
-
readonly 'brand-primary-light': "#
|
|
773
|
-
readonly 'brand-primary-dark': "#
|
|
982
|
+
readonly 'brand-primary-light': "#FFA063";
|
|
983
|
+
readonly 'brand-primary-dark': "#DA5F00";
|
|
774
984
|
readonly 'brand-primary-subtle': "rgba(255, 121, 0, 0.12)";
|
|
775
|
-
readonly 'brand-primary-hover': "#
|
|
776
|
-
readonly 'brand-primary-active': "#
|
|
777
|
-
readonly 'brand-secondary': "#
|
|
778
|
-
readonly 'brand-secondary-light': "#
|
|
779
|
-
readonly 'brand-secondary-dark': "#
|
|
780
|
-
readonly 'brand-secondary-subtle': "rgba(
|
|
781
|
-
readonly 'brand-secondary-hover': "#
|
|
782
|
-
readonly 'brand-secondary-active': "#
|
|
985
|
+
readonly 'brand-primary-hover': "#FFA063";
|
|
986
|
+
readonly 'brand-primary-active': "#FFC7A2";
|
|
987
|
+
readonly 'brand-secondary': "#307B9B";
|
|
988
|
+
readonly 'brand-secondary-light': "#2697B7";
|
|
989
|
+
readonly 'brand-secondary-dark': "#2A617F";
|
|
990
|
+
readonly 'brand-secondary-subtle': "rgba(48, 123, 155, 0.12)";
|
|
991
|
+
readonly 'brand-secondary-hover': "#2697B7";
|
|
992
|
+
readonly 'brand-secondary-active': "#01B5D1";
|
|
783
993
|
readonly 'on-brand-primary': "#FFFFFF";
|
|
784
994
|
readonly 'on-brand-secondary': "#FFFFFF";
|
|
785
|
-
readonly 'status-success': "#
|
|
786
|
-
readonly 'status-success-light': "#
|
|
787
|
-
readonly 'status-success-dark': "#
|
|
788
|
-
readonly 'status-success-subtle': "rgba(
|
|
995
|
+
readonly 'status-success': "#2ED573";
|
|
996
|
+
readonly 'status-success-light': "#58F69E";
|
|
997
|
+
readonly 'status-success-dark': "#298732";
|
|
998
|
+
readonly 'status-success-subtle': "rgba(46, 213, 115, 0.12)";
|
|
789
999
|
readonly 'status-error': "#D14343";
|
|
790
|
-
readonly 'status-error-light': "#
|
|
791
|
-
readonly 'status-error-dark': "#
|
|
1000
|
+
readonly 'status-error-light': "#E05254";
|
|
1001
|
+
readonly 'status-error-dark': "#A4221C";
|
|
792
1002
|
readonly 'status-error-subtle': "rgba(209, 67, 67, 0.12)";
|
|
793
|
-
readonly 'status-
|
|
794
|
-
readonly 'status-
|
|
795
|
-
readonly 'status-
|
|
796
|
-
readonly 'status-
|
|
1003
|
+
readonly 'status-error-vivid': "#FF4757";
|
|
1004
|
+
readonly 'status-error-vivid-light': "#FF6070";
|
|
1005
|
+
readonly 'status-error-vivid-dark': "#C42539";
|
|
1006
|
+
readonly 'status-error-vivid-subtle': "rgba(255, 71, 87, 0.12)";
|
|
1007
|
+
readonly 'status-warning': "#F9B415";
|
|
1008
|
+
readonly 'status-warning-light': "#FFD352";
|
|
1009
|
+
readonly 'status-warning-dark': "#C27400";
|
|
1010
|
+
readonly 'status-warning-subtle': "rgba(249, 180, 21, 0.12)";
|
|
797
1011
|
readonly 'status-info': "#2196F3";
|
|
798
|
-
readonly 'status-info-light': "#
|
|
799
|
-
readonly 'status-info-dark': "#
|
|
1012
|
+
readonly 'status-info-light': "#78C2FF";
|
|
1013
|
+
readonly 'status-info-dark': "#1072CB";
|
|
800
1014
|
readonly 'status-info-subtle': "rgba(33, 150, 243, 0.12)";
|
|
801
1015
|
readonly 'on-status-success': "#FFFFFF";
|
|
802
1016
|
readonly 'on-status-error': "#FFFFFF";
|
|
@@ -842,6 +1056,7 @@ declare function getSemanticColors(mode: ThemeMode): {
|
|
|
842
1056
|
readonly 'border-default': "#1F1F1F";
|
|
843
1057
|
readonly 'border-subtle': "#1C1C1C";
|
|
844
1058
|
readonly 'border-strong': "#2C2C2C";
|
|
1059
|
+
readonly 'border-prominent': "#3C3C3C";
|
|
845
1060
|
readonly 'border-focus': "#828DF8";
|
|
846
1061
|
readonly 'border-input': "#4B5563";
|
|
847
1062
|
readonly 'border-input-hover': "#6B7280";
|
|
@@ -867,10 +1082,11 @@ declare function getSemanticColors(mode: ThemeMode): {
|
|
|
867
1082
|
|
|
868
1083
|
declare const lightThemeCSSVars: {
|
|
869
1084
|
readonly '--color-brand-primary-rgb': "255, 121, 0";
|
|
870
|
-
readonly '--color-brand-secondary-rgb': "
|
|
871
|
-
readonly '--color-status-success-rgb': "
|
|
1085
|
+
readonly '--color-brand-secondary-rgb': "48, 123, 155";
|
|
1086
|
+
readonly '--color-status-success-rgb': "46, 213, 115";
|
|
872
1087
|
readonly '--color-status-error-rgb': "209, 67, 67";
|
|
873
|
-
readonly '--color-status-
|
|
1088
|
+
readonly '--color-status-error-vivid-rgb': "255, 71, 87";
|
|
1089
|
+
readonly '--color-status-warning-rgb': "249, 180, 21";
|
|
874
1090
|
readonly '--color-status-info-rgb': "33, 150, 243";
|
|
875
1091
|
readonly '--color-background-base-rgb': "16, 16, 16";
|
|
876
1092
|
readonly '--font-family-sans': "'Inter'";
|
|
@@ -884,23 +1100,27 @@ declare const lightThemeCSSVars: {
|
|
|
884
1100
|
readonly '--duration-normal': "250ms";
|
|
885
1101
|
readonly '--duration-slow': "400ms";
|
|
886
1102
|
readonly '--color-brand-primary': "#FF7900";
|
|
887
|
-
readonly '--color-brand-primary-light': "#
|
|
888
|
-
readonly '--color-brand-primary-dark': "#
|
|
1103
|
+
readonly '--color-brand-primary-light': "#FFA063";
|
|
1104
|
+
readonly '--color-brand-primary-dark': "#DA5F00";
|
|
889
1105
|
readonly '--color-brand-primary-subtle': "rgba(255, 121, 0, 0.08)";
|
|
890
|
-
readonly '--color-brand-secondary': "#
|
|
891
|
-
readonly '--color-brand-secondary-light': "#
|
|
892
|
-
readonly '--color-brand-secondary-dark': "#
|
|
893
|
-
readonly '--color-brand-secondary-subtle': "rgba(
|
|
1106
|
+
readonly '--color-brand-secondary': "#307B9B";
|
|
1107
|
+
readonly '--color-brand-secondary-light': "#2697B7";
|
|
1108
|
+
readonly '--color-brand-secondary-dark': "#2A617F";
|
|
1109
|
+
readonly '--color-brand-secondary-subtle': "rgba(48, 123, 155, 0.08)";
|
|
894
1110
|
readonly '--color-on-brand-primary': "#FFFFFF";
|
|
895
1111
|
readonly '--color-on-brand-secondary': "#FFFFFF";
|
|
896
|
-
readonly '--color-status-success': "#
|
|
897
|
-
readonly '--color-status-success-subtle': "#
|
|
1112
|
+
readonly '--color-status-success': "#2ED573";
|
|
1113
|
+
readonly '--color-status-success-subtle': "#E3FFEE";
|
|
898
1114
|
readonly '--color-status-error': "#D14343";
|
|
899
|
-
readonly '--color-status-error-subtle': "#
|
|
900
|
-
readonly '--color-status-warning': "#
|
|
901
|
-
readonly '--color-status-warning-subtle': "#
|
|
1115
|
+
readonly '--color-status-error-subtle': "#FFF4F4";
|
|
1116
|
+
readonly '--color-status-warning': "#F9B415";
|
|
1117
|
+
readonly '--color-status-warning-subtle': "#FFF7DD";
|
|
902
1118
|
readonly '--color-status-info': "#2196F3";
|
|
903
|
-
readonly '--color-status-info-subtle': "#
|
|
1119
|
+
readonly '--color-status-info-subtle': "#EFF8FF";
|
|
1120
|
+
readonly '--color-status-error-vivid': "#FF4757";
|
|
1121
|
+
readonly '--color-status-error-vivid-light': "#FF6070";
|
|
1122
|
+
readonly '--color-status-error-vivid-dark': "#C42539";
|
|
1123
|
+
readonly '--color-status-error-vivid-subtle': "rgba(255, 71, 87, 0.12)";
|
|
904
1124
|
readonly '--color-text-primary': "#121828";
|
|
905
1125
|
readonly '--color-text-secondary': "#65748B";
|
|
906
1126
|
readonly '--color-text-tertiary': "#9CA3AF";
|
|
@@ -916,6 +1136,7 @@ declare const lightThemeCSSVars: {
|
|
|
916
1136
|
readonly '--color-border-default': "#E8E9EB";
|
|
917
1137
|
readonly '--color-border-subtle': "#F3F4F6";
|
|
918
1138
|
readonly '--color-border-strong': "#D1D5DB";
|
|
1139
|
+
readonly '--color-border-prominent': "#9CA3AF";
|
|
919
1140
|
readonly '--color-border-focus': "#5048E5";
|
|
920
1141
|
readonly '--color-interactive-hover': "rgba(55, 65, 81, 0.04)";
|
|
921
1142
|
readonly '--color-interactive-focus': "rgba(55, 65, 81, 0.12)";
|
|
@@ -923,18 +1144,18 @@ declare const lightThemeCSSVars: {
|
|
|
923
1144
|
readonly '--color-interactive-selected': "rgba(55, 65, 81, 0.08)";
|
|
924
1145
|
readonly '--color-interactive-disabled': "rgba(55, 65, 81, 0.12)";
|
|
925
1146
|
readonly '--color-divider': "#E8E9EB";
|
|
926
|
-
readonly '--color-brand-primary-hover': "#
|
|
927
|
-
readonly '--color-brand-primary-active': "#
|
|
928
|
-
readonly '--color-brand-secondary-hover': "#
|
|
929
|
-
readonly '--color-brand-secondary-active': "#
|
|
930
|
-
readonly '--color-status-success-light': "#
|
|
931
|
-
readonly '--color-status-success-dark': "#
|
|
932
|
-
readonly '--color-status-error-light': "#
|
|
933
|
-
readonly '--color-status-error-dark': "#
|
|
934
|
-
readonly '--color-status-warning-light': "#
|
|
935
|
-
readonly '--color-status-warning-dark': "#
|
|
936
|
-
readonly '--color-status-info-light': "#
|
|
937
|
-
readonly '--color-status-info-dark': "#
|
|
1147
|
+
readonly '--color-brand-primary-hover': "#DA5F00";
|
|
1148
|
+
readonly '--color-brand-primary-active': "#B94A00";
|
|
1149
|
+
readonly '--color-brand-secondary-hover': "#2A617F";
|
|
1150
|
+
readonly '--color-brand-secondary-active': "#22465F";
|
|
1151
|
+
readonly '--color-status-success-light': "#58F69E";
|
|
1152
|
+
readonly '--color-status-success-dark': "#298732";
|
|
1153
|
+
readonly '--color-status-error-light': "#E05254";
|
|
1154
|
+
readonly '--color-status-error-dark': "#A4221C";
|
|
1155
|
+
readonly '--color-status-warning-light': "#FFD352";
|
|
1156
|
+
readonly '--color-status-warning-dark': "#C27400";
|
|
1157
|
+
readonly '--color-status-info-light': "#78C2FF";
|
|
1158
|
+
readonly '--color-status-info-dark': "#1072CB";
|
|
938
1159
|
readonly '--color-on-status-success': "#FFFFFF";
|
|
939
1160
|
readonly '--color-on-status-error': "#FFFFFF";
|
|
940
1161
|
readonly '--color-on-status-warning': "#FFFFFF";
|
|
@@ -974,10 +1195,11 @@ declare const lightThemeCSSVars: {
|
|
|
974
1195
|
};
|
|
975
1196
|
declare const darkThemeCSSVars: {
|
|
976
1197
|
readonly '--color-brand-primary-rgb': "255, 121, 0";
|
|
977
|
-
readonly '--color-brand-secondary-rgb': "
|
|
978
|
-
readonly '--color-status-success-rgb': "
|
|
1198
|
+
readonly '--color-brand-secondary-rgb': "48, 123, 155";
|
|
1199
|
+
readonly '--color-status-success-rgb': "46, 213, 115";
|
|
979
1200
|
readonly '--color-status-error-rgb': "209, 67, 67";
|
|
980
|
-
readonly '--color-status-
|
|
1201
|
+
readonly '--color-status-error-vivid-rgb': "255, 71, 87";
|
|
1202
|
+
readonly '--color-status-warning-rgb': "249, 180, 21";
|
|
981
1203
|
readonly '--color-status-info-rgb': "33, 150, 243";
|
|
982
1204
|
readonly '--color-background-base-rgb': "16, 16, 16";
|
|
983
1205
|
readonly '--font-family-sans': "'Inter'";
|
|
@@ -991,23 +1213,27 @@ declare const darkThemeCSSVars: {
|
|
|
991
1213
|
readonly '--duration-normal': "250ms";
|
|
992
1214
|
readonly '--duration-slow': "400ms";
|
|
993
1215
|
readonly '--color-brand-primary': "#FF7900";
|
|
994
|
-
readonly '--color-brand-primary-light': "#
|
|
995
|
-
readonly '--color-brand-primary-dark': "#
|
|
1216
|
+
readonly '--color-brand-primary-light': "#FFA063";
|
|
1217
|
+
readonly '--color-brand-primary-dark': "#DA5F00";
|
|
996
1218
|
readonly '--color-brand-primary-subtle': "rgba(255, 121, 0, 0.12)";
|
|
997
|
-
readonly '--color-brand-secondary': "#
|
|
998
|
-
readonly '--color-brand-secondary-light': "#
|
|
999
|
-
readonly '--color-brand-secondary-dark': "#
|
|
1000
|
-
readonly '--color-brand-secondary-subtle': "rgba(
|
|
1219
|
+
readonly '--color-brand-secondary': "#307B9B";
|
|
1220
|
+
readonly '--color-brand-secondary-light': "#2697B7";
|
|
1221
|
+
readonly '--color-brand-secondary-dark': "#2A617F";
|
|
1222
|
+
readonly '--color-brand-secondary-subtle': "rgba(48, 123, 155, 0.12)";
|
|
1001
1223
|
readonly '--color-on-brand-primary': "#FFFFFF";
|
|
1002
1224
|
readonly '--color-on-brand-secondary': "#FFFFFF";
|
|
1003
|
-
readonly '--color-status-success': "#
|
|
1004
|
-
readonly '--color-status-success-subtle': "rgba(
|
|
1225
|
+
readonly '--color-status-success': "#2ED573";
|
|
1226
|
+
readonly '--color-status-success-subtle': "rgba(46, 213, 115, 0.12)";
|
|
1005
1227
|
readonly '--color-status-error': "#D14343";
|
|
1006
1228
|
readonly '--color-status-error-subtle': "rgba(209, 67, 67, 0.12)";
|
|
1007
|
-
readonly '--color-status-warning': "#
|
|
1008
|
-
readonly '--color-status-warning-subtle': "rgba(
|
|
1229
|
+
readonly '--color-status-warning': "#F9B415";
|
|
1230
|
+
readonly '--color-status-warning-subtle': "rgba(249, 180, 21, 0.12)";
|
|
1009
1231
|
readonly '--color-status-info': "#2196F3";
|
|
1010
1232
|
readonly '--color-status-info-subtle': "rgba(33, 150, 243, 0.12)";
|
|
1233
|
+
readonly '--color-status-error-vivid': "#FF4757";
|
|
1234
|
+
readonly '--color-status-error-vivid-light': "#FF6070";
|
|
1235
|
+
readonly '--color-status-error-vivid-dark': "#C42539";
|
|
1236
|
+
readonly '--color-status-error-vivid-subtle': "rgba(255, 71, 87, 0.12)";
|
|
1011
1237
|
readonly '--color-text-primary': "#F3F4F6";
|
|
1012
1238
|
readonly '--color-text-secondary': "#9CA3AF";
|
|
1013
1239
|
readonly '--color-text-tertiary': "#6B7280";
|
|
@@ -1023,6 +1249,7 @@ declare const darkThemeCSSVars: {
|
|
|
1023
1249
|
readonly '--color-border-default': "#1F1F1F";
|
|
1024
1250
|
readonly '--color-border-subtle': "#1C1C1C";
|
|
1025
1251
|
readonly '--color-border-strong': "#2C2C2C";
|
|
1252
|
+
readonly '--color-border-prominent': "#3C3C3C";
|
|
1026
1253
|
readonly '--color-border-focus': "#828DF8";
|
|
1027
1254
|
readonly '--color-interactive-hover': "rgba(255, 255, 255, 0.04)";
|
|
1028
1255
|
readonly '--color-interactive-focus': "rgba(255, 255, 255, 0.12)";
|
|
@@ -1030,18 +1257,18 @@ declare const darkThemeCSSVars: {
|
|
|
1030
1257
|
readonly '--color-interactive-selected': "rgba(255, 255, 255, 0.08)";
|
|
1031
1258
|
readonly '--color-interactive-disabled': "rgba(255, 255, 255, 0.12)";
|
|
1032
1259
|
readonly '--color-divider': "#1F1F1F";
|
|
1033
|
-
readonly '--color-brand-primary-hover': "#
|
|
1034
|
-
readonly '--color-brand-primary-active': "#
|
|
1035
|
-
readonly '--color-brand-secondary-hover': "#
|
|
1036
|
-
readonly '--color-brand-secondary-active': "#
|
|
1037
|
-
readonly '--color-status-success-light': "#
|
|
1038
|
-
readonly '--color-status-success-dark': "#
|
|
1039
|
-
readonly '--color-status-error-light': "#
|
|
1040
|
-
readonly '--color-status-error-dark': "#
|
|
1041
|
-
readonly '--color-status-warning-light': "#
|
|
1042
|
-
readonly '--color-status-warning-dark': "#
|
|
1043
|
-
readonly '--color-status-info-light': "#
|
|
1044
|
-
readonly '--color-status-info-dark': "#
|
|
1260
|
+
readonly '--color-brand-primary-hover': "#FFA063";
|
|
1261
|
+
readonly '--color-brand-primary-active': "#FFC7A2";
|
|
1262
|
+
readonly '--color-brand-secondary-hover': "#2697B7";
|
|
1263
|
+
readonly '--color-brand-secondary-active': "#01B5D1";
|
|
1264
|
+
readonly '--color-status-success-light': "#58F69E";
|
|
1265
|
+
readonly '--color-status-success-dark': "#298732";
|
|
1266
|
+
readonly '--color-status-error-light': "#E05254";
|
|
1267
|
+
readonly '--color-status-error-dark': "#A4221C";
|
|
1268
|
+
readonly '--color-status-warning-light': "#FFD352";
|
|
1269
|
+
readonly '--color-status-warning-dark': "#C27400";
|
|
1270
|
+
readonly '--color-status-info-light': "#78C2FF";
|
|
1271
|
+
readonly '--color-status-info-dark': "#1072CB";
|
|
1045
1272
|
readonly '--color-on-status-success': "#FFFFFF";
|
|
1046
1273
|
readonly '--color-on-status-error': "#FFFFFF";
|
|
1047
1274
|
readonly '--color-on-status-warning': "#FFFFFF";
|
|
@@ -1081,10 +1308,11 @@ declare const darkThemeCSSVars: {
|
|
|
1081
1308
|
};
|
|
1082
1309
|
declare function getThemeCSSVars(mode: ThemeMode): {
|
|
1083
1310
|
readonly '--color-brand-primary-rgb': "255, 121, 0";
|
|
1084
|
-
readonly '--color-brand-secondary-rgb': "
|
|
1085
|
-
readonly '--color-status-success-rgb': "
|
|
1311
|
+
readonly '--color-brand-secondary-rgb': "48, 123, 155";
|
|
1312
|
+
readonly '--color-status-success-rgb': "46, 213, 115";
|
|
1086
1313
|
readonly '--color-status-error-rgb': "209, 67, 67";
|
|
1087
|
-
readonly '--color-status-
|
|
1314
|
+
readonly '--color-status-error-vivid-rgb': "255, 71, 87";
|
|
1315
|
+
readonly '--color-status-warning-rgb': "249, 180, 21";
|
|
1088
1316
|
readonly '--color-status-info-rgb': "33, 150, 243";
|
|
1089
1317
|
readonly '--color-background-base-rgb': "16, 16, 16";
|
|
1090
1318
|
readonly '--font-family-sans': "'Inter'";
|
|
@@ -1098,23 +1326,27 @@ declare function getThemeCSSVars(mode: ThemeMode): {
|
|
|
1098
1326
|
readonly '--duration-normal': "250ms";
|
|
1099
1327
|
readonly '--duration-slow': "400ms";
|
|
1100
1328
|
readonly '--color-brand-primary': "#FF7900";
|
|
1101
|
-
readonly '--color-brand-primary-light': "#
|
|
1102
|
-
readonly '--color-brand-primary-dark': "#
|
|
1329
|
+
readonly '--color-brand-primary-light': "#FFA063";
|
|
1330
|
+
readonly '--color-brand-primary-dark': "#DA5F00";
|
|
1103
1331
|
readonly '--color-brand-primary-subtle': "rgba(255, 121, 0, 0.08)";
|
|
1104
|
-
readonly '--color-brand-secondary': "#
|
|
1105
|
-
readonly '--color-brand-secondary-light': "#
|
|
1106
|
-
readonly '--color-brand-secondary-dark': "#
|
|
1107
|
-
readonly '--color-brand-secondary-subtle': "rgba(
|
|
1332
|
+
readonly '--color-brand-secondary': "#307B9B";
|
|
1333
|
+
readonly '--color-brand-secondary-light': "#2697B7";
|
|
1334
|
+
readonly '--color-brand-secondary-dark': "#2A617F";
|
|
1335
|
+
readonly '--color-brand-secondary-subtle': "rgba(48, 123, 155, 0.08)";
|
|
1108
1336
|
readonly '--color-on-brand-primary': "#FFFFFF";
|
|
1109
1337
|
readonly '--color-on-brand-secondary': "#FFFFFF";
|
|
1110
|
-
readonly '--color-status-success': "#
|
|
1111
|
-
readonly '--color-status-success-subtle': "#
|
|
1338
|
+
readonly '--color-status-success': "#2ED573";
|
|
1339
|
+
readonly '--color-status-success-subtle': "#E3FFEE";
|
|
1112
1340
|
readonly '--color-status-error': "#D14343";
|
|
1113
|
-
readonly '--color-status-error-subtle': "#
|
|
1114
|
-
readonly '--color-status-warning': "#
|
|
1115
|
-
readonly '--color-status-warning-subtle': "#
|
|
1341
|
+
readonly '--color-status-error-subtle': "#FFF4F4";
|
|
1342
|
+
readonly '--color-status-warning': "#F9B415";
|
|
1343
|
+
readonly '--color-status-warning-subtle': "#FFF7DD";
|
|
1116
1344
|
readonly '--color-status-info': "#2196F3";
|
|
1117
|
-
readonly '--color-status-info-subtle': "#
|
|
1345
|
+
readonly '--color-status-info-subtle': "#EFF8FF";
|
|
1346
|
+
readonly '--color-status-error-vivid': "#FF4757";
|
|
1347
|
+
readonly '--color-status-error-vivid-light': "#FF6070";
|
|
1348
|
+
readonly '--color-status-error-vivid-dark': "#C42539";
|
|
1349
|
+
readonly '--color-status-error-vivid-subtle': "rgba(255, 71, 87, 0.12)";
|
|
1118
1350
|
readonly '--color-text-primary': "#121828";
|
|
1119
1351
|
readonly '--color-text-secondary': "#65748B";
|
|
1120
1352
|
readonly '--color-text-tertiary': "#9CA3AF";
|
|
@@ -1130,6 +1362,7 @@ declare function getThemeCSSVars(mode: ThemeMode): {
|
|
|
1130
1362
|
readonly '--color-border-default': "#E8E9EB";
|
|
1131
1363
|
readonly '--color-border-subtle': "#F3F4F6";
|
|
1132
1364
|
readonly '--color-border-strong': "#D1D5DB";
|
|
1365
|
+
readonly '--color-border-prominent': "#9CA3AF";
|
|
1133
1366
|
readonly '--color-border-focus': "#5048E5";
|
|
1134
1367
|
readonly '--color-interactive-hover': "rgba(55, 65, 81, 0.04)";
|
|
1135
1368
|
readonly '--color-interactive-focus': "rgba(55, 65, 81, 0.12)";
|
|
@@ -1137,18 +1370,18 @@ declare function getThemeCSSVars(mode: ThemeMode): {
|
|
|
1137
1370
|
readonly '--color-interactive-selected': "rgba(55, 65, 81, 0.08)";
|
|
1138
1371
|
readonly '--color-interactive-disabled': "rgba(55, 65, 81, 0.12)";
|
|
1139
1372
|
readonly '--color-divider': "#E8E9EB";
|
|
1140
|
-
readonly '--color-brand-primary-hover': "#
|
|
1141
|
-
readonly '--color-brand-primary-active': "#
|
|
1142
|
-
readonly '--color-brand-secondary-hover': "#
|
|
1143
|
-
readonly '--color-brand-secondary-active': "#
|
|
1144
|
-
readonly '--color-status-success-light': "#
|
|
1145
|
-
readonly '--color-status-success-dark': "#
|
|
1146
|
-
readonly '--color-status-error-light': "#
|
|
1147
|
-
readonly '--color-status-error-dark': "#
|
|
1148
|
-
readonly '--color-status-warning-light': "#
|
|
1149
|
-
readonly '--color-status-warning-dark': "#
|
|
1150
|
-
readonly '--color-status-info-light': "#
|
|
1151
|
-
readonly '--color-status-info-dark': "#
|
|
1373
|
+
readonly '--color-brand-primary-hover': "#DA5F00";
|
|
1374
|
+
readonly '--color-brand-primary-active': "#B94A00";
|
|
1375
|
+
readonly '--color-brand-secondary-hover': "#2A617F";
|
|
1376
|
+
readonly '--color-brand-secondary-active': "#22465F";
|
|
1377
|
+
readonly '--color-status-success-light': "#58F69E";
|
|
1378
|
+
readonly '--color-status-success-dark': "#298732";
|
|
1379
|
+
readonly '--color-status-error-light': "#E05254";
|
|
1380
|
+
readonly '--color-status-error-dark': "#A4221C";
|
|
1381
|
+
readonly '--color-status-warning-light': "#FFD352";
|
|
1382
|
+
readonly '--color-status-warning-dark': "#C27400";
|
|
1383
|
+
readonly '--color-status-info-light': "#78C2FF";
|
|
1384
|
+
readonly '--color-status-info-dark': "#1072CB";
|
|
1152
1385
|
readonly '--color-on-status-success': "#FFFFFF";
|
|
1153
1386
|
readonly '--color-on-status-error': "#FFFFFF";
|
|
1154
1387
|
readonly '--color-on-status-warning': "#FFFFFF";
|
|
@@ -1187,10 +1420,11 @@ declare function getThemeCSSVars(mode: ThemeMode): {
|
|
|
1187
1420
|
readonly '--color-avatar-text': "#FFFFFF";
|
|
1188
1421
|
} | {
|
|
1189
1422
|
readonly '--color-brand-primary-rgb': "255, 121, 0";
|
|
1190
|
-
readonly '--color-brand-secondary-rgb': "
|
|
1191
|
-
readonly '--color-status-success-rgb': "
|
|
1423
|
+
readonly '--color-brand-secondary-rgb': "48, 123, 155";
|
|
1424
|
+
readonly '--color-status-success-rgb': "46, 213, 115";
|
|
1192
1425
|
readonly '--color-status-error-rgb': "209, 67, 67";
|
|
1193
|
-
readonly '--color-status-
|
|
1426
|
+
readonly '--color-status-error-vivid-rgb': "255, 71, 87";
|
|
1427
|
+
readonly '--color-status-warning-rgb': "249, 180, 21";
|
|
1194
1428
|
readonly '--color-status-info-rgb': "33, 150, 243";
|
|
1195
1429
|
readonly '--color-background-base-rgb': "16, 16, 16";
|
|
1196
1430
|
readonly '--font-family-sans': "'Inter'";
|
|
@@ -1204,23 +1438,27 @@ declare function getThemeCSSVars(mode: ThemeMode): {
|
|
|
1204
1438
|
readonly '--duration-normal': "250ms";
|
|
1205
1439
|
readonly '--duration-slow': "400ms";
|
|
1206
1440
|
readonly '--color-brand-primary': "#FF7900";
|
|
1207
|
-
readonly '--color-brand-primary-light': "#
|
|
1208
|
-
readonly '--color-brand-primary-dark': "#
|
|
1441
|
+
readonly '--color-brand-primary-light': "#FFA063";
|
|
1442
|
+
readonly '--color-brand-primary-dark': "#DA5F00";
|
|
1209
1443
|
readonly '--color-brand-primary-subtle': "rgba(255, 121, 0, 0.12)";
|
|
1210
|
-
readonly '--color-brand-secondary': "#
|
|
1211
|
-
readonly '--color-brand-secondary-light': "#
|
|
1212
|
-
readonly '--color-brand-secondary-dark': "#
|
|
1213
|
-
readonly '--color-brand-secondary-subtle': "rgba(
|
|
1444
|
+
readonly '--color-brand-secondary': "#307B9B";
|
|
1445
|
+
readonly '--color-brand-secondary-light': "#2697B7";
|
|
1446
|
+
readonly '--color-brand-secondary-dark': "#2A617F";
|
|
1447
|
+
readonly '--color-brand-secondary-subtle': "rgba(48, 123, 155, 0.12)";
|
|
1214
1448
|
readonly '--color-on-brand-primary': "#FFFFFF";
|
|
1215
1449
|
readonly '--color-on-brand-secondary': "#FFFFFF";
|
|
1216
|
-
readonly '--color-status-success': "#
|
|
1217
|
-
readonly '--color-status-success-subtle': "rgba(
|
|
1450
|
+
readonly '--color-status-success': "#2ED573";
|
|
1451
|
+
readonly '--color-status-success-subtle': "rgba(46, 213, 115, 0.12)";
|
|
1218
1452
|
readonly '--color-status-error': "#D14343";
|
|
1219
1453
|
readonly '--color-status-error-subtle': "rgba(209, 67, 67, 0.12)";
|
|
1220
|
-
readonly '--color-status-warning': "#
|
|
1221
|
-
readonly '--color-status-warning-subtle': "rgba(
|
|
1454
|
+
readonly '--color-status-warning': "#F9B415";
|
|
1455
|
+
readonly '--color-status-warning-subtle': "rgba(249, 180, 21, 0.12)";
|
|
1222
1456
|
readonly '--color-status-info': "#2196F3";
|
|
1223
1457
|
readonly '--color-status-info-subtle': "rgba(33, 150, 243, 0.12)";
|
|
1458
|
+
readonly '--color-status-error-vivid': "#FF4757";
|
|
1459
|
+
readonly '--color-status-error-vivid-light': "#FF6070";
|
|
1460
|
+
readonly '--color-status-error-vivid-dark': "#C42539";
|
|
1461
|
+
readonly '--color-status-error-vivid-subtle': "rgba(255, 71, 87, 0.12)";
|
|
1224
1462
|
readonly '--color-text-primary': "#F3F4F6";
|
|
1225
1463
|
readonly '--color-text-secondary': "#9CA3AF";
|
|
1226
1464
|
readonly '--color-text-tertiary': "#6B7280";
|
|
@@ -1236,6 +1474,7 @@ declare function getThemeCSSVars(mode: ThemeMode): {
|
|
|
1236
1474
|
readonly '--color-border-default': "#1F1F1F";
|
|
1237
1475
|
readonly '--color-border-subtle': "#1C1C1C";
|
|
1238
1476
|
readonly '--color-border-strong': "#2C2C2C";
|
|
1477
|
+
readonly '--color-border-prominent': "#3C3C3C";
|
|
1239
1478
|
readonly '--color-border-focus': "#828DF8";
|
|
1240
1479
|
readonly '--color-interactive-hover': "rgba(255, 255, 255, 0.04)";
|
|
1241
1480
|
readonly '--color-interactive-focus': "rgba(255, 255, 255, 0.12)";
|
|
@@ -1243,18 +1482,18 @@ declare function getThemeCSSVars(mode: ThemeMode): {
|
|
|
1243
1482
|
readonly '--color-interactive-selected': "rgba(255, 255, 255, 0.08)";
|
|
1244
1483
|
readonly '--color-interactive-disabled': "rgba(255, 255, 255, 0.12)";
|
|
1245
1484
|
readonly '--color-divider': "#1F1F1F";
|
|
1246
|
-
readonly '--color-brand-primary-hover': "#
|
|
1247
|
-
readonly '--color-brand-primary-active': "#
|
|
1248
|
-
readonly '--color-brand-secondary-hover': "#
|
|
1249
|
-
readonly '--color-brand-secondary-active': "#
|
|
1250
|
-
readonly '--color-status-success-light': "#
|
|
1251
|
-
readonly '--color-status-success-dark': "#
|
|
1252
|
-
readonly '--color-status-error-light': "#
|
|
1253
|
-
readonly '--color-status-error-dark': "#
|
|
1254
|
-
readonly '--color-status-warning-light': "#
|
|
1255
|
-
readonly '--color-status-warning-dark': "#
|
|
1256
|
-
readonly '--color-status-info-light': "#
|
|
1257
|
-
readonly '--color-status-info-dark': "#
|
|
1485
|
+
readonly '--color-brand-primary-hover': "#FFA063";
|
|
1486
|
+
readonly '--color-brand-primary-active': "#FFC7A2";
|
|
1487
|
+
readonly '--color-brand-secondary-hover': "#2697B7";
|
|
1488
|
+
readonly '--color-brand-secondary-active': "#01B5D1";
|
|
1489
|
+
readonly '--color-status-success-light': "#58F69E";
|
|
1490
|
+
readonly '--color-status-success-dark': "#298732";
|
|
1491
|
+
readonly '--color-status-error-light': "#E05254";
|
|
1492
|
+
readonly '--color-status-error-dark': "#A4221C";
|
|
1493
|
+
readonly '--color-status-warning-light': "#FFD352";
|
|
1494
|
+
readonly '--color-status-warning-dark': "#C27400";
|
|
1495
|
+
readonly '--color-status-info-light': "#78C2FF";
|
|
1496
|
+
readonly '--color-status-info-dark': "#1072CB";
|
|
1258
1497
|
readonly '--color-on-status-success': "#FFFFFF";
|
|
1259
1498
|
readonly '--color-on-status-error': "#FFFFFF";
|
|
1260
1499
|
readonly '--color-on-status-warning': "#FFFFFF";
|
|
@@ -1615,7 +1854,7 @@ declare function validateCssPropertyManifest(candidate: unknown): ManifestValida
|
|
|
1615
1854
|
/** Type guard variant of validateCssPropertyManifest for use in narrowing contexts. */
|
|
1616
1855
|
declare function isCssPropertyManifest(candidate: unknown): candidate is CssPropertyManifest;
|
|
1617
1856
|
|
|
1618
|
-
type ColorToken = keyof ReturnType<typeof getSemanticColors>;
|
|
1857
|
+
type ColorToken$1 = keyof ReturnType<typeof getSemanticColors>;
|
|
1619
1858
|
/**
|
|
1620
1859
|
* Resolve a semantic color token for an inline style where a nativewind
|
|
1621
1860
|
* className can't apply — gradients (`backgroundImage`), per-edge borders
|
|
@@ -1627,7 +1866,30 @@ type ColorToken = keyof ReturnType<typeof getSemanticColors>;
|
|
|
1627
1866
|
* resolved hex from `getSemanticColors` (mobile is dark-only). This is why
|
|
1628
1867
|
* these spots stay theme-correct on web while also rendering on-device.
|
|
1629
1868
|
*/
|
|
1630
|
-
declare function resolveColor(token: ColorToken, mode?: ThemeMode): string;
|
|
1869
|
+
declare function resolveColor(token: ColorToken$1, mode?: ThemeMode): string;
|
|
1870
|
+
|
|
1871
|
+
type ColorToken = keyof ReturnType<typeof getSemanticColors>;
|
|
1872
|
+
/** A `backgroundImage` style — web-only (RN ignores it); type it loosely for RN style arrays. */
|
|
1873
|
+
type GradientStyle = {
|
|
1874
|
+
backgroundImage: string;
|
|
1875
|
+
};
|
|
1876
|
+
/**
|
|
1877
|
+
* A linear-gradient `backgroundImage` built from two semantic color tokens.
|
|
1878
|
+
*
|
|
1879
|
+
* Themeable + native-safe via {@link resolveColor}: on web the stops are CSS
|
|
1880
|
+
* variables (light/dark switching keeps working); on native it resolves to hex.
|
|
1881
|
+
* `backgroundImage` is a **web-only** paint, so pair this with a solid
|
|
1882
|
+
* `bg-*` className fallback for native (see the shell TopBar).
|
|
1883
|
+
*/
|
|
1884
|
+
declare function linearGradient(from: ColorToken, to: ColorToken, angle?: number, mode?: ThemeMode): GradientStyle;
|
|
1885
|
+
/**
|
|
1886
|
+
* Named surface gradients — the shared substrate for gradient fills. Replaces
|
|
1887
|
+
* per-component inline `linear-gradient` strings.
|
|
1888
|
+
*/
|
|
1889
|
+
declare const surfaceGradient: {
|
|
1890
|
+
/** Chrome bands (top bar, headers): elevated → base, a subtle dark wash. */
|
|
1891
|
+
chrome: (mode?: ThemeMode) => GradientStyle;
|
|
1892
|
+
};
|
|
1631
1893
|
|
|
1632
1894
|
type ThemeProviderMode = 'dark' | 'light';
|
|
1633
1895
|
interface ThemeProviderProps extends ViewProps {
|
|
@@ -1726,4 +1988,4 @@ declare const defaultPreset: ThemePreset;
|
|
|
1726
1988
|
*/
|
|
1727
1989
|
declare const audiobookPreset: ThemePreset;
|
|
1728
1990
|
|
|
1729
|
-
export { type ComponentType, type CssPropertyEntry, type CssPropertyManifest, type ElevationConfig, type ElevationLevel, type GlowIntensity, type ManifestValidationResult, type ShadowIntensity, type ShadowSurface, type ThemeConfig, type ThemeMode, type ThemePreset, type ThemePresetColors, type ThemePresetFonts, type ThemePresetRadii, type ThemePresetShadows, ThemeProvider, type ThemeProviderMode, type ThemeProviderProps, type VariantAxes, type VariantOverride, applyThemePreset, audiobookPreset, buttonSizes, componentElevationRanges, createFlatShadow, createPressedHoverShadow, createPressedShadow, createRaisedHoverShadow, createRaisedShadow, darkThemeCSSVars, darken, defaultPreset, discreteRainbow, elevationSystem, getBaseSurfaceColor, getDiscreteRainbowColor, getElevationConfig, getElevationShadow, getElevationSurface, getGlowShadow, getHoverColors, getSemanticColors, getThemeCSSVars, getValidatedElevation, gluestackConfig, hexToRgb, hsvToRgb, isCssPropertyManifest, isDark, lightThemeCSSVars, lighten, neumorphicShadows, primitiveBorderRadius, primitiveBreakpoints, primitiveColors, primitiveShadows, primitiveSpacing, primitiveTypography, primitiveZIndex, resolveColor, rgbToHex, rgbToHsv, semanticColorsDark, semanticColorsLight, semanticTypography, shadowColors, validateCssPropertyManifest };
|
|
1991
|
+
export { CATEGORICAL_CVD_SAFE_MAX, type CategoricalVariant, type ComponentType, type CssPropertyEntry, type CssPropertyManifest, type ElevationConfig, type ElevationLevel, type GlowIntensity, type GradientStyle, type ManifestValidationResult, type ShadowIntensity, type ShadowSurface, type ThemeConfig, type ThemeMode, type ThemePreset, type ThemePresetColors, type ThemePresetFonts, type ThemePresetRadii, type ThemePresetShadows, ThemeProvider, type ThemeProviderMode, type ThemeProviderProps, type VariantAxes, type VariantOverride, applyThemePreset, audiobookPreset, bestTextColor, buttonSizes, categoricalPalette, componentElevationRanges, createFlatShadow, createPressedHoverShadow, createPressedShadow, createRaisedHoverShadow, createRaisedShadow, darkThemeCSSVars, darken, defaultPreset, discreteRainbow, divergingScale, elevationSystem, getBaseSurfaceColor, getCategoricalColor, getDiscreteRainbowColor, getElevationConfig, getElevationShadow, getElevationSurface, getGlowShadow, getHoverColors, getSemanticColors, getThemeCSSVars, getValidatedElevation, gluestackConfig, hexToRgb, hsvToRgb, isCssPropertyManifest, isDark, lightThemeCSSVars, lighten, linearGradient, neumorphicShadows, primitiveBorderRadius, primitiveBreakpoints, primitiveColors, primitiveRamps, primitiveShadows, primitiveSpacing, primitiveTypography, primitiveZIndex, resolveColor, rgbToHex, rgbToHsv, semanticColorsDark, semanticColorsLight, semanticTypography, sequentialEffort, shadowColors, surfaceGradient, validateCssPropertyManifest };
|