@titan-design/react-ui 0.13.0 → 0.14.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/README.md +14 -0
- package/dist/bodymap.js +129 -76
- package/dist/bodymap.js.map +1 -1
- package/dist/bodymap.mjs +129 -76
- package/dist/bodymap.mjs.map +1 -1
- package/dist/index.d.mts +117 -26
- package/dist/index.d.ts +117 -26
- package/dist/index.js +677 -450
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +673 -451
- package/dist/index.mjs.map +1 -1
- package/dist/{pages-_3Ajpiqu.d.ts → pages-CsjsUn0G.d.ts} +30 -13
- package/dist/{pages-CpW3OB3g.d.mts → pages-ZbT_pD_U.d.mts} +30 -13
- package/dist/pages.d.mts +1 -1
- package/dist/pages.d.ts +1 -1
- package/dist/pages.js +676 -701
- package/dist/pages.js.map +1 -1
- package/dist/pages.mjs +676 -701
- package/dist/pages.mjs.map +1 -1
- package/dist/theme/index.d.mts +31 -7
- package/dist/theme/index.d.ts +31 -7
- package/dist/theme/index.js +84 -20
- package/dist/theme/index.js.map +1 -1
- package/dist/theme/index.mjs +83 -21
- package/dist/theme/index.mjs.map +1 -1
- package/dist/theme/tokens-css.js +84 -20
- package/dist/theme/tokens-css.js.map +1 -1
- package/dist/theme/tokens-css.mjs +84 -20
- package/dist/theme/tokens-css.mjs.map +1 -1
- package/dist/theme/tokens.d.mts +56 -7
- package/dist/theme/tokens.d.ts +56 -7
- package/dist/theme/tokens.js +72 -20
- package/dist/theme/tokens.js.map +1 -1
- package/dist/theme/tokens.mjs +71 -21
- package/dist/theme/tokens.mjs.map +1 -1
- package/docs/render-testing-pattern.md +130 -0
- package/package.json +1 -1
- package/src/arch/Architecture.stories.tsx +3 -1
- package/src/arch/arch-graph.json +74 -72
- package/src/components/custom/ActiveWork/InitiativeBrief.tsx +2 -1
- package/src/components/custom/CircularTimer/CircularTimer.stories.tsx +8 -3
- package/src/components/custom/EmptyState/EmptyState.stories.tsx +1 -1
- package/src/components/custom/Gauge/Gauge.stories.tsx +4 -1
- package/src/components/custom/Gauge/Gauge.tsx +3 -1
- package/src/components/custom/Scatter/Scatter.stories.tsx +10 -7
- package/src/components/custom/Scatter/Scatter.tsx +6 -4
- package/src/components/custom/Sidebar/Sidebar.stories.tsx +1 -1
- package/src/components/custom/Table/Table.stories.tsx +1 -1
- package/src/components/custom/Table/Table.tsx +2 -2
- package/src/components/custom/Treemap/Treemap.stories.tsx +13 -10
- package/src/components/custom/Treemap/Treemap.tsx +4 -1
- package/src/components/custom/Workout/ActiveWorkoutPage.stories.tsx +2 -1
- package/src/components/custom/Workout/BaseBadge.stories.tsx +11 -7
- package/src/components/custom/Workout/BaseBadge.tsx +3 -2
- package/src/components/custom/Workout/BodyMap.tsx +5 -3
- package/src/components/custom/Workout/BodyMapDetailPanel.stories.tsx +13 -3
- package/src/components/custom/Workout/BodyMapDetailPanel.tsx +5 -3
- package/src/components/custom/Workout/CapacityBandChart.stories.tsx +2 -1
- package/src/components/custom/Workout/CapacityBandChart.tsx +5 -3
- package/src/components/custom/Workout/DeviationBar.test.tsx +5 -2
- package/src/components/custom/Workout/DeviationBar.tsx +5 -2
- package/src/components/custom/Workout/DualVelocityStrip.stories.tsx +7 -6
- package/src/components/custom/Workout/DualVelocityStrip.test.tsx +29 -16
- package/src/components/custom/Workout/ExerciseCard.stories.tsx +8 -8
- package/src/components/custom/Workout/ExerciseCard.test.tsx +39 -19
- package/src/components/custom/Workout/ExerciseCard.tsx +92 -167
- package/src/components/custom/Workout/ExerciseCardHeading.stories.tsx +89 -6
- package/src/components/custom/Workout/ExerciseCardHeading.test.tsx +189 -1
- package/src/components/custom/Workout/ExerciseCardHeading.tsx +167 -18
- package/src/components/custom/Workout/ExerciseDetailPage.tsx +3 -2
- package/src/components/custom/Workout/ExerciseHeading.tsx +192 -47
- package/src/components/custom/Workout/ExerciseIndicator.stories.tsx +6 -5
- package/src/components/custom/Workout/InputBar.tsx +4 -2
- package/src/components/custom/Workout/IntensityBar.tsx +4 -1
- package/src/components/custom/Workout/MesoCard.tsx +2 -1
- package/src/components/custom/Workout/MesoStatusCard.tsx +11 -10
- package/src/components/custom/Workout/PlaceholderStrip.stories.tsx +8 -3
- package/src/components/custom/Workout/PrHistoryModal.stories.tsx +12 -2
- package/src/components/custom/Workout/README.md +58 -12
- package/src/components/custom/Workout/ReadinessCheck.tsx +4 -2
- package/src/components/custom/Workout/RestTimer.stories.tsx +13 -2
- package/src/components/custom/Workout/RestTimer.tsx +4 -2
- package/src/components/custom/Workout/SegmentedBar.stories.tsx +16 -12
- package/src/components/custom/Workout/SegmentedBar.tsx +4 -3
- package/src/components/custom/Workout/SetStrip.stories.tsx +3 -2
- package/src/components/custom/Workout/SetsRepsLoad.tsx +23 -9
- package/src/components/custom/Workout/Sparkline.stories.tsx +13 -10
- package/src/components/custom/Workout/StrengthTrendChart.stories.tsx +2 -1
- package/src/components/custom/Workout/StrengthTrendChart.tsx +8 -6
- package/src/components/custom/Workout/TempoDisplay.stories.tsx +4 -3
- package/src/components/custom/Workout/TempoDisplay.tsx +2 -0
- package/src/components/custom/Workout/VelocityStrip.dual.stories.tsx +3 -2
- package/src/components/custom/Workout/VelocityStrip.expanded.stories.tsx +1 -1
- package/src/components/custom/Workout/VelocityStrip.hero.stories.tsx +40 -0
- package/src/components/custom/Workout/VelocityStrip.test.tsx +48 -6
- package/src/components/custom/Workout/VelocityStrip.tsx +23 -14
- package/src/components/custom/Workout/ZoneTrack.stories.tsx +3 -1
- package/src/components/custom/Workout/exerciseRowState.ts +29 -0
- package/src/components/custom/Workout/index.ts +12 -2
- package/src/components/custom/Workout/metricText.stories.tsx +9 -8
- package/src/components/custom/Workout/metricText.tsx +4 -2
- package/src/components/custom/Workout/setHeadingKit.tsx +12 -10
- package/src/components/custom/Workout/velocity-story-kit.tsx +2 -2
- package/src/components/custom/charts/README.md +5 -0
- package/src/components/custom/charts/SetBarChart.test.tsx +16 -0
- package/src/components/custom/charts/SetBarChart.tsx +14 -5
- package/src/components/custom/charts/flatBarGeometry.test.ts +41 -0
- package/src/components/custom/charts/flatBarGeometry.ts +32 -0
- package/src/components/custom/stepper/Stepper.tsx +8 -6
- package/src/components/ui/alert/Alert.stories.tsx +14 -4
- package/src/components/ui/alert/Alert.tsx +24 -3
- package/src/components/ui/button/Button.tsx +12 -12
- package/src/components/ui/checkbox/Checkbox.tsx +2 -2
- package/src/components/ui/data-row/DataRow.stories.tsx +6 -2
- package/src/components/ui/drawer/Drawer.tsx +4 -1
- package/src/components/ui/icon-box/IconBox.tsx +8 -6
- package/src/components/ui/indicator/Indicator.stories.tsx +4 -3
- package/src/components/ui/list-item/ListItem.stories.tsx +7 -4
- package/src/components/ui/modal/Modal.tsx +2 -0
- package/src/components/ui/pill/Pill.stories.tsx +53 -0
- package/src/components/ui/pill/Pill.tsx +10 -6
- package/src/components/ui/popover/Popover.stories.tsx +1 -1
- package/src/components/ui/progress/Progress.tsx +9 -6
- package/src/components/ui/radio/Radio.tsx +1 -1
- package/src/components/ui/section/Section.stories.tsx +10 -10
- package/src/components/ui/select/Select.tsx +2 -1
- package/src/components/ui/spinner/Spinner.tsx +3 -1
- package/src/components/ui/stack/Stack.stories.tsx +7 -7
- package/src/components/ui/surface/Surface.stories.tsx +75 -28
- package/src/components/ui/switch/Switch.tsx +1 -1
- package/src/components/ui/tabs/Tabs.tsx +4 -2
- package/src/components/ui/toast/Toast.tsx +6 -4
- package/src/components/ui/toolbar-button/ToolbarButton.tsx +13 -6
- package/src/stories/PresetShowcase.stories.tsx +1 -1
- package/src/test/no-raw-color.test.ts +39 -0
- package/src/theme/Alpha.stories.tsx +103 -0
- package/src/theme/ProposedTokensVW82.stories.tsx +414 -0
- package/src/theme/config.ts +12 -0
- package/src/theme/global.css +15 -3
- package/src/theme/subtle-tone-weight.test.ts +163 -0
- package/src/theme/tailwind-var-opacity.test.ts +163 -0
- package/src/theme/tokens/primitives.ts +33 -0
- package/src/theme/tokens/semantic-hex-guard.test.ts +322 -0
- package/src/theme/tokens/semantic.ts +56 -20
- package/src/utils/colors.alpha-adoption.test.ts +408 -0
- package/tailwind.config.js +50 -9
package/dist/theme/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ThemeMode, getSemanticColors } from './tokens.mjs';
|
|
2
|
-
export { CATEGORICAL_CVD_SAFE_MAX, CategoricalVariant, SURFACE_PLANE_STEPS, alertRedVivid, bestTextColor, buttonSizes, categoricalPalette, discreteRainbow, divergingScale, getCategoricalColor, getDiscreteRainbowColor, greyRamp, primitiveBorderRadius, primitiveBreakpoints, primitiveColors, primitiveRamps, primitiveSpacing, primitiveTypography, primitiveZIndex, semanticColorsDark, semanticColorsLight, semanticTypography, sequentialEffort } from './tokens.mjs';
|
|
2
|
+
export { CATEGORICAL_CVD_SAFE_MAX, CategoricalVariant, SURFACE_PLANE_STEPS, alertRedVivid, bestTextColor, buttonSizes, categoricalPalette, discreteRainbow, divergingScale, getCategoricalColor, getDiscreteRainbowColor, greyRamp, primitiveBorderRadius, primitiveBreakpoints, primitiveColors, primitiveRamps, primitiveSpacing, primitiveTypography, primitiveZIndex, resultPaletteColors, semanticColorsDark, semanticColorsLight, semanticPins, semanticTypography, sequentialEffort } from './tokens.mjs';
|
|
3
3
|
import { ViewStyle, TextStyle, ViewProps } from 'react-native';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -175,6 +175,8 @@ declare const lightThemeCSSVars: {
|
|
|
175
175
|
readonly '--color-brand-secondary-strong': "rgba(48, 123, 155, 0.50)";
|
|
176
176
|
readonly '--color-on-brand-primary': "#FFFFFF";
|
|
177
177
|
readonly '--color-on-brand-secondary': "#FFFFFF";
|
|
178
|
+
readonly '--color-on-brand-primary-subtle': "#FF7900";
|
|
179
|
+
readonly '--color-on-brand-secondary-subtle': "#307B9B";
|
|
178
180
|
readonly '--color-status-success': "#2ED573";
|
|
179
181
|
readonly '--color-status-success-subtle': "#E3FFEE";
|
|
180
182
|
readonly '--color-status-success-muted': "rgba(46, 213, 115, 0.30)";
|
|
@@ -236,6 +238,10 @@ declare const lightThemeCSSVars: {
|
|
|
236
238
|
readonly '--color-on-status-error': "#FFFFFF";
|
|
237
239
|
readonly '--color-on-status-warning': "#FFFFFF";
|
|
238
240
|
readonly '--color-on-status-info': "#FFFFFF";
|
|
241
|
+
readonly '--color-on-status-success-subtle': "#2ED573";
|
|
242
|
+
readonly '--color-on-status-error-subtle': "#D14343";
|
|
243
|
+
readonly '--color-on-status-warning-subtle': "#F9B415";
|
|
244
|
+
readonly '--color-on-status-info-subtle': "#2196F3";
|
|
239
245
|
readonly '--color-result-improve': "#4caf50";
|
|
240
246
|
readonly '--color-result-improve-light': "rgba(76, 175, 80, 0.12)";
|
|
241
247
|
readonly '--color-result-improve-dark': "#248a24";
|
|
@@ -300,11 +306,13 @@ declare const darkThemeCSSVars: {
|
|
|
300
306
|
readonly '--color-brand-secondary': "#307B9B";
|
|
301
307
|
readonly '--color-brand-secondary-light': "#2697B7";
|
|
302
308
|
readonly '--color-brand-secondary-dark': "#2A617F";
|
|
303
|
-
readonly '--color-brand-secondary-subtle': "rgba(
|
|
309
|
+
readonly '--color-brand-secondary-subtle': "rgba(34, 211, 238, 0.12)";
|
|
304
310
|
readonly '--color-brand-secondary-muted': "rgba(48, 123, 155, 0.30)";
|
|
305
311
|
readonly '--color-brand-secondary-strong': "rgba(48, 123, 155, 0.50)";
|
|
306
312
|
readonly '--color-on-brand-primary': "#FFFFFF";
|
|
307
313
|
readonly '--color-on-brand-secondary': "#FFFFFF";
|
|
314
|
+
readonly '--color-on-brand-primary-subtle': "#FF7900";
|
|
315
|
+
readonly '--color-on-brand-secondary-subtle': "#22D3EE";
|
|
308
316
|
readonly '--color-status-success': "#2ED573";
|
|
309
317
|
readonly '--color-status-success-subtle': "rgba(46, 213, 115, 0.12)";
|
|
310
318
|
readonly '--color-status-success-muted': "rgba(46, 213, 115, 0.30)";
|
|
@@ -312,7 +320,7 @@ declare const darkThemeCSSVars: {
|
|
|
312
320
|
readonly '--color-status-live': "#2ED573";
|
|
313
321
|
readonly '--color-status-live-muted': "#22A444";
|
|
314
322
|
readonly '--color-status-error': "#D14343";
|
|
315
|
-
readonly '--color-status-error-subtle': "rgba(
|
|
323
|
+
readonly '--color-status-error-subtle': "rgba(247, 113, 117, 0.08)";
|
|
316
324
|
readonly '--color-status-error-muted': "rgba(209, 67, 67, 0.30)";
|
|
317
325
|
readonly '--color-status-error-strong': "rgba(209, 67, 67, 0.50)";
|
|
318
326
|
readonly '--color-status-warning': "#F9B415";
|
|
@@ -320,7 +328,7 @@ declare const darkThemeCSSVars: {
|
|
|
320
328
|
readonly '--color-status-warning-muted': "rgba(249, 180, 21, 0.30)";
|
|
321
329
|
readonly '--color-status-warning-strong': "rgba(249, 180, 21, 0.50)";
|
|
322
330
|
readonly '--color-status-info': "#2196F3";
|
|
323
|
-
readonly '--color-status-info-subtle': "rgba(
|
|
331
|
+
readonly '--color-status-info-subtle': "rgba(120, 194, 255, 0.12)";
|
|
324
332
|
readonly '--color-status-info-muted': "rgba(33, 150, 243, 0.30)";
|
|
325
333
|
readonly '--color-status-info-strong': "rgba(33, 150, 243, 0.50)";
|
|
326
334
|
readonly '--color-status-error-vivid': "#FF4757";
|
|
@@ -366,6 +374,10 @@ declare const darkThemeCSSVars: {
|
|
|
366
374
|
readonly '--color-on-status-error': "#FFFFFF";
|
|
367
375
|
readonly '--color-on-status-warning': "#FFFFFF";
|
|
368
376
|
readonly '--color-on-status-info': "#FFFFFF";
|
|
377
|
+
readonly '--color-on-status-success-subtle': "#2ED573";
|
|
378
|
+
readonly '--color-on-status-error-subtle': "#F77175";
|
|
379
|
+
readonly '--color-on-status-warning-subtle': "#F9B415";
|
|
380
|
+
readonly '--color-on-status-info-subtle': "#78C2FF";
|
|
369
381
|
readonly '--color-result-improve': "#4caf50";
|
|
370
382
|
readonly '--color-result-improve-light': "rgba(76, 175, 80, 0.16)";
|
|
371
383
|
readonly '--color-result-improve-dark': "#248a24";
|
|
@@ -435,6 +447,8 @@ declare function getThemeCSSVars(mode: ThemeMode): {
|
|
|
435
447
|
readonly '--color-brand-secondary-strong': "rgba(48, 123, 155, 0.50)";
|
|
436
448
|
readonly '--color-on-brand-primary': "#FFFFFF";
|
|
437
449
|
readonly '--color-on-brand-secondary': "#FFFFFF";
|
|
450
|
+
readonly '--color-on-brand-primary-subtle': "#FF7900";
|
|
451
|
+
readonly '--color-on-brand-secondary-subtle': "#307B9B";
|
|
438
452
|
readonly '--color-status-success': "#2ED573";
|
|
439
453
|
readonly '--color-status-success-subtle': "#E3FFEE";
|
|
440
454
|
readonly '--color-status-success-muted': "rgba(46, 213, 115, 0.30)";
|
|
@@ -496,6 +510,10 @@ declare function getThemeCSSVars(mode: ThemeMode): {
|
|
|
496
510
|
readonly '--color-on-status-error': "#FFFFFF";
|
|
497
511
|
readonly '--color-on-status-warning': "#FFFFFF";
|
|
498
512
|
readonly '--color-on-status-info': "#FFFFFF";
|
|
513
|
+
readonly '--color-on-status-success-subtle': "#2ED573";
|
|
514
|
+
readonly '--color-on-status-error-subtle': "#D14343";
|
|
515
|
+
readonly '--color-on-status-warning-subtle': "#F9B415";
|
|
516
|
+
readonly '--color-on-status-info-subtle': "#2196F3";
|
|
499
517
|
readonly '--color-result-improve': "#4caf50";
|
|
500
518
|
readonly '--color-result-improve-light': "rgba(76, 175, 80, 0.12)";
|
|
501
519
|
readonly '--color-result-improve-dark': "#248a24";
|
|
@@ -559,11 +577,13 @@ declare function getThemeCSSVars(mode: ThemeMode): {
|
|
|
559
577
|
readonly '--color-brand-secondary': "#307B9B";
|
|
560
578
|
readonly '--color-brand-secondary-light': "#2697B7";
|
|
561
579
|
readonly '--color-brand-secondary-dark': "#2A617F";
|
|
562
|
-
readonly '--color-brand-secondary-subtle': "rgba(
|
|
580
|
+
readonly '--color-brand-secondary-subtle': "rgba(34, 211, 238, 0.12)";
|
|
563
581
|
readonly '--color-brand-secondary-muted': "rgba(48, 123, 155, 0.30)";
|
|
564
582
|
readonly '--color-brand-secondary-strong': "rgba(48, 123, 155, 0.50)";
|
|
565
583
|
readonly '--color-on-brand-primary': "#FFFFFF";
|
|
566
584
|
readonly '--color-on-brand-secondary': "#FFFFFF";
|
|
585
|
+
readonly '--color-on-brand-primary-subtle': "#FF7900";
|
|
586
|
+
readonly '--color-on-brand-secondary-subtle': "#22D3EE";
|
|
567
587
|
readonly '--color-status-success': "#2ED573";
|
|
568
588
|
readonly '--color-status-success-subtle': "rgba(46, 213, 115, 0.12)";
|
|
569
589
|
readonly '--color-status-success-muted': "rgba(46, 213, 115, 0.30)";
|
|
@@ -571,7 +591,7 @@ declare function getThemeCSSVars(mode: ThemeMode): {
|
|
|
571
591
|
readonly '--color-status-live': "#2ED573";
|
|
572
592
|
readonly '--color-status-live-muted': "#22A444";
|
|
573
593
|
readonly '--color-status-error': "#D14343";
|
|
574
|
-
readonly '--color-status-error-subtle': "rgba(
|
|
594
|
+
readonly '--color-status-error-subtle': "rgba(247, 113, 117, 0.08)";
|
|
575
595
|
readonly '--color-status-error-muted': "rgba(209, 67, 67, 0.30)";
|
|
576
596
|
readonly '--color-status-error-strong': "rgba(209, 67, 67, 0.50)";
|
|
577
597
|
readonly '--color-status-warning': "#F9B415";
|
|
@@ -579,7 +599,7 @@ declare function getThemeCSSVars(mode: ThemeMode): {
|
|
|
579
599
|
readonly '--color-status-warning-muted': "rgba(249, 180, 21, 0.30)";
|
|
580
600
|
readonly '--color-status-warning-strong': "rgba(249, 180, 21, 0.50)";
|
|
581
601
|
readonly '--color-status-info': "#2196F3";
|
|
582
|
-
readonly '--color-status-info-subtle': "rgba(
|
|
602
|
+
readonly '--color-status-info-subtle': "rgba(120, 194, 255, 0.12)";
|
|
583
603
|
readonly '--color-status-info-muted': "rgba(33, 150, 243, 0.30)";
|
|
584
604
|
readonly '--color-status-info-strong': "rgba(33, 150, 243, 0.50)";
|
|
585
605
|
readonly '--color-status-error-vivid': "#FF4757";
|
|
@@ -625,6 +645,10 @@ declare function getThemeCSSVars(mode: ThemeMode): {
|
|
|
625
645
|
readonly '--color-on-status-error': "#FFFFFF";
|
|
626
646
|
readonly '--color-on-status-warning': "#FFFFFF";
|
|
627
647
|
readonly '--color-on-status-info': "#FFFFFF";
|
|
648
|
+
readonly '--color-on-status-success-subtle': "#2ED573";
|
|
649
|
+
readonly '--color-on-status-error-subtle': "#F77175";
|
|
650
|
+
readonly '--color-on-status-warning-subtle': "#F9B415";
|
|
651
|
+
readonly '--color-on-status-info-subtle': "#78C2FF";
|
|
628
652
|
readonly '--color-result-improve': "#4caf50";
|
|
629
653
|
readonly '--color-result-improve-light': "rgba(76, 175, 80, 0.16)";
|
|
630
654
|
readonly '--color-result-improve-dark': "#248a24";
|
package/dist/theme/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ThemeMode, getSemanticColors } from './tokens.js';
|
|
2
|
-
export { CATEGORICAL_CVD_SAFE_MAX, CategoricalVariant, SURFACE_PLANE_STEPS, alertRedVivid, bestTextColor, buttonSizes, categoricalPalette, discreteRainbow, divergingScale, getCategoricalColor, getDiscreteRainbowColor, greyRamp, primitiveBorderRadius, primitiveBreakpoints, primitiveColors, primitiveRamps, primitiveSpacing, primitiveTypography, primitiveZIndex, semanticColorsDark, semanticColorsLight, semanticTypography, sequentialEffort } from './tokens.js';
|
|
2
|
+
export { CATEGORICAL_CVD_SAFE_MAX, CategoricalVariant, SURFACE_PLANE_STEPS, alertRedVivid, bestTextColor, buttonSizes, categoricalPalette, discreteRainbow, divergingScale, getCategoricalColor, getDiscreteRainbowColor, greyRamp, primitiveBorderRadius, primitiveBreakpoints, primitiveColors, primitiveRamps, primitiveSpacing, primitiveTypography, primitiveZIndex, resultPaletteColors, semanticColorsDark, semanticColorsLight, semanticPins, semanticTypography, sequentialEffort } from './tokens.js';
|
|
3
3
|
import { ViewStyle, TextStyle, ViewProps } from 'react-native';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -175,6 +175,8 @@ declare const lightThemeCSSVars: {
|
|
|
175
175
|
readonly '--color-brand-secondary-strong': "rgba(48, 123, 155, 0.50)";
|
|
176
176
|
readonly '--color-on-brand-primary': "#FFFFFF";
|
|
177
177
|
readonly '--color-on-brand-secondary': "#FFFFFF";
|
|
178
|
+
readonly '--color-on-brand-primary-subtle': "#FF7900";
|
|
179
|
+
readonly '--color-on-brand-secondary-subtle': "#307B9B";
|
|
178
180
|
readonly '--color-status-success': "#2ED573";
|
|
179
181
|
readonly '--color-status-success-subtle': "#E3FFEE";
|
|
180
182
|
readonly '--color-status-success-muted': "rgba(46, 213, 115, 0.30)";
|
|
@@ -236,6 +238,10 @@ declare const lightThemeCSSVars: {
|
|
|
236
238
|
readonly '--color-on-status-error': "#FFFFFF";
|
|
237
239
|
readonly '--color-on-status-warning': "#FFFFFF";
|
|
238
240
|
readonly '--color-on-status-info': "#FFFFFF";
|
|
241
|
+
readonly '--color-on-status-success-subtle': "#2ED573";
|
|
242
|
+
readonly '--color-on-status-error-subtle': "#D14343";
|
|
243
|
+
readonly '--color-on-status-warning-subtle': "#F9B415";
|
|
244
|
+
readonly '--color-on-status-info-subtle': "#2196F3";
|
|
239
245
|
readonly '--color-result-improve': "#4caf50";
|
|
240
246
|
readonly '--color-result-improve-light': "rgba(76, 175, 80, 0.12)";
|
|
241
247
|
readonly '--color-result-improve-dark': "#248a24";
|
|
@@ -300,11 +306,13 @@ declare const darkThemeCSSVars: {
|
|
|
300
306
|
readonly '--color-brand-secondary': "#307B9B";
|
|
301
307
|
readonly '--color-brand-secondary-light': "#2697B7";
|
|
302
308
|
readonly '--color-brand-secondary-dark': "#2A617F";
|
|
303
|
-
readonly '--color-brand-secondary-subtle': "rgba(
|
|
309
|
+
readonly '--color-brand-secondary-subtle': "rgba(34, 211, 238, 0.12)";
|
|
304
310
|
readonly '--color-brand-secondary-muted': "rgba(48, 123, 155, 0.30)";
|
|
305
311
|
readonly '--color-brand-secondary-strong': "rgba(48, 123, 155, 0.50)";
|
|
306
312
|
readonly '--color-on-brand-primary': "#FFFFFF";
|
|
307
313
|
readonly '--color-on-brand-secondary': "#FFFFFF";
|
|
314
|
+
readonly '--color-on-brand-primary-subtle': "#FF7900";
|
|
315
|
+
readonly '--color-on-brand-secondary-subtle': "#22D3EE";
|
|
308
316
|
readonly '--color-status-success': "#2ED573";
|
|
309
317
|
readonly '--color-status-success-subtle': "rgba(46, 213, 115, 0.12)";
|
|
310
318
|
readonly '--color-status-success-muted': "rgba(46, 213, 115, 0.30)";
|
|
@@ -312,7 +320,7 @@ declare const darkThemeCSSVars: {
|
|
|
312
320
|
readonly '--color-status-live': "#2ED573";
|
|
313
321
|
readonly '--color-status-live-muted': "#22A444";
|
|
314
322
|
readonly '--color-status-error': "#D14343";
|
|
315
|
-
readonly '--color-status-error-subtle': "rgba(
|
|
323
|
+
readonly '--color-status-error-subtle': "rgba(247, 113, 117, 0.08)";
|
|
316
324
|
readonly '--color-status-error-muted': "rgba(209, 67, 67, 0.30)";
|
|
317
325
|
readonly '--color-status-error-strong': "rgba(209, 67, 67, 0.50)";
|
|
318
326
|
readonly '--color-status-warning': "#F9B415";
|
|
@@ -320,7 +328,7 @@ declare const darkThemeCSSVars: {
|
|
|
320
328
|
readonly '--color-status-warning-muted': "rgba(249, 180, 21, 0.30)";
|
|
321
329
|
readonly '--color-status-warning-strong': "rgba(249, 180, 21, 0.50)";
|
|
322
330
|
readonly '--color-status-info': "#2196F3";
|
|
323
|
-
readonly '--color-status-info-subtle': "rgba(
|
|
331
|
+
readonly '--color-status-info-subtle': "rgba(120, 194, 255, 0.12)";
|
|
324
332
|
readonly '--color-status-info-muted': "rgba(33, 150, 243, 0.30)";
|
|
325
333
|
readonly '--color-status-info-strong': "rgba(33, 150, 243, 0.50)";
|
|
326
334
|
readonly '--color-status-error-vivid': "#FF4757";
|
|
@@ -366,6 +374,10 @@ declare const darkThemeCSSVars: {
|
|
|
366
374
|
readonly '--color-on-status-error': "#FFFFFF";
|
|
367
375
|
readonly '--color-on-status-warning': "#FFFFFF";
|
|
368
376
|
readonly '--color-on-status-info': "#FFFFFF";
|
|
377
|
+
readonly '--color-on-status-success-subtle': "#2ED573";
|
|
378
|
+
readonly '--color-on-status-error-subtle': "#F77175";
|
|
379
|
+
readonly '--color-on-status-warning-subtle': "#F9B415";
|
|
380
|
+
readonly '--color-on-status-info-subtle': "#78C2FF";
|
|
369
381
|
readonly '--color-result-improve': "#4caf50";
|
|
370
382
|
readonly '--color-result-improve-light': "rgba(76, 175, 80, 0.16)";
|
|
371
383
|
readonly '--color-result-improve-dark': "#248a24";
|
|
@@ -435,6 +447,8 @@ declare function getThemeCSSVars(mode: ThemeMode): {
|
|
|
435
447
|
readonly '--color-brand-secondary-strong': "rgba(48, 123, 155, 0.50)";
|
|
436
448
|
readonly '--color-on-brand-primary': "#FFFFFF";
|
|
437
449
|
readonly '--color-on-brand-secondary': "#FFFFFF";
|
|
450
|
+
readonly '--color-on-brand-primary-subtle': "#FF7900";
|
|
451
|
+
readonly '--color-on-brand-secondary-subtle': "#307B9B";
|
|
438
452
|
readonly '--color-status-success': "#2ED573";
|
|
439
453
|
readonly '--color-status-success-subtle': "#E3FFEE";
|
|
440
454
|
readonly '--color-status-success-muted': "rgba(46, 213, 115, 0.30)";
|
|
@@ -496,6 +510,10 @@ declare function getThemeCSSVars(mode: ThemeMode): {
|
|
|
496
510
|
readonly '--color-on-status-error': "#FFFFFF";
|
|
497
511
|
readonly '--color-on-status-warning': "#FFFFFF";
|
|
498
512
|
readonly '--color-on-status-info': "#FFFFFF";
|
|
513
|
+
readonly '--color-on-status-success-subtle': "#2ED573";
|
|
514
|
+
readonly '--color-on-status-error-subtle': "#D14343";
|
|
515
|
+
readonly '--color-on-status-warning-subtle': "#F9B415";
|
|
516
|
+
readonly '--color-on-status-info-subtle': "#2196F3";
|
|
499
517
|
readonly '--color-result-improve': "#4caf50";
|
|
500
518
|
readonly '--color-result-improve-light': "rgba(76, 175, 80, 0.12)";
|
|
501
519
|
readonly '--color-result-improve-dark': "#248a24";
|
|
@@ -559,11 +577,13 @@ declare function getThemeCSSVars(mode: ThemeMode): {
|
|
|
559
577
|
readonly '--color-brand-secondary': "#307B9B";
|
|
560
578
|
readonly '--color-brand-secondary-light': "#2697B7";
|
|
561
579
|
readonly '--color-brand-secondary-dark': "#2A617F";
|
|
562
|
-
readonly '--color-brand-secondary-subtle': "rgba(
|
|
580
|
+
readonly '--color-brand-secondary-subtle': "rgba(34, 211, 238, 0.12)";
|
|
563
581
|
readonly '--color-brand-secondary-muted': "rgba(48, 123, 155, 0.30)";
|
|
564
582
|
readonly '--color-brand-secondary-strong': "rgba(48, 123, 155, 0.50)";
|
|
565
583
|
readonly '--color-on-brand-primary': "#FFFFFF";
|
|
566
584
|
readonly '--color-on-brand-secondary': "#FFFFFF";
|
|
585
|
+
readonly '--color-on-brand-primary-subtle': "#FF7900";
|
|
586
|
+
readonly '--color-on-brand-secondary-subtle': "#22D3EE";
|
|
567
587
|
readonly '--color-status-success': "#2ED573";
|
|
568
588
|
readonly '--color-status-success-subtle': "rgba(46, 213, 115, 0.12)";
|
|
569
589
|
readonly '--color-status-success-muted': "rgba(46, 213, 115, 0.30)";
|
|
@@ -571,7 +591,7 @@ declare function getThemeCSSVars(mode: ThemeMode): {
|
|
|
571
591
|
readonly '--color-status-live': "#2ED573";
|
|
572
592
|
readonly '--color-status-live-muted': "#22A444";
|
|
573
593
|
readonly '--color-status-error': "#D14343";
|
|
574
|
-
readonly '--color-status-error-subtle': "rgba(
|
|
594
|
+
readonly '--color-status-error-subtle': "rgba(247, 113, 117, 0.08)";
|
|
575
595
|
readonly '--color-status-error-muted': "rgba(209, 67, 67, 0.30)";
|
|
576
596
|
readonly '--color-status-error-strong': "rgba(209, 67, 67, 0.50)";
|
|
577
597
|
readonly '--color-status-warning': "#F9B415";
|
|
@@ -579,7 +599,7 @@ declare function getThemeCSSVars(mode: ThemeMode): {
|
|
|
579
599
|
readonly '--color-status-warning-muted': "rgba(249, 180, 21, 0.30)";
|
|
580
600
|
readonly '--color-status-warning-strong': "rgba(249, 180, 21, 0.50)";
|
|
581
601
|
readonly '--color-status-info': "#2196F3";
|
|
582
|
-
readonly '--color-status-info-subtle': "rgba(
|
|
602
|
+
readonly '--color-status-info-subtle': "rgba(120, 194, 255, 0.12)";
|
|
583
603
|
readonly '--color-status-info-muted': "rgba(33, 150, 243, 0.30)";
|
|
584
604
|
readonly '--color-status-info-strong': "rgba(33, 150, 243, 0.50)";
|
|
585
605
|
readonly '--color-status-error-vivid': "#FF4757";
|
|
@@ -625,6 +645,10 @@ declare function getThemeCSSVars(mode: ThemeMode): {
|
|
|
625
645
|
readonly '--color-on-status-error': "#FFFFFF";
|
|
626
646
|
readonly '--color-on-status-warning': "#FFFFFF";
|
|
627
647
|
readonly '--color-on-status-info': "#FFFFFF";
|
|
648
|
+
readonly '--color-on-status-success-subtle': "#2ED573";
|
|
649
|
+
readonly '--color-on-status-error-subtle': "#F77175";
|
|
650
|
+
readonly '--color-on-status-warning-subtle': "#F9B415";
|
|
651
|
+
readonly '--color-on-status-info-subtle': "#78C2FF";
|
|
628
652
|
readonly '--color-result-improve': "#4caf50";
|
|
629
653
|
readonly '--color-result-improve-light': "rgba(76, 175, 80, 0.16)";
|
|
630
654
|
readonly '--color-result-improve-dark': "#248a24";
|
package/dist/theme/index.js
CHANGED
|
@@ -12,6 +12,26 @@ var primitiveColors = {
|
|
|
12
12
|
transparent: "transparent"
|
|
13
13
|
};
|
|
14
14
|
var alertRedVivid = "#FF4757";
|
|
15
|
+
var resultPaletteColors = {
|
|
16
|
+
improve: "#4caf50",
|
|
17
|
+
improveDark: "#248a24",
|
|
18
|
+
degrade: "#ef5350",
|
|
19
|
+
degradeDark: "#b30000",
|
|
20
|
+
inconclusive: "#9E9A97"
|
|
21
|
+
};
|
|
22
|
+
var semanticPins = {
|
|
23
|
+
// Cool navy-black; darker and more blue-shifted than any warm greyRamp step.
|
|
24
|
+
textPrimaryLight: "#121828",
|
|
25
|
+
// Cool blue-grey; outside greyRamp's warm (R>=G>=B) scale.
|
|
26
|
+
textSecondaryLight: "#65748B",
|
|
27
|
+
// Pure neutral grey (R=G=B); no warm greyRamp step lands on it exactly.
|
|
28
|
+
backgroundBaseLight: "#EBEBEB",
|
|
29
|
+
// Near-neutral grey, kept one step off backgroundBaseLight by design.
|
|
30
|
+
dividerLight: "#E8E9EB",
|
|
31
|
+
// Periwinkle/indigo; more purple than any primitiveRamps.blue step. Shared by
|
|
32
|
+
// dark-mode text-link, border-focus and border-input-focus.
|
|
33
|
+
focusIndigoDark: "#828DF8"
|
|
34
|
+
};
|
|
15
35
|
var greyRamp = {
|
|
16
36
|
50: "#F9F6F3",
|
|
17
37
|
// L*97.0 W6
|
|
@@ -444,6 +464,12 @@ var semanticColorsLight = {
|
|
|
444
464
|
// Text on brand backgrounds (on-*)
|
|
445
465
|
"on-brand-primary": primitiveColors.white,
|
|
446
466
|
"on-brand-secondary": primitiveColors.white,
|
|
467
|
+
// Text ON a `-subtle` fill. Light mode keeps today's pairing (the base token) so
|
|
468
|
+
// nothing moves here: light has the same disease mirrored — a light rung on a
|
|
469
|
+
// near-white ramp[50] fill — but correcting it belongs with the light-mode pass
|
|
470
|
+
// in AW-121, not this one.
|
|
471
|
+
"on-brand-primary-subtle": primitiveRamps.orange[400],
|
|
472
|
+
"on-brand-secondary-subtle": primitiveRamps.cyan[600],
|
|
447
473
|
// Status colors (status-*)
|
|
448
474
|
"status-success": primitiveRamps.green[300],
|
|
449
475
|
"status-success-light": primitiveRamps.green[200],
|
|
@@ -479,21 +505,26 @@ var semanticColorsLight = {
|
|
|
479
505
|
"status-info-subtle": primitiveRamps.blue[50],
|
|
480
506
|
"status-info-muted": "rgba(33, 150, 243, 0.30)",
|
|
481
507
|
"status-info-strong": "rgba(33, 150, 243, 0.50)",
|
|
508
|
+
// Text ON a `-subtle` fill — see the on-brand-*-subtle note above.
|
|
509
|
+
"on-status-success-subtle": primitiveRamps.green[300],
|
|
510
|
+
"on-status-error-subtle": primitiveRamps.red[600],
|
|
511
|
+
"on-status-warning-subtle": primitiveRamps.amber[300],
|
|
512
|
+
"on-status-info-subtle": primitiveRamps.blue[500],
|
|
482
513
|
// Text on status backgrounds (on-status-*)
|
|
483
514
|
"on-status-success": primitiveColors.white,
|
|
484
515
|
"on-status-error": primitiveColors.white,
|
|
485
516
|
"on-status-warning": primitiveColors.white,
|
|
486
517
|
"on-status-info": primitiveColors.white,
|
|
487
518
|
// Result/outcome indicators (result-*)
|
|
488
|
-
"result-improve":
|
|
519
|
+
"result-improve": resultPaletteColors.improve,
|
|
489
520
|
// Green - positive outcome
|
|
490
521
|
"result-improve-light": "rgba(76, 175, 80, 0.12)",
|
|
491
|
-
"result-improve-dark":
|
|
492
|
-
"result-degrade":
|
|
522
|
+
"result-improve-dark": resultPaletteColors.improveDark,
|
|
523
|
+
"result-degrade": resultPaletteColors.degrade,
|
|
493
524
|
// Red - negative outcome
|
|
494
525
|
"result-degrade-light": "rgba(239, 83, 80, 0.12)",
|
|
495
|
-
"result-degrade-dark":
|
|
496
|
-
"result-inconclusive":
|
|
526
|
+
"result-degrade-dark": resultPaletteColors.degradeDark,
|
|
527
|
+
"result-inconclusive": resultPaletteColors.inconclusive,
|
|
497
528
|
// Gray - no clear result
|
|
498
529
|
"result-inconclusive-light": "rgba(158, 154, 151, 0.12)",
|
|
499
530
|
"result-neutral": greyRamp[600],
|
|
@@ -525,8 +556,8 @@ var semanticColorsLight = {
|
|
|
525
556
|
"data-10": discreteRainbow[22],
|
|
526
557
|
// Dark Orange
|
|
527
558
|
// Text colors (text-*)
|
|
528
|
-
"text-primary":
|
|
529
|
-
"text-secondary":
|
|
559
|
+
"text-primary": semanticPins.textPrimaryLight,
|
|
560
|
+
"text-secondary": semanticPins.textSecondaryLight,
|
|
530
561
|
"text-tertiary": greyRamp[400],
|
|
531
562
|
"text-disabled": "rgba(55, 65, 81, 0.48)",
|
|
532
563
|
"text-inverse": primitiveColors.white,
|
|
@@ -542,7 +573,7 @@ var semanticColorsLight = {
|
|
|
542
573
|
"surface-input": greyRamp[50],
|
|
543
574
|
// Input field background (filled variant)
|
|
544
575
|
// Background colors (background-*)
|
|
545
|
-
"background-base":
|
|
576
|
+
"background-base": semanticPins.backgroundBaseLight,
|
|
546
577
|
"background-default": primitiveColors.white,
|
|
547
578
|
"background-subtle": greyRamp[50],
|
|
548
579
|
// Frame/bezel chrome — top bar + side nav shell, one step below
|
|
@@ -573,7 +604,7 @@ var semanticColorsLight = {
|
|
|
573
604
|
"interactive-disabled": "rgba(55, 65, 81, 0.12)",
|
|
574
605
|
"interactive-disabled-text": "rgba(55, 65, 81, 0.26)",
|
|
575
606
|
// Divider
|
|
576
|
-
divider:
|
|
607
|
+
divider: semanticPins.dividerLight,
|
|
577
608
|
// Avatar default
|
|
578
609
|
"avatar-background": greyRamp[600],
|
|
579
610
|
"avatar-text": primitiveColors.white
|
|
@@ -591,7 +622,7 @@ var semanticColorsDark = {
|
|
|
591
622
|
"brand-secondary": primitiveRamps.cyan[600],
|
|
592
623
|
"brand-secondary-light": primitiveRamps.cyan[500],
|
|
593
624
|
"brand-secondary-dark": primitiveRamps.cyan[700],
|
|
594
|
-
"brand-secondary-subtle": "rgba(
|
|
625
|
+
"brand-secondary-subtle": "rgba(34, 211, 238, 0.12)",
|
|
595
626
|
"brand-secondary-muted": "rgba(48, 123, 155, 0.30)",
|
|
596
627
|
"brand-secondary-strong": "rgba(48, 123, 155, 0.50)",
|
|
597
628
|
"brand-secondary-hover": primitiveRamps.cyan[500],
|
|
@@ -599,6 +630,14 @@ var semanticColorsDark = {
|
|
|
599
630
|
// Text on brand backgrounds
|
|
600
631
|
"on-brand-primary": primitiveColors.white,
|
|
601
632
|
"on-brand-secondary": primitiveColors.white,
|
|
633
|
+
// Text ON a `-subtle` fill. Its own role: `brand-primary` and friends are tuned to
|
|
634
|
+
// carry a white label as a solid fill, which makes the two deepest of them
|
|
635
|
+
// (cyan[600], red[600]) too dark to read as text on a dark plane. Levelling the
|
|
636
|
+
// family at rung 300 puts every tone within OKLCH L 0.769-0.813 instead of
|
|
637
|
+
// 0.550-0.813. Brand is deliberately left at its own orange[400] (operator, AW-133)
|
|
638
|
+
// so the Voltras tone never drifts; it is the one tone under AA on a raised card.
|
|
639
|
+
"on-brand-primary-subtle": primitiveRamps.orange[400],
|
|
640
|
+
"on-brand-secondary-subtle": primitiveRamps.cyan[300],
|
|
602
641
|
// Status colors
|
|
603
642
|
"status-success": primitiveRamps.green[300],
|
|
604
643
|
"status-success-light": primitiveRamps.green[200],
|
|
@@ -612,7 +651,10 @@ var semanticColorsDark = {
|
|
|
612
651
|
"status-error": primitiveRamps.red[600],
|
|
613
652
|
"status-error-light": primitiveRamps.red[500],
|
|
614
653
|
"status-error-dark": primitiveRamps.red[700],
|
|
615
|
-
|
|
654
|
+
// Alpha 0.08, not the family's 0.12: error's label is red[400], a rung darker than
|
|
655
|
+
// its siblings so it reads RED rather than pink (rung 300 has only 0.121 chroma).
|
|
656
|
+
// Thinning the fill buys back the contrast that extra darkness costs. See AW-133.
|
|
657
|
+
"status-error-subtle": "rgba(247, 113, 117, 0.08)",
|
|
616
658
|
"status-error-muted": "rgba(209, 67, 67, 0.30)",
|
|
617
659
|
"status-error-strong": "rgba(209, 67, 67, 0.50)",
|
|
618
660
|
"status-error-vivid": alertRedVivid,
|
|
@@ -630,7 +672,7 @@ var semanticColorsDark = {
|
|
|
630
672
|
"status-info": primitiveRamps.blue[500],
|
|
631
673
|
"status-info-light": primitiveRamps.blue[300],
|
|
632
674
|
"status-info-dark": primitiveRamps.blue[600],
|
|
633
|
-
"status-info-subtle": "rgba(
|
|
675
|
+
"status-info-subtle": "rgba(120, 194, 255, 0.12)",
|
|
634
676
|
"status-info-muted": "rgba(33, 150, 243, 0.30)",
|
|
635
677
|
"status-info-strong": "rgba(33, 150, 243, 0.50)",
|
|
636
678
|
// Text on status backgrounds
|
|
@@ -638,14 +680,22 @@ var semanticColorsDark = {
|
|
|
638
680
|
"on-status-error": primitiveColors.white,
|
|
639
681
|
"on-status-warning": primitiveColors.white,
|
|
640
682
|
"on-status-info": primitiveColors.white,
|
|
683
|
+
// Text ON a `-subtle` fill — see the on-brand-*-subtle note above. Error is the
|
|
684
|
+
// second deliberate exception to the rung-300 rule (operator, AW-133): red[300]
|
|
685
|
+
// levelled perfectly but read PINK, because a red that light can only hold 0.121
|
|
686
|
+
// chroma. red[400] carries 0.165 and reads red; its fill is thinned to compensate.
|
|
687
|
+
"on-status-success-subtle": primitiveRamps.green[300],
|
|
688
|
+
"on-status-error-subtle": primitiveRamps.red[400],
|
|
689
|
+
"on-status-warning-subtle": primitiveRamps.amber[300],
|
|
690
|
+
"on-status-info-subtle": primitiveRamps.blue[300],
|
|
641
691
|
// Result/outcome indicators (result-*)
|
|
642
|
-
"result-improve":
|
|
692
|
+
"result-improve": resultPaletteColors.improve,
|
|
643
693
|
"result-improve-light": "rgba(76, 175, 80, 0.16)",
|
|
644
|
-
"result-improve-dark":
|
|
645
|
-
"result-degrade":
|
|
694
|
+
"result-improve-dark": resultPaletteColors.improveDark,
|
|
695
|
+
"result-degrade": resultPaletteColors.degrade,
|
|
646
696
|
"result-degrade-light": "rgba(239, 83, 80, 0.16)",
|
|
647
|
-
"result-degrade-dark":
|
|
648
|
-
"result-inconclusive":
|
|
697
|
+
"result-degrade-dark": resultPaletteColors.degradeDark,
|
|
698
|
+
"result-inconclusive": resultPaletteColors.inconclusive,
|
|
649
699
|
"result-inconclusive-light": "rgba(158, 154, 151, 0.16)",
|
|
650
700
|
"result-neutral": greyRamp[400],
|
|
651
701
|
// Text on result backgrounds
|
|
@@ -676,7 +726,7 @@ var semanticColorsDark = {
|
|
|
676
726
|
"text-tertiary": greyRamp[500],
|
|
677
727
|
"text-disabled": "rgba(255, 255, 255, 0.38)",
|
|
678
728
|
"text-inverse": greyRamp[950],
|
|
679
|
-
"text-link":
|
|
729
|
+
"text-link": semanticPins.focusIndigoDark,
|
|
680
730
|
"text-link-hover": primitiveRamps.blue[400],
|
|
681
731
|
// Surface colors - dark backgrounds — warm-tapered DERIVED ramp (TD-surface-tokens,
|
|
682
732
|
// S-1, re-spaced S-3). Shipped verbatim from `deriveSurfaceRamp()` — see
|
|
@@ -726,10 +776,10 @@ var semanticColorsDark = {
|
|
|
726
776
|
// plane, so it keeps its job without collision.
|
|
727
777
|
"border-prominent": greyRamp[800],
|
|
728
778
|
// high-visibility divider
|
|
729
|
-
"border-focus":
|
|
779
|
+
"border-focus": semanticPins.focusIndigoDark,
|
|
730
780
|
"border-input": greyRamp[700],
|
|
731
781
|
"border-input-hover": greyRamp[600],
|
|
732
|
-
"border-input-focus":
|
|
782
|
+
"border-input-focus": semanticPins.focusIndigoDark,
|
|
733
783
|
"border-input-error": primitiveRamps.red[500],
|
|
734
784
|
// Alpha hairline separators — the primary separation cue (§4/S-2). Self-
|
|
735
785
|
// normalizing: composites toward white by ~the same amount on ANY plane, so
|
|
@@ -921,6 +971,8 @@ var lightThemeCSSVars = {
|
|
|
921
971
|
"--color-brand-secondary-strong": semanticColorsLight["brand-secondary-strong"],
|
|
922
972
|
"--color-on-brand-primary": semanticColorsLight["on-brand-primary"],
|
|
923
973
|
"--color-on-brand-secondary": semanticColorsLight["on-brand-secondary"],
|
|
974
|
+
"--color-on-brand-primary-subtle": semanticColorsLight["on-brand-primary-subtle"],
|
|
975
|
+
"--color-on-brand-secondary-subtle": semanticColorsLight["on-brand-secondary-subtle"],
|
|
924
976
|
"--color-status-success": semanticColorsLight["status-success"],
|
|
925
977
|
"--color-status-success-subtle": semanticColorsLight["status-success-subtle"],
|
|
926
978
|
"--color-status-success-muted": semanticColorsLight["status-success-muted"],
|
|
@@ -982,6 +1034,10 @@ var lightThemeCSSVars = {
|
|
|
982
1034
|
"--color-on-status-error": semanticColorsLight["on-status-error"],
|
|
983
1035
|
"--color-on-status-warning": semanticColorsLight["on-status-warning"],
|
|
984
1036
|
"--color-on-status-info": semanticColorsLight["on-status-info"],
|
|
1037
|
+
"--color-on-status-success-subtle": semanticColorsLight["on-status-success-subtle"],
|
|
1038
|
+
"--color-on-status-error-subtle": semanticColorsLight["on-status-error-subtle"],
|
|
1039
|
+
"--color-on-status-warning-subtle": semanticColorsLight["on-status-warning-subtle"],
|
|
1040
|
+
"--color-on-status-info-subtle": semanticColorsLight["on-status-info-subtle"],
|
|
985
1041
|
"--color-result-improve": semanticColorsLight["result-improve"],
|
|
986
1042
|
"--color-result-improve-light": semanticColorsLight["result-improve-light"],
|
|
987
1043
|
"--color-result-improve-dark": semanticColorsLight["result-improve-dark"],
|
|
@@ -1034,6 +1090,8 @@ var darkThemeCSSVars = {
|
|
|
1034
1090
|
"--color-brand-secondary-strong": semanticColorsDark["brand-secondary-strong"],
|
|
1035
1091
|
"--color-on-brand-primary": semanticColorsDark["on-brand-primary"],
|
|
1036
1092
|
"--color-on-brand-secondary": semanticColorsDark["on-brand-secondary"],
|
|
1093
|
+
"--color-on-brand-primary-subtle": semanticColorsDark["on-brand-primary-subtle"],
|
|
1094
|
+
"--color-on-brand-secondary-subtle": semanticColorsDark["on-brand-secondary-subtle"],
|
|
1037
1095
|
"--color-status-success": semanticColorsDark["status-success"],
|
|
1038
1096
|
"--color-status-success-subtle": semanticColorsDark["status-success-subtle"],
|
|
1039
1097
|
"--color-status-success-muted": semanticColorsDark["status-success-muted"],
|
|
@@ -1095,6 +1153,10 @@ var darkThemeCSSVars = {
|
|
|
1095
1153
|
"--color-on-status-error": semanticColorsDark["on-status-error"],
|
|
1096
1154
|
"--color-on-status-warning": semanticColorsDark["on-status-warning"],
|
|
1097
1155
|
"--color-on-status-info": semanticColorsDark["on-status-info"],
|
|
1156
|
+
"--color-on-status-success-subtle": semanticColorsDark["on-status-success-subtle"],
|
|
1157
|
+
"--color-on-status-error-subtle": semanticColorsDark["on-status-error-subtle"],
|
|
1158
|
+
"--color-on-status-warning-subtle": semanticColorsDark["on-status-warning-subtle"],
|
|
1159
|
+
"--color-on-status-info-subtle": semanticColorsDark["on-status-info-subtle"],
|
|
1098
1160
|
"--color-result-improve": semanticColorsDark["result-improve"],
|
|
1099
1161
|
"--color-result-improve-light": semanticColorsDark["result-improve-light"],
|
|
1100
1162
|
"--color-result-improve-dark": semanticColorsDark["result-improve-dark"],
|
|
@@ -1852,10 +1914,12 @@ exports.primitiveTypography = primitiveTypography;
|
|
|
1852
1914
|
exports.primitiveZIndex = primitiveZIndex;
|
|
1853
1915
|
exports.raisedLevel = raisedLevel;
|
|
1854
1916
|
exports.resolveColor = resolveColor;
|
|
1917
|
+
exports.resultPaletteColors = resultPaletteColors;
|
|
1855
1918
|
exports.rgbToHex = rgbToHex;
|
|
1856
1919
|
exports.rgbToHsv = rgbToHsv;
|
|
1857
1920
|
exports.semanticColorsDark = semanticColorsDark;
|
|
1858
1921
|
exports.semanticColorsLight = semanticColorsLight;
|
|
1922
|
+
exports.semanticPins = semanticPins;
|
|
1859
1923
|
exports.semanticTypography = semanticTypography;
|
|
1860
1924
|
exports.sequentialEffort = sequentialEffort;
|
|
1861
1925
|
exports.surfaceBackground = surfaceBackground;
|