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