@utrecht/design-tokens 2.1.1 → 2.2.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 +3 -5
  3. package/dist/_mixin.scss +3 -5
  4. package/dist/_variables.scss +3 -5
  5. package/dist/dark/_mixin-theme.scss +3 -5
  6. package/dist/dark/_mixin.scss +3 -5
  7. package/dist/dark/_variables.scss +3 -5
  8. package/dist/dark/index.cjs +3 -5
  9. package/dist/dark/index.css +3 -5
  10. package/dist/dark/index.d.ts +2 -6
  11. package/dist/dark/index.flat.json +1 -3
  12. package/dist/dark/index.json +26 -40
  13. package/dist/dark/index.mjs +3 -5
  14. package/dist/dark/index.tokens.json +107 -12
  15. package/dist/dark/list.json +26 -40
  16. package/dist/dark/property.css +2 -0
  17. package/dist/dark/root.css +1 -3
  18. package/dist/dark/theme-prince-xml.css +3 -5
  19. package/dist/dark/theme.css +1 -3
  20. package/dist/dark/tokens.cjs +151 -68
  21. package/dist/dark/tokens.d.ts +61 -11
  22. package/dist/dark/tokens.json +153 -70
  23. package/dist/dark/variables.cjs +3 -5
  24. package/dist/dark/variables.css +1 -3
  25. package/dist/dark/variables.d.ts +2 -6
  26. package/dist/dark/variables.json +1 -3
  27. package/dist/dark/variables.less +3 -5
  28. package/dist/dark/variables.mjs +3 -5
  29. package/dist/index.cjs +3 -5
  30. package/dist/index.css +84 -10
  31. package/dist/index.d.ts +2 -6
  32. package/dist/index.flat.json +1 -3
  33. package/dist/index.json +26 -40
  34. package/dist/index.mjs +3 -5
  35. package/dist/index.tokens.json +107 -12
  36. package/dist/list.json +26 -40
  37. package/dist/property.css +2 -0
  38. package/dist/root.css +1 -3
  39. package/dist/theme-prince-xml.css +3 -5
  40. package/dist/theme.css +1 -3
  41. package/dist/tokens.cjs +151 -68
  42. package/dist/tokens.d.ts +61 -11
  43. package/dist/tokens.json +153 -70
  44. package/dist/variables.cjs +3 -5
  45. package/dist/variables.css +1 -3
  46. package/dist/variables.d.ts +2 -6
  47. package/dist/variables.json +1 -3
  48. package/dist/variables.less +3 -5
  49. package/dist/variables.mjs +3 -5
  50. package/package.json +1 -1
  51. package/src/brand/utrecht/typography.tokens.json +0 -2
  52. package/src/component/utrecht/blockquote.tokens.json +1 -1
  53. package/src/index.scss +79 -0
@@ -3306,7 +3306,7 @@
3306
3306
  }
3307
3307
  },
3308
3308
  "type": "fontSize",
3309
- "value": "0.75rem",
3309
+ "value": "0.875rem",
3310
3310
  "filePath": "src/component/utrecht/blockquote.tokens.json",
3311
3311
  "isSource": true,
3312
3312
  "original": {
@@ -3321,7 +3321,7 @@
3321
3321
  }
3322
3322
  },
3323
3323
  "type": "fontSize",
3324
- "value": "{utrecht.typography.scale.xs.font-size}"
3324
+ "value": "{utrecht.typography.scale.sm.font-size}"
3325
3325
  },
3326
3326
  "name": "utrechtBlockquoteCaptionFontSize",
3327
3327
  "attributes": {},
@@ -21703,7 +21703,25 @@
21703
21703
  ]
21704
21704
  }
21705
21705
  },
21706
- "selected": {
21706
+ "disabled": {
21707
+ "background-color": {
21708
+ "$extensions": {
21709
+ "nl.nldesignsystem.css.property": {
21710
+ "syntax": "<color>",
21711
+ "inherits": true
21712
+ }
21713
+ }
21714
+ },
21715
+ "color": {
21716
+ "$extensions": {
21717
+ "nl.nldesignsystem.css.property": {
21718
+ "syntax": "<color>",
21719
+ "inherits": true
21720
+ }
21721
+ }
21722
+ }
21723
+ },
21724
+ "hover": {
21707
21725
  "background-color": {
21708
21726
  "$extensions": {
21709
21727
  "nl.nldesignsystem.css.property": {
@@ -21711,7 +21729,7 @@
21711
21729
  "inherits": true
21712
21730
  }
21713
21731
  },
21714
- "value": "hsl(0 0% 95%)",
21732
+ "value": "hsl(211 60% 90%)",
21715
21733
  "filePath": "src/component/utrecht/listbox.tokens.json",
21716
21734
  "isSource": true,
21717
21735
  "original": {
@@ -21721,15 +21739,15 @@
21721
21739
  "inherits": true
21722
21740
  }
21723
21741
  },
21724
- "value": "{utrecht.color.grey.95}"
21742
+ "value": "{utrecht.color.blue.90}"
21725
21743
  },
21726
- "name": "utrechtListboxOptionSelectedBackgroundColor",
21744
+ "name": "utrechtListboxOptionHoverBackgroundColor",
21727
21745
  "attributes": {},
21728
21746
  "path": [
21729
21747
  "utrecht",
21730
21748
  "listbox",
21731
21749
  "option",
21732
- "selected",
21750
+ "hover",
21733
21751
  "background-color"
21734
21752
  ]
21735
21753
  },
@@ -21752,61 +21770,121 @@
21752
21770
  },
21753
21771
  "value": "{utrecht.color.black}"
21754
21772
  },
21755
- "name": "utrechtListboxOptionSelectedColor",
21773
+ "name": "utrechtListboxOptionHoverColor",
21756
21774
  "attributes": {},
21757
21775
  "path": [
21758
21776
  "utrecht",
21759
21777
  "listbox",
21760
21778
  "option",
21761
- "selected",
21779
+ "hover",
21762
21780
  "color"
21763
21781
  ]
21764
21782
  }
21765
21783
  },
21766
- "icon": {
21767
- "size": {
21784
+ "selected": {
21785
+ "background-color": {
21768
21786
  "$extensions": {
21769
21787
  "nl.nldesignsystem.css.property": {
21770
- "syntax": "<length>",
21788
+ "syntax": "<color>",
21771
21789
  "inherits": true
21772
21790
  }
21773
- }
21774
- }
21775
- },
21776
- "hover": {
21777
- "color": {
21778
- "value": "hsl(0 0% 0%)",
21791
+ },
21792
+ "value": "hsl(0 0% 95%)",
21779
21793
  "filePath": "src/component/utrecht/listbox.tokens.json",
21780
21794
  "isSource": true,
21781
21795
  "original": {
21782
- "value": "{utrecht.color.black}"
21796
+ "$extensions": {
21797
+ "nl.nldesignsystem.css.property": {
21798
+ "syntax": "<color>",
21799
+ "inherits": true
21800
+ }
21801
+ },
21802
+ "value": "{utrecht.color.grey.95}"
21783
21803
  },
21784
- "name": "utrechtListboxOptionHoverColor",
21804
+ "name": "utrechtListboxOptionSelectedBackgroundColor",
21785
21805
  "attributes": {},
21786
21806
  "path": [
21787
21807
  "utrecht",
21788
21808
  "listbox",
21789
21809
  "option",
21790
- "hover",
21791
- "color"
21810
+ "selected",
21811
+ "background-color"
21792
21812
  ]
21793
21813
  },
21794
- "background-color": {
21795
- "value": "hsl(211 60% 90%)",
21814
+ "color": {
21815
+ "$extensions": {
21816
+ "nl.nldesignsystem.css.property": {
21817
+ "syntax": "<color>",
21818
+ "inherits": true
21819
+ }
21820
+ },
21821
+ "value": "hsl(0 0% 0%)",
21796
21822
  "filePath": "src/component/utrecht/listbox.tokens.json",
21797
21823
  "isSource": true,
21798
21824
  "original": {
21799
- "value": "{utrecht.color.blue.90}"
21825
+ "$extensions": {
21826
+ "nl.nldesignsystem.css.property": {
21827
+ "syntax": "<color>",
21828
+ "inherits": true
21829
+ }
21830
+ },
21831
+ "value": "{utrecht.color.black}"
21800
21832
  },
21801
- "name": "utrechtListboxOptionHoverBackgroundColor",
21833
+ "name": "utrechtListboxOptionSelectedColor",
21802
21834
  "attributes": {},
21803
21835
  "path": [
21804
21836
  "utrecht",
21805
21837
  "listbox",
21806
21838
  "option",
21807
- "hover",
21808
- "background-color"
21839
+ "selected",
21840
+ "color"
21809
21841
  ]
21842
+ },
21843
+ "disabled": {
21844
+ "background-color": {
21845
+ "$extensions": {
21846
+ "nl.nldesignsystem.css.property": {
21847
+ "syntax": "<color>",
21848
+ "inherits": true
21849
+ }
21850
+ }
21851
+ },
21852
+ "color": {
21853
+ "$extensions": {
21854
+ "nl.nldesignsystem.css.property": {
21855
+ "syntax": "<color>",
21856
+ "inherits": true
21857
+ }
21858
+ }
21859
+ }
21860
+ },
21861
+ "hover": {
21862
+ "background-color": {
21863
+ "$extensions": {
21864
+ "nl.nldesignsystem.css.property": {
21865
+ "syntax": "<color>",
21866
+ "inherits": true
21867
+ }
21868
+ }
21869
+ },
21870
+ "color": {
21871
+ "$extensions": {
21872
+ "nl.nldesignsystem.css.property": {
21873
+ "syntax": "<color>",
21874
+ "inherits": true
21875
+ }
21876
+ }
21877
+ }
21878
+ }
21879
+ },
21880
+ "icon": {
21881
+ "size": {
21882
+ "$extensions": {
21883
+ "nl.nldesignsystem.css.property": {
21884
+ "syntax": "<length>",
21885
+ "inherits": true
21886
+ }
21887
+ }
21810
21888
  }
21811
21889
  }
21812
21890
  },
@@ -29886,6 +29964,53 @@
29886
29964
  "type": "color"
29887
29965
  }
29888
29966
  },
29967
+ "hover": {
29968
+ "background-color": {
29969
+ "$extensions": {
29970
+ "nl.nldesignsystem.css.property": {
29971
+ "syntax": "<color>",
29972
+ "inherits": true
29973
+ },
29974
+ "nl.nldesignsystem.fallback": [
29975
+ "utrecht.form-control.hover.background-color",
29976
+ "utrecht.select.background-color",
29977
+ "utrecht.form-control.background-color"
29978
+ ],
29979
+ "nl.nldesignsystem.figma.supports-token": true
29980
+ },
29981
+ "type": "color"
29982
+ },
29983
+ "border-color": {
29984
+ "$extensions": {
29985
+ "nl.nldesignsystem.css.property": {
29986
+ "syntax": "<color>",
29987
+ "inherits": true
29988
+ },
29989
+ "nl.nldesignsystem.fallback": [
29990
+ "utrecht.form-control.hover.border-color",
29991
+ "utrecht.select.border-color",
29992
+ "utrecht.form-control.border-color"
29993
+ ],
29994
+ "nl.nldesignsystem.figma.supports-token": true
29995
+ },
29996
+ "type": "color"
29997
+ },
29998
+ "color": {
29999
+ "$extensions": {
30000
+ "nl.nldesignsystem.css.property": {
30001
+ "syntax": "<color>",
30002
+ "inherits": true
30003
+ },
30004
+ "nl.nldesignsystem.fallback": [
30005
+ "utrecht.form-control.hover.color",
30006
+ "utrecht.select.color",
30007
+ "utrecht.form-control.color"
30008
+ ],
30009
+ "nl.nldesignsystem.figma.supports-token": true
30010
+ },
30011
+ "type": "color"
30012
+ }
30013
+ },
29889
30014
  "focus": {
29890
30015
  "background-color": {
29891
30016
  "$extensions": {
@@ -35289,48 +35414,6 @@
35289
35414
  }
35290
35415
  },
35291
35416
  "scale": {
35292
- "2xs": {
35293
- "font-size": {
35294
- "value": "0.5rem",
35295
- "comment": "8px",
35296
- "filePath": "src/brand/utrecht/typography.tokens.json",
35297
- "isSource": true,
35298
- "original": {
35299
- "value": "8px",
35300
- "comment": "8px"
35301
- },
35302
- "name": "utrechtTypographyScale2xsFontSize",
35303
- "attributes": {},
35304
- "path": [
35305
- "utrecht",
35306
- "typography",
35307
- "scale",
35308
- "2xs",
35309
- "font-size"
35310
- ]
35311
- }
35312
- },
35313
- "xs": {
35314
- "font-size": {
35315
- "value": "0.75rem",
35316
- "comment": "12px",
35317
- "filePath": "src/brand/utrecht/typography.tokens.json",
35318
- "isSource": true,
35319
- "original": {
35320
- "value": "12px",
35321
- "comment": "12px"
35322
- },
35323
- "name": "utrechtTypographyScaleXsFontSize",
35324
- "attributes": {},
35325
- "path": [
35326
- "utrecht",
35327
- "typography",
35328
- "scale",
35329
- "xs",
35330
- "font-size"
35331
- ]
35332
- }
35333
- },
35334
35417
  "sm": {
35335
35418
  "font-size": {
35336
35419
  "value": "0.875rem",
@@ -82,7 +82,7 @@ module.exports = {
82
82
  "utrechtBlockquoteMarginInlineEnd": "1.6em",
83
83
  "utrechtBlockquoteContentColor": "hsl(0 100% 40%)",
84
84
  "utrechtBlockquoteContentFontSize": "1.125rem",
85
- "utrechtBlockquoteCaptionFontSize": "0.75rem",
85
+ "utrechtBlockquoteCaptionFontSize": "0.875rem",
86
86
  "utrechtBlockquoteMarginBlockStart": "1.6em",
87
87
  "utrechtBlockquoteMarginBlockEnd": "1.6em",
88
88
  "utrechtBreadcrumbNavMinBlockSize": "34px",
@@ -586,10 +586,10 @@ module.exports = {
586
586
  "utrechtListboxOptionActiveBackgroundColor": "hsl(0 0% 95%)",
587
587
  "utrechtListboxOptionActiveColor": "hsl(0 0% 0%)",
588
588
  "utrechtListboxOptionActiveFontWeight": "700",
589
+ "utrechtListboxOptionHoverBackgroundColor": "hsl(211 60% 90%)",
590
+ "utrechtListboxOptionHoverColor": "hsl(0 0% 0%)",
589
591
  "utrechtListboxOptionSelectedBackgroundColor": "hsl(0 0% 95%)",
590
592
  "utrechtListboxOptionSelectedColor": "hsl(0 0% 0%)",
591
- "utrechtListboxOptionHoverColor": "hsl(0 0% 0%)",
592
- "utrechtListboxOptionHoverBackgroundColor": "hsl(211 60% 90%)",
593
593
  "utrechtListboxOptionGroupMarginBlockEnd": "8px",
594
594
  "utrechtListboxOptionGroupTitleFontSize": "1rem",
595
595
  "utrechtListboxOptionGroupTitleFontWeight": "700",
@@ -939,8 +939,6 @@ module.exports = {
939
939
  "utrechtIconScale3xl": "36px",
940
940
  "utrechtIconScale4xl": "48px",
941
941
  "utrechtTypographySansSerifFontFamily": "\"Lucida Grande\", \"Lucida Sans Unicode\", \"Lucida Sans\", \"Arial\", sans-serif",
942
- "utrechtTypographyScale2xsFontSize": "0.5rem",
943
- "utrechtTypographyScaleXsFontSize": "0.75rem",
944
942
  "utrechtTypographyScaleSmFontSize": "0.875rem",
945
943
  "utrechtTypographyScaleMdFontSize": "1rem",
946
944
  "utrechtTypographyScaleLgFontSize": "1.125rem",
@@ -8,14 +8,12 @@
8
8
  --utrecht-unordered-list-item-margin-block-end: 0.25rem;
9
9
  --utrecht-typography-weight-scale-normal-font-weight: 400;
10
10
  --utrecht-typography-weight-scale-bold-font-weight: 700;
11
- --utrecht-typography-scale-xs-font-size: 0.75rem; /* 12px */
12
11
  --utrecht-typography-scale-xl-font-size: 1.25rem; /* 20px */
13
12
  --utrecht-typography-scale-sm-font-size: 0.875rem; /* 14px */
14
13
  --utrecht-typography-scale-md-font-size: 1rem; /* 16px */
15
14
  --utrecht-typography-scale-lg-font-size: 1.125rem; /* 18px */
16
15
  --utrecht-typography-scale-4xl-font-size: 2rem; /* 32px */
17
16
  --utrecht-typography-scale-3xl-font-size: 1.5rem; /* 24px */
18
- --utrecht-typography-scale-2xs-font-size: 0.5rem; /* 8px */
19
17
  --utrecht-typography-scale-2xl-font-size: 1.375rem; /* 22px */
20
18
  --utrecht-typography-sans-serif-font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "Arial", sans-serif;
21
19
  --utrecht-typography-line-height-xs: 1;
@@ -829,7 +827,7 @@
829
827
  --utrecht-breadcrumb-nav-arrows-link-background-color: var(--utrecht-color-grey-90);
830
828
  --utrecht-blockquote-content-font-size: var(--utrecht-typography-scale-lg-font-size);
831
829
  --utrecht-blockquote-content-color: var(--utrecht-color-red-40);
832
- --utrecht-blockquote-caption-font-size: var(--utrecht-typography-scale-xs-font-size);
830
+ --utrecht-blockquote-caption-font-size: var(--utrecht-typography-scale-sm-font-size);
833
831
  --utrecht-badge-padding-inline: var(--utrecht-space-inline-sm); /* Default inline padding color for badge components */
834
832
  --utrecht-badge-padding-block: var(--utrecht-space-block-xs); /* Default block padding for badge components */
835
833
  --utrecht-badge-list-item-margin-inline: var(--utrecht-space-block-sm);
@@ -649,10 +649,10 @@ export const utrechtListboxOptionPaddingInlineStart : string;
649
649
  export const utrechtListboxOptionActiveBackgroundColor : string;
650
650
  export const utrechtListboxOptionActiveColor : string;
651
651
  export const utrechtListboxOptionActiveFontWeight : string;
652
+ export const utrechtListboxOptionHoverBackgroundColor : string;
653
+ export const utrechtListboxOptionHoverColor : string;
652
654
  export const utrechtListboxOptionSelectedBackgroundColor : string;
653
655
  export const utrechtListboxOptionSelectedColor : string;
654
- export const utrechtListboxOptionHoverColor : string;
655
- export const utrechtListboxOptionHoverBackgroundColor : string;
656
656
  export const utrechtListboxOptionGroupMarginBlockEnd : string;
657
657
  export const utrechtListboxOptionGroupTitleFontSize : string;
658
658
  export const utrechtListboxOptionGroupTitleFontWeight : string;
@@ -1052,10 +1052,6 @@ export const utrechtIconScale2xl : string;
1052
1052
  export const utrechtIconScale3xl : string;
1053
1053
  export const utrechtIconScale4xl : string;
1054
1054
  export const utrechtTypographySansSerifFontFamily : string;
1055
- /** 8px */
1056
- export const utrechtTypographyScale2xsFontSize : string;
1057
- /** 12px */
1058
- export const utrechtTypographyScaleXsFontSize : string;
1059
1055
  /** 14px */
1060
1056
  export const utrechtTypographyScaleSmFontSize : string;
1061
1057
  /** 16px */
@@ -129,7 +129,7 @@
129
129
  "utrechtBadgeListItemMarginInline": "12px",
130
130
  "utrechtBadgePaddingBlock": "8px",
131
131
  "utrechtBadgePaddingInline": "12px",
132
- "utrechtBlockquoteCaptionFontSize": "0.75rem",
132
+ "utrechtBlockquoteCaptionFontSize": "0.875rem",
133
133
  "utrechtBlockquoteContentColor": "hsl(0 100% 40%)",
134
134
  "utrechtBlockquoteContentFontSize": "1.125rem",
135
135
  "utrechtBlockquoteMarginBlockEnd": "1.6em",
@@ -1000,14 +1000,12 @@
1000
1000
  "utrechtTypographyLineHeightXs": "1",
1001
1001
  "utrechtTypographySansSerifFontFamily": "\"Lucida Grande\", \"Lucida Sans Unicode\", \"Lucida Sans\", \"Arial\", sans-serif",
1002
1002
  "utrechtTypographyScale2xlFontSize": "1.375rem",
1003
- "utrechtTypographyScale2xsFontSize": "0.5rem",
1004
1003
  "utrechtTypographyScale3xlFontSize": "1.5rem",
1005
1004
  "utrechtTypographyScale4xlFontSize": "2rem",
1006
1005
  "utrechtTypographyScaleLgFontSize": "1.125rem",
1007
1006
  "utrechtTypographyScaleMdFontSize": "1rem",
1008
1007
  "utrechtTypographyScaleSmFontSize": "0.875rem",
1009
1008
  "utrechtTypographyScaleXlFontSize": "1.25rem",
1010
- "utrechtTypographyScaleXsFontSize": "0.75rem",
1011
1009
  "utrechtTypographyWeightScaleBoldFontWeight": "700",
1012
1010
  "utrechtTypographyWeightScaleNormalFontWeight": "400",
1013
1011
  "utrechtUnorderedListItemMarginBlockEnd": "0.25rem",
@@ -30,8 +30,6 @@
30
30
  @utrecht-typography-scale-lg-font-size: 1.125rem; // 18px
31
31
  @utrecht-typography-scale-md-font-size: 1rem; // 16px
32
32
  @utrecht-typography-scale-sm-font-size: 0.875rem; // 14px
33
- @utrecht-typography-scale-xs-font-size: 0.75rem; // 12px
34
- @utrecht-typography-scale-2xs-font-size: 0.5rem; // 8px
35
33
  @utrecht-typography-sans-serif-font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "Arial", sans-serif;
36
34
  @utrecht-icon-scale-4xl: 48px;
37
35
  @utrecht-icon-scale-3xl: 36px; // Formaat voor toptaks iconen
@@ -606,10 +604,10 @@
606
604
  @utrecht-listbox-option-group-title-font-weight: @utrecht-typography-weight-scale-bold-font-weight;
607
605
  @utrecht-listbox-option-group-title-font-size: @utrecht-typography-scale-md-font-size;
608
606
  @utrecht-listbox-option-group-margin-block-end: @utrecht-space-inline-xs;
609
- @utrecht-listbox-option-hover-background-color: @utrecht-color-blue-90;
610
- @utrecht-listbox-option-hover-color: @utrecht-color-black;
611
607
  @utrecht-listbox-option-selected-color: @utrecht-color-black;
612
608
  @utrecht-listbox-option-selected-background-color: @utrecht-color-grey-95;
609
+ @utrecht-listbox-option-hover-color: @utrecht-color-black;
610
+ @utrecht-listbox-option-hover-background-color: @utrecht-color-blue-90;
613
611
  @utrecht-listbox-option-active-font-weight: @utrecht-typography-weight-scale-bold-font-weight;
614
612
  @utrecht-listbox-option-active-color: @utrecht-color-black;
615
613
  @utrecht-listbox-option-active-background-color: @utrecht-color-grey-95;
@@ -865,7 +863,7 @@
865
863
  @utrecht-breadcrumb-nav-item-padding-block-end: @utrecht-space-block-xs;
866
864
  @utrecht-breadcrumb-nav-item-padding-block-start: @utrecht-space-block-xs;
867
865
  @utrecht-breadcrumb-nav-font-size: @utrecht-typography-scale-md-font-size;
868
- @utrecht-blockquote-caption-font-size: @utrecht-typography-scale-xs-font-size;
866
+ @utrecht-blockquote-caption-font-size: @utrecht-typography-scale-sm-font-size;
869
867
  @utrecht-blockquote-content-font-size: @utrecht-typography-scale-lg-font-size;
870
868
  @utrecht-blockquote-content-color: @utrecht-color-red-40;
871
869
  @utrecht-badge-font-style: @utrecht-typography-font-style-normal;
@@ -81,7 +81,7 @@ export const utrechtBlockquoteMarginInlineStart = "1.6em";
81
81
  export const utrechtBlockquoteMarginInlineEnd = "1.6em";
82
82
  export const utrechtBlockquoteContentColor = "hsl(0 100% 40%)";
83
83
  export const utrechtBlockquoteContentFontSize = "1.125rem";
84
- export const utrechtBlockquoteCaptionFontSize = "0.75rem";
84
+ export const utrechtBlockquoteCaptionFontSize = "0.875rem";
85
85
  export const utrechtBlockquoteMarginBlockStart = "1.6em";
86
86
  export const utrechtBlockquoteMarginBlockEnd = "1.6em";
87
87
  export const utrechtBreadcrumbNavMinBlockSize = "34px";
@@ -585,10 +585,10 @@ export const utrechtListboxOptionPaddingInlineStart = "8px";
585
585
  export const utrechtListboxOptionActiveBackgroundColor = "hsl(0 0% 95%)";
586
586
  export const utrechtListboxOptionActiveColor = "hsl(0 0% 0%)";
587
587
  export const utrechtListboxOptionActiveFontWeight = "700";
588
+ export const utrechtListboxOptionHoverBackgroundColor = "hsl(211 60% 90%)";
589
+ export const utrechtListboxOptionHoverColor = "hsl(0 0% 0%)";
588
590
  export const utrechtListboxOptionSelectedBackgroundColor = "hsl(0 0% 95%)";
589
591
  export const utrechtListboxOptionSelectedColor = "hsl(0 0% 0%)";
590
- export const utrechtListboxOptionHoverColor = "hsl(0 0% 0%)";
591
- export const utrechtListboxOptionHoverBackgroundColor = "hsl(211 60% 90%)";
592
592
  export const utrechtListboxOptionGroupMarginBlockEnd = "8px";
593
593
  export const utrechtListboxOptionGroupTitleFontSize = "1rem";
594
594
  export const utrechtListboxOptionGroupTitleFontWeight = "700";
@@ -938,8 +938,6 @@ export const utrechtIconScale2xl = "30px"; // Formaat voor marker iconen
938
938
  export const utrechtIconScale3xl = "36px"; // Formaat voor toptaks iconen
939
939
  export const utrechtIconScale4xl = "48px";
940
940
  export const utrechtTypographySansSerifFontFamily = "\"Lucida Grande\", \"Lucida Sans Unicode\", \"Lucida Sans\", \"Arial\", sans-serif";
941
- export const utrechtTypographyScale2xsFontSize = "0.5rem"; // 8px
942
- export const utrechtTypographyScaleXsFontSize = "0.75rem"; // 12px
943
941
  export const utrechtTypographyScaleSmFontSize = "0.875rem"; // 14px
944
942
  export const utrechtTypographyScaleMdFontSize = "1rem"; // 16px
945
943
  export const utrechtTypographyScaleLgFontSize = "1.125rem"; // 18px
package/dist/index.cjs CHANGED
@@ -80,7 +80,7 @@ module.exports = {
80
80
  "utrechtBlockquoteMarginInlineEnd": "1.6em",
81
81
  "utrechtBlockquoteContentColor": "hsl(0 100% 40%)",
82
82
  "utrechtBlockquoteContentFontSize": "1.125rem",
83
- "utrechtBlockquoteCaptionFontSize": "0.75rem",
83
+ "utrechtBlockquoteCaptionFontSize": "0.875rem",
84
84
  "utrechtBlockquoteMarginBlockStart": "1.6em",
85
85
  "utrechtBlockquoteMarginBlockEnd": "1.6em",
86
86
  "utrechtBreadcrumbNavMinBlockSize": "34px",
@@ -577,10 +577,10 @@ module.exports = {
577
577
  "utrechtListboxOptionActiveBackgroundColor": "hsl(0 0% 95%)",
578
578
  "utrechtListboxOptionActiveColor": "hsl(0 0% 0%)",
579
579
  "utrechtListboxOptionActiveFontWeight": "700",
580
+ "utrechtListboxOptionHoverBackgroundColor": "hsl(211 60% 90%)",
581
+ "utrechtListboxOptionHoverColor": "hsl(0 0% 0%)",
580
582
  "utrechtListboxOptionSelectedBackgroundColor": "hsl(0 0% 95%)",
581
583
  "utrechtListboxOptionSelectedColor": "hsl(0 0% 0%)",
582
- "utrechtListboxOptionHoverColor": "hsl(0 0% 0%)",
583
- "utrechtListboxOptionHoverBackgroundColor": "hsl(211 60% 90%)",
584
584
  "utrechtListboxOptionGroupMarginBlockEnd": "8px",
585
585
  "utrechtListboxOptionGroupTitleFontSize": "1rem",
586
586
  "utrechtListboxOptionGroupTitleFontWeight": "700",
@@ -928,8 +928,6 @@ module.exports = {
928
928
  "utrechtIconScale3xl": "36px",
929
929
  "utrechtIconScale4xl": "48px",
930
930
  "utrechtTypographySansSerifFontFamily": "\"Lucida Grande\", \"Lucida Sans Unicode\", \"Lucida Sans\", \"Arial\", sans-serif",
931
- "utrechtTypographyScale2xsFontSize": "0.5rem",
932
- "utrechtTypographyScaleXsFontSize": "0.75rem",
933
931
  "utrechtTypographyScaleSmFontSize": "0.875rem",
934
932
  "utrechtTypographyScaleMdFontSize": "1rem",
935
933
  "utrechtTypographyScaleLgFontSize": "1.125rem",
package/dist/index.css CHANGED
@@ -59,8 +59,6 @@
59
59
  --utrecht-typography-scale-lg-font-size: 1.125rem; /* 18px */
60
60
  --utrecht-typography-scale-md-font-size: 1rem; /* 16px */
61
61
  --utrecht-typography-scale-sm-font-size: 0.875rem; /* 14px */
62
- --utrecht-typography-scale-xs-font-size: 0.75rem; /* 12px */
63
- --utrecht-typography-scale-2xs-font-size: 0.5rem; /* 8px */
64
62
  --utrecht-typography-sans-serif-font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "Arial", sans-serif;
65
63
  --utrecht-icon-scale-4xl: 48px;
66
64
  --utrecht-icon-scale-3xl: 36px; /* Formaat voor toptaks iconen */
@@ -630,10 +628,10 @@
630
628
  --utrecht-listbox-option-group-title-font-weight: var(--utrecht-typography-weight-scale-bold-font-weight);
631
629
  --utrecht-listbox-option-group-title-font-size: var(--utrecht-typography-scale-md-font-size);
632
630
  --utrecht-listbox-option-group-margin-block-end: var(--utrecht-space-inline-xs);
633
- --utrecht-listbox-option-hover-background-color: var(--utrecht-color-blue-90);
634
- --utrecht-listbox-option-hover-color: var(--utrecht-color-black);
635
631
  --utrecht-listbox-option-selected-color: var(--utrecht-color-black);
636
632
  --utrecht-listbox-option-selected-background-color: var(--utrecht-color-grey-95);
633
+ --utrecht-listbox-option-hover-color: var(--utrecht-color-black);
634
+ --utrecht-listbox-option-hover-background-color: var(--utrecht-color-blue-90);
637
635
  --utrecht-listbox-option-active-font-weight: var(--utrecht-typography-weight-scale-bold-font-weight);
638
636
  --utrecht-listbox-option-active-color: var(--utrecht-color-black);
639
637
  --utrecht-listbox-option-active-background-color: var(--utrecht-color-grey-95);
@@ -893,7 +891,7 @@
893
891
  --utrecht-breadcrumb-nav-item-padding-block-end: var(--utrecht-space-block-xs);
894
892
  --utrecht-breadcrumb-nav-item-padding-block-start: var(--utrecht-space-block-xs);
895
893
  --utrecht-breadcrumb-nav-font-size: var(--utrecht-typography-scale-md-font-size);
896
- --utrecht-blockquote-caption-font-size: var(--utrecht-typography-scale-xs-font-size);
894
+ --utrecht-blockquote-caption-font-size: var(--utrecht-typography-scale-sm-font-size);
897
895
  --utrecht-blockquote-content-font-size: var(--utrecht-typography-scale-lg-font-size);
898
896
  --utrecht-blockquote-content-color: var(--utrecht-color-red-40);
899
897
  --utrecht-badge-font-style: var(--utrecht-typography-font-style-normal);
@@ -1077,8 +1075,6 @@
1077
1075
  --utrecht-typography-scale-lg-font-size: 1.125rem; /* 18px */
1078
1076
  --utrecht-typography-scale-md-font-size: 1rem; /* 16px */
1079
1077
  --utrecht-typography-scale-sm-font-size: 0.875rem; /* 14px */
1080
- --utrecht-typography-scale-xs-font-size: 0.75rem; /* 12px */
1081
- --utrecht-typography-scale-2xs-font-size: 0.5rem; /* 8px */
1082
1078
  --utrecht-typography-sans-serif-font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "Arial", sans-serif;
1083
1079
  --utrecht-icon-scale-4xl: 48px;
1084
1080
  --utrecht-icon-scale-3xl: 36px; /* Formaat voor toptaks iconen */
@@ -1653,10 +1649,10 @@
1653
1649
  --utrecht-listbox-option-group-title-font-weight: var(--utrecht-typography-weight-scale-bold-font-weight);
1654
1650
  --utrecht-listbox-option-group-title-font-size: var(--utrecht-typography-scale-md-font-size);
1655
1651
  --utrecht-listbox-option-group-margin-block-end: var(--utrecht-space-inline-xs);
1656
- --utrecht-listbox-option-hover-background-color: var(--utrecht-color-blue-90);
1657
- --utrecht-listbox-option-hover-color: var(--utrecht-color-black);
1658
1652
  --utrecht-listbox-option-selected-color: var(--utrecht-color-black);
1659
1653
  --utrecht-listbox-option-selected-background-color: var(--utrecht-color-grey-95);
1654
+ --utrecht-listbox-option-hover-color: var(--utrecht-color-black);
1655
+ --utrecht-listbox-option-hover-background-color: var(--utrecht-color-blue-90);
1660
1656
  --utrecht-listbox-option-active-font-weight: var(--utrecht-typography-weight-scale-bold-font-weight);
1661
1657
  --utrecht-listbox-option-active-color: var(--utrecht-color-black);
1662
1658
  --utrecht-listbox-option-active-background-color: var(--utrecht-color-grey-95);
@@ -1912,7 +1908,7 @@
1912
1908
  --utrecht-breadcrumb-nav-item-padding-block-end: var(--utrecht-space-block-xs);
1913
1909
  --utrecht-breadcrumb-nav-item-padding-block-start: var(--utrecht-space-block-xs);
1914
1910
  --utrecht-breadcrumb-nav-font-size: var(--utrecht-typography-scale-md-font-size);
1915
- --utrecht-blockquote-caption-font-size: var(--utrecht-typography-scale-xs-font-size);
1911
+ --utrecht-blockquote-caption-font-size: var(--utrecht-typography-scale-sm-font-size);
1916
1912
  --utrecht-blockquote-content-font-size: var(--utrecht-typography-scale-lg-font-size);
1917
1913
  --utrecht-blockquote-content-color: var(--utrecht-color-red-40);
1918
1914
  --utrecht-badge-font-style: var(--utrecht-typography-font-style-normal);
@@ -2066,3 +2062,81 @@
2066
2062
  --utrecht-feedback-valid-fill-background-color: var(--utrecht-feedback-valid-background-color);
2067
2063
  }
2068
2064
  }
2065
+ .utrecht-theme--viewport-scale {
2066
+ /* stylelint-disable number-max-precision */
2067
+ --ams-text-level-6-line-height: 1.6;
2068
+ --ams-text-level-6-font-size: clamp(0.9643rem, calc(0.9054rem + 0.2946vw), 1.2rem);
2069
+ --ams-text-level-5-line-height: 1.6;
2070
+ --ams-text-level-5-font-size: clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem);
2071
+ --ams-text-level-4-line-height: 1.5;
2072
+ --ams-text-level-4-font-size: clamp(1.3125rem, calc(1.1719rem + 0.7031vw), 1.875rem);
2073
+ --ams-text-level-3-line-height: 1.3;
2074
+ --ams-text-level-3-font-size: clamp(1.5313rem, calc(1.3281rem + 1.0156vw), 2.3438rem);
2075
+ --ams-text-level-2-line-height: 1.25;
2076
+ --ams-text-level-2-font-size: clamp(1.7865rem, calc(1.5007rem + 1.429vw), 2.9297rem);
2077
+ --ams-text-level-1-line-height: 1.2;
2078
+ --ams-text-level-1-font-size: clamp(2.0842rem, calc(1.6897rem + 1.9724vw), 3.6621rem);
2079
+ --ams-text-level-0-line-height: 1.15;
2080
+ --ams-text-level-0-font-size: clamp(2.4316rem, calc(1.8951rem + 2.6826vw), 4.5776rem);
2081
+ --ams-space-grid-xl: clamp(2rem, calc(0.75rem + 6.25vw), 7rem);
2082
+ --ams-space-grid-lg: clamp(1.5rem, calc(0.5625rem + 4.6875vw), 5.25rem);
2083
+ --ams-space-grid-md: clamp(1rem, calc(0.375rem + 3.125vw), 3.5rem);
2084
+ --ams-space-grid-sm: clamp(0.5rem, calc(0.1875rem + 1.5625vw), 1.75rem);
2085
+ --ams-space-grid-xs: clamp(0.25rem, calc(0.09375rem + 0.78125vw), 0.875rem);
2086
+ --ams-space-xl: clamp(2.25rem, 2.0625rem + 0.9375vw, 3rem);
2087
+ --ams-space-lg: clamp(1.6875rem, 1.5469rem + 0.7031vw, 2.25rem);
2088
+ --ams-space-md: clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem);
2089
+ --ams-space-sm: clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem);
2090
+ --ams-space-xs: clamp(0.2813rem, 0.2578rem + 0.1172vw, 0.375rem);
2091
+ --utrecht-typography-scale-4xl-font-size: var(--ams-text-level-0-font-size);
2092
+ --utrecht-typography-scale-3xl-font-size: var(--ams-text-level-1-font-size);
2093
+ --utrecht-typography-scale-2xl-font-size: var(--ams-text-level-2-font-size);
2094
+ --utrecht-typography-scale-xl-font-size: var(--ams-text-level-3-font-size);
2095
+ --utrecht-typography-scale-lg-font-size: var(--ams-text-level-4-font-size);
2096
+ --utrecht-typography-scale-md-font-size: var(--ams-text-level-5-font-size);
2097
+ --utrecht-typography-scale-sm-font-size: var(--ams-text-level-6-font-size);
2098
+ --utrecht-space-column-5xl: calc(var(--ams-space-grid-xl) * var(--utrecht-space-column-scale, 1));
2099
+ --utrecht-space-column-4xl: calc(var(--ams-space-grid-lg) * var(--utrecht-space-column-scale, 1));
2100
+ --utrecht-space-column-3xl: calc(var(--ams-space-grid-md) * var(--utrecht-space-column-scale, 1));
2101
+ --utrecht-space-column-2xl: calc(var(--ams-space-grid-sm) * var(--utrecht-space-column-scale, 1) * 1.75);
2102
+ --utrecht-space-column-xl: calc(var(--ams-space-grid-sm) * var(--utrecht-space-column-scale, 1) * 1.5);
2103
+ --utrecht-space-column-lg: calc(var(--ams-space-grid-sm) * var(--utrecht-space-column-scale, 1) * 1.25);
2104
+ --utrecht-space-column-md: calc(var(--ams-space-grid-sm) * var(--utrecht-space-column-scale, 1));
2105
+ --utrecht-space-column-sm: calc(var(--ams-space-grid-sm) * var(--utrecht-space-column-scale, 1) * 0.75);
2106
+ --utrecht-space-column-xs: calc(var(--ams-space-grid-xs) * var(--utrecht-space-column-scale, 1));
2107
+ --utrecht-space-column-2xs: calc(var(--ams-space-grid-xs) * var(--utrecht-space-column-scale, 1) / 2);
2108
+ --utrecht-space-column-3xs: calc(var(--ams-space-grid-xs) * var(--utrecht-space-column-scale, 1) / 4);
2109
+ --utrecht-space-column-4xs: calc(var(--ams-space-grid-xs) * var(--utrecht-space-column-scale, 1) / 8);
2110
+ --utrecht-space-row-5xl: calc(var(--ams-space-grid-xl) * var(--utrecht-space-row-scale, 1));
2111
+ --utrecht-space-row-4xl: calc(var(--ams-space-grid-lg) * var(--utrecht-space-row-scale, 1));
2112
+ --utrecht-space-row-3xl: calc(var(--ams-space-grid-md) * var(--utrecht-space-row-scale, 1));
2113
+ --utrecht-space-row-2xl: calc(var(--ams-space-grid-sm) * var(--utrecht-space-row-scale, 1) * 1.75);
2114
+ --utrecht-space-row-xl: calc(var(--ams-space-grid-sm) * var(--utrecht-space-row-scale, 1) * 1.5);
2115
+ --utrecht-space-row-lg: calc(var(--ams-space-grid-sm) * var(--utrecht-space-row-scale, 1) * 1.25);
2116
+ --utrecht-space-row-md: calc(var(--ams-space-grid-sm) * var(--utrecht-space-row-scale, 1));
2117
+ --utrecht-space-row-sm: calc(var(--ams-space-grid-sm) * var(--utrecht-space-row-scale, 1) * 0.75);
2118
+ --utrecht-space-row-xs: calc(var(--ams-space-grid-xs) * var(--utrecht-space-row-scale, 1));
2119
+ --utrecht-space-row-2xs: calc(var(--ams-space-grid-xs) * var(--utrecht-space-row-scale, 1) / 2);
2120
+ --utrecht-space-row-3xs: calc(var(--ams-space-grid-xs) * var(--utrecht-space-row-scale, 1) / 4);
2121
+ --utrecht-space-row-4xs: calc(var(--ams-space-grid-xs) * var(--utrecht-space-row-scale, 1) / 8);
2122
+ --utrecht-space-inline-4xl: calc(var(--ams-space-xl) * var(--utrecht-space-inline-scale, 1) * 1.5);
2123
+ --utrecht-space-inline-3xl: calc(var(--ams-space-xl) * var(--utrecht-space-inline-scale, 1));
2124
+ --utrecht-space-inline-2xl: calc(var(--ams-space-lg) * var(--utrecht-space-inline-scale, 1));
2125
+ --utrecht-space-inline-xl: calc(var(--ams-space-md) * var(--utrecht-space-inline-scale, 1) * 1.33);
2126
+ --utrecht-space-inline-lg: calc(var(--ams-space-md) * var(--utrecht-space-inline-scale, 1) * 1.125);
2127
+ --utrecht-space-inline-md: calc(var(--ams-space-md) * var(--utrecht-space-inline-scale, 1) * 0.9);
2128
+ --utrecht-space-inline-sm: calc(var(--ams-space-md) * var(--utrecht-space-inline-scale, 1) * 0.75);
2129
+ --utrecht-space-inline-xs: calc(var(--ams-space-sm) * var(--utrecht-space-inline-scale, 1));
2130
+ --utrecht-space-inline-2xs: calc(var(--ams-space-xs) * var(--utrecht-space-inline-scale, 1));
2131
+ --utrecht-space-inline-3xs: calc(var(--ams-space-xs) * var(--utrecht-space-inline-scale, 1) / 2);
2132
+ --utrecht-space-block-4xl: calc(var(--ams-space-xl) * var(--utrecht-space-block-scale, 1) * 1.5);
2133
+ --utrecht-space-block-3xl: calc(var(--ams-space-xl) * var(--utrecht-space-block-scale, 1));
2134
+ --utrecht-space-block-2xl: calc(var(--ams-space-lg) * var(--utrecht-space-block-scale, 1));
2135
+ --utrecht-space-block-xl: calc(var(--ams-space-md) * var(--utrecht-space-block-scale, 1) * 1.33);
2136
+ --utrecht-space-block-lg: calc(var(--ams-space-md) * var(--utrecht-space-block-scale, 1) * 1.125);
2137
+ --utrecht-space-block-md: calc(var(--ams-space-md) * var(--utrecht-space-block-scale, 1) * 0.9);
2138
+ --utrecht-space-block-sm: calc(var(--ams-space-md) * var(--utrecht-space-block-scale, 1) * 0.75);
2139
+ --utrecht-space-block-xs: calc(var(--ams-space-sm) * var(--utrecht-space-block-scale, 1));
2140
+ --utrecht-space-block-2xs: calc(var(--ams-space-xs) * var(--utrecht-space-block-scale, 1));
2141
+ --utrecht-space-block-3xs: calc(var(--ams-space-xs) * var(--utrecht-space-block-scale, 1) / 2);
2142
+ }