@amsterdam/design-system-tokens 0.3.0 → 0.4.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 +23 -0
- package/dist/_variables.scss +92 -20
- package/dist/index.css +92 -20
- package/dist/index.d.ts +83 -11
- package/dist/index.js +118 -46
- package/dist/index.json +117 -45
- package/dist/index.tokens.json +205 -51
- package/dist/root.css +92 -20
- package/dist/tokens.d.ts +172 -18
- package/dist/tokens.js +3884 -2248
- package/dist/variables.less +92 -20
- package/package.json +3 -3
- package/src/brand/amsterdam/color.tokens.json +5 -6
- package/src/components/amsterdam/alert.tokens.json +12 -9
- package/src/components/amsterdam/badge.tokens.json +49 -0
- package/src/components/amsterdam/dialog.tokens.json +0 -7
- package/src/components/amsterdam/icon-button.tokens.json +37 -0
- package/src/components/amsterdam/link-list.tokens.json +61 -0
- package/src/components/amsterdam/mega-menu.tokens.json +12 -0
- package/src/components/amsterdam/spotlight.tokens.json +3 -3
- package/src/components/amsterdam/table.tokens.json +20 -0
package/dist/variables.less
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
// Do not edit directly
|
|
3
|
-
// Generated on
|
|
3
|
+
// Generated on Wed, 31 Jan 2024 12:56:25 GMT
|
|
4
4
|
|
|
5
5
|
@utrecht-button-subtle-disabled-background-color: transparent;
|
|
6
6
|
@utrecht-button-subtle-background-color: transparent;
|
|
@@ -34,12 +34,18 @@
|
|
|
34
34
|
@amsterdam-ordered-list-item-margin-inline-start: 2.25rem; // Divide your total indentation width over margin and padding to position the marker.
|
|
35
35
|
@amsterdam-ordered-list-list-style-type: decimal;
|
|
36
36
|
@amsterdam-ordered-list-gap: 0.75rem;
|
|
37
|
+
@amsterdam-mega-menu-list-category-padding-block-start: 1rem;
|
|
38
|
+
@amsterdam-mega-menu-list-category-column-width: 20rem;
|
|
37
39
|
@amsterdam-mark-background-color: var(--amsterdam-color-yellow);
|
|
38
40
|
@amsterdam-logo-height: 2.5rem;
|
|
39
41
|
@amsterdam-link-in-list-gap: 0.5em;
|
|
40
42
|
@amsterdam-link-inline-line-height: inherit;
|
|
41
43
|
@amsterdam-link-inline-font-size: inherit;
|
|
42
44
|
@amsterdam-link-inline-font-family: inherit;
|
|
45
|
+
@amsterdam-link-list-link-gap: 0.5em;
|
|
46
|
+
@amsterdam-link-list-gap: 0.5em;
|
|
47
|
+
@amsterdam-icon-button-on-background-light-hover-background-color: rgba(0, 0, 0, 0.125);
|
|
48
|
+
@amsterdam-icon-button-hover-background-color: rgba(0, 70, 153, 0.125);
|
|
43
49
|
@amsterdam-grid-wide-column-count: 12;
|
|
44
50
|
@amsterdam-grid-medium-column-count: 8;
|
|
45
51
|
@amsterdam-grid-compact-padding-inline: clamp(1rem, calc(1.5625vw - 0.0625rem), 2.5rem); // Equals the gap.
|
|
@@ -55,13 +61,14 @@
|
|
|
55
61
|
@amsterdam-dialog-form-padding-inline: clamp(1.5rem, calc(1.5rem + ((1vw - 0.5337rem) * 2.1448)), 2.5rem);
|
|
56
62
|
@amsterdam-dialog-form-padding-block: clamp(1.5rem, calc(1.5rem + ((1vw - 0.5337rem) * 2.1448)), 2.5rem);
|
|
57
63
|
@amsterdam-dialog-form-gap: 1.5rem;
|
|
58
|
-
@amsterdam-dialog-close-background-color: transparent;
|
|
59
64
|
@amsterdam-dialog-backdrop-background: #0006;
|
|
60
65
|
@amsterdam-dialog-max-inline-size: min(87.69vw, 45rem);
|
|
61
66
|
@amsterdam-dialog-border: 0;
|
|
62
67
|
@amsterdam-breadcrumb-separator-background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><path fill='%23000000' fill-rule='evenodd' d='m9.757 32-2.9-2.91L19.937 16 6.857 2.91 9.757 0l16 16z'/></svg>");
|
|
63
|
-
@amsterdam-
|
|
68
|
+
@amsterdam-badge-padding-inline: 0.5rem;
|
|
64
69
|
@amsterdam-alert-gap: 1rem;
|
|
70
|
+
@amsterdam-alert-border-style: solid;
|
|
71
|
+
@amsterdam-alert-border-width: 4px;
|
|
65
72
|
@amsterdam-spacing-inset-xl: 2.5rem;
|
|
66
73
|
@amsterdam-spacing-inset-lg: 1.5rem;
|
|
67
74
|
@amsterdam-spacing-inset-md: 1rem;
|
|
@@ -114,13 +121,12 @@
|
|
|
114
121
|
@amsterdam-proportion-square: 1 / 1;
|
|
115
122
|
@amsterdam-proportion-tall: 4 / 5;
|
|
116
123
|
@amsterdam-proportion-x-tall: 9 / 16;
|
|
117
|
-
@amsterdam-color-neutral-grey4: #323232;
|
|
118
124
|
@amsterdam-color-neutral-grey3: #767676;
|
|
119
|
-
@amsterdam-color-neutral-grey2: #
|
|
120
|
-
@amsterdam-color-neutral-grey1: #
|
|
125
|
+
@amsterdam-color-neutral-grey2: #BEBEBE;
|
|
126
|
+
@amsterdam-color-neutral-grey1: #E8E8E8;
|
|
121
127
|
@amsterdam-color-magenta: #E50082;
|
|
122
128
|
@amsterdam-color-purple: #A00078;
|
|
123
|
-
@amsterdam-color-blue: #
|
|
129
|
+
@amsterdam-color-blue: #009DE6;
|
|
124
130
|
@amsterdam-color-dark-green: #00A03C;
|
|
125
131
|
@amsterdam-color-green: #BED200;
|
|
126
132
|
@amsterdam-color-yellow: #FFE600;
|
|
@@ -128,7 +134,7 @@
|
|
|
128
134
|
@amsterdam-color-dark-blue: #102E62;
|
|
129
135
|
@amsterdam-color-primary-red: #EC0000;
|
|
130
136
|
@amsterdam-color-primary-blue: #004699;
|
|
131
|
-
@amsterdam-color-primary-white: #
|
|
137
|
+
@amsterdam-color-primary-white: #FFFFFF;
|
|
132
138
|
@amsterdam-color-primary-black: #000000;
|
|
133
139
|
@utrecht-button-subtle-disabled-color: @amsterdam-color-neutral-grey2;
|
|
134
140
|
@utrecht-button-subtle-focus-color: @amsterdam-color-dark-blue;
|
|
@@ -194,6 +200,14 @@
|
|
|
194
200
|
@amsterdam-text-input-font-family: @amsterdam-typography-font-family;
|
|
195
201
|
@amsterdam-text-input-color: @amsterdam-color-primary-black;
|
|
196
202
|
@amsterdam-text-input-box-shadow: inset 0 0 0 1px @amsterdam-color-primary-black;
|
|
203
|
+
@amsterdam-table-header-cell-font-weight: @amsterdam-typography-font-weight-bold;
|
|
204
|
+
@amsterdam-table-cell-border-bottom: 1px solid @amsterdam-color-neutral-grey1;
|
|
205
|
+
@amsterdam-table-caption-font-weight: @amsterdam-typography-font-weight-bold;
|
|
206
|
+
@amsterdam-table-line-height: @amsterdam-typography-spacious-text-level-5-line-height;
|
|
207
|
+
@amsterdam-table-font-size: @amsterdam-typography-spacious-text-level-5-font-size;
|
|
208
|
+
@amsterdam-table-font-weight: @amsterdam-typography-font-weight-normal;
|
|
209
|
+
@amsterdam-table-font-family: @amsterdam-typography-font-family;
|
|
210
|
+
@amsterdam-table-color: @amsterdam-color-primary-black;
|
|
197
211
|
@amsterdam-switch-disabled-background-color: @amsterdam-color-neutral-grey2;
|
|
198
212
|
@amsterdam-switch-outline-offset: @amsterdam-focus-outline-offset;
|
|
199
213
|
@amsterdam-switch-checked-background-color: @amsterdam-color-primary-blue;
|
|
@@ -205,10 +219,10 @@
|
|
|
205
219
|
@amsterdam-spotlight-purple-background-color: @amsterdam-color-purple;
|
|
206
220
|
@amsterdam-spotlight-orange-background-color: @amsterdam-color-orange;
|
|
207
221
|
@amsterdam-spotlight-magenta-background-color: @amsterdam-color-magenta;
|
|
208
|
-
@amsterdam-spotlight-light-blue-background-color: @amsterdam-color-blue;
|
|
209
222
|
@amsterdam-spotlight-green-background-color: @amsterdam-color-green;
|
|
210
223
|
@amsterdam-spotlight-dark-green-background-color: @amsterdam-color-dark-green;
|
|
211
|
-
@amsterdam-spotlight-blue-background-color: @amsterdam-color-primary-blue;
|
|
224
|
+
@amsterdam-spotlight-dark-blue-background-color: @amsterdam-color-primary-blue;
|
|
225
|
+
@amsterdam-spotlight-blue-background-color: @amsterdam-color-blue;
|
|
212
226
|
@amsterdam-skip-link-hover-background-color: @amsterdam-color-dark-blue;
|
|
213
227
|
@amsterdam-skip-link-compact-line-height: @amsterdam-typography-compact-text-level-6-line-height;
|
|
214
228
|
@amsterdam-skip-link-compact-font-size: @amsterdam-typography-compact-text-level-6-font-size;
|
|
@@ -291,6 +305,8 @@
|
|
|
291
305
|
@amsterdam-ordered-list-font-weight: @amsterdam-typography-font-weight-normal;
|
|
292
306
|
@amsterdam-ordered-list-font-family: @amsterdam-typography-font-family;
|
|
293
307
|
@amsterdam-ordered-list-color: @amsterdam-color-primary-black;
|
|
308
|
+
@amsterdam-mega-menu-list-category-padding-block-end: @amsterdam-grid-spacious-gap;
|
|
309
|
+
@amsterdam-mega-menu-list-category-column-gap: @amsterdam-grid-spacious-gap;
|
|
294
310
|
@amsterdam-logo-subsite-color: @amsterdam-color-primary-black;
|
|
295
311
|
@amsterdam-logo-title-color: @amsterdam-color-primary-red;
|
|
296
312
|
@amsterdam-logo-emblem-color: @amsterdam-color-primary-red;
|
|
@@ -320,6 +336,25 @@
|
|
|
320
336
|
@amsterdam-link-outline-offset: @amsterdam-focus-outline-offset;
|
|
321
337
|
@amsterdam-link-font-weight: @amsterdam-typography-font-weight-normal;
|
|
322
338
|
@amsterdam-link-font-family: @amsterdam-typography-font-family;
|
|
339
|
+
@amsterdam-link-list-link-hover-text-decoration-line: @amsterdam-link-appearance-subtle-hover-text-decoration-line;
|
|
340
|
+
@amsterdam-link-list-link-compact-large-line-height: @amsterdam-typography-compact-text-level-4-line-height;
|
|
341
|
+
@amsterdam-link-list-link-compact-large-font-size: @amsterdam-typography-compact-text-level-4-font-size;
|
|
342
|
+
@amsterdam-link-list-link-compact-medium-line-height: @amsterdam-typography-compact-text-level-5-line-height;
|
|
343
|
+
@amsterdam-link-list-link-compact-medium-font-size: @amsterdam-typography-compact-text-level-5-font-size;
|
|
344
|
+
@amsterdam-link-list-link-compact-small-line-height: @amsterdam-typography-compact-text-level-6-line-height;
|
|
345
|
+
@amsterdam-link-list-link-compact-small-font-size: @amsterdam-typography-compact-text-level-6-font-size;
|
|
346
|
+
@amsterdam-link-list-link-spacious-large-line-height: @amsterdam-typography-spacious-text-level-4-line-height;
|
|
347
|
+
@amsterdam-link-list-link-spacious-large-font-size: @amsterdam-typography-spacious-text-level-4-font-size;
|
|
348
|
+
@amsterdam-link-list-link-spacious-medium-line-height: @amsterdam-typography-spacious-text-level-5-line-height;
|
|
349
|
+
@amsterdam-link-list-link-spacious-medium-font-size: @amsterdam-typography-spacious-text-level-5-font-size;
|
|
350
|
+
@amsterdam-link-list-link-spacious-small-line-height: @amsterdam-typography-spacious-text-level-6-line-height;
|
|
351
|
+
@amsterdam-link-list-link-spacious-small-font-size: @amsterdam-typography-spacious-text-level-6-font-size;
|
|
352
|
+
@amsterdam-link-list-link-text-underline-offset: @amsterdam-link-appearance-text-underline-offset;
|
|
353
|
+
@amsterdam-link-list-link-text-decoration-thickness: @amsterdam-link-appearance-text-decoration-thickness;
|
|
354
|
+
@amsterdam-link-list-link-text-decoration-line: @amsterdam-link-appearance-subtle-text-decoration-line;
|
|
355
|
+
@amsterdam-link-list-link-outline-offset: @amsterdam-focus-outline-offset;
|
|
356
|
+
@amsterdam-link-list-link-font-weight: @amsterdam-typography-font-weight-normal;
|
|
357
|
+
@amsterdam-link-list-link-font-family: @amsterdam-typography-font-family;
|
|
323
358
|
@amsterdam-icon-compact-size-6-line-height: @amsterdam-typography-compact-text-level-6-line-height;
|
|
324
359
|
@amsterdam-icon-compact-size-6-font-size: @amsterdam-typography-compact-text-level-6-font-size;
|
|
325
360
|
@amsterdam-icon-compact-size-5-line-height: @amsterdam-typography-compact-text-level-5-line-height;
|
|
@@ -336,6 +371,19 @@
|
|
|
336
371
|
@amsterdam-icon-spacious-size-4-font-size: @amsterdam-typography-spacious-text-level-4-font-size;
|
|
337
372
|
@amsterdam-icon-spacious-size-3-line-height: @amsterdam-typography-spacious-text-level-3-line-height;
|
|
338
373
|
@amsterdam-icon-spacious-size-3-font-size: @amsterdam-typography-spacious-text-level-3-font-size;
|
|
374
|
+
@amsterdam-icon-button-on-background-dark-disabled-background-color: @amsterdam-color-neutral-grey2;
|
|
375
|
+
@amsterdam-icon-button-on-background-dark-disabled-color: @amsterdam-color-primary-white;
|
|
376
|
+
@amsterdam-icon-button-on-background-dark-hover-color: @amsterdam-color-primary-white;
|
|
377
|
+
@amsterdam-icon-button-on-background-dark-hover-background-color: @amsterdam-color-dark-blue;
|
|
378
|
+
@amsterdam-icon-button-on-background-dark-color: @amsterdam-color-primary-white;
|
|
379
|
+
@amsterdam-icon-button-on-background-dark-background-color: @amsterdam-color-primary-blue;
|
|
380
|
+
@amsterdam-icon-button-on-background-light-disabled-color: @amsterdam-color-neutral-grey2;
|
|
381
|
+
@amsterdam-icon-button-on-background-light-hover-color: @amsterdam-color-primary-black;
|
|
382
|
+
@amsterdam-icon-button-on-background-light-color: @amsterdam-color-primary-black;
|
|
383
|
+
@amsterdam-icon-button-disabled-color: @amsterdam-color-neutral-grey2;
|
|
384
|
+
@amsterdam-icon-button-hover-color: @amsterdam-color-dark-blue;
|
|
385
|
+
@amsterdam-icon-button-outline-offset: @amsterdam-focus-outline-offset;
|
|
386
|
+
@amsterdam-icon-button-color: @amsterdam-color-primary-blue;
|
|
339
387
|
@amsterdam-heading-compact-level-6-font-size: @amsterdam-typography-compact-text-level-6-font-size;
|
|
340
388
|
@amsterdam-heading-compact-level-6-line-height: @amsterdam-typography-compact-text-level-6-line-height;
|
|
341
389
|
@amsterdam-heading-compact-level-5-font-size: @amsterdam-typography-compact-text-level-5-font-size;
|
|
@@ -372,8 +420,6 @@
|
|
|
372
420
|
@amsterdam-form-label-font-weight: @amsterdam-typography-font-weight-bold;
|
|
373
421
|
@amsterdam-form-label-font-family: @amsterdam-typography-font-family;
|
|
374
422
|
@amsterdam-form-label-color: @amsterdam-color-primary-black;
|
|
375
|
-
@amsterdam-dialog-close-hover-fill: @amsterdam-color-primary-blue;
|
|
376
|
-
@amsterdam-dialog-close-fill: @amsterdam-color-primary-black;
|
|
377
423
|
@amsterdam-dialog-title-compact-line-height: @amsterdam-typography-compact-text-level-5-line-height;
|
|
378
424
|
@amsterdam-dialog-title-compact-font-size: @amsterdam-typography-compact-text-level-5-font-size;
|
|
379
425
|
@amsterdam-dialog-title-spacious-line-height: @amsterdam-typography-spacious-text-level-5-line-height;
|
|
@@ -443,6 +489,28 @@
|
|
|
443
489
|
@amsterdam-blockquote-font-weight: @amsterdam-typography-font-weight-bold;
|
|
444
490
|
@amsterdam-blockquote-font-family: @amsterdam-typography-font-family;
|
|
445
491
|
@amsterdam-blockquote-color: @amsterdam-color-primary-black;
|
|
492
|
+
@amsterdam-badge-yellow-color: @amsterdam-color-primary-black;
|
|
493
|
+
@amsterdam-badge-yellow-background-color: @amsterdam-color-yellow;
|
|
494
|
+
@amsterdam-badge-purple-color: @amsterdam-color-primary-white;
|
|
495
|
+
@amsterdam-badge-purple-background-color: @amsterdam-color-purple;
|
|
496
|
+
@amsterdam-badge-orange-color: @amsterdam-color-primary-black;
|
|
497
|
+
@amsterdam-badge-orange-background-color: @amsterdam-color-orange;
|
|
498
|
+
@amsterdam-badge-magenta-color: @amsterdam-color-primary-white;
|
|
499
|
+
@amsterdam-badge-magenta-background-color: @amsterdam-color-magenta;
|
|
500
|
+
@amsterdam-badge-green-color: @amsterdam-color-primary-black;
|
|
501
|
+
@amsterdam-badge-green-background-color: @amsterdam-color-green;
|
|
502
|
+
@amsterdam-badge-dark-green-color: @amsterdam-color-primary-white;
|
|
503
|
+
@amsterdam-badge-dark-green-background-color: @amsterdam-color-dark-green;
|
|
504
|
+
@amsterdam-badge-dark-blue-color: @amsterdam-color-primary-white;
|
|
505
|
+
@amsterdam-badge-dark-blue-background-color: @amsterdam-color-primary-blue;
|
|
506
|
+
@amsterdam-badge-blue-color: @amsterdam-color-primary-black;
|
|
507
|
+
@amsterdam-badge-blue-background-color: @amsterdam-color-blue;
|
|
508
|
+
@amsterdam-badge-compact-line-height: @amsterdam-typography-compact-text-level-5-line-height;
|
|
509
|
+
@amsterdam-badge-compact-font-size: @amsterdam-typography-compact-text-level-5-font-size;
|
|
510
|
+
@amsterdam-badge-spacious-line-height: @amsterdam-typography-spacious-text-level-5-line-height;
|
|
511
|
+
@amsterdam-badge-spacious-font-size: @amsterdam-typography-spacious-text-level-5-font-size;
|
|
512
|
+
@amsterdam-badge-font-weight: @amsterdam-typography-font-weight-bold;
|
|
513
|
+
@amsterdam-badge-font-family: @amsterdam-typography-font-family;
|
|
446
514
|
@amsterdam-aspect-ratio-2x-wide: @amsterdam-proportion-2x-wide;
|
|
447
515
|
@amsterdam-aspect-ratio-x-wide: @amsterdam-proportion-x-wide;
|
|
448
516
|
@amsterdam-aspect-ratio-wide: @amsterdam-proportion-wide;
|
|
@@ -451,14 +519,14 @@
|
|
|
451
519
|
@amsterdam-aspect-ratio-x-tall: @amsterdam-proportion-x-tall;
|
|
452
520
|
@amsterdam-alert-close-hover-fill: @amsterdam-color-primary-blue;
|
|
453
521
|
@amsterdam-alert-close-fill: @amsterdam-color-primary-black;
|
|
522
|
+
@amsterdam-alert-warning-border-color: @amsterdam-color-orange;
|
|
454
523
|
@amsterdam-alert-success-border-color: @amsterdam-color-dark-green;
|
|
455
|
-
@amsterdam-alert-
|
|
524
|
+
@amsterdam-alert-info-border-color: @amsterdam-color-primary-blue;
|
|
456
525
|
@amsterdam-alert-error-border-color: @amsterdam-color-primary-red;
|
|
457
|
-
@amsterdam-alert-
|
|
458
|
-
@amsterdam-alert-title-compact-
|
|
459
|
-
@amsterdam-alert-title-
|
|
460
|
-
@amsterdam-alert-title-spacious-
|
|
461
|
-
@amsterdam-alert-title-spacious-font-size: @amsterdam-typography-spacious-text-level-5-font-size;
|
|
526
|
+
@amsterdam-alert-title-compact-line-height: @amsterdam-typography-compact-text-level-4-line-height;
|
|
527
|
+
@amsterdam-alert-title-compact-font-size: @amsterdam-typography-compact-text-level-4-font-size;
|
|
528
|
+
@amsterdam-alert-title-spacious-line-height: @amsterdam-typography-spacious-text-level-4-line-height;
|
|
529
|
+
@amsterdam-alert-title-spacious-font-size: @amsterdam-typography-spacious-text-level-4-font-size;
|
|
462
530
|
@amsterdam-alert-title-font-weight: @amsterdam-typography-font-weight-bold;
|
|
463
531
|
@amsterdam-alert-title-font-family: @amsterdam-typography-font-family;
|
|
464
532
|
@amsterdam-alert-title-color: @amsterdam-color-primary-black;
|
|
@@ -466,8 +534,6 @@
|
|
|
466
534
|
@amsterdam-alert-padding-inline-start: @amsterdam-spacing-inset-lg;
|
|
467
535
|
@amsterdam-alert-padding-block-end: @amsterdam-spacing-inset-md;
|
|
468
536
|
@amsterdam-alert-padding-block-start: @amsterdam-spacing-inset-md;
|
|
469
|
-
@amsterdam-alert-border: 4px solid @amsterdam-color-yellow;
|
|
470
|
-
@amsterdam-alert-background-color: @amsterdam-color-yellow;
|
|
471
537
|
@amsterdam-accordion-button-compact-line-height: @amsterdam-typography-compact-text-level-5-line-height;
|
|
472
538
|
@amsterdam-accordion-button-compact-font-size: @amsterdam-typography-compact-text-level-5-font-size;
|
|
473
539
|
@amsterdam-accordion-button-spacious-line-height: @amsterdam-typography-spacious-text-level-5-line-height;
|
|
@@ -494,6 +560,12 @@
|
|
|
494
560
|
@amsterdam-link-on-background-dark-color: @amsterdam-link-appearance-on-background-dark-color;
|
|
495
561
|
@amsterdam-link-hover-color: @amsterdam-link-appearance-hover-color;
|
|
496
562
|
@amsterdam-link-color: @amsterdam-link-appearance-color;
|
|
563
|
+
@amsterdam-link-list-link-on-background-light-hover-color: @amsterdam-link-appearance-on-background-light-color;
|
|
564
|
+
@amsterdam-link-list-link-on-background-light-color: @amsterdam-link-appearance-on-background-light-color;
|
|
565
|
+
@amsterdam-link-list-link-on-background-dark-hover-color: @amsterdam-link-appearance-on-background-dark-color;
|
|
566
|
+
@amsterdam-link-list-link-on-background-dark-color: @amsterdam-link-appearance-on-background-dark-color;
|
|
567
|
+
@amsterdam-link-list-link-hover-color: @amsterdam-link-appearance-hover-color;
|
|
568
|
+
@amsterdam-link-list-link-color: @amsterdam-link-appearance-color;
|
|
497
569
|
@amsterdam-card-link-hover-color: @amsterdam-link-appearance-hover-color;
|
|
498
570
|
@amsterdam-card-link-color: @amsterdam-link-appearance-color;
|
|
499
571
|
@amsterdam-breadcrumb-item-link-color: @amsterdam-link-appearance-color;
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
2
|
+
"version": "0.4.0",
|
|
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.9.
|
|
29
|
+
"style-dictionary": "3.9.2"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "3bc9765e9de9553db5b643d2ed79735837d4d7b6"
|
|
32
32
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"amsterdam": {
|
|
3
3
|
"color": {
|
|
4
4
|
"primary-black": { "value": "#000000" },
|
|
5
|
-
"primary-white": { "value": "#
|
|
5
|
+
"primary-white": { "value": "#FFFFFF" },
|
|
6
6
|
"primary-blue": { "value": "#004699" },
|
|
7
7
|
"primary-red": { "value": "#EC0000" },
|
|
8
8
|
"dark-blue": { "value": "#102E62" },
|
|
@@ -10,13 +10,12 @@
|
|
|
10
10
|
"yellow": { "value": "#FFE600" },
|
|
11
11
|
"green": { "value": "#BED200" },
|
|
12
12
|
"dark-green": { "value": "#00A03C" },
|
|
13
|
-
"blue": { "value": "#
|
|
13
|
+
"blue": { "value": "#009DE6" },
|
|
14
14
|
"purple": { "value": "#A00078" },
|
|
15
15
|
"magenta": { "value": "#E50082" },
|
|
16
|
-
"neutral-grey1": { "value": "#
|
|
17
|
-
"neutral-grey2": { "value": "#
|
|
18
|
-
"neutral-grey3": { "value": "#767676" }
|
|
19
|
-
"neutral-grey4": { "value": "#323232" }
|
|
16
|
+
"neutral-grey1": { "value": "#E8E8E8" },
|
|
17
|
+
"neutral-grey2": { "value": "#BEBEBE" },
|
|
18
|
+
"neutral-grey3": { "value": "#767676" }
|
|
20
19
|
}
|
|
21
20
|
}
|
|
22
21
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"amsterdam": {
|
|
3
3
|
"alert": {
|
|
4
|
-
"
|
|
5
|
-
"border": { "value": "
|
|
4
|
+
"border-width": { "value": "4px" },
|
|
5
|
+
"border-style": { "value": "solid" },
|
|
6
6
|
"gap": { "value": "1rem" },
|
|
7
7
|
"padding-block-start": { "value": "{amsterdam.spacing.inset.md}" },
|
|
8
8
|
"padding-block-end": { "value": "{amsterdam.spacing.inset.md}" },
|
|
@@ -13,24 +13,27 @@
|
|
|
13
13
|
"font-family": { "value": "{amsterdam.typography.font-family}" },
|
|
14
14
|
"font-weight": { "value": "{amsterdam.typography.font-weight.bold}" },
|
|
15
15
|
"spacious": {
|
|
16
|
-
"font-size": { "value": "{amsterdam.typography.spacious.text-level.
|
|
17
|
-
"line-height": { "value": "{amsterdam.typography.spacious.text-level.
|
|
16
|
+
"font-size": { "value": "{amsterdam.typography.spacious.text-level.4.font-size}" },
|
|
17
|
+
"line-height": { "value": "{amsterdam.typography.spacious.text-level.4.line-height}" }
|
|
18
18
|
},
|
|
19
19
|
"compact": {
|
|
20
|
-
"font-size": { "value": "{amsterdam.typography.compact.text-level.
|
|
21
|
-
"line-height": { "value": "{amsterdam.typography.compact.text-level.
|
|
20
|
+
"font-size": { "value": "{amsterdam.typography.compact.text-level.4.font-size}" },
|
|
21
|
+
"line-height": { "value": "{amsterdam.typography.compact.text-level.4.line-height}" }
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"error": {
|
|
25
|
-
"background-color": { "value": "{amsterdam.color.primary-white}" },
|
|
26
25
|
"border-color": { "value": "{amsterdam.color.primary-red}" }
|
|
27
26
|
},
|
|
27
|
+
"info": {
|
|
28
|
+
"border-color": { "value": "{amsterdam.color.primary-blue}" }
|
|
29
|
+
},
|
|
28
30
|
"success": {
|
|
29
|
-
"background-color": { "value": "{amsterdam.color.primary-white}" },
|
|
30
31
|
"border-color": { "value": "{amsterdam.color.dark-green}" }
|
|
31
32
|
},
|
|
33
|
+
"warning": {
|
|
34
|
+
"border-color": { "value": "{amsterdam.color.orange}" }
|
|
35
|
+
},
|
|
32
36
|
"close": {
|
|
33
|
-
"background-color": { "value": "transparent" },
|
|
34
37
|
"fill": { "value": "{amsterdam.color.primary-black}" },
|
|
35
38
|
"hover": {
|
|
36
39
|
"fill": { "value": "{amsterdam.color.primary-blue}" }
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"amsterdam": {
|
|
3
|
+
"badge": {
|
|
4
|
+
"font-family": { "value": "{amsterdam.typography.font-family}" },
|
|
5
|
+
"font-weight": { "value": "{amsterdam.typography.font-weight.bold}" },
|
|
6
|
+
"padding-inline": { "value": "0.5rem" },
|
|
7
|
+
"spacious": {
|
|
8
|
+
"font-size": { "value": "{amsterdam.typography.spacious.text-level.5.font-size}" },
|
|
9
|
+
"line-height": { "value": "{amsterdam.typography.spacious.text-level.5.line-height}" }
|
|
10
|
+
},
|
|
11
|
+
"compact": {
|
|
12
|
+
"font-size": { "value": "{amsterdam.typography.compact.text-level.5.font-size}" },
|
|
13
|
+
"line-height": { "value": "{amsterdam.typography.compact.text-level.5.line-height}" }
|
|
14
|
+
},
|
|
15
|
+
"blue": {
|
|
16
|
+
"background-color": { "value": "{amsterdam.color.blue}" },
|
|
17
|
+
"color": { "value": "{amsterdam.color.primary-black}" }
|
|
18
|
+
},
|
|
19
|
+
"dark-blue": {
|
|
20
|
+
"background-color": { "value": "{amsterdam.color.primary-blue}" },
|
|
21
|
+
"color": { "value": "{amsterdam.color.primary-white}" }
|
|
22
|
+
},
|
|
23
|
+
"dark-green": {
|
|
24
|
+
"background-color": { "value": "{amsterdam.color.dark-green}" },
|
|
25
|
+
"color": { "value": "{amsterdam.color.primary-white}" }
|
|
26
|
+
},
|
|
27
|
+
"green": {
|
|
28
|
+
"background-color": { "value": "{amsterdam.color.green}" },
|
|
29
|
+
"color": { "value": "{amsterdam.color.primary-black}" }
|
|
30
|
+
},
|
|
31
|
+
"magenta": {
|
|
32
|
+
"background-color": { "value": "{amsterdam.color.magenta}" },
|
|
33
|
+
"color": { "value": "{amsterdam.color.primary-white}" }
|
|
34
|
+
},
|
|
35
|
+
"orange": {
|
|
36
|
+
"background-color": { "value": "{amsterdam.color.orange}" },
|
|
37
|
+
"color": { "value": "{amsterdam.color.primary-black}" }
|
|
38
|
+
},
|
|
39
|
+
"purple": {
|
|
40
|
+
"background-color": { "value": "{amsterdam.color.purple}" },
|
|
41
|
+
"color": { "value": "{amsterdam.color.primary-white}" }
|
|
42
|
+
},
|
|
43
|
+
"yellow": {
|
|
44
|
+
"background-color": { "value": "{amsterdam.color.yellow}" },
|
|
45
|
+
"color": { "value": "{amsterdam.color.primary-black}" }
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -20,13 +20,6 @@
|
|
|
20
20
|
"backdrop": {
|
|
21
21
|
"background": { "value": "#0006" }
|
|
22
22
|
},
|
|
23
|
-
"close": {
|
|
24
|
-
"background-color": { "value": "transparent" },
|
|
25
|
-
"fill": { "value": "{amsterdam.color.primary-black}" },
|
|
26
|
-
"hover": {
|
|
27
|
-
"fill": { "value": "{amsterdam.color.primary-blue}" }
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
23
|
"form": {
|
|
31
24
|
"gap": { "value": "1.5rem" },
|
|
32
25
|
"padding-block": { "value": "clamp(1.5rem, calc(1.5rem + ((1vw - 0.5337rem) * 2.1448)), 2.5rem)" },
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"amsterdam": {
|
|
3
|
+
"icon-button": {
|
|
4
|
+
"color": { "value": "{amsterdam.color.primary-blue}" },
|
|
5
|
+
"outline-offset": { "value": "{amsterdam.focus.outline-offset}" },
|
|
6
|
+
"hover": {
|
|
7
|
+
"background-color": { "value": "rgba(0, 70, 153, 0.125)" },
|
|
8
|
+
"color": { "value": "{amsterdam.color.dark-blue}" }
|
|
9
|
+
},
|
|
10
|
+
"disabled": {
|
|
11
|
+
"color": { "value": "{amsterdam.color.neutral-grey2}" }
|
|
12
|
+
},
|
|
13
|
+
"on-background-light": {
|
|
14
|
+
"color": { "value": "{amsterdam.color.primary-black}" },
|
|
15
|
+
"hover": {
|
|
16
|
+
"background-color": { "value": "rgba(0, 0, 0, 0.125)" },
|
|
17
|
+
"color": { "value": "{amsterdam.color.primary-black}" }
|
|
18
|
+
},
|
|
19
|
+
"disabled": {
|
|
20
|
+
"color": { "value": "{amsterdam.color.neutral-grey2}" }
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"on-background-dark": {
|
|
24
|
+
"background-color": { "value": "{amsterdam.color.primary-blue}" },
|
|
25
|
+
"color": { "value": "{amsterdam.color.primary-white}" },
|
|
26
|
+
"hover": {
|
|
27
|
+
"background-color": { "value": "{amsterdam.color.dark-blue}" },
|
|
28
|
+
"color": { "value": "{amsterdam.color.primary-white}" }
|
|
29
|
+
},
|
|
30
|
+
"disabled": {
|
|
31
|
+
"color": { "value": "{amsterdam.color.primary-white}" },
|
|
32
|
+
"background-color": { "value": "{amsterdam.color.neutral-grey2}" }
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"amsterdam": {
|
|
3
|
+
"link-list": {
|
|
4
|
+
"gap": { "value": "0.5em" },
|
|
5
|
+
"link": {
|
|
6
|
+
"color": { "value": "{amsterdam.link-appearance.color}" },
|
|
7
|
+
"font-family": { "value": "{amsterdam.typography.font-family}" },
|
|
8
|
+
"font-weight": { "value": "{amsterdam.typography.font-weight.normal}" },
|
|
9
|
+
"gap": { "value": "0.5em" },
|
|
10
|
+
"outline-offset": { "value": "{amsterdam.focus.outline-offset}" },
|
|
11
|
+
"text-decoration-line": { "value": "{amsterdam.link-appearance.subtle.text-decoration-line}" },
|
|
12
|
+
"text-decoration-thickness": { "value": "{amsterdam.link-appearance.text-decoration-thickness}" },
|
|
13
|
+
"text-underline-offset": { "value": "{amsterdam.link-appearance.text-underline-offset}" },
|
|
14
|
+
"spacious": {
|
|
15
|
+
"small": {
|
|
16
|
+
"font-size": { "value": "{amsterdam.typography.spacious.text-level.6.font-size}" },
|
|
17
|
+
"line-height": { "value": "{amsterdam.typography.spacious.text-level.6.line-height}" }
|
|
18
|
+
},
|
|
19
|
+
"medium": {
|
|
20
|
+
"font-size": { "value": "{amsterdam.typography.spacious.text-level.5.font-size}" },
|
|
21
|
+
"line-height": { "value": "{amsterdam.typography.spacious.text-level.5.line-height}" }
|
|
22
|
+
},
|
|
23
|
+
"large": {
|
|
24
|
+
"font-size": { "value": "{amsterdam.typography.spacious.text-level.4.font-size}" },
|
|
25
|
+
"line-height": { "value": "{amsterdam.typography.spacious.text-level.4.line-height}" }
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"compact": {
|
|
29
|
+
"small": {
|
|
30
|
+
"font-size": { "value": "{amsterdam.typography.compact.text-level.6.font-size}" },
|
|
31
|
+
"line-height": { "value": "{amsterdam.typography.compact.text-level.6.line-height}" }
|
|
32
|
+
},
|
|
33
|
+
"medium": {
|
|
34
|
+
"font-size": { "value": "{amsterdam.typography.compact.text-level.5.font-size}" },
|
|
35
|
+
"line-height": { "value": "{amsterdam.typography.compact.text-level.5.line-height}" }
|
|
36
|
+
},
|
|
37
|
+
"large": {
|
|
38
|
+
"font-size": { "value": "{amsterdam.typography.compact.text-level.4.font-size}" },
|
|
39
|
+
"line-height": { "value": "{amsterdam.typography.compact.text-level.4.line-height}" }
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"hover": {
|
|
43
|
+
"color": { "value": "{amsterdam.link-appearance.hover.color}" },
|
|
44
|
+
"text-decoration-line": { "value": "{amsterdam.link-appearance.subtle.hover.text-decoration-line}" }
|
|
45
|
+
},
|
|
46
|
+
"on-background-dark": {
|
|
47
|
+
"color": { "value": "{amsterdam.link-appearance.on-background-dark.color}" },
|
|
48
|
+
"hover": {
|
|
49
|
+
"color": { "value": "{amsterdam.link-appearance.on-background-dark.color}" }
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"on-background-light": {
|
|
53
|
+
"color": { "value": "{amsterdam.link-appearance.on-background-light.color}" },
|
|
54
|
+
"hover": {
|
|
55
|
+
"color": { "value": "{amsterdam.link-appearance.on-background-light.color}" }
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"amsterdam": {
|
|
3
|
+
"mega-menu": {
|
|
4
|
+
"list-category": {
|
|
5
|
+
"column-gap": { "value": "{amsterdam.grid.spacious.gap}" },
|
|
6
|
+
"column-width": { "value": "20rem" },
|
|
7
|
+
"padding-block-start": { "value": "1rem" },
|
|
8
|
+
"padding-block-end": { "value": "{amsterdam.grid.spacious.gap}" }
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
"amsterdam": {
|
|
3
3
|
"spotlight": {
|
|
4
4
|
"blue": {
|
|
5
|
+
"background-color": { "value": "{amsterdam.color.blue}" }
|
|
6
|
+
},
|
|
7
|
+
"dark-blue": {
|
|
5
8
|
"background-color": { "value": "{amsterdam.color.primary-blue}" }
|
|
6
9
|
},
|
|
7
10
|
"dark-green": {
|
|
@@ -10,9 +13,6 @@
|
|
|
10
13
|
"green": {
|
|
11
14
|
"background-color": { "value": "{amsterdam.color.green}" }
|
|
12
15
|
},
|
|
13
|
-
"light-blue": {
|
|
14
|
-
"background-color": { "value": "{amsterdam.color.blue}" }
|
|
15
|
-
},
|
|
16
16
|
"magenta": {
|
|
17
17
|
"background-color": { "value": "{amsterdam.color.magenta}" }
|
|
18
18
|
},
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"amsterdam": {
|
|
3
|
+
"table": {
|
|
4
|
+
"color": { "value": "{amsterdam.color.primary-black}" },
|
|
5
|
+
"font-family": { "value": "{amsterdam.typography.font-family}" },
|
|
6
|
+
"font-weight": { "value": "{amsterdam.typography.font-weight.normal}" },
|
|
7
|
+
"font-size": { "value": "{amsterdam.typography.spacious.text-level.5.font-size}" },
|
|
8
|
+
"line-height": { "value": "{amsterdam.typography.spacious.text-level.5.line-height}" },
|
|
9
|
+
"caption": {
|
|
10
|
+
"font-weight": { "value": "{amsterdam.typography.font-weight.bold}" }
|
|
11
|
+
},
|
|
12
|
+
"cell": {
|
|
13
|
+
"border-bottom": { "value": "1px solid {amsterdam.color.neutral-grey1}" }
|
|
14
|
+
},
|
|
15
|
+
"header-cell": {
|
|
16
|
+
"font-weight": { "value": "{amsterdam.typography.font-weight.bold}" }
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|