@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
@@ -284,6 +284,7 @@ export const utrechtCheckboxInvalidBorderColor = "#990000";
284
284
  export const utrechtCheckboxMarginBlockStart = 0;
285
285
  export const utrechtCodeBlockBackgroundColor = "hsl(0 0% 95%)";
286
286
  export const utrechtCodeBlockColor = "hsl(0 0% 0%)";
287
+ export const utrechtCodeBlockFontFamily = "\"Monaco\"";
287
288
  export const utrechtCodeBlockFontSize = "1rem";
288
289
  export const utrechtCodeBlockLineHeight = "1.5";
289
290
  export const utrechtCodeBlockMarginBlockStart = "20px";
@@ -737,7 +738,6 @@ export const utrechtParagraphFontWeight = "400";
737
738
  export const utrechtParagraphLineHeight = "1.5";
738
739
  export const utrechtParagraphMarginBlockStart = "16px";
739
740
  export const utrechtParagraphMarginBlockEnd = "0";
740
- export const utrechtParagraphLeadColor = "hsl(0 0% 95%)";
741
741
  export const utrechtParagraphLeadFontSize = "1.25rem";
742
742
  export const utrechtParagraphLeadFontWeight = "400";
743
743
  export const utrechtParagraphLeadLineHeight = "1.5";
@@ -1010,6 +1010,67 @@ export const denhaagProcessStepsSubStepHeadingColor = "hsl(0 0% 15%)";
1010
1010
  export const denhaagProcessStepsSubStepHeadingFontSize = "0.875rem";
1011
1011
  export const denhaagProcessStepsSubStepHeadingFontWeight = "400";
1012
1012
  export const denhaagProcessStepsSubStepLineColor = "hsl(90 30% 30%)";
1013
+ export const nlCodeBlockBackgroundColor = "hsl(0 0% 95%)";
1014
+ export const nlCodeBlockColor = "hsl(0 0% 0%)";
1015
+ export const nlCodeBlockFontFamily = "\"Monaco\"";
1016
+ export const nlCodeBlockFontSize = "1rem";
1017
+ export const nlCodeBlockLineHeight = "1.5";
1018
+ export const nlCodeBlockPaddingBlock = "20px";
1019
+ export const nlCodeBlockPaddingInline = "20px";
1020
+ export const nlDataBadgeBackgroundColor = "hsl(0 0% 30%)";
1021
+ export const nlDataBadgeBorderRadius = "0";
1022
+ export const nlDataBadgeColor = "hsl(0 0% 100%)";
1023
+ export const nlDataBadgePaddingBlock = "8px";
1024
+ export const nlDataBadgePaddingInline = "12px";
1025
+ export const nlHeadingLevel1FontFamily = "\"Lucida Grande\", \"Lucida Sans Unicode\", \"Lucida Sans\", \"Arial\", sans-serif";
1026
+ export const nlHeadingLevel1FontSize = "2rem";
1027
+ export const nlHeadingLevel1FontWeight = "700";
1028
+ export const nlHeadingLevel1LineHeight = "1.25";
1029
+ export const nlHeadingLevel2FontFamily = "\"Lucida Grande\", \"Lucida Sans Unicode\", \"Lucida Sans\", \"Arial\", sans-serif";
1030
+ export const nlHeadingLevel2FontSize = "1.25rem";
1031
+ export const nlHeadingLevel2FontWeight = "700";
1032
+ export const nlHeadingLevel2LineHeight = "1.25";
1033
+ export const nlHeadingLevel3FontFamily = "\"Lucida Grande\", \"Lucida Sans Unicode\", \"Lucida Sans\", \"Arial\", sans-serif";
1034
+ export const nlHeadingLevel3FontSize = "1.25rem";
1035
+ export const nlHeadingLevel3FontWeight = "400";
1036
+ export const nlHeadingLevel3LineHeight = "1.25";
1037
+ export const nlHeadingLevel4FontFamily = "\"Lucida Grande\", \"Lucida Sans Unicode\", \"Lucida Sans\", \"Arial\", sans-serif";
1038
+ export const nlHeadingLevel4FontSize = "1.125rem";
1039
+ export const nlHeadingLevel4FontWeight = "400";
1040
+ export const nlHeadingLevel4LineHeight = "1.5";
1041
+ export const nlHeadingLevel5FontFamily = "\"Lucida Grande\", \"Lucida Sans Unicode\", \"Lucida Sans\", \"Arial\", sans-serif";
1042
+ export const nlHeadingLevel5FontSize = "0.875rem";
1043
+ export const nlHeadingLevel5FontWeight = "400";
1044
+ export const nlHeadingLevel5LineHeight = "1.5";
1045
+ export const nlHeadingLevel6FontFamily = "\"Lucida Grande\", \"Lucida Sans Unicode\", \"Lucida Sans\", \"Arial\", sans-serif";
1046
+ export const nlHeadingLevel6FontSize = "0.875rem";
1047
+ export const nlHeadingLevel6FontWeight = "400";
1048
+ export const nlHeadingLevel6LineHeight = "1.5";
1049
+ export const nlMarkBackgroundColor = "hsl(48 100% 60%)";
1050
+ export const nlMarkColor = "hsl(0 0% 0%)";
1051
+ export const nlNumberBadgeBackgroundColor = "hsl(0 100% 40%)";
1052
+ export const nlNumberBadgeBorderRadius = "1rem";
1053
+ export const nlNumberBadgeColor = "hsl(0 0% 100%)";
1054
+ export const nlNumberBadgeFontSize = "1rem";
1055
+ export const nlNumberBadgePaddingBlock = "1ex";
1056
+ export const nlNumberBadgePaddingInline = "1ex";
1057
+ export const nlParagraphFontFamily = "\"Lucida Grande\", \"Lucida Sans Unicode\", \"Lucida Sans\", \"Arial\", sans-serif";
1058
+ export const nlParagraphFontSize = "1rem";
1059
+ export const nlParagraphFontWeight = "400";
1060
+ export const nlParagraphLineHeight = "1.5";
1061
+ export const nlParagraphLeadColor = "hsl(0 0% 95%)";
1062
+ export const nlParagraphLeadFontSize = "1.25rem";
1063
+ export const nlParagraphLeadFontWeight = "400";
1064
+ export const nlParagraphLeadLineHeight = "1.5";
1065
+ export const nlParagraphSmallFontSize = "0.875rem";
1066
+ export const nlSkipLinkBackgroundColor = "hsl(0 0% 15%)";
1067
+ export const nlSkipLinkColor = "hsl(0 0% 100%)";
1068
+ export const nlSkipLinkPaddingBlock = "8px";
1069
+ export const nlSkipLinkPaddingInline = "16px";
1070
+ export const nlSkipLinkTextDecoration = "underline";
1071
+ export const nlSkipLinkFocusVisibleColor = "hsl(0 0% 0%)";
1072
+ export const nlSkipLinkFocusVisibleBackgroundColor = "hsl(48 100% 80%)";
1073
+ export const nlSkipLinkFocusVisibleTextDecoration = "none";
1013
1074
  export const ofLayoutBackground = "hsl(0 0% 15%)";
1014
1075
  export const ofLayoutBg = "hsl(0 0% 15%)";
1015
1076
  export const ofPageFooterBg = "hsl(0 100% 40%)";
@@ -504,31 +504,6 @@
504
504
  "padding-block": "1ex",
505
505
  "padding-inline": "1ex"
506
506
  },
507
- "badge-data": {
508
- "letter-spacing": {
509
- "$extensions": {
510
- "nl.nldesignsystem.css.property": {
511
- "syntax": "<length>",
512
- "inherits": true
513
- },
514
- "nl.nldesignsystem.figma.supports-token": false
515
- },
516
- "type": "letterSpacing"
517
- },
518
- "text-transform": {
519
- "$extensions": {
520
- "nl.nldesignsystem.css.property": {
521
- "syntax": [
522
- "inherit",
523
- "uppercase"
524
- ],
525
- "inherits": true
526
- },
527
- "nl.nldesignsystem.figma.supports-token": false
528
- },
529
- "type": "textCase"
530
- }
531
- },
532
507
  "badge-list": {
533
508
  "row-gap": {
534
509
  "$extensions": {
@@ -2296,16 +2271,7 @@
2296
2271
  "code-block": {
2297
2272
  "background-color": "hsl(0 0% 95%)",
2298
2273
  "color": "hsl(0 0% 0%)",
2299
- "font-family": {
2300
- "$extensions": {
2301
- "nl.nldesignsystem.css.property": {
2302
- "syntax": "*",
2303
- "inherits": true
2304
- },
2305
- "nl.nldesignsystem.figma.supports-token": true
2306
- },
2307
- "type": "fontFamilies"
2308
- },
2274
+ "font-family": "\"Monaco\"",
2309
2275
  "font-size": "1rem",
2310
2276
  "line-height": "1.5",
2311
2277
  "margin-block-start": "20px",
@@ -2701,6 +2667,126 @@
2701
2667
  }
2702
2668
  },
2703
2669
  "currency-data": {},
2670
+ "data-badge": {
2671
+ "background-color": {
2672
+ "comment": "Default background color for badge components",
2673
+ "$extensions": {
2674
+ "nl.nldesignsystem.css.property": {
2675
+ "syntax": "<color>",
2676
+ "inherits": true
2677
+ },
2678
+ "nl.nldesignsystem.figma.supports-token": false
2679
+ },
2680
+ "type": "color"
2681
+ },
2682
+ "border-radius": {
2683
+ "comment": "Default corner radius for badge components",
2684
+ "$extensions": {
2685
+ "nl.nldesignsystem.css.property": {
2686
+ "syntax": "<length-percentage>",
2687
+ "inherits": true
2688
+ },
2689
+ "nl.nldesignsystem.figma.supports-token": false
2690
+ },
2691
+ "type": "borderRadius"
2692
+ },
2693
+ "border-width": {
2694
+ "$extensions": {
2695
+ "nl.nldesignsystem.css.property": {
2696
+ "syntax": "<length>",
2697
+ "inherits": true
2698
+ },
2699
+ "nl.nldesignsystem.figma.supports-token": false
2700
+ },
2701
+ "type": "borderWidth"
2702
+ },
2703
+ "color": {
2704
+ "comment": "Default text color for badge components",
2705
+ "$extensions": {
2706
+ "nl.nldesignsystem.css.property": {
2707
+ "syntax": "<color>",
2708
+ "inherits": true
2709
+ },
2710
+ "nl.nldesignsystem.figma.supports-token": false
2711
+ },
2712
+ "type": "color"
2713
+ },
2714
+ "font-size": {
2715
+ "$extensions": {
2716
+ "nl.nldesignsystem.css.property": {
2717
+ "syntax": "<length>",
2718
+ "inherits": true
2719
+ },
2720
+ "nl.nldesignsystem.figma.supports-token": false
2721
+ },
2722
+ "type": "fontSizes"
2723
+ },
2724
+ "font-weight": {
2725
+ "$extensions": {
2726
+ "nl.nldesignsystem.css.property": {
2727
+ "syntax": "<number>",
2728
+ "inherits": true
2729
+ },
2730
+ "nl.nldesignsystem.figma.supports-token": false
2731
+ },
2732
+ "type": "fontWeights"
2733
+ },
2734
+ "line-height": {
2735
+ "$extensions": {
2736
+ "nl.nldesignsystem.css.property": {
2737
+ "syntax": [
2738
+ "<length>",
2739
+ "<number>"
2740
+ ],
2741
+ "inherits": true
2742
+ },
2743
+ "nl.nldesignsystem.figma.supports-token": false
2744
+ },
2745
+ "type": "lineHeights"
2746
+ },
2747
+ "min-block-size": {
2748
+ "$extensions": {
2749
+ "nl.nldesignsystem.css.property": {
2750
+ "syntax": "<length>",
2751
+ "inherits": true
2752
+ },
2753
+ "nl.nldesignsystem.figma.supports-token": false
2754
+ },
2755
+ "type": "sizing"
2756
+ },
2757
+ "min-inline-size": {
2758
+ "$extensions": {
2759
+ "nl.nldesignsystem.css.property": {
2760
+ "syntax": "<length>",
2761
+ "inherits": true
2762
+ },
2763
+ "nl.nldesignsystem.figma.supports-token": false
2764
+ },
2765
+ "type": "sizing"
2766
+ },
2767
+ "padding-block": {
2768
+ "comment": "Default block padding for badge components",
2769
+ "$extensions": {
2770
+ "nl.nldesignsystem.css.property": {
2771
+ "syntax": "<length>",
2772
+ "inherits": true
2773
+ },
2774
+ "nl.nldesignsystem.figma.supports-token": false
2775
+ },
2776
+ "type": "spacing"
2777
+ },
2778
+ "padding-inline": {
2779
+ "comment": "Default inline padding color for badge components",
2780
+ "$extensions": {
2781
+ "nl.nldesignsystem.css.property": {
2782
+ "syntax": "<length>",
2783
+ "inherits": true
2784
+ },
2785
+ "nl.nldesignsystem.figma.supports-token": false
2786
+ },
2787
+ "type": "spacing"
2788
+ }
2789
+ },
2704
2790
  "data-list": {
2705
2791
  "margin-block-end": "16px",
2706
2792
  "margin-block-start": "16px",
@@ -5240,7 +5326,20 @@
5240
5326
  "margin-block-start": "16px",
5241
5327
  "margin-block-end": "0",
5242
5328
  "lead": {
5243
- "color": "hsl(0 0% 95%)",
5329
+ "color": {
5330
+ "$extensions": {
5331
+ "nl.nldesignsystem.css.property": {
5332
+ "syntax": "<color>",
5333
+ "inherits": true
5334
+ },
5335
+ "nl.nldesignsystem.fallback": [
5336
+ "utrecht.paragraph.color",
5337
+ "utrecht.document.color"
5338
+ ],
5339
+ "nl.nldesignsystem.figma.supports-token": true
5340
+ },
5341
+ "type": "color"
5342
+ },
5244
5343
  "font-size": "1.25rem",
5245
5344
  "font-weight": "400",
5246
5345
  "line-height": "1.5"
@@ -8198,6 +8297,117 @@
8198
8297
  }
8199
8298
  }
8200
8299
  },
8300
+ "nl": {
8301
+ "code-block": {
8302
+ "background-color": "hsl(0 0% 95%)",
8303
+ "color": "hsl(0 0% 0%)",
8304
+ "font-family": "\"Monaco\"",
8305
+ "font-size": "1rem",
8306
+ "line-height": "1.5",
8307
+ "padding-block": "20px",
8308
+ "padding-inline": "20px"
8309
+ },
8310
+ "code": {
8311
+ "background-color": {},
8312
+ "color": {},
8313
+ "font-family": {},
8314
+ "font-size": {},
8315
+ "line-height": {}
8316
+ },
8317
+ "data-badge": {
8318
+ "background-color": "hsl(0 0% 30%)",
8319
+ "border-radius": "0",
8320
+ "color": "hsl(0 0% 100%)",
8321
+ "font-weight": {},
8322
+ "padding-block": "8px",
8323
+ "padding-inline": "12px"
8324
+ },
8325
+ "heading": {
8326
+ "level-1": {
8327
+ "color": {},
8328
+ "font-family": "\"Lucida Grande\", \"Lucida Sans Unicode\", \"Lucida Sans\", \"Arial\", sans-serif",
8329
+ "font-size": "2rem",
8330
+ "font-weight": "700",
8331
+ "line-height": "1.25"
8332
+ },
8333
+ "level-2": {
8334
+ "color": {},
8335
+ "font-family": "\"Lucida Grande\", \"Lucida Sans Unicode\", \"Lucida Sans\", \"Arial\", sans-serif",
8336
+ "font-size": "1.25rem",
8337
+ "font-weight": "700",
8338
+ "line-height": "1.25"
8339
+ },
8340
+ "level-3": {
8341
+ "color": {},
8342
+ "font-family": "\"Lucida Grande\", \"Lucida Sans Unicode\", \"Lucida Sans\", \"Arial\", sans-serif",
8343
+ "font-size": "1.25rem",
8344
+ "font-weight": "400",
8345
+ "line-height": "1.25"
8346
+ },
8347
+ "level-4": {
8348
+ "color": {},
8349
+ "font-family": "\"Lucida Grande\", \"Lucida Sans Unicode\", \"Lucida Sans\", \"Arial\", sans-serif",
8350
+ "font-size": "1.125rem",
8351
+ "font-weight": "400",
8352
+ "line-height": "1.5"
8353
+ },
8354
+ "level-5": {
8355
+ "color": {},
8356
+ "font-family": "\"Lucida Grande\", \"Lucida Sans Unicode\", \"Lucida Sans\", \"Arial\", sans-serif",
8357
+ "font-size": "0.875rem",
8358
+ "font-weight": "400",
8359
+ "line-height": "1.5"
8360
+ },
8361
+ "level-6": {
8362
+ "color": {},
8363
+ "font-family": "\"Lucida Grande\", \"Lucida Sans Unicode\", \"Lucida Sans\", \"Arial\", sans-serif",
8364
+ "font-size": "0.875rem",
8365
+ "font-weight": "400",
8366
+ "line-height": "1.5"
8367
+ }
8368
+ },
8369
+ "mark": {
8370
+ "background-color": "hsl(48 100% 60%)",
8371
+ "color": "hsl(0 0% 0%)"
8372
+ },
8373
+ "number-badge": {
8374
+ "background-color": "hsl(0 100% 40%)",
8375
+ "border-radius": "1rem",
8376
+ "color": "hsl(0 0% 100%)",
8377
+ "font-size": "1rem",
8378
+ "font-weight": {},
8379
+ "padding-block": "1ex",
8380
+ "padding-inline": "1ex"
8381
+ },
8382
+ "paragraph": {
8383
+ "color": {},
8384
+ "font-family": "\"Lucida Grande\", \"Lucida Sans Unicode\", \"Lucida Sans\", \"Arial\", sans-serif",
8385
+ "font-size": "1rem",
8386
+ "font-weight": "400",
8387
+ "line-height": "1.5",
8388
+ "lead": {
8389
+ "color": "hsl(0 0% 95%)",
8390
+ "font-size": "1.25rem",
8391
+ "font-weight": "400",
8392
+ "line-height": "1.5"
8393
+ },
8394
+ "small": {
8395
+ "font-size": "0.875rem"
8396
+ }
8397
+ },
8398
+ "skip-link": {
8399
+ "background-color": "hsl(0 0% 15%)",
8400
+ "color": "hsl(0 0% 100%)",
8401
+ "padding-block": "8px",
8402
+ "padding-inline": "16px",
8403
+ "text-decoration": "underline",
8404
+ "focus-visible": {
8405
+ "color": "hsl(0 0% 0%)",
8406
+ "background-color": "hsl(48 100% 80%)",
8407
+ "text-decoration": "none"
8408
+ }
8409
+ }
8410
+ },
8201
8411
  "of": {
8202
8412
  "layout": {
8203
8413
  "background": "hsl(0 0% 15%)",