@amsterdam/design-system-tokens 0.1.6 → 0.1.8

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.
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Tue, 10 Oct 2023 11:59:10 GMT
3
+ // Generated on Mon, 27 Nov 2023 11:07:10 GMT
4
4
 
5
5
  @utrecht-button-subtle-disabled-background-color: transparent;
6
6
  @utrecht-button-subtle-background-color: transparent;
@@ -18,15 +18,16 @@
18
18
  @amsterdam-unordered-list-item-margin-inline-start: 1.625rem; // Divide your total indentation width over margin and padding to position the marker.
19
19
  @amsterdam-unordered-list-list-style-type: '\2022';
20
20
  @amsterdam-unordered-list-gap: 0.75rem;
21
+ @amsterdam-switch-thumb-height: 1.75rem;
22
+ @amsterdam-switch-thumb-width: 1.75rem;
23
+ @amsterdam-switch-width: 3.5rem;
24
+ @amsterdam-screen-x-wide-max-width: 132rem;
25
+ @amsterdam-screen-wide-max-width: 100rem;
21
26
  @amsterdam-page-menu-item-hover-text-decoration: underline;
22
27
  @amsterdam-page-menu-item-text-decoration: none;
23
28
  @amsterdam-page-menu-item-gap: 0.5rem;
24
29
  @amsterdam-page-menu-row-gap: 0.5rem;
25
30
  @amsterdam-page-menu-column-gap: 2.5rem;
26
- @amsterdam-page-grid-max-width: 1440px;
27
- @amsterdam-page-grid-column-gap: clamp(0.5rem, calc(0.5rem + 0.0142857143 * (100vw - 20rem)), 1.5rem);
28
- @amsterdam-page-grid-column-count-wide: 12;
29
- @amsterdam-page-grid-column-count-narrow: 4;
30
31
  @amsterdam-ordered-list-ordered-list-item-padding-inline-start: 0.25rem; // The total level >=2 indentation for Amsterdam is 28 pixels, or 1.75rem.
31
32
  @amsterdam-ordered-list-ordered-list-item-margin-inline-start: 1.5rem; // Indent less than the parent to start-align the child’s marker with the parent text.
32
33
  @amsterdam-ordered-list-ordered-list-list-style-type: lower-alpha;
@@ -34,21 +35,42 @@
34
35
  @amsterdam-ordered-list-item-margin-inline-start: 2.25rem; // Divide your total indentation width over margin and padding to position the marker.
35
36
  @amsterdam-ordered-list-list-style-type: decimal;
36
37
  @amsterdam-ordered-list-gap: 0.75rem;
37
- @amsterdam-link-standalone-focus-text-underline-offset: 7px;
38
- @amsterdam-link-standalone-focus-text-decoration-thickness: 3px;
38
+ @amsterdam-logo-height: 2.5rem;
39
+ @amsterdam-link-standalone-hover-text-underline-offset: 7px;
40
+ @amsterdam-link-standalone-hover-text-decoration-thickness: 3px;
39
41
  @amsterdam-link-standalone-text-decoration-thickness: 2px;
40
42
  @amsterdam-link-standalone-text-underline-offset: 8px;
41
43
  @amsterdam-link-in-list-text-decoration: none;
42
- @amsterdam-link-in-list-focus-text-underline-offset: 7px;
43
- @amsterdam-link-in-list-focus-text-decoration-thickness: 2px;
44
- @amsterdam-link-in-list-focus-text-decoration: underline;
44
+ @amsterdam-link-in-list-hover-text-underline-offset: 7px;
45
+ @amsterdam-link-in-list-hover-text-decoration-thickness: 2px;
46
+ @amsterdam-link-in-list-hover-text-decoration: underline;
45
47
  @amsterdam-link-in-list-gap: 0.5em;
48
+ @amsterdam-link-inline-text-decoration-thickness: 2px;
46
49
  @amsterdam-link-inline-text-decoration: none;
47
50
  @amsterdam-link-inline-line-height: inherit;
48
51
  @amsterdam-link-inline-font-size: inherit;
49
52
  @amsterdam-link-inline-font-family: inherit;
50
- @amsterdam-link-inline-focus-text-underline-offset: 3px;
51
- @amsterdam-link-inline-focus-text-decoration: underline;
53
+ @amsterdam-link-inline-hover-text-underline-offset: 3px;
54
+ @amsterdam-link-inline-hover-text-decoration: underline;
55
+ @amsterdam-grid-wide-column-count: 12;
56
+ @amsterdam-grid-medium-column-count: 8;
57
+ @amsterdam-grid-density-high-padding-inline: clamp(1rem, calc(1.5625vw - 0.0625rem), 2.5rem); // Equals the gap.
58
+ @amsterdam-grid-density-high-gap: clamp(1rem, calc(1.5625vw - 0.0625rem), 2.5rem); // Grows from 16px at 1088px wide to 40px at 2624px wide.
59
+ @amsterdam-grid-density-low-padding-inline: clamp(1.5rem, calc(4.6875vw + 0.5625rem), 5.25rem); // Equals 1.5 times the gap.
60
+ @amsterdam-grid-density-low-gap: clamp(1rem, calc(3.125vw + 0.375rem), 3.5rem); // Grows from 16px at 320px wide to 56px at 1600px wide.
61
+ @amsterdam-grid-column-count: 4;
62
+ @amsterdam-dialog-footer-padding-block: 1.5rem 0;
63
+ @amsterdam-dialog-footer-gap: 1rem;
64
+ @amsterdam-dialog-header-gap: 1rem;
65
+ @amsterdam-dialog-article-padding-inline-end: 1.5rem;
66
+ @amsterdam-dialog-form-max-block-size: 75vh;
67
+ @amsterdam-dialog-form-padding-inline: clamp(1.5rem, calc(1.5rem + ((1vw - 0.5337rem) * 2.1448)), 2.5rem);
68
+ @amsterdam-dialog-form-padding-block: clamp(1.5rem, calc(1.5rem + ((1vw - 0.5337rem) * 2.1448)), 2.5rem);
69
+ @amsterdam-dialog-form-gap: 1.5rem;
70
+ @amsterdam-dialog-close-background-color: transparent;
71
+ @amsterdam-dialog-backdrop-background: #0006;
72
+ @amsterdam-dialog-max-inline-size: min(87.69vw, 45rem);
73
+ @amsterdam-dialog-border: 0;
52
74
  @amsterdam-breadcrumb-item-link-focus-text-decoration: underline;
53
75
  @amsterdam-alert-close-background-color: transparent;
54
76
  @amsterdam-alert-gap: 1rem;
@@ -87,11 +109,12 @@
87
109
  @amsterdam-typography-font-weight-bold: 800;
88
110
  @amsterdam-typography-font-weight-normal: 400;
89
111
  @amsterdam-typography-font-family: 'Amsterdam Sans', Arial, sans-serif;
90
- @amsterdam-proportion-extra-wide: 16 / 9;
112
+ @amsterdam-proportion-2x-wide: 32 / 9;
113
+ @amsterdam-proportion-x-wide: 16 / 9;
91
114
  @amsterdam-proportion-wide: 5 / 4;
92
115
  @amsterdam-proportion-square: 1 / 1;
93
116
  @amsterdam-proportion-tall: 4 / 5;
94
- @amsterdam-proportion-extra-tall: 9 / 16;
117
+ @amsterdam-proportion-x-tall: 9 / 16;
95
118
  @amsterdam-color-neutral-grey4: #323232;
96
119
  @amsterdam-color-neutral-grey3: #767676;
97
120
  @amsterdam-color-neutral-grey2: #B4B4B4;
@@ -103,7 +126,7 @@
103
126
  @amsterdam-color-green: #BED200;
104
127
  @amsterdam-color-yellow: #FFE600;
105
128
  @amsterdam-color-orange: #FF9100;
106
- @amsterdam-color-dark-blue: #00387A;
129
+ @amsterdam-color-dark-blue: #102E62;
107
130
  @amsterdam-color-primary-red: #EC0000;
108
131
  @amsterdam-color-primary-blue: #004699;
109
132
  @amsterdam-color-primary-white: #ffffff;
@@ -117,7 +140,6 @@
117
140
  @utrecht-button-secondary-action-hover-color: @amsterdam-color-dark-blue;
118
141
  @utrecht-button-secondary-action-color: @amsterdam-color-primary-blue;
119
142
  @utrecht-button-secondary-action-background-color: @amsterdam-color-primary-white;
120
- @utrecht-button-primary-action-focus-background-color: @amsterdam-color-dark-blue;
121
143
  @utrecht-button-primary-action-hover-background-color: @amsterdam-color-dark-blue;
122
144
  @utrecht-button-primary-action-disabled-background-color: @amsterdam-color-neutral-grey2;
123
145
  @utrecht-button-primary-action-color: @amsterdam-color-primary-white;
@@ -135,7 +157,7 @@
135
157
  @amsterdam-unordered-list-wide-font-size: @amsterdam-typography-text-level-6-wide-font-size;
136
158
  @amsterdam-unordered-list-narrow-font-size: @amsterdam-typography-text-level-6-narrow-font-size;
137
159
  @amsterdam-unordered-list-line-height: @amsterdam-typography-text-level-6-line-height;
138
- @amsterdam-unordered-list-font-weight: 400;
160
+ @amsterdam-unordered-list-font-weight: @amsterdam-typography-font-weight-normal;
139
161
  @amsterdam-unordered-list-font-family: @amsterdam-typography-font-family;
140
162
  @amsterdam-unordered-list-color: @amsterdam-color-primary-black;
141
163
  @amsterdam-top-task-link-outline-offset: @amsterdam-focus-outline-offset;
@@ -143,15 +165,22 @@
143
165
  @amsterdam-top-task-link-label-narrow-font-size: @amsterdam-typography-text-level-4-narrow-font-size;
144
166
  @amsterdam-top-task-link-label-line-height: @amsterdam-typography-text-level-4-line-height;
145
167
  @amsterdam-top-task-link-label-hover-color: @amsterdam-color-dark-blue;
146
- @amsterdam-top-task-link-label-font-weight: 800;
168
+ @amsterdam-top-task-link-label-font-weight: @amsterdam-typography-font-weight-bold;
147
169
  @amsterdam-top-task-link-label-font-family: @amsterdam-typography-font-family;
148
170
  @amsterdam-top-task-link-label-color: @amsterdam-color-primary-blue;
149
171
  @amsterdam-top-task-link-description-wide-font-size: @amsterdam-typography-text-level-7-wide-font-size;
150
172
  @amsterdam-top-task-link-description-narrow-font-size: @amsterdam-typography-text-level-7-narrow-font-size;
151
173
  @amsterdam-top-task-link-description-line-height: @amsterdam-typography-text-level-7-line-height;
152
- @amsterdam-top-task-link-description-font-weight: 400;
174
+ @amsterdam-top-task-link-description-font-weight: @amsterdam-typography-font-weight-normal;
153
175
  @amsterdam-top-task-link-description-font-family: @amsterdam-typography-font-family;
154
176
  @amsterdam-top-task-link-description-color: @amsterdam-color-primary-black;
177
+ @amsterdam-switch-disabled-background-color: @amsterdam-color-neutral-grey2;
178
+ @amsterdam-switch-outline-offset: @amsterdam-focus-outline-offset;
179
+ @amsterdam-switch-checked-background-color: @amsterdam-color-primary-blue;
180
+ @amsterdam-switch-thumb-hover-color: @amsterdam-color-dark-blue;
181
+ @amsterdam-switch-thumb-background-color: @amsterdam-color-primary-white;
182
+ @amsterdam-switch-background-color: @amsterdam-color-neutral-grey3;
183
+ @amsterdam-switch-font-family: @amsterdam-typography-font-family;
155
184
  @amsterdam-paragraph-large-wide-font-size: @amsterdam-typography-text-level-5-wide-font-size;
156
185
  @amsterdam-paragraph-large-narrow-font-size: @amsterdam-typography-text-level-5-narrow-font-size;
157
186
  @amsterdam-paragraph-large-line-height: @amsterdam-typography-text-level-5-line-height;
@@ -162,18 +191,27 @@
162
191
  @amsterdam-paragraph-narrow-font-size: @amsterdam-typography-text-level-6-narrow-font-size;
163
192
  @amsterdam-paragraph-line-height: @amsterdam-typography-text-level-6-line-height;
164
193
  @amsterdam-paragraph-inverse-color: @amsterdam-color-primary-white;
165
- @amsterdam-paragraph-font-weight: 400;
194
+ @amsterdam-paragraph-font-weight: @amsterdam-typography-font-weight-normal;
166
195
  @amsterdam-paragraph-font-family: @amsterdam-typography-font-family;
167
196
  @amsterdam-paragraph-color: @amsterdam-color-primary-black;
197
+ @amsterdam-pagination-button-outline-offset: @amsterdam-focus-outline-offset;
198
+ @amsterdam-pagination-button-hover-color: @amsterdam-color-dark-blue;
199
+ @amsterdam-pagination-button-current-font-weight: @amsterdam-typography-font-weight-bold;
200
+ @amsterdam-pagination-wide-font-size: @amsterdam-typography-text-level-6-wide-font-size;
201
+ @amsterdam-pagination-narrow-font-size: @amsterdam-typography-text-level-6-narrow-font-size;
202
+ @amsterdam-pagination-line-height: @amsterdam-typography-text-level-6-line-height;
203
+ @amsterdam-pagination-font-weight: @amsterdam-typography-font-weight-normal;
204
+ @amsterdam-pagination-font-family: @amsterdam-typography-font-family;
205
+ @amsterdam-pagination-color: @amsterdam-color-primary-blue;
168
206
  @amsterdam-page-menu-item-hover-color: @amsterdam-color-primary-black;
169
207
  @amsterdam-page-menu-item-wide-font-size: @amsterdam-typography-text-level-7-wide-font-size;
170
208
  @amsterdam-page-menu-item-narrow-font-size: @amsterdam-typography-text-level-7-narrow-font-size;
171
209
  @amsterdam-page-menu-item-line-height: @amsterdam-typography-text-level-7-line-height;
172
- @amsterdam-page-menu-item-font-weight: 400;
210
+ @amsterdam-page-menu-item-font-weight: @amsterdam-typography-font-weight-normal;
173
211
  @amsterdam-page-menu-item-font-family: @amsterdam-typography-font-family;
174
212
  @amsterdam-page-menu-item-color: @amsterdam-color-primary-black;
175
213
  @amsterdam-page-heading-inverse-color: @amsterdam-color-primary-white;
176
- @amsterdam-page-heading-font-weight: 800;
214
+ @amsterdam-page-heading-font-weight: @amsterdam-typography-font-weight-bold;
177
215
  @amsterdam-page-heading-wide-font-size: @amsterdam-typography-text-level-0-wide-font-size;
178
216
  @amsterdam-page-heading-narrow-font-size: @amsterdam-typography-text-level-0-narrow-font-size;
179
217
  @amsterdam-page-heading-line-height: @amsterdam-typography-text-level-0-line-height;
@@ -182,9 +220,12 @@
182
220
  @amsterdam-ordered-list-wide-font-size: @amsterdam-typography-text-level-6-wide-font-size;
183
221
  @amsterdam-ordered-list-narrow-font-size: @amsterdam-typography-text-level-6-narrow-font-size;
184
222
  @amsterdam-ordered-list-line-height: @amsterdam-typography-text-level-6-line-height;
185
- @amsterdam-ordered-list-font-weight: 400;
223
+ @amsterdam-ordered-list-font-weight: @amsterdam-typography-font-weight-normal;
186
224
  @amsterdam-ordered-list-font-family: @amsterdam-typography-font-family;
187
225
  @amsterdam-ordered-list-color: @amsterdam-color-primary-black;
226
+ @amsterdam-logo-subsite-color: @amsterdam-color-primary-black;
227
+ @amsterdam-logo-title-color: @amsterdam-color-primary-red;
228
+ @amsterdam-logo-emblem-color: @amsterdam-color-primary-red;
188
229
  @amsterdam-link-on-background-light-visited-color: @amsterdam-color-primary-black;
189
230
  @amsterdam-link-on-background-light-hover-color: @amsterdam-color-primary-black;
190
231
  @amsterdam-link-on-background-light-color: @amsterdam-color-primary-black;
@@ -198,8 +239,8 @@
198
239
  @amsterdam-link-in-list-narrow-font-size: @amsterdam-typography-text-level-7-narrow-font-size;
199
240
  @amsterdam-link-in-list-line-height: @amsterdam-typography-text-level-7-line-height;
200
241
  @amsterdam-link-inline-visited-color: @amsterdam-color-purple;
201
- @amsterdam-link-focus-color: @amsterdam-color-dark-blue;
202
- @amsterdam-link-font-weight: 400;
242
+ @amsterdam-link-hover-color: @amsterdam-color-dark-blue;
243
+ @amsterdam-link-font-weight: @amsterdam-typography-font-weight-normal;
203
244
  @amsterdam-link-font-family: @amsterdam-typography-font-family;
204
245
  @amsterdam-link-outline-offset: @amsterdam-focus-outline-offset;
205
246
  @amsterdam-link-color: @amsterdam-color-primary-blue;
@@ -218,8 +259,16 @@
218
259
  @amsterdam-icon-size-3-container-multiplier: @amsterdam-typography-text-level-3-line-height;
219
260
  @amsterdam-icon-size-3-icon-size-wide: @amsterdam-typography-text-level-3-wide-font-size;
220
261
  @amsterdam-icon-size-3-icon-size-narrow: @amsterdam-typography-text-level-3-narrow-font-size;
262
+ @amsterdam-highlight-yellow-background-color: @amsterdam-color-yellow;
263
+ @amsterdam-highlight-purple-background-color: @amsterdam-color-purple;
264
+ @amsterdam-highlight-orange-background-color: @amsterdam-color-orange;
265
+ @amsterdam-highlight-magenta-background-color: @amsterdam-color-magenta;
266
+ @amsterdam-highlight-light-blue-background-color: @amsterdam-color-blue;
267
+ @amsterdam-highlight-green-background-color: @amsterdam-color-green;
268
+ @amsterdam-highlight-dark-green-background-color: @amsterdam-color-dark-green;
269
+ @amsterdam-highlight-blue-background-color: @amsterdam-color-primary-blue;
221
270
  @amsterdam-heading-inverse-color: @amsterdam-color-primary-white;
222
- @amsterdam-heading-font-weight: 800;
271
+ @amsterdam-heading-font-weight: @amsterdam-typography-font-weight-bold;
223
272
  @amsterdam-heading-font-family: @amsterdam-typography-font-family;
224
273
  @amsterdam-heading-color: @amsterdam-color-primary-black;
225
274
  @amsterdam-heading-4-wide-font-size: @amsterdam-typography-text-level-4-wide-font-size;
@@ -237,16 +286,24 @@
237
286
  @amsterdam-form-label-wide-font-size: @amsterdam-typography-text-level-7-wide-font-size;
238
287
  @amsterdam-form-label-narrow-font-size: @amsterdam-typography-text-level-7-narrow-font-size;
239
288
  @amsterdam-form-label-line-height: @amsterdam-typography-text-level-7-line-height;
240
- @amsterdam-form-label-font-weight: 800;
289
+ @amsterdam-form-label-font-weight: @amsterdam-typography-font-weight-bold;
241
290
  @amsterdam-form-label-font-family: @amsterdam-typography-font-family;
242
291
  @amsterdam-form-label-color: @amsterdam-color-primary-black;
243
- @amsterdam-footer-top-background-color: @amsterdam-color-primary-blue;
292
+ @amsterdam-dialog-close-hover-fill: @amsterdam-color-primary-blue;
293
+ @amsterdam-dialog-close-fill: @amsterdam-color-primary-black;
294
+ @amsterdam-dialog-title-wide-font-size: @amsterdam-typography-text-level-5-wide-font-size;
295
+ @amsterdam-dialog-title-narrow-font-size: @amsterdam-typography-text-level-5-narrow-font-size;
296
+ @amsterdam-dialog-title-line-height: @amsterdam-typography-text-level-5-line-height;
297
+ @amsterdam-dialog-title-font-weight: @amsterdam-typography-font-weight-bold;
298
+ @amsterdam-dialog-title-font-family: @amsterdam-typography-font-family;
299
+ @amsterdam-dialog-title-color: @amsterdam-color-primary-black;
300
+ @amsterdam-dialog-background-color: @amsterdam-color-primary-white;
244
301
  @amsterdam-checkbox-wide-font-size: @amsterdam-typography-text-level-6-wide-font-size;
245
302
  @amsterdam-checkbox-narrow-font-size: @amsterdam-typography-text-level-6-narrow-font-size;
246
303
  @amsterdam-checkbox-line-height: @amsterdam-typography-text-level-6-line-height;
247
304
  @amsterdam-checkbox-outline-offset: @amsterdam-focus-outline-offset;
248
305
  @amsterdam-checkbox-hover-color: @amsterdam-color-dark-blue;
249
- @amsterdam-checkbox-font-weight: 400;
306
+ @amsterdam-checkbox-font-weight: @amsterdam-typography-font-weight-normal;
250
307
  @amsterdam-checkbox-font-family: @amsterdam-typography-font-family;
251
308
  @amsterdam-checkbox-disabled-color: @amsterdam-color-neutral-grey3;
252
309
  @amsterdam-checkbox-checkmark-multiplier: @amsterdam-typography-text-level-6-line-height;
@@ -270,10 +327,11 @@
270
327
  @amsterdam-checkbox-checkmark-checked-background-color: @amsterdam-color-primary-blue;
271
328
  @amsterdam-checkbox-checkmark-border-color: @amsterdam-color-primary-blue;
272
329
  @amsterdam-checkbox-color: @amsterdam-color-primary-black;
273
- @amsterdam-button-tertiary-focus-box-shadow: inset 0 0 0 2px @amsterdam-color-neutral-grey3;
330
+ @amsterdam-card-outline-offset: @amsterdam-focus-outline-offset;
331
+ @amsterdam-card-link-hover-color: @amsterdam-color-dark-blue;
332
+ @amsterdam-card-link-color: @amsterdam-color-primary-blue;
274
333
  @amsterdam-button-tertiary-hover-box-shadow: inset 0 0 0 2px @amsterdam-color-neutral-grey3;
275
- @amsterdam-button-secondary-focus-color: @amsterdam-color-dark-blue;
276
- @amsterdam-button-secondary-focus-box-shadow: inset 0 0 0 3px @amsterdam-color-dark-blue;
334
+ @amsterdam-button-secondary-focus-box-shadow: inset 0 0 0 2px @amsterdam-color-primary-blue;
277
335
  @amsterdam-button-secondary-disabled-box-shadow: inset 0 0 0 2px @amsterdam-color-neutral-grey2;
278
336
  @amsterdam-button-secondary-hover-box-shadow: inset 0 0 0 3px @amsterdam-color-dark-blue;
279
337
  @amsterdam-button-secondary-box-shadow: inset 0 0 0 2px @amsterdam-color-primary-blue;
@@ -286,20 +344,22 @@
286
344
  @amsterdam-breadcrumb-wide-font-size: @amsterdam-typography-text-level-7-wide-font-size;
287
345
  @amsterdam-breadcrumb-narrow-font-size: @amsterdam-typography-text-level-7-narrow-font-size;
288
346
  @amsterdam-breadcrumb-line-height: @amsterdam-typography-text-level-7-line-height;
347
+ @amsterdam-breadcrumb-font-weight: @amsterdam-typography-font-weight-normal;
289
348
  @amsterdam-breadcrumb-font-family: @amsterdam-typography-font-family;
290
349
  @amsterdam-breadcrumb-color: @amsterdam-color-primary-blue;
291
350
  @amsterdam-blockquote-wide-font-size: @amsterdam-typography-text-level-3-wide-font-size;
292
351
  @amsterdam-blockquote-narrow-font-size: @amsterdam-typography-text-level-3-narrow-font-size;
293
352
  @amsterdam-blockquote-line-height: @amsterdam-typography-text-level-3-line-height;
294
353
  @amsterdam-blockquote-inverse-color: @amsterdam-color-primary-white;
295
- @amsterdam-blockquote-font-weight: 800;
354
+ @amsterdam-blockquote-font-weight: @amsterdam-typography-font-weight-bold;
296
355
  @amsterdam-blockquote-font-family: @amsterdam-typography-font-family;
297
356
  @amsterdam-blockquote-color: @amsterdam-color-primary-black;
298
- @amsterdam-aspect-ratio-extra-wide: @amsterdam-proportion-extra-wide;
357
+ @amsterdam-aspect-ratio-2x-wide: @amsterdam-proportion-2x-wide;
358
+ @amsterdam-aspect-ratio-x-wide: @amsterdam-proportion-x-wide;
299
359
  @amsterdam-aspect-ratio-wide: @amsterdam-proportion-wide;
300
360
  @amsterdam-aspect-ratio-square: @amsterdam-proportion-square;
301
361
  @amsterdam-aspect-ratio-tall: @amsterdam-proportion-tall;
302
- @amsterdam-aspect-ratio-extra-tall: @amsterdam-proportion-extra-tall;
362
+ @amsterdam-aspect-ratio-x-tall: @amsterdam-proportion-x-tall;
303
363
  @amsterdam-alert-close-hover-fill: @amsterdam-color-primary-blue;
304
364
  @amsterdam-alert-close-fill: @amsterdam-color-primary-black;
305
365
  @amsterdam-alert-success-border-color: @amsterdam-color-dark-green;
@@ -309,7 +369,7 @@
309
369
  @amsterdam-alert-title-wide-font-size: @amsterdam-typography-text-level-5-wide-font-size;
310
370
  @amsterdam-alert-title-narrow-font-size: @amsterdam-typography-text-level-5-narrow-font-size;
311
371
  @amsterdam-alert-title-line-height: @amsterdam-typography-text-level-5-line-height;
312
- @amsterdam-alert-title-font-weight: 800;
372
+ @amsterdam-alert-title-font-weight: @amsterdam-typography-font-weight-bold;
313
373
  @amsterdam-alert-title-font-family: @amsterdam-typography-font-family;
314
374
  @amsterdam-alert-title-color: @amsterdam-color-primary-black;
315
375
  @amsterdam-alert-padding-inline-end: @amsterdam-spacing-inset-lg;
@@ -322,7 +382,7 @@
322
382
  @amsterdam-accordion-button-wide-font-size: @amsterdam-typography-text-level-5-wide-font-size;
323
383
  @amsterdam-accordion-button-narrow-font-size: @amsterdam-typography-text-level-5-narrow-font-size;
324
384
  @amsterdam-accordion-button-line-height: @amsterdam-typography-text-level-5-line-height;
325
- @amsterdam-accordion-button-font-weight: 800;
385
+ @amsterdam-accordion-button-font-weight: @amsterdam-typography-font-weight-bold;
326
386
  @amsterdam-accordion-button-font-family: @amsterdam-typography-font-family;
327
387
  @amsterdam-accordion-button-focus-outline-offset: @amsterdam-focus-outline-offset;
328
388
  @amsterdam-accordion-button-color: @amsterdam-color-primary-blue;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.6",
2
+ "version": "0.1.8",
3
3
  "author": "Community for NL Design System",
4
4
  "description": "Design tokens for components for the City of Amsterdam based on the NL Design System architecture",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
@@ -26,7 +26,7 @@
26
26
  "devDependencies": {
27
27
  "chokidar-cli": "3.0.0",
28
28
  "npm-run-all": "4.1.5",
29
- "style-dictionary": "3.8.0"
29
+ "style-dictionary": "3.9.0"
30
30
  },
31
- "gitHead": "936054ca8c9f8f685c9a9bda9db3157608817886"
31
+ "gitHead": "930baf5f841a4a368c75a7e72e96838ce3f09c79"
32
32
  }
@@ -5,7 +5,7 @@
5
5
  "primary-white": { "value": "#ffffff" },
6
6
  "primary-blue": { "value": "#004699" },
7
7
  "primary-red": { "value": "#EC0000" },
8
- "dark-blue": { "value": "#00387A" },
8
+ "dark-blue": { "value": "#102E62" },
9
9
  "orange": { "value": "#FF9100" },
10
10
  "yellow": { "value": "#FFE600" },
11
11
  "green": { "value": "#BED200" },
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "amsterdam": {
3
3
  "proportion": {
4
- "extra-tall": { "value": "9 / 16" },
4
+ "x-tall": { "value": "9 / 16" },
5
5
  "tall": { "value": "4 / 5" },
6
6
  "square": { "value": "1 / 1" },
7
7
  "wide": { "value": "5 / 4" },
8
- "extra-wide": { "value": "16 / 9" }
8
+ "x-wide": { "value": "16 / 9" },
9
+ "2x-wide": { "value": "32 / 9" }
9
10
  }
10
11
  }
11
12
  }
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "amsterdam": {
3
3
  "aspect-ratio": {
4
- "extra-tall": { "value": "{amsterdam.proportion.extra-tall}" },
4
+ "x-tall": { "value": "{amsterdam.proportion.x-tall}" },
5
5
  "tall": { "value": "{amsterdam.proportion.tall}" },
6
6
  "square": { "value": "{amsterdam.proportion.square}" },
7
7
  "wide": { "value": "{amsterdam.proportion.wide}" },
8
- "extra-wide": { "value": "{amsterdam.proportion.extra-wide}" }
8
+ "x-wide": { "value": "{amsterdam.proportion.x-wide}" },
9
+ "2x-wide": { "value": "{amsterdam.proportion.2x-wide}" }
9
10
  }
10
11
  }
11
12
  }
@@ -7,6 +7,9 @@
7
7
  "font-family": {
8
8
  "value": "{amsterdam.typography.font-family}"
9
9
  },
10
+ "font-weight": {
11
+ "value": "{amsterdam.typography.font-weight.normal}"
12
+ },
10
13
  "line-height": {
11
14
  "value": "{amsterdam.typography.text-level.7.line-height}"
12
15
  },
@@ -23,10 +23,7 @@
23
23
  },
24
24
  "focus": {
25
25
  "box-shadow": {
26
- "value": "inset 0 0 0 3px {amsterdam.color.dark-blue}"
27
- },
28
- "color": {
29
- "value": "{amsterdam.color.dark-blue}"
26
+ "value": "inset 0 0 0 2px {amsterdam.color.primary-blue}"
30
27
  }
31
28
  }
32
29
  },
@@ -35,11 +32,6 @@
35
32
  "box-shadow": {
36
33
  "value": "inset 0 0 0 2px {amsterdam.color.neutral-grey3}"
37
34
  }
38
- },
39
- "focus": {
40
- "box-shadow": {
41
- "value": "inset 0 0 0 2px {amsterdam.color.neutral-grey3}"
42
- }
43
35
  }
44
36
  }
45
37
  }
@@ -0,0 +1,13 @@
1
+ {
2
+ "amsterdam": {
3
+ "card": {
4
+ "link": {
5
+ "color": { "value": "{amsterdam.color.primary-blue}" },
6
+ "hover": {
7
+ "color": { "value": "{amsterdam.color.dark-blue}" }
8
+ }
9
+ },
10
+ "outline-offset": { "value": "{amsterdam.focus.outline-offset}" }
11
+ }
12
+ }
13
+ }
@@ -0,0 +1,47 @@
1
+ {
2
+ "amsterdam": {
3
+ "dialog": {
4
+ "background-color": { "value": "{amsterdam.color.primary-white}" },
5
+ "border": { "value": "0" },
6
+ "max-inline-size": { "value": "min(87.69vw, 45rem)" },
7
+ "title": {
8
+ "color": { "value": "{amsterdam.color.primary-black}" },
9
+ "font-family": { "value": "{amsterdam.typography.font-family}" },
10
+ "font-weight": { "value": "{amsterdam.typography.font-weight.bold}" },
11
+ "line-height": { "value": "{amsterdam.typography.text-level.5.line-height}" },
12
+ "narrow": {
13
+ "font-size": { "value": "{amsterdam.typography.text-level.5.narrow.font-size}" }
14
+ },
15
+ "wide": {
16
+ "font-size": { "value": "{amsterdam.typography.text-level.5.wide.font-size}" }
17
+ }
18
+ },
19
+ "backdrop": {
20
+ "background": { "value": "#0006" }
21
+ },
22
+ "close": {
23
+ "background-color": { "value": "transparent" },
24
+ "fill": { "value": "{amsterdam.color.primary-black}" },
25
+ "hover": {
26
+ "fill": { "value": "{amsterdam.color.primary-blue}" }
27
+ }
28
+ },
29
+ "form": {
30
+ "gap": { "value": "1.5rem" },
31
+ "padding-block": { "value": "clamp(1.5rem, calc(1.5rem + ((1vw - 0.5337rem) * 2.1448)), 2.5rem)" },
32
+ "padding-inline": { "value": "clamp(1.5rem, calc(1.5rem + ((1vw - 0.5337rem) * 2.1448)), 2.5rem)" },
33
+ "max-block-size": { "value": "75vh" }
34
+ },
35
+ "article": {
36
+ "padding-inline-end": { "value": "1.5rem" }
37
+ },
38
+ "header": {
39
+ "gap": { "value": "1rem" }
40
+ },
41
+ "footer": {
42
+ "gap": { "value": "1rem" },
43
+ "padding-block": { "value": "1.5rem 0" }
44
+ }
45
+ }
46
+ }
47
+ }
@@ -0,0 +1,39 @@
1
+ {
2
+ "amsterdam": {
3
+ "grid": {
4
+ "column-count": {
5
+ "value": "4"
6
+ },
7
+ "density-low": {
8
+ "gap": {
9
+ "value": "clamp(1rem, calc(3.125vw + 0.375rem), 3.5rem)",
10
+ "comment": "Grows from 16px at 320px wide to 56px at 1600px wide."
11
+ },
12
+ "padding-inline": {
13
+ "value": "clamp(1.5rem, calc(4.6875vw + 0.5625rem), 5.25rem)",
14
+ "comment": "Equals 1.5 times the gap."
15
+ }
16
+ },
17
+ "density-high": {
18
+ "gap": {
19
+ "value": "clamp(1rem, calc(1.5625vw - 0.0625rem), 2.5rem)",
20
+ "comment": "Grows from 16px at 1088px wide to 40px at 2624px wide."
21
+ },
22
+ "padding-inline": {
23
+ "value": "clamp(1rem, calc(1.5625vw - 0.0625rem), 2.5rem)",
24
+ "comment": "Equals the gap."
25
+ }
26
+ },
27
+ "medium": {
28
+ "column-count": {
29
+ "value": "8"
30
+ }
31
+ },
32
+ "wide": {
33
+ "column-count": {
34
+ "value": "12"
35
+ }
36
+ }
37
+ }
38
+ }
39
+ }
@@ -0,0 +1,46 @@
1
+ {
2
+ "amsterdam": {
3
+ "highlight": {
4
+ "blue": {
5
+ "background-color": {
6
+ "value": "{amsterdam.color.primary-blue}"
7
+ }
8
+ },
9
+ "dark-green": {
10
+ "background-color": {
11
+ "value": "{amsterdam.color.dark-green}"
12
+ }
13
+ },
14
+ "green": {
15
+ "background-color": {
16
+ "value": "{amsterdam.color.green}"
17
+ }
18
+ },
19
+ "light-blue": {
20
+ "background-color": {
21
+ "value": "{amsterdam.color.blue}"
22
+ }
23
+ },
24
+ "magenta": {
25
+ "background-color": {
26
+ "value": "{amsterdam.color.magenta}"
27
+ }
28
+ },
29
+ "orange": {
30
+ "background-color": {
31
+ "value": "{amsterdam.color.orange}"
32
+ }
33
+ },
34
+ "purple": {
35
+ "background-color": {
36
+ "value": "{amsterdam.color.purple}"
37
+ }
38
+ },
39
+ "yellow": {
40
+ "background-color": {
41
+ "value": "{amsterdam.color.yellow}"
42
+ }
43
+ }
44
+ }
45
+ }
46
+ }
@@ -9,11 +9,11 @@
9
9
  "font-weight": {
10
10
  "value": "{amsterdam.typography.font-weight.normal}"
11
11
  },
12
- "focus": {
12
+ "hover": {
13
13
  "color": { "value": "{amsterdam.color.dark-blue}" }
14
14
  },
15
15
  "inline": {
16
- "focus": {
16
+ "hover": {
17
17
  "text-decoration": { "value": "underline" },
18
18
  "text-underline-offset": { "value": "3px" }
19
19
  },
@@ -27,13 +27,14 @@
27
27
  "value": "inherit"
28
28
  },
29
29
  "text-decoration": { "value": "none" },
30
+ "text-decoration-thickness": { "value": "2px" },
30
31
  "visited": {
31
32
  "color": { "value": "{amsterdam.color.purple}" }
32
33
  }
33
34
  },
34
35
  "in-list": {
35
36
  "gap": { "value": "0.5em" },
36
- "focus": {
37
+ "hover": {
37
38
  "text-decoration": { "value": "underline" },
38
39
  "text-decoration-thickness": { "value": "2px" },
39
40
  "text-underline-offset": { "value": "7px" }
@@ -50,7 +51,7 @@
50
51
  "standalone": {
51
52
  "text-underline-offset": { "value": "8px" },
52
53
  "text-decoration-thickness": { "value": "2px" },
53
- "focus": {
54
+ "hover": {
54
55
  "text-decoration-thickness": { "value": "3px" },
55
56
  "text-underline-offset": { "value": "7px" }
56
57
  },
@@ -0,0 +1,10 @@
1
+ {
2
+ "amsterdam": {
3
+ "logo": {
4
+ "height": { "value": "2.5rem" },
5
+ "emblem": { "color": { "value": "{amsterdam.color.primary-red}" } },
6
+ "title": { "color": { "value": "{amsterdam.color.primary-red}" } },
7
+ "subsite": { "color": { "value": "{amsterdam.color.primary-black}" } }
8
+ }
9
+ }
10
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "amsterdam": {
3
+ "pagination": {
4
+ "color": { "value": "{amsterdam.color.primary-blue}" },
5
+ "font-family": {
6
+ "value": "{amsterdam.typography.font-family}"
7
+ },
8
+ "font-weight": {
9
+ "value": "{amsterdam.typography.font-weight.normal}"
10
+ },
11
+ "line-height": { "value": "{amsterdam.typography.text-level.6.line-height}" },
12
+ "narrow": {
13
+ "font-size": { "value": "{amsterdam.typography.text-level.6.narrow.font-size}" }
14
+ },
15
+ "wide": {
16
+ "font-size": { "value": "{amsterdam.typography.text-level.6.wide.font-size}" }
17
+ },
18
+ "button": {
19
+ "current": {
20
+ "font-weight": {
21
+ "value": "{amsterdam.typography.font-weight.bold}"
22
+ }
23
+ },
24
+ "hover": {
25
+ "color": { "value": "{amsterdam.color.dark-blue}" }
26
+ },
27
+ "outline-offset": { "value": "{amsterdam.focus.outline-offset}" }
28
+ }
29
+ }
30
+ }
31
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "amsterdam": {
3
+ "screen": {
4
+ "wide": {
5
+ "max-width": { "value": "100rem" }
6
+ },
7
+ "x-wide": {
8
+ "max-width": { "value": "132rem" }
9
+ }
10
+ }
11
+ }
12
+ }