@amsterdam/design-system-tokens 2.1.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/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 = "#181818"; // Use `currentColor` instead
16
- export const amsColorInteractiveContrast = "#181818";
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 = "#00a03c";
26
+ export const amsColorFeedbackSuccess = "#00893c";
27
27
  export const amsColorFeedbackWarning = "#ff9100";
28
28
  export const amsColorHighlightAzure = "#009de6";
29
- export const amsColorHighlightGreen = "#00a03c";
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 = "#181818";
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 = "#181818";
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 = "#181818";
114
- export const amsLinksContrastHoverColor = "#181818";
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 = "#00a03c";
155
- export const amsAlertSuccessSeverityIndicatorBackgroundColor = "#00a03c";
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 = "#00a03c";
177
- export const amsAvatarGreenBorderColor = "#00a03c";
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 = "#181818";
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 = "#181818";
187
+ export const amsAvatarOrangeColor = "#202020";
188
188
  export const amsAvatarYellowBackgroundColor = "#ffe600";
189
189
  export const amsAvatarYellowBorderColor = "#ffe600";
190
- export const amsAvatarYellowColor = "#181818";
191
- export const amsBadgeBackgroundColor = "#00a03c";
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 = "#181818";
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 = "#181818";
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 = "#181818";
214
- export const amsBlockquoteColor = "#181818";
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 = "#00a03c";
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 = "#007c2e";
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 = "#181818";
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 = "#181818";
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 = "#181818";
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 = "#181818";
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,25 +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 amsFieldSetInvalidBorderInlineStart = "0.1875rem solid #ec0000";
471
- export const amsFieldSetInvalidPaddingInlineStart =
472
- "clamp(1rem, 0.8571rem + 0.7143vw, 1.5rem)";
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";
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)";
483
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)";
484
497
  export const amsFieldInvalidBorderInlineStart = "0.1875rem solid #ec0000";
485
498
  export const amsFieldInvalidPaddingInlineStart =
486
499
  "clamp(1rem, 0.8571rem + 0.7143vw, 1.5rem)";
487
500
  export const amsFigureGap = "clamp(0.5rem, 0.4286rem + 0.3571vw, 0.75rem)";
488
- export const amsFigureCaptionColor = "#181818";
501
+ export const amsFigureCaptionColor = "#202020";
489
502
  export const amsFigureCaptionFontFamily = "'Amsterdam Sans', Arial, sans-serif";
490
503
  export const amsFigureCaptionFontSize = "1rem";
491
504
  export const amsFigureCaptionFontWeight = "400";
@@ -495,7 +508,7 @@ export const amsFileInputBackgroundColor = "#ffffff";
495
508
  export const amsFileInputBorderColor = "currentColor";
496
509
  export const amsFileInputBorderStyle = "dashed";
497
510
  export const amsFileInputBorderWidth = "0.125rem";
498
- export const amsFileInputColor = "#181818";
511
+ export const amsFileInputColor = "#202020";
499
512
  export const amsFileInputCursor = "pointer";
500
513
  export const amsFileInputFontFamily = "'Amsterdam Sans', Arial, sans-serif";
501
514
  export const amsFileInputFontSize =
@@ -571,12 +584,13 @@ export const amsHeading_5FontSize = "1rem";
571
584
  export const amsHeading_5LineHeight = "1.4";
572
585
  export const amsHeading_6FontSize = "1rem";
573
586
  export const amsHeading_6LineHeight = "1.4";
574
- export const amsHeadingColor = "#181818";
587
+ export const amsHeadingColor = "#202020";
575
588
  export const amsHeadingFontFamily = "'Amsterdam Sans', Arial, sans-serif";
576
589
  export const amsHeadingFontWeight = "800";
577
590
  export const amsHeadingTextWrap = "balance";
578
591
  export const amsHeadingInverseColor = "#ffffff";
579
592
  export const amsHintFontWeight = "400";
593
+ export const amsHintInFieldsetColor = "#767676";
580
594
  export const amsIconButtonColor = "#004699";
581
595
  export const amsIconButtonCursor = "pointer";
582
596
  export const amsIconButtonOutlineOffset = "0.25rem";
@@ -584,9 +598,9 @@ export const amsIconButtonHoverBackgroundColor = "rgb(0 70 153 / 12.5%)";
584
598
  export const amsIconButtonHoverColor = "#003677";
585
599
  export const amsIconButtonDisabledColor = "#767676";
586
600
  export const amsIconButtonDisabledCursor = "not-allowed";
587
- export const amsIconButtonContrastColor = "#181818";
601
+ export const amsIconButtonContrastColor = "#202020";
588
602
  export const amsIconButtonContrastHoverBackgroundColor = "rgb(0 0 0 / 12.5%)";
589
- export const amsIconButtonContrastHoverColor = "#181818";
603
+ export const amsIconButtonContrastHoverColor = "#202020";
590
604
  export const amsIconButtonContrastDisabledColor = "#767676";
591
605
  export const amsIconButtonInverseBackgroundColor = "#004699";
592
606
  export const amsIconButtonInverseColor = "#ffffff";
@@ -636,13 +650,14 @@ export const amsImageSliderThumbnailsThumbnailInViewOpacity = "100%";
636
650
  export const amsImageSliderThumbnailsThumbnailHoverOpacity = "100%";
637
651
  export const amsImageAspectRatio = "16 / 9";
638
652
  export const amsInvalidFormAlertOutlineOffset = "0.25rem";
639
- export const amsLabelColor = "#181818";
653
+ export const amsLabelColor = "#202020";
640
654
  export const amsLabelFontFamily = "'Amsterdam Sans', Arial, sans-serif";
641
655
  export const amsLabelFontSize =
642
656
  "clamp(1.3125rem, 1.2411rem + 0.3571vw, 1.5625rem)";
643
657
  export const amsLabelFontWeight = "800";
644
658
  export const amsLabelLineHeight = "1.3";
645
659
  export const amsLabelTextWrap = "balance";
660
+ export const amsLabelInFieldsetFontWeight = "400";
646
661
  export const amsLinkListGap = "clamp(0.5rem, 0.4286rem + 0.3571vw, 0.75rem)";
647
662
  export const amsLinkListLinkColor = "#004699";
648
663
  export const amsLinkListLinkFontFamily = "'Amsterdam Sans', Arial, sans-serif";
@@ -663,8 +678,8 @@ export const amsLinkListLinkLargeFontSize =
663
678
  export const amsLinkListLinkLargeLineHeight = "1.6";
664
679
  export const amsLinkListLinkHoverColor = "#003677";
665
680
  export const amsLinkListLinkHoverTextDecorationLine = "underline";
666
- export const amsLinkListLinkContrastColor = "#181818";
667
- export const amsLinkListLinkContrastHoverColor = "#181818";
681
+ export const amsLinkListLinkContrastColor = "#202020";
682
+ export const amsLinkListLinkContrastHoverColor = "#202020";
668
683
  export const amsLinkListLinkInverseColor = "#ffffff";
669
684
  export const amsLinkListLinkInverseHoverColor = "#ffffff";
670
685
  export const amsLinkColor = "#004699";
@@ -678,18 +693,18 @@ export const amsLinkTextUnderlineOffset = "0.15625rem";
678
693
  export const amsLinkHoverColor = "#003677";
679
694
  export const amsLinkHoverTextDecorationThickness = "0.1875rem";
680
695
  export const amsLinkHoverTextUnderlineOffset = "0.09375rem";
681
- export const amsLinkContrastColor = "#181818";
682
- export const amsLinkContrastHoverColor = "#181818";
696
+ export const amsLinkContrastColor = "#202020";
697
+ export const amsLinkContrastHoverColor = "#202020";
683
698
  export const amsLinkInverseColor = "#ffffff";
684
699
  export const amsLinkInverseHoverColor = "#ffffff";
685
700
  export const amsLogoBlockSize = "clamp(2.25rem, 1.8214rem + 2.1429vw, 3.75rem)";
686
701
  export const amsLogoMinBlockSize = "2.5rem";
687
702
  export const amsLogoEmblemColor = "#ec0000";
688
- export const amsLogoSubsiteColor = "#181818";
703
+ export const amsLogoSubsiteColor = "#202020";
689
704
  export const amsLogoTitleColor = "#ec0000";
690
705
  export const amsMarkBackgroundColor = "#ffe600";
691
- export const amsMenuLinkContrastColor = "#181818"; // The menu has a dark background now, so this is no longer needed.
692
- export const amsMenuLinkContrastHoverColor = "#181818"; // The menu has a dark background now, so this is no longer needed.
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.
693
708
  export const amsMenuLinkInverseColor = "#ffffff"; // The menu has a dark background now, so this is no longer needed.
694
709
  export const amsMenuLinkInverseHoverColor = "#ffffff"; // The menu has a dark background now, so this is no longer needed.
695
710
  export const amsMenuLinkColor = "#ffffff";
@@ -718,7 +733,7 @@ export const amsMenuWidePaddingBlock =
718
733
  export const amsMenuWidePaddingInline =
719
734
  "clamp(0.5rem, 0.4286rem + 0.3571vw, 0.75rem)";
720
735
  export const amsMenuListGap = "clamp(1rem, 0.8571rem + 0.7143vw, 1.5rem)";
721
- export const amsOrderedListColor = "#181818";
736
+ export const amsOrderedListColor = "#202020";
722
737
  export const amsOrderedListFontFamily = "'Amsterdam Sans', Arial, sans-serif";
723
738
  export const amsOrderedListFontSize =
724
739
  "clamp(1.125rem, 1.0893rem + 0.1786vw, 1.25rem)";
@@ -778,12 +793,14 @@ export const amsPageHeaderWidePaddingInline =
778
793
  export const amsPageHeaderLogoLinkColumnGap =
779
794
  "clamp(1rem, 0.8571rem + 0.7143vw, 1.5rem)";
780
795
  export const amsPageHeaderLogoLinkOutlineOffset = "0.25rem";
781
- export const amsPageHeaderBrandNameColor = "#181818";
796
+ export const amsPageHeaderBrandNameColor = "#202020";
782
797
  export const amsPageHeaderBrandNameFontSize =
783
798
  "clamp(1.3125rem, 1.2411rem + 0.3571vw, 1.5625rem)";
784
799
  export const amsPageHeaderBrandNameFontWeight = "800";
785
800
  export const amsPageHeaderBrandNameLineHeight = "1.3";
786
801
  export const amsPageHeaderBrandNameTextWrap = "balance";
802
+ export const amsPageHeaderMegaMenuPaddingBlock =
803
+ "clamp(1.5rem, 1.2857rem + 1.0714vw, 2.25rem)";
787
804
  export const amsPageHeaderMegaMenuButtonCursor = "pointer";
788
805
  export const amsPageHeaderMegaMenuButtonLabelOpenFontWeight = "800";
789
806
  export const amsPageHeaderMenuColumnGap =
@@ -803,6 +820,8 @@ export const amsPageHeaderMenuItemOutlineOffset = "0.25rem";
803
820
  export const amsPageHeaderMenuItemPaddingBlock =
804
821
  "clamp(0.25rem, 0.2143rem + 0.1786vw, 0.375rem)";
805
822
  export const amsPageHeaderMenuItemHoverColor = "#003677";
823
+ export const amsPageHeaderMenuLinkGap =
824
+ "clamp(0.25rem, 0.2143rem + 0.1786vw, 0.375rem)";
806
825
  export const amsPageHeaderMenuLinkTextDecorationLine = "none";
807
826
  export const amsPageHeaderMenuLinkTextDecorationThickness = "0.125rem";
808
827
  export const amsPageHeaderMenuLinkTextUnderlineOffset = "0.15625rem";
@@ -810,8 +829,8 @@ export const amsPageHeaderMenuLinkHoverTextDecorationLine = "underline";
810
829
  export const amsPageHeaderNavigationColumnGap =
811
830
  "clamp(1.5rem, 1.2857rem + 1.0714vw, 2.25rem)";
812
831
  export const amsPageHeaderNavigationRowGap =
813
- "clamp(0.5rem, 0.4286rem + 0.3571vw, 0.75rem)";
814
- export const amsPageHeadingColor = "#181818";
832
+ "clamp(1.5rem, 1.2857rem + 1.0714vw, 2.25rem)";
833
+ export const amsPageHeadingColor = "#202020";
815
834
  export const amsPageHeadingFontFamily = "'Amsterdam Sans', Arial, sans-serif";
816
835
  export const amsPageHeadingFontSize =
817
836
  "clamp(2.435rem, 2.0409rem + 1.9709vw, 3.8147rem)";
@@ -821,6 +840,9 @@ export const amsPageHeadingTextWrap = "balance";
821
840
  export const amsPageHeadingInverseColor = "#ffffff";
822
841
  export const amsPageBackgroundColor = "#ffffff";
823
842
  export const amsPageMaxInlineSize = "90rem";
843
+ export const amsPageWithMenuMaxInlineSize = "120rem";
844
+ export const amsPageWithMenuAreaSkipLinkMarginInlineEnd =
845
+ "clamp(1.5rem, 1.2857rem + 1.0714vw, 2.25rem)"; // Must be the Grid inline padding, to make sure Skip Link and Grid line up
824
846
  export const amsPaginationFontFamily = "'Amsterdam Sans', Arial, sans-serif";
825
847
  export const amsPaginationFontSize =
826
848
  "clamp(1.125rem, 1.0893rem + 0.1786vw, 1.25rem)";
@@ -838,7 +860,7 @@ export const amsPaginationLinkTextUnderlineOffset = "0.15625rem";
838
860
  export const amsPaginationLinkCurrentFontWeight = "800";
839
861
  export const amsPaginationLinkHoverColor = "#003677";
840
862
  export const amsPaginationLinkHoverTextDecorationLine = "underline";
841
- export const amsParagraphColor = "#181818";
863
+ export const amsParagraphColor = "#202020";
842
864
  export const amsParagraphFontFamily = "'Amsterdam Sans', Arial, sans-serif";
843
865
  export const amsParagraphFontSize =
844
866
  "clamp(1.125rem, 1.0893rem + 0.1786vw, 1.25rem)";
@@ -850,11 +872,12 @@ export const amsParagraphSmallLineHeight = "1.6";
850
872
  export const amsParagraphLargeFontSize =
851
873
  "clamp(1.3125rem, 1.2411rem + 0.3571vw, 1.5625rem)";
852
874
  export const amsParagraphLargeLineHeight = "1.6";
875
+ export const amsParagraphLargeTextWrap = "balance";
853
876
  export const amsPasswordInputBackgroundColor = "#ffffff";
854
877
  export const amsPasswordInputBorderColor = "currentColor";
855
878
  export const amsPasswordInputBorderStyle = "solid";
856
879
  export const amsPasswordInputBorderWidth = "0.125rem";
857
- export const amsPasswordInputColor = "#181818";
880
+ export const amsPasswordInputColor = "#202020";
858
881
  export const amsPasswordInputFontFamily = "'Amsterdam Sans', Arial, sans-serif";
859
882
  export const amsPasswordInputFontSize =
860
883
  "clamp(1.125rem, 1.0893rem + 0.1786vw, 1.25rem)";
@@ -873,7 +896,7 @@ export const amsPasswordInputInvalidHoverBorderColor = "#b70000";
873
896
  export const amsPasswordInputInvalidHoverBoxShadow =
874
897
  "inset 0 0 0 0.0625rem #b70000";
875
898
  export const amsPasswordInputPlaceholderColor = "#767676";
876
- export const amsRadioColor = "#181818";
899
+ export const amsRadioColor = "#202020";
877
900
  export const amsRadioCursor = "pointer";
878
901
  export const amsRadioFontFamily = "'Amsterdam Sans', Arial, sans-serif";
879
902
  export const amsRadioFontSize =
@@ -918,7 +941,7 @@ export const amsSearchFieldInputBackgroundColor = "#ffffff";
918
941
  export const amsSearchFieldInputBorderColor = "currentColor";
919
942
  export const amsSearchFieldInputBorderStyle = "solid";
920
943
  export const amsSearchFieldInputBorderWidth = "0.125rem";
921
- export const amsSearchFieldInputColor = "#181818";
944
+ export const amsSearchFieldInputColor = "#202020";
922
945
  export const amsSearchFieldInputFontFamily =
923
946
  "'Amsterdam Sans', Arial, sans-serif";
924
947
  export const amsSearchFieldInputFontSize =
@@ -952,7 +975,7 @@ export const amsSelectBackgroundPosition =
952
975
  export const amsSelectBorderColor = "currentColor";
953
976
  export const amsSelectBorderStyle = "solid";
954
977
  export const amsSelectBorderWidth = "0.125rem";
955
- export const amsSelectColor = "#181818";
978
+ export const amsSelectColor = "#202020";
956
979
  export const amsSelectFontFamily = "'Amsterdam Sans', Arial, sans-serif";
957
980
  export const amsSelectFontSize =
958
981
  "clamp(1.125rem, 1.0893rem + 0.1786vw, 1.25rem)";
@@ -989,7 +1012,7 @@ export const amsSkipLinkPaddingInline =
989
1012
  export const amsSkipLinkHoverBackgroundColor = "#003677";
990
1013
  export const amsSpotlightBackgroundColor = "#a00078";
991
1014
  export const amsSpotlightAzureBackgroundColor = "#009de6";
992
- export const amsSpotlightGreenBackgroundColor = "#00a03c";
1015
+ export const amsSpotlightGreenBackgroundColor = "#00893c";
993
1016
  export const amsSpotlightLimeBackgroundColor = "#bed200";
994
1017
  export const amsSpotlightMagentaBackgroundColor = "#e50082";
995
1018
  export const amsSpotlightOrangeBackgroundColor = "#ff9100";
@@ -1014,8 +1037,8 @@ export const amsStandaloneLinkOutlineOffset = "0.25rem";
1014
1037
  export const amsStandaloneLinkTextDecorationLine = "none";
1015
1038
  export const amsStandaloneLinkTextDecorationThickness = "0.125rem";
1016
1039
  export const amsStandaloneLinkTextUnderlineOffset = "0.15625rem";
1017
- export const amsStandaloneLinkContrastColor = "#181818";
1018
- export const amsStandaloneLinkContrastHoverColor = "#181818";
1040
+ export const amsStandaloneLinkContrastColor = "#202020";
1041
+ export const amsStandaloneLinkContrastHoverColor = "#202020";
1019
1042
  export const amsStandaloneLinkInverseColor = "#ffffff";
1020
1043
  export const amsStandaloneLinkInverseHoverColor = "#ffffff";
1021
1044
  export const amsSwitchBackgroundColor = "#767676";
@@ -1055,7 +1078,7 @@ export const amsTableOfContentsListListPaddingBlockStart =
1055
1078
  "clamp(0.5rem, 0.4286rem + 0.3571vw, 0.75rem)";
1056
1079
  export const amsTableOfContentsListListPaddingInlineStart =
1057
1080
  "clamp(1.5rem, 1.2857rem + 1.0714vw, 2.25rem)";
1058
- export const amsTableColor = "#181818";
1081
+ export const amsTableColor = "#202020";
1059
1082
  export const amsTableFontFamily = "'Amsterdam Sans', Arial, sans-serif";
1060
1083
  export const amsTableFontSize =
1061
1084
  "clamp(1.125rem, 1.0893rem + 0.1786vw, 1.25rem)";
@@ -1092,7 +1115,7 @@ export const amsTextAreaBackgroundColor = "#ffffff";
1092
1115
  export const amsTextAreaBorderColor = "currentColor";
1093
1116
  export const amsTextAreaBorderStyle = "solid";
1094
1117
  export const amsTextAreaBorderWidth = "0.125rem";
1095
- export const amsTextAreaColor = "#181818";
1118
+ export const amsTextAreaColor = "#202020";
1096
1119
  export const amsTextAreaFontFamily = "'Amsterdam Sans', Arial, sans-serif";
1097
1120
  export const amsTextAreaFontSize =
1098
1121
  "clamp(1.125rem, 1.0893rem + 0.1786vw, 1.25rem)";
@@ -1116,7 +1139,7 @@ export const amsTextInputBackgroundColor = "#ffffff";
1116
1139
  export const amsTextInputBorderColor = "currentColor";
1117
1140
  export const amsTextInputBorderStyle = "solid";
1118
1141
  export const amsTextInputBorderWidth = "0.125rem";
1119
- export const amsTextInputColor = "#181818";
1142
+ export const amsTextInputColor = "#202020";
1120
1143
  export const amsTextInputFontFamily = "'Amsterdam Sans', Arial, sans-serif";
1121
1144
  export const amsTextInputFontSize =
1122
1145
  "clamp(1.125rem, 1.0893rem + 0.1786vw, 1.25rem)";
@@ -1153,7 +1176,7 @@ export const amsTimeInputBackgroundColor = "#ffffff";
1153
1176
  export const amsTimeInputBorderColor = "currentColor";
1154
1177
  export const amsTimeInputBorderStyle = "solid";
1155
1178
  export const amsTimeInputBorderWidth = "0.125rem";
1156
- export const amsTimeInputColor = "#181818";
1179
+ export const amsTimeInputColor = "#202020";
1157
1180
  export const amsTimeInputFontFamily = "'Amsterdam Sans', Arial, sans-serif";
1158
1181
  export const amsTimeInputFontSize =
1159
1182
  "clamp(1.125rem, 1.0893rem + 0.1786vw, 1.25rem)";
@@ -1171,7 +1194,7 @@ export const amsTimeInputInvalidHoverBoxShadow =
1171
1194
  export const amsTimeInputCalendarPickerIndicatorBackgroundImage =
1172
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>\")";
1173
1196
  export const amsTimeInputCalendarPickerIndicatorCursor = "pointer";
1174
- export const amsUnorderedListColor = "#181818";
1197
+ export const amsUnorderedListColor = "#202020";
1175
1198
  export const amsUnorderedListFontFamily = "'Amsterdam Sans', Arial, sans-serif";
1176
1199
  export const amsUnorderedListFontSize =
1177
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: #181818; // Use `currentColor` instead
15
- $ams-color-interactive-contrast: #181818;
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: #00a03c;
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: #00a03c;
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: #181818;
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: #00a03c;
93
- $ams-call-to-action-link-hover-background-color: #007c2e;
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
@@ -130,6 +130,8 @@ $ams-ordered-list-ordered-list-item-margin-inline-start: 1.5rem; // Indent less
130
130
  $ams-ordered-list-ordered-list-item-padding-inline-start: 0.25rem; // The total level >=2 indentation for Amsterdam is 28 pixels, or 1.75rem.
131
131
  $ams-page-footer-spotlight-background-color: #004699;
132
132
  $ams-page-max-inline-size: 90rem;
133
+ $ams-page-with-menu-max-inline-size: 120rem;
134
+ $ams-paragraph-large-text-wrap: balance;
133
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>");
134
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>");
135
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>");
@@ -411,15 +413,22 @@ $ams-error-message-font-size: $ams-typography-body-text-font-size;
411
413
  $ams-error-message-font-weight: $ams-typography-body-text-font-weight;
412
414
  $ams-error-message-gap: $ams-space-xs;
413
415
  $ams-error-message-line-height: $ams-typography-body-text-line-height;
414
- $ams-field-set-invalid-border-inline-start: $ams-border-width-l solid $ams-color-feedback-error;
415
- $ams-field-set-invalid-padding-inline-start: $ams-space-m;
416
+ $ams-field-set-legend-margin-block-end: $ams-space-s;
416
417
  $ams-field-set-legend-color: $ams-color-text;
417
418
  $ams-field-set-legend-font-family: $ams-typography-font-family;
418
419
  $ams-field-set-legend-font-weight: $ams-typography-heading-font-weight;
419
420
  $ams-field-set-legend-line-height: $ams-typography-heading-3-line-height;
420
- $ams-field-set-legend-margin-block-end: $ams-space-s;
421
421
  $ams-field-set-legend-text-wrap: $ams-typography-heading-text-wrap;
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;
422
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;
423
432
  $ams-field-invalid-border-inline-start: $ams-border-width-l solid $ams-color-feedback-error;
424
433
  $ams-field-invalid-padding-inline-start: $ams-space-m;
425
434
  $ams-figure-gap: $ams-space-s;
@@ -469,6 +478,7 @@ $ams-heading-font-weight: $ams-typography-heading-font-weight;
469
478
  $ams-heading-text-wrap: $ams-typography-heading-text-wrap;
470
479
  $ams-heading-inverse-color: $ams-color-text-inverse;
471
480
  $ams-hint-font-weight: $ams-typography-body-text-font-weight;
481
+ $ams-hint-in-fieldset-color: $ams-color-text-secondary;
472
482
  $ams-icon-button-color: $ams-color-interactive;
473
483
  $ams-icon-button-cursor: $ams-cursor-interactive;
474
484
  $ams-icon-button-outline-offset: $ams-focus-outline-offset;
@@ -513,6 +523,7 @@ $ams-label-font-family: $ams-typography-font-family;
513
523
  $ams-label-font-weight: $ams-typography-heading-font-weight;
514
524
  $ams-label-line-height: $ams-typography-heading-3-line-height;
515
525
  $ams-label-text-wrap: $ams-typography-heading-text-wrap;
526
+ $ams-label-in-fieldset-font-weight: $ams-typography-body-text-font-weight;
516
527
  $ams-link-list-gap: $ams-space-s;
517
528
  $ams-link-list-link-font-family: $ams-typography-font-family;
518
529
  $ams-link-list-link-font-size: $ams-typography-body-text-font-size;
@@ -586,6 +597,7 @@ $ams-page-header-brand-name-color: $ams-color-text;
586
597
  $ams-page-header-brand-name-font-weight: $ams-typography-heading-font-weight;
587
598
  $ams-page-header-brand-name-line-height: $ams-typography-heading-3-line-height;
588
599
  $ams-page-header-brand-name-text-wrap: $ams-typography-heading-text-wrap;
600
+ $ams-page-header-mega-menu-padding-block: $ams-space-l;
589
601
  $ams-page-header-mega-menu-button-cursor: $ams-cursor-interactive;
590
602
  $ams-page-header-mega-menu-button-label-open-font-weight: $ams-typography-body-text-bold-font-weight;
591
603
  $ams-page-header-menu-column-gap: $ams-space-l;
@@ -597,12 +609,13 @@ $ams-page-header-menu-item-font-weight: $ams-typography-body-text-font-weight;
597
609
  $ams-page-header-menu-item-line-height: $ams-typography-body-text-line-height;
598
610
  $ams-page-header-menu-item-outline-offset: $ams-focus-outline-offset;
599
611
  $ams-page-header-menu-item-padding-block: $ams-space-xs;
612
+ $ams-page-header-menu-link-gap: $ams-space-xs;
600
613
  $ams-page-header-menu-link-text-decoration-line: $ams-links-subtle-text-decoration-line;
601
614
  $ams-page-header-menu-link-text-decoration-thickness: $ams-links-text-decoration-thickness;
602
615
  $ams-page-header-menu-link-text-underline-offset: $ams-links-text-underline-offset;
603
616
  $ams-page-header-menu-link-hover-text-decoration-line: $ams-links-subtle-hover-text-decoration-line;
604
617
  $ams-page-header-navigation-column-gap: $ams-space-l;
605
- $ams-page-header-navigation-row-gap: $ams-space-s;
618
+ $ams-page-header-navigation-row-gap: $ams-space-l;
606
619
  $ams-page-heading-color: $ams-color-text;
607
620
  $ams-page-heading-font-family: $ams-typography-font-family;
608
621
  $ams-page-heading-font-size: $ams-typography-heading-0-font-size;
@@ -878,6 +891,7 @@ $ams-page-header-wide-padding-inline: $ams-grid-wide-padding-inline;
878
891
  $ams-page-header-brand-name-font-size: $ams-typography-heading-3-font-size;
879
892
  $ams-page-header-menu-item-color: $ams-links-color;
880
893
  $ams-page-header-menu-item-hover-color: $ams-links-hover-color;
894
+ $ams-page-with-menu-area-skip-link-margin-inline-end: $ams-grid-padding-inline; // Must be the Grid inline padding, to make sure Skip Link and Grid line up
881
895
  $ams-pagination-link-color: $ams-links-color;
882
896
  $ams-pagination-link-hover-color: $ams-links-hover-color;
883
897
  $ams-password-input-background-color: $ams-inputs-background-color;