@titan-design/react-ui 0.5.0 → 0.7.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 +241 -189
- package/dist/bodymap.js.map +1 -1
- package/dist/bodymap.mjs +241 -189
- package/dist/bodymap.mjs.map +1 -1
- package/dist/index.d.mts +1017 -130
- package/dist/index.d.ts +1017 -130
- package/dist/index.js +3058 -1090
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2992 -1091
- package/dist/index.mjs.map +1 -1
- package/dist/{pages-MO0JCySL.d.mts → pages-8u_4WbL-.d.mts} +280 -57
- package/dist/{pages-D7Jlssvp.d.ts → pages-DaWiBOGa.d.ts} +280 -57
- package/dist/pages.d.mts +1 -1
- package/dist/pages.d.ts +1 -1
- package/dist/pages.js +1797 -1292
- package/dist/pages.js.map +1 -1
- package/dist/pages.mjs +1797 -1292
- package/dist/pages.mjs.map +1 -1
- package/dist/theme/index.d.mts +464 -268
- package/dist/theme/index.d.ts +464 -268
- package/dist/theme/index.js +303 -191
- package/dist/theme/index.js.map +1 -1
- package/dist/theme/index.mjs +295 -192
- package/dist/theme/index.mjs.map +1 -1
- package/dist/theme/tokens-css.js +160 -143
- package/dist/theme/tokens-css.js.map +1 -1
- package/dist/theme/tokens-css.mjs +160 -143
- package/dist/theme/tokens-css.mjs.map +1 -1
- package/package.json +3 -1
- package/src/arch/Architecture.stories.tsx +870 -0
- package/src/arch/annotations.json +48 -0
- package/src/arch/arch-graph.json +4301 -0
- package/src/components/custom/DateTime/DateTime.stories.tsx +83 -7
- package/src/components/custom/DateTime/DateTime.test.tsx +29 -3
- package/src/components/custom/DateTime/DateTime.tsx +55 -15
- package/src/components/custom/EmptyState/EmptyState.stories.tsx +1 -1
- package/src/components/custom/Gauge/Gauge.stories.tsx +1 -1
- package/src/components/custom/Gauge/Gauge.test.tsx +2 -2
- package/src/components/custom/Gauge/Gauge.tsx +6 -3
- package/src/components/custom/Metric/Metric.stories.tsx +1 -1
- package/src/components/custom/Scatter/Scatter.stories.tsx +1 -1
- package/src/components/custom/Scatter/Scatter.tsx +3 -5
- package/src/components/custom/Sidebar/Sidebar.stories.tsx +1 -1
- package/src/components/custom/Table/Table.stories.tsx +1 -1
- package/src/components/custom/TimerReadout/TimerReadout.stories.tsx +62 -0
- package/src/components/custom/TimerReadout/TimerReadout.test.tsx +72 -0
- package/src/components/custom/TimerReadout/TimerReadout.tsx +75 -0
- package/src/components/custom/TimerReadout/index.ts +1 -0
- package/src/components/custom/Treemap/Treemap.stories.tsx +1 -1
- package/src/components/custom/Treemap/Treemap.tsx +3 -5
- package/src/components/custom/Typography/Typography.stories.tsx +46 -28
- 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.stories.tsx +21 -13
- package/src/components/custom/Workout/ActiveWorkoutPage.test.tsx +16 -13
- package/src/components/custom/Workout/ActiveWorkoutPage.tsx +11 -16
- package/src/components/custom/Workout/BaseBadge.stories.tsx +1 -1
- package/src/components/custom/Workout/BodyMap.stories.tsx +1 -1
- package/src/components/custom/Workout/BodyMap.tsx +6 -3
- package/src/components/custom/Workout/BodyMapDetailPanel.stories.tsx +1 -1
- package/src/components/custom/Workout/BodyMapDetailPanel.tsx +6 -3
- package/src/components/custom/Workout/CapacityBandChart.stories.tsx +1 -1
- 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.stories.tsx +1 -1
- package/src/components/custom/Workout/DeviationBar.test.tsx +1 -1
- package/src/components/custom/Workout/DeviationBar.tsx +7 -4
- package/src/components/custom/Workout/ExerciseCard.stories.tsx +51 -66
- package/src/components/custom/Workout/ExerciseCard.test.tsx +146 -143
- package/src/components/custom/Workout/ExerciseCard.tsx +176 -198
- package/src/components/custom/Workout/ExerciseCardHeading.stories.tsx +99 -0
- package/src/components/custom/Workout/ExerciseCardHeading.test.tsx +72 -0
- package/src/components/custom/Workout/ExerciseCardHeading.tsx +43 -0
- package/src/components/custom/Workout/ExerciseCardUnified.stories.tsx +151 -0
- package/src/components/custom/Workout/ExerciseDetailPage.stories.tsx +5 -3
- package/src/components/custom/Workout/ExerciseDetailPage.test.tsx +4 -4
- package/src/components/custom/Workout/ExerciseDetailPage.tsx +6 -6
- package/src/components/custom/Workout/ExerciseHeading.stories.tsx +81 -0
- package/src/components/custom/Workout/ExerciseHeading.test.tsx +77 -0
- package/src/components/custom/Workout/ExerciseHeading.tsx +85 -0
- package/src/components/custom/Workout/ExerciseIndicator.stories.tsx +110 -0
- package/src/components/custom/Workout/ExerciseIndicator.test.tsx +93 -0
- package/src/components/custom/Workout/ExerciseIndicator.tsx +120 -0
- package/src/components/custom/Workout/FatigueMeter.stories.tsx +51 -0
- package/src/components/custom/Workout/FatigueMeter.test.tsx +73 -0
- package/src/components/custom/Workout/FatigueMeter.tsx +82 -0
- package/src/components/custom/Workout/InputBar.stories.tsx +1 -1
- package/src/components/custom/Workout/InputBar.tsx +2 -1
- package/src/components/custom/Workout/IntensityBar.stories.tsx +1 -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/LiveAuraFrame.stories.tsx +153 -0
- package/src/components/custom/Workout/LiveAuraFrame.test.tsx +74 -0
- package/src/components/custom/Workout/LiveAuraFrame.tsx +105 -0
- package/src/components/custom/Workout/MesoCard.stories.tsx +1 -1
- package/src/components/custom/Workout/MesoCard.tsx +8 -3
- package/src/components/custom/Workout/MesoProgressBar.stories.tsx +1 -1
- 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.stories.tsx +1 -1
- package/src/components/custom/Workout/MesoStatusCard.tsx +20 -13
- package/src/components/custom/Workout/MetricTiles.stories.tsx +60 -0
- package/src/components/custom/Workout/MetricTiles.test.tsx +58 -0
- package/src/components/custom/Workout/MetricTiles.tsx +48 -0
- package/src/components/custom/Workout/MuscleGroupChip.stories.tsx +1 -1
- package/src/components/custom/Workout/MuscleGroupChip.tsx +7 -4
- package/src/components/custom/Workout/PlaceholderStrip.stories.tsx +1 -1
- package/src/components/custom/Workout/PrBadge.stories.tsx +1 -1
- package/src/components/custom/Workout/PrBadge.tsx +5 -2
- package/src/components/custom/Workout/PrHistoryModal.stories.tsx +1 -1
- package/src/components/custom/Workout/PrHistoryModal.tsx +4 -3
- package/src/components/custom/Workout/ProgramPlanningPage.stories.tsx +4 -16
- package/src/components/custom/Workout/ProgramPlanningPage.tsx +10 -7
- package/src/components/custom/Workout/README.md +146 -4
- package/src/components/custom/Workout/ReadinessCheck.stories.tsx +1 -1
- package/src/components/custom/Workout/ReadinessCheck.tsx +7 -4
- package/src/components/custom/Workout/RestTimer.stories.tsx +1 -1
- package/src/components/custom/Workout/RestTimer.tsx +17 -11
- package/src/components/custom/Workout/RowInventory.stories.tsx +405 -0
- package/src/components/custom/Workout/S3FullRail.stories.tsx +34 -0
- package/src/components/custom/Workout/S3SessionPace.stories.tsx +95 -0
- package/src/components/custom/Workout/S3SessionRailHeading.stories.tsx +61 -0
- package/src/components/custom/Workout/S3SetTypes.stories.tsx +176 -0
- package/src/components/custom/Workout/S3WorkoutExpansion.stories.tsx +240 -0
- package/src/components/custom/Workout/ScheduleTiles.stories.tsx +40 -0
- package/src/components/custom/Workout/ScheduleTiles.test.tsx +34 -0
- package/src/components/custom/Workout/ScheduleTiles.tsx +70 -0
- package/src/components/custom/Workout/SegmentedBar.stories.tsx +99 -0
- package/src/components/custom/Workout/SegmentedBar.test.tsx +77 -0
- package/src/components/custom/Workout/SegmentedBar.tsx +172 -0
- package/src/components/custom/Workout/SegmentedProgressBar.stories.tsx +50 -0
- package/src/components/custom/Workout/SegmentedProgressBar.test.tsx +80 -0
- package/src/components/custom/Workout/SegmentedProgressBar.tsx +67 -0
- package/src/components/custom/Workout/SessionHeader.stories.tsx +121 -0
- package/src/components/custom/Workout/SessionHeader.test.tsx +122 -0
- package/src/components/custom/Workout/SessionHeader.tsx +152 -0
- package/src/components/custom/Workout/SessionRail.stories.tsx +153 -0
- package/src/components/custom/Workout/SessionRail.test.tsx +86 -0
- package/src/components/custom/Workout/SessionRail.tsx +126 -0
- package/src/components/custom/Workout/SetBar.stories.tsx +124 -0
- package/src/components/custom/Workout/SetBar.test.tsx +123 -0
- package/src/components/custom/Workout/SetBar.tsx +171 -0
- package/src/components/custom/Workout/SetRow.stories.tsx +50 -100
- package/src/components/custom/Workout/SetRow.test.tsx +94 -166
- package/src/components/custom/Workout/SetRow.tsx +170 -232
- package/src/components/custom/Workout/SetStrip.stories.tsx +154 -0
- package/src/components/custom/Workout/SetStrip.test.tsx +109 -0
- package/src/components/custom/Workout/SetStrip.tsx +71 -0
- package/src/components/custom/Workout/SetTableHeader.stories.tsx +66 -0
- package/src/components/custom/Workout/SetTableHeader.test.tsx +47 -0
- package/src/components/custom/Workout/SetTableHeader.tsx +88 -0
- package/src/components/custom/Workout/SetsRepsLoad.stories.tsx +47 -0
- package/src/components/custom/Workout/SetsRepsLoad.test.tsx +44 -0
- package/src/components/custom/Workout/SetsRepsLoad.tsx +52 -0
- package/src/components/custom/Workout/Sparkline.stories.tsx +1 -1
- package/src/components/custom/Workout/Sparkline.tsx +2 -1
- package/src/components/custom/Workout/StatusDot.stories.tsx +1 -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/StatusPill.stories.tsx +59 -0
- package/src/components/custom/Workout/StatusPill.test.tsx +63 -0
- package/src/components/custom/Workout/StatusPill.tsx +88 -0
- package/src/components/custom/Workout/StrengthTrendChart.stories.tsx +1 -1
- package/src/components/custom/Workout/StrengthTrendChart.tsx +9 -6
- package/src/components/custom/Workout/SupersetWrapper.stories.tsx +1 -1
- package/src/components/custom/Workout/SupersetWrapper.tsx +2 -1
- package/src/components/custom/Workout/TempoBar.stories.tsx +1 -1
- package/src/components/custom/Workout/TempoDisplay.stories.tsx +12 -1
- package/src/components/custom/Workout/TempoDisplay.tsx +29 -36
- package/src/components/custom/Workout/TrainingStatusPage.stories.tsx +1 -1
- package/src/components/custom/Workout/VelocityStrip.modalities.stories.tsx +254 -0
- package/src/components/custom/Workout/VelocityStrip.responsive.stories.tsx +145 -0
- package/src/components/custom/Workout/VelocityStrip.stories.tsx +129 -66
- package/src/components/custom/Workout/VelocityStrip.test.tsx +379 -144
- package/src/components/custom/Workout/VelocityStrip.tsx +508 -120
- package/src/components/custom/Workout/VolumeLandmarkBar.stories.tsx +73 -0
- package/src/components/custom/Workout/VolumeLandmarkBar.test.tsx +119 -0
- package/src/components/custom/Workout/VolumeLandmarkBar.tsx +154 -0
- package/src/components/custom/Workout/WeekRow.stories.tsx +1 -1
- package/src/components/custom/Workout/WeekRow.tsx +3 -2
- package/src/components/custom/Workout/WeightBadge.stories.tsx +1 -1
- package/src/components/custom/Workout/WeightBadge.tsx +6 -2
- package/src/components/custom/Workout/WorkoutCard.stories.tsx +2 -6
- package/src/components/custom/Workout/WorkoutCard.test.tsx +13 -46
- package/src/components/custom/Workout/WorkoutCard.tsx +5 -2
- package/src/components/custom/Workout/WorkoutPill.stories.tsx +1 -1
- package/src/components/custom/Workout/WorkoutPill.tsx +12 -8
- package/src/components/custom/Workout/ZoneTrack.stories.tsx +140 -0
- package/src/components/custom/Workout/ZoneTrack.test.tsx +200 -0
- package/src/components/custom/Workout/ZoneTrack.tsx +315 -0
- package/src/components/custom/Workout/icons.tsx +6 -67
- package/src/components/custom/Workout/index.ts +55 -2
- package/src/components/custom/Workout/metricText.stories.tsx +69 -0
- package/src/components/custom/Workout/metricText.tsx +34 -0
- package/src/components/custom/Workout/paceTone.test.ts +29 -0
- package/src/components/custom/Workout/paceTone.ts +27 -0
- package/src/components/custom/Workout/setHeadingKit.tsx +177 -0
- package/src/components/custom/index.ts +1 -0
- package/src/components/custom/stepper/Stepper.stories.tsx +1 -1
- package/src/components/icons/SvgIcon.tsx +50 -0
- package/src/components/icons/icons.stories.tsx +122 -0
- package/src/components/icons/icons.test.tsx +73 -0
- package/src/components/icons/icons.tsx +153 -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/DashboardShell.stories.tsx +65 -0
- package/src/components/shell/DashboardShell.test.tsx +42 -0
- package/src/components/shell/DashboardShell.tsx +74 -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/NavItem.stories.tsx +52 -0
- package/src/components/shell/NavItem.test.tsx +35 -0
- package/src/components/shell/NavItem.tsx +75 -0
- package/src/components/shell/README.md +116 -0
- package/src/components/shell/SessionRailSpecimen.stories.tsx +753 -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/SideNav.stories.tsx +81 -0
- package/src/components/shell/SideNav.test.tsx +51 -0
- package/src/components/shell/SideNav.tsx +74 -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 +13 -0
- package/src/components/ui/alert/Alert.stories.tsx +1 -1
- package/src/components/ui/autocomplete/Autocomplete.stories.tsx +1 -1
- package/src/components/ui/avatar/Avatar.stories.tsx +1 -1
- package/src/components/ui/badge/Badge.stories.tsx +1 -1
- package/src/components/ui/breadcrumbs/Breadcrumbs.stories.tsx +1 -1
- package/src/components/ui/button/Button.stories.tsx +1 -1
- package/src/components/ui/card/Card.stories.tsx +1 -1
- package/src/components/ui/checkbox/Checkbox.stories.tsx +1 -1
- package/src/components/ui/chip/Chip.stories.tsx +1 -1
- package/src/components/ui/collapse/Collapse.stories.tsx +1 -1
- package/src/components/ui/data-row/DataRow.stories.tsx +1 -1
- package/src/components/ui/divider/Divider.stories.tsx +1 -1
- package/src/components/ui/drawer/Drawer.stories.tsx +1 -1
- package/src/components/ui/form-field/FormField.stories.tsx +1 -1
- package/src/components/ui/help-tip/HelpTip.stories.tsx +1 -1
- package/src/components/ui/icon-box/IconBox.stories.tsx +1 -1
- package/src/components/ui/index.ts +1 -0
- package/src/components/ui/indicator/Indicator.stories.tsx +38 -2
- package/src/components/ui/indicator/Indicator.test.tsx +20 -1
- package/src/components/ui/indicator/Indicator.tsx +50 -6
- package/src/components/ui/indicator/index.ts +1 -1
- package/src/components/ui/input/Input.stories.tsx +1 -1
- package/src/components/ui/link/Link.stories.tsx +1 -1
- package/src/components/ui/list-item/ListItem.stories.tsx +1 -1
- package/src/components/ui/menu/Menu.stories.tsx +1 -1
- package/src/components/ui/modal/Modal.stories.tsx +1 -1
- package/src/components/ui/pill/Pill.stories.tsx +1 -1
- package/src/components/ui/popover/Popover.stories.tsx +1 -1
- package/src/components/ui/progress/Progress.stories.tsx +1 -1
- package/src/components/ui/radio/Radio.stories.tsx +1 -1
- package/src/components/ui/section/Section.stories.tsx +1 -1
- package/src/components/ui/select/Select.stories.tsx +1 -1
- package/src/components/ui/skeleton/Skeleton.stories.tsx +1 -1
- package/src/components/ui/spinner/Spinner.stories.tsx +1 -1
- package/src/components/ui/spinner/Spinner.tsx +3 -2
- package/src/components/ui/stack/Stack.stories.tsx +1 -1
- package/src/components/ui/surface/Surface.stories.tsx +1 -1
- package/src/components/ui/switch/Switch.stories.tsx +1 -1
- package/src/components/ui/tabs/Tabs.stories.tsx +1 -1
- package/src/components/ui/tile/Tile.stories.tsx +79 -0
- package/src/components/ui/tile/Tile.test.tsx +48 -0
- package/src/components/ui/tile/Tile.tsx +64 -0
- package/src/components/ui/tile/index.ts +2 -0
- package/src/components/ui/toast/Toast.stories.tsx +1 -1
- package/src/components/ui/toolbar-button/ToolbarButton.stories.tsx +1 -1
- package/src/components/ui/toolbar-button/ToolbarButton.tsx +2 -1
- package/src/components/ui/tooltip/Tooltip.stories.tsx +1 -1
- package/src/examples/react-hook-form/ReactHookForm.stories.tsx +1 -1
- package/src/hooks/index.ts +2 -0
- package/src/hooks/useTimer.test.ts +150 -0
- package/src/hooks/useTimer.ts +77 -0
- package/src/index.ts +3 -0
- package/src/pages.ts +1 -1
- package/src/stories/PresetShowcase.stories.tsx +1 -1
- package/src/stories/ThemePresets.stories.tsx +1 -1
- package/src/theme/ColorSystem.stories.tsx +323 -0
- package/src/theme/Colors.stories.tsx +74 -9
- package/src/theme/barrel.ts +1 -0
- package/src/theme/config.ts +20 -3
- package/src/theme/elevation.stories.tsx +1 -1
- package/src/theme/extracted-colors-dataviz.ts +21 -0
- package/src/theme/extracted-colors-ui.ts +20 -0
- package/src/theme/global.css +69 -53
- package/src/theme/gradients.test.ts +25 -0
- package/src/theme/gradients.ts +36 -0
- package/src/theme/shadows.stories.tsx +1 -1
- package/src/theme/tokens/primitives.test.ts +232 -0
- package/src/theme/tokens/primitives.ts +238 -87
- package/src/theme/tokens/semantic.ts +101 -81
- package/src/theme/workout-tokens.ts +26 -21
- package/src/utils/avatar-color.ts +3 -3
- package/tailwind.config.js +15 -3
package/dist/theme/index.d.mts
CHANGED
|
@@ -142,30 +142,6 @@ declare const primitiveColors: {
|
|
|
142
142
|
readonly 800: "#1E40AF";
|
|
143
143
|
readonly 900: "#1E3A8A";
|
|
144
144
|
};
|
|
145
|
-
readonly green: {
|
|
146
|
-
readonly 50: "#ECFDF5";
|
|
147
|
-
readonly 100: "#D1FAE5";
|
|
148
|
-
readonly 200: "#A7F3D0";
|
|
149
|
-
readonly 300: "#6EE7B7";
|
|
150
|
-
readonly 400: "#3FC79A";
|
|
151
|
-
readonly 500: "#10B981";
|
|
152
|
-
readonly 600: "#059669";
|
|
153
|
-
readonly 700: "#0B815A";
|
|
154
|
-
readonly 800: "#065F46";
|
|
155
|
-
readonly 900: "#064E3B";
|
|
156
|
-
};
|
|
157
|
-
readonly teal: {
|
|
158
|
-
readonly 50: "#F0FDFA";
|
|
159
|
-
readonly 100: "#CCFBF1";
|
|
160
|
-
readonly 200: "#99F6E4";
|
|
161
|
-
readonly 300: "#5EEAD4";
|
|
162
|
-
readonly 400: "#43C6B7";
|
|
163
|
-
readonly 500: "#14B8A6";
|
|
164
|
-
readonly 600: "#0D9488";
|
|
165
|
-
readonly 700: "#0E8074";
|
|
166
|
-
readonly 800: "#115E59";
|
|
167
|
-
readonly 900: "#134E4A";
|
|
168
|
-
};
|
|
169
145
|
readonly red: {
|
|
170
146
|
readonly 50: "#FEF2F2";
|
|
171
147
|
readonly 100: "#FEE2E2";
|
|
@@ -178,29 +154,17 @@ declare const primitiveColors: {
|
|
|
178
154
|
readonly 800: "#991B1B";
|
|
179
155
|
readonly 900: "#7F1D1D";
|
|
180
156
|
};
|
|
181
|
-
readonly
|
|
182
|
-
readonly 50: "#
|
|
183
|
-
readonly 100: "#
|
|
184
|
-
readonly 200: "#
|
|
185
|
-
readonly 300: "#
|
|
186
|
-
readonly 400: "#
|
|
187
|
-
readonly 500: "#
|
|
188
|
-
readonly 600: "#
|
|
189
|
-
readonly 700: "#
|
|
190
|
-
readonly 800: "#
|
|
191
|
-
readonly 900: "#
|
|
192
|
-
};
|
|
193
|
-
readonly sky: {
|
|
194
|
-
readonly 50: "#F0F9FF";
|
|
195
|
-
readonly 100: "#E0F2FE";
|
|
196
|
-
readonly 200: "#BAE6FD";
|
|
197
|
-
readonly 300: "#7DD3FC";
|
|
198
|
-
readonly 400: "#64B6F7";
|
|
199
|
-
readonly 500: "#2196F3";
|
|
200
|
-
readonly 600: "#0284C7";
|
|
201
|
-
readonly 700: "#0B79D0";
|
|
202
|
-
readonly 800: "#075985";
|
|
203
|
-
readonly 900: "#0C4A6E";
|
|
157
|
+
readonly redVivid: {
|
|
158
|
+
readonly 50: "#FFECEE";
|
|
159
|
+
readonly 100: "#FFD6DB";
|
|
160
|
+
readonly 200: "#FFB3BC";
|
|
161
|
+
readonly 300: "#FF8593";
|
|
162
|
+
readonly 400: "#FF6070";
|
|
163
|
+
readonly 500: "#FF4757";
|
|
164
|
+
readonly 600: "#E63548";
|
|
165
|
+
readonly 700: "#C42539";
|
|
166
|
+
readonly 800: "#9E1C2C";
|
|
167
|
+
readonly 900: "#7A1520";
|
|
204
168
|
};
|
|
205
169
|
readonly neutral: {
|
|
206
170
|
readonly 50: "#FAFAFA";
|
|
@@ -215,17 +179,6 @@ declare const primitiveColors: {
|
|
|
215
179
|
readonly 900: "#111827";
|
|
216
180
|
readonly 950: "#030712";
|
|
217
181
|
};
|
|
218
|
-
readonly accent: {
|
|
219
|
-
readonly 100: "#FFA860";
|
|
220
|
-
readonly 200: "#FF9630";
|
|
221
|
-
readonly 300: "#FF8500";
|
|
222
|
-
readonly 400: "#FF7900";
|
|
223
|
-
readonly 500: "#F56C00";
|
|
224
|
-
readonly 600: "#E06D10";
|
|
225
|
-
readonly 700: "#D0620C";
|
|
226
|
-
readonly 800: "#B75500";
|
|
227
|
-
readonly 900: "#A34900";
|
|
228
|
-
};
|
|
229
182
|
readonly charcoal: {
|
|
230
183
|
readonly 0: "#6E6E6E";
|
|
231
184
|
readonly 50: "#5D5D5D";
|
|
@@ -239,21 +192,181 @@ declare const primitiveColors: {
|
|
|
239
192
|
readonly 800: "#131313";
|
|
240
193
|
readonly 900: "#101010";
|
|
241
194
|
};
|
|
242
|
-
readonly steel: {
|
|
243
|
-
readonly 100: "#8AA4B8";
|
|
244
|
-
readonly 200: "#7894A8";
|
|
245
|
-
readonly 300: "#678498";
|
|
246
|
-
readonly 400: "#557488";
|
|
247
|
-
readonly 500: "#406D87";
|
|
248
|
-
readonly 600: "#39617A";
|
|
249
|
-
readonly 700: "#32556D";
|
|
250
|
-
readonly 800: "#243D53";
|
|
251
|
-
readonly 900: "#1D3146";
|
|
252
|
-
};
|
|
253
195
|
readonly white: "#FFFFFF";
|
|
254
196
|
readonly black: "#000000";
|
|
255
197
|
readonly transparent: "transparent";
|
|
256
198
|
};
|
|
199
|
+
/**
|
|
200
|
+
* Derived tonal ramps (TD-05.09 color foundations)
|
|
201
|
+
*
|
|
202
|
+
* Seven OKLCH-generated hue ramps, 11 perceptual lightness steps each (50 -> 950).
|
|
203
|
+
* Built with hue-torsion + a chroma arc, anchored through existing brand/semantic
|
|
204
|
+
* hexes. `pin` marks the step each ramp flows through its anchor.
|
|
205
|
+
* This is the single source of truth for chromatic hexes — the categorical palette
|
|
206
|
+
* below references these steps rather than duplicating values.
|
|
207
|
+
* See coordination/design-explorations/foundations.
|
|
208
|
+
*/
|
|
209
|
+
declare const primitiveRamps: {
|
|
210
|
+
readonly red: {
|
|
211
|
+
readonly 50: "#FFF4F4";
|
|
212
|
+
readonly 100: "#FFE3E5";
|
|
213
|
+
readonly 200: "#FFC2C5";
|
|
214
|
+
readonly 300: "#FF9A9D";
|
|
215
|
+
readonly 400: "#F77175";
|
|
216
|
+
readonly 500: "#E05254";
|
|
217
|
+
readonly 600: "#D14343";
|
|
218
|
+
readonly 700: "#A4221C";
|
|
219
|
+
readonly 800: "#7E1002";
|
|
220
|
+
readonly 900: "#5A0900";
|
|
221
|
+
readonly 950: "#3D0400";
|
|
222
|
+
};
|
|
223
|
+
readonly orange: {
|
|
224
|
+
readonly 50: "#FFF5ED";
|
|
225
|
+
readonly 100: "#FFE6D4";
|
|
226
|
+
readonly 200: "#FFC7A2";
|
|
227
|
+
readonly 300: "#FFA063";
|
|
228
|
+
readonly 400: "#FF7900";
|
|
229
|
+
readonly 500: "#DA5F00";
|
|
230
|
+
readonly 600: "#B94A00";
|
|
231
|
+
readonly 700: "#983804";
|
|
232
|
+
readonly 800: "#6F290F";
|
|
233
|
+
readonly 900: "#4E1C0C";
|
|
234
|
+
readonly 950: "#331107";
|
|
235
|
+
};
|
|
236
|
+
readonly amber: {
|
|
237
|
+
readonly 50: "#FFF7DD";
|
|
238
|
+
readonly 100: "#FFEAA9";
|
|
239
|
+
readonly 200: "#FFD352";
|
|
240
|
+
readonly 300: "#F9B415";
|
|
241
|
+
readonly 400: "#E08C00";
|
|
242
|
+
readonly 500: "#C27400";
|
|
243
|
+
readonly 600: "#A45E00";
|
|
244
|
+
readonly 700: "#814D14";
|
|
245
|
+
readonly 800: "#5B3A1A";
|
|
246
|
+
readonly 900: "#442503";
|
|
247
|
+
readonly 950: "#301500";
|
|
248
|
+
};
|
|
249
|
+
readonly green: {
|
|
250
|
+
readonly 50: "#E3FFEE";
|
|
251
|
+
readonly 100: "#B5FFD2";
|
|
252
|
+
readonly 200: "#58F69E";
|
|
253
|
+
readonly 300: "#2ED573";
|
|
254
|
+
readonly 400: "#21C05D";
|
|
255
|
+
readonly 500: "#22A444";
|
|
256
|
+
readonly 600: "#298732";
|
|
257
|
+
readonly 700: "#2B6B25";
|
|
258
|
+
readonly 800: "#264D1C";
|
|
259
|
+
readonly 900: "#1B3515";
|
|
260
|
+
readonly 950: "#11220D";
|
|
261
|
+
};
|
|
262
|
+
readonly cyan: {
|
|
263
|
+
readonly 50: "#E6FBFF";
|
|
264
|
+
readonly 100: "#C2F6FF";
|
|
265
|
+
readonly 200: "#62EAFF";
|
|
266
|
+
readonly 300: "#22D3EE";
|
|
267
|
+
readonly 400: "#01B5D1";
|
|
268
|
+
readonly 500: "#2697B7";
|
|
269
|
+
readonly 600: "#307B9B";
|
|
270
|
+
readonly 700: "#2A617F";
|
|
271
|
+
readonly 800: "#22465F";
|
|
272
|
+
readonly 900: "#0B3149";
|
|
273
|
+
readonly 950: "#001F36";
|
|
274
|
+
};
|
|
275
|
+
readonly blue: {
|
|
276
|
+
readonly 50: "#EFF8FF";
|
|
277
|
+
readonly 100: "#D9EFFF";
|
|
278
|
+
readonly 200: "#ACDBFF";
|
|
279
|
+
readonly 300: "#78C2FF";
|
|
280
|
+
readonly 400: "#3CA8FF";
|
|
281
|
+
readonly 500: "#2196F3";
|
|
282
|
+
readonly 600: "#1072CB";
|
|
283
|
+
readonly 700: "#135AA8";
|
|
284
|
+
readonly 800: "#14407E";
|
|
285
|
+
readonly 900: "#112C5A";
|
|
286
|
+
readonly 950: "#091B3C";
|
|
287
|
+
};
|
|
288
|
+
readonly magenta: {
|
|
289
|
+
readonly 50: "#FFF3F9";
|
|
290
|
+
readonly 100: "#FFE2F1";
|
|
291
|
+
readonly 200: "#FFBDE2";
|
|
292
|
+
readonly 300: "#FF8FD5";
|
|
293
|
+
readonly 400: "#ED69C3";
|
|
294
|
+
readonly 500: "#D548AF";
|
|
295
|
+
readonly 600: "#BA2996";
|
|
296
|
+
readonly 700: "#9C0D7A";
|
|
297
|
+
readonly 800: "#77005A";
|
|
298
|
+
readonly 900: "#56003F";
|
|
299
|
+
readonly 950: "#3B0029";
|
|
300
|
+
};
|
|
301
|
+
};
|
|
302
|
+
/**
|
|
303
|
+
* Categorical (qualitative) palette — an ordered, CVD-safe series expressed as
|
|
304
|
+
* references into {@link primitiveRamps} (one source of truth; the palette moves
|
|
305
|
+
* with the ramps).
|
|
306
|
+
*
|
|
307
|
+
* Design: a single canonical hue order (blue, magenta, red, orange, green, cyan,
|
|
308
|
+
* amber), with steps chosen vivid-midtone-first and fanned lighter/darker as the
|
|
309
|
+
* series grows to preserve separation. The sequence is nested-stable — a chart
|
|
310
|
+
* with N series uses the first N colors, and the series index is stable as N
|
|
311
|
+
* changes. Colorblind-safe worst-case deuteranopia/protanopia floor 8 holds
|
|
312
|
+
* through {@link CATEGORICAL_CVD_SAFE_MAX} colors; the 7th is an extended color
|
|
313
|
+
* that should be paired with a legend or other secondary encoding.
|
|
314
|
+
*
|
|
315
|
+
* Two variants: `default` (vivid, sits on neutral/light surfaces, legible under
|
|
316
|
+
* black text) and `dark` (deeper shades legible under white text on a fill). A
|
|
317
|
+
* separate "light" variant was dropped — the vivid `default` picks already clear
|
|
318
|
+
* black-text contrast, so it doubles as the light-context palette.
|
|
319
|
+
*/
|
|
320
|
+
declare const categoricalPalette: {
|
|
321
|
+
readonly default: readonly ["#2196F3", "#D548AF", "#E05254", "#FF7900", "#2ED573", "#22D3EE", "#A45E00"];
|
|
322
|
+
readonly dark: readonly ["#1072CB", "#BA2996", "#E05254", "#B94A00", "#264D1C", "#22465F", "#C27400"];
|
|
323
|
+
};
|
|
324
|
+
/** Largest series count that holds the CVD floor without a legend. */
|
|
325
|
+
declare const CATEGORICAL_CVD_SAFE_MAX = 6;
|
|
326
|
+
/**
|
|
327
|
+
* Categorical palette variant.
|
|
328
|
+
* - `default` : vivid; neutral/light surfaces, legible under black text
|
|
329
|
+
* - `dark` : deeper shades, legible under white text on a filled swatch
|
|
330
|
+
*/
|
|
331
|
+
type CategoricalVariant = keyof typeof categoricalPalette;
|
|
332
|
+
/**
|
|
333
|
+
* Get a color from the ordered categorical palette by series index.
|
|
334
|
+
* The palette is nested-stable, so the color for a given index does not change
|
|
335
|
+
* with the total series count; `index` simply wraps past the end.
|
|
336
|
+
*
|
|
337
|
+
* @param index - 0-based series index (wraps past the end)
|
|
338
|
+
* @param variant - `default` (black-text / light surfaces) or `dark` (white text)
|
|
339
|
+
* @returns The hex color string
|
|
340
|
+
*/
|
|
341
|
+
declare function getCategoricalColor(index: number, variant?: CategoricalVariant): string;
|
|
342
|
+
/**
|
|
343
|
+
* Diverging status scale (BodyMap training-status: under → optimal → over) as
|
|
344
|
+
* references into {@link primitiveRamps}. A true diverging shape — `optimal` is
|
|
345
|
+
* the lightest center, the extremes go darker — so the signal reads in lightness
|
|
346
|
+
* (colorblind-robust; worst-case deut/protanopia min ΔE ~10.9) and the direction
|
|
347
|
+
* reads in the blue↔red axis (the CVD-safe hue pair).
|
|
348
|
+
*
|
|
349
|
+
* Tuned so every stop is dark enough for the fill yet light enough that BLACK
|
|
350
|
+
* text clears 4.5:1 on all five — no per-cell white/black flipping. The value
|
|
351
|
+
* valley is symmetric: the two mid-arms (maintenance / approaching) sit at equal
|
|
352
|
+
* lightness (both ~0.53 relative luminance), the ends darker.
|
|
353
|
+
*/
|
|
354
|
+
declare const divergingScale: readonly ["#2196F3", "#22D3EE", "#58F69E", "#F9B415", "#D14343"];
|
|
355
|
+
/**
|
|
356
|
+
* Sequential "effort" scale (low → high intensity: green → yellow → orange → red)
|
|
357
|
+
* as references into {@link primitiveRamps}. A 6-stop ordinal palette; the
|
|
358
|
+
* velocity/RPE strip sub-samples it. Every adjacent pair clears the CVD floor
|
|
359
|
+
* (min deut/protan ΔE ≥ 4.5), and within that the hue walk is kept smooth —
|
|
360
|
+
* the amber-200 → amber-300 → orange-400 run steps the yellow→orange transition
|
|
361
|
+
* gradually rather than lurching. Order encodes magnitude, so it tolerates the
|
|
362
|
+
* green↔red CVD pair. Stops 0–3 take black text; the dark reds take white.
|
|
363
|
+
*/
|
|
364
|
+
declare const sequentialEffort: readonly ["#2ED573", "#FFD352", "#F9B415", "#FF7900", "#D14343", "#A4221C"];
|
|
365
|
+
/**
|
|
366
|
+
* Best-contrast text color (black or white) for a solid fill — for labels sitting
|
|
367
|
+
* on categorical/diverging/effort swatches. Uses the WCAG relative-luminance ratio.
|
|
368
|
+
*/
|
|
369
|
+
declare function bestTextColor(hex: string): '#000000' | '#FFFFFF';
|
|
257
370
|
/**
|
|
258
371
|
* Discrete rainbow palette for data visualization
|
|
259
372
|
* Based on Paul Tol's color schemes: https://personal.sron.nl/~pault/#fig:scheme_rainbow_discrete
|
|
@@ -400,35 +513,41 @@ declare const primitiveZIndex: {
|
|
|
400
513
|
*/
|
|
401
514
|
declare const semanticColorsLight: {
|
|
402
515
|
readonly 'brand-primary': "#FF7900";
|
|
403
|
-
readonly 'brand-primary-light': "#
|
|
404
|
-
readonly 'brand-primary-dark': "#
|
|
516
|
+
readonly 'brand-primary-light': "#FFA063";
|
|
517
|
+
readonly 'brand-primary-dark': "#DA5F00";
|
|
405
518
|
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': "#
|
|
519
|
+
readonly 'brand-primary-hover': "#DA5F00";
|
|
520
|
+
readonly 'brand-primary-active': "#B94A00";
|
|
521
|
+
readonly 'brand-secondary': "#307B9B";
|
|
522
|
+
readonly 'brand-secondary-light': "#2697B7";
|
|
523
|
+
readonly 'brand-secondary-dark': "#2A617F";
|
|
524
|
+
readonly 'brand-secondary-subtle': "rgba(48, 123, 155, 0.08)";
|
|
525
|
+
readonly 'brand-secondary-hover': "#2A617F";
|
|
526
|
+
readonly 'brand-secondary-active': "#22465F";
|
|
414
527
|
readonly 'on-brand-primary': "#FFFFFF";
|
|
415
528
|
readonly 'on-brand-secondary': "#FFFFFF";
|
|
416
|
-
readonly 'status-success': "#
|
|
417
|
-
readonly 'status-success-light': "#
|
|
418
|
-
readonly 'status-success-dark': "#
|
|
419
|
-
readonly 'status-success-subtle': "#
|
|
529
|
+
readonly 'status-success': "#2ED573";
|
|
530
|
+
readonly 'status-success-light': "#58F69E";
|
|
531
|
+
readonly 'status-success-dark': "#298732";
|
|
532
|
+
readonly 'status-success-subtle': "#E3FFEE";
|
|
533
|
+
readonly 'status-live': "#2ED573";
|
|
534
|
+
readonly 'status-live-muted': "#22A444";
|
|
420
535
|
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-
|
|
536
|
+
readonly 'status-error-light': "#E05254";
|
|
537
|
+
readonly 'status-error-dark': "#A4221C";
|
|
538
|
+
readonly 'status-error-subtle': "#FFF4F4";
|
|
539
|
+
readonly 'status-error-vivid': "#FF4757";
|
|
540
|
+
readonly 'status-error-vivid-light': "#FF6070";
|
|
541
|
+
readonly 'status-error-vivid-dark': "#C42539";
|
|
542
|
+
readonly 'status-error-vivid-subtle': "rgba(255, 71, 87, 0.12)";
|
|
543
|
+
readonly 'status-warning': "#F9B415";
|
|
544
|
+
readonly 'status-warning-light': "#FFD352";
|
|
545
|
+
readonly 'status-warning-dark': "#C27400";
|
|
546
|
+
readonly 'status-warning-subtle': "#FFF7DD";
|
|
428
547
|
readonly 'status-info': "#2196F3";
|
|
429
|
-
readonly 'status-info-light': "#
|
|
430
|
-
readonly 'status-info-dark': "#
|
|
431
|
-
readonly 'status-info-subtle': "#
|
|
548
|
+
readonly 'status-info-light': "#78C2FF";
|
|
549
|
+
readonly 'status-info-dark': "#1072CB";
|
|
550
|
+
readonly 'status-info-subtle': "#EFF8FF";
|
|
432
551
|
readonly 'on-status-success': "#FFFFFF";
|
|
433
552
|
readonly 'on-status-error': "#FFFFFF";
|
|
434
553
|
readonly 'on-status-warning': "#FFFFFF";
|
|
@@ -473,6 +592,7 @@ declare const semanticColorsLight: {
|
|
|
473
592
|
readonly 'border-default': "#E8E9EB";
|
|
474
593
|
readonly 'border-subtle': "#F3F4F6";
|
|
475
594
|
readonly 'border-strong': "#D1D5DB";
|
|
595
|
+
readonly 'border-prominent': "#9CA3AF";
|
|
476
596
|
readonly 'border-focus': "#5048E5";
|
|
477
597
|
readonly 'border-input': "#D1D5DB";
|
|
478
598
|
readonly 'border-input-hover': "#9CA3AF";
|
|
@@ -490,34 +610,40 @@ declare const semanticColorsLight: {
|
|
|
490
610
|
};
|
|
491
611
|
declare const semanticColorsDark: {
|
|
492
612
|
readonly 'brand-primary': "#FF7900";
|
|
493
|
-
readonly 'brand-primary-light': "#
|
|
494
|
-
readonly 'brand-primary-dark': "#
|
|
613
|
+
readonly 'brand-primary-light': "#FFA063";
|
|
614
|
+
readonly 'brand-primary-dark': "#DA5F00";
|
|
495
615
|
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': "#
|
|
616
|
+
readonly 'brand-primary-hover': "#FFA063";
|
|
617
|
+
readonly 'brand-primary-active': "#FFC7A2";
|
|
618
|
+
readonly 'brand-secondary': "#307B9B";
|
|
619
|
+
readonly 'brand-secondary-light': "#2697B7";
|
|
620
|
+
readonly 'brand-secondary-dark': "#2A617F";
|
|
621
|
+
readonly 'brand-secondary-subtle': "rgba(48, 123, 155, 0.12)";
|
|
622
|
+
readonly 'brand-secondary-hover': "#2697B7";
|
|
623
|
+
readonly 'brand-secondary-active': "#01B5D1";
|
|
504
624
|
readonly 'on-brand-primary': "#FFFFFF";
|
|
505
625
|
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(
|
|
626
|
+
readonly 'status-success': "#2ED573";
|
|
627
|
+
readonly 'status-success-light': "#58F69E";
|
|
628
|
+
readonly 'status-success-dark': "#298732";
|
|
629
|
+
readonly 'status-success-subtle': "rgba(46, 213, 115, 0.12)";
|
|
630
|
+
readonly 'status-live': "#2ED573";
|
|
631
|
+
readonly 'status-live-muted': "#22A444";
|
|
510
632
|
readonly 'status-error': "#D14343";
|
|
511
|
-
readonly 'status-error-light': "#
|
|
512
|
-
readonly 'status-error-dark': "#
|
|
633
|
+
readonly 'status-error-light': "#E05254";
|
|
634
|
+
readonly 'status-error-dark': "#A4221C";
|
|
513
635
|
readonly 'status-error-subtle': "rgba(209, 67, 67, 0.12)";
|
|
514
|
-
readonly 'status-
|
|
515
|
-
readonly 'status-
|
|
516
|
-
readonly 'status-
|
|
517
|
-
readonly 'status-
|
|
636
|
+
readonly 'status-error-vivid': "#FF4757";
|
|
637
|
+
readonly 'status-error-vivid-light': "#FF6070";
|
|
638
|
+
readonly 'status-error-vivid-dark': "#C42539";
|
|
639
|
+
readonly 'status-error-vivid-subtle': "rgba(255, 71, 87, 0.12)";
|
|
640
|
+
readonly 'status-warning': "#F9B415";
|
|
641
|
+
readonly 'status-warning-light': "#FFD352";
|
|
642
|
+
readonly 'status-warning-dark': "#C27400";
|
|
643
|
+
readonly 'status-warning-subtle': "rgba(249, 180, 21, 0.12)";
|
|
518
644
|
readonly 'status-info': "#2196F3";
|
|
519
|
-
readonly 'status-info-light': "#
|
|
520
|
-
readonly 'status-info-dark': "#
|
|
645
|
+
readonly 'status-info-light': "#78C2FF";
|
|
646
|
+
readonly 'status-info-dark': "#1072CB";
|
|
521
647
|
readonly 'status-info-subtle': "rgba(33, 150, 243, 0.12)";
|
|
522
648
|
readonly 'on-status-success': "#FFFFFF";
|
|
523
649
|
readonly 'on-status-error': "#FFFFFF";
|
|
@@ -563,6 +689,7 @@ declare const semanticColorsDark: {
|
|
|
563
689
|
readonly 'border-default': "#1F1F1F";
|
|
564
690
|
readonly 'border-subtle': "#1C1C1C";
|
|
565
691
|
readonly 'border-strong': "#2C2C2C";
|
|
692
|
+
readonly 'border-prominent': "#3C3C3C";
|
|
566
693
|
readonly 'border-focus': "#828DF8";
|
|
567
694
|
readonly 'border-input': "#4B5563";
|
|
568
695
|
readonly 'border-input-hover': "#6B7280";
|
|
@@ -680,35 +807,41 @@ declare const buttonSizes: {
|
|
|
680
807
|
type ThemeMode = 'light' | 'dark';
|
|
681
808
|
declare function getSemanticColors(mode: ThemeMode): {
|
|
682
809
|
readonly 'brand-primary': "#FF7900";
|
|
683
|
-
readonly 'brand-primary-light': "#
|
|
684
|
-
readonly 'brand-primary-dark': "#
|
|
810
|
+
readonly 'brand-primary-light': "#FFA063";
|
|
811
|
+
readonly 'brand-primary-dark': "#DA5F00";
|
|
685
812
|
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': "#
|
|
813
|
+
readonly 'brand-primary-hover': "#DA5F00";
|
|
814
|
+
readonly 'brand-primary-active': "#B94A00";
|
|
815
|
+
readonly 'brand-secondary': "#307B9B";
|
|
816
|
+
readonly 'brand-secondary-light': "#2697B7";
|
|
817
|
+
readonly 'brand-secondary-dark': "#2A617F";
|
|
818
|
+
readonly 'brand-secondary-subtle': "rgba(48, 123, 155, 0.08)";
|
|
819
|
+
readonly 'brand-secondary-hover': "#2A617F";
|
|
820
|
+
readonly 'brand-secondary-active': "#22465F";
|
|
694
821
|
readonly 'on-brand-primary': "#FFFFFF";
|
|
695
822
|
readonly 'on-brand-secondary': "#FFFFFF";
|
|
696
|
-
readonly 'status-success': "#
|
|
697
|
-
readonly 'status-success-light': "#
|
|
698
|
-
readonly 'status-success-dark': "#
|
|
699
|
-
readonly 'status-success-subtle': "#
|
|
823
|
+
readonly 'status-success': "#2ED573";
|
|
824
|
+
readonly 'status-success-light': "#58F69E";
|
|
825
|
+
readonly 'status-success-dark': "#298732";
|
|
826
|
+
readonly 'status-success-subtle': "#E3FFEE";
|
|
827
|
+
readonly 'status-live': "#2ED573";
|
|
828
|
+
readonly 'status-live-muted': "#22A444";
|
|
700
829
|
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-
|
|
830
|
+
readonly 'status-error-light': "#E05254";
|
|
831
|
+
readonly 'status-error-dark': "#A4221C";
|
|
832
|
+
readonly 'status-error-subtle': "#FFF4F4";
|
|
833
|
+
readonly 'status-error-vivid': "#FF4757";
|
|
834
|
+
readonly 'status-error-vivid-light': "#FF6070";
|
|
835
|
+
readonly 'status-error-vivid-dark': "#C42539";
|
|
836
|
+
readonly 'status-error-vivid-subtle': "rgba(255, 71, 87, 0.12)";
|
|
837
|
+
readonly 'status-warning': "#F9B415";
|
|
838
|
+
readonly 'status-warning-light': "#FFD352";
|
|
839
|
+
readonly 'status-warning-dark': "#C27400";
|
|
840
|
+
readonly 'status-warning-subtle': "#FFF7DD";
|
|
708
841
|
readonly 'status-info': "#2196F3";
|
|
709
|
-
readonly 'status-info-light': "#
|
|
710
|
-
readonly 'status-info-dark': "#
|
|
711
|
-
readonly 'status-info-subtle': "#
|
|
842
|
+
readonly 'status-info-light': "#78C2FF";
|
|
843
|
+
readonly 'status-info-dark': "#1072CB";
|
|
844
|
+
readonly 'status-info-subtle': "#EFF8FF";
|
|
712
845
|
readonly 'on-status-success': "#FFFFFF";
|
|
713
846
|
readonly 'on-status-error': "#FFFFFF";
|
|
714
847
|
readonly 'on-status-warning': "#FFFFFF";
|
|
@@ -753,6 +886,7 @@ declare function getSemanticColors(mode: ThemeMode): {
|
|
|
753
886
|
readonly 'border-default': "#E8E9EB";
|
|
754
887
|
readonly 'border-subtle': "#F3F4F6";
|
|
755
888
|
readonly 'border-strong': "#D1D5DB";
|
|
889
|
+
readonly 'border-prominent': "#9CA3AF";
|
|
756
890
|
readonly 'border-focus': "#5048E5";
|
|
757
891
|
readonly 'border-input': "#D1D5DB";
|
|
758
892
|
readonly 'border-input-hover': "#9CA3AF";
|
|
@@ -769,34 +903,40 @@ declare function getSemanticColors(mode: ThemeMode): {
|
|
|
769
903
|
readonly 'avatar-text': "#FFFFFF";
|
|
770
904
|
} | {
|
|
771
905
|
readonly 'brand-primary': "#FF7900";
|
|
772
|
-
readonly 'brand-primary-light': "#
|
|
773
|
-
readonly 'brand-primary-dark': "#
|
|
906
|
+
readonly 'brand-primary-light': "#FFA063";
|
|
907
|
+
readonly 'brand-primary-dark': "#DA5F00";
|
|
774
908
|
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': "#
|
|
909
|
+
readonly 'brand-primary-hover': "#FFA063";
|
|
910
|
+
readonly 'brand-primary-active': "#FFC7A2";
|
|
911
|
+
readonly 'brand-secondary': "#307B9B";
|
|
912
|
+
readonly 'brand-secondary-light': "#2697B7";
|
|
913
|
+
readonly 'brand-secondary-dark': "#2A617F";
|
|
914
|
+
readonly 'brand-secondary-subtle': "rgba(48, 123, 155, 0.12)";
|
|
915
|
+
readonly 'brand-secondary-hover': "#2697B7";
|
|
916
|
+
readonly 'brand-secondary-active': "#01B5D1";
|
|
783
917
|
readonly 'on-brand-primary': "#FFFFFF";
|
|
784
918
|
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(
|
|
919
|
+
readonly 'status-success': "#2ED573";
|
|
920
|
+
readonly 'status-success-light': "#58F69E";
|
|
921
|
+
readonly 'status-success-dark': "#298732";
|
|
922
|
+
readonly 'status-success-subtle': "rgba(46, 213, 115, 0.12)";
|
|
923
|
+
readonly 'status-live': "#2ED573";
|
|
924
|
+
readonly 'status-live-muted': "#22A444";
|
|
789
925
|
readonly 'status-error': "#D14343";
|
|
790
|
-
readonly 'status-error-light': "#
|
|
791
|
-
readonly 'status-error-dark': "#
|
|
926
|
+
readonly 'status-error-light': "#E05254";
|
|
927
|
+
readonly 'status-error-dark': "#A4221C";
|
|
792
928
|
readonly 'status-error-subtle': "rgba(209, 67, 67, 0.12)";
|
|
793
|
-
readonly 'status-
|
|
794
|
-
readonly 'status-
|
|
795
|
-
readonly 'status-
|
|
796
|
-
readonly 'status-
|
|
929
|
+
readonly 'status-error-vivid': "#FF4757";
|
|
930
|
+
readonly 'status-error-vivid-light': "#FF6070";
|
|
931
|
+
readonly 'status-error-vivid-dark': "#C42539";
|
|
932
|
+
readonly 'status-error-vivid-subtle': "rgba(255, 71, 87, 0.12)";
|
|
933
|
+
readonly 'status-warning': "#F9B415";
|
|
934
|
+
readonly 'status-warning-light': "#FFD352";
|
|
935
|
+
readonly 'status-warning-dark': "#C27400";
|
|
936
|
+
readonly 'status-warning-subtle': "rgba(249, 180, 21, 0.12)";
|
|
797
937
|
readonly 'status-info': "#2196F3";
|
|
798
|
-
readonly 'status-info-light': "#
|
|
799
|
-
readonly 'status-info-dark': "#
|
|
938
|
+
readonly 'status-info-light': "#78C2FF";
|
|
939
|
+
readonly 'status-info-dark': "#1072CB";
|
|
800
940
|
readonly 'status-info-subtle': "rgba(33, 150, 243, 0.12)";
|
|
801
941
|
readonly 'on-status-success': "#FFFFFF";
|
|
802
942
|
readonly 'on-status-error': "#FFFFFF";
|
|
@@ -842,6 +982,7 @@ declare function getSemanticColors(mode: ThemeMode): {
|
|
|
842
982
|
readonly 'border-default': "#1F1F1F";
|
|
843
983
|
readonly 'border-subtle': "#1C1C1C";
|
|
844
984
|
readonly 'border-strong': "#2C2C2C";
|
|
985
|
+
readonly 'border-prominent': "#3C3C3C";
|
|
845
986
|
readonly 'border-focus': "#828DF8";
|
|
846
987
|
readonly 'border-input': "#4B5563";
|
|
847
988
|
readonly 'border-input-hover': "#6B7280";
|
|
@@ -867,10 +1008,11 @@ declare function getSemanticColors(mode: ThemeMode): {
|
|
|
867
1008
|
|
|
868
1009
|
declare const lightThemeCSSVars: {
|
|
869
1010
|
readonly '--color-brand-primary-rgb': "255, 121, 0";
|
|
870
|
-
readonly '--color-brand-secondary-rgb': "
|
|
871
|
-
readonly '--color-status-success-rgb': "
|
|
1011
|
+
readonly '--color-brand-secondary-rgb': "48, 123, 155";
|
|
1012
|
+
readonly '--color-status-success-rgb': "46, 213, 115";
|
|
872
1013
|
readonly '--color-status-error-rgb': "209, 67, 67";
|
|
873
|
-
readonly '--color-status-
|
|
1014
|
+
readonly '--color-status-error-vivid-rgb': "255, 71, 87";
|
|
1015
|
+
readonly '--color-status-warning-rgb': "249, 180, 21";
|
|
874
1016
|
readonly '--color-status-info-rgb': "33, 150, 243";
|
|
875
1017
|
readonly '--color-background-base-rgb': "16, 16, 16";
|
|
876
1018
|
readonly '--font-family-sans': "'Inter'";
|
|
@@ -884,23 +1026,29 @@ declare const lightThemeCSSVars: {
|
|
|
884
1026
|
readonly '--duration-normal': "250ms";
|
|
885
1027
|
readonly '--duration-slow': "400ms";
|
|
886
1028
|
readonly '--color-brand-primary': "#FF7900";
|
|
887
|
-
readonly '--color-brand-primary-light': "#
|
|
888
|
-
readonly '--color-brand-primary-dark': "#
|
|
1029
|
+
readonly '--color-brand-primary-light': "#FFA063";
|
|
1030
|
+
readonly '--color-brand-primary-dark': "#DA5F00";
|
|
889
1031
|
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(
|
|
1032
|
+
readonly '--color-brand-secondary': "#307B9B";
|
|
1033
|
+
readonly '--color-brand-secondary-light': "#2697B7";
|
|
1034
|
+
readonly '--color-brand-secondary-dark': "#2A617F";
|
|
1035
|
+
readonly '--color-brand-secondary-subtle': "rgba(48, 123, 155, 0.08)";
|
|
894
1036
|
readonly '--color-on-brand-primary': "#FFFFFF";
|
|
895
1037
|
readonly '--color-on-brand-secondary': "#FFFFFF";
|
|
896
|
-
readonly '--color-status-success': "#
|
|
897
|
-
readonly '--color-status-success-subtle': "#
|
|
1038
|
+
readonly '--color-status-success': "#2ED573";
|
|
1039
|
+
readonly '--color-status-success-subtle': "#E3FFEE";
|
|
1040
|
+
readonly '--color-status-live': "#2ED573";
|
|
1041
|
+
readonly '--color-status-live-muted': "#22A444";
|
|
898
1042
|
readonly '--color-status-error': "#D14343";
|
|
899
|
-
readonly '--color-status-error-subtle': "#
|
|
900
|
-
readonly '--color-status-warning': "#
|
|
901
|
-
readonly '--color-status-warning-subtle': "#
|
|
1043
|
+
readonly '--color-status-error-subtle': "#FFF4F4";
|
|
1044
|
+
readonly '--color-status-warning': "#F9B415";
|
|
1045
|
+
readonly '--color-status-warning-subtle': "#FFF7DD";
|
|
902
1046
|
readonly '--color-status-info': "#2196F3";
|
|
903
|
-
readonly '--color-status-info-subtle': "#
|
|
1047
|
+
readonly '--color-status-info-subtle': "#EFF8FF";
|
|
1048
|
+
readonly '--color-status-error-vivid': "#FF4757";
|
|
1049
|
+
readonly '--color-status-error-vivid-light': "#FF6070";
|
|
1050
|
+
readonly '--color-status-error-vivid-dark': "#C42539";
|
|
1051
|
+
readonly '--color-status-error-vivid-subtle': "rgba(255, 71, 87, 0.12)";
|
|
904
1052
|
readonly '--color-text-primary': "#121828";
|
|
905
1053
|
readonly '--color-text-secondary': "#65748B";
|
|
906
1054
|
readonly '--color-text-tertiary': "#9CA3AF";
|
|
@@ -916,6 +1064,7 @@ declare const lightThemeCSSVars: {
|
|
|
916
1064
|
readonly '--color-border-default': "#E8E9EB";
|
|
917
1065
|
readonly '--color-border-subtle': "#F3F4F6";
|
|
918
1066
|
readonly '--color-border-strong': "#D1D5DB";
|
|
1067
|
+
readonly '--color-border-prominent': "#9CA3AF";
|
|
919
1068
|
readonly '--color-border-focus': "#5048E5";
|
|
920
1069
|
readonly '--color-interactive-hover': "rgba(55, 65, 81, 0.04)";
|
|
921
1070
|
readonly '--color-interactive-focus': "rgba(55, 65, 81, 0.12)";
|
|
@@ -923,18 +1072,18 @@ declare const lightThemeCSSVars: {
|
|
|
923
1072
|
readonly '--color-interactive-selected': "rgba(55, 65, 81, 0.08)";
|
|
924
1073
|
readonly '--color-interactive-disabled': "rgba(55, 65, 81, 0.12)";
|
|
925
1074
|
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': "#
|
|
1075
|
+
readonly '--color-brand-primary-hover': "#DA5F00";
|
|
1076
|
+
readonly '--color-brand-primary-active': "#B94A00";
|
|
1077
|
+
readonly '--color-brand-secondary-hover': "#2A617F";
|
|
1078
|
+
readonly '--color-brand-secondary-active': "#22465F";
|
|
1079
|
+
readonly '--color-status-success-light': "#58F69E";
|
|
1080
|
+
readonly '--color-status-success-dark': "#298732";
|
|
1081
|
+
readonly '--color-status-error-light': "#E05254";
|
|
1082
|
+
readonly '--color-status-error-dark': "#A4221C";
|
|
1083
|
+
readonly '--color-status-warning-light': "#FFD352";
|
|
1084
|
+
readonly '--color-status-warning-dark': "#C27400";
|
|
1085
|
+
readonly '--color-status-info-light': "#78C2FF";
|
|
1086
|
+
readonly '--color-status-info-dark': "#1072CB";
|
|
938
1087
|
readonly '--color-on-status-success': "#FFFFFF";
|
|
939
1088
|
readonly '--color-on-status-error': "#FFFFFF";
|
|
940
1089
|
readonly '--color-on-status-warning': "#FFFFFF";
|
|
@@ -974,10 +1123,11 @@ declare const lightThemeCSSVars: {
|
|
|
974
1123
|
};
|
|
975
1124
|
declare const darkThemeCSSVars: {
|
|
976
1125
|
readonly '--color-brand-primary-rgb': "255, 121, 0";
|
|
977
|
-
readonly '--color-brand-secondary-rgb': "
|
|
978
|
-
readonly '--color-status-success-rgb': "
|
|
1126
|
+
readonly '--color-brand-secondary-rgb': "48, 123, 155";
|
|
1127
|
+
readonly '--color-status-success-rgb': "46, 213, 115";
|
|
979
1128
|
readonly '--color-status-error-rgb': "209, 67, 67";
|
|
980
|
-
readonly '--color-status-
|
|
1129
|
+
readonly '--color-status-error-vivid-rgb': "255, 71, 87";
|
|
1130
|
+
readonly '--color-status-warning-rgb': "249, 180, 21";
|
|
981
1131
|
readonly '--color-status-info-rgb': "33, 150, 243";
|
|
982
1132
|
readonly '--color-background-base-rgb': "16, 16, 16";
|
|
983
1133
|
readonly '--font-family-sans': "'Inter'";
|
|
@@ -991,23 +1141,29 @@ declare const darkThemeCSSVars: {
|
|
|
991
1141
|
readonly '--duration-normal': "250ms";
|
|
992
1142
|
readonly '--duration-slow': "400ms";
|
|
993
1143
|
readonly '--color-brand-primary': "#FF7900";
|
|
994
|
-
readonly '--color-brand-primary-light': "#
|
|
995
|
-
readonly '--color-brand-primary-dark': "#
|
|
1144
|
+
readonly '--color-brand-primary-light': "#FFA063";
|
|
1145
|
+
readonly '--color-brand-primary-dark': "#DA5F00";
|
|
996
1146
|
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(
|
|
1147
|
+
readonly '--color-brand-secondary': "#307B9B";
|
|
1148
|
+
readonly '--color-brand-secondary-light': "#2697B7";
|
|
1149
|
+
readonly '--color-brand-secondary-dark': "#2A617F";
|
|
1150
|
+
readonly '--color-brand-secondary-subtle': "rgba(48, 123, 155, 0.12)";
|
|
1001
1151
|
readonly '--color-on-brand-primary': "#FFFFFF";
|
|
1002
1152
|
readonly '--color-on-brand-secondary': "#FFFFFF";
|
|
1003
|
-
readonly '--color-status-success': "#
|
|
1004
|
-
readonly '--color-status-success-subtle': "rgba(
|
|
1153
|
+
readonly '--color-status-success': "#2ED573";
|
|
1154
|
+
readonly '--color-status-success-subtle': "rgba(46, 213, 115, 0.12)";
|
|
1155
|
+
readonly '--color-status-live': "#2ED573";
|
|
1156
|
+
readonly '--color-status-live-muted': "#22A444";
|
|
1005
1157
|
readonly '--color-status-error': "#D14343";
|
|
1006
1158
|
readonly '--color-status-error-subtle': "rgba(209, 67, 67, 0.12)";
|
|
1007
|
-
readonly '--color-status-warning': "#
|
|
1008
|
-
readonly '--color-status-warning-subtle': "rgba(
|
|
1159
|
+
readonly '--color-status-warning': "#F9B415";
|
|
1160
|
+
readonly '--color-status-warning-subtle': "rgba(249, 180, 21, 0.12)";
|
|
1009
1161
|
readonly '--color-status-info': "#2196F3";
|
|
1010
1162
|
readonly '--color-status-info-subtle': "rgba(33, 150, 243, 0.12)";
|
|
1163
|
+
readonly '--color-status-error-vivid': "#FF4757";
|
|
1164
|
+
readonly '--color-status-error-vivid-light': "#FF6070";
|
|
1165
|
+
readonly '--color-status-error-vivid-dark': "#C42539";
|
|
1166
|
+
readonly '--color-status-error-vivid-subtle': "rgba(255, 71, 87, 0.12)";
|
|
1011
1167
|
readonly '--color-text-primary': "#F3F4F6";
|
|
1012
1168
|
readonly '--color-text-secondary': "#9CA3AF";
|
|
1013
1169
|
readonly '--color-text-tertiary': "#6B7280";
|
|
@@ -1023,6 +1179,7 @@ declare const darkThemeCSSVars: {
|
|
|
1023
1179
|
readonly '--color-border-default': "#1F1F1F";
|
|
1024
1180
|
readonly '--color-border-subtle': "#1C1C1C";
|
|
1025
1181
|
readonly '--color-border-strong': "#2C2C2C";
|
|
1182
|
+
readonly '--color-border-prominent': "#3C3C3C";
|
|
1026
1183
|
readonly '--color-border-focus': "#828DF8";
|
|
1027
1184
|
readonly '--color-interactive-hover': "rgba(255, 255, 255, 0.04)";
|
|
1028
1185
|
readonly '--color-interactive-focus': "rgba(255, 255, 255, 0.12)";
|
|
@@ -1030,18 +1187,18 @@ declare const darkThemeCSSVars: {
|
|
|
1030
1187
|
readonly '--color-interactive-selected': "rgba(255, 255, 255, 0.08)";
|
|
1031
1188
|
readonly '--color-interactive-disabled': "rgba(255, 255, 255, 0.12)";
|
|
1032
1189
|
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': "#
|
|
1190
|
+
readonly '--color-brand-primary-hover': "#FFA063";
|
|
1191
|
+
readonly '--color-brand-primary-active': "#FFC7A2";
|
|
1192
|
+
readonly '--color-brand-secondary-hover': "#2697B7";
|
|
1193
|
+
readonly '--color-brand-secondary-active': "#01B5D1";
|
|
1194
|
+
readonly '--color-status-success-light': "#58F69E";
|
|
1195
|
+
readonly '--color-status-success-dark': "#298732";
|
|
1196
|
+
readonly '--color-status-error-light': "#E05254";
|
|
1197
|
+
readonly '--color-status-error-dark': "#A4221C";
|
|
1198
|
+
readonly '--color-status-warning-light': "#FFD352";
|
|
1199
|
+
readonly '--color-status-warning-dark': "#C27400";
|
|
1200
|
+
readonly '--color-status-info-light': "#78C2FF";
|
|
1201
|
+
readonly '--color-status-info-dark': "#1072CB";
|
|
1045
1202
|
readonly '--color-on-status-success': "#FFFFFF";
|
|
1046
1203
|
readonly '--color-on-status-error': "#FFFFFF";
|
|
1047
1204
|
readonly '--color-on-status-warning': "#FFFFFF";
|
|
@@ -1081,10 +1238,11 @@ declare const darkThemeCSSVars: {
|
|
|
1081
1238
|
};
|
|
1082
1239
|
declare function getThemeCSSVars(mode: ThemeMode): {
|
|
1083
1240
|
readonly '--color-brand-primary-rgb': "255, 121, 0";
|
|
1084
|
-
readonly '--color-brand-secondary-rgb': "
|
|
1085
|
-
readonly '--color-status-success-rgb': "
|
|
1241
|
+
readonly '--color-brand-secondary-rgb': "48, 123, 155";
|
|
1242
|
+
readonly '--color-status-success-rgb': "46, 213, 115";
|
|
1086
1243
|
readonly '--color-status-error-rgb': "209, 67, 67";
|
|
1087
|
-
readonly '--color-status-
|
|
1244
|
+
readonly '--color-status-error-vivid-rgb': "255, 71, 87";
|
|
1245
|
+
readonly '--color-status-warning-rgb': "249, 180, 21";
|
|
1088
1246
|
readonly '--color-status-info-rgb': "33, 150, 243";
|
|
1089
1247
|
readonly '--color-background-base-rgb': "16, 16, 16";
|
|
1090
1248
|
readonly '--font-family-sans': "'Inter'";
|
|
@@ -1098,23 +1256,29 @@ declare function getThemeCSSVars(mode: ThemeMode): {
|
|
|
1098
1256
|
readonly '--duration-normal': "250ms";
|
|
1099
1257
|
readonly '--duration-slow': "400ms";
|
|
1100
1258
|
readonly '--color-brand-primary': "#FF7900";
|
|
1101
|
-
readonly '--color-brand-primary-light': "#
|
|
1102
|
-
readonly '--color-brand-primary-dark': "#
|
|
1259
|
+
readonly '--color-brand-primary-light': "#FFA063";
|
|
1260
|
+
readonly '--color-brand-primary-dark': "#DA5F00";
|
|
1103
1261
|
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(
|
|
1262
|
+
readonly '--color-brand-secondary': "#307B9B";
|
|
1263
|
+
readonly '--color-brand-secondary-light': "#2697B7";
|
|
1264
|
+
readonly '--color-brand-secondary-dark': "#2A617F";
|
|
1265
|
+
readonly '--color-brand-secondary-subtle': "rgba(48, 123, 155, 0.08)";
|
|
1108
1266
|
readonly '--color-on-brand-primary': "#FFFFFF";
|
|
1109
1267
|
readonly '--color-on-brand-secondary': "#FFFFFF";
|
|
1110
|
-
readonly '--color-status-success': "#
|
|
1111
|
-
readonly '--color-status-success-subtle': "#
|
|
1268
|
+
readonly '--color-status-success': "#2ED573";
|
|
1269
|
+
readonly '--color-status-success-subtle': "#E3FFEE";
|
|
1270
|
+
readonly '--color-status-live': "#2ED573";
|
|
1271
|
+
readonly '--color-status-live-muted': "#22A444";
|
|
1112
1272
|
readonly '--color-status-error': "#D14343";
|
|
1113
|
-
readonly '--color-status-error-subtle': "#
|
|
1114
|
-
readonly '--color-status-warning': "#
|
|
1115
|
-
readonly '--color-status-warning-subtle': "#
|
|
1273
|
+
readonly '--color-status-error-subtle': "#FFF4F4";
|
|
1274
|
+
readonly '--color-status-warning': "#F9B415";
|
|
1275
|
+
readonly '--color-status-warning-subtle': "#FFF7DD";
|
|
1116
1276
|
readonly '--color-status-info': "#2196F3";
|
|
1117
|
-
readonly '--color-status-info-subtle': "#
|
|
1277
|
+
readonly '--color-status-info-subtle': "#EFF8FF";
|
|
1278
|
+
readonly '--color-status-error-vivid': "#FF4757";
|
|
1279
|
+
readonly '--color-status-error-vivid-light': "#FF6070";
|
|
1280
|
+
readonly '--color-status-error-vivid-dark': "#C42539";
|
|
1281
|
+
readonly '--color-status-error-vivid-subtle': "rgba(255, 71, 87, 0.12)";
|
|
1118
1282
|
readonly '--color-text-primary': "#121828";
|
|
1119
1283
|
readonly '--color-text-secondary': "#65748B";
|
|
1120
1284
|
readonly '--color-text-tertiary': "#9CA3AF";
|
|
@@ -1130,6 +1294,7 @@ declare function getThemeCSSVars(mode: ThemeMode): {
|
|
|
1130
1294
|
readonly '--color-border-default': "#E8E9EB";
|
|
1131
1295
|
readonly '--color-border-subtle': "#F3F4F6";
|
|
1132
1296
|
readonly '--color-border-strong': "#D1D5DB";
|
|
1297
|
+
readonly '--color-border-prominent': "#9CA3AF";
|
|
1133
1298
|
readonly '--color-border-focus': "#5048E5";
|
|
1134
1299
|
readonly '--color-interactive-hover': "rgba(55, 65, 81, 0.04)";
|
|
1135
1300
|
readonly '--color-interactive-focus': "rgba(55, 65, 81, 0.12)";
|
|
@@ -1137,18 +1302,18 @@ declare function getThemeCSSVars(mode: ThemeMode): {
|
|
|
1137
1302
|
readonly '--color-interactive-selected': "rgba(55, 65, 81, 0.08)";
|
|
1138
1303
|
readonly '--color-interactive-disabled': "rgba(55, 65, 81, 0.12)";
|
|
1139
1304
|
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': "#
|
|
1305
|
+
readonly '--color-brand-primary-hover': "#DA5F00";
|
|
1306
|
+
readonly '--color-brand-primary-active': "#B94A00";
|
|
1307
|
+
readonly '--color-brand-secondary-hover': "#2A617F";
|
|
1308
|
+
readonly '--color-brand-secondary-active': "#22465F";
|
|
1309
|
+
readonly '--color-status-success-light': "#58F69E";
|
|
1310
|
+
readonly '--color-status-success-dark': "#298732";
|
|
1311
|
+
readonly '--color-status-error-light': "#E05254";
|
|
1312
|
+
readonly '--color-status-error-dark': "#A4221C";
|
|
1313
|
+
readonly '--color-status-warning-light': "#FFD352";
|
|
1314
|
+
readonly '--color-status-warning-dark': "#C27400";
|
|
1315
|
+
readonly '--color-status-info-light': "#78C2FF";
|
|
1316
|
+
readonly '--color-status-info-dark': "#1072CB";
|
|
1152
1317
|
readonly '--color-on-status-success': "#FFFFFF";
|
|
1153
1318
|
readonly '--color-on-status-error': "#FFFFFF";
|
|
1154
1319
|
readonly '--color-on-status-warning': "#FFFFFF";
|
|
@@ -1187,10 +1352,11 @@ declare function getThemeCSSVars(mode: ThemeMode): {
|
|
|
1187
1352
|
readonly '--color-avatar-text': "#FFFFFF";
|
|
1188
1353
|
} | {
|
|
1189
1354
|
readonly '--color-brand-primary-rgb': "255, 121, 0";
|
|
1190
|
-
readonly '--color-brand-secondary-rgb': "
|
|
1191
|
-
readonly '--color-status-success-rgb': "
|
|
1355
|
+
readonly '--color-brand-secondary-rgb': "48, 123, 155";
|
|
1356
|
+
readonly '--color-status-success-rgb': "46, 213, 115";
|
|
1192
1357
|
readonly '--color-status-error-rgb': "209, 67, 67";
|
|
1193
|
-
readonly '--color-status-
|
|
1358
|
+
readonly '--color-status-error-vivid-rgb': "255, 71, 87";
|
|
1359
|
+
readonly '--color-status-warning-rgb': "249, 180, 21";
|
|
1194
1360
|
readonly '--color-status-info-rgb': "33, 150, 243";
|
|
1195
1361
|
readonly '--color-background-base-rgb': "16, 16, 16";
|
|
1196
1362
|
readonly '--font-family-sans': "'Inter'";
|
|
@@ -1204,23 +1370,29 @@ declare function getThemeCSSVars(mode: ThemeMode): {
|
|
|
1204
1370
|
readonly '--duration-normal': "250ms";
|
|
1205
1371
|
readonly '--duration-slow': "400ms";
|
|
1206
1372
|
readonly '--color-brand-primary': "#FF7900";
|
|
1207
|
-
readonly '--color-brand-primary-light': "#
|
|
1208
|
-
readonly '--color-brand-primary-dark': "#
|
|
1373
|
+
readonly '--color-brand-primary-light': "#FFA063";
|
|
1374
|
+
readonly '--color-brand-primary-dark': "#DA5F00";
|
|
1209
1375
|
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(
|
|
1376
|
+
readonly '--color-brand-secondary': "#307B9B";
|
|
1377
|
+
readonly '--color-brand-secondary-light': "#2697B7";
|
|
1378
|
+
readonly '--color-brand-secondary-dark': "#2A617F";
|
|
1379
|
+
readonly '--color-brand-secondary-subtle': "rgba(48, 123, 155, 0.12)";
|
|
1214
1380
|
readonly '--color-on-brand-primary': "#FFFFFF";
|
|
1215
1381
|
readonly '--color-on-brand-secondary': "#FFFFFF";
|
|
1216
|
-
readonly '--color-status-success': "#
|
|
1217
|
-
readonly '--color-status-success-subtle': "rgba(
|
|
1382
|
+
readonly '--color-status-success': "#2ED573";
|
|
1383
|
+
readonly '--color-status-success-subtle': "rgba(46, 213, 115, 0.12)";
|
|
1384
|
+
readonly '--color-status-live': "#2ED573";
|
|
1385
|
+
readonly '--color-status-live-muted': "#22A444";
|
|
1218
1386
|
readonly '--color-status-error': "#D14343";
|
|
1219
1387
|
readonly '--color-status-error-subtle': "rgba(209, 67, 67, 0.12)";
|
|
1220
|
-
readonly '--color-status-warning': "#
|
|
1221
|
-
readonly '--color-status-warning-subtle': "rgba(
|
|
1388
|
+
readonly '--color-status-warning': "#F9B415";
|
|
1389
|
+
readonly '--color-status-warning-subtle': "rgba(249, 180, 21, 0.12)";
|
|
1222
1390
|
readonly '--color-status-info': "#2196F3";
|
|
1223
1391
|
readonly '--color-status-info-subtle': "rgba(33, 150, 243, 0.12)";
|
|
1392
|
+
readonly '--color-status-error-vivid': "#FF4757";
|
|
1393
|
+
readonly '--color-status-error-vivid-light': "#FF6070";
|
|
1394
|
+
readonly '--color-status-error-vivid-dark': "#C42539";
|
|
1395
|
+
readonly '--color-status-error-vivid-subtle': "rgba(255, 71, 87, 0.12)";
|
|
1224
1396
|
readonly '--color-text-primary': "#F3F4F6";
|
|
1225
1397
|
readonly '--color-text-secondary': "#9CA3AF";
|
|
1226
1398
|
readonly '--color-text-tertiary': "#6B7280";
|
|
@@ -1236,6 +1408,7 @@ declare function getThemeCSSVars(mode: ThemeMode): {
|
|
|
1236
1408
|
readonly '--color-border-default': "#1F1F1F";
|
|
1237
1409
|
readonly '--color-border-subtle': "#1C1C1C";
|
|
1238
1410
|
readonly '--color-border-strong': "#2C2C2C";
|
|
1411
|
+
readonly '--color-border-prominent': "#3C3C3C";
|
|
1239
1412
|
readonly '--color-border-focus': "#828DF8";
|
|
1240
1413
|
readonly '--color-interactive-hover': "rgba(255, 255, 255, 0.04)";
|
|
1241
1414
|
readonly '--color-interactive-focus': "rgba(255, 255, 255, 0.12)";
|
|
@@ -1243,18 +1416,18 @@ declare function getThemeCSSVars(mode: ThemeMode): {
|
|
|
1243
1416
|
readonly '--color-interactive-selected': "rgba(255, 255, 255, 0.08)";
|
|
1244
1417
|
readonly '--color-interactive-disabled': "rgba(255, 255, 255, 0.12)";
|
|
1245
1418
|
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': "#
|
|
1419
|
+
readonly '--color-brand-primary-hover': "#FFA063";
|
|
1420
|
+
readonly '--color-brand-primary-active': "#FFC7A2";
|
|
1421
|
+
readonly '--color-brand-secondary-hover': "#2697B7";
|
|
1422
|
+
readonly '--color-brand-secondary-active': "#01B5D1";
|
|
1423
|
+
readonly '--color-status-success-light': "#58F69E";
|
|
1424
|
+
readonly '--color-status-success-dark': "#298732";
|
|
1425
|
+
readonly '--color-status-error-light': "#E05254";
|
|
1426
|
+
readonly '--color-status-error-dark': "#A4221C";
|
|
1427
|
+
readonly '--color-status-warning-light': "#FFD352";
|
|
1428
|
+
readonly '--color-status-warning-dark': "#C27400";
|
|
1429
|
+
readonly '--color-status-info-light': "#78C2FF";
|
|
1430
|
+
readonly '--color-status-info-dark': "#1072CB";
|
|
1258
1431
|
readonly '--color-on-status-success': "#FFFFFF";
|
|
1259
1432
|
readonly '--color-on-status-error': "#FFFFFF";
|
|
1260
1433
|
readonly '--color-on-status-warning': "#FFFFFF";
|
|
@@ -1615,7 +1788,7 @@ declare function validateCssPropertyManifest(candidate: unknown): ManifestValida
|
|
|
1615
1788
|
/** Type guard variant of validateCssPropertyManifest for use in narrowing contexts. */
|
|
1616
1789
|
declare function isCssPropertyManifest(candidate: unknown): candidate is CssPropertyManifest;
|
|
1617
1790
|
|
|
1618
|
-
type ColorToken = keyof ReturnType<typeof getSemanticColors>;
|
|
1791
|
+
type ColorToken$1 = keyof ReturnType<typeof getSemanticColors>;
|
|
1619
1792
|
/**
|
|
1620
1793
|
* Resolve a semantic color token for an inline style where a nativewind
|
|
1621
1794
|
* className can't apply — gradients (`backgroundImage`), per-edge borders
|
|
@@ -1627,7 +1800,30 @@ type ColorToken = keyof ReturnType<typeof getSemanticColors>;
|
|
|
1627
1800
|
* resolved hex from `getSemanticColors` (mobile is dark-only). This is why
|
|
1628
1801
|
* these spots stay theme-correct on web while also rendering on-device.
|
|
1629
1802
|
*/
|
|
1630
|
-
declare function resolveColor(token: ColorToken, mode?: ThemeMode): string;
|
|
1803
|
+
declare function resolveColor(token: ColorToken$1, mode?: ThemeMode): string;
|
|
1804
|
+
|
|
1805
|
+
type ColorToken = keyof ReturnType<typeof getSemanticColors>;
|
|
1806
|
+
/** A `backgroundImage` style — web-only (RN ignores it); type it loosely for RN style arrays. */
|
|
1807
|
+
type GradientStyle = {
|
|
1808
|
+
backgroundImage: string;
|
|
1809
|
+
};
|
|
1810
|
+
/**
|
|
1811
|
+
* A linear-gradient `backgroundImage` built from two semantic color tokens.
|
|
1812
|
+
*
|
|
1813
|
+
* Themeable + native-safe via {@link resolveColor}: on web the stops are CSS
|
|
1814
|
+
* variables (light/dark switching keeps working); on native it resolves to hex.
|
|
1815
|
+
* `backgroundImage` is a **web-only** paint, so pair this with a solid
|
|
1816
|
+
* `bg-*` className fallback for native (see the shell TopBar).
|
|
1817
|
+
*/
|
|
1818
|
+
declare function linearGradient(from: ColorToken, to: ColorToken, angle?: number, mode?: ThemeMode): GradientStyle;
|
|
1819
|
+
/**
|
|
1820
|
+
* Named surface gradients — the shared substrate for gradient fills. Replaces
|
|
1821
|
+
* per-component inline `linear-gradient` strings.
|
|
1822
|
+
*/
|
|
1823
|
+
declare const surfaceGradient: {
|
|
1824
|
+
/** Chrome bands (top bar, headers): elevated → base, a subtle dark wash. */
|
|
1825
|
+
chrome: (mode?: ThemeMode) => GradientStyle;
|
|
1826
|
+
};
|
|
1631
1827
|
|
|
1632
1828
|
type ThemeProviderMode = 'dark' | 'light';
|
|
1633
1829
|
interface ThemeProviderProps extends ViewProps {
|
|
@@ -1726,4 +1922,4 @@ declare const defaultPreset: ThemePreset;
|
|
|
1726
1922
|
*/
|
|
1727
1923
|
declare const audiobookPreset: ThemePreset;
|
|
1728
1924
|
|
|
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 };
|
|
1925
|
+
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 };
|