@amsterdam/design-system-tokens 2.1.0 → 2.2.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 +9 -0
- package/dist/index.css +6 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.json +20 -4
- package/dist/index.mjs +8 -0
- package/dist/index.scss +6 -0
- package/dist/index.theme.css +6 -0
- package/package.json +1 -1
- package/src/components/ams/field-set.tokens.json +4 -1
- package/src/components/ams/hint.tokens.json +4 -1
- package/src/components/ams/label.tokens.json +4 -1
- package/src/components/ams/page-header.tokens.json +1 -0
- package/src/components/ams/page.tokens.json +10 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,15 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [2.2.0](https://github.com/Amsterdam/design-system/compare/design-system-tokens-v2.1.0...design-system-tokens-v2.2.0) (2025-11-21)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **Label, Field Set:** Add a lighter variant to Label and Legend to clarify form hierarchy in nested Field Sets ([#2291](https://github.com/Amsterdam/design-system/issues/2291)) ([3bcc039](https://github.com/Amsterdam/design-system/commit/3bcc03901cbe1b37183d774b26367a914e3bda79))
|
|
12
|
+
* **Page Header:** Allow adding an icon to a menu item ([#2285](https://github.com/Amsterdam/design-system/issues/2285)) ([15a830b](https://github.com/Amsterdam/design-system/commit/15a830b6068bb98c405da0013e90ac6697b20f5b))
|
|
13
|
+
* **Page:** Add support for a layout with a Menu ([#2263](https://github.com/Amsterdam/design-system/issues/2263)) ([51a289f](https://github.com/Amsterdam/design-system/commit/51a289fe3012981fff1bfc223a0689b9be3760a7))
|
|
14
|
+
|
|
6
15
|
## [2.1.0](https://github.com/Amsterdam/design-system/compare/design-system-tokens-v2.0.0...design-system-tokens-v2.1.0) (2025-10-31)
|
|
7
16
|
|
|
8
17
|
|
package/dist/index.css
CHANGED
|
@@ -132,6 +132,7 @@
|
|
|
132
132
|
--ams-ordered-list-ordered-list-item-padding-inline-start: 0.25rem; /** The total level >=2 indentation for Amsterdam is 28 pixels, or 1.75rem. */
|
|
133
133
|
--ams-page-footer-spotlight-background-color: #004699;
|
|
134
134
|
--ams-page-max-inline-size: 90rem;
|
|
135
|
+
--ams-page-with-menu-max-inline-size: 120rem;
|
|
135
136
|
--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>");
|
|
136
137
|
--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>");
|
|
137
138
|
--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>");
|
|
@@ -421,6 +422,7 @@
|
|
|
421
422
|
--ams-field-set-legend-line-height: var(--ams-typography-heading-3-line-height);
|
|
422
423
|
--ams-field-set-legend-margin-block-end: var(--ams-space-s);
|
|
423
424
|
--ams-field-set-legend-text-wrap: var(--ams-typography-heading-text-wrap);
|
|
425
|
+
--ams-field-set-legend-in-fieldset-font-weight: var(--ams-typography-body-text-font-weight);
|
|
424
426
|
--ams-field-gap: var(--ams-space-s);
|
|
425
427
|
--ams-field-invalid-border-inline-start: var(--ams-border-width-l) solid var(--ams-color-feedback-error);
|
|
426
428
|
--ams-field-invalid-padding-inline-start: var(--ams-space-m);
|
|
@@ -471,6 +473,7 @@
|
|
|
471
473
|
--ams-heading-text-wrap: var(--ams-typography-heading-text-wrap);
|
|
472
474
|
--ams-heading-inverse-color: var(--ams-color-text-inverse);
|
|
473
475
|
--ams-hint-font-weight: var(--ams-typography-body-text-font-weight);
|
|
476
|
+
--ams-hint-in-fieldset-color: var(--ams-color-text-secondary);
|
|
474
477
|
--ams-icon-button-color: var(--ams-color-interactive);
|
|
475
478
|
--ams-icon-button-cursor: var(--ams-cursor-interactive);
|
|
476
479
|
--ams-icon-button-outline-offset: var(--ams-focus-outline-offset);
|
|
@@ -515,6 +518,7 @@
|
|
|
515
518
|
--ams-label-font-weight: var(--ams-typography-heading-font-weight);
|
|
516
519
|
--ams-label-line-height: var(--ams-typography-heading-3-line-height);
|
|
517
520
|
--ams-label-text-wrap: var(--ams-typography-heading-text-wrap);
|
|
521
|
+
--ams-label-in-fieldset-font-weight: var(--ams-typography-body-text-font-weight);
|
|
518
522
|
--ams-link-list-gap: var(--ams-space-s);
|
|
519
523
|
--ams-link-list-link-font-family: var(--ams-typography-font-family);
|
|
520
524
|
--ams-link-list-link-font-size: var(--ams-typography-body-text-font-size);
|
|
@@ -599,6 +603,7 @@
|
|
|
599
603
|
--ams-page-header-menu-item-line-height: var(--ams-typography-body-text-line-height);
|
|
600
604
|
--ams-page-header-menu-item-outline-offset: var(--ams-focus-outline-offset);
|
|
601
605
|
--ams-page-header-menu-item-padding-block: var(--ams-space-xs);
|
|
606
|
+
--ams-page-header-menu-link-gap: var(--ams-space-xs);
|
|
602
607
|
--ams-page-header-menu-link-text-decoration-line: var(--ams-links-subtle-text-decoration-line);
|
|
603
608
|
--ams-page-header-menu-link-text-decoration-thickness: var(--ams-links-text-decoration-thickness);
|
|
604
609
|
--ams-page-header-menu-link-text-underline-offset: var(--ams-links-text-underline-offset);
|
|
@@ -880,6 +885,7 @@
|
|
|
880
885
|
--ams-page-header-brand-name-font-size: var(--ams-typography-heading-3-font-size);
|
|
881
886
|
--ams-page-header-menu-item-color: var(--ams-links-color);
|
|
882
887
|
--ams-page-header-menu-item-hover-color: var(--ams-links-hover-color);
|
|
888
|
+
--ams-page-with-menu-area-skip-link-margin-inline-end: var(--ams-grid-padding-inline); /** Must be the Grid inline padding, to make sure Skip Link and Grid line up */
|
|
883
889
|
--ams-pagination-link-color: var(--ams-links-color);
|
|
884
890
|
--ams-pagination-link-hover-color: var(--ams-links-hover-color);
|
|
885
891
|
--ams-password-input-background-color: var(--ams-inputs-background-color);
|
package/dist/index.d.ts
CHANGED
|
@@ -731,6 +731,9 @@ declare const tokens: {
|
|
|
731
731
|
"line-height": DesignToken;
|
|
732
732
|
"margin-block-end": DesignToken;
|
|
733
733
|
"text-wrap": DesignToken;
|
|
734
|
+
"in-fieldset": {
|
|
735
|
+
"font-weight": DesignToken;
|
|
736
|
+
};
|
|
734
737
|
};
|
|
735
738
|
};
|
|
736
739
|
field: {
|
|
@@ -867,6 +870,9 @@ declare const tokens: {
|
|
|
867
870
|
};
|
|
868
871
|
hint: {
|
|
869
872
|
"font-weight": DesignToken;
|
|
873
|
+
"in-fieldset": {
|
|
874
|
+
color: DesignToken;
|
|
875
|
+
};
|
|
870
876
|
};
|
|
871
877
|
"icon-button": {
|
|
872
878
|
color: DesignToken;
|
|
@@ -981,6 +987,9 @@ declare const tokens: {
|
|
|
981
987
|
"font-weight": DesignToken;
|
|
982
988
|
"line-height": DesignToken;
|
|
983
989
|
"text-wrap": DesignToken;
|
|
990
|
+
"in-fieldset": {
|
|
991
|
+
"font-weight": DesignToken;
|
|
992
|
+
};
|
|
984
993
|
};
|
|
985
994
|
"link-list": {
|
|
986
995
|
gap: DesignToken;
|
|
@@ -1219,6 +1228,7 @@ declare const tokens: {
|
|
|
1219
1228
|
};
|
|
1220
1229
|
};
|
|
1221
1230
|
link: {
|
|
1231
|
+
gap: DesignToken;
|
|
1222
1232
|
"text-decoration-line": DesignToken;
|
|
1223
1233
|
"text-decoration-thickness": DesignToken;
|
|
1224
1234
|
"text-underline-offset": DesignToken;
|
|
@@ -1246,6 +1256,12 @@ declare const tokens: {
|
|
|
1246
1256
|
page: {
|
|
1247
1257
|
"background-color": DesignToken;
|
|
1248
1258
|
"max-inline-size": DesignToken;
|
|
1259
|
+
"with-menu": {
|
|
1260
|
+
"max-inline-size": DesignToken;
|
|
1261
|
+
"area-skip-link": {
|
|
1262
|
+
"margin-inline-end": DesignToken;
|
|
1263
|
+
};
|
|
1264
|
+
};
|
|
1249
1265
|
};
|
|
1250
1266
|
pagination: {
|
|
1251
1267
|
"font-family": DesignToken;
|
package/dist/index.json
CHANGED
|
@@ -714,7 +714,10 @@
|
|
|
714
714
|
"font-weight": "800",
|
|
715
715
|
"line-height": "1.3",
|
|
716
716
|
"margin-block-end": "clamp(0.5rem, 0.4286rem + 0.3571vw, 0.75rem)",
|
|
717
|
-
"text-wrap": "balance"
|
|
717
|
+
"text-wrap": "balance",
|
|
718
|
+
"in-fieldset": {
|
|
719
|
+
"font-weight": "400"
|
|
720
|
+
}
|
|
718
721
|
}
|
|
719
722
|
},
|
|
720
723
|
"field": {
|
|
@@ -850,7 +853,10 @@
|
|
|
850
853
|
}
|
|
851
854
|
},
|
|
852
855
|
"hint": {
|
|
853
|
-
"font-weight": "400"
|
|
856
|
+
"font-weight": "400",
|
|
857
|
+
"in-fieldset": {
|
|
858
|
+
"color": "#767676"
|
|
859
|
+
}
|
|
854
860
|
},
|
|
855
861
|
"icon-button": {
|
|
856
862
|
"color": "#004699",
|
|
@@ -964,7 +970,10 @@
|
|
|
964
970
|
"font-size": "clamp(1.3125rem, 1.2411rem + 0.3571vw, 1.5625rem)",
|
|
965
971
|
"font-weight": "800",
|
|
966
972
|
"line-height": "1.3",
|
|
967
|
-
"text-wrap": "balance"
|
|
973
|
+
"text-wrap": "balance",
|
|
974
|
+
"in-fieldset": {
|
|
975
|
+
"font-weight": "400"
|
|
976
|
+
}
|
|
968
977
|
},
|
|
969
978
|
"link-list": {
|
|
970
979
|
"gap": "clamp(0.5rem, 0.4286rem + 0.3571vw, 0.75rem)",
|
|
@@ -1203,6 +1212,7 @@
|
|
|
1203
1212
|
}
|
|
1204
1213
|
},
|
|
1205
1214
|
"link": {
|
|
1215
|
+
"gap": "clamp(0.25rem, 0.2143rem + 0.1786vw, 0.375rem)",
|
|
1206
1216
|
"text-decoration-line": "none",
|
|
1207
1217
|
"text-decoration-thickness": "0.125rem",
|
|
1208
1218
|
"text-underline-offset": "0.15625rem",
|
|
@@ -1229,7 +1239,13 @@
|
|
|
1229
1239
|
},
|
|
1230
1240
|
"page": {
|
|
1231
1241
|
"background-color": "#ffffff",
|
|
1232
|
-
"max-inline-size": "90rem"
|
|
1242
|
+
"max-inline-size": "90rem",
|
|
1243
|
+
"with-menu": {
|
|
1244
|
+
"max-inline-size": "120rem",
|
|
1245
|
+
"area-skip-link": {
|
|
1246
|
+
"margin-inline-end": "clamp(1.5rem, 1.2857rem + 1.0714vw, 2.25rem)"
|
|
1247
|
+
}
|
|
1248
|
+
}
|
|
1233
1249
|
},
|
|
1234
1250
|
"pagination": {
|
|
1235
1251
|
"font-family": "'Amsterdam Sans', Arial, sans-serif",
|
package/dist/index.mjs
CHANGED
|
@@ -480,6 +480,7 @@ export const amsFieldSetLegendLineHeight = "1.3";
|
|
|
480
480
|
export const amsFieldSetLegendMarginBlockEnd =
|
|
481
481
|
"clamp(0.5rem, 0.4286rem + 0.3571vw, 0.75rem)";
|
|
482
482
|
export const amsFieldSetLegendTextWrap = "balance";
|
|
483
|
+
export const amsFieldSetLegendInFieldsetFontWeight = "400";
|
|
483
484
|
export const amsFieldGap = "clamp(0.5rem, 0.4286rem + 0.3571vw, 0.75rem)";
|
|
484
485
|
export const amsFieldInvalidBorderInlineStart = "0.1875rem solid #ec0000";
|
|
485
486
|
export const amsFieldInvalidPaddingInlineStart =
|
|
@@ -577,6 +578,7 @@ export const amsHeadingFontWeight = "800";
|
|
|
577
578
|
export const amsHeadingTextWrap = "balance";
|
|
578
579
|
export const amsHeadingInverseColor = "#ffffff";
|
|
579
580
|
export const amsHintFontWeight = "400";
|
|
581
|
+
export const amsHintInFieldsetColor = "#767676";
|
|
580
582
|
export const amsIconButtonColor = "#004699";
|
|
581
583
|
export const amsIconButtonCursor = "pointer";
|
|
582
584
|
export const amsIconButtonOutlineOffset = "0.25rem";
|
|
@@ -643,6 +645,7 @@ export const amsLabelFontSize =
|
|
|
643
645
|
export const amsLabelFontWeight = "800";
|
|
644
646
|
export const amsLabelLineHeight = "1.3";
|
|
645
647
|
export const amsLabelTextWrap = "balance";
|
|
648
|
+
export const amsLabelInFieldsetFontWeight = "400";
|
|
646
649
|
export const amsLinkListGap = "clamp(0.5rem, 0.4286rem + 0.3571vw, 0.75rem)";
|
|
647
650
|
export const amsLinkListLinkColor = "#004699";
|
|
648
651
|
export const amsLinkListLinkFontFamily = "'Amsterdam Sans', Arial, sans-serif";
|
|
@@ -803,6 +806,8 @@ export const amsPageHeaderMenuItemOutlineOffset = "0.25rem";
|
|
|
803
806
|
export const amsPageHeaderMenuItemPaddingBlock =
|
|
804
807
|
"clamp(0.25rem, 0.2143rem + 0.1786vw, 0.375rem)";
|
|
805
808
|
export const amsPageHeaderMenuItemHoverColor = "#003677";
|
|
809
|
+
export const amsPageHeaderMenuLinkGap =
|
|
810
|
+
"clamp(0.25rem, 0.2143rem + 0.1786vw, 0.375rem)";
|
|
806
811
|
export const amsPageHeaderMenuLinkTextDecorationLine = "none";
|
|
807
812
|
export const amsPageHeaderMenuLinkTextDecorationThickness = "0.125rem";
|
|
808
813
|
export const amsPageHeaderMenuLinkTextUnderlineOffset = "0.15625rem";
|
|
@@ -821,6 +826,9 @@ export const amsPageHeadingTextWrap = "balance";
|
|
|
821
826
|
export const amsPageHeadingInverseColor = "#ffffff";
|
|
822
827
|
export const amsPageBackgroundColor = "#ffffff";
|
|
823
828
|
export const amsPageMaxInlineSize = "90rem";
|
|
829
|
+
export const amsPageWithMenuMaxInlineSize = "120rem";
|
|
830
|
+
export const amsPageWithMenuAreaSkipLinkMarginInlineEnd =
|
|
831
|
+
"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
832
|
export const amsPaginationFontFamily = "'Amsterdam Sans', Arial, sans-serif";
|
|
825
833
|
export const amsPaginationFontSize =
|
|
826
834
|
"clamp(1.125rem, 1.0893rem + 0.1786vw, 1.25rem)";
|
package/dist/index.scss
CHANGED
|
@@ -130,6 +130,7 @@ $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;
|
|
133
134
|
$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
135
|
$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
136
|
$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>");
|
|
@@ -419,6 +420,7 @@ $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
421
|
$ams-field-set-legend-margin-block-end: $ams-space-s;
|
|
421
422
|
$ams-field-set-legend-text-wrap: $ams-typography-heading-text-wrap;
|
|
423
|
+
$ams-field-set-legend-in-fieldset-font-weight: $ams-typography-body-text-font-weight;
|
|
422
424
|
$ams-field-gap: $ams-space-s;
|
|
423
425
|
$ams-field-invalid-border-inline-start: $ams-border-width-l solid $ams-color-feedback-error;
|
|
424
426
|
$ams-field-invalid-padding-inline-start: $ams-space-m;
|
|
@@ -469,6 +471,7 @@ $ams-heading-font-weight: $ams-typography-heading-font-weight;
|
|
|
469
471
|
$ams-heading-text-wrap: $ams-typography-heading-text-wrap;
|
|
470
472
|
$ams-heading-inverse-color: $ams-color-text-inverse;
|
|
471
473
|
$ams-hint-font-weight: $ams-typography-body-text-font-weight;
|
|
474
|
+
$ams-hint-in-fieldset-color: $ams-color-text-secondary;
|
|
472
475
|
$ams-icon-button-color: $ams-color-interactive;
|
|
473
476
|
$ams-icon-button-cursor: $ams-cursor-interactive;
|
|
474
477
|
$ams-icon-button-outline-offset: $ams-focus-outline-offset;
|
|
@@ -513,6 +516,7 @@ $ams-label-font-family: $ams-typography-font-family;
|
|
|
513
516
|
$ams-label-font-weight: $ams-typography-heading-font-weight;
|
|
514
517
|
$ams-label-line-height: $ams-typography-heading-3-line-height;
|
|
515
518
|
$ams-label-text-wrap: $ams-typography-heading-text-wrap;
|
|
519
|
+
$ams-label-in-fieldset-font-weight: $ams-typography-body-text-font-weight;
|
|
516
520
|
$ams-link-list-gap: $ams-space-s;
|
|
517
521
|
$ams-link-list-link-font-family: $ams-typography-font-family;
|
|
518
522
|
$ams-link-list-link-font-size: $ams-typography-body-text-font-size;
|
|
@@ -597,6 +601,7 @@ $ams-page-header-menu-item-font-weight: $ams-typography-body-text-font-weight;
|
|
|
597
601
|
$ams-page-header-menu-item-line-height: $ams-typography-body-text-line-height;
|
|
598
602
|
$ams-page-header-menu-item-outline-offset: $ams-focus-outline-offset;
|
|
599
603
|
$ams-page-header-menu-item-padding-block: $ams-space-xs;
|
|
604
|
+
$ams-page-header-menu-link-gap: $ams-space-xs;
|
|
600
605
|
$ams-page-header-menu-link-text-decoration-line: $ams-links-subtle-text-decoration-line;
|
|
601
606
|
$ams-page-header-menu-link-text-decoration-thickness: $ams-links-text-decoration-thickness;
|
|
602
607
|
$ams-page-header-menu-link-text-underline-offset: $ams-links-text-underline-offset;
|
|
@@ -878,6 +883,7 @@ $ams-page-header-wide-padding-inline: $ams-grid-wide-padding-inline;
|
|
|
878
883
|
$ams-page-header-brand-name-font-size: $ams-typography-heading-3-font-size;
|
|
879
884
|
$ams-page-header-menu-item-color: $ams-links-color;
|
|
880
885
|
$ams-page-header-menu-item-hover-color: $ams-links-hover-color;
|
|
886
|
+
$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
887
|
$ams-pagination-link-color: $ams-links-color;
|
|
882
888
|
$ams-pagination-link-hover-color: $ams-links-hover-color;
|
|
883
889
|
$ams-password-input-background-color: $ams-inputs-background-color;
|
package/dist/index.theme.css
CHANGED
|
@@ -132,6 +132,7 @@
|
|
|
132
132
|
--ams-ordered-list-ordered-list-item-padding-inline-start: 0.25rem; /** The total level >=2 indentation for Amsterdam is 28 pixels, or 1.75rem. */
|
|
133
133
|
--ams-page-footer-spotlight-background-color: #004699;
|
|
134
134
|
--ams-page-max-inline-size: 90rem;
|
|
135
|
+
--ams-page-with-menu-max-inline-size: 120rem;
|
|
135
136
|
--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>");
|
|
136
137
|
--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>");
|
|
137
138
|
--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>");
|
|
@@ -421,6 +422,7 @@
|
|
|
421
422
|
--ams-field-set-legend-line-height: var(--ams-typography-heading-3-line-height);
|
|
422
423
|
--ams-field-set-legend-margin-block-end: var(--ams-space-s);
|
|
423
424
|
--ams-field-set-legend-text-wrap: var(--ams-typography-heading-text-wrap);
|
|
425
|
+
--ams-field-set-legend-in-fieldset-font-weight: var(--ams-typography-body-text-font-weight);
|
|
424
426
|
--ams-field-gap: var(--ams-space-s);
|
|
425
427
|
--ams-field-invalid-border-inline-start: var(--ams-border-width-l) solid var(--ams-color-feedback-error);
|
|
426
428
|
--ams-field-invalid-padding-inline-start: var(--ams-space-m);
|
|
@@ -471,6 +473,7 @@
|
|
|
471
473
|
--ams-heading-text-wrap: var(--ams-typography-heading-text-wrap);
|
|
472
474
|
--ams-heading-inverse-color: var(--ams-color-text-inverse);
|
|
473
475
|
--ams-hint-font-weight: var(--ams-typography-body-text-font-weight);
|
|
476
|
+
--ams-hint-in-fieldset-color: var(--ams-color-text-secondary);
|
|
474
477
|
--ams-icon-button-color: var(--ams-color-interactive);
|
|
475
478
|
--ams-icon-button-cursor: var(--ams-cursor-interactive);
|
|
476
479
|
--ams-icon-button-outline-offset: var(--ams-focus-outline-offset);
|
|
@@ -515,6 +518,7 @@
|
|
|
515
518
|
--ams-label-font-weight: var(--ams-typography-heading-font-weight);
|
|
516
519
|
--ams-label-line-height: var(--ams-typography-heading-3-line-height);
|
|
517
520
|
--ams-label-text-wrap: var(--ams-typography-heading-text-wrap);
|
|
521
|
+
--ams-label-in-fieldset-font-weight: var(--ams-typography-body-text-font-weight);
|
|
518
522
|
--ams-link-list-gap: var(--ams-space-s);
|
|
519
523
|
--ams-link-list-link-font-family: var(--ams-typography-font-family);
|
|
520
524
|
--ams-link-list-link-font-size: var(--ams-typography-body-text-font-size);
|
|
@@ -599,6 +603,7 @@
|
|
|
599
603
|
--ams-page-header-menu-item-line-height: var(--ams-typography-body-text-line-height);
|
|
600
604
|
--ams-page-header-menu-item-outline-offset: var(--ams-focus-outline-offset);
|
|
601
605
|
--ams-page-header-menu-item-padding-block: var(--ams-space-xs);
|
|
606
|
+
--ams-page-header-menu-link-gap: var(--ams-space-xs);
|
|
602
607
|
--ams-page-header-menu-link-text-decoration-line: var(--ams-links-subtle-text-decoration-line);
|
|
603
608
|
--ams-page-header-menu-link-text-decoration-thickness: var(--ams-links-text-decoration-thickness);
|
|
604
609
|
--ams-page-header-menu-link-text-underline-offset: var(--ams-links-text-underline-offset);
|
|
@@ -880,6 +885,7 @@
|
|
|
880
885
|
--ams-page-header-brand-name-font-size: var(--ams-typography-heading-3-font-size);
|
|
881
886
|
--ams-page-header-menu-item-color: var(--ams-links-color);
|
|
882
887
|
--ams-page-header-menu-item-hover-color: var(--ams-links-hover-color);
|
|
888
|
+
--ams-page-with-menu-area-skip-link-margin-inline-end: var(--ams-grid-padding-inline); /** Must be the Grid inline padding, to make sure Skip Link and Grid line up */
|
|
883
889
|
--ams-pagination-link-color: var(--ams-links-color);
|
|
884
890
|
--ams-pagination-link-hover-color: var(--ams-links-hover-color);
|
|
885
891
|
--ams-password-input-background-color: var(--ams-inputs-background-color);
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.
|
|
2
|
+
"version": "2.2.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",
|
|
@@ -12,7 +12,10 @@
|
|
|
12
12
|
"font-weight": { "value": "{ams.typography.heading.font-weight}" },
|
|
13
13
|
"line-height": { "value": "{ams.typography.heading.3.line-height}" },
|
|
14
14
|
"margin-block-end": { "value": "{ams.space.s}" },
|
|
15
|
-
"text-wrap": { "value": "{ams.typography.heading.text-wrap}" }
|
|
15
|
+
"text-wrap": { "value": "{ams.typography.heading.text-wrap}" },
|
|
16
|
+
"in-fieldset": {
|
|
17
|
+
"font-weight": { "value": "{ams.typography.body-text.font-weight}" }
|
|
18
|
+
}
|
|
16
19
|
}
|
|
17
20
|
}
|
|
18
21
|
}
|
|
@@ -6,7 +6,10 @@
|
|
|
6
6
|
"font-size": { "value": "{ams.typography.heading.3.font-size}" },
|
|
7
7
|
"font-weight": { "value": "{ams.typography.heading.font-weight}" },
|
|
8
8
|
"line-height": { "value": "{ams.typography.heading.3.line-height}" },
|
|
9
|
-
"text-wrap": { "value": "{ams.typography.heading.text-wrap}" }
|
|
9
|
+
"text-wrap": { "value": "{ams.typography.heading.text-wrap}" },
|
|
10
|
+
"in-fieldset": {
|
|
11
|
+
"font-weight": { "value": "{ams.typography.body-text.font-weight}" }
|
|
12
|
+
}
|
|
10
13
|
}
|
|
11
14
|
}
|
|
12
15
|
}
|
|
@@ -51,6 +51,7 @@
|
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
53
|
"link": {
|
|
54
|
+
"gap": { "value": "{ams.space.xs}" },
|
|
54
55
|
"text-decoration-line": { "value": "{ams.links.subtle.text-decoration-line}" },
|
|
55
56
|
"text-decoration-thickness": { "value": "{ams.links.text-decoration-thickness}" },
|
|
56
57
|
"text-underline-offset": { "value": "{ams.links.text-underline-offset}" },
|
|
@@ -2,7 +2,16 @@
|
|
|
2
2
|
"ams": {
|
|
3
3
|
"page": {
|
|
4
4
|
"background-color": { "value": "{ams.color.background}" },
|
|
5
|
-
"max-inline-size": { "value": "90rem" }
|
|
5
|
+
"max-inline-size": { "value": "90rem" },
|
|
6
|
+
"with-menu": {
|
|
7
|
+
"max-inline-size": { "value": "120rem" },
|
|
8
|
+
"area-skip-link": {
|
|
9
|
+
"margin-inline-end": {
|
|
10
|
+
"value": "{ams.grid.padding-inline}",
|
|
11
|
+
"comment": "Must be the Grid inline padding, to make sure Skip Link and Grid line up"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
6
15
|
}
|
|
7
16
|
}
|
|
8
17
|
}
|