@utrecht/design-tokens 2.3.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 (73) hide show
  1. package/CHANGELOG.md +14 -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 +246 -36
  15. package/dist/dark/list.json +1046 -102
  16. package/dist/dark/list.mjs +1046 -102
  17. package/dist/dark/property.css +0 -1
  18. package/dist/dark/root.css +124 -63
  19. package/dist/dark/theme-prince-xml.css +124 -63
  20. package/dist/dark/theme.css +124 -63
  21. package/dist/dark/tokens.cjs +1209 -116
  22. package/dist/dark/tokens.d.ts +177 -20
  23. package/dist/dark/tokens.json +1209 -116
  24. package/dist/dark/variables.cjs +62 -1
  25. package/dist/dark/variables.css +124 -63
  26. package/dist/dark/variables.d.ts +62 -1
  27. package/dist/dark/variables.json +62 -1
  28. package/dist/dark/variables.less +124 -63
  29. package/dist/dark/variables.mjs +62 -1
  30. package/dist/index.cjs +62 -1
  31. package/dist/index.css +248 -126
  32. package/dist/index.d.ts +62 -1
  33. package/dist/index.flat.json +62 -1
  34. package/dist/index.json +1046 -102
  35. package/dist/index.mjs +62 -1
  36. package/dist/index.tokens.json +246 -36
  37. package/dist/list.json +1046 -102
  38. package/dist/list.mjs +1046 -102
  39. package/dist/property.css +0 -1
  40. package/dist/root.css +124 -63
  41. package/dist/theme-prince-xml.css +124 -63
  42. package/dist/theme.css +124 -63
  43. package/dist/tokens.cjs +1209 -116
  44. package/dist/tokens.d.ts +177 -20
  45. package/dist/tokens.json +1209 -116
  46. package/dist/variables.cjs +62 -1
  47. package/dist/variables.css +124 -63
  48. package/dist/variables.d.ts +62 -1
  49. package/dist/variables.json +62 -1
  50. package/dist/variables.less +124 -63
  51. package/dist/variables.mjs +62 -1
  52. package/package.json +1 -1
  53. package/src/component/nl/code-block.tokens.json +13 -0
  54. package/src/component/nl/code.tokens.json +11 -0
  55. package/src/component/nl/data-badge.tokens.json +22 -0
  56. package/src/component/nl/heading.tokens.json +48 -0
  57. package/src/component/nl/mark.tokens.json +8 -0
  58. package/src/component/nl/number-badge.tokens.json +23 -0
  59. package/src/component/nl/paragraph.tokens.json +20 -0
  60. package/src/component/nl/skip-link.tokens.json +16 -0
  61. package/src/component/utrecht/badge.tokens.json +5 -5
  62. package/src/component/utrecht/code-block.tokens.json +9 -9
  63. package/src/component/utrecht/heading-1.tokens.json +4 -4
  64. package/src/component/utrecht/heading-2.tokens.json +4 -4
  65. package/src/component/utrecht/heading-3.tokens.json +4 -4
  66. package/src/component/utrecht/heading-4.tokens.json +4 -4
  67. package/src/component/utrecht/heading-5.tokens.json +4 -4
  68. package/src/component/utrecht/heading-6.tokens.json +4 -4
  69. package/src/component/utrecht/mark.tokens.json +2 -2
  70. package/src/component/utrecht/number-badge.tokens.json +6 -6
  71. package/src/component/utrecht/paragraph.tokens.json +8 -8
  72. package/src/component/utrecht/skip-link.tokens.json +10 -10
  73. package/src/component/utrecht/badge-data.tokens.json +0 -8
package/dist/index.mjs CHANGED
@@ -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%)";
@@ -500,31 +500,6 @@
500
500
  "padding-block": "1ex",
501
501
  "padding-inline": "1ex"
502
502
  },
503
- "badge-data": {
504
- "letter-spacing": {
505
- "$extensions": {
506
- "nl.nldesignsystem.css.property": {
507
- "syntax": "<length>",
508
- "inherits": true
509
- },
510
- "nl.nldesignsystem.figma.supports-token": false
511
- },
512
- "type": "letterSpacing"
513
- },
514
- "text-transform": {
515
- "$extensions": {
516
- "nl.nldesignsystem.css.property": {
517
- "syntax": [
518
- "inherit",
519
- "uppercase"
520
- ],
521
- "inherits": true
522
- },
523
- "nl.nldesignsystem.figma.supports-token": false
524
- },
525
- "type": "textCase"
526
- }
527
- },
528
503
  "badge-list": {
529
504
  "row-gap": {
530
505
  "$extensions": {
@@ -2292,16 +2267,7 @@
2292
2267
  "code-block": {
2293
2268
  "background-color": "hsl(0 0% 95%)",
2294
2269
  "color": "hsl(0 0% 0%)",
2295
- "font-family": {
2296
- "$extensions": {
2297
- "nl.nldesignsystem.css.property": {
2298
- "syntax": "*",
2299
- "inherits": true
2300
- },
2301
- "nl.nldesignsystem.figma.supports-token": true
2302
- },
2303
- "type": "fontFamilies"
2304
- },
2270
+ "font-family": "\"Monaco\"",
2305
2271
  "font-size": "1rem",
2306
2272
  "line-height": "1.5",
2307
2273
  "margin-block-start": "20px",
@@ -2697,6 +2663,126 @@
2697
2663
  }
2698
2664
  },
2699
2665
  "currency-data": {},
2666
+ "data-badge": {
2667
+ "background-color": {
2668
+ "comment": "Default background color for badge components",
2669
+ "$extensions": {
2670
+ "nl.nldesignsystem.css.property": {
2671
+ "syntax": "<color>",
2672
+ "inherits": true
2673
+ },
2674
+ "nl.nldesignsystem.figma.supports-token": false
2675
+ },
2676
+ "type": "color"
2677
+ },
2678
+ "border-radius": {
2679
+ "comment": "Default corner radius for badge components",
2680
+ "$extensions": {
2681
+ "nl.nldesignsystem.css.property": {
2682
+ "syntax": "<length-percentage>",
2683
+ "inherits": true
2684
+ },
2685
+ "nl.nldesignsystem.figma.supports-token": false
2686
+ },
2687
+ "type": "borderRadius"
2688
+ },
2689
+ "border-width": {
2690
+ "$extensions": {
2691
+ "nl.nldesignsystem.css.property": {
2692
+ "syntax": "<length>",
2693
+ "inherits": true
2694
+ },
2695
+ "nl.nldesignsystem.figma.supports-token": false
2696
+ },
2697
+ "type": "borderWidth"
2698
+ },
2699
+ "color": {
2700
+ "comment": "Default text color for badge components",
2701
+ "$extensions": {
2702
+ "nl.nldesignsystem.css.property": {
2703
+ "syntax": "<color>",
2704
+ "inherits": true
2705
+ },
2706
+ "nl.nldesignsystem.figma.supports-token": false
2707
+ },
2708
+ "type": "color"
2709
+ },
2710
+ "font-size": {
2711
+ "$extensions": {
2712
+ "nl.nldesignsystem.css.property": {
2713
+ "syntax": "<length>",
2714
+ "inherits": true
2715
+ },
2716
+ "nl.nldesignsystem.figma.supports-token": false
2717
+ },
2718
+ "type": "fontSizes"
2719
+ },
2720
+ "font-weight": {
2721
+ "$extensions": {
2722
+ "nl.nldesignsystem.css.property": {
2723
+ "syntax": "<number>",
2724
+ "inherits": true
2725
+ },
2726
+ "nl.nldesignsystem.figma.supports-token": false
2727
+ },
2728
+ "type": "fontWeights"
2729
+ },
2730
+ "line-height": {
2731
+ "$extensions": {
2732
+ "nl.nldesignsystem.css.property": {
2733
+ "syntax": [
2734
+ "<length>",
2735
+ "<number>"
2736
+ ],
2737
+ "inherits": true
2738
+ },
2739
+ "nl.nldesignsystem.figma.supports-token": false
2740
+ },
2741
+ "type": "lineHeights"
2742
+ },
2743
+ "min-block-size": {
2744
+ "$extensions": {
2745
+ "nl.nldesignsystem.css.property": {
2746
+ "syntax": "<length>",
2747
+ "inherits": true
2748
+ },
2749
+ "nl.nldesignsystem.figma.supports-token": false
2750
+ },
2751
+ "type": "sizing"
2752
+ },
2753
+ "min-inline-size": {
2754
+ "$extensions": {
2755
+ "nl.nldesignsystem.css.property": {
2756
+ "syntax": "<length>",
2757
+ "inherits": true
2758
+ },
2759
+ "nl.nldesignsystem.figma.supports-token": false
2760
+ },
2761
+ "type": "sizing"
2762
+ },
2763
+ "padding-block": {
2764
+ "comment": "Default block padding for badge components",
2765
+ "$extensions": {
2766
+ "nl.nldesignsystem.css.property": {
2767
+ "syntax": "<length>",
2768
+ "inherits": true
2769
+ },
2770
+ "nl.nldesignsystem.figma.supports-token": false
2771
+ },
2772
+ "type": "spacing"
2773
+ },
2774
+ "padding-inline": {
2775
+ "comment": "Default inline padding color for badge components",
2776
+ "$extensions": {
2777
+ "nl.nldesignsystem.css.property": {
2778
+ "syntax": "<length>",
2779
+ "inherits": true
2780
+ },
2781
+ "nl.nldesignsystem.figma.supports-token": false
2782
+ },
2783
+ "type": "spacing"
2784
+ }
2785
+ },
2700
2786
  "data-list": {
2701
2787
  "margin-block-end": "16px",
2702
2788
  "margin-block-start": "16px",
@@ -5236,7 +5322,20 @@
5236
5322
  "margin-block-start": "16px",
5237
5323
  "margin-block-end": "0",
5238
5324
  "lead": {
5239
- "color": "hsl(0 0% 0%)",
5325
+ "color": {
5326
+ "$extensions": {
5327
+ "nl.nldesignsystem.css.property": {
5328
+ "syntax": "<color>",
5329
+ "inherits": true
5330
+ },
5331
+ "nl.nldesignsystem.fallback": [
5332
+ "utrecht.paragraph.color",
5333
+ "utrecht.document.color"
5334
+ ],
5335
+ "nl.nldesignsystem.figma.supports-token": true
5336
+ },
5337
+ "type": "color"
5338
+ },
5240
5339
  "font-size": "1.25rem",
5241
5340
  "font-weight": "400",
5242
5341
  "line-height": "1.5"
@@ -8212,6 +8311,117 @@
8212
8311
  }
8213
8312
  }
8214
8313
  },
8314
+ "nl": {
8315
+ "code-block": {
8316
+ "background-color": "hsl(0 0% 95%)",
8317
+ "color": "hsl(0 0% 0%)",
8318
+ "font-family": "\"Monaco\"",
8319
+ "font-size": "1rem",
8320
+ "line-height": "1.5",
8321
+ "padding-block": "20px",
8322
+ "padding-inline": "20px"
8323
+ },
8324
+ "code": {
8325
+ "background-color": {},
8326
+ "color": {},
8327
+ "font-family": {},
8328
+ "font-size": {},
8329
+ "line-height": {}
8330
+ },
8331
+ "data-badge": {
8332
+ "background-color": "hsl(0 0% 30%)",
8333
+ "border-radius": "0",
8334
+ "color": "hsl(0 0% 100%)",
8335
+ "font-weight": {},
8336
+ "padding-block": "8px",
8337
+ "padding-inline": "12px"
8338
+ },
8339
+ "heading": {
8340
+ "level-1": {
8341
+ "color": {},
8342
+ "font-family": "\"Lucida Grande\", \"Lucida Sans Unicode\", \"Lucida Sans\", \"Arial\", sans-serif",
8343
+ "font-size": "2rem",
8344
+ "font-weight": "700",
8345
+ "line-height": "1.25"
8346
+ },
8347
+ "level-2": {
8348
+ "color": {},
8349
+ "font-family": "\"Lucida Grande\", \"Lucida Sans Unicode\", \"Lucida Sans\", \"Arial\", sans-serif",
8350
+ "font-size": "1.25rem",
8351
+ "font-weight": "700",
8352
+ "line-height": "1.25"
8353
+ },
8354
+ "level-3": {
8355
+ "color": {},
8356
+ "font-family": "\"Lucida Grande\", \"Lucida Sans Unicode\", \"Lucida Sans\", \"Arial\", sans-serif",
8357
+ "font-size": "1.25rem",
8358
+ "font-weight": "400",
8359
+ "line-height": "1.25"
8360
+ },
8361
+ "level-4": {
8362
+ "color": {},
8363
+ "font-family": "\"Lucida Grande\", \"Lucida Sans Unicode\", \"Lucida Sans\", \"Arial\", sans-serif",
8364
+ "font-size": "1.125rem",
8365
+ "font-weight": "400",
8366
+ "line-height": "1.5"
8367
+ },
8368
+ "level-5": {
8369
+ "color": {},
8370
+ "font-family": "\"Lucida Grande\", \"Lucida Sans Unicode\", \"Lucida Sans\", \"Arial\", sans-serif",
8371
+ "font-size": "0.875rem",
8372
+ "font-weight": "400",
8373
+ "line-height": "1.5"
8374
+ },
8375
+ "level-6": {
8376
+ "color": {},
8377
+ "font-family": "\"Lucida Grande\", \"Lucida Sans Unicode\", \"Lucida Sans\", \"Arial\", sans-serif",
8378
+ "font-size": "0.875rem",
8379
+ "font-weight": "400",
8380
+ "line-height": "1.5"
8381
+ }
8382
+ },
8383
+ "mark": {
8384
+ "background-color": "hsl(48 100% 60%)",
8385
+ "color": "hsl(0 0% 0%)"
8386
+ },
8387
+ "number-badge": {
8388
+ "background-color": "hsl(0 100% 40%)",
8389
+ "border-radius": "1rem",
8390
+ "color": "hsl(0 0% 100%)",
8391
+ "font-size": "1rem",
8392
+ "font-weight": {},
8393
+ "padding-block": "1ex",
8394
+ "padding-inline": "1ex"
8395
+ },
8396
+ "paragraph": {
8397
+ "color": {},
8398
+ "font-family": "\"Lucida Grande\", \"Lucida Sans Unicode\", \"Lucida Sans\", \"Arial\", sans-serif",
8399
+ "font-size": "1rem",
8400
+ "font-weight": "400",
8401
+ "line-height": "1.5",
8402
+ "lead": {
8403
+ "color": "hsl(0 0% 0%)",
8404
+ "font-size": "1.25rem",
8405
+ "font-weight": "400",
8406
+ "line-height": "1.5"
8407
+ },
8408
+ "small": {
8409
+ "font-size": "0.875rem"
8410
+ }
8411
+ },
8412
+ "skip-link": {
8413
+ "background-color": "hsl(0 0% 15%)",
8414
+ "color": "hsl(0 0% 100%)",
8415
+ "padding-block": "8px",
8416
+ "padding-inline": "16px",
8417
+ "text-decoration": "underline",
8418
+ "focus-visible": {
8419
+ "color": "hsl(0 0% 0%)",
8420
+ "background-color": "hsl(48 100% 80%)",
8421
+ "text-decoration": "none"
8422
+ }
8423
+ }
8424
+ },
8215
8425
  "of": {
8216
8426
  "layout": {
8217
8427
  "background": "hsl(0 0% 100%)",