@amsterdam/design-system-tokens 2.2.0 → 3.0.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/CHANGELOG.md +18 -0
- package/README.md +8 -7
- package/dist/compact.css +1 -0
- package/dist/compact.d.ts +3 -0
- package/dist/compact.json +3 -0
- package/dist/compact.mjs +1 -0
- package/dist/compact.scss +1 -0
- package/dist/compact.theme.css +1 -0
- package/dist/index.css +19 -11
- package/dist/index.d.ts +25 -5
- package/dist/index.json +83 -63
- package/dist/index.mjs +77 -62
- package/dist/index.scss +19 -11
- package/dist/index.theme.css +19 -11
- package/package.json +2 -3
- package/src/brand/ams/color.deprecated.tokens.json +1 -1
- package/src/brand/ams/color.tokens.json +4 -4
- package/src/components/ams/call-to-action-link.tokens.json +2 -2
- package/src/components/ams/field-set.deprecated.tokens.json +9 -0
- package/src/components/ams/field-set.tokens.json +12 -1
- package/src/components/ams/field.deprecated.tokens.json +7 -0
- package/src/components/ams/field.tokens.json +6 -1
- package/src/components/ams/page-header.compact.tokens.json +3 -0
- package/src/components/ams/page-header.tokens.json +2 -1
- package/src/components/ams/paragraph.tokens.json +2 -1
package/dist/index.mjs
CHANGED
|
@@ -12,8 +12,8 @@ export const amsBorderWidthS = "0.0625rem";
|
|
|
12
12
|
export const amsBorderWidthM = "0.125rem";
|
|
13
13
|
export const amsBorderWidthL = "0.1875rem";
|
|
14
14
|
export const amsBorderWidthXl = "0.25rem";
|
|
15
|
-
export const amsColorInteractiveSecondary = "#
|
|
16
|
-
export const amsColorInteractiveContrast = "#
|
|
15
|
+
export const amsColorInteractiveSecondary = "#202020"; // Use `currentColor` instead
|
|
16
|
+
export const amsColorInteractiveContrast = "#202020";
|
|
17
17
|
export const amsColorInteractive = "#004699";
|
|
18
18
|
export const amsColorInteractiveDisabled = "#767676";
|
|
19
19
|
export const amsColorInteractiveHover = "#003677";
|
|
@@ -23,17 +23,17 @@ export const amsColorInteractiveInverse = "#ffffff";
|
|
|
23
23
|
export const amsColorBackground = "#ffffff";
|
|
24
24
|
export const amsColorFeedbackError = "#ec0000";
|
|
25
25
|
export const amsColorFeedbackInfo = "#009de6";
|
|
26
|
-
export const amsColorFeedbackSuccess = "#
|
|
26
|
+
export const amsColorFeedbackSuccess = "#00893c";
|
|
27
27
|
export const amsColorFeedbackWarning = "#ff9100";
|
|
28
28
|
export const amsColorHighlightAzure = "#009de6";
|
|
29
|
-
export const amsColorHighlightGreen = "#
|
|
29
|
+
export const amsColorHighlightGreen = "#00893c";
|
|
30
30
|
export const amsColorHighlightLime = "#bed200";
|
|
31
31
|
export const amsColorHighlightMagenta = "#e50082";
|
|
32
32
|
export const amsColorHighlightOrange = "#ff9100";
|
|
33
33
|
export const amsColorHighlightPurple = "#a00078";
|
|
34
34
|
export const amsColorHighlightYellow = "#ffe600";
|
|
35
35
|
export const amsColorSeparator = "#d1d1d1";
|
|
36
|
-
export const amsColorText = "#
|
|
36
|
+
export const amsColorText = "#202020";
|
|
37
37
|
export const amsColorTextInverse = "#ffffff";
|
|
38
38
|
export const amsColorTextSecondary = "#767676";
|
|
39
39
|
export const amsCursorDisabled = "not-allowed";
|
|
@@ -85,7 +85,7 @@ export const amsInputsBackgroundColor = "#ffffff";
|
|
|
85
85
|
export const amsInputsBorderColor = "currentColor";
|
|
86
86
|
export const amsInputsBorderStyle = "solid";
|
|
87
87
|
export const amsInputsBorderWidth = "0.125rem";
|
|
88
|
-
export const amsInputsColor = "#
|
|
88
|
+
export const amsInputsColor = "#202020";
|
|
89
89
|
export const amsInputsFontFamily = "'Amsterdam Sans', Arial, sans-serif";
|
|
90
90
|
export const amsInputsFontSize =
|
|
91
91
|
"clamp(1.125rem, 1.0893rem + 0.1786vw, 1.25rem)";
|
|
@@ -110,8 +110,8 @@ export const amsLinksHoverTextDecorationThickness = "0.1875rem"; // 3px
|
|
|
110
110
|
export const amsLinksHoverTextUnderlineOffset = "0.09375rem"; // 1.5px
|
|
111
111
|
export const amsLinksSubtleTextDecorationLine = "none";
|
|
112
112
|
export const amsLinksSubtleHoverTextDecorationLine = "underline";
|
|
113
|
-
export const amsLinksContrastColor = "#
|
|
114
|
-
export const amsLinksContrastHoverColor = "#
|
|
113
|
+
export const amsLinksContrastColor = "#202020";
|
|
114
|
+
export const amsLinksContrastHoverColor = "#202020";
|
|
115
115
|
export const amsLinksInverseColor = "#ffffff";
|
|
116
116
|
export const amsLinksInverseHoverColor = "#ffffff";
|
|
117
117
|
export const amsAccordionButtonFontFamily =
|
|
@@ -151,8 +151,8 @@ export const amsAlertContentPaddingInline =
|
|
|
151
151
|
"clamp(1rem, 0.8571rem + 0.7143vw, 1.5rem)";
|
|
152
152
|
export const amsAlertErrorBorderColor = "#ec0000";
|
|
153
153
|
export const amsAlertErrorSeverityIndicatorBackgroundColor = "#ec0000";
|
|
154
|
-
export const amsAlertSuccessBorderColor = "#
|
|
155
|
-
export const amsAlertSuccessSeverityIndicatorBackgroundColor = "#
|
|
154
|
+
export const amsAlertSuccessBorderColor = "#00893c";
|
|
155
|
+
export const amsAlertSuccessSeverityIndicatorBackgroundColor = "#00893c";
|
|
156
156
|
export const amsAlertWarningBorderColor = "#ff9100";
|
|
157
157
|
export const amsAlertWarningSeverityIndicatorBackgroundColor = "#ff9100";
|
|
158
158
|
export const amsAvatarAspectRatio = "1 / 1";
|
|
@@ -173,22 +173,22 @@ export const amsAvatarForcedColorsBorderWidth = "0.125rem";
|
|
|
173
173
|
export const amsAvatarAzureBackgroundColor = "#009de6";
|
|
174
174
|
export const amsAvatarAzureBorderColor = "#009de6";
|
|
175
175
|
export const amsAvatarAzureColor = "#ffffff";
|
|
176
|
-
export const amsAvatarGreenBackgroundColor = "#
|
|
177
|
-
export const amsAvatarGreenBorderColor = "#
|
|
176
|
+
export const amsAvatarGreenBackgroundColor = "#00893c";
|
|
177
|
+
export const amsAvatarGreenBorderColor = "#00893c";
|
|
178
178
|
export const amsAvatarGreenColor = "#ffffff";
|
|
179
179
|
export const amsAvatarLimeBackgroundColor = "#bed200";
|
|
180
180
|
export const amsAvatarLimeBorderColor = "#bed200";
|
|
181
|
-
export const amsAvatarLimeColor = "#
|
|
181
|
+
export const amsAvatarLimeColor = "#202020";
|
|
182
182
|
export const amsAvatarMagentaBackgroundColor = "#e50082";
|
|
183
183
|
export const amsAvatarMagentaBorderColor = "#e50082";
|
|
184
184
|
export const amsAvatarMagentaColor = "#ffffff";
|
|
185
185
|
export const amsAvatarOrangeBackgroundColor = "#ff9100";
|
|
186
186
|
export const amsAvatarOrangeBorderColor = "#ff9100";
|
|
187
|
-
export const amsAvatarOrangeColor = "#
|
|
187
|
+
export const amsAvatarOrangeColor = "#202020";
|
|
188
188
|
export const amsAvatarYellowBackgroundColor = "#ffe600";
|
|
189
189
|
export const amsAvatarYellowBorderColor = "#ffe600";
|
|
190
|
-
export const amsAvatarYellowColor = "#
|
|
191
|
-
export const amsBadgeBackgroundColor = "#
|
|
190
|
+
export const amsAvatarYellowColor = "#202020";
|
|
191
|
+
export const amsBadgeBackgroundColor = "#00893c";
|
|
192
192
|
export const amsBadgeColor = "#ffffff";
|
|
193
193
|
export const amsBadgeFontFamily = "'Amsterdam Sans', Arial, sans-serif";
|
|
194
194
|
export const amsBadgeFontSize =
|
|
@@ -200,18 +200,18 @@ export const amsBadgePaddingInline =
|
|
|
200
200
|
export const amsBadgeAzureBackgroundColor = "#009de6";
|
|
201
201
|
export const amsBadgeAzureColor = "#ffffff";
|
|
202
202
|
export const amsBadgeLimeBackgroundColor = "#bed200";
|
|
203
|
-
export const amsBadgeLimeColor = "#
|
|
203
|
+
export const amsBadgeLimeColor = "#202020";
|
|
204
204
|
export const amsBadgeMagentaBackgroundColor = "#e50082";
|
|
205
205
|
export const amsBadgeMagentaColor = "#ffffff";
|
|
206
206
|
export const amsBadgeOrangeBackgroundColor = "#ff9100";
|
|
207
|
-
export const amsBadgeOrangeColor = "#
|
|
207
|
+
export const amsBadgeOrangeColor = "#202020";
|
|
208
208
|
export const amsBadgePurpleBackgroundColor = "#a00078";
|
|
209
209
|
export const amsBadgePurpleColor = "#ffffff";
|
|
210
210
|
export const amsBadgeRedBackgroundColor = "#ec0000";
|
|
211
211
|
export const amsBadgeRedColor = "#ffffff";
|
|
212
212
|
export const amsBadgeYellowBackgroundColor = "#ffe600";
|
|
213
|
-
export const amsBadgeYellowColor = "#
|
|
214
|
-
export const amsBlockquoteColor = "#
|
|
213
|
+
export const amsBadgeYellowColor = "#202020";
|
|
214
|
+
export const amsBlockquoteColor = "#202020";
|
|
215
215
|
export const amsBlockquoteFontFamily = "'Amsterdam Sans', Arial, sans-serif";
|
|
216
216
|
export const amsBlockquoteFontSize =
|
|
217
217
|
"clamp(1.5rem, 1.3571rem + 0.7143vw, 2rem)";
|
|
@@ -275,7 +275,7 @@ export const amsButtonTertiaryColor = "#004699";
|
|
|
275
275
|
export const amsButtonTertiaryDisabledColor = "#767676";
|
|
276
276
|
export const amsButtonTertiaryHoverBorderColor = "currentColor";
|
|
277
277
|
export const amsButtonTertiaryHoverColor = "#003677";
|
|
278
|
-
export const amsCallToActionLinkBackgroundColor = "#
|
|
278
|
+
export const amsCallToActionLinkBackgroundColor = "#00893c";
|
|
279
279
|
export const amsCallToActionLinkColor = "#ffffff";
|
|
280
280
|
export const amsCallToActionLinkFontFamily =
|
|
281
281
|
"'Amsterdam Sans', Arial, sans-serif";
|
|
@@ -290,7 +290,7 @@ export const amsCallToActionLinkPaddingInline =
|
|
|
290
290
|
"clamp(1rem, 0.8571rem + 0.7143vw, 1.5rem)";
|
|
291
291
|
export const amsCallToActionLinkTextDecorationThickness = "0.125rem";
|
|
292
292
|
export const amsCallToActionLinkTextUnderlineOffset = "0.15625rem";
|
|
293
|
-
export const amsCallToActionLinkHoverBackgroundColor = "#
|
|
293
|
+
export const amsCallToActionLinkHoverBackgroundColor = "#10552b";
|
|
294
294
|
export const amsCallToActionLinkHoverTextDecorationThickness = "0.1875rem";
|
|
295
295
|
export const amsCallToActionLinkHoverTextUnderlineOffset = "0.09375rem";
|
|
296
296
|
export const amsCardHeadingMarginBlockEnd =
|
|
@@ -308,7 +308,7 @@ export const amsCardLinkTextUnderlineOffset = "0.15625rem";
|
|
|
308
308
|
export const amsCardLinkHoverColor = "#003677";
|
|
309
309
|
export const amsCardLinkHoverTextDecorationLine = "underline";
|
|
310
310
|
export const amsCardOutlineOffset = "0.25rem";
|
|
311
|
-
export const amsCharacterCountColor = "#
|
|
311
|
+
export const amsCharacterCountColor = "#202020";
|
|
312
312
|
export const amsCharacterCountFontFamily =
|
|
313
313
|
"'Amsterdam Sans', Arial, sans-serif";
|
|
314
314
|
export const amsCharacterCountFontSize = "1rem";
|
|
@@ -340,7 +340,7 @@ export const amsCheckboxRectangleStroke = "#004699";
|
|
|
340
340
|
export const amsCheckboxRectangleDisabledStroke = "#767676";
|
|
341
341
|
export const amsCheckboxRectangleInvalidStroke = "#ec0000";
|
|
342
342
|
export const amsCheckboxRectangleInvalidHoverStroke = "#b70000";
|
|
343
|
-
export const amsCheckboxColor = "#
|
|
343
|
+
export const amsCheckboxColor = "#202020";
|
|
344
344
|
export const amsCheckboxCursor = "pointer";
|
|
345
345
|
export const amsCheckboxFontFamily = "'Amsterdam Sans', Arial, sans-serif";
|
|
346
346
|
export const amsCheckboxFontSize =
|
|
@@ -386,7 +386,7 @@ export const amsDateInputBackgroundColor = "#ffffff";
|
|
|
386
386
|
export const amsDateInputBorderColor = "currentColor";
|
|
387
387
|
export const amsDateInputBorderStyle = "solid";
|
|
388
388
|
export const amsDateInputBorderWidth = "0.125rem";
|
|
389
|
-
export const amsDateInputColor = "#
|
|
389
|
+
export const amsDateInputColor = "#202020";
|
|
390
390
|
export const amsDateInputFontFamily = "'Amsterdam Sans', Arial, sans-serif";
|
|
391
391
|
export const amsDateInputFontSize =
|
|
392
392
|
"clamp(1.125rem, 1.0893rem + 0.1786vw, 1.25rem)";
|
|
@@ -404,7 +404,7 @@ export const amsDateInputInvalidHoverBoxShadow =
|
|
|
404
404
|
export const amsDateInputCalendarPickerIndicatorBackgroundImage =
|
|
405
405
|
"url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36' fill='%23004699'><path d='M28 6V2h-4v4H12V2H8v4H2v28h32V6zm2 24H6V14h24z'/><path d='M10 17h4v4h-4zm6 0h4v4h-4zm6 0h4v4h-4zm-12 6h4v4h-4zm6 0h4v4h-4z'/></svg>\")";
|
|
406
406
|
export const amsDateInputCalendarPickerIndicatorCursor = "pointer";
|
|
407
|
-
export const amsDescriptionListColor = "#
|
|
407
|
+
export const amsDescriptionListColor = "#202020";
|
|
408
408
|
export const amsDescriptionListColumnGap =
|
|
409
409
|
"clamp(1.5rem, 1.2857rem + 1.0714vw, 2.25rem)";
|
|
410
410
|
export const amsDescriptionListFontFamily =
|
|
@@ -467,26 +467,38 @@ export const amsErrorMessageFontWeight = "400";
|
|
|
467
467
|
export const amsErrorMessageGap =
|
|
468
468
|
"clamp(0.25rem, 0.2143rem + 0.1786vw, 0.375rem)";
|
|
469
469
|
export const amsErrorMessageLineHeight = "1.8";
|
|
470
|
-
export const
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
export const amsFieldSetLegendColor = "#181818";
|
|
470
|
+
export const amsFieldSetLegendMarginBlockEnd =
|
|
471
|
+
"clamp(0.5rem, 0.4286rem + 0.3571vw, 0.75rem)";
|
|
472
|
+
export const amsFieldSetLegendColor = "#202020";
|
|
474
473
|
export const amsFieldSetLegendFontFamily =
|
|
475
474
|
"'Amsterdam Sans', Arial, sans-serif";
|
|
476
475
|
export const amsFieldSetLegendFontSize =
|
|
477
476
|
"clamp(1.3125rem, 1.2411rem + 0.3571vw, 1.5625rem)";
|
|
478
477
|
export const amsFieldSetLegendFontWeight = "800";
|
|
479
478
|
export const amsFieldSetLegendLineHeight = "1.3";
|
|
480
|
-
export const amsFieldSetLegendMarginBlockEnd =
|
|
481
|
-
"clamp(0.5rem, 0.4286rem + 0.3571vw, 0.75rem)";
|
|
482
479
|
export const amsFieldSetLegendTextWrap = "balance";
|
|
483
480
|
export const amsFieldSetLegendInFieldsetFontWeight = "400";
|
|
481
|
+
export const amsFieldSetChildMarginBlockEnd =
|
|
482
|
+
"clamp(0.25rem, 0.2143rem + 0.1786vw, 0.375rem)";
|
|
483
|
+
export const amsFieldSetChildBeforeErrorMessageMarginBlockEnd =
|
|
484
|
+
"clamp(0.5rem, 0.4286rem + 0.3571vw, 0.75rem)";
|
|
485
|
+
export const amsFieldSetChildBeforeFieldOrFieldSetMarginBlockEnd =
|
|
486
|
+
"clamp(1rem, 0.8571rem + 0.7143vw, 1.5rem)";
|
|
487
|
+
export const amsFieldSetChildBetweenFieldsAndFieldSetsMarginBlockEnd =
|
|
488
|
+
"clamp(1.5rem, 1.2857rem + 1.0714vw, 2.25rem)";
|
|
489
|
+
export const amsFieldSetInvalidBorderInlineStart = "0.1875rem solid #ec0000";
|
|
490
|
+
export const amsFieldSetInvalidPaddingInlineStart =
|
|
491
|
+
"clamp(1rem, 0.8571rem + 0.7143vw, 1.5rem)";
|
|
484
492
|
export const amsFieldGap = "clamp(0.5rem, 0.4286rem + 0.3571vw, 0.75rem)";
|
|
493
|
+
export const amsFieldChildMarginBlockEnd =
|
|
494
|
+
"clamp(0.25rem, 0.2143rem + 0.1786vw, 0.375rem)";
|
|
495
|
+
export const amsFieldChildBeforeErrorMessageMarginBlockEnd =
|
|
496
|
+
"clamp(0.5rem, 0.4286rem + 0.3571vw, 0.75rem)";
|
|
485
497
|
export const amsFieldInvalidBorderInlineStart = "0.1875rem solid #ec0000";
|
|
486
498
|
export const amsFieldInvalidPaddingInlineStart =
|
|
487
499
|
"clamp(1rem, 0.8571rem + 0.7143vw, 1.5rem)";
|
|
488
500
|
export const amsFigureGap = "clamp(0.5rem, 0.4286rem + 0.3571vw, 0.75rem)";
|
|
489
|
-
export const amsFigureCaptionColor = "#
|
|
501
|
+
export const amsFigureCaptionColor = "#202020";
|
|
490
502
|
export const amsFigureCaptionFontFamily = "'Amsterdam Sans', Arial, sans-serif";
|
|
491
503
|
export const amsFigureCaptionFontSize = "1rem";
|
|
492
504
|
export const amsFigureCaptionFontWeight = "400";
|
|
@@ -496,7 +508,7 @@ export const amsFileInputBackgroundColor = "#ffffff";
|
|
|
496
508
|
export const amsFileInputBorderColor = "currentColor";
|
|
497
509
|
export const amsFileInputBorderStyle = "dashed";
|
|
498
510
|
export const amsFileInputBorderWidth = "0.125rem";
|
|
499
|
-
export const amsFileInputColor = "#
|
|
511
|
+
export const amsFileInputColor = "#202020";
|
|
500
512
|
export const amsFileInputCursor = "pointer";
|
|
501
513
|
export const amsFileInputFontFamily = "'Amsterdam Sans', Arial, sans-serif";
|
|
502
514
|
export const amsFileInputFontSize =
|
|
@@ -572,7 +584,7 @@ export const amsHeading_5FontSize = "1rem";
|
|
|
572
584
|
export const amsHeading_5LineHeight = "1.4";
|
|
573
585
|
export const amsHeading_6FontSize = "1rem";
|
|
574
586
|
export const amsHeading_6LineHeight = "1.4";
|
|
575
|
-
export const amsHeadingColor = "#
|
|
587
|
+
export const amsHeadingColor = "#202020";
|
|
576
588
|
export const amsHeadingFontFamily = "'Amsterdam Sans', Arial, sans-serif";
|
|
577
589
|
export const amsHeadingFontWeight = "800";
|
|
578
590
|
export const amsHeadingTextWrap = "balance";
|
|
@@ -586,9 +598,9 @@ export const amsIconButtonHoverBackgroundColor = "rgb(0 70 153 / 12.5%)";
|
|
|
586
598
|
export const amsIconButtonHoverColor = "#003677";
|
|
587
599
|
export const amsIconButtonDisabledColor = "#767676";
|
|
588
600
|
export const amsIconButtonDisabledCursor = "not-allowed";
|
|
589
|
-
export const amsIconButtonContrastColor = "#
|
|
601
|
+
export const amsIconButtonContrastColor = "#202020";
|
|
590
602
|
export const amsIconButtonContrastHoverBackgroundColor = "rgb(0 0 0 / 12.5%)";
|
|
591
|
-
export const amsIconButtonContrastHoverColor = "#
|
|
603
|
+
export const amsIconButtonContrastHoverColor = "#202020";
|
|
592
604
|
export const amsIconButtonContrastDisabledColor = "#767676";
|
|
593
605
|
export const amsIconButtonInverseBackgroundColor = "#004699";
|
|
594
606
|
export const amsIconButtonInverseColor = "#ffffff";
|
|
@@ -638,7 +650,7 @@ export const amsImageSliderThumbnailsThumbnailInViewOpacity = "100%";
|
|
|
638
650
|
export const amsImageSliderThumbnailsThumbnailHoverOpacity = "100%";
|
|
639
651
|
export const amsImageAspectRatio = "16 / 9";
|
|
640
652
|
export const amsInvalidFormAlertOutlineOffset = "0.25rem";
|
|
641
|
-
export const amsLabelColor = "#
|
|
653
|
+
export const amsLabelColor = "#202020";
|
|
642
654
|
export const amsLabelFontFamily = "'Amsterdam Sans', Arial, sans-serif";
|
|
643
655
|
export const amsLabelFontSize =
|
|
644
656
|
"clamp(1.3125rem, 1.2411rem + 0.3571vw, 1.5625rem)";
|
|
@@ -666,8 +678,8 @@ export const amsLinkListLinkLargeFontSize =
|
|
|
666
678
|
export const amsLinkListLinkLargeLineHeight = "1.6";
|
|
667
679
|
export const amsLinkListLinkHoverColor = "#003677";
|
|
668
680
|
export const amsLinkListLinkHoverTextDecorationLine = "underline";
|
|
669
|
-
export const amsLinkListLinkContrastColor = "#
|
|
670
|
-
export const amsLinkListLinkContrastHoverColor = "#
|
|
681
|
+
export const amsLinkListLinkContrastColor = "#202020";
|
|
682
|
+
export const amsLinkListLinkContrastHoverColor = "#202020";
|
|
671
683
|
export const amsLinkListLinkInverseColor = "#ffffff";
|
|
672
684
|
export const amsLinkListLinkInverseHoverColor = "#ffffff";
|
|
673
685
|
export const amsLinkColor = "#004699";
|
|
@@ -681,18 +693,18 @@ export const amsLinkTextUnderlineOffset = "0.15625rem";
|
|
|
681
693
|
export const amsLinkHoverColor = "#003677";
|
|
682
694
|
export const amsLinkHoverTextDecorationThickness = "0.1875rem";
|
|
683
695
|
export const amsLinkHoverTextUnderlineOffset = "0.09375rem";
|
|
684
|
-
export const amsLinkContrastColor = "#
|
|
685
|
-
export const amsLinkContrastHoverColor = "#
|
|
696
|
+
export const amsLinkContrastColor = "#202020";
|
|
697
|
+
export const amsLinkContrastHoverColor = "#202020";
|
|
686
698
|
export const amsLinkInverseColor = "#ffffff";
|
|
687
699
|
export const amsLinkInverseHoverColor = "#ffffff";
|
|
688
700
|
export const amsLogoBlockSize = "clamp(2.25rem, 1.8214rem + 2.1429vw, 3.75rem)";
|
|
689
701
|
export const amsLogoMinBlockSize = "2.5rem";
|
|
690
702
|
export const amsLogoEmblemColor = "#ec0000";
|
|
691
|
-
export const amsLogoSubsiteColor = "#
|
|
703
|
+
export const amsLogoSubsiteColor = "#202020";
|
|
692
704
|
export const amsLogoTitleColor = "#ec0000";
|
|
693
705
|
export const amsMarkBackgroundColor = "#ffe600";
|
|
694
|
-
export const amsMenuLinkContrastColor = "#
|
|
695
|
-
export const amsMenuLinkContrastHoverColor = "#
|
|
706
|
+
export const amsMenuLinkContrastColor = "#202020"; // The menu has a dark background now, so this is no longer needed.
|
|
707
|
+
export const amsMenuLinkContrastHoverColor = "#202020"; // The menu has a dark background now, so this is no longer needed.
|
|
696
708
|
export const amsMenuLinkInverseColor = "#ffffff"; // The menu has a dark background now, so this is no longer needed.
|
|
697
709
|
export const amsMenuLinkInverseHoverColor = "#ffffff"; // The menu has a dark background now, so this is no longer needed.
|
|
698
710
|
export const amsMenuLinkColor = "#ffffff";
|
|
@@ -721,7 +733,7 @@ export const amsMenuWidePaddingBlock =
|
|
|
721
733
|
export const amsMenuWidePaddingInline =
|
|
722
734
|
"clamp(0.5rem, 0.4286rem + 0.3571vw, 0.75rem)";
|
|
723
735
|
export const amsMenuListGap = "clamp(1rem, 0.8571rem + 0.7143vw, 1.5rem)";
|
|
724
|
-
export const amsOrderedListColor = "#
|
|
736
|
+
export const amsOrderedListColor = "#202020";
|
|
725
737
|
export const amsOrderedListFontFamily = "'Amsterdam Sans', Arial, sans-serif";
|
|
726
738
|
export const amsOrderedListFontSize =
|
|
727
739
|
"clamp(1.125rem, 1.0893rem + 0.1786vw, 1.25rem)";
|
|
@@ -781,12 +793,14 @@ export const amsPageHeaderWidePaddingInline =
|
|
|
781
793
|
export const amsPageHeaderLogoLinkColumnGap =
|
|
782
794
|
"clamp(1rem, 0.8571rem + 0.7143vw, 1.5rem)";
|
|
783
795
|
export const amsPageHeaderLogoLinkOutlineOffset = "0.25rem";
|
|
784
|
-
export const amsPageHeaderBrandNameColor = "#
|
|
796
|
+
export const amsPageHeaderBrandNameColor = "#202020";
|
|
785
797
|
export const amsPageHeaderBrandNameFontSize =
|
|
786
798
|
"clamp(1.3125rem, 1.2411rem + 0.3571vw, 1.5625rem)";
|
|
787
799
|
export const amsPageHeaderBrandNameFontWeight = "800";
|
|
788
800
|
export const amsPageHeaderBrandNameLineHeight = "1.3";
|
|
789
801
|
export const amsPageHeaderBrandNameTextWrap = "balance";
|
|
802
|
+
export const amsPageHeaderMegaMenuPaddingBlock =
|
|
803
|
+
"clamp(1.5rem, 1.2857rem + 1.0714vw, 2.25rem)";
|
|
790
804
|
export const amsPageHeaderMegaMenuButtonCursor = "pointer";
|
|
791
805
|
export const amsPageHeaderMegaMenuButtonLabelOpenFontWeight = "800";
|
|
792
806
|
export const amsPageHeaderMenuColumnGap =
|
|
@@ -815,8 +829,8 @@ export const amsPageHeaderMenuLinkHoverTextDecorationLine = "underline";
|
|
|
815
829
|
export const amsPageHeaderNavigationColumnGap =
|
|
816
830
|
"clamp(1.5rem, 1.2857rem + 1.0714vw, 2.25rem)";
|
|
817
831
|
export const amsPageHeaderNavigationRowGap =
|
|
818
|
-
"clamp(
|
|
819
|
-
export const amsPageHeadingColor = "#
|
|
832
|
+
"clamp(1.5rem, 1.2857rem + 1.0714vw, 2.25rem)";
|
|
833
|
+
export const amsPageHeadingColor = "#202020";
|
|
820
834
|
export const amsPageHeadingFontFamily = "'Amsterdam Sans', Arial, sans-serif";
|
|
821
835
|
export const amsPageHeadingFontSize =
|
|
822
836
|
"clamp(2.435rem, 2.0409rem + 1.9709vw, 3.8147rem)";
|
|
@@ -846,7 +860,7 @@ export const amsPaginationLinkTextUnderlineOffset = "0.15625rem";
|
|
|
846
860
|
export const amsPaginationLinkCurrentFontWeight = "800";
|
|
847
861
|
export const amsPaginationLinkHoverColor = "#003677";
|
|
848
862
|
export const amsPaginationLinkHoverTextDecorationLine = "underline";
|
|
849
|
-
export const amsParagraphColor = "#
|
|
863
|
+
export const amsParagraphColor = "#202020";
|
|
850
864
|
export const amsParagraphFontFamily = "'Amsterdam Sans', Arial, sans-serif";
|
|
851
865
|
export const amsParagraphFontSize =
|
|
852
866
|
"clamp(1.125rem, 1.0893rem + 0.1786vw, 1.25rem)";
|
|
@@ -858,11 +872,12 @@ export const amsParagraphSmallLineHeight = "1.6";
|
|
|
858
872
|
export const amsParagraphLargeFontSize =
|
|
859
873
|
"clamp(1.3125rem, 1.2411rem + 0.3571vw, 1.5625rem)";
|
|
860
874
|
export const amsParagraphLargeLineHeight = "1.6";
|
|
875
|
+
export const amsParagraphLargeTextWrap = "balance";
|
|
861
876
|
export const amsPasswordInputBackgroundColor = "#ffffff";
|
|
862
877
|
export const amsPasswordInputBorderColor = "currentColor";
|
|
863
878
|
export const amsPasswordInputBorderStyle = "solid";
|
|
864
879
|
export const amsPasswordInputBorderWidth = "0.125rem";
|
|
865
|
-
export const amsPasswordInputColor = "#
|
|
880
|
+
export const amsPasswordInputColor = "#202020";
|
|
866
881
|
export const amsPasswordInputFontFamily = "'Amsterdam Sans', Arial, sans-serif";
|
|
867
882
|
export const amsPasswordInputFontSize =
|
|
868
883
|
"clamp(1.125rem, 1.0893rem + 0.1786vw, 1.25rem)";
|
|
@@ -881,7 +896,7 @@ export const amsPasswordInputInvalidHoverBorderColor = "#b70000";
|
|
|
881
896
|
export const amsPasswordInputInvalidHoverBoxShadow =
|
|
882
897
|
"inset 0 0 0 0.0625rem #b70000";
|
|
883
898
|
export const amsPasswordInputPlaceholderColor = "#767676";
|
|
884
|
-
export const amsRadioColor = "#
|
|
899
|
+
export const amsRadioColor = "#202020";
|
|
885
900
|
export const amsRadioCursor = "pointer";
|
|
886
901
|
export const amsRadioFontFamily = "'Amsterdam Sans', Arial, sans-serif";
|
|
887
902
|
export const amsRadioFontSize =
|
|
@@ -926,7 +941,7 @@ export const amsSearchFieldInputBackgroundColor = "#ffffff";
|
|
|
926
941
|
export const amsSearchFieldInputBorderColor = "currentColor";
|
|
927
942
|
export const amsSearchFieldInputBorderStyle = "solid";
|
|
928
943
|
export const amsSearchFieldInputBorderWidth = "0.125rem";
|
|
929
|
-
export const amsSearchFieldInputColor = "#
|
|
944
|
+
export const amsSearchFieldInputColor = "#202020";
|
|
930
945
|
export const amsSearchFieldInputFontFamily =
|
|
931
946
|
"'Amsterdam Sans', Arial, sans-serif";
|
|
932
947
|
export const amsSearchFieldInputFontSize =
|
|
@@ -960,7 +975,7 @@ export const amsSelectBackgroundPosition =
|
|
|
960
975
|
export const amsSelectBorderColor = "currentColor";
|
|
961
976
|
export const amsSelectBorderStyle = "solid";
|
|
962
977
|
export const amsSelectBorderWidth = "0.125rem";
|
|
963
|
-
export const amsSelectColor = "#
|
|
978
|
+
export const amsSelectColor = "#202020";
|
|
964
979
|
export const amsSelectFontFamily = "'Amsterdam Sans', Arial, sans-serif";
|
|
965
980
|
export const amsSelectFontSize =
|
|
966
981
|
"clamp(1.125rem, 1.0893rem + 0.1786vw, 1.25rem)";
|
|
@@ -997,7 +1012,7 @@ export const amsSkipLinkPaddingInline =
|
|
|
997
1012
|
export const amsSkipLinkHoverBackgroundColor = "#003677";
|
|
998
1013
|
export const amsSpotlightBackgroundColor = "#a00078";
|
|
999
1014
|
export const amsSpotlightAzureBackgroundColor = "#009de6";
|
|
1000
|
-
export const amsSpotlightGreenBackgroundColor = "#
|
|
1015
|
+
export const amsSpotlightGreenBackgroundColor = "#00893c";
|
|
1001
1016
|
export const amsSpotlightLimeBackgroundColor = "#bed200";
|
|
1002
1017
|
export const amsSpotlightMagentaBackgroundColor = "#e50082";
|
|
1003
1018
|
export const amsSpotlightOrangeBackgroundColor = "#ff9100";
|
|
@@ -1022,8 +1037,8 @@ export const amsStandaloneLinkOutlineOffset = "0.25rem";
|
|
|
1022
1037
|
export const amsStandaloneLinkTextDecorationLine = "none";
|
|
1023
1038
|
export const amsStandaloneLinkTextDecorationThickness = "0.125rem";
|
|
1024
1039
|
export const amsStandaloneLinkTextUnderlineOffset = "0.15625rem";
|
|
1025
|
-
export const amsStandaloneLinkContrastColor = "#
|
|
1026
|
-
export const amsStandaloneLinkContrastHoverColor = "#
|
|
1040
|
+
export const amsStandaloneLinkContrastColor = "#202020";
|
|
1041
|
+
export const amsStandaloneLinkContrastHoverColor = "#202020";
|
|
1027
1042
|
export const amsStandaloneLinkInverseColor = "#ffffff";
|
|
1028
1043
|
export const amsStandaloneLinkInverseHoverColor = "#ffffff";
|
|
1029
1044
|
export const amsSwitchBackgroundColor = "#767676";
|
|
@@ -1063,7 +1078,7 @@ export const amsTableOfContentsListListPaddingBlockStart =
|
|
|
1063
1078
|
"clamp(0.5rem, 0.4286rem + 0.3571vw, 0.75rem)";
|
|
1064
1079
|
export const amsTableOfContentsListListPaddingInlineStart =
|
|
1065
1080
|
"clamp(1.5rem, 1.2857rem + 1.0714vw, 2.25rem)";
|
|
1066
|
-
export const amsTableColor = "#
|
|
1081
|
+
export const amsTableColor = "#202020";
|
|
1067
1082
|
export const amsTableFontFamily = "'Amsterdam Sans', Arial, sans-serif";
|
|
1068
1083
|
export const amsTableFontSize =
|
|
1069
1084
|
"clamp(1.125rem, 1.0893rem + 0.1786vw, 1.25rem)";
|
|
@@ -1100,7 +1115,7 @@ export const amsTextAreaBackgroundColor = "#ffffff";
|
|
|
1100
1115
|
export const amsTextAreaBorderColor = "currentColor";
|
|
1101
1116
|
export const amsTextAreaBorderStyle = "solid";
|
|
1102
1117
|
export const amsTextAreaBorderWidth = "0.125rem";
|
|
1103
|
-
export const amsTextAreaColor = "#
|
|
1118
|
+
export const amsTextAreaColor = "#202020";
|
|
1104
1119
|
export const amsTextAreaFontFamily = "'Amsterdam Sans', Arial, sans-serif";
|
|
1105
1120
|
export const amsTextAreaFontSize =
|
|
1106
1121
|
"clamp(1.125rem, 1.0893rem + 0.1786vw, 1.25rem)";
|
|
@@ -1124,7 +1139,7 @@ export const amsTextInputBackgroundColor = "#ffffff";
|
|
|
1124
1139
|
export const amsTextInputBorderColor = "currentColor";
|
|
1125
1140
|
export const amsTextInputBorderStyle = "solid";
|
|
1126
1141
|
export const amsTextInputBorderWidth = "0.125rem";
|
|
1127
|
-
export const amsTextInputColor = "#
|
|
1142
|
+
export const amsTextInputColor = "#202020";
|
|
1128
1143
|
export const amsTextInputFontFamily = "'Amsterdam Sans', Arial, sans-serif";
|
|
1129
1144
|
export const amsTextInputFontSize =
|
|
1130
1145
|
"clamp(1.125rem, 1.0893rem + 0.1786vw, 1.25rem)";
|
|
@@ -1161,7 +1176,7 @@ export const amsTimeInputBackgroundColor = "#ffffff";
|
|
|
1161
1176
|
export const amsTimeInputBorderColor = "currentColor";
|
|
1162
1177
|
export const amsTimeInputBorderStyle = "solid";
|
|
1163
1178
|
export const amsTimeInputBorderWidth = "0.125rem";
|
|
1164
|
-
export const amsTimeInputColor = "#
|
|
1179
|
+
export const amsTimeInputColor = "#202020";
|
|
1165
1180
|
export const amsTimeInputFontFamily = "'Amsterdam Sans', Arial, sans-serif";
|
|
1166
1181
|
export const amsTimeInputFontSize =
|
|
1167
1182
|
"clamp(1.125rem, 1.0893rem + 0.1786vw, 1.25rem)";
|
|
@@ -1179,7 +1194,7 @@ export const amsTimeInputInvalidHoverBoxShadow =
|
|
|
1179
1194
|
export const amsTimeInputCalendarPickerIndicatorBackgroundImage =
|
|
1180
1195
|
"url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='%23004699'><path d='M16 0C7.163 0 0 7.163 0 16s7.163 16 16 16 16-7.163 16-16A16 16 0 0 0 16 0zm.9 28v-2h-2v1.9A11.8 11.8 0 0 1 4.1 17H6v-2H4.1A11.8 11.8 0 0 1 15 4.1V6h2V4.1A11.8 11.8 0 0 1 27.9 15H26v2h1.9a11.9 11.9 0 0 1-11 11zm.1-13h4v2h-6V9h2v6z'/></svg>\")";
|
|
1181
1196
|
export const amsTimeInputCalendarPickerIndicatorCursor = "pointer";
|
|
1182
|
-
export const amsUnorderedListColor = "#
|
|
1197
|
+
export const amsUnorderedListColor = "#202020";
|
|
1183
1198
|
export const amsUnorderedListFontFamily = "'Amsterdam Sans', Arial, sans-serif";
|
|
1184
1199
|
export const amsUnorderedListFontSize =
|
|
1185
1200
|
"clamp(1.125rem, 1.0893rem + 0.1786vw, 1.25rem)";
|
package/dist/index.scss
CHANGED
|
@@ -11,8 +11,8 @@ $ams-border-width-s: 0.0625rem;
|
|
|
11
11
|
$ams-border-width-m: 0.125rem;
|
|
12
12
|
$ams-border-width-l: 0.1875rem;
|
|
13
13
|
$ams-border-width-xl: 0.25rem;
|
|
14
|
-
$ams-color-interactive-secondary: #
|
|
15
|
-
$ams-color-interactive-contrast: #
|
|
14
|
+
$ams-color-interactive-secondary: #202020; // Use `currentColor` instead
|
|
15
|
+
$ams-color-interactive-contrast: #202020;
|
|
16
16
|
$ams-color-interactive: #004699;
|
|
17
17
|
$ams-color-interactive-disabled: #767676;
|
|
18
18
|
$ams-color-interactive-hover: #003677;
|
|
@@ -22,17 +22,17 @@ $ams-color-interactive-inverse: #ffffff;
|
|
|
22
22
|
$ams-color-background: #ffffff;
|
|
23
23
|
$ams-color-feedback-error: #ec0000;
|
|
24
24
|
$ams-color-feedback-info: #009de6;
|
|
25
|
-
$ams-color-feedback-success: #
|
|
25
|
+
$ams-color-feedback-success: #00893c;
|
|
26
26
|
$ams-color-feedback-warning: #ff9100;
|
|
27
27
|
$ams-color-highlight-azure: #009de6;
|
|
28
|
-
$ams-color-highlight-green: #
|
|
28
|
+
$ams-color-highlight-green: #00893c;
|
|
29
29
|
$ams-color-highlight-lime: #bed200;
|
|
30
30
|
$ams-color-highlight-magenta: #e50082;
|
|
31
31
|
$ams-color-highlight-orange: #ff9100;
|
|
32
32
|
$ams-color-highlight-purple: #a00078;
|
|
33
33
|
$ams-color-highlight-yellow: #ffe600;
|
|
34
34
|
$ams-color-separator: #d1d1d1;
|
|
35
|
-
$ams-color-text: #
|
|
35
|
+
$ams-color-text: #202020;
|
|
36
36
|
$ams-color-text-inverse: #ffffff;
|
|
37
37
|
$ams-color-text-secondary: #767676;
|
|
38
38
|
$ams-cursor-disabled: not-allowed;
|
|
@@ -89,8 +89,8 @@ $ams-button-secondary-border-color: currentColor;
|
|
|
89
89
|
$ams-button-tertiary-background-color: transparent;
|
|
90
90
|
$ams-button-tertiary-border-color: transparent;
|
|
91
91
|
$ams-button-tertiary-hover-border-color: currentColor;
|
|
92
|
-
$ams-call-to-action-link-background-color: #
|
|
93
|
-
$ams-call-to-action-link-hover-background-color: #
|
|
92
|
+
$ams-call-to-action-link-background-color: #00893c;
|
|
93
|
+
$ams-call-to-action-link-hover-background-color: #10552b;
|
|
94
94
|
$ams-date-input-disabled-calender-picker-indicator-background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36' fill='%23767676'><path d='M28 6V2h-4v4H12V2H8v4H2v28h32V6zm2 24H6V14h24z'/><path d='M10 17h4v4h-4zm6 0h4v4h-4zm6 0h4v4h-4zm-12 6h4v4h-4zm6 0h4v4h-4z'/></svg>"); // Use the token with ‘calendar’ spelled correctly instead
|
|
95
95
|
$ams-date-input-disabled-calendar-picker-indicator-background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36' fill='%23767676'><path d='M28 6V2h-4v4H12V2H8v4H2v28h32V6zm2 24H6V14h24z'/><path d='M10 17h4v4h-4zm6 0h4v4h-4zm6 0h4v4h-4zm-12 6h4v4h-4zm6 0h4v4h-4z'/></svg>");
|
|
96
96
|
$ams-date-input-hover-calender-picker-indicator-background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36' fill='%23003677'><path d='M28 6V2h-4v4H12V2H8v4H2v28h32V6zm2 24H6V14h24z'/><path d='M10 17h4v4h-4zm6 0h4v4h-4zm6 0h4v4h-4zm-12 6h4v4h-4zm6 0h4v4h-4z'/></svg>"); // Use the token with ‘calendar’ spelled correctly instead
|
|
@@ -131,6 +131,7 @@ $ams-ordered-list-ordered-list-item-padding-inline-start: 0.25rem; // The total
|
|
|
131
131
|
$ams-page-footer-spotlight-background-color: #004699;
|
|
132
132
|
$ams-page-max-inline-size: 90rem;
|
|
133
133
|
$ams-page-with-menu-max-inline-size: 120rem;
|
|
134
|
+
$ams-paragraph-large-text-wrap: balance;
|
|
134
135
|
$ams-search-field-input-cancel-button-background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><path fill='%23004699' fill-rule='evenodd' d='M29.333 5.47 26.53 2.668 16 13.187 5.47 2.666 2.668 5.47 13.187 16 2.666 26.53l2.804 2.803L16 18.813l10.53 10.52 2.803-2.804L18.813 16z'/></svg>");
|
|
135
136
|
$ams-select-background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><path fill='%23004699' fill-rule='evenodd' d='m16 25.757-16-16 2.91-2.9L16 19.937l13.09-13.08 2.91 2.9z'/></svg>");
|
|
136
137
|
$ams-select-disabled-background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><path fill='%23767676' fill-rule='evenodd' d='m16 25.757-16-16 2.91-2.9L16 19.937l13.09-13.08 2.91 2.9z'/></svg>");
|
|
@@ -412,16 +413,22 @@ $ams-error-message-font-size: $ams-typography-body-text-font-size;
|
|
|
412
413
|
$ams-error-message-font-weight: $ams-typography-body-text-font-weight;
|
|
413
414
|
$ams-error-message-gap: $ams-space-xs;
|
|
414
415
|
$ams-error-message-line-height: $ams-typography-body-text-line-height;
|
|
415
|
-
$ams-field-set-
|
|
416
|
-
$ams-field-set-invalid-padding-inline-start: $ams-space-m;
|
|
416
|
+
$ams-field-set-legend-margin-block-end: $ams-space-s;
|
|
417
417
|
$ams-field-set-legend-color: $ams-color-text;
|
|
418
418
|
$ams-field-set-legend-font-family: $ams-typography-font-family;
|
|
419
419
|
$ams-field-set-legend-font-weight: $ams-typography-heading-font-weight;
|
|
420
420
|
$ams-field-set-legend-line-height: $ams-typography-heading-3-line-height;
|
|
421
|
-
$ams-field-set-legend-margin-block-end: $ams-space-s;
|
|
422
421
|
$ams-field-set-legend-text-wrap: $ams-typography-heading-text-wrap;
|
|
423
422
|
$ams-field-set-legend-in-fieldset-font-weight: $ams-typography-body-text-font-weight;
|
|
423
|
+
$ams-field-set-child-margin-block-end: $ams-space-xs;
|
|
424
|
+
$ams-field-set-child-before-error-message-margin-block-end: $ams-space-s;
|
|
425
|
+
$ams-field-set-child-before-field-or-field-set-margin-block-end: $ams-space-m;
|
|
426
|
+
$ams-field-set-child-between-fields-and-field-sets-margin-block-end: $ams-space-l;
|
|
427
|
+
$ams-field-set-invalid-border-inline-start: $ams-border-width-l solid $ams-color-feedback-error;
|
|
428
|
+
$ams-field-set-invalid-padding-inline-start: $ams-space-m;
|
|
424
429
|
$ams-field-gap: $ams-space-s;
|
|
430
|
+
$ams-field-child-margin-block-end: $ams-space-xs;
|
|
431
|
+
$ams-field-child-before-error-message-margin-block-end: $ams-space-s;
|
|
425
432
|
$ams-field-invalid-border-inline-start: $ams-border-width-l solid $ams-color-feedback-error;
|
|
426
433
|
$ams-field-invalid-padding-inline-start: $ams-space-m;
|
|
427
434
|
$ams-figure-gap: $ams-space-s;
|
|
@@ -590,6 +597,7 @@ $ams-page-header-brand-name-color: $ams-color-text;
|
|
|
590
597
|
$ams-page-header-brand-name-font-weight: $ams-typography-heading-font-weight;
|
|
591
598
|
$ams-page-header-brand-name-line-height: $ams-typography-heading-3-line-height;
|
|
592
599
|
$ams-page-header-brand-name-text-wrap: $ams-typography-heading-text-wrap;
|
|
600
|
+
$ams-page-header-mega-menu-padding-block: $ams-space-l;
|
|
593
601
|
$ams-page-header-mega-menu-button-cursor: $ams-cursor-interactive;
|
|
594
602
|
$ams-page-header-mega-menu-button-label-open-font-weight: $ams-typography-body-text-bold-font-weight;
|
|
595
603
|
$ams-page-header-menu-column-gap: $ams-space-l;
|
|
@@ -607,7 +615,7 @@ $ams-page-header-menu-link-text-decoration-thickness: $ams-links-text-decoration
|
|
|
607
615
|
$ams-page-header-menu-link-text-underline-offset: $ams-links-text-underline-offset;
|
|
608
616
|
$ams-page-header-menu-link-hover-text-decoration-line: $ams-links-subtle-hover-text-decoration-line;
|
|
609
617
|
$ams-page-header-navigation-column-gap: $ams-space-l;
|
|
610
|
-
$ams-page-header-navigation-row-gap: $ams-space-
|
|
618
|
+
$ams-page-header-navigation-row-gap: $ams-space-l;
|
|
611
619
|
$ams-page-heading-color: $ams-color-text;
|
|
612
620
|
$ams-page-heading-font-family: $ams-typography-font-family;
|
|
613
621
|
$ams-page-heading-font-size: $ams-typography-heading-0-font-size;
|
package/dist/index.theme.css
CHANGED
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
--ams-border-width-m: 0.125rem;
|
|
14
14
|
--ams-border-width-l: 0.1875rem;
|
|
15
15
|
--ams-border-width-xl: 0.25rem;
|
|
16
|
-
--ams-color-interactive-secondary: #
|
|
17
|
-
--ams-color-interactive-contrast: #
|
|
16
|
+
--ams-color-interactive-secondary: #202020; /** Use `currentColor` instead */
|
|
17
|
+
--ams-color-interactive-contrast: #202020;
|
|
18
18
|
--ams-color-interactive: #004699;
|
|
19
19
|
--ams-color-interactive-disabled: #767676;
|
|
20
20
|
--ams-color-interactive-hover: #003677;
|
|
@@ -24,17 +24,17 @@
|
|
|
24
24
|
--ams-color-background: #ffffff;
|
|
25
25
|
--ams-color-feedback-error: #ec0000;
|
|
26
26
|
--ams-color-feedback-info: #009de6;
|
|
27
|
-
--ams-color-feedback-success: #
|
|
27
|
+
--ams-color-feedback-success: #00893c;
|
|
28
28
|
--ams-color-feedback-warning: #ff9100;
|
|
29
29
|
--ams-color-highlight-azure: #009de6;
|
|
30
|
-
--ams-color-highlight-green: #
|
|
30
|
+
--ams-color-highlight-green: #00893c;
|
|
31
31
|
--ams-color-highlight-lime: #bed200;
|
|
32
32
|
--ams-color-highlight-magenta: #e50082;
|
|
33
33
|
--ams-color-highlight-orange: #ff9100;
|
|
34
34
|
--ams-color-highlight-purple: #a00078;
|
|
35
35
|
--ams-color-highlight-yellow: #ffe600;
|
|
36
36
|
--ams-color-separator: #d1d1d1;
|
|
37
|
-
--ams-color-text: #
|
|
37
|
+
--ams-color-text: #202020;
|
|
38
38
|
--ams-color-text-inverse: #ffffff;
|
|
39
39
|
--ams-color-text-secondary: #767676;
|
|
40
40
|
--ams-cursor-disabled: not-allowed;
|
|
@@ -91,8 +91,8 @@
|
|
|
91
91
|
--ams-button-tertiary-background-color: transparent;
|
|
92
92
|
--ams-button-tertiary-border-color: transparent;
|
|
93
93
|
--ams-button-tertiary-hover-border-color: currentColor;
|
|
94
|
-
--ams-call-to-action-link-background-color: #
|
|
95
|
-
--ams-call-to-action-link-hover-background-color: #
|
|
94
|
+
--ams-call-to-action-link-background-color: #00893c;
|
|
95
|
+
--ams-call-to-action-link-hover-background-color: #10552b;
|
|
96
96
|
--ams-date-input-disabled-calender-picker-indicator-background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36' fill='%23767676'><path d='M28 6V2h-4v4H12V2H8v4H2v28h32V6zm2 24H6V14h24z'/><path d='M10 17h4v4h-4zm6 0h4v4h-4zm6 0h4v4h-4zm-12 6h4v4h-4zm6 0h4v4h-4z'/></svg>"); /** Use the token with ‘calendar’ spelled correctly instead */
|
|
97
97
|
--ams-date-input-disabled-calendar-picker-indicator-background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36' fill='%23767676'><path d='M28 6V2h-4v4H12V2H8v4H2v28h32V6zm2 24H6V14h24z'/><path d='M10 17h4v4h-4zm6 0h4v4h-4zm6 0h4v4h-4zm-12 6h4v4h-4zm6 0h4v4h-4z'/></svg>");
|
|
98
98
|
--ams-date-input-hover-calender-picker-indicator-background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36' fill='%23003677'><path d='M28 6V2h-4v4H12V2H8v4H2v28h32V6zm2 24H6V14h24z'/><path d='M10 17h4v4h-4zm6 0h4v4h-4zm6 0h4v4h-4zm-12 6h4v4h-4zm6 0h4v4h-4z'/></svg>"); /** Use the token with ‘calendar’ spelled correctly instead */
|
|
@@ -133,6 +133,7 @@
|
|
|
133
133
|
--ams-page-footer-spotlight-background-color: #004699;
|
|
134
134
|
--ams-page-max-inline-size: 90rem;
|
|
135
135
|
--ams-page-with-menu-max-inline-size: 120rem;
|
|
136
|
+
--ams-paragraph-large-text-wrap: balance;
|
|
136
137
|
--ams-search-field-input-cancel-button-background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><path fill='%23004699' fill-rule='evenodd' d='M29.333 5.47 26.53 2.668 16 13.187 5.47 2.666 2.668 5.47 13.187 16 2.666 26.53l2.804 2.803L16 18.813l10.53 10.52 2.803-2.804L18.813 16z'/></svg>");
|
|
137
138
|
--ams-select-background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><path fill='%23004699' fill-rule='evenodd' d='m16 25.757-16-16 2.91-2.9L16 19.937l13.09-13.08 2.91 2.9z'/></svg>");
|
|
138
139
|
--ams-select-disabled-background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><path fill='%23767676' fill-rule='evenodd' d='m16 25.757-16-16 2.91-2.9L16 19.937l13.09-13.08 2.91 2.9z'/></svg>");
|
|
@@ -414,16 +415,22 @@
|
|
|
414
415
|
--ams-error-message-font-weight: var(--ams-typography-body-text-font-weight);
|
|
415
416
|
--ams-error-message-gap: var(--ams-space-xs);
|
|
416
417
|
--ams-error-message-line-height: var(--ams-typography-body-text-line-height);
|
|
417
|
-
--ams-field-set-
|
|
418
|
-
--ams-field-set-invalid-padding-inline-start: var(--ams-space-m);
|
|
418
|
+
--ams-field-set-legend-margin-block-end: var(--ams-space-s);
|
|
419
419
|
--ams-field-set-legend-color: var(--ams-color-text);
|
|
420
420
|
--ams-field-set-legend-font-family: var(--ams-typography-font-family);
|
|
421
421
|
--ams-field-set-legend-font-weight: var(--ams-typography-heading-font-weight);
|
|
422
422
|
--ams-field-set-legend-line-height: var(--ams-typography-heading-3-line-height);
|
|
423
|
-
--ams-field-set-legend-margin-block-end: var(--ams-space-s);
|
|
424
423
|
--ams-field-set-legend-text-wrap: var(--ams-typography-heading-text-wrap);
|
|
425
424
|
--ams-field-set-legend-in-fieldset-font-weight: var(--ams-typography-body-text-font-weight);
|
|
425
|
+
--ams-field-set-child-margin-block-end: var(--ams-space-xs);
|
|
426
|
+
--ams-field-set-child-before-error-message-margin-block-end: var(--ams-space-s);
|
|
427
|
+
--ams-field-set-child-before-field-or-field-set-margin-block-end: var(--ams-space-m);
|
|
428
|
+
--ams-field-set-child-between-fields-and-field-sets-margin-block-end: var(--ams-space-l);
|
|
429
|
+
--ams-field-set-invalid-border-inline-start: var(--ams-border-width-l) solid var(--ams-color-feedback-error);
|
|
430
|
+
--ams-field-set-invalid-padding-inline-start: var(--ams-space-m);
|
|
426
431
|
--ams-field-gap: var(--ams-space-s);
|
|
432
|
+
--ams-field-child-margin-block-end: var(--ams-space-xs);
|
|
433
|
+
--ams-field-child-before-error-message-margin-block-end: var(--ams-space-s);
|
|
427
434
|
--ams-field-invalid-border-inline-start: var(--ams-border-width-l) solid var(--ams-color-feedback-error);
|
|
428
435
|
--ams-field-invalid-padding-inline-start: var(--ams-space-m);
|
|
429
436
|
--ams-figure-gap: var(--ams-space-s);
|
|
@@ -592,6 +599,7 @@
|
|
|
592
599
|
--ams-page-header-brand-name-font-weight: var(--ams-typography-heading-font-weight);
|
|
593
600
|
--ams-page-header-brand-name-line-height: var(--ams-typography-heading-3-line-height);
|
|
594
601
|
--ams-page-header-brand-name-text-wrap: var(--ams-typography-heading-text-wrap);
|
|
602
|
+
--ams-page-header-mega-menu-padding-block: var(--ams-space-l);
|
|
595
603
|
--ams-page-header-mega-menu-button-cursor: var(--ams-cursor-interactive);
|
|
596
604
|
--ams-page-header-mega-menu-button-label-open-font-weight: var(--ams-typography-body-text-bold-font-weight);
|
|
597
605
|
--ams-page-header-menu-column-gap: var(--ams-space-l);
|
|
@@ -609,7 +617,7 @@
|
|
|
609
617
|
--ams-page-header-menu-link-text-underline-offset: var(--ams-links-text-underline-offset);
|
|
610
618
|
--ams-page-header-menu-link-hover-text-decoration-line: var(--ams-links-subtle-hover-text-decoration-line);
|
|
611
619
|
--ams-page-header-navigation-column-gap: var(--ams-space-l);
|
|
612
|
-
--ams-page-header-navigation-row-gap: var(--ams-space-
|
|
620
|
+
--ams-page-header-navigation-row-gap: var(--ams-space-l);
|
|
613
621
|
--ams-page-heading-color: var(--ams-color-text);
|
|
614
622
|
--ams-page-heading-font-family: var(--ams-typography-font-family);
|
|
615
623
|
--ams-page-heading-font-size: var(--ams-typography-heading-0-font-size);
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "
|
|
2
|
+
"version": "3.0.0",
|
|
3
3
|
"author": "Design System Team, City of Amsterdam <designsystem@amsterdam.nl>",
|
|
4
4
|
"description": "All design tokens from the Amsterdam Design System. Use it to apply its visual design to your website or application.",
|
|
5
5
|
"homepage": "https://designsystem.amsterdam",
|
|
@@ -25,12 +25,11 @@
|
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"change-case": "5.4.4",
|
|
27
27
|
"chokidar-cli": "3.0.0",
|
|
28
|
-
"npm-run-all": "4.1.5",
|
|
29
28
|
"style-dictionary": "5.1.1"
|
|
30
29
|
},
|
|
31
30
|
"scripts": {
|
|
32
31
|
"clean": "rimraf dist/",
|
|
33
32
|
"build": "node build.js",
|
|
34
|
-
"watch": "chokidar --follow-symlinks --initial --command \"npm run build\" \"src/**/*.tokens.json\""
|
|
33
|
+
"build:watch": "chokidar --follow-symlinks --initial --command \"npm run build\" \"src/**/*.tokens.json\""
|
|
35
34
|
}
|
|
36
35
|
}
|