@amsterdam/design-system-tokens 0.1.5 → 0.1.7

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 Wed, 04 Oct 2023 10:51:08 GMT
3
+ // Generated on Fri, 17 Nov 2023 13:11:48 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,22 +35,32 @@
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-link-standalone-hover-text-underline-offset: 7px;
39
+ @amsterdam-link-standalone-hover-text-decoration-thickness: 3px;
39
40
  @amsterdam-link-standalone-text-decoration-thickness: 2px;
40
41
  @amsterdam-link-standalone-text-underline-offset: 8px;
41
42
  @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;
43
+ @amsterdam-link-in-list-hover-text-underline-offset: 7px;
44
+ @amsterdam-link-in-list-hover-text-decoration-thickness: 2px;
45
+ @amsterdam-link-in-list-hover-text-decoration: underline;
45
46
  @amsterdam-link-in-list-gap: 0.5em;
47
+ @amsterdam-link-inline-text-decoration-thickness: 2px;
46
48
  @amsterdam-link-inline-text-decoration: none;
47
49
  @amsterdam-link-inline-line-height: inherit;
48
50
  @amsterdam-link-inline-font-size: inherit;
49
51
  @amsterdam-link-inline-font-family: inherit;
50
- @amsterdam-link-inline-focus-text-underline-offset: 3px;
51
- @amsterdam-link-inline-focus-text-decoration: underline;
52
+ @amsterdam-link-inline-hover-text-underline-offset: 3px;
53
+ @amsterdam-link-inline-hover-text-decoration: underline;
54
+ @amsterdam-grid-wide-column-count: 12;
55
+ @amsterdam-grid-medium-column-count: 8;
56
+ @amsterdam-grid-density-high-padding-inline: clamp(1rem, 1.5625vw - 0.0625rem, 2.5rem); // Equals the gap.
57
+ @amsterdam-grid-density-high-gap: clamp(1rem, 1.5625vw - 0.0625rem, 2.5rem); // Grows from 16px at 1088px wide to 40px at 2624px wide.
58
+ @amsterdam-grid-density-low-padding-inline: clamp(1.5rem, 4.6875vw + 0.5625rem, 5.25rem); // Equals 1.5 times the gap.
59
+ @amsterdam-grid-density-low-gap: clamp(1rem, 3.125vw + 0.375rem, 3.5rem); // Grows from 16px at 320px wide to 56px at 1600px wide.
60
+ @amsterdam-grid-column-count: 4;
52
61
  @amsterdam-breadcrumb-item-link-focus-text-decoration: underline;
62
+ @amsterdam-alert-close-background-color: transparent;
63
+ @amsterdam-alert-gap: 1rem;
53
64
  @amsterdam-spacing-inset-xl: 2.5rem;
54
65
  @amsterdam-spacing-inset-lg: 1.5rem;
55
66
  @amsterdam-spacing-inset-md: 1rem;
@@ -85,6 +96,12 @@
85
96
  @amsterdam-typography-font-weight-bold: 800;
86
97
  @amsterdam-typography-font-weight-normal: 400;
87
98
  @amsterdam-typography-font-family: 'Amsterdam Sans', Arial, sans-serif;
99
+ @amsterdam-proportion-2x-wide: 32 / 9;
100
+ @amsterdam-proportion-x-wide: 16 / 9;
101
+ @amsterdam-proportion-wide: 5 / 4;
102
+ @amsterdam-proportion-square: 1 / 1;
103
+ @amsterdam-proportion-tall: 4 / 5;
104
+ @amsterdam-proportion-x-tall: 9 / 16;
88
105
  @amsterdam-color-neutral-grey4: #323232;
89
106
  @amsterdam-color-neutral-grey3: #767676;
90
107
  @amsterdam-color-neutral-grey2: #B4B4B4;
@@ -96,7 +113,7 @@
96
113
  @amsterdam-color-green: #BED200;
97
114
  @amsterdam-color-yellow: #FFE600;
98
115
  @amsterdam-color-orange: #FF9100;
99
- @amsterdam-color-dark-blue: #00387A;
116
+ @amsterdam-color-dark-blue: #102E62;
100
117
  @amsterdam-color-primary-red: #EC0000;
101
118
  @amsterdam-color-primary-blue: #004699;
102
119
  @amsterdam-color-primary-white: #ffffff;
@@ -110,7 +127,6 @@
110
127
  @utrecht-button-secondary-action-hover-color: @amsterdam-color-dark-blue;
111
128
  @utrecht-button-secondary-action-color: @amsterdam-color-primary-blue;
112
129
  @utrecht-button-secondary-action-background-color: @amsterdam-color-primary-white;
113
- @utrecht-button-primary-action-focus-background-color: @amsterdam-color-dark-blue;
114
130
  @utrecht-button-primary-action-hover-background-color: @amsterdam-color-dark-blue;
115
131
  @utrecht-button-primary-action-disabled-background-color: @amsterdam-color-neutral-grey2;
116
132
  @utrecht-button-primary-action-color: @amsterdam-color-primary-white;
@@ -128,7 +144,7 @@
128
144
  @amsterdam-unordered-list-wide-font-size: @amsterdam-typography-text-level-6-wide-font-size;
129
145
  @amsterdam-unordered-list-narrow-font-size: @amsterdam-typography-text-level-6-narrow-font-size;
130
146
  @amsterdam-unordered-list-line-height: @amsterdam-typography-text-level-6-line-height;
131
- @amsterdam-unordered-list-font-weight: 400;
147
+ @amsterdam-unordered-list-font-weight: @amsterdam-typography-font-weight-normal;
132
148
  @amsterdam-unordered-list-font-family: @amsterdam-typography-font-family;
133
149
  @amsterdam-unordered-list-color: @amsterdam-color-primary-black;
134
150
  @amsterdam-top-task-link-outline-offset: @amsterdam-focus-outline-offset;
@@ -136,15 +152,22 @@
136
152
  @amsterdam-top-task-link-label-narrow-font-size: @amsterdam-typography-text-level-4-narrow-font-size;
137
153
  @amsterdam-top-task-link-label-line-height: @amsterdam-typography-text-level-4-line-height;
138
154
  @amsterdam-top-task-link-label-hover-color: @amsterdam-color-dark-blue;
139
- @amsterdam-top-task-link-label-font-weight: 800;
155
+ @amsterdam-top-task-link-label-font-weight: @amsterdam-typography-font-weight-bold;
140
156
  @amsterdam-top-task-link-label-font-family: @amsterdam-typography-font-family;
141
157
  @amsterdam-top-task-link-label-color: @amsterdam-color-primary-blue;
142
158
  @amsterdam-top-task-link-description-wide-font-size: @amsterdam-typography-text-level-7-wide-font-size;
143
159
  @amsterdam-top-task-link-description-narrow-font-size: @amsterdam-typography-text-level-7-narrow-font-size;
144
160
  @amsterdam-top-task-link-description-line-height: @amsterdam-typography-text-level-7-line-height;
145
- @amsterdam-top-task-link-description-font-weight: 400;
161
+ @amsterdam-top-task-link-description-font-weight: @amsterdam-typography-font-weight-normal;
146
162
  @amsterdam-top-task-link-description-font-family: @amsterdam-typography-font-family;
147
163
  @amsterdam-top-task-link-description-color: @amsterdam-color-primary-black;
164
+ @amsterdam-switch-disabled-background-color: @amsterdam-color-neutral-grey2;
165
+ @amsterdam-switch-outline-offset: @amsterdam-focus-outline-offset;
166
+ @amsterdam-switch-checked-background-color: @amsterdam-color-primary-blue;
167
+ @amsterdam-switch-thumb-hover-color: @amsterdam-color-dark-blue;
168
+ @amsterdam-switch-thumb-background-color: @amsterdam-color-primary-white;
169
+ @amsterdam-switch-background-color: @amsterdam-color-neutral-grey3;
170
+ @amsterdam-switch-font-family: @amsterdam-typography-font-family;
148
171
  @amsterdam-paragraph-large-wide-font-size: @amsterdam-typography-text-level-5-wide-font-size;
149
172
  @amsterdam-paragraph-large-narrow-font-size: @amsterdam-typography-text-level-5-narrow-font-size;
150
173
  @amsterdam-paragraph-large-line-height: @amsterdam-typography-text-level-5-line-height;
@@ -155,18 +178,27 @@
155
178
  @amsterdam-paragraph-narrow-font-size: @amsterdam-typography-text-level-6-narrow-font-size;
156
179
  @amsterdam-paragraph-line-height: @amsterdam-typography-text-level-6-line-height;
157
180
  @amsterdam-paragraph-inverse-color: @amsterdam-color-primary-white;
158
- @amsterdam-paragraph-font-weight: 400;
181
+ @amsterdam-paragraph-font-weight: @amsterdam-typography-font-weight-normal;
159
182
  @amsterdam-paragraph-font-family: @amsterdam-typography-font-family;
160
183
  @amsterdam-paragraph-color: @amsterdam-color-primary-black;
184
+ @amsterdam-pagination-button-outline-offset: @amsterdam-focus-outline-offset;
185
+ @amsterdam-pagination-button-hover-color: @amsterdam-color-dark-blue;
186
+ @amsterdam-pagination-button-current-font-weight: @amsterdam-typography-font-weight-bold;
187
+ @amsterdam-pagination-wide-font-size: @amsterdam-typography-text-level-6-wide-font-size;
188
+ @amsterdam-pagination-narrow-font-size: @amsterdam-typography-text-level-6-narrow-font-size;
189
+ @amsterdam-pagination-line-height: @amsterdam-typography-text-level-6-line-height;
190
+ @amsterdam-pagination-font-weight: @amsterdam-typography-font-weight-normal;
191
+ @amsterdam-pagination-font-family: @amsterdam-typography-font-family;
192
+ @amsterdam-pagination-color: @amsterdam-color-primary-blue;
161
193
  @amsterdam-page-menu-item-hover-color: @amsterdam-color-primary-black;
162
194
  @amsterdam-page-menu-item-wide-font-size: @amsterdam-typography-text-level-7-wide-font-size;
163
195
  @amsterdam-page-menu-item-narrow-font-size: @amsterdam-typography-text-level-7-narrow-font-size;
164
196
  @amsterdam-page-menu-item-line-height: @amsterdam-typography-text-level-7-line-height;
165
- @amsterdam-page-menu-item-font-weight: 400;
197
+ @amsterdam-page-menu-item-font-weight: @amsterdam-typography-font-weight-normal;
166
198
  @amsterdam-page-menu-item-font-family: @amsterdam-typography-font-family;
167
199
  @amsterdam-page-menu-item-color: @amsterdam-color-primary-black;
168
200
  @amsterdam-page-heading-inverse-color: @amsterdam-color-primary-white;
169
- @amsterdam-page-heading-font-weight: 800;
201
+ @amsterdam-page-heading-font-weight: @amsterdam-typography-font-weight-bold;
170
202
  @amsterdam-page-heading-wide-font-size: @amsterdam-typography-text-level-0-wide-font-size;
171
203
  @amsterdam-page-heading-narrow-font-size: @amsterdam-typography-text-level-0-narrow-font-size;
172
204
  @amsterdam-page-heading-line-height: @amsterdam-typography-text-level-0-line-height;
@@ -175,7 +207,7 @@
175
207
  @amsterdam-ordered-list-wide-font-size: @amsterdam-typography-text-level-6-wide-font-size;
176
208
  @amsterdam-ordered-list-narrow-font-size: @amsterdam-typography-text-level-6-narrow-font-size;
177
209
  @amsterdam-ordered-list-line-height: @amsterdam-typography-text-level-6-line-height;
178
- @amsterdam-ordered-list-font-weight: 400;
210
+ @amsterdam-ordered-list-font-weight: @amsterdam-typography-font-weight-normal;
179
211
  @amsterdam-ordered-list-font-family: @amsterdam-typography-font-family;
180
212
  @amsterdam-ordered-list-color: @amsterdam-color-primary-black;
181
213
  @amsterdam-link-on-background-light-visited-color: @amsterdam-color-primary-black;
@@ -191,8 +223,8 @@
191
223
  @amsterdam-link-in-list-narrow-font-size: @amsterdam-typography-text-level-7-narrow-font-size;
192
224
  @amsterdam-link-in-list-line-height: @amsterdam-typography-text-level-7-line-height;
193
225
  @amsterdam-link-inline-visited-color: @amsterdam-color-purple;
194
- @amsterdam-link-focus-color: @amsterdam-color-dark-blue;
195
- @amsterdam-link-font-weight: 400;
226
+ @amsterdam-link-hover-color: @amsterdam-color-dark-blue;
227
+ @amsterdam-link-font-weight: @amsterdam-typography-font-weight-normal;
196
228
  @amsterdam-link-font-family: @amsterdam-typography-font-family;
197
229
  @amsterdam-link-outline-offset: @amsterdam-focus-outline-offset;
198
230
  @amsterdam-link-color: @amsterdam-color-primary-blue;
@@ -211,8 +243,16 @@
211
243
  @amsterdam-icon-size-3-container-multiplier: @amsterdam-typography-text-level-3-line-height;
212
244
  @amsterdam-icon-size-3-icon-size-wide: @amsterdam-typography-text-level-3-wide-font-size;
213
245
  @amsterdam-icon-size-3-icon-size-narrow: @amsterdam-typography-text-level-3-narrow-font-size;
246
+ @amsterdam-highlight-yellow-background-color: @amsterdam-color-yellow;
247
+ @amsterdam-highlight-purple-background-color: @amsterdam-color-purple;
248
+ @amsterdam-highlight-orange-background-color: @amsterdam-color-orange;
249
+ @amsterdam-highlight-magenta-background-color: @amsterdam-color-magenta;
250
+ @amsterdam-highlight-light-blue-background-color: @amsterdam-color-blue;
251
+ @amsterdam-highlight-green-background-color: @amsterdam-color-green;
252
+ @amsterdam-highlight-dark-green-background-color: @amsterdam-color-dark-green;
253
+ @amsterdam-highlight-blue-background-color: @amsterdam-color-primary-blue;
214
254
  @amsterdam-heading-inverse-color: @amsterdam-color-primary-white;
215
- @amsterdam-heading-font-weight: 800;
255
+ @amsterdam-heading-font-weight: @amsterdam-typography-font-weight-bold;
216
256
  @amsterdam-heading-font-family: @amsterdam-typography-font-family;
217
257
  @amsterdam-heading-color: @amsterdam-color-primary-black;
218
258
  @amsterdam-heading-4-wide-font-size: @amsterdam-typography-text-level-4-wide-font-size;
@@ -230,7 +270,7 @@
230
270
  @amsterdam-form-label-wide-font-size: @amsterdam-typography-text-level-7-wide-font-size;
231
271
  @amsterdam-form-label-narrow-font-size: @amsterdam-typography-text-level-7-narrow-font-size;
232
272
  @amsterdam-form-label-line-height: @amsterdam-typography-text-level-7-line-height;
233
- @amsterdam-form-label-font-weight: 800;
273
+ @amsterdam-form-label-font-weight: @amsterdam-typography-font-weight-bold;
234
274
  @amsterdam-form-label-font-family: @amsterdam-typography-font-family;
235
275
  @amsterdam-form-label-color: @amsterdam-color-primary-black;
236
276
  @amsterdam-footer-top-background-color: @amsterdam-color-primary-blue;
@@ -239,7 +279,7 @@
239
279
  @amsterdam-checkbox-line-height: @amsterdam-typography-text-level-6-line-height;
240
280
  @amsterdam-checkbox-outline-offset: @amsterdam-focus-outline-offset;
241
281
  @amsterdam-checkbox-hover-color: @amsterdam-color-dark-blue;
242
- @amsterdam-checkbox-font-weight: 400;
282
+ @amsterdam-checkbox-font-weight: @amsterdam-typography-font-weight-normal;
243
283
  @amsterdam-checkbox-font-family: @amsterdam-typography-font-family;
244
284
  @amsterdam-checkbox-disabled-color: @amsterdam-color-neutral-grey3;
245
285
  @amsterdam-checkbox-checkmark-multiplier: @amsterdam-typography-text-level-6-line-height;
@@ -263,10 +303,11 @@
263
303
  @amsterdam-checkbox-checkmark-checked-background-color: @amsterdam-color-primary-blue;
264
304
  @amsterdam-checkbox-checkmark-border-color: @amsterdam-color-primary-blue;
265
305
  @amsterdam-checkbox-color: @amsterdam-color-primary-black;
266
- @amsterdam-button-tertiary-focus-box-shadow: inset 0 0 0 2px @amsterdam-color-neutral-grey3;
306
+ @amsterdam-card-outline-offset: @amsterdam-focus-outline-offset;
307
+ @amsterdam-card-link-hover-color: @amsterdam-color-dark-blue;
308
+ @amsterdam-card-link-color: @amsterdam-color-primary-blue;
267
309
  @amsterdam-button-tertiary-hover-box-shadow: inset 0 0 0 2px @amsterdam-color-neutral-grey3;
268
- @amsterdam-button-secondary-focus-color: @amsterdam-color-dark-blue;
269
- @amsterdam-button-secondary-focus-box-shadow: inset 0 0 0 3px @amsterdam-color-dark-blue;
310
+ @amsterdam-button-secondary-focus-box-shadow: inset 0 0 0 2px @amsterdam-color-primary-blue;
270
311
  @amsterdam-button-secondary-disabled-box-shadow: inset 0 0 0 2px @amsterdam-color-neutral-grey2;
271
312
  @amsterdam-button-secondary-hover-box-shadow: inset 0 0 0 3px @amsterdam-color-dark-blue;
272
313
  @amsterdam-button-secondary-box-shadow: inset 0 0 0 2px @amsterdam-color-primary-blue;
@@ -279,20 +320,45 @@
279
320
  @amsterdam-breadcrumb-wide-font-size: @amsterdam-typography-text-level-7-wide-font-size;
280
321
  @amsterdam-breadcrumb-narrow-font-size: @amsterdam-typography-text-level-7-narrow-font-size;
281
322
  @amsterdam-breadcrumb-line-height: @amsterdam-typography-text-level-7-line-height;
323
+ @amsterdam-breadcrumb-font-weight: @amsterdam-typography-font-weight-normal;
282
324
  @amsterdam-breadcrumb-font-family: @amsterdam-typography-font-family;
283
325
  @amsterdam-breadcrumb-color: @amsterdam-color-primary-blue;
284
326
  @amsterdam-blockquote-wide-font-size: @amsterdam-typography-text-level-3-wide-font-size;
285
327
  @amsterdam-blockquote-narrow-font-size: @amsterdam-typography-text-level-3-narrow-font-size;
286
328
  @amsterdam-blockquote-line-height: @amsterdam-typography-text-level-3-line-height;
287
329
  @amsterdam-blockquote-inverse-color: @amsterdam-color-primary-white;
288
- @amsterdam-blockquote-font-weight: 800;
330
+ @amsterdam-blockquote-font-weight: @amsterdam-typography-font-weight-bold;
289
331
  @amsterdam-blockquote-font-family: @amsterdam-typography-font-family;
290
332
  @amsterdam-blockquote-color: @amsterdam-color-primary-black;
333
+ @amsterdam-aspect-ratio-2x-wide: @amsterdam-proportion-2x-wide;
334
+ @amsterdam-aspect-ratio-x-wide: @amsterdam-proportion-x-wide;
335
+ @amsterdam-aspect-ratio-wide: @amsterdam-proportion-wide;
336
+ @amsterdam-aspect-ratio-square: @amsterdam-proportion-square;
337
+ @amsterdam-aspect-ratio-tall: @amsterdam-proportion-tall;
338
+ @amsterdam-aspect-ratio-x-tall: @amsterdam-proportion-x-tall;
339
+ @amsterdam-alert-close-hover-fill: @amsterdam-color-primary-blue;
340
+ @amsterdam-alert-close-fill: @amsterdam-color-primary-black;
341
+ @amsterdam-alert-success-border-color: @amsterdam-color-dark-green;
342
+ @amsterdam-alert-success-background-color: @amsterdam-color-primary-white;
343
+ @amsterdam-alert-error-border-color: @amsterdam-color-primary-red;
344
+ @amsterdam-alert-error-background-color: @amsterdam-color-primary-white;
345
+ @amsterdam-alert-title-wide-font-size: @amsterdam-typography-text-level-5-wide-font-size;
346
+ @amsterdam-alert-title-narrow-font-size: @amsterdam-typography-text-level-5-narrow-font-size;
347
+ @amsterdam-alert-title-line-height: @amsterdam-typography-text-level-5-line-height;
348
+ @amsterdam-alert-title-font-weight: @amsterdam-typography-font-weight-bold;
349
+ @amsterdam-alert-title-font-family: @amsterdam-typography-font-family;
350
+ @amsterdam-alert-title-color: @amsterdam-color-primary-black;
351
+ @amsterdam-alert-padding-inline-end: @amsterdam-spacing-inset-lg;
352
+ @amsterdam-alert-padding-inline-start: @amsterdam-spacing-inset-lg;
353
+ @amsterdam-alert-padding-block-end: @amsterdam-spacing-inset-md;
354
+ @amsterdam-alert-padding-block-start: @amsterdam-spacing-inset-md;
355
+ @amsterdam-alert-border: 4px solid @amsterdam-color-yellow;
356
+ @amsterdam-alert-background-color: @amsterdam-color-yellow;
291
357
  @amsterdam-accordion-button-hover-box-shadow: inset 0 0 0 2px @amsterdam-color-neutral-grey3;
292
358
  @amsterdam-accordion-button-wide-font-size: @amsterdam-typography-text-level-5-wide-font-size;
293
359
  @amsterdam-accordion-button-narrow-font-size: @amsterdam-typography-text-level-5-narrow-font-size;
294
360
  @amsterdam-accordion-button-line-height: @amsterdam-typography-text-level-5-line-height;
295
- @amsterdam-accordion-button-font-weight: 800;
361
+ @amsterdam-accordion-button-font-weight: @amsterdam-typography-font-weight-bold;
296
362
  @amsterdam-accordion-button-font-family: @amsterdam-typography-font-family;
297
363
  @amsterdam-accordion-button-focus-outline-offset: @amsterdam-focus-outline-offset;
298
364
  @amsterdam-accordion-button-color: @amsterdam-color-primary-blue;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.5",
2
+ "version": "0.1.7",
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": "58764d2cd6d59d20fd0e3215f32461c6c580df1b"
31
+ "gitHead": "703538926459edf62102d1fe7b6bd15ab511865d"
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" },
@@ -0,0 +1,12 @@
1
+ {
2
+ "amsterdam": {
3
+ "proportion": {
4
+ "x-tall": { "value": "9 / 16" },
5
+ "tall": { "value": "4 / 5" },
6
+ "square": { "value": "1 / 1" },
7
+ "wide": { "value": "5 / 4" },
8
+ "x-wide": { "value": "16 / 9" },
9
+ "2x-wide": { "value": "32 / 9" }
10
+ }
11
+ }
12
+ }
@@ -0,0 +1,40 @@
1
+ {
2
+ "amsterdam": {
3
+ "alert": {
4
+ "background-color": { "value": "{amsterdam.color.yellow}" },
5
+ "border": { "value": "4px solid {amsterdam.color.yellow}" },
6
+ "gap": { "value": "1rem" },
7
+ "padding-block-start": { "value": "{amsterdam.spacing.inset.md}" },
8
+ "padding-block-end": { "value": "{amsterdam.spacing.inset.md}" },
9
+ "padding-inline-start": { "value": "{amsterdam.spacing.inset.lg}" },
10
+ "padding-inline-end": { "value": "{amsterdam.spacing.inset.lg}" },
11
+ "title": {
12
+ "color": { "value": "{amsterdam.color.primary-black}" },
13
+ "font-family": { "value": "{amsterdam.typography.font-family}" },
14
+ "font-weight": { "value": "{amsterdam.typography.font-weight.bold}" },
15
+ "line-height": { "value": "{amsterdam.typography.text-level.5.line-height}" },
16
+ "narrow": {
17
+ "font-size": { "value": "{amsterdam.typography.text-level.5.narrow.font-size}" }
18
+ },
19
+ "wide": {
20
+ "font-size": { "value": "{amsterdam.typography.text-level.5.wide.font-size}" }
21
+ }
22
+ },
23
+ "error": {
24
+ "background-color": { "value": "{amsterdam.color.primary-white}" },
25
+ "border-color": { "value": "{amsterdam.color.primary-red}" }
26
+ },
27
+ "success": {
28
+ "background-color": { "value": "{amsterdam.color.primary-white}" },
29
+ "border-color": { "value": "{amsterdam.color.dark-green}" }
30
+ },
31
+ "close": {
32
+ "background-color": { "value": "transparent" },
33
+ "fill": { "value": "{amsterdam.color.primary-black}" },
34
+ "hover": {
35
+ "fill": { "value": "{amsterdam.color.primary-blue}" }
36
+ }
37
+ }
38
+ }
39
+ }
40
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "amsterdam": {
3
+ "aspect-ratio": {
4
+ "x-tall": { "value": "{amsterdam.proportion.x-tall}" },
5
+ "tall": { "value": "{amsterdam.proportion.tall}" },
6
+ "square": { "value": "{amsterdam.proportion.square}" },
7
+ "wide": { "value": "{amsterdam.proportion.wide}" },
8
+ "x-wide": { "value": "{amsterdam.proportion.x-wide}" },
9
+ "2x-wide": { "value": "{amsterdam.proportion.2x-wide}" }
10
+ }
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,39 @@
1
+ {
2
+ "amsterdam": {
3
+ "grid": {
4
+ "column-count": {
5
+ "value": "4"
6
+ },
7
+ "density-low": {
8
+ "gap": {
9
+ "value": "clamp(1rem, 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, 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, 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, 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,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
+ }
@@ -0,0 +1,44 @@
1
+ {
2
+ "amsterdam": {
3
+ "switch": {
4
+ "font-family": {
5
+ "value": "{amsterdam.typography.font-family}"
6
+ },
7
+ "background-color": {
8
+ "value": "{amsterdam.color.neutral-grey3}"
9
+ },
10
+ "width": {
11
+ "value": "3.5rem"
12
+ },
13
+ "thumb": {
14
+ "background-color": {
15
+ "value": "{amsterdam.color.primary-white}"
16
+ },
17
+ "width": {
18
+ "value": "1.75rem"
19
+ },
20
+ "height": {
21
+ "value": "1.75rem"
22
+ },
23
+ "hover": {
24
+ "color": {
25
+ "value": "{amsterdam.color.dark-blue}"
26
+ }
27
+ }
28
+ },
29
+ "checked": {
30
+ "background-color": {
31
+ "value": "{amsterdam.color.primary-blue}"
32
+ }
33
+ },
34
+ "outline-offset": {
35
+ "value": "{amsterdam.focus.outline-offset}"
36
+ },
37
+ "disabled": {
38
+ "background-color": {
39
+ "value": "{amsterdam.color.neutral-grey2}"
40
+ }
41
+ }
42
+ }
43
+ }
44
+ }