@abgov/design-tokens 2.4.3 → 2.5.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.
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
"value": "{color.greyscale.white}",
|
|
4
4
|
"type": "color"
|
|
5
5
|
},
|
|
6
|
+
"accordion-color-filled-bg-heading": {
|
|
7
|
+
"value": "{color.greyscale.100}",
|
|
8
|
+
"type": "color"
|
|
9
|
+
},
|
|
6
10
|
"accordion-color-bg-content": {
|
|
7
11
|
"value": "{color.greyscale.white}",
|
|
8
12
|
"type": "color"
|
|
@@ -76,6 +80,10 @@
|
|
|
76
80
|
"value": "{color.greyscale.50}",
|
|
77
81
|
"type": "color"
|
|
78
82
|
},
|
|
83
|
+
"accordion-color-filled-bg-heading-hover": {
|
|
84
|
+
"value": "{color.greyscale.150}",
|
|
85
|
+
"type": "color"
|
|
86
|
+
},
|
|
79
87
|
"accordion-color-heading-hover": {
|
|
80
88
|
"value": "{color.text.default}",
|
|
81
89
|
"type": "color"
|
|
@@ -421,6 +421,104 @@
|
|
|
421
421
|
"type": "letterSpacing",
|
|
422
422
|
"description": "subtle letter spacing in the button for better readability"
|
|
423
423
|
},
|
|
424
|
+
"button-text-border-radius": {
|
|
425
|
+
"value": "{borderRadius.s}",
|
|
426
|
+
"type": "borderRadius"
|
|
427
|
+
},
|
|
428
|
+
"button-text-padding": {
|
|
429
|
+
"value": "0 {space.2xs}",
|
|
430
|
+
"type": "spacing"
|
|
431
|
+
},
|
|
432
|
+
"button-text-compact-padding": {
|
|
433
|
+
"value": "0 {space.2xs}",
|
|
434
|
+
"type": "spacing"
|
|
435
|
+
},
|
|
436
|
+
"button-text-color-text": {
|
|
437
|
+
"value": "{color.interactive.default}",
|
|
438
|
+
"type": "color"
|
|
439
|
+
},
|
|
440
|
+
"button-text-hover-color-text": {
|
|
441
|
+
"value": "{color.interactive.hover}",
|
|
442
|
+
"type": "color"
|
|
443
|
+
},
|
|
444
|
+
"button-text-focus-color-text": {
|
|
445
|
+
"value": "{color.interactive.default}",
|
|
446
|
+
"type": "color"
|
|
447
|
+
},
|
|
448
|
+
"button-text-disabled-color-text": {
|
|
449
|
+
"value": "{color.interactive.disabled}",
|
|
450
|
+
"type": "color"
|
|
451
|
+
},
|
|
452
|
+
"button-text-text-decoration": {
|
|
453
|
+
"value": "underline",
|
|
454
|
+
"type": "textDecoration"
|
|
455
|
+
},
|
|
456
|
+
"button-text-disabled-text-decoration": {
|
|
457
|
+
"value": "underline",
|
|
458
|
+
"type": "textDecoration"
|
|
459
|
+
},
|
|
460
|
+
"button-text-font": {
|
|
461
|
+
"value": "{fontWeight.medium} {fontSize.5}/{lineHeight.1} {fontFamily.sans}",
|
|
462
|
+
"type": "other"
|
|
463
|
+
},
|
|
464
|
+
"button-text-letter-spacing": {
|
|
465
|
+
"value": "0.0125rem",
|
|
466
|
+
"type": "letterSpacing",
|
|
467
|
+
"description": "subtle letter spacing in the text button for better readability"
|
|
468
|
+
},
|
|
469
|
+
"button-text-compact-font": {
|
|
470
|
+
"value": "{fontWeight.medium} {fontSize.4}/{lineHeight.05} {fontFamily.sans}",
|
|
471
|
+
"type": "other"
|
|
472
|
+
},
|
|
473
|
+
"button-text-compact-letter-spacing": {
|
|
474
|
+
"value": "0.0125rem",
|
|
475
|
+
"type": "letterSpacing",
|
|
476
|
+
"description": "subtle letter spacing in the compact text button for better readability"
|
|
477
|
+
},
|
|
478
|
+
"button-text-compact-disabled-color-text": {
|
|
479
|
+
"value": "{color.interactive.disabled}",
|
|
480
|
+
"type": "color"
|
|
481
|
+
},
|
|
482
|
+
"button-text-compact-disabled-text-decoration": {
|
|
483
|
+
"value": "underline",
|
|
484
|
+
"type": "textDecoration"
|
|
485
|
+
},
|
|
486
|
+
"button-text-destructive-color-text": {
|
|
487
|
+
"value": "{color.emergency.default}",
|
|
488
|
+
"type": "color"
|
|
489
|
+
},
|
|
490
|
+
"button-text-destructive-hover-color-text": {
|
|
491
|
+
"value": "{color.emergency.dark}",
|
|
492
|
+
"type": "color"
|
|
493
|
+
},
|
|
494
|
+
"button-text-destructive-focus-color-text": {
|
|
495
|
+
"value": "{color.emergency.default}",
|
|
496
|
+
"type": "color"
|
|
497
|
+
},
|
|
498
|
+
"button-text-inverse-color-text": {
|
|
499
|
+
"value": "{color.text.light}",
|
|
500
|
+
"type": "color"
|
|
501
|
+
},
|
|
502
|
+
"button-text-inverse-hover-color-text": {
|
|
503
|
+
"value": "{color.greyscale.200}",
|
|
504
|
+
"type": "color"
|
|
505
|
+
},
|
|
506
|
+
"button-text-inverse-focus-color-text": {
|
|
507
|
+
"value": "{color.text.light}",
|
|
508
|
+
"type": "color"
|
|
509
|
+
},
|
|
510
|
+
"button-text-dark-color-text": {
|
|
511
|
+
"value": "{color.greyscale.black}",
|
|
512
|
+
"type": "color"
|
|
513
|
+
},
|
|
514
|
+
"button-text-dark-hover-color-text": {
|
|
515
|
+
"value": "{color.interactive.hover}",
|
|
516
|
+
"type": "color"
|
|
517
|
+
},
|
|
518
|
+
"button-text-dark-focus-color-text": {
|
|
519
|
+
"value": "{color.greyscale.black}",
|
|
520
|
+
"type": "color"
|
|
521
|
+
},
|
|
424
522
|
"button-tertiary-text-decoration": {
|
|
425
523
|
"value": "none",
|
|
426
524
|
"type": "textDecoration",
|
package/dist/tokens.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Fri, 01 May 2026 17:55:50 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
:root {
|
|
@@ -312,6 +312,11 @@
|
|
|
312
312
|
--goa-callout-l-with-heading-body-padding: 0 1.25rem 1.25rem;
|
|
313
313
|
--goa-callout-body-padding: 1.25rem;
|
|
314
314
|
--goa-button-tertiary-text-decoration: none;
|
|
315
|
+
--goa-button-text-compact-disabled-text-decoration: underline;
|
|
316
|
+
--goa-button-text-compact-letter-spacing: 0.0125rem;
|
|
317
|
+
--goa-button-text-letter-spacing: 0.0125rem;
|
|
318
|
+
--goa-button-text-disabled-text-decoration: underline;
|
|
319
|
+
--goa-button-text-text-decoration: underline;
|
|
315
320
|
--goa-button-letter-spacing: 0.0125rem;
|
|
316
321
|
--goa-button-tertiary-focus-color-bg: transparent;
|
|
317
322
|
--goa-button-tertiary-hover-color-bg: transparent;
|
|
@@ -946,6 +951,21 @@
|
|
|
946
951
|
--goa-callout-border: var(--goa-border-width-s) solid var(--goa-color-greyscale-150);
|
|
947
952
|
--goa-button-group-compact-gap: var(--goa-space-s);
|
|
948
953
|
--goa-button-group-gap: var(--goa-space-m);
|
|
954
|
+
--goa-button-text-dark-focus-color-text: var(--goa-color-greyscale-black);
|
|
955
|
+
--goa-button-text-dark-hover-color-text: var(--goa-color-interactive-hover);
|
|
956
|
+
--goa-button-text-dark-color-text: var(--goa-color-greyscale-black);
|
|
957
|
+
--goa-button-text-inverse-hover-color-text: var(--goa-color-greyscale-200);
|
|
958
|
+
--goa-button-text-destructive-focus-color-text: var(--goa-color-emergency-default);
|
|
959
|
+
--goa-button-text-destructive-hover-color-text: var(--goa-color-emergency-dark);
|
|
960
|
+
--goa-button-text-destructive-color-text: var(--goa-color-emergency-default);
|
|
961
|
+
--goa-button-text-compact-font: var(--goa-font-weight-medium) var(--goa-font-size-4)/var(--goa-line-height-05) var(--goa-font-family-sans);
|
|
962
|
+
--goa-button-text-font: var(--goa-font-weight-medium) var(--goa-font-size-5)/var(--goa-line-height-1) var(--goa-font-family-sans);
|
|
963
|
+
--goa-button-text-focus-color-text: var(--goa-color-interactive-default);
|
|
964
|
+
--goa-button-text-hover-color-text: var(--goa-color-interactive-hover);
|
|
965
|
+
--goa-button-text-color-text: var(--goa-color-interactive-default);
|
|
966
|
+
--goa-button-text-compact-padding: 0 var(--goa-space-2xs);
|
|
967
|
+
--goa-button-text-padding: 0 var(--goa-space-2xs);
|
|
968
|
+
--goa-button-text-border-radius: var(--goa-border-radius-s);
|
|
949
969
|
--goa-button-tertiary-inverse-hover-border: var(--goa-border-width-s) solid var(--goa-color-greyscale-200);
|
|
950
970
|
--goa-button-tertiary-inverse-hover-color-text: var(--goa-color-greyscale-200);
|
|
951
971
|
--goa-button-tertiary-inverse-border: var(--goa-border-width-s) solid var(--goa-color-greyscale-white);
|
|
@@ -1056,6 +1076,7 @@
|
|
|
1056
1076
|
--goa-accordion-heading: var(--goa-font-weight-medium) var(--goa-font-size-4)/var(--goa-line-height-4) var(--goa-font-family-sans);
|
|
1057
1077
|
--goa-accordion-border-hover: var(--goa-border-width-s) solid var(--goa-color-greyscale-black);
|
|
1058
1078
|
--goa-accordion-border-focus: 3px solid var(--goa-color-interactive-focus);
|
|
1079
|
+
--goa-accordion-color-filled-bg-heading-hover: var(--goa-color-greyscale-150);
|
|
1059
1080
|
--goa-accordion-color-bg-heading-hover: var(--goa-color-greyscale-50);
|
|
1060
1081
|
--goa-accordion-padding-content-narrow: var(--goa-space-l);
|
|
1061
1082
|
--goa-accordion-padding-content-wide: var(--goa-space-l) var(--goa-space-l) var(--goa-space-xl) 56px;
|
|
@@ -1069,6 +1090,7 @@
|
|
|
1069
1090
|
--goa-accordion-divider: var(--goa-border-width-s) solid var(--goa-color-greyscale-200);
|
|
1070
1091
|
--goa-accordion-border: var(--goa-border-width-s) solid var(--goa-color-greyscale-200);
|
|
1071
1092
|
--goa-accordion-color-bg-content: var(--goa-color-greyscale-white);
|
|
1093
|
+
--goa-accordion-color-filled-bg-heading: var(--goa-color-greyscale-100);
|
|
1072
1094
|
--goa-accordion-color-bg-heading: var(--goa-color-greyscale-white);
|
|
1073
1095
|
--goa-input-color-text-default: var(--goa-color-text-default);
|
|
1074
1096
|
--goa-work-side-menu-item-text-size: var(--goa-typography-body-s);
|
|
@@ -1239,6 +1261,10 @@
|
|
|
1239
1261
|
--goa-callout-body-color: var(--goa-color-text-secondary);
|
|
1240
1262
|
--goa-callout-body-typography: var(--goa-typography-body-s);
|
|
1241
1263
|
--goa-callout-heading-color: var(--goa-color-text-default);
|
|
1264
|
+
--goa-button-text-inverse-focus-color-text: var(--goa-color-text-light);
|
|
1265
|
+
--goa-button-text-inverse-color-text: var(--goa-color-text-light);
|
|
1266
|
+
--goa-button-text-compact-disabled-color-text: var(--goa-color-interactive-disabled);
|
|
1267
|
+
--goa-button-text-disabled-color-text: var(--goa-color-interactive-disabled);
|
|
1242
1268
|
--goa-button-tertiary-inverse-focus-color-text: var(--goa-color-text-light);
|
|
1243
1269
|
--goa-button-tertiary-inverse-color-text: var(--goa-color-text-light);
|
|
1244
1270
|
--goa-button-tertiary-disabled-color-text: var(--goa-color-interactive-disabled);
|
package/dist/tokens.scss
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
|
|
2
2
|
// Do not edit directly
|
|
3
|
-
// Generated on
|
|
3
|
+
// Generated on Fri, 01 May 2026 17:55:50 GMT
|
|
4
4
|
|
|
5
5
|
$goa-accordion-color-bg-heading: #ffffff;
|
|
6
|
+
$goa-accordion-color-filled-bg-heading: #f2f0f0;
|
|
6
7
|
$goa-accordion-color-bg-content: #ffffff;
|
|
7
8
|
$goa-accordion-color-heading: #000000;
|
|
8
9
|
$goa-accordion-border: 1px solid #cdcdcd;
|
|
@@ -17,6 +18,7 @@ $goa-accordion-padding-heading-m-icon-right: calc(0.75rem - 1px) 0 calc(0.75rem
|
|
|
17
18
|
$goa-accordion-padding-content-wide: 1.5rem 1.5rem 2rem 56px;
|
|
18
19
|
$goa-accordion-padding-content-narrow: 1.5rem;
|
|
19
20
|
$goa-accordion-color-bg-heading-hover: #f8f8f8;
|
|
21
|
+
$goa-accordion-color-filled-bg-heading-hover: #e9e9e9;
|
|
20
22
|
$goa-accordion-color-heading-hover: #000000;
|
|
21
23
|
$goa-accordion-border-focus: 3px solid #006dcc;
|
|
22
24
|
$goa-accordion-border-hover: 1px solid #000000;
|
|
@@ -163,6 +165,30 @@ $goa-button-tertiary-inverse-hover-color-text: #cdcdcd;
|
|
|
163
165
|
$goa-button-tertiary-inverse-hover-border: 1px solid #cdcdcd;
|
|
164
166
|
$goa-button-tertiary-inverse-focus-color-text: #ffffff;
|
|
165
167
|
$goa-button-letter-spacing: 0.0125rem;
|
|
168
|
+
$goa-button-text-border-radius: 0.375rem;
|
|
169
|
+
$goa-button-text-padding: 0 0.25rem;
|
|
170
|
+
$goa-button-text-compact-padding: 0 0.25rem;
|
|
171
|
+
$goa-button-text-color-text: #006dcc;
|
|
172
|
+
$goa-button-text-hover-color-text: #045092;
|
|
173
|
+
$goa-button-text-focus-color-text: #006dcc;
|
|
174
|
+
$goa-button-text-disabled-color-text: #b1b1b1;
|
|
175
|
+
$goa-button-text-text-decoration: underline;
|
|
176
|
+
$goa-button-text-disabled-text-decoration: underline;
|
|
177
|
+
$goa-button-text-font: 500 1.25rem/1.25rem acumin-variable, helvetica-neue, arial, sans-serif;
|
|
178
|
+
$goa-button-text-letter-spacing: 0.0125rem;
|
|
179
|
+
$goa-button-text-compact-font: 500 1.125rem/1.125rem acumin-variable, helvetica-neue, arial, sans-serif;
|
|
180
|
+
$goa-button-text-compact-letter-spacing: 0.0125rem;
|
|
181
|
+
$goa-button-text-compact-disabled-color-text: #b1b1b1;
|
|
182
|
+
$goa-button-text-compact-disabled-text-decoration: underline;
|
|
183
|
+
$goa-button-text-destructive-color-text: #da291c;
|
|
184
|
+
$goa-button-text-destructive-hover-color-text: #a91a10;
|
|
185
|
+
$goa-button-text-destructive-focus-color-text: #da291c;
|
|
186
|
+
$goa-button-text-inverse-color-text: #ffffff;
|
|
187
|
+
$goa-button-text-inverse-hover-color-text: #cdcdcd;
|
|
188
|
+
$goa-button-text-inverse-focus-color-text: #ffffff;
|
|
189
|
+
$goa-button-text-dark-color-text: #000000;
|
|
190
|
+
$goa-button-text-dark-hover-color-text: #045092;
|
|
191
|
+
$goa-button-text-dark-focus-color-text: #000000;
|
|
166
192
|
$goa-button-tertiary-text-decoration: none;
|
|
167
193
|
$goa-button-group-gap: 1rem;
|
|
168
194
|
$goa-button-group-compact-gap: 0.75rem;
|