@rijkshuisstijl-community/design-tokens 1.0.1 → 1.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 (54) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/_variables.scss +113 -3
  3. package/dist/index.css +113 -3
  4. package/dist/index.d.ts +111 -1
  5. package/dist/index.js +113 -3
  6. package/dist/index.json +112 -2
  7. package/dist/index.tokens.json +148 -2
  8. package/dist/root.css +113 -3
  9. package/dist/tokens.d.ts +147 -1
  10. package/dist/tokens.js +6283 -3879
  11. package/dist/uitvoerend-mintgroen-focus/_variables.scss +112 -3
  12. package/dist/uitvoerend-mintgroen-focus/index.css +112 -3
  13. package/dist/uitvoerend-mintgroen-focus/index.d.ts +110 -1
  14. package/dist/uitvoerend-mintgroen-focus/index.js +112 -3
  15. package/dist/uitvoerend-mintgroen-focus/index.json +111 -2
  16. package/dist/uitvoerend-mintgroen-focus/index.tokens.json +145 -4
  17. package/dist/uitvoerend-mintgroen-focus/root.css +112 -3
  18. package/dist/uitvoerend-mintgroen-focus/tokens.d.ts +144 -3
  19. package/dist/uitvoerend-mintgroen-focus/tokens.js +6405 -4028
  20. package/dist/uitvoerend-violet/_variables.scss +113 -3
  21. package/dist/uitvoerend-violet/index.css +113 -3
  22. package/dist/uitvoerend-violet/index.d.ts +111 -1
  23. package/dist/uitvoerend-violet/index.js +113 -3
  24. package/dist/uitvoerend-violet/index.json +112 -2
  25. package/dist/uitvoerend-violet/index.tokens.json +148 -2
  26. package/dist/uitvoerend-violet/root.css +113 -3
  27. package/dist/uitvoerend-violet/tokens.d.ts +147 -1
  28. package/dist/uitvoerend-violet/tokens.js +5182 -2778
  29. package/dist/uitvoerend-violet-oud/_variables.scss +113 -3
  30. package/dist/uitvoerend-violet-oud/index.css +113 -3
  31. package/dist/uitvoerend-violet-oud/index.d.ts +111 -1
  32. package/dist/uitvoerend-violet-oud/index.js +113 -3
  33. package/dist/uitvoerend-violet-oud/index.json +112 -2
  34. package/dist/uitvoerend-violet-oud/index.tokens.json +148 -2
  35. package/dist/uitvoerend-violet-oud/root.css +113 -3
  36. package/dist/uitvoerend-violet-oud/tokens.d.ts +147 -1
  37. package/dist/uitvoerend-violet-oud/tokens.js +5182 -2778
  38. package/dist/wetgevend/_variables.scss +113 -3
  39. package/dist/wetgevend/index.css +113 -3
  40. package/dist/wetgevend/index.d.ts +111 -1
  41. package/dist/wetgevend/index.js +113 -3
  42. package/dist/wetgevend/index.json +112 -2
  43. package/dist/wetgevend/index.tokens.json +148 -2
  44. package/dist/wetgevend/root.css +113 -3
  45. package/dist/wetgevend/tokens.d.ts +147 -1
  46. package/dist/wetgevend/tokens.js +5182 -2778
  47. package/figma/figma.tokens.json +554 -33
  48. package/package.json +1 -1
  49. package/src/generated/base.tokens.json +487 -11
  50. package/src/generated/themes.json +2216 -320
  51. package/src/generated/uitvoerend-mintgroen-focus/tokens.json +479 -11
  52. package/src/generated/uitvoerend-violet/tokens.json +487 -11
  53. package/src/generated/uitvoerend-violet-oud/tokens.json +487 -11
  54. package/src/generated/wetgevend/tokens.json +487 -11
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rijkshuisstijl-community/design-tokens",
3
- "version": "1.0.1",
3
+ "version": "1.1.0",
4
4
  "author": "Community for NL Design System",
5
5
  "description": "Example design tokens",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
@@ -1042,7 +1042,7 @@
1042
1042
  },
1043
1043
  "icon": {
1044
1044
  "color": {
1045
- "value": "#0F172A",
1045
+ "value": "#154273",
1046
1046
  "type": "color"
1047
1047
  },
1048
1048
  "size": {
@@ -1080,7 +1080,7 @@
1080
1080
  },
1081
1081
  "metadata": {
1082
1082
  "color": {
1083
- "value": "#0F172A",
1083
+ "value": "#334155",
1084
1084
  "type": "color"
1085
1085
  }
1086
1086
  },
@@ -1153,6 +1153,10 @@
1153
1153
  }
1154
1154
  },
1155
1155
  "heading": {
1156
+ "color": {
1157
+ "value": "#154273",
1158
+ "type": "color"
1159
+ },
1156
1160
  "padding-block-start": {
1157
1161
  "value": "0.5rem",
1158
1162
  "type": "spacing"
@@ -2991,6 +2995,126 @@
2991
2995
  "type": "fontSizes"
2992
2996
  }
2993
2997
  },
2998
+ "skip-link": {
2999
+ "font-weight": {
3000
+ "value": 700,
3001
+ "type": "fontWeights"
3002
+ },
3003
+ "font-family": {
3004
+ "value": "Fira Sans, Arial, Verdana, sans-serif",
3005
+ "type": "fontFamilies"
3006
+ },
3007
+ "font-size": {
3008
+ "value": "1.25rem",
3009
+ "type": "fontSizes"
3010
+ },
3011
+ "line-height": {
3012
+ "value": "150%",
3013
+ "type": "lineHeights"
3014
+ },
3015
+ "min-block-size": {
3016
+ "value": "48px",
3017
+ "type": "sizing"
3018
+ },
3019
+ "min-inline-size": {
3020
+ "value": "48px",
3021
+ "type": "sizing"
3022
+ },
3023
+ "padding-block-end": {
3024
+ "value": "0.75rem",
3025
+ "type": "spacing"
3026
+ },
3027
+ "padding-block-start": {
3028
+ "value": "0.75rem",
3029
+ "type": "spacing"
3030
+ },
3031
+ "padding-inline-end": {
3032
+ "value": "1rem",
3033
+ "type": "spacing"
3034
+ },
3035
+ "padding-inline-start": {
3036
+ "value": "1rem",
3037
+ "type": "spacing"
3038
+ },
3039
+ "focus": {
3040
+ "background-color": {
3041
+ "value": "#fff",
3042
+ "type": "color"
3043
+ },
3044
+ "border-color": {
3045
+ "value": "#154273",
3046
+ "type": "color"
3047
+ },
3048
+ "border-style": {
3049
+ "value": "solid",
3050
+ "type": "borderStyle"
3051
+ },
3052
+ "border-width": {
3053
+ "value": "2px",
3054
+ "type": "borderWidth"
3055
+ },
3056
+ "color": {
3057
+ "value": "#0F172A",
3058
+ "type": "color"
3059
+ },
3060
+ "text-decoration": {
3061
+ "value": "None",
3062
+ "type": "textDecoration"
3063
+ }
3064
+ },
3065
+ "focus-visible": {
3066
+ "outline-color": {
3067
+ "value": "#000",
3068
+ "type": "color"
3069
+ }
3070
+ },
3071
+ "background-color": {
3072
+ "value": "#154273",
3073
+ "type": "color"
3074
+ },
3075
+ "border-color": {
3076
+ "value": "transparent",
3077
+ "type": "color"
3078
+ },
3079
+ "color": {
3080
+ "value": "#fff",
3081
+ "type": "color"
3082
+ },
3083
+ "border-width": {
3084
+ "value": "2px",
3085
+ "type": "borderWidth"
3086
+ },
3087
+ "box-block-end-shadow": {
3088
+ "offset-x": {
3089
+ "value": 0,
3090
+ "type": "other"
3091
+ },
3092
+ "offset-y": {
3093
+ "value": "16px",
3094
+ "type": "other"
3095
+ },
3096
+ "blur-radius": {
3097
+ "value": "48px",
3098
+ "type": "other"
3099
+ },
3100
+ "spread-radius": {
3101
+ "value": 0,
3102
+ "type": "other"
3103
+ },
3104
+ "color": {
3105
+ "value": "#0000001a",
3106
+ "type": "color"
3107
+ }
3108
+ },
3109
+ "text-decoration": {
3110
+ "value": "underline",
3111
+ "type": "textDecoration"
3112
+ },
3113
+ "text-underline-offset": {
3114
+ "value": "0.125rem",
3115
+ "type": "other"
3116
+ }
3117
+ },
2994
3118
  "separator": {
2995
3119
  "color": {
2996
3120
  "value": "#CBD5E1",
@@ -3355,6 +3479,54 @@
3355
3479
  "type": "fontSizes"
3356
3480
  }
3357
3481
  },
3482
+ "paragraph": {
3483
+ "color": {
3484
+ "value": "#0F172A",
3485
+ "type": "color"
3486
+ },
3487
+ "font-family": {
3488
+ "value": "Fira Sans, Arial, Verdana, sans-serif",
3489
+ "type": "fontFamilies"
3490
+ },
3491
+ "font-size": {
3492
+ "value": "1.25rem",
3493
+ "type": "fontSizes"
3494
+ },
3495
+ "font-weight": {
3496
+ "value": 400,
3497
+ "type": "fontWeights"
3498
+ },
3499
+ "line-height": {
3500
+ "value": "150%",
3501
+ "type": "lineHeights"
3502
+ },
3503
+ "margin-block-end": {
3504
+ "value": 0,
3505
+ "type": "spacing"
3506
+ },
3507
+ "margin-block-start": {
3508
+ "value": 0,
3509
+ "type": "spacing"
3510
+ },
3511
+ "lead": {
3512
+ "color": {
3513
+ "value": "#0F172A",
3514
+ "type": "color"
3515
+ },
3516
+ "font-size": {
3517
+ "value": "1.5rem",
3518
+ "type": "fontSizes"
3519
+ },
3520
+ "font-weight": {
3521
+ "value": 400,
3522
+ "type": "fontWeights"
3523
+ },
3524
+ "line-height": {
3525
+ "value": "150%",
3526
+ "type": "lineHeights"
3527
+ }
3528
+ }
3529
+ },
3358
3530
  "ordered-list": {
3359
3531
  "padding-inline-start": {
3360
3532
  "value": "1.5rem",
@@ -3480,15 +3652,6 @@
3480
3652
  },
3481
3653
  "hover": {
3482
3654
  "color": {
3483
- "$extensions": {
3484
- "studio.tokens": {
3485
- "modify": {
3486
- "type": "darken",
3487
- "value": "0.3",
3488
- "space": "srgb"
3489
- }
3490
- }
3491
- },
3492
3655
  "value": "#01496c",
3493
3656
  "type": "color"
3494
3657
  },
@@ -3550,6 +3713,156 @@
3550
3713
  "type": "lineHeights"
3551
3714
  }
3552
3715
  },
3716
+ "heading-1": {
3717
+ "color": {
3718
+ "value": "#154273",
3719
+ "type": "color"
3720
+ },
3721
+ "font-family": {
3722
+ "value": "Fira Sans, Arial, Verdana, sans-serif",
3723
+ "type": "fontFamilies"
3724
+ },
3725
+ "font-weight": {
3726
+ "value": 700,
3727
+ "type": "fontWeights"
3728
+ },
3729
+ "line-height": {
3730
+ "value": "125%",
3731
+ "type": "lineHeights"
3732
+ },
3733
+ "font-size": {
3734
+ "value": "3.125rem",
3735
+ "type": "fontSizes"
3736
+ },
3737
+ "margin-block-end": {
3738
+ "value": 0,
3739
+ "type": "spacing"
3740
+ },
3741
+ "margin-block-start": {
3742
+ "value": 0,
3743
+ "type": "spacing"
3744
+ }
3745
+ },
3746
+ "heading-2": {
3747
+ "color": {
3748
+ "value": "#154273",
3749
+ "type": "color"
3750
+ },
3751
+ "font-family": {
3752
+ "value": "Fira Sans, Arial, Verdana, sans-serif",
3753
+ "type": "fontFamilies"
3754
+ },
3755
+ "font-weight": {
3756
+ "value": 700,
3757
+ "type": "fontWeights"
3758
+ },
3759
+ "line-height": {
3760
+ "value": "125%",
3761
+ "type": "lineHeights"
3762
+ },
3763
+ "font-size": {
3764
+ "value": "2.5rem",
3765
+ "type": "fontSizes"
3766
+ },
3767
+ "margin-block-end": {
3768
+ "value": 0,
3769
+ "type": "spacing"
3770
+ },
3771
+ "margin-block-start": {
3772
+ "value": 0,
3773
+ "type": "spacing"
3774
+ }
3775
+ },
3776
+ "heading-3": {
3777
+ "color": {
3778
+ "value": "#154273",
3779
+ "type": "color"
3780
+ },
3781
+ "font-family": {
3782
+ "value": "Fira Sans, Arial, Verdana, sans-serif",
3783
+ "type": "fontFamilies"
3784
+ },
3785
+ "font-weight": {
3786
+ "value": 700,
3787
+ "type": "fontWeights"
3788
+ },
3789
+ "line-height": {
3790
+ "value": "125%",
3791
+ "type": "lineHeights"
3792
+ },
3793
+ "font-size": {
3794
+ "value": "1.875rem",
3795
+ "type": "fontSizes"
3796
+ },
3797
+ "margin-block-end": {
3798
+ "value": 0,
3799
+ "type": "spacing"
3800
+ },
3801
+ "margin-block-start": {
3802
+ "value": 0,
3803
+ "type": "spacing"
3804
+ }
3805
+ },
3806
+ "heading-4": {
3807
+ "color": {
3808
+ "value": "#154273",
3809
+ "type": "color"
3810
+ },
3811
+ "font-family": {
3812
+ "value": "Fira Sans, Arial, Verdana, sans-serif",
3813
+ "type": "fontFamilies"
3814
+ },
3815
+ "font-weight": {
3816
+ "value": 700,
3817
+ "type": "fontWeights"
3818
+ },
3819
+ "line-height": {
3820
+ "value": "125%",
3821
+ "type": "lineHeights"
3822
+ },
3823
+ "font-size": {
3824
+ "value": "1.5rem",
3825
+ "type": "fontSizes"
3826
+ },
3827
+ "margin-block-end": {
3828
+ "value": 0,
3829
+ "type": "spacing"
3830
+ },
3831
+ "margin-block-start": {
3832
+ "value": 0,
3833
+ "type": "spacing"
3834
+ }
3835
+ },
3836
+ "heading-5": {
3837
+ "color": {
3838
+ "value": "#154273",
3839
+ "type": "color"
3840
+ },
3841
+ "font-family": {
3842
+ "value": "Fira Sans, Arial, Verdana, sans-serif",
3843
+ "type": "fontFamilies"
3844
+ },
3845
+ "font-weight": {
3846
+ "value": 700,
3847
+ "type": "fontWeights"
3848
+ },
3849
+ "line-height": {
3850
+ "value": "125%",
3851
+ "type": "lineHeights"
3852
+ },
3853
+ "font-size": {
3854
+ "value": "1.25rem",
3855
+ "type": "fontSizes"
3856
+ },
3857
+ "margin-block-end": {
3858
+ "value": 0,
3859
+ "type": "spacing"
3860
+ },
3861
+ "margin-block-start": {
3862
+ "value": 0,
3863
+ "type": "spacing"
3864
+ }
3865
+ },
3553
3866
  "form-label": {
3554
3867
  "color": {
3555
3868
  "value": "#0F172A",
@@ -3825,6 +4138,60 @@
3825
4138
  }
3826
4139
  }
3827
4140
  },
4141
+ "number-badge": {
4142
+ "font-size": {
4143
+ "value": "1.25rem",
4144
+ "type": "fontSizes"
4145
+ },
4146
+ "line-height": {
4147
+ "value": "150%",
4148
+ "type": "lineHeights"
4149
+ },
4150
+ "min-block-size": {
4151
+ "value": "24px",
4152
+ "type": "sizing"
4153
+ },
4154
+ "min-inline-size": {
4155
+ "value": "24px",
4156
+ "type": "sizing"
4157
+ },
4158
+ "font-weight": {
4159
+ "value": 700,
4160
+ "type": "fontWeights"
4161
+ },
4162
+ "border-width": {
4163
+ "value": "0px",
4164
+ "type": "borderWidth"
4165
+ },
4166
+ "border-radius": {
4167
+ "value": "999px",
4168
+ "type": "borderRadius"
4169
+ },
4170
+ "font-family": {
4171
+ "value": "Fira Sans, Arial, Verdana, sans-serif",
4172
+ "type": "fontFamilies"
4173
+ },
4174
+ "background-color": {
4175
+ "value": "#154273",
4176
+ "type": "color"
4177
+ },
4178
+ "border-color": {
4179
+ "value": "transparent",
4180
+ "type": "color"
4181
+ },
4182
+ "color": {
4183
+ "value": "#fff",
4184
+ "type": "color"
4185
+ },
4186
+ "padding-inline": {
4187
+ "value": "0.5rem",
4188
+ "type": "spacing"
4189
+ },
4190
+ "padding-block": {
4191
+ "value": "0.5rem",
4192
+ "type": "spacing"
4193
+ }
4194
+ },
3828
4195
  "checkbox": {
3829
4196
  "border-radius": {
3830
4197
  "value": "2.5px",
@@ -5386,6 +5753,115 @@
5386
5753
  }
5387
5754
  }
5388
5755
  },
5756
+ "link": {
5757
+ "color": {
5758
+ "value": "#01689b",
5759
+ "type": "color"
5760
+ },
5761
+ "text-decoration-color": {
5762
+ "value": "#01689b",
5763
+ "type": "color"
5764
+ },
5765
+ "active": {
5766
+ "color": {
5767
+ "value": "#42145f",
5768
+ "type": "color"
5769
+ },
5770
+ "text-decoration": {
5771
+ "value": "None",
5772
+ "type": "textDecoration"
5773
+ }
5774
+ },
5775
+ "focus": {
5776
+ "background-color": {
5777
+ "value": "transparent",
5778
+ "type": "color"
5779
+ },
5780
+ "color": {
5781
+ "value": "#01689b",
5782
+ "type": "color"
5783
+ },
5784
+ "text-decoration": {
5785
+ "value": "None",
5786
+ "type": "textDecoration"
5787
+ },
5788
+ "text-decoration-thickness": {
5789
+ "value": "auto",
5790
+ "type": "other"
5791
+ }
5792
+ },
5793
+ "hover": {
5794
+ "color": {
5795
+ "$extensions": {
5796
+ "studio.tokens": {
5797
+ "modify": {
5798
+ "type": "darken",
5799
+ "value": "0.3",
5800
+ "space": "srgb"
5801
+ }
5802
+ }
5803
+ },
5804
+ "value": "#01496c",
5805
+ "type": "color"
5806
+ },
5807
+ "text-decoration": {
5808
+ "value": "None",
5809
+ "type": "textDecoration"
5810
+ },
5811
+ "text-decoration-thickness": {
5812
+ "value": "auto",
5813
+ "type": "other"
5814
+ }
5815
+ },
5816
+ "visited": {
5817
+ "color": {
5818
+ "value": "#42145f",
5819
+ "type": "color"
5820
+ }
5821
+ },
5822
+ "text-decoration": {
5823
+ "value": "underline",
5824
+ "type": "textDecoration"
5825
+ },
5826
+ "icon": {
5827
+ "inset-block-start": {
5828
+ "value": "0.25rem",
5829
+ "type": "spacing"
5830
+ },
5831
+ "size": {
5832
+ "value": "24px",
5833
+ "type": "sizing"
5834
+ }
5835
+ },
5836
+ "column-gap": {
5837
+ "value": "0.25rem",
5838
+ "type": "spacing"
5839
+ },
5840
+ "text-decoration-thickness": {
5841
+ "value": "auto",
5842
+ "type": "other"
5843
+ },
5844
+ "text-underline-offset": {
5845
+ "value": "0.125rem",
5846
+ "type": "other"
5847
+ },
5848
+ "font-family": {
5849
+ "value": "Fira Sans, Arial, Verdana, sans-serif",
5850
+ "type": "fontFamilies"
5851
+ },
5852
+ "font-weight": {
5853
+ "value": 400,
5854
+ "type": "fontWeights"
5855
+ },
5856
+ "font-size": {
5857
+ "value": "1.25rem",
5858
+ "type": "fontSizes"
5859
+ },
5860
+ "line-height": {
5861
+ "value": "150%",
5862
+ "type": "lineHeights"
5863
+ }
5864
+ },
5389
5865
  "heading-level-1": {
5390
5866
  "color": {
5391
5867
  "value": "#154273",