@utrecht/design-tokens 5.0.2 → 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 +12 -0
  2. package/dist/_mixin-theme.scss +6 -2
  3. package/dist/_mixin.scss +6 -2
  4. package/dist/_variables.scss +6 -2
  5. package/dist/dark/_mixin-theme.scss +6 -2
  6. package/dist/dark/_mixin.scss +6 -2
  7. package/dist/dark/_variables.scss +6 -2
  8. package/dist/dark/index.cjs +6 -2
  9. package/dist/dark/index.css +6 -2
  10. package/dist/dark/index.d.ts +4 -0
  11. package/dist/dark/index.flat.json +6 -2
  12. package/dist/dark/index.json +164 -4
  13. package/dist/dark/index.mjs +6 -2
  14. package/dist/dark/index.tokens.json +13 -7
  15. package/dist/dark/list.json +164 -4
  16. package/dist/dark/list.mjs +164 -4
  17. package/dist/dark/property.css +3 -0
  18. package/dist/dark/root.css +6 -2
  19. package/dist/dark/theme-prince-xml.css +6 -2
  20. package/dist/dark/theme.css +6 -2
  21. package/dist/dark/tokens.cjs +168 -6
  22. package/dist/dark/tokens.d.ts +6 -2
  23. package/dist/dark/tokens.json +168 -6
  24. package/dist/dark/variables.cjs +6 -2
  25. package/dist/dark/variables.css +6 -2
  26. package/dist/dark/variables.d.ts +4 -0
  27. package/dist/dark/variables.json +6 -2
  28. package/dist/dark/variables.less +6 -2
  29. package/dist/dark/variables.mjs +6 -2
  30. package/dist/index.cjs +6 -2
  31. package/dist/index.css +12 -4
  32. package/dist/index.d.ts +4 -0
  33. package/dist/index.flat.json +6 -2
  34. package/dist/index.json +164 -4
  35. package/dist/index.mjs +6 -2
  36. package/dist/index.tokens.json +13 -7
  37. package/dist/list.json +164 -4
  38. package/dist/list.mjs +164 -4
  39. package/dist/property.css +3 -0
  40. package/dist/root.css +6 -2
  41. package/dist/theme-prince-xml.css +6 -2
  42. package/dist/theme.css +6 -2
  43. package/dist/tokens.cjs +168 -6
  44. package/dist/tokens.d.ts +6 -2
  45. package/dist/tokens.json +168 -6
  46. package/dist/variables.cjs +6 -2
  47. package/dist/variables.css +6 -2
  48. package/dist/variables.d.ts +4 -0
  49. package/dist/variables.json +6 -2
  50. package/dist/variables.less +6 -2
  51. package/dist/variables.mjs +6 -2
  52. package/package.json +1 -1
  53. package/src/component/utrecht/root.tokens.json +6 -2
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,157 @@
34967
34981
  "syntax": "*",
34968
34982
  "inherits": true
34969
34983
  },
34984
+ "nl.nldesignsystem.figma.supports-token": false,
34985
+ "studio.tokens": {
34986
+ "originalType": "fontFamilies"
34987
+ }
34988
+ },
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
+ ]
35014
+ },
35015
+ "font-size-adjust": {
35016
+ "$extensions": {
35017
+ "nl.nldesignsystem.css.property": {
35018
+ "syntax": "<number>",
35019
+ "inherits": true
35020
+ },
34970
35021
  "nl.nldesignsystem.figma.supports-token": false
34971
35022
  },
34972
- "type": "fontFamilies"
35023
+ "type": "other",
35024
+ "value": "0.54",
35025
+ "filePath": "src/component/utrecht/root.tokens.json",
35026
+ "isSource": true,
35027
+ "original": {
35028
+ "$extensions": {
35029
+ "nl.nldesignsystem.css.property": {
35030
+ "syntax": "<number>",
35031
+ "inherits": true
35032
+ },
35033
+ "nl.nldesignsystem.figma.supports-token": false
35034
+ },
35035
+ "type": "other",
35036
+ "value": "0.54"
35037
+ },
35038
+ "name": "utrechtRootFontSizeAdjust",
35039
+ "attributes": {},
35040
+ "path": [
35041
+ "utrecht",
35042
+ "root",
35043
+ "font-size-adjust"
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
+ ]
34973
35135
  }
34974
35136
  },
34975
35137
  "search-bar": {
@@ -894,8 +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",
900
+ "utrechtRootFontSizeAdjust": "0.54",
901
+ "utrechtRootFontSize": "1rem",
902
+ "utrechtRootLineHeight": "1.4",
899
903
  "utrechtSearchBarButtonBackgroundColor": "hsl(0 100% 40%)",
900
904
  "utrechtSearchBarButtonBorderColor": "hsl(0 100% 40%)",
901
905
  "utrechtSearchBarButtonColor": "hsl(0 0% 100%)",
@@ -117,6 +117,8 @@
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;
121
+ --utrecht-root-font-size-adjust: 0.54;
120
122
  --utrecht-rich-text-confidant-margin-block-end: 0;
121
123
  --utrecht-radio-button-size: 24px;
122
124
  --utrecht-radio-button-margin-inline-end: 12px;
@@ -537,8 +539,10 @@
537
539
  --utrecht-search-bar-button-color: var(--utrecht-color-white);
538
540
  --utrecht-search-bar-button-border-color: var(--utrecht-color-red-40);
539
541
  --utrecht-search-bar-button-background-color: var(--utrecht-color-red-40);
540
- --utrecht-root-color: var(--utrecht-color-grey-10);
541
- --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);
542
546
  --utrecht-rich-text-stranger-margin-block-end: var(--utrecht-space-block-2xl);
543
547
  --utrecht-rich-text-friend-margin-block-end: var(--utrecht-space-block-md);
544
548
  --utrecht-rich-text-best-friend-margin-block-end: var(--utrecht-space-block-xs);
@@ -962,6 +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;
966
+ export const utrechtRootFontSizeAdjust : string;
967
+ export const utrechtRootFontSize : string;
968
+ export const utrechtRootLineHeight : string;
965
969
  export const utrechtSearchBarButtonBackgroundColor : string;
966
970
  export const utrechtSearchBarButtonBorderColor : string;
967
971
  export const utrechtSearchBarButtonColor : string;
@@ -995,8 +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",
1002
+ "utrechtRootFontSizeAdjust": "0.54",
1003
+ "utrechtRootLineHeight": "1.4",
1000
1004
  "utrechtSearchBarButtonBackgroundColor": "hsl(0 100% 40%)",
1001
1005
  "utrechtSearchBarButtonBorderColor": "hsl(0 100% 40%)",
1002
1006
  "utrechtSearchBarButtonColor": "hsl(0 0% 100%)",
@@ -133,6 +133,8 @@
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;
137
+ @utrecht-root-font-size-adjust: 0.54;
136
138
  @utrecht-rich-text-confidant-margin-block-end: 0;
137
139
  @utrecht-radio-button-border-radius: 0;
138
140
  @utrecht-radio-button-invalid-border-width: 2px;
@@ -606,8 +608,10 @@
606
608
  @utrecht-search-bar-button-color: @utrecht-color-white;
607
609
  @utrecht-search-bar-button-border-color: @utrecht-color-red-40;
608
610
  @utrecht-search-bar-button-background-color: @utrecht-color-red-40;
609
- @utrecht-root-color: @utrecht-color-grey-10;
610
- @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;
611
615
  @utrecht-rich-text-best-friend-margin-block-end: @utrecht-space-block-xs;
612
616
  @utrecht-rich-text-friend-margin-block-end: @utrecht-space-block-md;
613
617
  @utrecht-rich-text-acquaintance-margin-block-end: @utrecht-space-block-xl;
@@ -893,8 +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";
899
+ export const utrechtRootFontSizeAdjust = "0.54";
900
+ export const utrechtRootFontSize = "1rem";
901
+ export const utrechtRootLineHeight = "1.4";
898
902
  export const utrechtSearchBarButtonBackgroundColor = "hsl(0 100% 40%)";
899
903
  export const utrechtSearchBarButtonBorderColor = "hsl(0 100% 40%)";
900
904
  export const utrechtSearchBarButtonColor = "hsl(0 0% 100%)";
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.0.2",
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,8 +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}" }
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" }
6
10
  }
7
11
  }
8
12
  }