@amsterdam/design-system-tokens 2.2.0 → 3.1.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 +32 -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 +81 -14
- package/dist/index.d.ts +178 -11
- package/dist/index.json +239 -72
- package/dist/index.mjs +165 -67
- package/dist/index.scss +81 -14
- package/dist/index.theme.css +81 -14
- package/package.json +3 -4
- package/src/brand/ams/color.deprecated.tokens.json +1 -1
- package/src/brand/ams/color.tokens.json +9 -4
- package/src/brand/ams/typography.tokens.json +1 -1
- package/src/components/ams/badge.tokens.json +1 -0
- package/src/components/ams/call-to-action-link.tokens.json +2 -2
- package/src/components/ams/date-input.deprecated.tokens.json +6 -0
- package/src/components/ams/date-input.tokens.json +1 -6
- 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/src/components/ams/progress-list.tokens.json +255 -0
- package/src/components/ams/time-input.deprecated.tokens.json +6 -0
- package/src/components/ams/time-input.tokens.json +1 -6
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,20 @@ $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
|
+
$ams-color-progress-current: #00893c;
|
|
35
|
+
$ams-color-progress-completed: #00893c;
|
|
36
|
+
$ams-color-progress-upcoming: #767676;
|
|
34
37
|
$ams-color-separator: #d1d1d1;
|
|
35
|
-
$ams-color-text: #
|
|
38
|
+
$ams-color-text: #202020;
|
|
36
39
|
$ams-color-text-inverse: #ffffff;
|
|
37
40
|
$ams-color-text-secondary: #767676;
|
|
38
41
|
$ams-cursor-disabled: not-allowed;
|
|
@@ -56,7 +59,7 @@ $ams-typography-heading-6-line-height: 1.4; // Use Heading size 5 instead.
|
|
|
56
59
|
$ams-typography-heading-font-weight: 800;
|
|
57
60
|
$ams-typography-heading-text-wrap: balance;
|
|
58
61
|
$ams-typography-font-family: 'Amsterdam Sans', Arial, sans-serif;
|
|
59
|
-
$ams-typography-hyphenate-limit-chars:
|
|
62
|
+
$ams-typography-hyphenate-limit-chars: auto;
|
|
60
63
|
$ams-typography-body-text-font-size: clamp(1.125rem, 1.0893rem + 0.1786vw, 1.25rem);
|
|
61
64
|
$ams-typography-body-text-font-weight: 400;
|
|
62
65
|
$ams-typography-body-text-line-height: 1.8;
|
|
@@ -89,10 +92,10 @@ $ams-button-secondary-border-color: currentColor;
|
|
|
89
92
|
$ams-button-tertiary-background-color: transparent;
|
|
90
93
|
$ams-button-tertiary-border-color: transparent;
|
|
91
94
|
$ams-button-tertiary-hover-border-color: currentColor;
|
|
92
|
-
$ams-call-to-action-link-background-color: #
|
|
93
|
-
$ams-call-to-action-link-hover-background-color: #
|
|
95
|
+
$ams-call-to-action-link-background-color: #00893c;
|
|
96
|
+
$ams-call-to-action-link-hover-background-color: #10552b;
|
|
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>"); // This token will be removed in release 6.0.0
|
|
94
98
|
$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
|
-
$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
99
|
$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
|
|
97
100
|
$ams-date-input-hover-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='%23003677'><path d='M28 6V2h-4v4H12V2H8v4H2v28h32V6zm2 24H6V14h24z'/><path d='M10 17h4v4h-4zm6 0h4v4h-4zm6 0h4v4h-4zm-12 6h4v4h-4zm6 0h4v4h-4z'/></svg>");
|
|
98
101
|
$ams-date-input-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='%23004699'><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 +134,19 @@ $ams-ordered-list-ordered-list-item-padding-inline-start: 0.25rem; // The total
|
|
|
131
134
|
$ams-page-footer-spotlight-background-color: #004699;
|
|
132
135
|
$ams-page-max-inline-size: 90rem;
|
|
133
136
|
$ams-page-with-menu-max-inline-size: 120rem;
|
|
137
|
+
$ams-paragraph-large-text-wrap: balance;
|
|
138
|
+
$ams-progress-list-step-marker-shape-block-size: 1.5rem;
|
|
139
|
+
$ams-progress-list-step-marker-shape-border-style: solid;
|
|
140
|
+
$ams-progress-list-step-marker-shape-outline-style: solid;
|
|
141
|
+
$ams-progress-list-step-connector-border-inline-style: dashed;
|
|
142
|
+
$ams-progress-list-step-connector-border-inline-width: 1px;
|
|
143
|
+
$ams-progress-list-step-completed-connector-border-inline-style: solid;
|
|
144
|
+
$ams-progress-list-substeps-step-marker-shape-block-size: 0.75rem;
|
|
145
|
+
$ams-progress-list-substeps-step-marker-shape-border-style: solid;
|
|
146
|
+
$ams-progress-list-substeps-step-marker-shape-outline-style: solid;
|
|
147
|
+
$ams-progress-list-substeps-step-connector-border-inline-style: dashed;
|
|
148
|
+
$ams-progress-list-substeps-step-connector-border-inline-width: 1px;
|
|
149
|
+
$ams-progress-list-substeps-step-completed-connector-border-inline-style: solid;
|
|
134
150
|
$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
151
|
$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
152
|
$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>");
|
|
@@ -139,8 +155,8 @@ $ams-switch-background-color: #767676;
|
|
|
139
155
|
$ams-switch-inline-size: 3.5rem;
|
|
140
156
|
$ams-switch-thumb-block-size: 1.75rem;
|
|
141
157
|
$ams-switch-thumb-inline-size: 1.75rem;
|
|
142
|
-
$ams-time-input-disabled-calender-picker-indicator-background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='%23767676'><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>"); // Use the token with ‘calendar’ spelled correctly instead
|
|
143
158
|
$ams-time-input-disabled-calendar-picker-indicator-background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='%23767676'><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>");
|
|
159
|
+
$ams-time-input-disabled-calender-picker-indicator-background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='%23767676'><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>"); // Use the token with ‘calendar’ spelled correctly instead
|
|
144
160
|
$ams-time-input-hover-calender-picker-indicator-background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='%23003677'><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>"); // Use the token with ‘calendar’ spelled correctly instead
|
|
145
161
|
$ams-time-input-hover-calendar-picker-indicator-background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='%23003677'><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>");
|
|
146
162
|
$ams-time-input-calender-picker-indicator-background-image: 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>"); // Use the token with ‘calendar’ spelled correctly instead
|
|
@@ -239,6 +255,7 @@ $ams-badge-color: $ams-color-text-inverse;
|
|
|
239
255
|
$ams-badge-font-family: $ams-typography-font-family;
|
|
240
256
|
$ams-badge-font-size: $ams-typography-body-text-font-size;
|
|
241
257
|
$ams-badge-font-weight: $ams-typography-body-text-bold-font-weight;
|
|
258
|
+
$ams-badge-gap: $ams-space-xs;
|
|
242
259
|
$ams-badge-line-height: $ams-typography-body-text-line-height;
|
|
243
260
|
$ams-badge-padding-inline: $ams-space-xs;
|
|
244
261
|
$ams-badge-azure-background-color: $ams-color-feedback-info;
|
|
@@ -412,16 +429,22 @@ $ams-error-message-font-size: $ams-typography-body-text-font-size;
|
|
|
412
429
|
$ams-error-message-font-weight: $ams-typography-body-text-font-weight;
|
|
413
430
|
$ams-error-message-gap: $ams-space-xs;
|
|
414
431
|
$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;
|
|
432
|
+
$ams-field-set-legend-margin-block-end: $ams-space-s;
|
|
417
433
|
$ams-field-set-legend-color: $ams-color-text;
|
|
418
434
|
$ams-field-set-legend-font-family: $ams-typography-font-family;
|
|
419
435
|
$ams-field-set-legend-font-weight: $ams-typography-heading-font-weight;
|
|
420
436
|
$ams-field-set-legend-line-height: $ams-typography-heading-3-line-height;
|
|
421
|
-
$ams-field-set-legend-margin-block-end: $ams-space-s;
|
|
422
437
|
$ams-field-set-legend-text-wrap: $ams-typography-heading-text-wrap;
|
|
423
438
|
$ams-field-set-legend-in-fieldset-font-weight: $ams-typography-body-text-font-weight;
|
|
439
|
+
$ams-field-set-child-margin-block-end: $ams-space-xs;
|
|
440
|
+
$ams-field-set-child-before-error-message-margin-block-end: $ams-space-s;
|
|
441
|
+
$ams-field-set-child-before-field-or-field-set-margin-block-end: $ams-space-m;
|
|
442
|
+
$ams-field-set-child-between-fields-and-field-sets-margin-block-end: $ams-space-l;
|
|
443
|
+
$ams-field-set-invalid-border-inline-start: $ams-border-width-l solid $ams-color-feedback-error;
|
|
444
|
+
$ams-field-set-invalid-padding-inline-start: $ams-space-m;
|
|
424
445
|
$ams-field-gap: $ams-space-s;
|
|
446
|
+
$ams-field-child-margin-block-end: $ams-space-xs;
|
|
447
|
+
$ams-field-child-before-error-message-margin-block-end: $ams-space-s;
|
|
425
448
|
$ams-field-invalid-border-inline-start: $ams-border-width-l solid $ams-color-feedback-error;
|
|
426
449
|
$ams-field-invalid-padding-inline-start: $ams-space-m;
|
|
427
450
|
$ams-figure-gap: $ams-space-s;
|
|
@@ -590,6 +613,7 @@ $ams-page-header-brand-name-color: $ams-color-text;
|
|
|
590
613
|
$ams-page-header-brand-name-font-weight: $ams-typography-heading-font-weight;
|
|
591
614
|
$ams-page-header-brand-name-line-height: $ams-typography-heading-3-line-height;
|
|
592
615
|
$ams-page-header-brand-name-text-wrap: $ams-typography-heading-text-wrap;
|
|
616
|
+
$ams-page-header-mega-menu-padding-block: $ams-space-l;
|
|
593
617
|
$ams-page-header-mega-menu-button-cursor: $ams-cursor-interactive;
|
|
594
618
|
$ams-page-header-mega-menu-button-label-open-font-weight: $ams-typography-body-text-bold-font-weight;
|
|
595
619
|
$ams-page-header-menu-column-gap: $ams-space-l;
|
|
@@ -607,7 +631,7 @@ $ams-page-header-menu-link-text-decoration-thickness: $ams-links-text-decoration
|
|
|
607
631
|
$ams-page-header-menu-link-text-underline-offset: $ams-links-text-underline-offset;
|
|
608
632
|
$ams-page-header-menu-link-hover-text-decoration-line: $ams-links-subtle-hover-text-decoration-line;
|
|
609
633
|
$ams-page-header-navigation-column-gap: $ams-space-l;
|
|
610
|
-
$ams-page-header-navigation-row-gap: $ams-space-
|
|
634
|
+
$ams-page-header-navigation-row-gap: $ams-space-l;
|
|
611
635
|
$ams-page-heading-color: $ams-color-text;
|
|
612
636
|
$ams-page-heading-font-family: $ams-typography-font-family;
|
|
613
637
|
$ams-page-heading-font-size: $ams-typography-heading-0-font-size;
|
|
@@ -642,6 +666,46 @@ $ams-password-input-border-color: $ams-inputs-border-color;
|
|
|
642
666
|
$ams-password-input-border-style: $ams-inputs-border-style;
|
|
643
667
|
$ams-password-input-line-height: $ams-inputs-line-height;
|
|
644
668
|
$ams-password-input-disabled-cursor: $ams-cursor-disabled;
|
|
669
|
+
$ams-progress-list-heading-2-step-marker-margin-block-start: calc(($ams-typography-heading-2-line-height * $ams-typography-heading-2-font-size) / 2);
|
|
670
|
+
$ams-progress-list-heading-3-step-marker-margin-block-start: calc(($ams-typography-heading-3-line-height * $ams-typography-heading-3-font-size) / 2);
|
|
671
|
+
$ams-progress-list-heading-4-step-marker-margin-block-start: calc(($ams-typography-heading-4-line-height * $ams-typography-heading-4-font-size) / 2);
|
|
672
|
+
$ams-progress-list-step-gap: $ams-space-m;
|
|
673
|
+
$ams-progress-list-step-medium-gap: $ams-space-l;
|
|
674
|
+
$ams-progress-list-step-marker-shape-background-color: $ams-color-background;
|
|
675
|
+
$ams-progress-list-step-marker-shape-border-color: $ams-color-progress-upcoming;
|
|
676
|
+
$ams-progress-list-step-marker-shape-border-width: $ams-border-width-m;
|
|
677
|
+
$ams-progress-list-step-marker-shape-outline-color: $ams-color-background;
|
|
678
|
+
$ams-progress-list-step-marker-shape-outline-width: $ams-border-width-m;
|
|
679
|
+
$ams-progress-list-step-connector-border-inline-color: $ams-color-progress-upcoming;
|
|
680
|
+
$ams-progress-list-step-heading-margin-block-end: $ams-space-s;
|
|
681
|
+
$ams-progress-list-step-content-margin-block-end: $ams-space-l;
|
|
682
|
+
$ams-progress-list-step-completed-marker-shape-background-color: $ams-color-progress-completed;
|
|
683
|
+
$ams-progress-list-step-completed-marker-shape-border-color: $ams-color-progress-completed;
|
|
684
|
+
$ams-progress-list-step-completed-connector-border-inline-color: $ams-color-progress-completed;
|
|
685
|
+
$ams-progress-list-step-current-marker-shape-background-color: $ams-color-progress-current;
|
|
686
|
+
$ams-progress-list-step-current-marker-shape-border-color: $ams-color-progress-current;
|
|
687
|
+
$ams-progress-list-step-current-connector-border-inline-color: $ams-color-progress-current;
|
|
688
|
+
$ams-progress-list-substeps-padding-block-start: $ams-space-m;
|
|
689
|
+
$ams-progress-list-substeps-step-indicator-margin-inline-end: $ams-space-m;
|
|
690
|
+
$ams-progress-list-substeps-step-indicator-medium-margin-inline-end: $ams-space-l;
|
|
691
|
+
$ams-progress-list-substeps-step-marker-block-size: calc($ams-typography-body-text-font-size * $ams-typography-body-text-line-height);
|
|
692
|
+
$ams-progress-list-substeps-step-marker-inline-size: $ams-progress-list-step-marker-shape-block-size;
|
|
693
|
+
$ams-progress-list-substeps-step-marker-shape-background-color: $ams-color-background;
|
|
694
|
+
$ams-progress-list-substeps-step-marker-shape-border-color: $ams-color-progress-upcoming;
|
|
695
|
+
$ams-progress-list-substeps-step-marker-shape-border-width: $ams-border-width-m;
|
|
696
|
+
$ams-progress-list-substeps-step-marker-shape-outline-color: $ams-color-background;
|
|
697
|
+
$ams-progress-list-substeps-step-marker-shape-outline-width: $ams-border-width-m;
|
|
698
|
+
$ams-progress-list-substeps-step-connector-background-color: $ams-color-background;
|
|
699
|
+
$ams-progress-list-substeps-step-connector-border-inline-color: $ams-color-progress-upcoming;
|
|
700
|
+
$ams-progress-list-substeps-step-connector-margin-block-start: calc($ams-typography-body-text-font-size * $ams-typography-body-text-line-height / 2);
|
|
701
|
+
$ams-progress-list-substeps-step-connector-last-child-border-inline-color: $ams-color-background;
|
|
702
|
+
$ams-progress-list-substeps-step-content-margin-block-end: $ams-space-m;
|
|
703
|
+
$ams-progress-list-substeps-step-completed-marker-shape-background-color: $ams-color-progress-completed;
|
|
704
|
+
$ams-progress-list-substeps-step-completed-marker-shape-border-color: $ams-color-progress-completed;
|
|
705
|
+
$ams-progress-list-substeps-step-completed-connector-border-inline-color: $ams-color-progress-completed;
|
|
706
|
+
$ams-progress-list-substeps-step-current-marker-shape-background-color: $ams-color-progress-current;
|
|
707
|
+
$ams-progress-list-substeps-step-current-marker-shape-border-color: $ams-color-progress-current;
|
|
708
|
+
$ams-progress-list-substeps-last-child-content-margin-block-end: $ams-space-l;
|
|
645
709
|
$ams-radio-color: $ams-color-text;
|
|
646
710
|
$ams-radio-cursor: $ams-cursor-interactive;
|
|
647
711
|
$ams-radio-font-family: $ams-typography-font-family;
|
|
@@ -901,6 +965,9 @@ $ams-password-input-invalid-border-color: $ams-inputs-invalid-border-color;
|
|
|
901
965
|
$ams-password-input-invalid-hover-border-color: $ams-inputs-invalid-hover-border-color;
|
|
902
966
|
$ams-password-input-invalid-hover-box-shadow: $ams-inputs-invalid-hover-box-shadow;
|
|
903
967
|
$ams-password-input-placeholder-color: $ams-inputs-placeholder-color;
|
|
968
|
+
$ams-progress-list-heading-2-step-marker-block-size: calc($ams-typography-heading-2-font-size * $ams-typography-heading-2-line-height);
|
|
969
|
+
$ams-progress-list-heading-3-step-marker-block-size: calc($ams-typography-heading-3-font-size * $ams-typography-heading-3-line-height);
|
|
970
|
+
$ams-progress-list-heading-4-step-marker-block-size: calc($ams-typography-heading-4-font-size * $ams-typography-heading-4-line-height);
|
|
904
971
|
$ams-radio-icon-container-block-size: calc($ams-radio-font-size * $ams-radio-line-height);
|
|
905
972
|
$ams-radio-icon-container-inline-size: $ams-radio-font-size;
|
|
906
973
|
$ams-search-field-input-background-color: $ams-inputs-background-color;
|
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,20 @@
|
|
|
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
|
+
--ams-color-progress-current: #00893c;
|
|
37
|
+
--ams-color-progress-completed: #00893c;
|
|
38
|
+
--ams-color-progress-upcoming: #767676;
|
|
36
39
|
--ams-color-separator: #d1d1d1;
|
|
37
|
-
--ams-color-text: #
|
|
40
|
+
--ams-color-text: #202020;
|
|
38
41
|
--ams-color-text-inverse: #ffffff;
|
|
39
42
|
--ams-color-text-secondary: #767676;
|
|
40
43
|
--ams-cursor-disabled: not-allowed;
|
|
@@ -58,7 +61,7 @@
|
|
|
58
61
|
--ams-typography-heading-font-weight: 800;
|
|
59
62
|
--ams-typography-heading-text-wrap: balance;
|
|
60
63
|
--ams-typography-font-family: 'Amsterdam Sans', Arial, sans-serif;
|
|
61
|
-
--ams-typography-hyphenate-limit-chars:
|
|
64
|
+
--ams-typography-hyphenate-limit-chars: auto;
|
|
62
65
|
--ams-typography-body-text-font-size: clamp(1.125rem, 1.0893rem + 0.1786vw, 1.25rem);
|
|
63
66
|
--ams-typography-body-text-font-weight: 400;
|
|
64
67
|
--ams-typography-body-text-line-height: 1.8;
|
|
@@ -91,10 +94,10 @@
|
|
|
91
94
|
--ams-button-tertiary-background-color: transparent;
|
|
92
95
|
--ams-button-tertiary-border-color: transparent;
|
|
93
96
|
--ams-button-tertiary-hover-border-color: currentColor;
|
|
94
|
-
--ams-call-to-action-link-background-color: #
|
|
95
|
-
--ams-call-to-action-link-hover-background-color: #
|
|
97
|
+
--ams-call-to-action-link-background-color: #00893c;
|
|
98
|
+
--ams-call-to-action-link-hover-background-color: #10552b;
|
|
99
|
+
--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>"); /** This token will be removed in release 6.0.0 */
|
|
96
100
|
--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
|
-
--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
101
|
--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 */
|
|
99
102
|
--ams-date-input-hover-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='%23003677'><path d='M28 6V2h-4v4H12V2H8v4H2v28h32V6zm2 24H6V14h24z'/><path d='M10 17h4v4h-4zm6 0h4v4h-4zm6 0h4v4h-4zm-12 6h4v4h-4zm6 0h4v4h-4z'/></svg>");
|
|
100
103
|
--ams-date-input-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='%23004699'><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 +136,19 @@
|
|
|
133
136
|
--ams-page-footer-spotlight-background-color: #004699;
|
|
134
137
|
--ams-page-max-inline-size: 90rem;
|
|
135
138
|
--ams-page-with-menu-max-inline-size: 120rem;
|
|
139
|
+
--ams-paragraph-large-text-wrap: balance;
|
|
140
|
+
--ams-progress-list-step-marker-shape-block-size: 1.5rem;
|
|
141
|
+
--ams-progress-list-step-marker-shape-border-style: solid;
|
|
142
|
+
--ams-progress-list-step-marker-shape-outline-style: solid;
|
|
143
|
+
--ams-progress-list-step-connector-border-inline-style: dashed;
|
|
144
|
+
--ams-progress-list-step-connector-border-inline-width: 1px;
|
|
145
|
+
--ams-progress-list-step-completed-connector-border-inline-style: solid;
|
|
146
|
+
--ams-progress-list-substeps-step-marker-shape-block-size: 0.75rem;
|
|
147
|
+
--ams-progress-list-substeps-step-marker-shape-border-style: solid;
|
|
148
|
+
--ams-progress-list-substeps-step-marker-shape-outline-style: solid;
|
|
149
|
+
--ams-progress-list-substeps-step-connector-border-inline-style: dashed;
|
|
150
|
+
--ams-progress-list-substeps-step-connector-border-inline-width: 1px;
|
|
151
|
+
--ams-progress-list-substeps-step-completed-connector-border-inline-style: solid;
|
|
136
152
|
--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
153
|
--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
154
|
--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>");
|
|
@@ -141,8 +157,8 @@
|
|
|
141
157
|
--ams-switch-inline-size: 3.5rem;
|
|
142
158
|
--ams-switch-thumb-block-size: 1.75rem;
|
|
143
159
|
--ams-switch-thumb-inline-size: 1.75rem;
|
|
144
|
-
--ams-time-input-disabled-calender-picker-indicator-background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='%23767676'><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>"); /** Use the token with ‘calendar’ spelled correctly instead */
|
|
145
160
|
--ams-time-input-disabled-calendar-picker-indicator-background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='%23767676'><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>");
|
|
161
|
+
--ams-time-input-disabled-calender-picker-indicator-background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='%23767676'><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>"); /** Use the token with ‘calendar’ spelled correctly instead */
|
|
146
162
|
--ams-time-input-hover-calender-picker-indicator-background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='%23003677'><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>"); /** Use the token with ‘calendar’ spelled correctly instead */
|
|
147
163
|
--ams-time-input-hover-calendar-picker-indicator-background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='%23003677'><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>");
|
|
148
164
|
--ams-time-input-calender-picker-indicator-background-image: 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>"); /** Use the token with ‘calendar’ spelled correctly instead */
|
|
@@ -241,6 +257,7 @@
|
|
|
241
257
|
--ams-badge-font-family: var(--ams-typography-font-family);
|
|
242
258
|
--ams-badge-font-size: var(--ams-typography-body-text-font-size);
|
|
243
259
|
--ams-badge-font-weight: var(--ams-typography-body-text-bold-font-weight);
|
|
260
|
+
--ams-badge-gap: var(--ams-space-xs);
|
|
244
261
|
--ams-badge-line-height: var(--ams-typography-body-text-line-height);
|
|
245
262
|
--ams-badge-padding-inline: var(--ams-space-xs);
|
|
246
263
|
--ams-badge-azure-background-color: var(--ams-color-feedback-info);
|
|
@@ -414,16 +431,22 @@
|
|
|
414
431
|
--ams-error-message-font-weight: var(--ams-typography-body-text-font-weight);
|
|
415
432
|
--ams-error-message-gap: var(--ams-space-xs);
|
|
416
433
|
--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);
|
|
434
|
+
--ams-field-set-legend-margin-block-end: var(--ams-space-s);
|
|
419
435
|
--ams-field-set-legend-color: var(--ams-color-text);
|
|
420
436
|
--ams-field-set-legend-font-family: var(--ams-typography-font-family);
|
|
421
437
|
--ams-field-set-legend-font-weight: var(--ams-typography-heading-font-weight);
|
|
422
438
|
--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
439
|
--ams-field-set-legend-text-wrap: var(--ams-typography-heading-text-wrap);
|
|
425
440
|
--ams-field-set-legend-in-fieldset-font-weight: var(--ams-typography-body-text-font-weight);
|
|
441
|
+
--ams-field-set-child-margin-block-end: var(--ams-space-xs);
|
|
442
|
+
--ams-field-set-child-before-error-message-margin-block-end: var(--ams-space-s);
|
|
443
|
+
--ams-field-set-child-before-field-or-field-set-margin-block-end: var(--ams-space-m);
|
|
444
|
+
--ams-field-set-child-between-fields-and-field-sets-margin-block-end: var(--ams-space-l);
|
|
445
|
+
--ams-field-set-invalid-border-inline-start: var(--ams-border-width-l) solid var(--ams-color-feedback-error);
|
|
446
|
+
--ams-field-set-invalid-padding-inline-start: var(--ams-space-m);
|
|
426
447
|
--ams-field-gap: var(--ams-space-s);
|
|
448
|
+
--ams-field-child-margin-block-end: var(--ams-space-xs);
|
|
449
|
+
--ams-field-child-before-error-message-margin-block-end: var(--ams-space-s);
|
|
427
450
|
--ams-field-invalid-border-inline-start: var(--ams-border-width-l) solid var(--ams-color-feedback-error);
|
|
428
451
|
--ams-field-invalid-padding-inline-start: var(--ams-space-m);
|
|
429
452
|
--ams-figure-gap: var(--ams-space-s);
|
|
@@ -592,6 +615,7 @@
|
|
|
592
615
|
--ams-page-header-brand-name-font-weight: var(--ams-typography-heading-font-weight);
|
|
593
616
|
--ams-page-header-brand-name-line-height: var(--ams-typography-heading-3-line-height);
|
|
594
617
|
--ams-page-header-brand-name-text-wrap: var(--ams-typography-heading-text-wrap);
|
|
618
|
+
--ams-page-header-mega-menu-padding-block: var(--ams-space-l);
|
|
595
619
|
--ams-page-header-mega-menu-button-cursor: var(--ams-cursor-interactive);
|
|
596
620
|
--ams-page-header-mega-menu-button-label-open-font-weight: var(--ams-typography-body-text-bold-font-weight);
|
|
597
621
|
--ams-page-header-menu-column-gap: var(--ams-space-l);
|
|
@@ -609,7 +633,7 @@
|
|
|
609
633
|
--ams-page-header-menu-link-text-underline-offset: var(--ams-links-text-underline-offset);
|
|
610
634
|
--ams-page-header-menu-link-hover-text-decoration-line: var(--ams-links-subtle-hover-text-decoration-line);
|
|
611
635
|
--ams-page-header-navigation-column-gap: var(--ams-space-l);
|
|
612
|
-
--ams-page-header-navigation-row-gap: var(--ams-space-
|
|
636
|
+
--ams-page-header-navigation-row-gap: var(--ams-space-l);
|
|
613
637
|
--ams-page-heading-color: var(--ams-color-text);
|
|
614
638
|
--ams-page-heading-font-family: var(--ams-typography-font-family);
|
|
615
639
|
--ams-page-heading-font-size: var(--ams-typography-heading-0-font-size);
|
|
@@ -644,6 +668,46 @@
|
|
|
644
668
|
--ams-password-input-border-style: var(--ams-inputs-border-style);
|
|
645
669
|
--ams-password-input-line-height: var(--ams-inputs-line-height);
|
|
646
670
|
--ams-password-input-disabled-cursor: var(--ams-cursor-disabled);
|
|
671
|
+
--ams-progress-list-heading-2-step-marker-margin-block-start: calc((var(--ams-typography-heading-2-line-height) * var(--ams-typography-heading-2-font-size)) / 2);
|
|
672
|
+
--ams-progress-list-heading-3-step-marker-margin-block-start: calc((var(--ams-typography-heading-3-line-height) * var(--ams-typography-heading-3-font-size)) / 2);
|
|
673
|
+
--ams-progress-list-heading-4-step-marker-margin-block-start: calc((var(--ams-typography-heading-4-line-height) * var(--ams-typography-heading-4-font-size)) / 2);
|
|
674
|
+
--ams-progress-list-step-gap: var(--ams-space-m);
|
|
675
|
+
--ams-progress-list-step-medium-gap: var(--ams-space-l);
|
|
676
|
+
--ams-progress-list-step-marker-shape-background-color: var(--ams-color-background);
|
|
677
|
+
--ams-progress-list-step-marker-shape-border-color: var(--ams-color-progress-upcoming);
|
|
678
|
+
--ams-progress-list-step-marker-shape-border-width: var(--ams-border-width-m);
|
|
679
|
+
--ams-progress-list-step-marker-shape-outline-color: var(--ams-color-background);
|
|
680
|
+
--ams-progress-list-step-marker-shape-outline-width: var(--ams-border-width-m);
|
|
681
|
+
--ams-progress-list-step-connector-border-inline-color: var(--ams-color-progress-upcoming);
|
|
682
|
+
--ams-progress-list-step-heading-margin-block-end: var(--ams-space-s);
|
|
683
|
+
--ams-progress-list-step-content-margin-block-end: var(--ams-space-l);
|
|
684
|
+
--ams-progress-list-step-completed-marker-shape-background-color: var(--ams-color-progress-completed);
|
|
685
|
+
--ams-progress-list-step-completed-marker-shape-border-color: var(--ams-color-progress-completed);
|
|
686
|
+
--ams-progress-list-step-completed-connector-border-inline-color: var(--ams-color-progress-completed);
|
|
687
|
+
--ams-progress-list-step-current-marker-shape-background-color: var(--ams-color-progress-current);
|
|
688
|
+
--ams-progress-list-step-current-marker-shape-border-color: var(--ams-color-progress-current);
|
|
689
|
+
--ams-progress-list-step-current-connector-border-inline-color: var(--ams-color-progress-current);
|
|
690
|
+
--ams-progress-list-substeps-padding-block-start: var(--ams-space-m);
|
|
691
|
+
--ams-progress-list-substeps-step-indicator-margin-inline-end: var(--ams-space-m);
|
|
692
|
+
--ams-progress-list-substeps-step-indicator-medium-margin-inline-end: var(--ams-space-l);
|
|
693
|
+
--ams-progress-list-substeps-step-marker-block-size: calc(var(--ams-typography-body-text-font-size) * var(--ams-typography-body-text-line-height));
|
|
694
|
+
--ams-progress-list-substeps-step-marker-inline-size: var(--ams-progress-list-step-marker-shape-block-size);
|
|
695
|
+
--ams-progress-list-substeps-step-marker-shape-background-color: var(--ams-color-background);
|
|
696
|
+
--ams-progress-list-substeps-step-marker-shape-border-color: var(--ams-color-progress-upcoming);
|
|
697
|
+
--ams-progress-list-substeps-step-marker-shape-border-width: var(--ams-border-width-m);
|
|
698
|
+
--ams-progress-list-substeps-step-marker-shape-outline-color: var(--ams-color-background);
|
|
699
|
+
--ams-progress-list-substeps-step-marker-shape-outline-width: var(--ams-border-width-m);
|
|
700
|
+
--ams-progress-list-substeps-step-connector-background-color: var(--ams-color-background);
|
|
701
|
+
--ams-progress-list-substeps-step-connector-border-inline-color: var(--ams-color-progress-upcoming);
|
|
702
|
+
--ams-progress-list-substeps-step-connector-margin-block-start: calc(var(--ams-typography-body-text-font-size) * var(--ams-typography-body-text-line-height) / 2);
|
|
703
|
+
--ams-progress-list-substeps-step-connector-last-child-border-inline-color: var(--ams-color-background);
|
|
704
|
+
--ams-progress-list-substeps-step-content-margin-block-end: var(--ams-space-m);
|
|
705
|
+
--ams-progress-list-substeps-step-completed-marker-shape-background-color: var(--ams-color-progress-completed);
|
|
706
|
+
--ams-progress-list-substeps-step-completed-marker-shape-border-color: var(--ams-color-progress-completed);
|
|
707
|
+
--ams-progress-list-substeps-step-completed-connector-border-inline-color: var(--ams-color-progress-completed);
|
|
708
|
+
--ams-progress-list-substeps-step-current-marker-shape-background-color: var(--ams-color-progress-current);
|
|
709
|
+
--ams-progress-list-substeps-step-current-marker-shape-border-color: var(--ams-color-progress-current);
|
|
710
|
+
--ams-progress-list-substeps-last-child-content-margin-block-end: var(--ams-space-l);
|
|
647
711
|
--ams-radio-color: var(--ams-color-text);
|
|
648
712
|
--ams-radio-cursor: var(--ams-cursor-interactive);
|
|
649
713
|
--ams-radio-font-family: var(--ams-typography-font-family);
|
|
@@ -903,6 +967,9 @@
|
|
|
903
967
|
--ams-password-input-invalid-hover-border-color: var(--ams-inputs-invalid-hover-border-color);
|
|
904
968
|
--ams-password-input-invalid-hover-box-shadow: var(--ams-inputs-invalid-hover-box-shadow);
|
|
905
969
|
--ams-password-input-placeholder-color: var(--ams-inputs-placeholder-color);
|
|
970
|
+
--ams-progress-list-heading-2-step-marker-block-size: calc(var(--ams-typography-heading-2-font-size) * var(--ams-typography-heading-2-line-height));
|
|
971
|
+
--ams-progress-list-heading-3-step-marker-block-size: calc(var(--ams-typography-heading-3-font-size) * var(--ams-typography-heading-3-line-height));
|
|
972
|
+
--ams-progress-list-heading-4-step-marker-block-size: calc(var(--ams-typography-heading-4-font-size) * var(--ams-typography-heading-4-line-height));
|
|
906
973
|
--ams-radio-icon-container-block-size: calc(var(--ams-radio-font-size) * var(--ams-radio-line-height));
|
|
907
974
|
--ams-radio-icon-container-inline-size: var(--ams-radio-font-size);
|
|
908
975
|
--ams-search-field-input-background-color: var(--ams-inputs-background-color);
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "
|
|
2
|
+
"version": "3.1.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
|
-
"
|
|
29
|
-
"style-dictionary": "5.1.1"
|
|
28
|
+
"style-dictionary": "5.2.0"
|
|
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
|
}
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
"feedback": {
|
|
6
6
|
"error": { "value": "#ec0000" },
|
|
7
7
|
"info": { "value": "#009de6" },
|
|
8
|
-
"success": { "value": "#
|
|
8
|
+
"success": { "value": "#00893c" },
|
|
9
9
|
"warning": { "value": "#ff9100" }
|
|
10
10
|
},
|
|
11
11
|
"highlight": {
|
|
12
12
|
"azure": { "value": "#009de6" },
|
|
13
|
-
"green": { "value": "#
|
|
13
|
+
"green": { "value": "#00893c" },
|
|
14
14
|
"lime": { "value": "#bed200" },
|
|
15
15
|
"magenta": { "value": "#e50082" },
|
|
16
16
|
"orange": { "value": "#ff9100" },
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"yellow": { "value": "#ffe600" }
|
|
19
19
|
},
|
|
20
20
|
"interactive": {
|
|
21
|
-
"contrast": { "value": "#
|
|
21
|
+
"contrast": { "value": "#202020" },
|
|
22
22
|
"default": { "value": "#004699" },
|
|
23
23
|
"disabled": { "value": "#767676" },
|
|
24
24
|
"hover": { "value": "#003677" },
|
|
@@ -28,9 +28,14 @@
|
|
|
28
28
|
},
|
|
29
29
|
"inverse": { "value": "#ffffff" }
|
|
30
30
|
},
|
|
31
|
+
"progress": {
|
|
32
|
+
"current": { "value": "#00893c" },
|
|
33
|
+
"completed": { "value": "#00893c" },
|
|
34
|
+
"upcoming": { "value": "#767676" }
|
|
35
|
+
},
|
|
31
36
|
"separator": { "value": "#d1d1d1" },
|
|
32
37
|
"text": {
|
|
33
|
-
"default": { "value": "#
|
|
38
|
+
"default": { "value": "#202020" },
|
|
34
39
|
"inverse": { "value": "#ffffff" },
|
|
35
40
|
"secondary": { "value": "#767676" }
|
|
36
41
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"ams": {
|
|
3
3
|
"typography": {
|
|
4
4
|
"font-family": { "value": "'Amsterdam Sans', Arial, sans-serif" },
|
|
5
|
-
"hyphenate-limit-chars": { "value": "
|
|
5
|
+
"hyphenate-limit-chars": { "value": "auto" },
|
|
6
6
|
"body-text": {
|
|
7
7
|
"font-size": { "value": "clamp(1.125rem, 1.0893rem + 0.1786vw, 1.25rem)" },
|
|
8
8
|
"font-weight": { "value": "400" },
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
"font-family": { "value": "{ams.typography.font-family}" },
|
|
7
7
|
"font-size": { "value": "{ams.typography.body-text.font-size}" },
|
|
8
8
|
"font-weight": { "value": "{ams.typography.body-text.bold.font-weight}" },
|
|
9
|
+
"gap": { "value": "{ams.space.xs}" },
|
|
9
10
|
"line-height": { "value": "{ams.typography.body-text.line-height}" },
|
|
10
11
|
"padding-inline": { "value": "{ams.space.xs}" },
|
|
11
12
|
"azure": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"ams": {
|
|
3
3
|
"call-to-action-link": {
|
|
4
|
-
"background-color": { "value": "#
|
|
4
|
+
"background-color": { "value": "#00893c" },
|
|
5
5
|
"color": { "value": "{ams.color.text.inverse}" },
|
|
6
6
|
"font-family": { "value": "{ams.typography.font-family}" },
|
|
7
7
|
"font-size": { "value": "{ams.typography.body-text.font-size}" },
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"text-decoration-thickness": { "value": "{ams.links.text-decoration-thickness}" },
|
|
14
14
|
"text-underline-offset": { "value": "{ams.links.text-underline-offset}" },
|
|
15
15
|
"hover": {
|
|
16
|
-
"background-color": { "value": "#
|
|
16
|
+
"background-color": { "value": "#10552b" },
|
|
17
17
|
"text-decoration-thickness": {
|
|
18
18
|
"value": "{ams.links.hover.text-decoration-thickness}"
|
|
19
19
|
},
|
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
"ams": {
|
|
3
3
|
"date-input": {
|
|
4
4
|
"disabled": {
|
|
5
|
+
"calendar-picker-indicator": {
|
|
6
|
+
"background-image": {
|
|
7
|
+
"comment": "This token will be removed in release 6.0.0",
|
|
8
|
+
"value": "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>\")"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
5
11
|
"calender-picker-indicator": {
|
|
6
12
|
"background-image": {
|
|
7
13
|
"comment": "Use the token with ‘calendar’ spelled correctly instead",
|
|
@@ -15,12 +15,7 @@
|
|
|
15
15
|
"padding-inline": { "value": "{ams.inputs.padding-inline}" },
|
|
16
16
|
"disabled": {
|
|
17
17
|
"color": { "value": "{ams.inputs.disabled.color}" },
|
|
18
|
-
"cursor": { "value": "{ams.cursor.disabled}" }
|
|
19
|
-
"calendar-picker-indicator": {
|
|
20
|
-
"background-image": {
|
|
21
|
-
"value": "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>\")"
|
|
22
|
-
}
|
|
23
|
-
}
|
|
18
|
+
"cursor": { "value": "{ams.cursor.disabled}" }
|
|
24
19
|
},
|
|
25
20
|
"hover": {
|
|
26
21
|
"box-shadow": { "value": "{ams.inputs.hover.box-shadow}" },
|
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"ams": {
|
|
3
3
|
"field-set": {
|
|
4
|
+
"child": {
|
|
5
|
+
"margin-block-end": { "value": "{ams.space.xs}" },
|
|
6
|
+
"before-error-message": {
|
|
7
|
+
"margin-block-end": { "value": "{ams.space.s}" }
|
|
8
|
+
},
|
|
9
|
+
"before-field-or-field-set": {
|
|
10
|
+
"margin-block-end": { "value": "{ams.space.m}" }
|
|
11
|
+
},
|
|
12
|
+
"between-fields-and-field-sets": {
|
|
13
|
+
"margin-block-end": { "value": "{ams.space.l}" }
|
|
14
|
+
}
|
|
15
|
+
},
|
|
4
16
|
"invalid": {
|
|
5
17
|
"border-inline-start": { "value": "{ams.border.width.l} solid {ams.color.feedback.error}" },
|
|
6
18
|
"padding-inline-start": { "value": "{ams.space.m}" }
|
|
@@ -11,7 +23,6 @@
|
|
|
11
23
|
"font-size": { "value": "{ams.typography.heading.3.font-size}" },
|
|
12
24
|
"font-weight": { "value": "{ams.typography.heading.font-weight}" },
|
|
13
25
|
"line-height": { "value": "{ams.typography.heading.3.line-height}" },
|
|
14
|
-
"margin-block-end": { "value": "{ams.space.s}" },
|
|
15
26
|
"text-wrap": { "value": "{ams.typography.heading.text-wrap}" },
|
|
16
27
|
"in-fieldset": {
|
|
17
28
|
"font-weight": { "value": "{ams.typography.body-text.font-weight}" }
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"ams": {
|
|
3
3
|
"field": {
|
|
4
|
-
"
|
|
4
|
+
"child": {
|
|
5
|
+
"margin-block-end": { "value": "{ams.space.xs}" },
|
|
6
|
+
"before-error-message": {
|
|
7
|
+
"margin-block-end": { "value": "{ams.space.s}" }
|
|
8
|
+
}
|
|
9
|
+
},
|
|
5
10
|
"invalid": {
|
|
6
11
|
"border-inline-start": { "value": "{ams.border.width.l} solid {ams.color.feedback.error}" },
|
|
7
12
|
"padding-inline-start": { "value": "{ams.space.m}" }
|