@jablonowski/dsb-tokens 1.0.3 → 1.0.4
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/css/variables.css +3 -3
- package/dist/js/tokens.js +18 -18
- package/dist/json/tokens.json +18 -18
- package/dist/scss/_variables.scss +3 -3
- package/dist/ts/tokens.ts +18 -18
- package/package.json +1 -1
- package/test/tokens.test.js +2 -2
- package/tokens/tokens.json +3 -3
package/dist/css/variables.css
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
--ds-color-options-neutral-450: #bbbbbb;
|
|
16
16
|
--ds-color-options-neutral-500: #aaaaaa;
|
|
17
17
|
--ds-color-options-neutral-550: #999999;
|
|
18
|
-
--ds-color-options-neutral-600: #
|
|
18
|
+
--ds-color-options-neutral-600: #6f6f6f;
|
|
19
19
|
--ds-color-options-neutral-650: #666666;
|
|
20
20
|
--ds-color-options-neutral-700: #555555;
|
|
21
21
|
--ds-color-options-neutral-800: #333333;
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
--ds-color-options-red-600: #c5221f;
|
|
29
29
|
--ds-color-options-red-700: #b0261e;
|
|
30
30
|
--ds-color-options-green-50: #e6f4ea;
|
|
31
|
-
--ds-color-options-green-700: #
|
|
31
|
+
--ds-color-options-green-700: #1a7c3c;
|
|
32
32
|
--ds-color-options-yellow-50: #fef3cd;
|
|
33
33
|
--ds-color-options-yellow-700: #92600a;
|
|
34
34
|
--ds-color-options-blue-50: #e8f0fe;
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
--ds-decisions-color-text-secondary: var(--ds-color-options-neutral-700); /** De-emphasised text — ghost button, captions */
|
|
74
74
|
--ds-decisions-color-text-muted: var(--ds-color-options-neutral-650); /** Quiet text — links, descriptions */
|
|
75
75
|
--ds-decisions-color-text-subtle: var(--ds-color-options-neutral-600); /** Placeholder-level text — hints, metadata */
|
|
76
|
-
--ds-decisions-color-text-placeholder: var(--ds-color-options-neutral-
|
|
76
|
+
--ds-decisions-color-text-placeholder: var(--ds-color-options-neutral-600); /** Input placeholder, empty states */
|
|
77
77
|
--ds-decisions-color-text-disabled: var(--ds-color-options-neutral-550); /** Disabled control text */
|
|
78
78
|
--ds-decisions-color-text-inverse: var(--ds-color-options-neutral-0); /** Text on dark/filled backgrounds */
|
|
79
79
|
--ds-decisions-color-surface-base: var(--ds-color-options-neutral-0); /** Default control and card background */
|
package/dist/js/tokens.js
CHANGED
|
@@ -14,7 +14,7 @@ export const ColorOptionsNeutral400 = "#c0c0c0";
|
|
|
14
14
|
export const ColorOptionsNeutral450 = "#bbbbbb";
|
|
15
15
|
export const ColorOptionsNeutral500 = "#aaaaaa";
|
|
16
16
|
export const ColorOptionsNeutral550 = "#999999";
|
|
17
|
-
export const ColorOptionsNeutral600 = "#
|
|
17
|
+
export const ColorOptionsNeutral600 = "#6f6f6f";
|
|
18
18
|
export const ColorOptionsNeutral650 = "#666666";
|
|
19
19
|
export const ColorOptionsNeutral700 = "#555555";
|
|
20
20
|
export const ColorOptionsNeutral800 = "#333333";
|
|
@@ -27,7 +27,7 @@ export const ColorOptionsRed500 = "#d93025";
|
|
|
27
27
|
export const ColorOptionsRed600 = "#c5221f";
|
|
28
28
|
export const ColorOptionsRed700 = "#b0261e";
|
|
29
29
|
export const ColorOptionsGreen50 = "#e6f4ea";
|
|
30
|
-
export const ColorOptionsGreen700 = "#
|
|
30
|
+
export const ColorOptionsGreen700 = "#1a7c3c";
|
|
31
31
|
export const ColorOptionsYellow50 = "#fef3cd";
|
|
32
32
|
export const ColorOptionsYellow700 = "#92600a";
|
|
33
33
|
export const ColorOptionsBlue50 = "#e8f0fe";
|
|
@@ -70,8 +70,8 @@ export const DecisionsColorTextPrimary = "#111111"; // Primary body text, labels
|
|
|
70
70
|
export const DecisionsColorTextBody = "#333333"; // Secondary body text, table cells
|
|
71
71
|
export const DecisionsColorTextSecondary = "#555555"; // De-emphasised text — ghost button, captions
|
|
72
72
|
export const DecisionsColorTextMuted = "#666666"; // Quiet text — links, descriptions
|
|
73
|
-
export const DecisionsColorTextSubtle = "#
|
|
74
|
-
export const DecisionsColorTextPlaceholder = "#
|
|
73
|
+
export const DecisionsColorTextSubtle = "#6f6f6f"; // Placeholder-level text — hints, metadata
|
|
74
|
+
export const DecisionsColorTextPlaceholder = "#6f6f6f"; // Input placeholder, empty states
|
|
75
75
|
export const DecisionsColorTextDisabled = "#999999"; // Disabled control text
|
|
76
76
|
export const DecisionsColorTextInverse = "#ffffff"; // Text on dark/filled backgrounds
|
|
77
77
|
export const DecisionsColorSurfaceBase = "#ffffff"; // Default control and card background
|
|
@@ -92,7 +92,7 @@ export const DecisionsColorFeedbackErrorIconHover = "#b0261e"; // Error border o
|
|
|
92
92
|
export const DecisionsColorFeedbackErrorSurface = "#fce8e6"; // Error tinted background
|
|
93
93
|
export const DecisionsColorFeedbackErrorSurfaceHover = "#fef2f2"; // Error surface on hover
|
|
94
94
|
export const DecisionsColorFeedbackErrorBorder = "#f0a9a4"; // Soft error border — danger button default
|
|
95
|
-
export const DecisionsColorFeedbackSuccessText = "#
|
|
95
|
+
export const DecisionsColorFeedbackSuccessText = "#1a7c3c"; // Success text and icon
|
|
96
96
|
export const DecisionsColorFeedbackSuccessSurface = "#e6f4ea"; // Success tinted background
|
|
97
97
|
export const DecisionsColorFeedbackWarningText = "#92600a"; // Warning text and icon
|
|
98
98
|
export const DecisionsColorFeedbackWarningSurface = "#fef3cd"; // Warning tinted background
|
|
@@ -152,7 +152,7 @@ export const ComponentButtonDangerBorder = "#f0a9a4";
|
|
|
152
152
|
export const ComponentButtonDangerBorderHover = "#d93025";
|
|
153
153
|
export const ComponentInputBackground = "#ffffff";
|
|
154
154
|
export const ComponentInputText = "#111111";
|
|
155
|
-
export const ComponentInputPlaceholder = "#
|
|
155
|
+
export const ComponentInputPlaceholder = "#6f6f6f";
|
|
156
156
|
export const ComponentInputBorder = "#d4d4d4";
|
|
157
157
|
export const ComponentInputBorderFocus = "#111111";
|
|
158
158
|
export const ComponentInputBorderRadius = "6px";
|
|
@@ -181,7 +181,7 @@ export const ComponentRadioFocusRing = "0 0 0 3px rgba(0, 0, 0, 0.06)";
|
|
|
181
181
|
export const ComponentRadioErrorBorder = "#d93025";
|
|
182
182
|
export const ComponentDropdownBackground = "#ffffff";
|
|
183
183
|
export const ComponentDropdownText = "#111111";
|
|
184
|
-
export const ComponentDropdownPlaceholder = "#
|
|
184
|
+
export const ComponentDropdownPlaceholder = "#6f6f6f";
|
|
185
185
|
export const ComponentDropdownBorder = "#d4d4d4";
|
|
186
186
|
export const ComponentDropdownBorderOpen = "#111111";
|
|
187
187
|
export const ComponentDropdownBorderHover = "#111111";
|
|
@@ -191,7 +191,7 @@ export const ComponentDropdownFocusRing = "0 0 0 3px rgba(0, 0, 0, 0.06)";
|
|
|
191
191
|
export const ComponentDropdownMenuShadow = "0 4px 12px rgba(0, 0, 0, 0.08)";
|
|
192
192
|
export const ComponentDropdownMenuOptionHover = "#f5f5f5";
|
|
193
193
|
export const ComponentDropdownMenuOptionSelected = "#f0f0f0";
|
|
194
|
-
export const ComponentDropdownMenuOptionDisabled = "#
|
|
194
|
+
export const ComponentDropdownMenuOptionDisabled = "#6f6f6f";
|
|
195
195
|
export const ComponentDropdownErrorBorder = "#d93025";
|
|
196
196
|
export const ComponentDropdownErrorBorderHover = "#b0261e";
|
|
197
197
|
export const ComponentTagBorderRadius = "4px";
|
|
@@ -200,7 +200,7 @@ export const ComponentTagDefaultText = "#555555";
|
|
|
200
200
|
export const ComponentTagPrimaryBackground = "#111111";
|
|
201
201
|
export const ComponentTagPrimaryText = "#ffffff";
|
|
202
202
|
export const ComponentTagSuccessBackground = "#e6f4ea";
|
|
203
|
-
export const ComponentTagSuccessText = "#
|
|
203
|
+
export const ComponentTagSuccessText = "#1a7c3c";
|
|
204
204
|
export const ComponentTagWarningBackground = "#fef3cd";
|
|
205
205
|
export const ComponentTagWarningText = "#92600a";
|
|
206
206
|
export const ComponentTagDangerBackground = "#fce8e6";
|
|
@@ -220,7 +220,7 @@ export const ComponentModalTitleFontSize = "16px";
|
|
|
220
220
|
export const ComponentModalTitleFontWeight = "600";
|
|
221
221
|
export const ComponentModalBodyText = "#333333";
|
|
222
222
|
export const ComponentModalBodyFontSize = "14px";
|
|
223
|
-
export const ComponentModalCloseButtonText = "#
|
|
223
|
+
export const ComponentModalCloseButtonText = "#6f6f6f";
|
|
224
224
|
export const ComponentModalCloseButtonTextHover = "#111111";
|
|
225
225
|
export const ComponentModalCloseButtonBackgroundHover = "#f0f0f0";
|
|
226
226
|
export const ComponentModalCloseButtonBorderRadius = "5px";
|
|
@@ -229,22 +229,22 @@ export const ComponentTableBackground = "#ffffff";
|
|
|
229
229
|
export const ComponentTableBorder = "#ebebeb";
|
|
230
230
|
export const ComponentTableBorderRadius = "8px";
|
|
231
231
|
export const ComponentTableHeaderBackground = "#fafafa";
|
|
232
|
-
export const ComponentTableHeaderText = "#
|
|
232
|
+
export const ComponentTableHeaderText = "#6f6f6f";
|
|
233
233
|
export const ComponentTableHeaderBorder = "#ebebeb";
|
|
234
234
|
export const ComponentTableCellText = "#333333";
|
|
235
235
|
export const ComponentTableCellBorderBottom = "#f0f0f0";
|
|
236
236
|
export const ComponentTableRowHoverBackground = "#f7f7f7";
|
|
237
237
|
export const ComponentTableRowStripedBackground = "#fafafa";
|
|
238
|
-
export const ComponentTableEmptyText = "#
|
|
238
|
+
export const ComponentTableEmptyText = "#6f6f6f";
|
|
239
239
|
export const ComponentListDivider = "#f0f0f0";
|
|
240
240
|
export const ComponentListBorder = "#ebebeb";
|
|
241
241
|
export const ComponentListBorderRadius = "8px";
|
|
242
242
|
export const ComponentListItemText = "#111111";
|
|
243
243
|
export const ComponentListItemDescription = "#666666";
|
|
244
|
-
export const ComponentListItemMeta = "#
|
|
244
|
+
export const ComponentListItemMeta = "#6f6f6f";
|
|
245
245
|
export const ComponentListIndicatorDefault = "#d4d4d4";
|
|
246
246
|
export const ComponentListIndicatorInfo = "#1a56db";
|
|
247
|
-
export const ComponentListIndicatorSuccess = "#
|
|
247
|
+
export const ComponentListIndicatorSuccess = "#1a7c3c";
|
|
248
248
|
export const ComponentListIndicatorWarning = "#92600a";
|
|
249
249
|
export const ComponentListIndicatorError = "#c5221f";
|
|
250
250
|
export const ComponentAccordionBorder = "#f0f0f0";
|
|
@@ -253,7 +253,7 @@ export const ComponentAccordionTitleFontSize = "14px";
|
|
|
253
253
|
export const ComponentAccordionTitleFontWeight = "500";
|
|
254
254
|
export const ComponentAccordionBodyText = "#555555";
|
|
255
255
|
export const ComponentAccordionBodyFontSize = "14px";
|
|
256
|
-
export const ComponentAccordionChevronColor = "#
|
|
256
|
+
export const ComponentAccordionChevronColor = "#6f6f6f";
|
|
257
257
|
export const ComponentAccordionChevronDuration = "0.2s";
|
|
258
258
|
export const ComponentAccordionFocusRing = "0 0 0 3px rgba(0, 0, 0, 0.06)";
|
|
259
259
|
export const ComponentAccordionDisabledOpacity = "0.42";
|
|
@@ -283,7 +283,7 @@ export const ComponentFooterBorder = "#ebebeb";
|
|
|
283
283
|
export const ComponentFooterBrandText = "#111111";
|
|
284
284
|
export const ComponentFooterBrandFontSize = "15px";
|
|
285
285
|
export const ComponentFooterBrandFontWeight = "600";
|
|
286
|
-
export const ComponentFooterTaglineText = "#
|
|
286
|
+
export const ComponentFooterTaglineText = "#6f6f6f";
|
|
287
287
|
export const ComponentFooterTaglineFontSize = "13px";
|
|
288
288
|
export const ComponentFooterColumnHeadingText = "#111111";
|
|
289
289
|
export const ComponentFooterColumnHeadingFontSize = "12px";
|
|
@@ -291,9 +291,9 @@ export const ComponentFooterColumnHeadingFontWeight = "600";
|
|
|
291
291
|
export const ComponentFooterColumnLinkText = "#666666";
|
|
292
292
|
export const ComponentFooterColumnLinkTextHover = "#111111";
|
|
293
293
|
export const ComponentFooterColumnLinkFontSize = "13px";
|
|
294
|
-
export const ComponentFooterLegalText = "#
|
|
294
|
+
export const ComponentFooterLegalText = "#6f6f6f";
|
|
295
295
|
export const ComponentFooterLegalTextHover = "#555555";
|
|
296
296
|
export const ComponentFooterLegalFontSize = "12px";
|
|
297
|
-
export const ComponentFooterCopyrightText = "#
|
|
297
|
+
export const ComponentFooterCopyrightText = "#6f6f6f";
|
|
298
298
|
export const ComponentFooterCopyrightFontSize = "12px";
|
|
299
299
|
export const ComponentFooterDivider = "#f0f0f0";
|
package/dist/json/tokens.json
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"450": "#bbbbbb",
|
|
17
17
|
"500": "#aaaaaa",
|
|
18
18
|
"550": "#999999",
|
|
19
|
-
"600": "#
|
|
19
|
+
"600": "#6f6f6f",
|
|
20
20
|
"650": "#666666",
|
|
21
21
|
"700": "#555555",
|
|
22
22
|
"800": "#333333",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
},
|
|
34
34
|
"green": {
|
|
35
35
|
"50": "#e6f4ea",
|
|
36
|
-
"700": "#
|
|
36
|
+
"700": "#1a7c3c"
|
|
37
37
|
},
|
|
38
38
|
"yellow": {
|
|
39
39
|
"50": "#fef3cd",
|
|
@@ -138,8 +138,8 @@
|
|
|
138
138
|
"body": "#333333",
|
|
139
139
|
"secondary": "#555555",
|
|
140
140
|
"muted": "#666666",
|
|
141
|
-
"subtle": "#
|
|
142
|
-
"placeholder": "#
|
|
141
|
+
"subtle": "#6f6f6f",
|
|
142
|
+
"placeholder": "#6f6f6f",
|
|
143
143
|
"disabled": "#999999",
|
|
144
144
|
"inverse": "#ffffff"
|
|
145
145
|
},
|
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
"border": "#f0a9a4"
|
|
172
172
|
},
|
|
173
173
|
"success": {
|
|
174
|
-
"text": "#
|
|
174
|
+
"text": "#1a7c3c",
|
|
175
175
|
"surface": "#e6f4ea"
|
|
176
176
|
},
|
|
177
177
|
"warning": {
|
|
@@ -278,7 +278,7 @@
|
|
|
278
278
|
"input": {
|
|
279
279
|
"background": "#ffffff",
|
|
280
280
|
"text": "#111111",
|
|
281
|
-
"placeholder": "#
|
|
281
|
+
"placeholder": "#6f6f6f",
|
|
282
282
|
"border": "#d4d4d4",
|
|
283
283
|
"borderFocus": "#111111",
|
|
284
284
|
"borderRadius": "6px",
|
|
@@ -322,7 +322,7 @@
|
|
|
322
322
|
"dropdown": {
|
|
323
323
|
"background": "#ffffff",
|
|
324
324
|
"text": "#111111",
|
|
325
|
-
"placeholder": "#
|
|
325
|
+
"placeholder": "#6f6f6f",
|
|
326
326
|
"border": "#d4d4d4",
|
|
327
327
|
"borderOpen": "#111111",
|
|
328
328
|
"borderHover": "#111111",
|
|
@@ -333,7 +333,7 @@
|
|
|
333
333
|
"shadow": "0 4px 12px rgba(0, 0, 0, 0.08)",
|
|
334
334
|
"optionHover": "#f5f5f5",
|
|
335
335
|
"optionSelected": "#f0f0f0",
|
|
336
|
-
"optionDisabled": "#
|
|
336
|
+
"optionDisabled": "#6f6f6f"
|
|
337
337
|
},
|
|
338
338
|
"error": {
|
|
339
339
|
"border": "#d93025",
|
|
@@ -352,7 +352,7 @@
|
|
|
352
352
|
},
|
|
353
353
|
"success": {
|
|
354
354
|
"background": "#e6f4ea",
|
|
355
|
-
"text": "#
|
|
355
|
+
"text": "#1a7c3c"
|
|
356
356
|
},
|
|
357
357
|
"warning": {
|
|
358
358
|
"background": "#fef3cd",
|
|
@@ -390,7 +390,7 @@
|
|
|
390
390
|
"fontSize": "14px"
|
|
391
391
|
},
|
|
392
392
|
"closeButton": {
|
|
393
|
-
"text": "#
|
|
393
|
+
"text": "#6f6f6f",
|
|
394
394
|
"textHover": "#111111",
|
|
395
395
|
"backgroundHover": "#f0f0f0",
|
|
396
396
|
"borderRadius": "5px"
|
|
@@ -403,7 +403,7 @@
|
|
|
403
403
|
"borderRadius": "8px",
|
|
404
404
|
"header": {
|
|
405
405
|
"background": "#fafafa",
|
|
406
|
-
"text": "#
|
|
406
|
+
"text": "#6f6f6f",
|
|
407
407
|
"border": "#ebebeb"
|
|
408
408
|
},
|
|
409
409
|
"cell": {
|
|
@@ -415,7 +415,7 @@
|
|
|
415
415
|
"stripedBackground": "#fafafa"
|
|
416
416
|
},
|
|
417
417
|
"empty": {
|
|
418
|
-
"text": "#
|
|
418
|
+
"text": "#6f6f6f"
|
|
419
419
|
}
|
|
420
420
|
},
|
|
421
421
|
"list": {
|
|
@@ -425,12 +425,12 @@
|
|
|
425
425
|
"item": {
|
|
426
426
|
"text": "#111111",
|
|
427
427
|
"description": "#666666",
|
|
428
|
-
"meta": "#
|
|
428
|
+
"meta": "#6f6f6f"
|
|
429
429
|
},
|
|
430
430
|
"indicator": {
|
|
431
431
|
"default": "#d4d4d4",
|
|
432
432
|
"info": "#1a56db",
|
|
433
|
-
"success": "#
|
|
433
|
+
"success": "#1a7c3c",
|
|
434
434
|
"warning": "#92600a",
|
|
435
435
|
"error": "#c5221f"
|
|
436
436
|
}
|
|
@@ -447,7 +447,7 @@
|
|
|
447
447
|
"fontSize": "14px"
|
|
448
448
|
},
|
|
449
449
|
"chevron": {
|
|
450
|
-
"color": "#
|
|
450
|
+
"color": "#6f6f6f",
|
|
451
451
|
"duration": "0.2s"
|
|
452
452
|
},
|
|
453
453
|
"focusRing": "0 0 0 3px rgba(0, 0, 0, 0.06)",
|
|
@@ -501,7 +501,7 @@
|
|
|
501
501
|
"fontWeight": "600"
|
|
502
502
|
},
|
|
503
503
|
"tagline": {
|
|
504
|
-
"text": "#
|
|
504
|
+
"text": "#6f6f6f",
|
|
505
505
|
"fontSize": "13px"
|
|
506
506
|
},
|
|
507
507
|
"column": {
|
|
@@ -517,12 +517,12 @@
|
|
|
517
517
|
}
|
|
518
518
|
},
|
|
519
519
|
"legal": {
|
|
520
|
-
"text": "#
|
|
520
|
+
"text": "#6f6f6f",
|
|
521
521
|
"textHover": "#555555",
|
|
522
522
|
"fontSize": "12px"
|
|
523
523
|
},
|
|
524
524
|
"copyright": {
|
|
525
|
-
"text": "#
|
|
525
|
+
"text": "#6f6f6f",
|
|
526
526
|
"fontSize": "12px"
|
|
527
527
|
},
|
|
528
528
|
"divider": "#f0f0f0"
|
|
@@ -13,7 +13,7 @@ $color-options-neutral-400: #c0c0c0;
|
|
|
13
13
|
$color-options-neutral-450: #bbbbbb;
|
|
14
14
|
$color-options-neutral-500: #aaaaaa;
|
|
15
15
|
$color-options-neutral-550: #999999;
|
|
16
|
-
$color-options-neutral-600: #
|
|
16
|
+
$color-options-neutral-600: #6f6f6f;
|
|
17
17
|
$color-options-neutral-650: #666666;
|
|
18
18
|
$color-options-neutral-700: #555555;
|
|
19
19
|
$color-options-neutral-800: #333333;
|
|
@@ -26,7 +26,7 @@ $color-options-red-500: #d93025;
|
|
|
26
26
|
$color-options-red-600: #c5221f;
|
|
27
27
|
$color-options-red-700: #b0261e;
|
|
28
28
|
$color-options-green-50: #e6f4ea;
|
|
29
|
-
$color-options-green-700: #
|
|
29
|
+
$color-options-green-700: #1a7c3c;
|
|
30
30
|
$color-options-yellow-50: #fef3cd;
|
|
31
31
|
$color-options-yellow-700: #92600a;
|
|
32
32
|
$color-options-blue-50: #e8f0fe;
|
|
@@ -71,7 +71,7 @@ $decisions-color-text-body: $color-options-neutral-800; // Secondary body text,
|
|
|
71
71
|
$decisions-color-text-secondary: $color-options-neutral-700; // De-emphasised text — ghost button, captions
|
|
72
72
|
$decisions-color-text-muted: $color-options-neutral-650; // Quiet text — links, descriptions
|
|
73
73
|
$decisions-color-text-subtle: $color-options-neutral-600; // Placeholder-level text — hints, metadata
|
|
74
|
-
$decisions-color-text-placeholder: $color-options-neutral-
|
|
74
|
+
$decisions-color-text-placeholder: $color-options-neutral-600; // Input placeholder, empty states
|
|
75
75
|
$decisions-color-text-disabled: $color-options-neutral-550; // Disabled control text
|
|
76
76
|
$decisions-color-text-inverse: $color-options-neutral-0; // Text on dark/filled backgrounds
|
|
77
77
|
$decisions-color-surface-base: $color-options-neutral-0; // Default control and card background
|
package/dist/ts/tokens.ts
CHANGED
|
@@ -14,7 +14,7 @@ export const ColorOptionsNeutral400 = "#c0c0c0";
|
|
|
14
14
|
export const ColorOptionsNeutral450 = "#bbbbbb";
|
|
15
15
|
export const ColorOptionsNeutral500 = "#aaaaaa";
|
|
16
16
|
export const ColorOptionsNeutral550 = "#999999";
|
|
17
|
-
export const ColorOptionsNeutral600 = "#
|
|
17
|
+
export const ColorOptionsNeutral600 = "#6f6f6f";
|
|
18
18
|
export const ColorOptionsNeutral650 = "#666666";
|
|
19
19
|
export const ColorOptionsNeutral700 = "#555555";
|
|
20
20
|
export const ColorOptionsNeutral800 = "#333333";
|
|
@@ -27,7 +27,7 @@ export const ColorOptionsRed500 = "#d93025";
|
|
|
27
27
|
export const ColorOptionsRed600 = "#c5221f";
|
|
28
28
|
export const ColorOptionsRed700 = "#b0261e";
|
|
29
29
|
export const ColorOptionsGreen50 = "#e6f4ea";
|
|
30
|
-
export const ColorOptionsGreen700 = "#
|
|
30
|
+
export const ColorOptionsGreen700 = "#1a7c3c";
|
|
31
31
|
export const ColorOptionsYellow50 = "#fef3cd";
|
|
32
32
|
export const ColorOptionsYellow700 = "#92600a";
|
|
33
33
|
export const ColorOptionsBlue50 = "#e8f0fe";
|
|
@@ -70,8 +70,8 @@ export const DecisionsColorTextPrimary = "#111111"; // Primary body text, labels
|
|
|
70
70
|
export const DecisionsColorTextBody = "#333333"; // Secondary body text, table cells
|
|
71
71
|
export const DecisionsColorTextSecondary = "#555555"; // De-emphasised text — ghost button, captions
|
|
72
72
|
export const DecisionsColorTextMuted = "#666666"; // Quiet text — links, descriptions
|
|
73
|
-
export const DecisionsColorTextSubtle = "#
|
|
74
|
-
export const DecisionsColorTextPlaceholder = "#
|
|
73
|
+
export const DecisionsColorTextSubtle = "#6f6f6f"; // Placeholder-level text — hints, metadata
|
|
74
|
+
export const DecisionsColorTextPlaceholder = "#6f6f6f"; // Input placeholder, empty states
|
|
75
75
|
export const DecisionsColorTextDisabled = "#999999"; // Disabled control text
|
|
76
76
|
export const DecisionsColorTextInverse = "#ffffff"; // Text on dark/filled backgrounds
|
|
77
77
|
export const DecisionsColorSurfaceBase = "#ffffff"; // Default control and card background
|
|
@@ -92,7 +92,7 @@ export const DecisionsColorFeedbackErrorIconHover = "#b0261e"; // Error border o
|
|
|
92
92
|
export const DecisionsColorFeedbackErrorSurface = "#fce8e6"; // Error tinted background
|
|
93
93
|
export const DecisionsColorFeedbackErrorSurfaceHover = "#fef2f2"; // Error surface on hover
|
|
94
94
|
export const DecisionsColorFeedbackErrorBorder = "#f0a9a4"; // Soft error border — danger button default
|
|
95
|
-
export const DecisionsColorFeedbackSuccessText = "#
|
|
95
|
+
export const DecisionsColorFeedbackSuccessText = "#1a7c3c"; // Success text and icon
|
|
96
96
|
export const DecisionsColorFeedbackSuccessSurface = "#e6f4ea"; // Success tinted background
|
|
97
97
|
export const DecisionsColorFeedbackWarningText = "#92600a"; // Warning text and icon
|
|
98
98
|
export const DecisionsColorFeedbackWarningSurface = "#fef3cd"; // Warning tinted background
|
|
@@ -152,7 +152,7 @@ export const ComponentButtonDangerBorder = "#f0a9a4";
|
|
|
152
152
|
export const ComponentButtonDangerBorderHover = "#d93025";
|
|
153
153
|
export const ComponentInputBackground = "#ffffff";
|
|
154
154
|
export const ComponentInputText = "#111111";
|
|
155
|
-
export const ComponentInputPlaceholder = "#
|
|
155
|
+
export const ComponentInputPlaceholder = "#6f6f6f";
|
|
156
156
|
export const ComponentInputBorder = "#d4d4d4";
|
|
157
157
|
export const ComponentInputBorderFocus = "#111111";
|
|
158
158
|
export const ComponentInputBorderRadius = "6px";
|
|
@@ -181,7 +181,7 @@ export const ComponentRadioFocusRing = "0 0 0 3px rgba(0, 0, 0, 0.06)";
|
|
|
181
181
|
export const ComponentRadioErrorBorder = "#d93025";
|
|
182
182
|
export const ComponentDropdownBackground = "#ffffff";
|
|
183
183
|
export const ComponentDropdownText = "#111111";
|
|
184
|
-
export const ComponentDropdownPlaceholder = "#
|
|
184
|
+
export const ComponentDropdownPlaceholder = "#6f6f6f";
|
|
185
185
|
export const ComponentDropdownBorder = "#d4d4d4";
|
|
186
186
|
export const ComponentDropdownBorderOpen = "#111111";
|
|
187
187
|
export const ComponentDropdownBorderHover = "#111111";
|
|
@@ -191,7 +191,7 @@ export const ComponentDropdownFocusRing = "0 0 0 3px rgba(0, 0, 0, 0.06)";
|
|
|
191
191
|
export const ComponentDropdownMenuShadow = "0 4px 12px rgba(0, 0, 0, 0.08)";
|
|
192
192
|
export const ComponentDropdownMenuOptionHover = "#f5f5f5";
|
|
193
193
|
export const ComponentDropdownMenuOptionSelected = "#f0f0f0";
|
|
194
|
-
export const ComponentDropdownMenuOptionDisabled = "#
|
|
194
|
+
export const ComponentDropdownMenuOptionDisabled = "#6f6f6f";
|
|
195
195
|
export const ComponentDropdownErrorBorder = "#d93025";
|
|
196
196
|
export const ComponentDropdownErrorBorderHover = "#b0261e";
|
|
197
197
|
export const ComponentTagBorderRadius = "4px";
|
|
@@ -200,7 +200,7 @@ export const ComponentTagDefaultText = "#555555";
|
|
|
200
200
|
export const ComponentTagPrimaryBackground = "#111111";
|
|
201
201
|
export const ComponentTagPrimaryText = "#ffffff";
|
|
202
202
|
export const ComponentTagSuccessBackground = "#e6f4ea";
|
|
203
|
-
export const ComponentTagSuccessText = "#
|
|
203
|
+
export const ComponentTagSuccessText = "#1a7c3c";
|
|
204
204
|
export const ComponentTagWarningBackground = "#fef3cd";
|
|
205
205
|
export const ComponentTagWarningText = "#92600a";
|
|
206
206
|
export const ComponentTagDangerBackground = "#fce8e6";
|
|
@@ -220,7 +220,7 @@ export const ComponentModalTitleFontSize = "16px";
|
|
|
220
220
|
export const ComponentModalTitleFontWeight = "600";
|
|
221
221
|
export const ComponentModalBodyText = "#333333";
|
|
222
222
|
export const ComponentModalBodyFontSize = "14px";
|
|
223
|
-
export const ComponentModalCloseButtonText = "#
|
|
223
|
+
export const ComponentModalCloseButtonText = "#6f6f6f";
|
|
224
224
|
export const ComponentModalCloseButtonTextHover = "#111111";
|
|
225
225
|
export const ComponentModalCloseButtonBackgroundHover = "#f0f0f0";
|
|
226
226
|
export const ComponentModalCloseButtonBorderRadius = "5px";
|
|
@@ -229,22 +229,22 @@ export const ComponentTableBackground = "#ffffff";
|
|
|
229
229
|
export const ComponentTableBorder = "#ebebeb";
|
|
230
230
|
export const ComponentTableBorderRadius = "8px";
|
|
231
231
|
export const ComponentTableHeaderBackground = "#fafafa";
|
|
232
|
-
export const ComponentTableHeaderText = "#
|
|
232
|
+
export const ComponentTableHeaderText = "#6f6f6f";
|
|
233
233
|
export const ComponentTableHeaderBorder = "#ebebeb";
|
|
234
234
|
export const ComponentTableCellText = "#333333";
|
|
235
235
|
export const ComponentTableCellBorderBottom = "#f0f0f0";
|
|
236
236
|
export const ComponentTableRowHoverBackground = "#f7f7f7";
|
|
237
237
|
export const ComponentTableRowStripedBackground = "#fafafa";
|
|
238
|
-
export const ComponentTableEmptyText = "#
|
|
238
|
+
export const ComponentTableEmptyText = "#6f6f6f";
|
|
239
239
|
export const ComponentListDivider = "#f0f0f0";
|
|
240
240
|
export const ComponentListBorder = "#ebebeb";
|
|
241
241
|
export const ComponentListBorderRadius = "8px";
|
|
242
242
|
export const ComponentListItemText = "#111111";
|
|
243
243
|
export const ComponentListItemDescription = "#666666";
|
|
244
|
-
export const ComponentListItemMeta = "#
|
|
244
|
+
export const ComponentListItemMeta = "#6f6f6f";
|
|
245
245
|
export const ComponentListIndicatorDefault = "#d4d4d4";
|
|
246
246
|
export const ComponentListIndicatorInfo = "#1a56db";
|
|
247
|
-
export const ComponentListIndicatorSuccess = "#
|
|
247
|
+
export const ComponentListIndicatorSuccess = "#1a7c3c";
|
|
248
248
|
export const ComponentListIndicatorWarning = "#92600a";
|
|
249
249
|
export const ComponentListIndicatorError = "#c5221f";
|
|
250
250
|
export const ComponentAccordionBorder = "#f0f0f0";
|
|
@@ -253,7 +253,7 @@ export const ComponentAccordionTitleFontSize = "14px";
|
|
|
253
253
|
export const ComponentAccordionTitleFontWeight = "500";
|
|
254
254
|
export const ComponentAccordionBodyText = "#555555";
|
|
255
255
|
export const ComponentAccordionBodyFontSize = "14px";
|
|
256
|
-
export const ComponentAccordionChevronColor = "#
|
|
256
|
+
export const ComponentAccordionChevronColor = "#6f6f6f";
|
|
257
257
|
export const ComponentAccordionChevronDuration = "0.2s";
|
|
258
258
|
export const ComponentAccordionFocusRing = "0 0 0 3px rgba(0, 0, 0, 0.06)";
|
|
259
259
|
export const ComponentAccordionDisabledOpacity = "0.42";
|
|
@@ -283,7 +283,7 @@ export const ComponentFooterBorder = "#ebebeb";
|
|
|
283
283
|
export const ComponentFooterBrandText = "#111111";
|
|
284
284
|
export const ComponentFooterBrandFontSize = "15px";
|
|
285
285
|
export const ComponentFooterBrandFontWeight = "600";
|
|
286
|
-
export const ComponentFooterTaglineText = "#
|
|
286
|
+
export const ComponentFooterTaglineText = "#6f6f6f";
|
|
287
287
|
export const ComponentFooterTaglineFontSize = "13px";
|
|
288
288
|
export const ComponentFooterColumnHeadingText = "#111111";
|
|
289
289
|
export const ComponentFooterColumnHeadingFontSize = "12px";
|
|
@@ -291,9 +291,9 @@ export const ComponentFooterColumnHeadingFontWeight = "600";
|
|
|
291
291
|
export const ComponentFooterColumnLinkText = "#666666";
|
|
292
292
|
export const ComponentFooterColumnLinkTextHover = "#111111";
|
|
293
293
|
export const ComponentFooterColumnLinkFontSize = "13px";
|
|
294
|
-
export const ComponentFooterLegalText = "#
|
|
294
|
+
export const ComponentFooterLegalText = "#6f6f6f";
|
|
295
295
|
export const ComponentFooterLegalTextHover = "#555555";
|
|
296
296
|
export const ComponentFooterLegalFontSize = "12px";
|
|
297
|
-
export const ComponentFooterCopyrightText = "#
|
|
297
|
+
export const ComponentFooterCopyrightText = "#6f6f6f";
|
|
298
298
|
export const ComponentFooterCopyrightFontSize = "12px";
|
|
299
299
|
export const ComponentFooterDivider = "#f0f0f0";
|
package/package.json
CHANGED
package/test/tokens.test.js
CHANGED
|
@@ -53,8 +53,8 @@ describe('Style Dictionary output — dist/css/variables.css', () => {
|
|
|
53
53
|
assert.match(css, /--ds-color-options-red-500:\s*#d93025/);
|
|
54
54
|
});
|
|
55
55
|
|
|
56
|
-
it('exports success green-700 as #
|
|
57
|
-
assert.match(css, /--ds-color-options-green-700:\s*#
|
|
56
|
+
it('exports success green-700 as #1a7c3c', () => {
|
|
57
|
+
assert.match(css, /--ds-color-options-green-700:\s*#1a7c3c/);
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
it('exports rgba black overlay (a40) with correct alpha', () => {
|
package/tokens/tokens.json
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"450": { "value": "#bbbbbb" },
|
|
18
18
|
"500": { "value": "#aaaaaa" },
|
|
19
19
|
"550": { "value": "#999999" },
|
|
20
|
-
"600": { "value": "#
|
|
20
|
+
"600": { "value": "#6f6f6f" },
|
|
21
21
|
"650": { "value": "#666666" },
|
|
22
22
|
"700": { "value": "#555555" },
|
|
23
23
|
"800": { "value": "#333333" },
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"green": {
|
|
36
36
|
"50": { "value": "#e6f4ea" },
|
|
37
|
-
"700": { "value": "#
|
|
37
|
+
"700": { "value": "#1a7c3c" }
|
|
38
38
|
},
|
|
39
39
|
"yellow": {
|
|
40
40
|
"50": { "value": "#fef3cd" },
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
"secondary": { "value": "{color.options.neutral.700}", "comment": "De-emphasised text — ghost button, captions" },
|
|
150
150
|
"muted": { "value": "{color.options.neutral.650}", "comment": "Quiet text — links, descriptions" },
|
|
151
151
|
"subtle": { "value": "{color.options.neutral.600}", "comment": "Placeholder-level text — hints, metadata" },
|
|
152
|
-
"placeholder": { "value": "{color.options.neutral.
|
|
152
|
+
"placeholder": { "value": "{color.options.neutral.600}", "comment": "Input placeholder, empty states" },
|
|
153
153
|
"disabled": { "value": "{color.options.neutral.550}", "comment": "Disabled control text" },
|
|
154
154
|
"inverse": { "value": "{color.options.neutral.0}", "comment": "Text on dark/filled backgrounds" }
|
|
155
155
|
},
|