@titan-design/react-ui 0.4.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/MesoStatusCard-CQk71hSi.d.mts +77 -0
- package/dist/MesoStatusCard-CQk71hSi.d.ts +77 -0
- package/dist/bodymap.d.mts +246 -3
- package/dist/bodymap.d.ts +246 -3
- package/dist/bodymap.js +232 -185
- package/dist/bodymap.js.map +1 -1
- package/dist/bodymap.mjs +1963 -11
- package/dist/bodymap.mjs.map +1 -1
- package/dist/index.d.mts +193 -744
- package/dist/index.d.ts +193 -744
- package/dist/index.js +1551 -1856
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10770 -8213
- package/dist/index.mjs.map +1 -1
- package/dist/pages-D7Jlssvp.d.ts +791 -0
- package/dist/pages-MO0JCySL.d.mts +791 -0
- package/dist/pages.d.mts +4 -0
- package/dist/pages.d.ts +4 -0
- package/dist/pages.js +6694 -0
- package/dist/pages.js.map +1 -0
- package/dist/pages.mjs +6674 -0
- package/dist/pages.mjs.map +1 -0
- package/dist/theme/index.d.mts +473 -211
- package/dist/theme/index.d.ts +473 -211
- package/dist/theme/index.js +341 -127
- package/dist/theme/index.js.map +1 -1
- package/dist/theme/index.mjs +2085 -2
- package/dist/theme/index.mjs.map +1 -1
- package/dist/theme/tokens-css.js +148 -139
- package/dist/theme/tokens-css.js.map +1 -1
- package/dist/theme/tokens-css.mjs +582 -1
- package/dist/theme/tokens-css.mjs.map +1 -1
- package/package.json +11 -7
- package/src/components/custom/DateTime/DateTime.stories.tsx +82 -6
- package/src/components/custom/DateTime/DateTime.test.tsx +29 -3
- package/src/components/custom/DateTime/DateTime.tsx +55 -15
- package/src/components/custom/Gauge/Gauge.test.tsx +2 -2
- package/src/components/custom/Gauge/Gauge.tsx +6 -3
- package/src/components/custom/Scatter/Scatter.tsx +3 -5
- package/src/components/custom/Treemap/Treemap.tsx +3 -5
- package/src/components/custom/Typography/Typography.stories.tsx +45 -27
- package/src/components/custom/Typography/Typography.test.tsx +13 -3
- package/src/components/custom/Typography/Typography.tsx +5 -0
- package/src/components/custom/Workout/ActiveWorkoutPage.tsx +2 -1
- package/src/components/custom/Workout/BaseBadge.stories.tsx +3 -3
- package/src/components/custom/Workout/BaseBadge.test.tsx +1 -1
- package/src/components/custom/Workout/BaseBadge.tsx +1 -1
- package/src/components/custom/Workout/BodyMap.tsx +6 -3
- package/src/components/custom/Workout/BodyMapDetailPanel.tsx +6 -3
- package/src/components/custom/Workout/CapacityBandChart.test.tsx +2 -2
- package/src/components/custom/Workout/CapacityBandChart.tsx +9 -6
- package/src/components/custom/Workout/DeviationBar.test.tsx +1 -1
- package/src/components/custom/Workout/DeviationBar.tsx +7 -4
- package/src/components/custom/Workout/ExerciseCard.tsx +5 -1
- package/src/components/custom/Workout/ExerciseDetailPage.tsx +19 -5
- package/src/components/custom/Workout/InputBar.tsx +2 -1
- package/src/components/custom/Workout/IntensityBar.test.tsx +112 -60
- package/src/components/custom/Workout/IntensityBar.tsx +113 -58
- package/src/components/custom/Workout/MesoCard.tsx +8 -3
- package/src/components/custom/Workout/MesoProgressBar.test.tsx +1 -1
- package/src/components/custom/Workout/MesoProgressBar.tsx +3 -2
- package/src/components/custom/Workout/MesoStatusCard.tsx +20 -13
- package/src/components/custom/Workout/MuscleGroupChip.tsx +7 -4
- package/src/components/custom/Workout/PlaceholderStrip.tsx +5 -9
- package/src/components/custom/Workout/PrBadge.tsx +7 -4
- package/src/components/custom/Workout/PrHistoryModal.tsx +6 -5
- package/src/components/custom/Workout/ProgramPlanningPage.tsx +2 -1
- package/src/components/custom/Workout/README.md +50 -0
- package/src/components/custom/Workout/ReadinessCheck.tsx +7 -4
- package/src/components/custom/Workout/RestTimer.test.tsx +41 -10
- package/src/components/custom/Workout/RestTimer.tsx +50 -44
- package/src/components/custom/Workout/SetRow.tsx +12 -2
- package/src/components/custom/Workout/Sparkline.tsx +2 -1
- package/src/components/custom/Workout/StatusDot.test.tsx +2 -2
- package/src/components/custom/Workout/StatusDot.tsx +12 -9
- package/src/components/custom/Workout/StrengthTrendChart.tsx +9 -6
- package/src/components/custom/Workout/SupersetWrapper.tsx +2 -1
- package/src/components/custom/Workout/TempoDisplay.stories.tsx +69 -2
- package/src/components/custom/Workout/TempoDisplay.test.tsx +35 -0
- package/src/components/custom/Workout/TempoDisplay.tsx +109 -3
- package/src/components/custom/Workout/VelocityStrip.test.tsx +89 -2
- package/src/components/custom/Workout/VelocityStrip.tsx +203 -38
- package/src/components/custom/Workout/WeekRow.test.tsx +2 -2
- package/src/components/custom/Workout/WeekRow.tsx +3 -2
- package/src/components/custom/Workout/WeightBadge.test.tsx +2 -2
- package/src/components/custom/Workout/WeightBadge.tsx +8 -4
- package/src/components/custom/Workout/WorkoutCard.tsx +5 -2
- package/src/components/custom/Workout/WorkoutPill.tsx +12 -8
- package/src/components/custom/Workout/icons.tsx +7 -0
- package/src/components/custom/Workout/index.ts +38 -47
- package/src/components/icons/SvgIcon.tsx +50 -0
- package/src/components/icons/icons.stories.tsx +57 -0
- package/src/components/icons/icons.test.tsx +43 -0
- package/src/components/icons/icons.tsx +45 -0
- package/src/components/icons/index.ts +4 -0
- package/src/components/index.ts +6 -0
- package/src/components/shell/BrandLockup.stories.tsx +27 -0
- package/src/components/shell/BrandLockup.test.tsx +23 -0
- package/src/components/shell/BrandLockup.tsx +47 -0
- package/src/components/shell/DeviceIndicator.stories.tsx +28 -0
- package/src/components/shell/DeviceIndicator.test.tsx +26 -0
- package/src/components/shell/DeviceIndicator.tsx +52 -0
- package/src/components/shell/DeviceMenu.stories.tsx +47 -0
- package/src/components/shell/DeviceMenu.test.tsx +40 -0
- package/src/components/shell/DeviceMenu.tsx +65 -0
- package/src/components/shell/DeviceRow.stories.tsx +38 -0
- package/src/components/shell/DeviceRow.test.tsx +37 -0
- package/src/components/shell/DeviceRow.tsx +58 -0
- package/src/components/shell/README.md +86 -0
- package/src/components/shell/SessionStatePill.stories.tsx +27 -0
- package/src/components/shell/SessionStatePill.test.tsx +25 -0
- package/src/components/shell/SessionStatePill.tsx +46 -0
- package/src/components/shell/TopBar.stories.tsx +49 -0
- package/src/components/shell/TopBar.test.tsx +36 -0
- package/src/components/shell/TopBar.tsx +89 -0
- package/src/components/shell/index.ts +8 -0
- package/src/components/ui/indicator/Indicator.stories.tsx +37 -1
- package/src/components/ui/indicator/Indicator.test.tsx +19 -1
- package/src/components/ui/indicator/Indicator.tsx +45 -6
- package/src/components/ui/indicator/index.ts +1 -1
- package/src/components/ui/spinner/Spinner.tsx +3 -2
- package/src/components/ui/toolbar-button/ToolbarButton.tsx +2 -1
- package/src/index.ts +3 -2
- package/src/pages.ts +61 -0
- package/src/test/stories-smoke.test.tsx +50 -0
- package/src/theme/ColorSystem.stories.tsx +323 -0
- package/src/theme/Colors.stories.tsx +69 -1
- package/src/theme/barrel.ts +54 -0
- package/src/theme/config.ts +16 -3
- package/src/theme/extracted-colors-dataviz.ts +21 -0
- package/src/theme/extracted-colors-ui.ts +20 -0
- package/src/theme/global.css +64 -52
- package/src/theme/gradients.test.ts +25 -0
- package/src/theme/gradients.ts +36 -0
- package/src/theme/index.ts +8 -43
- package/src/theme/native-theming-guard.test.ts +117 -0
- package/src/theme/tokens/primitives.test.ts +232 -0
- package/src/theme/tokens/primitives.ts +247 -0
- package/src/theme/tokens/semantic.ts +93 -81
- package/src/theme/workout-tokens.ts +22 -21
- package/src/utils/avatar-color.ts +3 -3
- package/tailwind.config.js +10 -3
- package/dist/bodymap-BhG55xHM.d.mts +0 -318
- package/dist/bodymap-BhG55xHM.d.ts +0 -318
- package/dist/chunk-2SISKTWM.mjs +0 -1027
- package/dist/chunk-2SISKTWM.mjs.map +0 -1
- package/dist/chunk-7XPB4NAO.mjs +0 -1013
- package/dist/chunk-7XPB4NAO.mjs.map +0 -1
- package/dist/chunk-SNVKL5WZ.mjs +0 -883
- package/dist/chunk-SNVKL5WZ.mjs.map +0 -1
package/dist/theme/tokens-css.js
CHANGED
|
@@ -8,37 +8,17 @@ var primitiveColors = {
|
|
|
8
8
|
600: "#5048E5",
|
|
9
9
|
// Primary main
|
|
10
10
|
700: "#3832A0"},
|
|
11
|
-
// Teal scale (success)
|
|
12
|
-
teal: {
|
|
13
|
-
50: "#F0FDFA",
|
|
14
|
-
400: "#43C6B7",
|
|
15
|
-
// Success light
|
|
16
|
-
500: "#14B8A6",
|
|
17
|
-
700: "#0E8074"},
|
|
18
11
|
// Red scale (error)
|
|
19
12
|
red: {
|
|
20
|
-
50: "#FEF2F2",
|
|
21
|
-
400: "#DA6868",
|
|
22
13
|
// Error light
|
|
23
14
|
500: "#EF4444",
|
|
24
|
-
600: "#D14343",
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
// Warning light
|
|
32
|
-
500: "#FFB020",
|
|
33
|
-
// Warning main
|
|
34
|
-
600: "#B27B16"},
|
|
35
|
-
// Sky/Blue scale (info)
|
|
36
|
-
sky: {
|
|
37
|
-
50: "#F0F9FF",
|
|
38
|
-
400: "#64B6F7",
|
|
39
|
-
// Info light
|
|
40
|
-
500: "#2196F3",
|
|
41
|
-
700: "#0B79D0"},
|
|
15
|
+
600: "#D14343"},
|
|
16
|
+
// Vivid red scale (alert)
|
|
17
|
+
redVivid: {
|
|
18
|
+
400: "#FF6070",
|
|
19
|
+
// Error vivid light
|
|
20
|
+
500: "#FF4757",
|
|
21
|
+
700: "#C42539"},
|
|
42
22
|
// Neutral/Gray scale
|
|
43
23
|
neutral: {
|
|
44
24
|
50: "#FAFAFA",
|
|
@@ -48,16 +28,9 @@ var primitiveColors = {
|
|
|
48
28
|
500: "#6B7280",
|
|
49
29
|
600: "#4B5563",
|
|
50
30
|
900: "#111827"},
|
|
51
|
-
// Orange scale (accent/brand color)
|
|
52
|
-
accent: {
|
|
53
|
-
200: "#FF9630",
|
|
54
|
-
300: "#FF8500",
|
|
55
|
-
400: "#FF7900",
|
|
56
|
-
500: "#F56C00",
|
|
57
|
-
600: "#E06D10",
|
|
58
|
-
700: "#D0620C"},
|
|
59
31
|
// Charcoal scale (dark backgrounds)
|
|
60
32
|
charcoal: {
|
|
33
|
+
200: "#3C3C3C",
|
|
61
34
|
300: "#2C2C2C",
|
|
62
35
|
400: "#1F1F1F",
|
|
63
36
|
500: "#1C1C1C",
|
|
@@ -65,15 +38,45 @@ var primitiveColors = {
|
|
|
65
38
|
700: "#161616",
|
|
66
39
|
900: "#101010"
|
|
67
40
|
},
|
|
68
|
-
// Steel scale (cool accent)
|
|
69
|
-
steel: {
|
|
70
|
-
300: "#678498",
|
|
71
|
-
400: "#557488",
|
|
72
|
-
500: "#406D87",
|
|
73
|
-
600: "#39617A",
|
|
74
|
-
700: "#32556D"},
|
|
75
41
|
// Pure colors
|
|
76
42
|
white: "#FFFFFF"};
|
|
43
|
+
var primitiveRamps = {
|
|
44
|
+
red: {
|
|
45
|
+
50: "#FFF4F4",
|
|
46
|
+
500: "#E05254",
|
|
47
|
+
600: "#D14343",
|
|
48
|
+
// pin
|
|
49
|
+
700: "#A4221C"},
|
|
50
|
+
orange: {
|
|
51
|
+
200: "#FFC7A2",
|
|
52
|
+
300: "#FFA063",
|
|
53
|
+
400: "#FF7900",
|
|
54
|
+
// pin
|
|
55
|
+
500: "#DA5F00",
|
|
56
|
+
600: "#B94A00"},
|
|
57
|
+
amber: {
|
|
58
|
+
50: "#FFF7DD",
|
|
59
|
+
200: "#FFD352",
|
|
60
|
+
300: "#F9B415",
|
|
61
|
+
500: "#C27400"},
|
|
62
|
+
green: {
|
|
63
|
+
50: "#E3FFEE",
|
|
64
|
+
200: "#58F69E",
|
|
65
|
+
300: "#2ED573",
|
|
66
|
+
600: "#298732"},
|
|
67
|
+
cyan: {
|
|
68
|
+
// pin
|
|
69
|
+
400: "#01B5D1",
|
|
70
|
+
500: "#2697B7",
|
|
71
|
+
600: "#307B9B",
|
|
72
|
+
700: "#2A617F",
|
|
73
|
+
800: "#22465F"},
|
|
74
|
+
blue: {
|
|
75
|
+
50: "#EFF8FF",
|
|
76
|
+
300: "#78C2FF",
|
|
77
|
+
500: "#2196F3",
|
|
78
|
+
// pin
|
|
79
|
+
600: "#1072CB"}};
|
|
77
80
|
var discreteRainbow = [
|
|
78
81
|
"#E8ECFB",
|
|
79
82
|
"#D9CCE3",
|
|
@@ -109,56 +112,43 @@ var discreteRainbow = [
|
|
|
109
112
|
// src/theme/tokens/semantic.ts
|
|
110
113
|
var semanticColorsLight = {
|
|
111
114
|
// Brand colors (brand-*)
|
|
112
|
-
"brand-primary":
|
|
113
|
-
|
|
114
|
-
"brand-primary-
|
|
115
|
-
// #FF9630
|
|
116
|
-
"brand-primary-dark": primitiveColors.accent[700],
|
|
117
|
-
// #D0620C
|
|
115
|
+
"brand-primary": primitiveRamps.orange[400],
|
|
116
|
+
"brand-primary-light": primitiveRamps.orange[300],
|
|
117
|
+
"brand-primary-dark": primitiveRamps.orange[500],
|
|
118
118
|
"brand-primary-subtle": "rgba(255, 121, 0, 0.08)",
|
|
119
|
-
"brand-primary-hover":
|
|
120
|
-
"brand-primary-active":
|
|
121
|
-
"brand-secondary":
|
|
122
|
-
|
|
123
|
-
"brand-secondary-
|
|
124
|
-
|
|
125
|
-
"brand-secondary-
|
|
126
|
-
|
|
127
|
-
"brand-secondary-subtle": "rgba(64, 109, 135, 0.08)",
|
|
128
|
-
"brand-secondary-hover": primitiveColors.steel[600],
|
|
129
|
-
"brand-secondary-active": primitiveColors.steel[700],
|
|
119
|
+
"brand-primary-hover": primitiveRamps.orange[500],
|
|
120
|
+
"brand-primary-active": primitiveRamps.orange[600],
|
|
121
|
+
"brand-secondary": primitiveRamps.cyan[600],
|
|
122
|
+
"brand-secondary-light": primitiveRamps.cyan[500],
|
|
123
|
+
"brand-secondary-dark": primitiveRamps.cyan[700],
|
|
124
|
+
"brand-secondary-subtle": "rgba(48, 123, 155, 0.08)",
|
|
125
|
+
"brand-secondary-hover": primitiveRamps.cyan[700],
|
|
126
|
+
"brand-secondary-active": primitiveRamps.cyan[800],
|
|
130
127
|
// Text on brand backgrounds (on-*)
|
|
131
128
|
"on-brand-primary": primitiveColors.white,
|
|
132
129
|
"on-brand-secondary": primitiveColors.white,
|
|
133
130
|
// Status colors (status-*)
|
|
134
|
-
"status-success":
|
|
135
|
-
|
|
136
|
-
"status-success-
|
|
137
|
-
|
|
138
|
-
"status-
|
|
139
|
-
|
|
140
|
-
"status-
|
|
141
|
-
"status-error":
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
"status-error-dark": primitiveColors.
|
|
146
|
-
|
|
147
|
-
"status-
|
|
148
|
-
"status-warning":
|
|
149
|
-
|
|
150
|
-
"status-warning-
|
|
151
|
-
|
|
152
|
-
"status-
|
|
153
|
-
|
|
154
|
-
"status-
|
|
155
|
-
"status-info": primitiveColors.sky[500],
|
|
156
|
-
// #2196F3
|
|
157
|
-
"status-info-light": primitiveColors.sky[400],
|
|
158
|
-
// #64B6F7
|
|
159
|
-
"status-info-dark": primitiveColors.sky[700],
|
|
160
|
-
// #0B79D0
|
|
161
|
-
"status-info-subtle": primitiveColors.sky[50],
|
|
131
|
+
"status-success": primitiveRamps.green[300],
|
|
132
|
+
"status-success-light": primitiveRamps.green[200],
|
|
133
|
+
"status-success-dark": primitiveRamps.green[600],
|
|
134
|
+
"status-success-subtle": primitiveRamps.green[50],
|
|
135
|
+
"status-error": primitiveRamps.red[600],
|
|
136
|
+
"status-error-light": primitiveRamps.red[500],
|
|
137
|
+
"status-error-dark": primitiveRamps.red[700],
|
|
138
|
+
"status-error-subtle": primitiveRamps.red[50],
|
|
139
|
+
"status-error-vivid": primitiveColors.redVivid[500],
|
|
140
|
+
// vivid alert red
|
|
141
|
+
"status-error-vivid-light": primitiveColors.redVivid[400],
|
|
142
|
+
"status-error-vivid-dark": primitiveColors.redVivid[700],
|
|
143
|
+
"status-error-vivid-subtle": "rgba(255, 71, 87, 0.12)",
|
|
144
|
+
"status-warning": primitiveRamps.amber[300],
|
|
145
|
+
"status-warning-light": primitiveRamps.amber[200],
|
|
146
|
+
"status-warning-dark": primitiveRamps.amber[500],
|
|
147
|
+
"status-warning-subtle": primitiveRamps.amber[50],
|
|
148
|
+
"status-info": primitiveRamps.blue[500],
|
|
149
|
+
"status-info-light": primitiveRamps.blue[300],
|
|
150
|
+
"status-info-dark": primitiveRamps.blue[600],
|
|
151
|
+
"status-info-subtle": primitiveRamps.blue[50],
|
|
162
152
|
// Text on status backgrounds (on-status-*)
|
|
163
153
|
"on-status-success": primitiveColors.white,
|
|
164
154
|
"on-status-error": primitiveColors.white,
|
|
@@ -185,25 +175,25 @@ var semanticColorsLight = {
|
|
|
185
175
|
// Data visualization colors (data-*)
|
|
186
176
|
// First 10 colors from discrete rainbow optimized for charts
|
|
187
177
|
"data-1": discreteRainbow[9],
|
|
188
|
-
//
|
|
178
|
+
// Blue
|
|
189
179
|
"data-2": discreteRainbow[14],
|
|
190
|
-
//
|
|
180
|
+
// Green
|
|
191
181
|
"data-3": discreteRainbow[17],
|
|
192
|
-
//
|
|
182
|
+
// Yellow
|
|
193
183
|
"data-4": discreteRainbow[25],
|
|
194
|
-
//
|
|
184
|
+
// Red
|
|
195
185
|
"data-5": discreteRainbow[8],
|
|
196
|
-
//
|
|
186
|
+
// Purple
|
|
197
187
|
"data-6": discreteRainbow[20],
|
|
198
|
-
//
|
|
188
|
+
// Orange
|
|
199
189
|
"data-7": discreteRainbow[13],
|
|
200
|
-
//
|
|
190
|
+
// Light Blue
|
|
201
191
|
"data-8": discreteRainbow[15],
|
|
202
|
-
//
|
|
192
|
+
// Light Green
|
|
203
193
|
"data-9": discreteRainbow[3],
|
|
204
|
-
//
|
|
194
|
+
// Lavender
|
|
205
195
|
"data-10": discreteRainbow[22],
|
|
206
|
-
//
|
|
196
|
+
// Dark Orange
|
|
207
197
|
// Text colors (text-*)
|
|
208
198
|
"text-primary": "#121828",
|
|
209
199
|
"text-secondary": "#65748B",
|
|
@@ -215,9 +205,9 @@ var semanticColorsLight = {
|
|
|
215
205
|
// Surface colors (surface-*) - for elevated containers
|
|
216
206
|
"surface-base": primitiveColors.white,
|
|
217
207
|
"surface-elevated": primitiveColors.neutral[50],
|
|
218
|
-
//
|
|
208
|
+
// slightly off-white for elevated cards
|
|
219
209
|
"surface-raised": primitiveColors.neutral[100],
|
|
220
|
-
//
|
|
210
|
+
// light gray for raised cards
|
|
221
211
|
"surface-overlay": primitiveColors.white,
|
|
222
212
|
"surface-input": primitiveColors.neutral[50],
|
|
223
213
|
// Input field background (filled variant)
|
|
@@ -229,6 +219,8 @@ var semanticColorsLight = {
|
|
|
229
219
|
"border-default": "#E8E9EB",
|
|
230
220
|
"border-subtle": primitiveColors.neutral[100],
|
|
231
221
|
"border-strong": primitiveColors.neutral[300],
|
|
222
|
+
"border-prominent": primitiveColors.neutral[400],
|
|
223
|
+
// high-visibility divider
|
|
232
224
|
"border-focus": primitiveColors.blue[600],
|
|
233
225
|
"border-input": primitiveColors.neutral[300],
|
|
234
226
|
// Input field border
|
|
@@ -253,37 +245,41 @@ var semanticColorsLight = {
|
|
|
253
245
|
};
|
|
254
246
|
var semanticColorsDark = {
|
|
255
247
|
// Brand colors stay the same in dark mode
|
|
256
|
-
"brand-primary":
|
|
257
|
-
"brand-primary-light":
|
|
258
|
-
"brand-primary-dark":
|
|
248
|
+
"brand-primary": primitiveRamps.orange[400],
|
|
249
|
+
"brand-primary-light": primitiveRamps.orange[300],
|
|
250
|
+
"brand-primary-dark": primitiveRamps.orange[500],
|
|
259
251
|
"brand-primary-subtle": "rgba(255, 121, 0, 0.12)",
|
|
260
|
-
"brand-primary-hover":
|
|
261
|
-
"brand-primary-active":
|
|
262
|
-
"brand-secondary":
|
|
263
|
-
"brand-secondary-light":
|
|
264
|
-
"brand-secondary-dark":
|
|
265
|
-
"brand-secondary-subtle": "rgba(
|
|
266
|
-
"brand-secondary-hover":
|
|
267
|
-
"brand-secondary-active":
|
|
252
|
+
"brand-primary-hover": primitiveRamps.orange[300],
|
|
253
|
+
"brand-primary-active": primitiveRamps.orange[200],
|
|
254
|
+
"brand-secondary": primitiveRamps.cyan[600],
|
|
255
|
+
"brand-secondary-light": primitiveRamps.cyan[500],
|
|
256
|
+
"brand-secondary-dark": primitiveRamps.cyan[700],
|
|
257
|
+
"brand-secondary-subtle": "rgba(48, 123, 155, 0.12)",
|
|
258
|
+
"brand-secondary-hover": primitiveRamps.cyan[500],
|
|
259
|
+
"brand-secondary-active": primitiveRamps.cyan[400],
|
|
268
260
|
// Text on brand backgrounds
|
|
269
261
|
"on-brand-primary": primitiveColors.white,
|
|
270
262
|
"on-brand-secondary": primitiveColors.white,
|
|
271
263
|
// Status colors
|
|
272
|
-
"status-success":
|
|
273
|
-
"status-success-light":
|
|
274
|
-
"status-success-dark":
|
|
275
|
-
"status-success-subtle": "rgba(
|
|
276
|
-
"status-error":
|
|
277
|
-
"status-error-light":
|
|
278
|
-
"status-error-dark":
|
|
264
|
+
"status-success": primitiveRamps.green[300],
|
|
265
|
+
"status-success-light": primitiveRamps.green[200],
|
|
266
|
+
"status-success-dark": primitiveRamps.green[600],
|
|
267
|
+
"status-success-subtle": "rgba(46, 213, 115, 0.12)",
|
|
268
|
+
"status-error": primitiveRamps.red[600],
|
|
269
|
+
"status-error-light": primitiveRamps.red[500],
|
|
270
|
+
"status-error-dark": primitiveRamps.red[700],
|
|
279
271
|
"status-error-subtle": "rgba(209, 67, 67, 0.12)",
|
|
280
|
-
"status-
|
|
281
|
-
"status-
|
|
282
|
-
"status-
|
|
283
|
-
"status-
|
|
284
|
-
"status-
|
|
285
|
-
"status-
|
|
286
|
-
"status-
|
|
272
|
+
"status-error-vivid": primitiveColors.redVivid[500],
|
|
273
|
+
"status-error-vivid-light": primitiveColors.redVivid[400],
|
|
274
|
+
"status-error-vivid-dark": primitiveColors.redVivid[700],
|
|
275
|
+
"status-error-vivid-subtle": "rgba(255, 71, 87, 0.12)",
|
|
276
|
+
"status-warning": primitiveRamps.amber[300],
|
|
277
|
+
"status-warning-light": primitiveRamps.amber[200],
|
|
278
|
+
"status-warning-dark": primitiveRamps.amber[500],
|
|
279
|
+
"status-warning-subtle": "rgba(249, 180, 21, 0.12)",
|
|
280
|
+
"status-info": primitiveRamps.blue[500],
|
|
281
|
+
"status-info-light": primitiveRamps.blue[300],
|
|
282
|
+
"status-info-dark": primitiveRamps.blue[600],
|
|
287
283
|
"status-info-subtle": "rgba(33, 150, 243, 0.12)",
|
|
288
284
|
// Text on status backgrounds
|
|
289
285
|
"on-status-success": primitiveColors.white,
|
|
@@ -325,29 +321,31 @@ var semanticColorsDark = {
|
|
|
325
321
|
"text-link-hover": primitiveColors.blue[400],
|
|
326
322
|
// Surface colors - dark backgrounds
|
|
327
323
|
"surface-base": primitiveColors.charcoal[700],
|
|
328
|
-
//
|
|
324
|
+
// main surface
|
|
329
325
|
"surface-elevated": primitiveColors.charcoal[600],
|
|
330
|
-
//
|
|
326
|
+
// elevated surface
|
|
331
327
|
"surface-raised": primitiveColors.charcoal[500],
|
|
332
|
-
//
|
|
328
|
+
// raised surface
|
|
333
329
|
"surface-overlay": primitiveColors.charcoal[600],
|
|
334
|
-
//
|
|
330
|
+
// overlay surface
|
|
335
331
|
"surface-input": primitiveColors.charcoal[600],
|
|
336
|
-
//
|
|
332
|
+
// input surface
|
|
337
333
|
// Background colors
|
|
338
334
|
"background-base": primitiveColors.charcoal[900],
|
|
339
|
-
//
|
|
335
|
+
// darkest charcoal
|
|
340
336
|
"background-default": primitiveColors.charcoal[700],
|
|
341
|
-
//
|
|
337
|
+
// main background
|
|
342
338
|
"background-subtle": primitiveColors.charcoal[500],
|
|
343
|
-
//
|
|
339
|
+
// subtle background
|
|
344
340
|
// Border colors
|
|
345
341
|
"border-default": primitiveColors.charcoal[400],
|
|
346
|
-
//
|
|
342
|
+
// default border
|
|
347
343
|
"border-subtle": primitiveColors.charcoal[500],
|
|
348
|
-
//
|
|
344
|
+
// subtle border
|
|
349
345
|
"border-strong": primitiveColors.charcoal[300],
|
|
350
|
-
//
|
|
346
|
+
// strong border
|
|
347
|
+
"border-prominent": primitiveColors.charcoal[200],
|
|
348
|
+
// high-visibility divider
|
|
351
349
|
"border-focus": "#828DF8",
|
|
352
350
|
"border-input": primitiveColors.neutral[600],
|
|
353
351
|
"border-input-hover": primitiveColors.neutral[500],
|
|
@@ -362,7 +360,7 @@ var semanticColorsDark = {
|
|
|
362
360
|
"interactive-disabled-text": "rgba(255, 255, 255, 0.26)",
|
|
363
361
|
// Divider
|
|
364
362
|
"divider": primitiveColors.charcoal[400],
|
|
365
|
-
//
|
|
363
|
+
// divider color
|
|
366
364
|
// Avatar default
|
|
367
365
|
"avatar-background": primitiveColors.neutral[600],
|
|
368
366
|
"avatar-text": primitiveColors.white
|
|
@@ -372,10 +370,11 @@ var semanticColorsDark = {
|
|
|
372
370
|
var themeIndependentCSSVars = {
|
|
373
371
|
// RGB decomposed values for glow shadows
|
|
374
372
|
"--color-brand-primary-rgb": "255, 121, 0",
|
|
375
|
-
"--color-brand-secondary-rgb": "
|
|
376
|
-
"--color-status-success-rgb": "
|
|
373
|
+
"--color-brand-secondary-rgb": "48, 123, 155",
|
|
374
|
+
"--color-status-success-rgb": "46, 213, 115",
|
|
377
375
|
"--color-status-error-rgb": "209, 67, 67",
|
|
378
|
-
"--color-status-
|
|
376
|
+
"--color-status-error-vivid-rgb": "255, 71, 87",
|
|
377
|
+
"--color-status-warning-rgb": "249, 180, 21",
|
|
379
378
|
"--color-status-info-rgb": "33, 150, 243",
|
|
380
379
|
"--color-background-base-rgb": "16, 16, 16",
|
|
381
380
|
// Font families
|
|
@@ -410,6 +409,10 @@ var lightThemeCSSVars = {
|
|
|
410
409
|
"--color-status-warning-subtle": semanticColorsLight["status-warning-subtle"],
|
|
411
410
|
"--color-status-info": semanticColorsLight["status-info"],
|
|
412
411
|
"--color-status-info-subtle": semanticColorsLight["status-info-subtle"],
|
|
412
|
+
"--color-status-error-vivid": semanticColorsLight["status-error-vivid"],
|
|
413
|
+
"--color-status-error-vivid-light": semanticColorsLight["status-error-vivid-light"],
|
|
414
|
+
"--color-status-error-vivid-dark": semanticColorsLight["status-error-vivid-dark"],
|
|
415
|
+
"--color-status-error-vivid-subtle": semanticColorsLight["status-error-vivid-subtle"],
|
|
413
416
|
"--color-text-primary": semanticColorsLight["text-primary"],
|
|
414
417
|
"--color-text-secondary": semanticColorsLight["text-secondary"],
|
|
415
418
|
"--color-text-tertiary": semanticColorsLight["text-tertiary"],
|
|
@@ -425,6 +428,7 @@ var lightThemeCSSVars = {
|
|
|
425
428
|
"--color-border-default": semanticColorsLight["border-default"],
|
|
426
429
|
"--color-border-subtle": semanticColorsLight["border-subtle"],
|
|
427
430
|
"--color-border-strong": semanticColorsLight["border-strong"],
|
|
431
|
+
"--color-border-prominent": semanticColorsLight["border-prominent"],
|
|
428
432
|
"--color-border-focus": semanticColorsLight["border-focus"],
|
|
429
433
|
"--color-interactive-hover": semanticColorsLight["interactive-hover"],
|
|
430
434
|
"--color-interactive-focus": semanticColorsLight["interactive-focus"],
|
|
@@ -501,6 +505,10 @@ var darkThemeCSSVars = {
|
|
|
501
505
|
"--color-status-warning-subtle": semanticColorsDark["status-warning-subtle"],
|
|
502
506
|
"--color-status-info": semanticColorsDark["status-info"],
|
|
503
507
|
"--color-status-info-subtle": semanticColorsDark["status-info-subtle"],
|
|
508
|
+
"--color-status-error-vivid": semanticColorsDark["status-error-vivid"],
|
|
509
|
+
"--color-status-error-vivid-light": semanticColorsDark["status-error-vivid-light"],
|
|
510
|
+
"--color-status-error-vivid-dark": semanticColorsDark["status-error-vivid-dark"],
|
|
511
|
+
"--color-status-error-vivid-subtle": semanticColorsDark["status-error-vivid-subtle"],
|
|
504
512
|
"--color-text-primary": semanticColorsDark["text-primary"],
|
|
505
513
|
"--color-text-secondary": semanticColorsDark["text-secondary"],
|
|
506
514
|
"--color-text-tertiary": semanticColorsDark["text-tertiary"],
|
|
@@ -516,6 +524,7 @@ var darkThemeCSSVars = {
|
|
|
516
524
|
"--color-border-default": semanticColorsDark["border-default"],
|
|
517
525
|
"--color-border-subtle": semanticColorsDark["border-subtle"],
|
|
518
526
|
"--color-border-strong": semanticColorsDark["border-strong"],
|
|
527
|
+
"--color-border-prominent": semanticColorsDark["border-prominent"],
|
|
519
528
|
"--color-border-focus": semanticColorsDark["border-focus"],
|
|
520
529
|
"--color-interactive-hover": semanticColorsDark["interactive-hover"],
|
|
521
530
|
"--color-interactive-focus": semanticColorsDark["interactive-focus"],
|