@utrecht/design-tokens 2.2.0 → 2.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.
Files changed (79) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/_mixin-theme.scss +124 -63
  3. package/dist/_mixin.scss +124 -63
  4. package/dist/_variables.scss +124 -63
  5. package/dist/dark/_mixin-theme.scss +124 -63
  6. package/dist/dark/_mixin.scss +124 -63
  7. package/dist/dark/_variables.scss +124 -63
  8. package/dist/dark/index.cjs +62 -1
  9. package/dist/dark/index.css +124 -63
  10. package/dist/dark/index.d.ts +62 -1
  11. package/dist/dark/index.flat.json +62 -1
  12. package/dist/dark/index.json +1046 -102
  13. package/dist/dark/index.mjs +62 -1
  14. package/dist/dark/index.tokens.json +614 -72
  15. package/dist/dark/list.d.ts +14 -0
  16. package/dist/dark/list.json +1046 -102
  17. package/dist/dark/list.mjs +31638 -0
  18. package/dist/dark/property.css +0 -1
  19. package/dist/dark/root.css +124 -63
  20. package/dist/dark/theme-prince-xml.css +124 -63
  21. package/dist/dark/theme.css +124 -63
  22. package/dist/dark/tokens.cjs +1541 -116
  23. package/dist/dark/tokens.d.ts +355 -22
  24. package/dist/dark/tokens.json +1541 -116
  25. package/dist/dark/variables.cjs +62 -1
  26. package/dist/dark/variables.css +124 -63
  27. package/dist/dark/variables.d.ts +62 -1
  28. package/dist/dark/variables.json +62 -1
  29. package/dist/dark/variables.less +124 -63
  30. package/dist/dark/variables.mjs +62 -1
  31. package/dist/index.cjs +62 -1
  32. package/dist/index.css +248 -126
  33. package/dist/index.d.ts +62 -1
  34. package/dist/index.flat.json +62 -1
  35. package/dist/index.json +1046 -102
  36. package/dist/index.mjs +62 -1
  37. package/dist/index.tokens.json +614 -72
  38. package/dist/list.d.ts +14 -0
  39. package/dist/list.json +1046 -102
  40. package/dist/list.mjs +32755 -0
  41. package/dist/property.css +0 -1
  42. package/dist/root.css +124 -63
  43. package/dist/theme-prince-xml.css +124 -63
  44. package/dist/theme.css +124 -63
  45. package/dist/tokens.cjs +1541 -116
  46. package/dist/tokens.d.ts +355 -22
  47. package/dist/tokens.json +1541 -116
  48. package/dist/variables.cjs +62 -1
  49. package/dist/variables.css +124 -63
  50. package/dist/variables.d.ts +62 -1
  51. package/dist/variables.json +62 -1
  52. package/dist/variables.less +124 -63
  53. package/dist/variables.mjs +62 -1
  54. package/package.json +1 -1
  55. package/src/component/nl/code-block.tokens.json +13 -0
  56. package/src/component/nl/code.tokens.json +11 -0
  57. package/src/component/nl/data-badge.tokens.json +22 -0
  58. package/src/component/nl/heading.tokens.json +48 -0
  59. package/src/component/nl/mark.tokens.json +8 -0
  60. package/src/component/nl/number-badge.tokens.json +23 -0
  61. package/src/component/nl/paragraph.tokens.json +20 -0
  62. package/src/component/nl/skip-link.tokens.json +16 -0
  63. package/src/component/utrecht/badge.tokens.json +5 -5
  64. package/src/component/utrecht/code-block.tokens.json +9 -9
  65. package/src/component/utrecht/heading-1.tokens.json +4 -4
  66. package/src/component/utrecht/heading-2.tokens.json +4 -4
  67. package/src/component/utrecht/heading-3.tokens.json +4 -4
  68. package/src/component/utrecht/heading-4.tokens.json +4 -4
  69. package/src/component/utrecht/heading-5.tokens.json +4 -4
  70. package/src/component/utrecht/heading-6.tokens.json +4 -4
  71. package/src/component/utrecht/mark.tokens.json +2 -2
  72. package/src/component/utrecht/number-badge.tokens.json +6 -6
  73. package/src/component/utrecht/paragraph.tokens.json +8 -8
  74. package/src/component/utrecht/skip-link.tokens.json +10 -10
  75. package/src/css-property-formatter.mjs +2 -1
  76. package/src/json-list-formatter.js +2 -1
  77. package/style-dictionary-build.mjs +3 -1
  78. package/style-dictionary-config.mjs +27 -0
  79. package/src/component/utrecht/badge-data.tokens.json +0 -8
@@ -2,6 +2,12 @@
2
2
  // Do not edit directly, this file was auto-generated.
3
3
 
4
4
  @of-progress-indicator-mobile-box-shadow: 0px 0px 2px 0px rgba(0 0 0 / 20%);
5
+ @nl-number-badge-padding-inline: 1ex;
6
+ @nl-number-badge-padding-block: 1ex;
7
+ @nl-data-badge-border-radius: 0;
8
+ @nl-code-block-padding-inline: 20px;
9
+ @nl-code-block-padding-block: 20px;
10
+ @nl-code-block-font-family: "Monaco";
5
11
  @denhaag-process-steps-sub-step-marker-size: 12px;
6
12
  @denhaag-process-steps-step-marker-size: 28px;
7
13
  @utrecht-toptask-nav-link-grid-max-inline-size: 240px;
@@ -166,8 +172,6 @@
166
172
  @utrecht-ordered-list-margin-block-start: 0;
167
173
  @utrecht-number-data-negative-color: red;
168
174
  @utrecht-number-data-positive-color: green;
169
- @utrecht-number-badge-padding-inline: 1ex; // Default inline padding color for badge components
170
- @utrecht-number-badge-padding-block: 1ex; // Default block padding for badge components
171
175
  @utrecht-topnav-link-focus-text-decoration: none;
172
176
  @utrecht-topnav-link-focus-border-type: dotted;
173
177
  @utrecht-mapcontrolbutton-margin-inline-start: 0;
@@ -308,10 +312,6 @@
308
312
  @utrecht-action-activate-cursor: pointer;
309
313
  @utrecht-column-layout-column-width: 350px;
310
314
  @utrecht-column-layout-column-rule-width: 2px;
311
- @utrecht-code-block-padding-inline-end: 20px;
312
- @utrecht-code-block-padding-inline-start: 20px;
313
- @utrecht-code-block-padding-block-end: 20px;
314
- @utrecht-code-block-padding-block-start: 20px;
315
315
  @utrecht-checkbox-margin-block-start: 0;
316
316
  @utrecht-checkbox-focus-border-width: 2px;
317
317
  @utrecht-checkbox-size: 24px;
@@ -362,7 +362,6 @@
362
362
  @utrecht-blockquote-margin-block-start: 1.6em;
363
363
  @utrecht-blockquote-margin-inline-end: 1.6em;
364
364
  @utrecht-blockquote-margin-inline-start: 1.6em;
365
- @utrecht-badge-border-radius: 0; // Default corner radius for badge components
366
365
  @utrecht-badge-counter-padding-inline: 1ex; // Default inline padding color for badge components
367
366
  @utrecht-badge-counter-padding-block: 1ex; // Default block padding for badge components
368
367
  @utrecht-backdrop-reduced-transparency-opacity: 0.98;
@@ -378,6 +377,53 @@
378
377
  @utrecht-accordion-button-icon-size: 24px;
379
378
  @utrecht-accordion-button-hover-background-color: inherit;
380
379
  @utrecht-accordion-button-border-width: 0;
380
+ @nl-skip-link-focus-visible-text-decoration: @utrecht-link-focus-visible-text-decoration;
381
+ @nl-skip-link-text-decoration: @utrecht-link-text-decoration;
382
+ @nl-paragraph-small-font-size: @utrecht-typography-scale-sm-font-size;
383
+ @nl-paragraph-lead-line-height: @utrecht-typography-line-height-md;
384
+ @nl-paragraph-lead-font-weight: @utrecht-typography-weight-scale-normal-font-weight;
385
+ @nl-paragraph-lead-font-size: @utrecht-typography-scale-xl-font-size;
386
+ @nl-paragraph-line-height: @utrecht-typography-line-height-md;
387
+ @nl-paragraph-font-weight: @utrecht-typography-weight-scale-normal-font-weight;
388
+ @nl-paragraph-font-size: @utrecht-typography-scale-md-font-size;
389
+ @nl-paragraph-font-family: @utrecht-typography-sans-serif-font-family;
390
+ @nl-number-badge-font-size: @utrecht-typography-scale-md-font-size;
391
+ @nl-number-badge-color: @utrecht-color-white;
392
+ @nl-number-badge-background-color: @utrecht-color-red-40;
393
+ @nl-mark-color: @utrecht-color-black;
394
+ @nl-mark-background-color: @utrecht-color-yellow-60;
395
+ @nl-heading-level-6-line-height: @utrecht-typography-line-height-md;
396
+ @nl-heading-level-6-font-weight: @utrecht-typography-weight-scale-normal-font-weight;
397
+ @nl-heading-level-6-font-size: @utrecht-typography-scale-sm-font-size;
398
+ @nl-heading-level-6-font-family: @utrecht-typography-sans-serif-font-family;
399
+ @nl-heading-level-5-line-height: @utrecht-typography-line-height-md;
400
+ @nl-heading-level-5-font-weight: @utrecht-typography-weight-scale-normal-font-weight;
401
+ @nl-heading-level-5-font-size: @utrecht-typography-scale-sm-font-size;
402
+ @nl-heading-level-5-font-family: @utrecht-typography-sans-serif-font-family;
403
+ @nl-heading-level-4-line-height: @utrecht-typography-line-height-md;
404
+ @nl-heading-level-4-font-weight: @utrecht-typography-weight-scale-normal-font-weight;
405
+ @nl-heading-level-4-font-size: @utrecht-typography-scale-lg-font-size;
406
+ @nl-heading-level-4-font-family: @utrecht-typography-sans-serif-font-family;
407
+ @nl-heading-level-3-line-height: @utrecht-typography-line-height-sm;
408
+ @nl-heading-level-3-font-weight: @utrecht-typography-weight-scale-normal-font-weight;
409
+ @nl-heading-level-3-font-size: @utrecht-typography-scale-xl-font-size;
410
+ @nl-heading-level-3-font-family: @utrecht-typography-sans-serif-font-family;
411
+ @nl-heading-level-2-line-height: @utrecht-typography-line-height-sm;
412
+ @nl-heading-level-2-font-weight: @utrecht-typography-weight-scale-bold-font-weight;
413
+ @nl-heading-level-2-font-size: @utrecht-typography-scale-xl-font-size;
414
+ @nl-heading-level-2-font-family: @utrecht-typography-sans-serif-font-family;
415
+ @nl-heading-level-1-line-height: @utrecht-typography-line-height-sm;
416
+ @nl-heading-level-1-font-weight: @utrecht-typography-weight-scale-bold-font-weight;
417
+ @nl-heading-level-1-font-size: @utrecht-typography-scale-4xl-font-size;
418
+ @nl-heading-level-1-font-family: @utrecht-typography-sans-serif-font-family;
419
+ @nl-data-badge-padding-inline: @utrecht-space-inline-sm;
420
+ @nl-data-badge-padding-block: @utrecht-space-block-xs;
421
+ @nl-data-badge-color: @utrecht-color-white;
422
+ @nl-data-badge-background-color: @utrecht-color-grey-30;
423
+ @nl-code-block-line-height: @utrecht-typography-line-height-md;
424
+ @nl-code-block-font-size: @utrecht-typography-scale-md-font-size;
425
+ @nl-code-block-color: @utrecht-color-black;
426
+ @nl-code-block-background-color: @utrecht-color-grey-95;
381
427
  @denhaag-process-steps-sub-step-heading-font-weight: @utrecht-typography-weight-scale-normal-font-weight;
382
428
  @denhaag-process-steps-sub-step-heading-font-size: @utrecht-typography-scale-sm-font-size;
383
429
  @denhaag-process-steps-sub-step-heading-color: @utrecht-color-grey-15;
@@ -461,8 +507,6 @@
461
507
  @utrecht-spotlight-section-padding-block-start: @utrecht-space-block-md;
462
508
  @utrecht-spotlight-section-color: @utrecht-color-black;
463
509
  @utrecht-spotlight-section-background-color: @utrecht-color-grey-90;
464
- @utrecht-skip-link-focus-visible-text-decoration: @utrecht-link-focus-visible-text-decoration;
465
- @utrecht-skip-link-text-decoration: @utrecht-link-text-decoration;
466
510
  @utrecht-separator-margin-block-start: @utrecht-space-block-md;
467
511
  @utrecht-separator-margin-block-end: @utrecht-space-block-md;
468
512
  @utrecht-separator-color: @utrecht-color-grey-90;
@@ -507,14 +551,7 @@
507
551
  @utrecht-pre-heading-margin-block-start: @utrecht-space-row-2xl;
508
552
  @utrecht-pre-heading-font-size: @utrecht-typography-scale-md-font-size;
509
553
  @utrecht-paragraph-small-font-size: @utrecht-typography-scale-sm-font-size;
510
- @utrecht-paragraph-lead-line-height: @utrecht-typography-line-height-md;
511
- @utrecht-paragraph-lead-font-weight: @utrecht-typography-weight-scale-normal-font-weight;
512
- @utrecht-paragraph-lead-font-size: @utrecht-typography-scale-xl-font-size;
513
554
  @utrecht-paragraph-margin-block-start: @utrecht-space-block-md;
514
- @utrecht-paragraph-line-height: @utrecht-typography-line-height-md;
515
- @utrecht-paragraph-font-weight: @utrecht-typography-weight-scale-normal-font-weight;
516
- @utrecht-paragraph-font-size: @utrecht-typography-scale-md-font-size;
517
- @utrecht-paragraph-font-family: @utrecht-typography-sans-serif-font-family;
518
555
  @utrecht-pagination-relative-link-hover-color: @utrecht-color-white;
519
556
  @utrecht-pagination-relative-link-hover-border-color: @utrecht-color-blue-35;
520
557
  @utrecht-pagination-relative-link-hover-background-color: @utrecht-color-blue-35;
@@ -540,9 +577,8 @@
540
577
  @utrecht-page-footer-background-image: linear-gradient(45deg, @utrecht-color-red-40, @utrecht-color-red-40 50%, #d63433 50%);;
541
578
  @utrecht-page-footer-background-color: @utrecht-color-red-40;
542
579
  @utrecht-page-footer-color: @utrecht-color-white;
543
- @utrecht-number-badge-font-size: @utrecht-typography-scale-md-font-size;
544
- @utrecht-number-badge-color: @utrecht-color-white; // Default text color for badge components
545
- @utrecht-number-badge-background-color: @utrecht-color-red-40;
580
+ @utrecht-number-badge-padding-inline: @nl-number-badge-padding-inline; // Default inline padding color for badge components
581
+ @utrecht-number-badge-padding-block: @nl-number-badge-padding-block; // Default block padding for badge components
546
582
  @utrecht-topnav-link-hover-background-color: @utrecht-color-black;
547
583
  @utrecht-topnav-link-focus-outline-color: @utrecht-color-black;
548
584
  @utrecht-topnav-link-focus-background-color: @utrecht-color-yellow-80;
@@ -568,8 +604,6 @@
568
604
  @utrecht-nav-bar-content-max-inline-size: @utrecht-page-max-inline-size;
569
605
  @utrecht-nav-bar-color: @utrecht-color-black;
570
606
  @utrecht-nav-bar-background-color: @utrecht-color-white;
571
- @utrecht-mark-color: @utrecht-color-black;
572
- @utrecht-mark-background-color: @utrecht-color-yellow-60;
573
607
  @utrecht-mapcontrolbutton-padding-inline-start: @utrecht-space-inline-2xs;
574
608
  @utrecht-mapcontrolbutton-padding-inline-end: @utrecht-space-inline-2xs;
575
609
  @utrecht-mapcontrolbutton-padding-block-start: @utrecht-space-block-2xs;
@@ -626,30 +660,6 @@
626
660
  @utrecht-index-char-nav-margin-block-end: @utrecht-space-block-md;
627
661
  @utrecht-index-char-nav-margin-block-start: @utrecht-space-block-lg;
628
662
  @utrecht-heading-font-weight: @utrecht-typography-weight-scale-bold-font-weight;
629
- @utrecht-heading-6-line-height: @utrecht-typography-line-height-md;
630
- @utrecht-heading-6-font-weight: @utrecht-typography-weight-scale-normal-font-weight;
631
- @utrecht-heading-6-font-size: @utrecht-typography-scale-sm-font-size;
632
- @utrecht-heading-6-font-family: @utrecht-typography-sans-serif-font-family;
633
- @utrecht-heading-5-line-height: @utrecht-typography-line-height-md;
634
- @utrecht-heading-5-font-weight: @utrecht-typography-weight-scale-normal-font-weight;
635
- @utrecht-heading-5-font-size: @utrecht-typography-scale-sm-font-size;
636
- @utrecht-heading-5-font-family: @utrecht-typography-sans-serif-font-family;
637
- @utrecht-heading-4-line-height: @utrecht-typography-line-height-md;
638
- @utrecht-heading-4-font-weight: @utrecht-typography-weight-scale-normal-font-weight;
639
- @utrecht-heading-4-font-size: @utrecht-typography-scale-lg-font-size;
640
- @utrecht-heading-4-font-family: @utrecht-typography-sans-serif-font-family;
641
- @utrecht-heading-3-line-height: @utrecht-typography-line-height-sm;
642
- @utrecht-heading-3-font-weight: @utrecht-typography-weight-scale-normal-font-weight;
643
- @utrecht-heading-3-font-size: @utrecht-typography-scale-xl-font-size;
644
- @utrecht-heading-3-font-family: @utrecht-typography-sans-serif-font-family;
645
- @utrecht-heading-2-line-height: @utrecht-typography-line-height-sm;
646
- @utrecht-heading-2-font-weight: @utrecht-typography-weight-scale-bold-font-weight;
647
- @utrecht-heading-2-font-size: @utrecht-typography-scale-xl-font-size;
648
- @utrecht-heading-2-font-family: @utrecht-typography-sans-serif-font-family;
649
- @utrecht-heading-1-line-height: @utrecht-typography-line-height-sm;
650
- @utrecht-heading-1-font-weight: @utrecht-typography-weight-scale-bold-font-weight;
651
- @utrecht-heading-1-font-size: @utrecht-typography-scale-4xl-font-size;
652
- @utrecht-heading-1-font-family: @utrecht-typography-sans-serif-font-family;
653
663
  @utrecht-form-toggle-focus-border-color: @utrecht-color-black;
654
664
  @utrecht-form-toggle-checked-accent-color: @utrecht-color-blue-35;
655
665
  @utrecht-form-toggle-thumb-disabled-background-color: @utrecht-color-white;
@@ -726,12 +736,13 @@
726
736
  @utrecht-feedback-danger-color: @utrecht-color-red-40;
727
737
  @utrecht-column-layout-gap: @utrecht-space-column-md;
728
738
  @utrecht-column-layout-column-rule-color: @utrecht-color-grey-80;
739
+ @utrecht-code-block-padding-inline-end: @nl-code-block-padding-inline;
740
+ @utrecht-code-block-padding-inline-start: @nl-code-block-padding-inline;
741
+ @utrecht-code-block-padding-block-end: @nl-code-block-padding-block;
742
+ @utrecht-code-block-padding-block-start: @nl-code-block-padding-block;
729
743
  @utrecht-code-block-margin-block-end: @utrecht-space-block-lg;
730
744
  @utrecht-code-block-margin-block-start: @utrecht-space-block-lg;
731
- @utrecht-code-block-line-height: @utrecht-typography-line-height-md;
732
- @utrecht-code-block-font-size: @utrecht-typography-scale-md-font-size;
733
- @utrecht-code-block-color: @utrecht-color-black;
734
- @utrecht-code-block-background-color: @utrecht-color-grey-95;
745
+ @utrecht-code-block-font-family: @nl-code-block-font-family;
735
746
  @utrecht-checkbox-indeterminate-background-color: @utrecht-color-blue-40;
736
747
  @utrecht-checkbox-checked-background-color: @utrecht-color-blue-40;
737
748
  @utrecht-checkbox-checked-border-color: @utrecht-color-blue-40;
@@ -866,10 +877,7 @@
866
877
  @utrecht-blockquote-content-font-size: @utrecht-typography-scale-lg-font-size;
867
878
  @utrecht-blockquote-content-color: @utrecht-color-red-40;
868
879
  @utrecht-badge-font-style: @utrecht-typography-font-style-normal;
869
- @utrecht-badge-padding-inline: @utrecht-space-inline-sm; // Default inline padding color for badge components
870
- @utrecht-badge-padding-block: @utrecht-space-block-xs; // Default block padding for badge components
871
- @utrecht-badge-color: @utrecht-color-white; // Default text color for badge components
872
- @utrecht-badge-background-color: @utrecht-color-grey-30; // Default background color for badge components
880
+ @utrecht-badge-border-radius: @nl-data-badge-border-radius; // Default corner radius for badge components
873
881
  @utrecht-badge-list-item-margin-inline: @utrecht-space-block-sm;
874
882
  @utrecht-badge-list-item-margin-block: @utrecht-space-block-xs;
875
883
  @utrecht-badge-counter-font-size: @utrecht-typography-scale-md-font-size;
@@ -925,28 +933,64 @@
925
933
  @of-page-footer-fg: @utrecht-page-footer-color;
926
934
  @of-page-footer-bg: @utrecht-page-footer-background-color;
927
935
  @of-layout-background: @utrecht-document-background-color;
936
+ @nl-skip-link-focus-visible-background-color: @utrecht-topnav-link-focus-background-color;
937
+ @nl-skip-link-focus-visible-color: @utrecht-topnav-link-focus-color;
938
+ @nl-skip-link-padding-inline: @utrecht-button-padding-inline-start;
939
+ @nl-skip-link-padding-block: @utrecht-button-padding-block-start;
940
+ @nl-skip-link-color: @utrecht-topnav-link-color;
941
+ @nl-skip-link-background-color: @utrecht-topnav-list-background-color;
942
+ @nl-paragraph-lead-color: @utrecht-document-color;
943
+ @nl-number-badge-border-radius: @nl-number-badge-font-size;
928
944
  @denhaag-process-steps-sub-step-line-color: @denhaag-process-steps-step-line-color;
929
945
  @utrecht-toptask-link-hover-color: @utrecht-button-primary-action-hover-color;
930
946
  @utrecht-toptask-link-hover-background-color: @utrecht-button-primary-action-hover-background-color;
931
947
  @utrecht-toptask-link-color: @utrecht-button-primary-action-color;
932
948
  @utrecht-toptask-link-background-color: @utrecht-button-primary-action-background-color;
933
- @utrecht-skip-link-focus-color: @utrecht-topnav-link-focus-color;
934
- @utrecht-skip-link-focus-background-color: @utrecht-topnav-link-focus-background-color;
935
- @utrecht-skip-link-padding-inline-end: @utrecht-button-padding-inline-end;
936
- @utrecht-skip-link-padding-inline-start: @utrecht-button-padding-inline-start;
937
- @utrecht-skip-link-padding-block-end: @utrecht-button-padding-block-end;
938
- @utrecht-skip-link-padding-block-start: @utrecht-button-padding-block-start;
939
- @utrecht-skip-link-color: @utrecht-topnav-link-color;
940
- @utrecht-skip-link-background-color: @utrecht-topnav-list-background-color;
949
+ @utrecht-skip-link-focus-visible-text-decoration: @nl-skip-link-focus-visible-text-decoration;
950
+ @utrecht-skip-link-text-decoration: @nl-skip-link-text-decoration;
941
951
  @utrecht-radio-button-border-color: @utrecht-form-control-border-color;
942
952
  @utrecht-radio-button-background-color: @utrecht-form-control-background-color;
943
- @utrecht-paragraph-lead-color: @utrecht-document-color;
944
- @utrecht-number-badge-border-radius: @utrecht-number-badge-font-size;
953
+ @utrecht-paragraph-lead-line-height: @nl-paragraph-lead-line-height;
954
+ @utrecht-paragraph-lead-font-weight: @nl-paragraph-lead-font-weight;
955
+ @utrecht-paragraph-lead-font-size: @nl-paragraph-lead-font-size;
956
+ @utrecht-paragraph-line-height: @nl-paragraph-line-height;
957
+ @utrecht-paragraph-font-weight: @nl-paragraph-font-weight;
958
+ @utrecht-paragraph-font-size: @nl-paragraph-font-size;
959
+ @utrecht-paragraph-font-family: @nl-paragraph-font-family;
960
+ @utrecht-number-badge-font-size: @nl-number-badge-font-size;
961
+ @utrecht-number-badge-color: @nl-number-badge-color; // Default text color for badge components
962
+ @utrecht-number-badge-background-color: @nl-number-badge-background-color;
963
+ @utrecht-mark-color: @nl-mark-color;
964
+ @utrecht-mark-background-color: @nl-mark-background-color;
945
965
  @utrecht-listbox-border-width: @utrecht-form-control-border-width;
946
966
  @utrecht-listbox-border-color: @utrecht-form-control-border-color;
947
967
  @utrecht-link-visited-color: @utrecht-link-color;
948
968
  @utrecht-link-hover-color: @utrecht-link-focus-color;
949
969
  @utrecht-link-active-color: @utrecht-link-color;
970
+ @utrecht-heading-6-line-height: @nl-heading-level-6-line-height;
971
+ @utrecht-heading-6-font-weight: @nl-heading-level-6-font-weight;
972
+ @utrecht-heading-6-font-size: @nl-heading-level-6-font-size;
973
+ @utrecht-heading-6-font-family: @nl-heading-level-6-font-family;
974
+ @utrecht-heading-5-line-height: @nl-heading-level-5-line-height;
975
+ @utrecht-heading-5-font-weight: @nl-heading-level-5-font-weight;
976
+ @utrecht-heading-5-font-size: @nl-heading-level-5-font-size;
977
+ @utrecht-heading-5-font-family: @nl-heading-level-5-font-family;
978
+ @utrecht-heading-4-line-height: @nl-heading-level-4-line-height;
979
+ @utrecht-heading-4-font-weight: @nl-heading-level-4-font-weight;
980
+ @utrecht-heading-4-font-size: @nl-heading-level-4-font-size;
981
+ @utrecht-heading-4-font-family: @nl-heading-level-4-font-family;
982
+ @utrecht-heading-3-line-height: @nl-heading-level-3-line-height;
983
+ @utrecht-heading-3-font-weight: @nl-heading-level-3-font-weight;
984
+ @utrecht-heading-3-font-size: @nl-heading-level-3-font-size;
985
+ @utrecht-heading-3-font-family: @nl-heading-level-3-font-family;
986
+ @utrecht-heading-2-line-height: @nl-heading-level-2-line-height;
987
+ @utrecht-heading-2-font-weight: @nl-heading-level-2-font-weight;
988
+ @utrecht-heading-2-font-size: @nl-heading-level-2-font-size;
989
+ @utrecht-heading-2-font-family: @nl-heading-level-2-font-family;
990
+ @utrecht-heading-1-line-height: @nl-heading-level-1-line-height;
991
+ @utrecht-heading-1-font-weight: @nl-heading-level-1-font-weight;
992
+ @utrecht-heading-1-font-size: @nl-heading-level-1-font-size;
993
+ @utrecht-heading-1-font-family: @nl-heading-level-1-font-family;
950
994
  @utrecht-form-field-error-message-color: @utrecht-feedback-invalid-color;
951
995
  @utrecht-form-field-description-warning-color: @utrecht-feedback-warning-color;
952
996
  @utrecht-form-field-description-invalid-color: @utrecht-feedback-invalid-color;
@@ -966,6 +1010,10 @@
966
1010
  @utrecht-feedback-warning-background-color: @utrecht-feedback-warning-color;
967
1011
  @utrecht-feedback-danger-border-color: @utrecht-feedback-danger-color;
968
1012
  @utrecht-feedback-danger-background-color: @utrecht-feedback-danger-color;
1013
+ @utrecht-code-block-line-height: @nl-code-block-line-height;
1014
+ @utrecht-code-block-font-size: @nl-code-block-font-size;
1015
+ @utrecht-code-block-color: @nl-code-block-color;
1016
+ @utrecht-code-block-background-color: @nl-code-block-background-color;
969
1017
  @utrecht-checkbox-color: @utrecht-form-control-color;
970
1018
  @utrecht-checkbox-border-color: @utrecht-form-control-border-color;
971
1019
  @utrecht-checkbox-background-color: @utrecht-form-control-background-color;
@@ -980,9 +1028,22 @@
980
1028
  @utrecht-button-pressed-background-color: @utrecht-button-active-background-color;
981
1029
  @utrecht-breadcrumb-nav-arrows-link-focus-background-color: @utrecht-focus-background-color;
982
1030
  @utrecht-breadcrumb-nav-link-focus-background-color: @utrecht-focus-background-color;
1031
+ @utrecht-badge-padding-inline: @nl-data-badge-padding-inline; // Default inline padding color for badge components
1032
+ @utrecht-badge-padding-block: @nl-data-badge-padding-block; // Default block padding for badge components
1033
+ @utrecht-badge-color: @nl-data-badge-color; // Default text color for badge components
1034
+ @utrecht-badge-background-color: @nl-data-badge-background-color; // Default background color for badge components
983
1035
  @utrecht-badge-counter-border-radius: @utrecht-badge-counter-font-size; // Default corner radius for badge components
984
1036
  @of-layout-bg: @of-layout-background;
1037
+ @utrecht-skip-link-focus-color: @nl-skip-link-focus-visible-color;
1038
+ @utrecht-skip-link-focus-background-color: @nl-skip-link-focus-visible-background-color;
1039
+ @utrecht-skip-link-padding-inline-end: @nl-skip-link-padding-inline;
1040
+ @utrecht-skip-link-padding-inline-start: @nl-skip-link-padding-inline;
1041
+ @utrecht-skip-link-padding-block-end: @nl-skip-link-padding-block;
1042
+ @utrecht-skip-link-padding-block-start: @nl-skip-link-padding-block;
1043
+ @utrecht-skip-link-color: @nl-skip-link-color;
1044
+ @utrecht-skip-link-background-color: @nl-skip-link-background-color;
985
1045
  @utrecht-radio-button-invalid-border-color: @utrecht-form-control-invalid-border-color;
1046
+ @utrecht-number-badge-border-radius: @nl-number-badge-border-radius;
986
1047
  @utrecht-form-field-invalid-border-inline-start-color: @utrecht-form-control-invalid-border-color;
987
1048
  @utrecht-form-field-description-valid-color: @utrecht-feedback-valid-color;
988
1049
  @utrecht-feedback-active-border-color: @utrecht-feedback-safe-border-color;
@@ -275,6 +275,7 @@ export const utrechtCheckboxInvalidBorderColor = "#990000";
275
275
  export const utrechtCheckboxMarginBlockStart = 0;
276
276
  export const utrechtCodeBlockBackgroundColor = "hsl(0 0% 95%)";
277
277
  export const utrechtCodeBlockColor = "hsl(0 0% 0%)";
278
+ export const utrechtCodeBlockFontFamily = "\"Monaco\"";
278
279
  export const utrechtCodeBlockFontSize = "1rem";
279
280
  export const utrechtCodeBlockLineHeight = "1.5";
280
281
  export const utrechtCodeBlockMarginBlockStart = "20px";
@@ -728,7 +729,6 @@ export const utrechtParagraphFontWeight = "400";
728
729
  export const utrechtParagraphLineHeight = "1.5";
729
730
  export const utrechtParagraphMarginBlockStart = "16px";
730
731
  export const utrechtParagraphMarginBlockEnd = "0";
731
- export const utrechtParagraphLeadColor = "hsl(0 0% 0%)";
732
732
  export const utrechtParagraphLeadFontSize = "1.25rem";
733
733
  export const utrechtParagraphLeadFontWeight = "400";
734
734
  export const utrechtParagraphLeadLineHeight = "1.5";
@@ -999,6 +999,67 @@ export const denhaagProcessStepsSubStepHeadingColor = "hsl(0 0% 15%)";
999
999
  export const denhaagProcessStepsSubStepHeadingFontSize = "0.875rem";
1000
1000
  export const denhaagProcessStepsSubStepHeadingFontWeight = "400";
1001
1001
  export const denhaagProcessStepsSubStepLineColor = "hsl(90 30% 30%)";
1002
+ export const nlCodeBlockBackgroundColor = "hsl(0 0% 95%)";
1003
+ export const nlCodeBlockColor = "hsl(0 0% 0%)";
1004
+ export const nlCodeBlockFontFamily = "\"Monaco\"";
1005
+ export const nlCodeBlockFontSize = "1rem";
1006
+ export const nlCodeBlockLineHeight = "1.5";
1007
+ export const nlCodeBlockPaddingBlock = "20px";
1008
+ export const nlCodeBlockPaddingInline = "20px";
1009
+ export const nlDataBadgeBackgroundColor = "hsl(0 0% 30%)";
1010
+ export const nlDataBadgeBorderRadius = "0";
1011
+ export const nlDataBadgeColor = "hsl(0 0% 100%)";
1012
+ export const nlDataBadgePaddingBlock = "8px";
1013
+ export const nlDataBadgePaddingInline = "12px";
1014
+ export const nlHeadingLevel1FontFamily = "\"Lucida Grande\", \"Lucida Sans Unicode\", \"Lucida Sans\", \"Arial\", sans-serif";
1015
+ export const nlHeadingLevel1FontSize = "2rem";
1016
+ export const nlHeadingLevel1FontWeight = "700";
1017
+ export const nlHeadingLevel1LineHeight = "1.25";
1018
+ export const nlHeadingLevel2FontFamily = "\"Lucida Grande\", \"Lucida Sans Unicode\", \"Lucida Sans\", \"Arial\", sans-serif";
1019
+ export const nlHeadingLevel2FontSize = "1.25rem";
1020
+ export const nlHeadingLevel2FontWeight = "700";
1021
+ export const nlHeadingLevel2LineHeight = "1.25";
1022
+ export const nlHeadingLevel3FontFamily = "\"Lucida Grande\", \"Lucida Sans Unicode\", \"Lucida Sans\", \"Arial\", sans-serif";
1023
+ export const nlHeadingLevel3FontSize = "1.25rem";
1024
+ export const nlHeadingLevel3FontWeight = "400";
1025
+ export const nlHeadingLevel3LineHeight = "1.25";
1026
+ export const nlHeadingLevel4FontFamily = "\"Lucida Grande\", \"Lucida Sans Unicode\", \"Lucida Sans\", \"Arial\", sans-serif";
1027
+ export const nlHeadingLevel4FontSize = "1.125rem";
1028
+ export const nlHeadingLevel4FontWeight = "400";
1029
+ export const nlHeadingLevel4LineHeight = "1.5";
1030
+ export const nlHeadingLevel5FontFamily = "\"Lucida Grande\", \"Lucida Sans Unicode\", \"Lucida Sans\", \"Arial\", sans-serif";
1031
+ export const nlHeadingLevel5FontSize = "0.875rem";
1032
+ export const nlHeadingLevel5FontWeight = "400";
1033
+ export const nlHeadingLevel5LineHeight = "1.5";
1034
+ export const nlHeadingLevel6FontFamily = "\"Lucida Grande\", \"Lucida Sans Unicode\", \"Lucida Sans\", \"Arial\", sans-serif";
1035
+ export const nlHeadingLevel6FontSize = "0.875rem";
1036
+ export const nlHeadingLevel6FontWeight = "400";
1037
+ export const nlHeadingLevel6LineHeight = "1.5";
1038
+ export const nlMarkBackgroundColor = "hsl(48 100% 60%)";
1039
+ export const nlMarkColor = "hsl(0 0% 0%)";
1040
+ export const nlNumberBadgeBackgroundColor = "hsl(0 100% 40%)";
1041
+ export const nlNumberBadgeBorderRadius = "1rem";
1042
+ export const nlNumberBadgeColor = "hsl(0 0% 100%)";
1043
+ export const nlNumberBadgeFontSize = "1rem";
1044
+ export const nlNumberBadgePaddingBlock = "1ex";
1045
+ export const nlNumberBadgePaddingInline = "1ex";
1046
+ export const nlParagraphFontFamily = "\"Lucida Grande\", \"Lucida Sans Unicode\", \"Lucida Sans\", \"Arial\", sans-serif";
1047
+ export const nlParagraphFontSize = "1rem";
1048
+ export const nlParagraphFontWeight = "400";
1049
+ export const nlParagraphLineHeight = "1.5";
1050
+ export const nlParagraphLeadColor = "hsl(0 0% 0%)";
1051
+ export const nlParagraphLeadFontSize = "1.25rem";
1052
+ export const nlParagraphLeadFontWeight = "400";
1053
+ export const nlParagraphLeadLineHeight = "1.5";
1054
+ export const nlParagraphSmallFontSize = "0.875rem";
1055
+ export const nlSkipLinkBackgroundColor = "hsl(0 0% 15%)";
1056
+ export const nlSkipLinkColor = "hsl(0 0% 100%)";
1057
+ export const nlSkipLinkPaddingBlock = "8px";
1058
+ export const nlSkipLinkPaddingInline = "16px";
1059
+ export const nlSkipLinkTextDecoration = "underline";
1060
+ export const nlSkipLinkFocusVisibleColor = "hsl(0 0% 0%)";
1061
+ export const nlSkipLinkFocusVisibleBackgroundColor = "hsl(48 100% 80%)";
1062
+ export const nlSkipLinkFocusVisibleTextDecoration = "none";
1002
1063
  export const ofLayoutBackground = "hsl(0 0% 100%)";
1003
1064
  export const ofLayoutBg = "hsl(0 0% 100%)";
1004
1065
  export const ofPageFooterBg = "hsl(0 100% 40%)";
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.2.0",
2
+ "version": "2.4.0",
3
3
  "author": "Community for NL Design System",
4
4
  "description": "Design Tokens for the Municipality of Utrecht based on the NL Design System architecture",
5
5
  "license": "SEE LICENSE IN ./LICENSE.md",
@@ -0,0 +1,13 @@
1
+ {
2
+ "nl": {
3
+ "code-block": {
4
+ "background-color": { "value": "{utrecht.color.grey.95}" },
5
+ "color": { "value": "{utrecht.color.black}" },
6
+ "font-family": { "value": "\"Monaco\"" },
7
+ "font-size": { "value": "{utrecht.typography.scale.md.font-size}" },
8
+ "line-height": { "value": "{utrecht.typography.line-height.md}" },
9
+ "padding-block": { "value": "20px" },
10
+ "padding-inline": { "value": "20px" }
11
+ }
12
+ }
13
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "nl": {
3
+ "code": {
4
+ "background-color": {},
5
+ "color": {},
6
+ "font-family": {},
7
+ "font-size": {},
8
+ "line-height": {}
9
+ }
10
+ }
11
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "nl": {
3
+ "data-badge": {
4
+ "background-color": {
5
+ "value": "{utrecht.color.grey.30}"
6
+ },
7
+ "border-radius": {
8
+ "value": "0"
9
+ },
10
+ "color": {
11
+ "value": "{utrecht.color.white}"
12
+ },
13
+ "font-weight": {},
14
+ "padding-block": {
15
+ "value": "{utrecht.space.block.xs}"
16
+ },
17
+ "padding-inline": {
18
+ "value": "{utrecht.space.inline.sm}"
19
+ }
20
+ }
21
+ }
22
+ }
@@ -0,0 +1,48 @@
1
+ {
2
+ "nl": {
3
+ "heading": {
4
+ "level-1": {
5
+ "color": {},
6
+ "font-family": { "value": "{utrecht.typography.sans-serif.font-family}" },
7
+ "font-size": { "value": "{utrecht.typography.scale.4xl.font-size}" },
8
+ "font-weight": { "value": "{utrecht.typography.weight-scale.bold.font-weight}" },
9
+ "line-height": { "value": "{utrecht.typography.line-height.sm}" }
10
+ },
11
+ "level-2": {
12
+ "color": {},
13
+ "font-family": { "value": "{utrecht.typography.sans-serif.font-family}" },
14
+ "font-size": { "value": "{utrecht.typography.scale.xl.font-size}" },
15
+ "font-weight": { "value": "{utrecht.typography.weight-scale.bold.font-weight}" },
16
+ "line-height": { "value": "{utrecht.typography.line-height.sm}" }
17
+ },
18
+ "level-3": {
19
+ "color": {},
20
+ "font-family": { "value": "{utrecht.typography.sans-serif.font-family}" },
21
+ "font-size": { "value": "{utrecht.typography.scale.xl.font-size}" },
22
+ "font-weight": { "value": "{utrecht.typography.weight-scale.normal.font-weight}" },
23
+ "line-height": { "value": "{utrecht.typography.line-height.sm}" }
24
+ },
25
+ "level-4": {
26
+ "color": {},
27
+ "font-family": { "value": "{utrecht.typography.sans-serif.font-family}" },
28
+ "font-size": { "value": "{utrecht.typography.scale.lg.font-size}" },
29
+ "font-weight": { "value": "{utrecht.typography.weight-scale.normal.font-weight}" },
30
+ "line-height": { "value": "{utrecht.typography.line-height.md}" }
31
+ },
32
+ "level-5": {
33
+ "color": {},
34
+ "font-family": { "value": "{utrecht.typography.sans-serif.font-family}" },
35
+ "font-size": { "value": "{utrecht.typography.scale.sm.font-size}" },
36
+ "font-weight": { "value": "{utrecht.typography.weight-scale.normal.font-weight}" },
37
+ "line-height": { "value": "{utrecht.typography.line-height.md}" }
38
+ },
39
+ "level-6": {
40
+ "color": {},
41
+ "font-family": { "value": "{utrecht.typography.sans-serif.font-family}" },
42
+ "font-size": { "value": "{utrecht.typography.scale.sm.font-size}" },
43
+ "font-weight": { "value": "{utrecht.typography.weight-scale.normal.font-weight}" },
44
+ "line-height": { "value": "{utrecht.typography.line-height.md}" }
45
+ }
46
+ }
47
+ }
48
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "nl": {
3
+ "mark": {
4
+ "background-color": { "value": "{utrecht.color.yellow.60}" },
5
+ "color": { "value": "{utrecht.color.black}" }
6
+ }
7
+ }
8
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "nl": {
3
+ "number-badge": {
4
+ "background-color": {
5
+ "value": "{utrecht.color.red.40}"
6
+ },
7
+ "border-radius": {
8
+ "value": "{nl.number-badge.font-size}"
9
+ },
10
+ "color": {
11
+ "value": "{utrecht.color.white}"
12
+ },
13
+ "font-size": { "value": "{utrecht.typography.scale.md.font-size}" },
14
+ "font-weight": {},
15
+ "padding-block": {
16
+ "value": "1ex"
17
+ },
18
+ "padding-inline": {
19
+ "value": "1ex"
20
+ }
21
+ }
22
+ }
23
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "nl": {
3
+ "paragraph": {
4
+ "color": {},
5
+ "font-family": { "value": "{utrecht.typography.sans-serif.font-family}" },
6
+ "font-size": { "value": "{utrecht.typography.scale.md.font-size}" },
7
+ "font-weight": { "value": "{utrecht.typography.weight-scale.normal.font-weight}" },
8
+ "line-height": { "value": "{utrecht.typography.line-height.md}" },
9
+ "lead": {
10
+ "color": { "value": "{utrecht.document.color}" },
11
+ "font-size": { "value": "{utrecht.typography.scale.xl.font-size}" },
12
+ "font-weight": { "value": "{utrecht.typography.weight-scale.normal.font-weight}" },
13
+ "line-height": { "value": "{utrecht.typography.line-height.md}" }
14
+ },
15
+ "small": {
16
+ "font-size": { "value": "{utrecht.typography.scale.sm.font-size}" }
17
+ }
18
+ }
19
+ }
20
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "nl": {
3
+ "skip-link": {
4
+ "background-color": { "value": "{utrecht.topnav.list.background-color}" },
5
+ "color": { "value": "{utrecht.topnav.link.color}" },
6
+ "padding-block": { "value": "{utrecht.button.padding-block-start}" },
7
+ "padding-inline": { "value": "{utrecht.button.padding-inline-start}" },
8
+ "text-decoration": { "value": "{utrecht.link.text-decoration}" },
9
+ "focus-visible": {
10
+ "color": { "value": "{utrecht.topnav.link.focus.color}" },
11
+ "background-color": { "value": "{utrecht.topnav.link.focus.background-color}" },
12
+ "text-decoration": { "value": "{utrecht.link.focus-visible.text-decoration}" }
13
+ }
14
+ }
15
+ }
16
+ }
@@ -2,23 +2,23 @@
2
2
  "utrecht": {
3
3
  "badge": {
4
4
  "background-color": {
5
- "value": "{utrecht.color.grey.30}"
5
+ "value": "{nl.data-badge.background-color}"
6
6
  },
7
7
  "border-radius": {
8
- "value": "0"
8
+ "value": "{nl.data-badge.border-radius}"
9
9
  },
10
10
  "color": {
11
- "value": "{utrecht.color.white}"
11
+ "value": "{nl.data-badge.color}"
12
12
  },
13
13
  "font-weight": {},
14
14
  "padding-block": {
15
- "value": "{utrecht.space.block.xs}"
15
+ "value": "{nl.data-badge.padding-block}"
16
16
  },
17
17
  "font-style": {
18
18
  "value": "{utrecht.typography.font-style.normal}"
19
19
  },
20
20
  "padding-inline": {
21
- "value": "{utrecht.space.inline.sm}"
21
+ "value": "{nl.data-badge.padding-inline}"
22
22
  }
23
23
  }
24
24
  }
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "utrecht": {
3
3
  "code-block": {
4
- "background-color": { "value": "{utrecht.color.grey.95}" },
5
- "color": { "value": "{utrecht.color.black}" },
6
- "font-family": {},
7
- "font-size": { "value": "{utrecht.typography.scale.md.font-size}" },
8
- "line-height": { "value": "{utrecht.typography.line-height.md}" },
4
+ "background-color": { "value": "{nl.code-block.background-color}" },
5
+ "color": { "value": "{nl.code-block.color}" },
6
+ "font-family": { "value": "{nl.code-block.font-family}" },
7
+ "font-size": { "value": "{nl.code-block.font-size}" },
8
+ "line-height": { "value": "{nl.code-block.line-height}" },
9
9
  "margin-block-end": { "value": "{utrecht.space.block.lg}" },
10
10
  "margin-block-start": { "value": "{utrecht.space.block.lg}" },
11
11
  "margin-inline-end": {},
12
12
  "margin-inline-start": {},
13
- "padding-block-end": { "value": "20px" },
14
- "padding-block-start": { "value": "20px" },
15
- "padding-inline-end": { "value": "20px" },
16
- "padding-inline-start": { "value": "20px" }
13
+ "padding-block-end": { "value": "{nl.code-block.padding-block}" },
14
+ "padding-block-start": { "value": "{nl.code-block.padding-block}" },
15
+ "padding-inline-end": { "value": "{nl.code-block.padding-inline}" },
16
+ "padding-inline-start": { "value": "{nl.code-block.padding-inline}" }
17
17
  }
18
18
  }
19
19
  }