@utrecht/design-tokens 5.0.3 → 5.1.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 (53) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/_mixin-theme.scss +5 -2
  3. package/dist/_mixin.scss +5 -2
  4. package/dist/_variables.scss +5 -2
  5. package/dist/dark/_mixin-theme.scss +5 -2
  6. package/dist/dark/_mixin.scss +5 -2
  7. package/dist/dark/_variables.scss +5 -2
  8. package/dist/dark/index.cjs +5 -2
  9. package/dist/dark/index.css +5 -2
  10. package/dist/dark/index.d.ts +3 -0
  11. package/dist/dark/index.flat.json +5 -2
  12. package/dist/dark/index.json +133 -4
  13. package/dist/dark/index.mjs +5 -2
  14. package/dist/dark/index.tokens.json +12 -7
  15. package/dist/dark/list.json +133 -4
  16. package/dist/dark/list.mjs +133 -4
  17. package/dist/dark/property.css +2 -0
  18. package/dist/dark/root.css +5 -2
  19. package/dist/dark/theme-prince-xml.css +5 -2
  20. package/dist/dark/theme.css +5 -2
  21. package/dist/dark/tokens.cjs +138 -7
  22. package/dist/dark/tokens.d.ts +5 -2
  23. package/dist/dark/tokens.json +138 -7
  24. package/dist/dark/variables.cjs +5 -2
  25. package/dist/dark/variables.css +5 -2
  26. package/dist/dark/variables.d.ts +3 -0
  27. package/dist/dark/variables.json +5 -2
  28. package/dist/dark/variables.less +5 -2
  29. package/dist/dark/variables.mjs +5 -2
  30. package/dist/index.cjs +5 -2
  31. package/dist/index.css +10 -4
  32. package/dist/index.d.ts +3 -0
  33. package/dist/index.flat.json +5 -2
  34. package/dist/index.json +133 -4
  35. package/dist/index.mjs +5 -2
  36. package/dist/index.tokens.json +12 -7
  37. package/dist/list.json +133 -4
  38. package/dist/list.mjs +133 -4
  39. package/dist/property.css +2 -0
  40. package/dist/root.css +5 -2
  41. package/dist/theme-prince-xml.css +5 -2
  42. package/dist/theme.css +5 -2
  43. package/dist/tokens.cjs +138 -7
  44. package/dist/tokens.d.ts +5 -2
  45. package/dist/tokens.json +138 -7
  46. package/dist/variables.cjs +5 -2
  47. package/dist/variables.css +5 -2
  48. package/dist/variables.d.ts +3 -0
  49. package/dist/variables.json +5 -2
  50. package/dist/variables.less +5 -2
  51. package/dist/variables.mjs +5 -2
  52. package/package.json +1 -1
  53. package/src/component/utrecht/root.tokens.json +6 -3
package/dist/tokens.json CHANGED
@@ -3784,7 +3784,9 @@
3784
3784
  "syntax": "*",
3785
3785
  "inherits": true
3786
3786
  },
3787
+ "nl.nldesignsystem.deprecated": true,
3787
3788
  "nl.nldesignsystem.figma.supports-token": true,
3789
+ "nl.nldesignsystem.redirect": "utrecht.root.font-family",
3788
3790
  "studio.tokens": {
3789
3791
  "originalType": "fontFamilies"
3790
3792
  }
@@ -3799,7 +3801,9 @@
3799
3801
  "syntax": "*",
3800
3802
  "inherits": true
3801
3803
  },
3804
+ "nl.nldesignsystem.deprecated": true,
3802
3805
  "nl.nldesignsystem.figma.supports-token": true,
3806
+ "nl.nldesignsystem.redirect": "utrecht.root.font-family",
3803
3807
  "studio.tokens": {
3804
3808
  "originalType": "fontFamilies"
3805
3809
  }
@@ -3821,7 +3825,9 @@
3821
3825
  "syntax": "<length>",
3822
3826
  "inherits": true
3823
3827
  },
3828
+ "nl.nldesignsystem.deprecated": true,
3824
3829
  "nl.nldesignsystem.figma.supports-token": true,
3830
+ "nl.nldesignsystem.redirect": "utrecht.root.font-size",
3825
3831
  "studio.tokens": {
3826
3832
  "originalType": "fontSizes"
3827
3833
  }
@@ -3836,7 +3842,9 @@
3836
3842
  "syntax": "<length>",
3837
3843
  "inherits": true
3838
3844
  },
3845
+ "nl.nldesignsystem.deprecated": true,
3839
3846
  "nl.nldesignsystem.figma.supports-token": true,
3847
+ "nl.nldesignsystem.redirect": "utrecht.root.font-size",
3840
3848
  "studio.tokens": {
3841
3849
  "originalType": "fontSizes"
3842
3850
  }
@@ -3858,7 +3866,9 @@
3858
3866
  "syntax": "<number>",
3859
3867
  "inherits": true
3860
3868
  },
3861
- "nl.nldesignsystem.figma.supports-token": true
3869
+ "nl.nldesignsystem.deprecated": true,
3870
+ "nl.nldesignsystem.figma.supports-token": true,
3871
+ "nl.nldesignsystem.redirect": "utrecht.root.font-weight"
3862
3872
  },
3863
3873
  "type": "fontWeights"
3864
3874
  },
@@ -3871,7 +3881,9 @@
3871
3881
  ],
3872
3882
  "inherits": true
3873
3883
  },
3884
+ "nl.nldesignsystem.deprecated": true,
3874
3885
  "nl.nldesignsystem.figma.supports-token": true,
3886
+ "nl.nldesignsystem.redirect": "utrecht.root.font-family",
3875
3887
  "studio.tokens": {
3876
3888
  "originalType": "lineHeights"
3877
3889
  }
@@ -3889,7 +3901,9 @@
3889
3901
  ],
3890
3902
  "inherits": true
3891
3903
  },
3904
+ "nl.nldesignsystem.deprecated": true,
3892
3905
  "nl.nldesignsystem.figma.supports-token": true,
3906
+ "nl.nldesignsystem.redirect": "utrecht.root.font-family",
3893
3907
  "studio.tokens": {
3894
3908
  "originalType": "lineHeights"
3895
3909
  }
@@ -34908,7 +34922,7 @@
34908
34922
  "nl.nldesignsystem.figma.supports-token": false
34909
34923
  },
34910
34924
  "type": "color",
34911
- "value": "hsl(0 0% 95%)",
34925
+ "value": "hsl(0 0% 100%)",
34912
34926
  "filePath": "src/component/utrecht/root.tokens.json",
34913
34927
  "isSource": true,
34914
34928
  "original": {
@@ -34920,7 +34934,7 @@
34920
34934
  "nl.nldesignsystem.figma.supports-token": false
34921
34935
  },
34922
34936
  "type": "color",
34923
- "value": "{utrecht.color.grey.95}"
34937
+ "value": "{utrecht.color.white}"
34924
34938
  },
34925
34939
  "name": "utrechtRootBackgroundColor",
34926
34940
  "attributes": {},
@@ -34939,7 +34953,7 @@
34939
34953
  "nl.nldesignsystem.figma.supports-token": false
34940
34954
  },
34941
34955
  "type": "color",
34942
- "value": "hsl(0 0% 10%)",
34956
+ "value": "hsl(0 0% 0%)",
34943
34957
  "filePath": "src/component/utrecht/root.tokens.json",
34944
34958
  "isSource": true,
34945
34959
  "original": {
@@ -34951,7 +34965,7 @@
34951
34965
  "nl.nldesignsystem.figma.supports-token": false
34952
34966
  },
34953
34967
  "type": "color",
34954
- "value": "{utrecht.color.grey.10}"
34968
+ "value": "{utrecht.color.black}"
34955
34969
  },
34956
34970
  "name": "utrechtRootColor",
34957
34971
  "attributes": {},
@@ -34967,9 +34981,36 @@
34967
34981
  "syntax": "*",
34968
34982
  "inherits": true
34969
34983
  },
34970
- "nl.nldesignsystem.figma.supports-token": false
34984
+ "nl.nldesignsystem.figma.supports-token": false,
34985
+ "studio.tokens": {
34986
+ "originalType": "fontFamilies"
34987
+ }
34971
34988
  },
34972
- "type": "fontFamilies"
34989
+ "type": "fontFamily",
34990
+ "value": "\"Noto Sans Variable\", \"Arial\", sans-serif",
34991
+ "filePath": "src/component/utrecht/root.tokens.json",
34992
+ "isSource": true,
34993
+ "original": {
34994
+ "$extensions": {
34995
+ "nl.nldesignsystem.css.property": {
34996
+ "syntax": "*",
34997
+ "inherits": true
34998
+ },
34999
+ "nl.nldesignsystem.figma.supports-token": false,
35000
+ "studio.tokens": {
35001
+ "originalType": "fontFamilies"
35002
+ }
35003
+ },
35004
+ "type": "fontFamily",
35005
+ "value": "{utrecht.typography.sans-serif.font-family}"
35006
+ },
35007
+ "name": "utrechtRootFontFamily",
35008
+ "attributes": {},
35009
+ "path": [
35010
+ "utrecht",
35011
+ "root",
35012
+ "font-family"
35013
+ ]
34973
35014
  },
34974
35015
  "font-size-adjust": {
34975
35016
  "$extensions": {
@@ -35001,6 +35042,96 @@
35001
35042
  "root",
35002
35043
  "font-size-adjust"
35003
35044
  ]
35045
+ },
35046
+ "font-size": {
35047
+ "$extensions": {
35048
+ "nl.nldesignsystem.css.property": {
35049
+ "syntax": "<length>",
35050
+ "inherits": true
35051
+ },
35052
+ "nl.nldesignsystem.figma.supports-token": false,
35053
+ "studio.tokens": {
35054
+ "originalType": "fontSizes"
35055
+ }
35056
+ },
35057
+ "type": "fontSize",
35058
+ "value": "1rem",
35059
+ "filePath": "src/component/utrecht/root.tokens.json",
35060
+ "isSource": true,
35061
+ "original": {
35062
+ "$extensions": {
35063
+ "nl.nldesignsystem.css.property": {
35064
+ "syntax": "<length>",
35065
+ "inherits": true
35066
+ },
35067
+ "nl.nldesignsystem.figma.supports-token": false,
35068
+ "studio.tokens": {
35069
+ "originalType": "fontSizes"
35070
+ }
35071
+ },
35072
+ "type": "fontSize",
35073
+ "value": "{utrecht.typography.scale.md.font-size}"
35074
+ },
35075
+ "name": "utrechtRootFontSize",
35076
+ "attributes": {},
35077
+ "path": [
35078
+ "utrecht",
35079
+ "root",
35080
+ "font-size"
35081
+ ]
35082
+ },
35083
+ "font-weight": {
35084
+ "$extensions": {
35085
+ "nl.nldesignsystem.css.property": {
35086
+ "syntax": "<number>",
35087
+ "inherits": true
35088
+ },
35089
+ "nl.nldesignsystem.figma.supports-token": false
35090
+ },
35091
+ "type": "fontWeights"
35092
+ },
35093
+ "line-height": {
35094
+ "$extensions": {
35095
+ "nl.nldesignsystem.css.property": {
35096
+ "syntax": [
35097
+ "<length>",
35098
+ "<number>"
35099
+ ],
35100
+ "inherits": true
35101
+ },
35102
+ "nl.nldesignsystem.figma.supports-token": false,
35103
+ "studio.tokens": {
35104
+ "originalType": "lineHeights"
35105
+ }
35106
+ },
35107
+ "type": "lineHeight",
35108
+ "value": "1.4",
35109
+ "filePath": "src/component/utrecht/root.tokens.json",
35110
+ "isSource": true,
35111
+ "original": {
35112
+ "$extensions": {
35113
+ "nl.nldesignsystem.css.property": {
35114
+ "syntax": [
35115
+ "<length>",
35116
+ "<number>"
35117
+ ],
35118
+ "inherits": true
35119
+ },
35120
+ "nl.nldesignsystem.figma.supports-token": false,
35121
+ "studio.tokens": {
35122
+ "originalType": "lineHeights"
35123
+ }
35124
+ },
35125
+ "type": "lineHeight",
35126
+ "value": "1.4"
35127
+ },
35128
+ "name": "utrechtRootLineHeight",
35129
+ "attributes": {},
35130
+ "path": [
35131
+ "utrecht",
35132
+ "root",
35133
+ "line-height"
35134
+ ]
35004
35135
  }
35005
35136
  },
35006
35137
  "search-bar": {
@@ -894,9 +894,12 @@ module.exports = {
894
894
  "utrechtRichTextFriendMarginBlockEnd": "16px",
895
895
  "utrechtRichTextBestFriendMarginBlockEnd": "8px",
896
896
  "utrechtRichTextConfidantMarginBlockEnd": 0,
897
- "utrechtRootBackgroundColor": "hsl(0 0% 95%)",
898
- "utrechtRootColor": "hsl(0 0% 10%)",
897
+ "utrechtRootBackgroundColor": "hsl(0 0% 100%)",
898
+ "utrechtRootColor": "hsl(0 0% 0%)",
899
+ "utrechtRootFontFamily": "\"Noto Sans Variable\", \"Arial\", sans-serif",
899
900
  "utrechtRootFontSizeAdjust": "0.54",
901
+ "utrechtRootFontSize": "1rem",
902
+ "utrechtRootLineHeight": "1.4",
900
903
  "utrechtSearchBarButtonBackgroundColor": "hsl(0 100% 40%)",
901
904
  "utrechtSearchBarButtonBorderColor": "hsl(0 100% 40%)",
902
905
  "utrechtSearchBarButtonColor": "hsl(0 0% 100%)",
@@ -117,6 +117,7 @@
117
117
  --utrecht-search-bar-dropdown-border-width: 1px;
118
118
  --utrecht-search-bar-button-hover-scale: 1;
119
119
  --utrecht-search-bar-button-hover-background-color: hsl(359 65% 58%);
120
+ --utrecht-root-line-height: 1.4;
120
121
  --utrecht-root-font-size-adjust: 0.54;
121
122
  --utrecht-rich-text-confidant-margin-block-end: 0;
122
123
  --utrecht-radio-button-size: 24px;
@@ -538,8 +539,10 @@
538
539
  --utrecht-search-bar-button-color: var(--utrecht-color-white);
539
540
  --utrecht-search-bar-button-border-color: var(--utrecht-color-red-40);
540
541
  --utrecht-search-bar-button-background-color: var(--utrecht-color-red-40);
541
- --utrecht-root-color: var(--utrecht-color-grey-10);
542
- --utrecht-root-background-color: var(--utrecht-color-grey-95);
542
+ --utrecht-root-font-size: var(--utrecht-typography-scale-md-font-size);
543
+ --utrecht-root-font-family: var(--utrecht-typography-sans-serif-font-family);
544
+ --utrecht-root-color: var(--utrecht-color-black);
545
+ --utrecht-root-background-color: var(--utrecht-color-white);
543
546
  --utrecht-rich-text-stranger-margin-block-end: var(--utrecht-space-block-2xl);
544
547
  --utrecht-rich-text-friend-margin-block-end: var(--utrecht-space-block-md);
545
548
  --utrecht-rich-text-best-friend-margin-block-end: var(--utrecht-space-block-xs);
@@ -962,7 +962,10 @@ export const utrechtRichTextBestFriendMarginBlockEnd : string;
962
962
  export const utrechtRichTextConfidantMarginBlockEnd : string;
963
963
  export const utrechtRootBackgroundColor : string;
964
964
  export const utrechtRootColor : string;
965
+ export const utrechtRootFontFamily : string;
965
966
  export const utrechtRootFontSizeAdjust : string;
967
+ export const utrechtRootFontSize : string;
968
+ export const utrechtRootLineHeight : string;
966
969
  export const utrechtSearchBarButtonBackgroundColor : string;
967
970
  export const utrechtSearchBarButtonBorderColor : string;
968
971
  export const utrechtSearchBarButtonColor : string;
@@ -995,9 +995,12 @@
995
995
  "utrechtRichTextConfidantMarginBlockEnd": 0,
996
996
  "utrechtRichTextFriendMarginBlockEnd": "16px",
997
997
  "utrechtRichTextStrangerMarginBlockEnd": "32px",
998
- "utrechtRootBackgroundColor": "hsl(0 0% 95%)",
999
- "utrechtRootColor": "hsl(0 0% 10%)",
998
+ "utrechtRootBackgroundColor": "hsl(0 0% 100%)",
999
+ "utrechtRootColor": "hsl(0 0% 0%)",
1000
+ "utrechtRootFontFamily": "\"Noto Sans Variable\", \"Arial\", sans-serif",
1001
+ "utrechtRootFontSize": "1rem",
1000
1002
  "utrechtRootFontSizeAdjust": "0.54",
1003
+ "utrechtRootLineHeight": "1.4",
1001
1004
  "utrechtSearchBarButtonBackgroundColor": "hsl(0 100% 40%)",
1002
1005
  "utrechtSearchBarButtonBorderColor": "hsl(0 100% 40%)",
1003
1006
  "utrechtSearchBarButtonColor": "hsl(0 0% 100%)",
@@ -133,6 +133,7 @@
133
133
  @utrecht-search-bar-input-background-position-x: .5em;
134
134
  @utrecht-search-bar-button-hover-scale: 1;
135
135
  @utrecht-search-bar-button-hover-background-color: hsl(359 65% 58%);
136
+ @utrecht-root-line-height: 1.4;
136
137
  @utrecht-root-font-size-adjust: 0.54;
137
138
  @utrecht-rich-text-confidant-margin-block-end: 0;
138
139
  @utrecht-radio-button-border-radius: 0;
@@ -607,8 +608,10 @@
607
608
  @utrecht-search-bar-button-color: @utrecht-color-white;
608
609
  @utrecht-search-bar-button-border-color: @utrecht-color-red-40;
609
610
  @utrecht-search-bar-button-background-color: @utrecht-color-red-40;
610
- @utrecht-root-color: @utrecht-color-grey-10;
611
- @utrecht-root-background-color: @utrecht-color-grey-95;
611
+ @utrecht-root-font-size: @utrecht-typography-scale-md-font-size;
612
+ @utrecht-root-font-family: @utrecht-typography-sans-serif-font-family;
613
+ @utrecht-root-color: @utrecht-color-black;
614
+ @utrecht-root-background-color: @utrecht-color-white;
612
615
  @utrecht-rich-text-best-friend-margin-block-end: @utrecht-space-block-xs;
613
616
  @utrecht-rich-text-friend-margin-block-end: @utrecht-space-block-md;
614
617
  @utrecht-rich-text-acquaintance-margin-block-end: @utrecht-space-block-xl;
@@ -893,9 +893,12 @@ export const utrechtRichTextAcquaintanceMarginBlockEnd = "24px";
893
893
  export const utrechtRichTextFriendMarginBlockEnd = "16px";
894
894
  export const utrechtRichTextBestFriendMarginBlockEnd = "8px";
895
895
  export const utrechtRichTextConfidantMarginBlockEnd = 0;
896
- export const utrechtRootBackgroundColor = "hsl(0 0% 95%)";
897
- export const utrechtRootColor = "hsl(0 0% 10%)";
896
+ export const utrechtRootBackgroundColor = "hsl(0 0% 100%)";
897
+ export const utrechtRootColor = "hsl(0 0% 0%)";
898
+ export const utrechtRootFontFamily = "\"Noto Sans Variable\", \"Arial\", sans-serif";
898
899
  export const utrechtRootFontSizeAdjust = "0.54";
900
+ export const utrechtRootFontSize = "1rem";
901
+ export const utrechtRootLineHeight = "1.4";
899
902
  export const utrechtSearchBarButtonBackgroundColor = "hsl(0 100% 40%)";
900
903
  export const utrechtSearchBarButtonBorderColor = "hsl(0 100% 40%)";
901
904
  export const utrechtSearchBarButtonColor = "hsl(0 0% 100%)";
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.0.3",
2
+ "version": "5.1.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",
@@ -1,9 +1,12 @@
1
1
  {
2
2
  "utrecht": {
3
3
  "root": {
4
- "background-color": { "value": "{utrecht.color.grey.95}" },
5
- "color": { "value": "{utrecht.color.grey.10}" },
6
- "font-size-adjust": { "value": "0.54" }
4
+ "background-color": { "value": "{utrecht.color.white}" },
5
+ "color": { "value": "{utrecht.color.black}" },
6
+ "font-family": { "value": "{utrecht.typography.sans-serif.font-family}" },
7
+ "font-size": { "value": "{utrecht.typography.scale.md.font-size}" },
8
+ "font-size-adjust": { "value": "0.54" },
9
+ "line-height": { "value": "1.4" }
7
10
  }
8
11
  }
9
12
  }