@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.
@@ -5,7 +5,7 @@
5
5
  "primary-white": "#ffffff",
6
6
  "primary-blue": "#004699",
7
7
  "primary-red": "#EC0000",
8
- "dark-blue": "#00387A",
8
+ "dark-blue": "#102E62",
9
9
  "orange": "#FF9100",
10
10
  "yellow": "#FFE600",
11
11
  "green": "#BED200",
@@ -19,11 +19,12 @@
19
19
  "neutral-grey4": "#323232"
20
20
  },
21
21
  "proportion": {
22
- "extra-tall": "9 / 16",
22
+ "x-tall": "9 / 16",
23
23
  "tall": "4 / 5",
24
24
  "square": "1 / 1",
25
25
  "wide": "5 / 4",
26
- "extra-wide": "16 / 9"
26
+ "x-wide": "16 / 9",
27
+ "2x-wide": "32 / 9"
27
28
  },
28
29
  "typography": {
29
30
  "font-family": "'Amsterdam Sans', Arial, sans-serif",
@@ -179,11 +180,12 @@
179
180
  }
180
181
  },
181
182
  "aspect-ratio": {
182
- "extra-tall": "9 / 16",
183
+ "x-tall": "9 / 16",
183
184
  "tall": "4 / 5",
184
185
  "square": "1 / 1",
185
186
  "wide": "5 / 4",
186
- "extra-wide": "16 / 9"
187
+ "x-wide": "16 / 9",
188
+ "2x-wide": "32 / 9"
187
189
  },
188
190
  "blockquote": {
189
191
  "color": "#000000",
@@ -201,6 +203,7 @@
201
203
  "breadcrumb": {
202
204
  "color": "#004699",
203
205
  "font-family": "'Amsterdam Sans', Arial, sans-serif",
206
+ "font-weight": 400,
204
207
  "line-height": "1.6",
205
208
  "narrow": {
206
209
  "font-size": "clamp(1rem, calc(1rem + (0.0625 * (100vw - 20rem)) / 33.3125), 1.0625rem)"
@@ -211,11 +214,11 @@
211
214
  "item-link": {
212
215
  "outline-offset": "2px",
213
216
  "hover": {
214
- "color": "#00387A",
215
- "box-shadow": "inset 0 -2px 0 0 #00387A"
217
+ "color": "#102E62",
218
+ "box-shadow": "inset 0 -2px 0 0 #102E62"
216
219
  },
217
220
  "focus": {
218
- "color": "#00387A",
221
+ "color": "#102E62",
219
222
  "text-decoration": "underline"
220
223
  }
221
224
  }
@@ -230,25 +233,30 @@
230
233
  "secondary": {
231
234
  "box-shadow": "inset 0 0 0 2px #004699",
232
235
  "hover": {
233
- "box-shadow": "inset 0 0 0 3px #00387A"
236
+ "box-shadow": "inset 0 0 0 3px #102E62"
234
237
  },
235
238
  "disabled": {
236
239
  "box-shadow": "inset 0 0 0 2px #B4B4B4"
237
240
  },
238
241
  "focus": {
239
- "box-shadow": "inset 0 0 0 3px #00387A",
240
- "color": "#00387A"
242
+ "box-shadow": "inset 0 0 0 2px #004699"
241
243
  }
242
244
  },
243
245
  "tertiary": {
244
246
  "hover": {
245
247
  "box-shadow": "inset 0 0 0 2px #767676"
246
- },
247
- "focus": {
248
- "box-shadow": "inset 0 0 0 2px #767676"
249
248
  }
250
249
  }
251
250
  },
251
+ "card": {
252
+ "link": {
253
+ "color": "#004699",
254
+ "hover": {
255
+ "color": "#102E62"
256
+ }
257
+ },
258
+ "outline-offset": "2px"
259
+ },
252
260
  "checkbox": {
253
261
  "color": "#000000",
254
262
  "checkmark": {
@@ -256,7 +264,7 @@
256
264
  "checked": {
257
265
  "background-color": "#004699",
258
266
  "hover": {
259
- "background-color": "#00387A"
267
+ "background-color": "#102E62"
260
268
  }
261
269
  },
262
270
  "disabled": {
@@ -275,7 +283,7 @@
275
283
  }
276
284
  },
277
285
  "hover": {
278
- "border-color": "#00387A"
286
+ "border-color": "#102E62"
279
287
  },
280
288
  "invalid": {
281
289
  "border-color": "#EC0000",
@@ -298,7 +306,7 @@
298
306
  "indeterminate": {
299
307
  "background-color": "#004699",
300
308
  "hover": {
301
- "background-color": "#00387A"
309
+ "background-color": "#102E62"
302
310
  }
303
311
  },
304
312
  "narrow": {
@@ -315,7 +323,7 @@
315
323
  "font-family": "'Amsterdam Sans', Arial, sans-serif",
316
324
  "font-weight": 400,
317
325
  "hover": {
318
- "color": "#00387A"
326
+ "color": "#102E62"
319
327
  },
320
328
  "outline-offset": "2px",
321
329
  "line-height": "1.6",
@@ -326,9 +334,47 @@
326
334
  "font-size": "clamp(1.3125rem, calc(1.3125rem + (0.0625 * (100vw - 53.375rem)) / 36.625), 1.375rem)"
327
335
  }
328
336
  },
329
- "footer": {
330
- "top": {
331
- "background-color": "#004699"
337
+ "dialog": {
338
+ "background-color": "#ffffff",
339
+ "border": "0",
340
+ "max-inline-size": "min(87.69vw, 45rem)",
341
+ "title": {
342
+ "color": "#000000",
343
+ "font-family": "'Amsterdam Sans', Arial, sans-serif",
344
+ "font-weight": 800,
345
+ "line-height": "1.5",
346
+ "narrow": {
347
+ "font-size": "clamp(1.375rem, calc(1.375rem + (0.25 * (100vw - 20rem)) / 33.3125), 1.625rem)"
348
+ },
349
+ "wide": {
350
+ "font-size": "clamp(1.625rem, calc(1.625rem + (0.125 * (100vw - 53.375rem)) / 36.625), 1.75rem)"
351
+ }
352
+ },
353
+ "backdrop": {
354
+ "background": "#0006"
355
+ },
356
+ "close": {
357
+ "background-color": "transparent",
358
+ "fill": "#000000",
359
+ "hover": {
360
+ "fill": "#004699"
361
+ }
362
+ },
363
+ "form": {
364
+ "gap": "1.5rem",
365
+ "padding-block": "clamp(1.5rem, calc(1.5rem + ((1vw - 0.5337rem) * 2.1448)), 2.5rem)",
366
+ "padding-inline": "clamp(1.5rem, calc(1.5rem + ((1vw - 0.5337rem) * 2.1448)), 2.5rem)",
367
+ "max-block-size": "75vh"
368
+ },
369
+ "article": {
370
+ "padding-inline-end": "1.5rem"
371
+ },
372
+ "header": {
373
+ "gap": "1rem"
374
+ },
375
+ "footer": {
376
+ "gap": "1rem",
377
+ "padding-block": "1.5rem 0"
332
378
  }
333
379
  },
334
380
  "form-label": {
@@ -343,6 +389,23 @@
343
389
  "font-size": "clamp(1.0625rem, calc(1.0625rem + (0.0625 * (100vw - 53.375rem)) / 36.625), 1.125rem)"
344
390
  }
345
391
  },
392
+ "grid": {
393
+ "column-count": "4",
394
+ "density-low": {
395
+ "gap": "clamp(1rem, calc(3.125vw + 0.375rem), 3.5rem)",
396
+ "padding-inline": "clamp(1.5rem, calc(4.6875vw + 0.5625rem), 5.25rem)"
397
+ },
398
+ "density-high": {
399
+ "gap": "clamp(1rem, calc(1.5625vw - 0.0625rem), 2.5rem)",
400
+ "padding-inline": "clamp(1rem, calc(1.5625vw - 0.0625rem), 2.5rem)"
401
+ },
402
+ "medium": {
403
+ "column-count": "8"
404
+ },
405
+ "wide": {
406
+ "column-count": "12"
407
+ }
408
+ },
346
409
  "heading": {
347
410
  "1": {
348
411
  "line-height": "1.2",
@@ -385,6 +448,32 @@
385
448
  "font-weight": 800,
386
449
  "inverse-color": "#ffffff"
387
450
  },
451
+ "highlight": {
452
+ "blue": {
453
+ "background-color": "#004699"
454
+ },
455
+ "dark-green": {
456
+ "background-color": "#00A03C"
457
+ },
458
+ "green": {
459
+ "background-color": "#BED200"
460
+ },
461
+ "light-blue": {
462
+ "background-color": "#009DEC"
463
+ },
464
+ "magenta": {
465
+ "background-color": "#E50082"
466
+ },
467
+ "orange": {
468
+ "background-color": "#FF9100"
469
+ },
470
+ "purple": {
471
+ "background-color": "#A00078"
472
+ },
473
+ "yellow": {
474
+ "background-color": "#FFE600"
475
+ }
476
+ },
388
477
  "icon": {
389
478
  "size-3": {
390
479
  "icon-size": {
@@ -427,11 +516,11 @@
427
516
  "outline-offset": "2px",
428
517
  "font-family": "'Amsterdam Sans', Arial, sans-serif",
429
518
  "font-weight": 400,
430
- "focus": {
431
- "color": "#00387A"
519
+ "hover": {
520
+ "color": "#102E62"
432
521
  },
433
522
  "inline": {
434
- "focus": {
523
+ "hover": {
435
524
  "text-decoration": "underline",
436
525
  "text-underline-offset": "3px"
437
526
  },
@@ -439,13 +528,14 @@
439
528
  "font-size": "inherit",
440
529
  "line-height": "inherit",
441
530
  "text-decoration": "none",
531
+ "text-decoration-thickness": "2px",
442
532
  "visited": {
443
533
  "color": "#A00078"
444
534
  }
445
535
  },
446
536
  "in-list": {
447
537
  "gap": "0.5em",
448
- "focus": {
538
+ "hover": {
449
539
  "text-decoration": "underline",
450
540
  "text-decoration-thickness": "2px",
451
541
  "text-underline-offset": "7px"
@@ -462,7 +552,7 @@
462
552
  "standalone": {
463
553
  "text-underline-offset": "8px",
464
554
  "text-decoration-thickness": "2px",
465
- "focus": {
555
+ "hover": {
466
556
  "text-decoration-thickness": "3px",
467
557
  "text-underline-offset": "7px"
468
558
  },
@@ -493,6 +583,18 @@
493
583
  }
494
584
  }
495
585
  },
586
+ "logo": {
587
+ "height": "2.5rem",
588
+ "emblem": {
589
+ "color": "#EC0000"
590
+ },
591
+ "title": {
592
+ "color": "#EC0000"
593
+ },
594
+ "subsite": {
595
+ "color": "#000000"
596
+ }
597
+ },
496
598
  "ordered-list": {
497
599
  "color": "#000000",
498
600
  "font-family": "'Amsterdam Sans', Arial, sans-serif",
@@ -518,14 +620,6 @@
518
620
  }
519
621
  }
520
622
  },
521
- "page-grid": {
522
- "column-count": {
523
- "narrow": "4",
524
- "wide": "12"
525
- },
526
- "column-gap": "clamp(0.5rem, calc(0.5rem + 0.0142857143 * (100vw - 20rem)), 1.5rem)",
527
- "max-width": "1440px"
528
- },
529
623
  "page-heading": {
530
624
  "color": "#000000",
531
625
  "font-family": "'Amsterdam Sans', Arial, sans-serif",
@@ -561,6 +655,27 @@
561
655
  }
562
656
  }
563
657
  },
658
+ "pagination": {
659
+ "color": "#004699",
660
+ "font-family": "'Amsterdam Sans', Arial, sans-serif",
661
+ "font-weight": 400,
662
+ "line-height": "1.6",
663
+ "narrow": {
664
+ "font-size": "clamp(1.125rem, calc(1.125rem + (0.1875 * (100vw - 20rem)) / 33.3125), 1.3125rem)"
665
+ },
666
+ "wide": {
667
+ "font-size": "clamp(1.3125rem, calc(1.3125rem + (0.0625 * (100vw - 53.375rem)) / 36.625), 1.375rem)"
668
+ },
669
+ "button": {
670
+ "current": {
671
+ "font-weight": 800
672
+ },
673
+ "hover": {
674
+ "color": "#102E62"
675
+ },
676
+ "outline-offset": "2px"
677
+ }
678
+ },
564
679
  "paragraph": {
565
680
  "color": "#000000",
566
681
  "font-family": "'Amsterdam Sans', Arial, sans-serif",
@@ -592,6 +707,34 @@
592
707
  }
593
708
  }
594
709
  },
710
+ "screen": {
711
+ "wide": {
712
+ "max-width": "100rem"
713
+ },
714
+ "x-wide": {
715
+ "max-width": "132rem"
716
+ }
717
+ },
718
+ "switch": {
719
+ "font-family": "'Amsterdam Sans', Arial, sans-serif",
720
+ "background-color": "#767676",
721
+ "width": "3.5rem",
722
+ "thumb": {
723
+ "background-color": "#ffffff",
724
+ "width": "1.75rem",
725
+ "height": "1.75rem",
726
+ "hover": {
727
+ "color": "#102E62"
728
+ }
729
+ },
730
+ "checked": {
731
+ "background-color": "#004699"
732
+ },
733
+ "outline-offset": "2px",
734
+ "disabled": {
735
+ "background-color": "#B4B4B4"
736
+ }
737
+ },
595
738
  "top-task-link": {
596
739
  "description": {
597
740
  "color": "#000000",
@@ -610,7 +753,7 @@
610
753
  "font-family": "'Amsterdam Sans', Arial, sans-serif",
611
754
  "font-weight": 800,
612
755
  "hover": {
613
- "color": "#00387A"
756
+ "color": "#102E62"
614
757
  },
615
758
  "line-height": "1.4",
616
759
  "narrow": {
@@ -714,12 +857,12 @@
714
857
  "border-color": {}
715
858
  },
716
859
  "hover": {
717
- "background-color": "#00387A",
860
+ "background-color": "#102E62",
718
861
  "border-color": {},
719
862
  "color": {}
720
863
  },
721
864
  "focus": {
722
- "background-color": "#00387A",
865
+ "background-color": {},
723
866
  "border-color": {},
724
867
  "border-width": {}
725
868
  },
@@ -782,7 +925,7 @@
782
925
  "border-width": {},
783
926
  "hover": {
784
927
  "background-color": {},
785
- "color": "#00387A",
928
+ "color": "#102E62",
786
929
  "border-color": {}
787
930
  },
788
931
  "disabled": {
@@ -850,12 +993,12 @@
850
993
  "font-weight": {},
851
994
  "hover": {
852
995
  "background-color": {},
853
- "color": "#00387A",
996
+ "color": "#102E62",
854
997
  "border-color": {}
855
998
  },
856
999
  "focus": {
857
1000
  "background-color": {},
858
- "color": "#00387A",
1001
+ "color": "#102E62",
859
1002
  "border-color": {}
860
1003
  },
861
1004
  "disabled": {