@rijkshuisstijl-community/design-tokens 1.0.0-alpha.14 → 1.0.0-alpha.141

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 (88) hide show
  1. package/LICENSE.md +7 -282
  2. package/README.md +21 -3
  3. package/build.mjs +129 -0
  4. package/dist/_variables.scss +1190 -300
  5. package/dist/index.css +1190 -300
  6. package/dist/index.d.ts +1168 -280
  7. package/dist/index.js +1190 -300
  8. package/dist/index.json +1189 -299
  9. package/dist/index.tokens.json +1754 -594
  10. package/dist/root.css +1190 -300
  11. package/dist/tokens.d.ts +1698 -537
  12. package/dist/tokens.js +26487 -5034
  13. package/dist/uitvoerend-mintgroen-focus/_variables.scss +1198 -0
  14. package/dist/uitvoerend-mintgroen-focus/index.css +1201 -0
  15. package/dist/uitvoerend-mintgroen-focus/index.d.ts +1199 -0
  16. package/dist/uitvoerend-mintgroen-focus/index.js +1199 -0
  17. package/dist/uitvoerend-mintgroen-focus/index.json +1196 -0
  18. package/dist/uitvoerend-mintgroen-focus/index.tokens.json +1884 -0
  19. package/dist/uitvoerend-mintgroen-focus/root.css +1201 -0
  20. package/dist/uitvoerend-mintgroen-focus/tokens.d.ts +1907 -0
  21. package/dist/uitvoerend-mintgroen-focus/tokens.js +28101 -0
  22. package/dist/uitvoerend-violet/_variables.scss +1191 -0
  23. package/dist/uitvoerend-violet/index.css +1194 -0
  24. package/dist/uitvoerend-violet/index.d.ts +1192 -0
  25. package/dist/uitvoerend-violet/index.js +1192 -0
  26. package/dist/uitvoerend-violet/index.json +1189 -0
  27. package/dist/uitvoerend-violet/index.tokens.json +1841 -0
  28. package/dist/uitvoerend-violet/root.css +1194 -0
  29. package/dist/uitvoerend-violet/tokens.d.ts +1864 -0
  30. package/dist/uitvoerend-violet/tokens.js +27900 -0
  31. package/dist/uitvoerend-violet-oud/_variables.scss +1191 -0
  32. package/dist/uitvoerend-violet-oud/index.css +1194 -0
  33. package/dist/uitvoerend-violet-oud/index.d.ts +1192 -0
  34. package/dist/uitvoerend-violet-oud/index.js +1192 -0
  35. package/dist/uitvoerend-violet-oud/index.json +1189 -0
  36. package/dist/uitvoerend-violet-oud/index.tokens.json +1841 -0
  37. package/dist/uitvoerend-violet-oud/root.css +1194 -0
  38. package/dist/uitvoerend-violet-oud/tokens.d.ts +1864 -0
  39. package/dist/uitvoerend-violet-oud/tokens.js +27900 -0
  40. package/dist/wetgevend/_variables.scss +1191 -0
  41. package/dist/wetgevend/index.css +1194 -0
  42. package/dist/wetgevend/index.d.ts +1192 -0
  43. package/dist/wetgevend/index.js +1192 -0
  44. package/dist/wetgevend/index.json +1189 -0
  45. package/dist/wetgevend/index.tokens.json +1841 -0
  46. package/dist/wetgevend/root.css +1194 -0
  47. package/dist/wetgevend/tokens.d.ts +1864 -0
  48. package/dist/wetgevend/tokens.js +27900 -0
  49. package/figma/figma.tokens.json +7651 -0
  50. package/package.json +15 -13
  51. package/src/common/utrecht/focus.tokens.json +2 -2
  52. package/src/generated/base.tokens.json +5586 -0
  53. package/src/generated/themes.json +22338 -0
  54. package/src/generated/uitvoerend-mintgroen-focus/tokens.json +5628 -0
  55. package/src/generated/uitvoerend-violet/tokens.json +5564 -0
  56. package/src/generated/uitvoerend-violet-oud/tokens.json +5564 -0
  57. package/src/generated/wetgevend/tokens.json +5564 -0
  58. package/token-transformer.mjs +85 -0
  59. package/dist/variables.less +0 -306
  60. package/src/brand/rhc/color.tokens.json +0 -103
  61. package/src/brand/rhc/font.tokens.json +0 -34
  62. package/src/components/basiselementen/document.tokens.json +0 -15
  63. package/src/components/rvo/button.tokens.json +0 -33
  64. package/src/components/rvo/checkbox.tokens.json +0 -32
  65. package/src/components/rvo/custom-radio-button.tokens.json +0 -24
  66. package/src/components/rvo/heading.tokens.json +0 -24
  67. package/src/components/rvo/logo.tokens.json +0 -13
  68. package/src/components/rvo/select.tokens.json +0 -15
  69. package/src/components/utrecht/breadcrumbs.tokens.json +0 -66
  70. package/src/components/utrecht/button.tokens.json +0 -120
  71. package/src/components/utrecht/custom-radio-button.tokens.json +0 -53
  72. package/src/components/utrecht/data-list.tokens.json +0 -91
  73. package/src/components/utrecht/document.tokens.json +0 -12
  74. package/src/components/utrecht/form-field.tokens.json +0 -21
  75. package/src/components/utrecht/form-fieldset.tokens.json +0 -27
  76. package/src/components/utrecht/form-input.tokens.json +0 -42
  77. package/src/components/utrecht/form-label.tokens.json +0 -23
  78. package/src/components/utrecht/heading-1.tokens.json +0 -13
  79. package/src/components/utrecht/heading-2.tokens.json +0 -13
  80. package/src/components/utrecht/heading-3.tokens.json +0 -13
  81. package/src/components/utrecht/heading-4.tokens.json +0 -13
  82. package/src/components/utrecht/heading-5.tokens.json +0 -13
  83. package/src/components/utrecht/heading-6.tokens.json +0 -13
  84. package/src/components/utrecht/link.tokens.json +0 -44
  85. package/src/components/utrecht/ordered-list.tokens.json +0 -19
  86. package/src/components/utrecht/paragraph.tokens.json +0 -23
  87. package/src/components/utrecht/unordered-list.tokens.json +0 -31
  88. package/style-dictionary.config.json +0 -101
@@ -0,0 +1,85 @@
1
+ import { existsSync, mkdirSync } from 'fs';
2
+ import { readFile, writeFile } from 'node:fs/promises';
3
+
4
+ import { transformTokens } from 'token-transformer';
5
+
6
+ // the commented options and their values are default values from the token-transformer package
7
+ const transformerOptions = {
8
+ // expandTypography: true,
9
+ // expandShadow: true,
10
+ // expandComposition: true,
11
+ // expandBorder: true,
12
+ // preserveRawValue: false,
13
+ // throwErrorWhenNotResolved: true,
14
+ // Tried to set this to false, it worked in principle but there were breaking in the styles especially with spacing. I think it's better to keep it true
15
+ // resolveReferences: true,
16
+ };
17
+
18
+ const excludes = [
19
+ 'components/avatar',
20
+ 'components/backdrop',
21
+ 'components/drawer',
22
+ 'components/form-field-option-label',
23
+ 'components/modal-dialog',
24
+ 'components/pagination',
25
+ 'components/status-badge',
26
+ 'components/summary-list',
27
+ 'components/task-list',
28
+ 'components/toolbar-button',
29
+ ];
30
+
31
+ // Split tokens into separate files
32
+ async function transformAndSplitTokens() {
33
+ // Read the raw JSON file directly
34
+ const json = await readFile('./figma/figma.tokens.json', 'utf-8');
35
+ const tokens = JSON.parse(json);
36
+
37
+ // Extract base tokens (excluding $themes and overwrites/)
38
+ // Not sure if other designers might not be able to modify the themes created by paid plugin so getting the base tokens is a good fallback
39
+ const baseTokens = {};
40
+ Object.entries(tokens).forEach(([key, value]) => {
41
+ if (!key.startsWith('$') && !key.startsWith('overwrites/')) {
42
+ baseTokens[key] = value;
43
+ }
44
+ });
45
+
46
+ // Transform base tokens
47
+ let resolved = transformTokens(baseTokens, [], excludes, transformerOptions);
48
+ delete resolved['tokenSetOrder'];
49
+
50
+ // Process themes to add the enabled components
51
+ const themes = tokens.$themes || [];
52
+ const processedThemes = {};
53
+
54
+ themes.forEach((theme) => {
55
+ const themeTokens = {};
56
+
57
+ Object.entries(theme.selectedTokenSets).forEach(([tokenSet, status]) => {
58
+ if (status === 'enabled') {
59
+ if (tokens[tokenSet]) {
60
+ themeTokens[tokenSet] = tokens[tokenSet];
61
+ }
62
+ }
63
+ });
64
+
65
+ // Transform the theme tokens
66
+ const transformedThemeTokens = transformTokens(themeTokens, [], excludes, transformerOptions);
67
+
68
+ processedThemes[theme.name] = {
69
+ id: theme.id,
70
+ tokens: transformedThemeTokens,
71
+ group: theme.group,
72
+ };
73
+ });
74
+
75
+ // Ensure directories exist
76
+ if (!existsSync('./src/generated')) {
77
+ mkdirSync('./src/generated', { recursive: true });
78
+ }
79
+
80
+ // Write files
81
+ await writeFile('./src/generated/base.tokens.json', JSON.stringify(resolved, null, 2));
82
+ await writeFile('./src/generated/themes.json', JSON.stringify(processedThemes, null, 2));
83
+ }
84
+
85
+ transformAndSplitTokens();
@@ -1,306 +0,0 @@
1
-
2
- // Do not edit directly
3
- // Generated on Wed, 30 Aug 2023 10:55:39 GMT
4
-
5
- @rvo-select-padding-inline-start: 18px;
6
- @rvo-select-padding-inline-end: 50px;
7
- @rvo-select-padding-block-start: 10px;
8
- @rvo-select-padding-block-end: 9px;
9
- @rvo-select-outline-offset: 0;
10
- @rvo-logo-emblem-background-color: #154273;
11
- @rvo-logo-font-size: 16px;
12
- @rvo-heading-1-line-height: 125%;
13
- @rvo-checkbox-border-width: 1px;
14
- @rvo-checkbox-icon-size: 16px;
15
- @rvo-checkbox-size: 24px;
16
- @utrecht-unordered-list-list-style-type: square;
17
- @utrecht-unordered-list-padding-inline-start: 20px;
18
- @utrecht-unordered-list-item-marker: initial;
19
- @utrecht-unordered-list-item-padding-inline-start: 0;
20
- @utrecht-unordered-list-item-margin-block-end: 0.5ex;
21
- @utrecht-unordered-list-item-margin-block-start: 0.5ex;
22
- @utrecht-unordered-list-margin-block-end: 16px;
23
- @utrecht-unordered-list-margin-block-start: 0;
24
- @utrecht-paragraph-small-line-height: 150%;
25
- @utrecht-paragraph-small-font-size: 16px;
26
- @utrecht-paragraph-lead-line-height: 150%;
27
- @utrecht-paragraph-lead-font-size: 20px;
28
- @utrecht-paragraph-margin-block-end: 16px;
29
- @utrecht-paragraph-line-height: 150%;
30
- @utrecht-paragraph-font-size: 18px;
31
- @utrecht-ordered-list-padding-inline-start: 0;
32
- @utrecht-ordered-list-item-padding-inline-start: 0;
33
- @utrecht-ordered-list-item-margin-block-end: 0.5ex;
34
- @utrecht-ordered-list-item-margin-block-start: 0.5ex;
35
- @utrecht-ordered-list-margin-block-end: 0;
36
- @utrecht-link-focus-text-decoration-thickness: 1px;
37
- @utrecht-link-focus-outline-offset: 0;
38
- @utrecht-link-active-text-decoration-thickness: 1px;
39
- @utrecht-link-hover-text-decoration: none;
40
- @utrecht-link-hover-text-decoration-thickness: 1px;
41
- @utrecht-link-text-underline-offset: 2px;
42
- @utrecht-link-text-decoration-thickness: 1px;
43
- @utrecht-link-text-decoration: underline;
44
- @utrecht-heading-6-margin-block-end: 4px;
45
- @utrecht-heading-6-font-size: 0.875rem;
46
- @utrecht-heading-5-margin-block-end: 4px;
47
- @utrecht-heading-5-font-size: 1rem;
48
- @utrecht-heading-4-margin-block-end: 4px;
49
- @utrecht-heading-4-font-size: 1.125rem;
50
- @utrecht-heading-3-margin-block-end: 4px;
51
- @utrecht-heading-3-line-height: 125%;
52
- @utrecht-heading-3-font-size: 1.25rem;
53
- @utrecht-heading-2-margin-block-end: 4px;
54
- @utrecht-heading-2-line-height: 150%;
55
- @utrecht-heading-2-font-size: 1.5rem;
56
- @utrecht-heading-1-margin-block-start: 16px;
57
- @utrecht-heading-1-margin-block-end: 16px;
58
- @utrecht-heading-1-line-height: 125%;
59
- @utrecht-heading-1-font-size: 2rem;
60
- @utrecht-form-label-font-size: 18px;
61
- @utrecht-form-input-invalid-border-width: 1px;
62
- @utrecht-form-input-disabled-border-width: 0;
63
- @utrecht-form-input-padding-inline-start: 12px;
64
- @utrecht-form-input-padding-inline-end: 12px;
65
- @utrecht-form-input-padding-block-start: 12px;
66
- @utrecht-form-input-padding-block-end: 8px;
67
- @utrecht-form-input-font-size: 18px;
68
- @utrecht-form-input-border-width: 1px;
69
- @utrecht-form-input-border-radius: 0;
70
- @utrecht-form-fieldset-legend-margin-block-start: 0;
71
- @utrecht-form-fieldset-legend-margin-block-end: 1ex;
72
- @utrecht-form-fieldset-legend-line-height: 150%;
73
- @utrecht-form-fieldset-padding-inline-start: 36px;
74
- @utrecht-form-fieldset-padding-inline-end: 36px;
75
- @utrecht-form-fieldset-padding-block-start: 36px;
76
- @utrecht-form-fieldset-padding-block-end: 36px;
77
- @utrecht-form-fieldset-margin-block-start: 1ex;
78
- @utrecht-form-fieldset-margin-block-end: 1ex;
79
- @utrecht-form-field-min-width: 100%;
80
- @utrecht-form-field-margin-block-start: 1ex;
81
- @utrecht-form-field-margin-block-end: 1ex;
82
- @utrecht-form-field-description-margin-block-end: 1ex;
83
- @utrecht-form-field-description-margin-block-start: 0;
84
- @utrecht-data-list-rows-column-min-inline-size: 25ch;
85
- @utrecht-data-list-rows-column-inline-size: 50%;
86
- @utrecht-data-list-rows-item-value-margin-block-start: 0;
87
- @utrecht-data-list-rows-item-padding-inline-start: 14px;
88
- @utrecht-data-list-rows-item-margin-block-start: 0;
89
- @utrecht-data-list-rows-border-bottom-width: 1px;
90
- @utrecht-data-list-item-value-padding-inline-start: 18px;
91
- @utrecht-data-list-item-value-padding-inline-end: 18px;
92
- @utrecht-data-list-item-value-padding-block-start: 9px;
93
- @utrecht-data-list-item-value-padding-block-end: 9px;
94
- @utrecht-data-list-item-key-padding-inline-start: 18px;
95
- @utrecht-data-list-item-key-padding-inline-end: 18px;
96
- @utrecht-data-list-item-key-padding-block-start: 9px;
97
- @utrecht-data-list-item-key-padding-block-end: 9px;
98
- @utrecht-data-list-item-key-border-inline-end-width: 1px;
99
- @utrecht-data-list-margin-block-start: 0;
100
- @utrecht-data-list-margin-block-end: 0;
101
- @utrecht-data-list-border-width: 1px;
102
- @utrecht-custom-radio-button-checked-border-width: 3px;
103
- @utrecht-custom-radio-button-icon-size: 18px;
104
- @utrecht-custom-radio-button-border-radius: 0;
105
- @utrecht-custom-radio-button-border-width: 1px;
106
- @utrecht-custom-radio-button-size: 24px;
107
- @utrecht-breadcrumb-link-text-decoration: none;
108
- @utrecht-breadcrumb-link-hover-text-decoration-thickness: 1px !important;
109
- @utrecht-breadcrumb-link-hover-text-decoration: underline;
110
- @utrecht-breadcrumb-link-focus-text-decoration-thickness: 1px;
111
- @utrecht-breadcrumb-link-focus-text-decoration: none;
112
- @utrecht-breadcrumb-item-padding-inline-start: 0;
113
- @utrecht-breadcrumb-item-padding-inline-end: 0;
114
- @utrecht-breadcrumb-item-padding-block-end: 0;
115
- @utrecht-breadcrumb-item-padding-block-start: 0;
116
- @utrecht-breadcrumb-item-gap: 8px;
117
- @utrecht-breadcrumb-font-size: 0.875rem;
118
- @utrecht-button-subtle-text-decoration: underline;
119
- @utrecht-button-subtle-disabled-background-color: transparent;
120
- @utrecht-button-subtle-hover-text-decoration: underline;
121
- @utrecht-button-subtle-font-size: 15px;
122
- @utrecht-button-subtle-background-color: transparent;
123
- @utrecht-button-secondary-action-border-width: 1px;
124
- @utrecht-button-padding-inline-end: 16px;
125
- @utrecht-button-padding-inline-start: 16px;
126
- @utrecht-button-padding-block-end: 8px;
127
- @utrecht-button-padding-block-start: 8px;
128
- @utrecht-button-font-size: 18px;
129
- @utrecht-button-border-width: 0;
130
- @utrecht-button-rvo-tertiary-action-text-decoration: none;
131
- @utrecht-button-rvo-md-padding-inline-end: 16px;
132
- @utrecht-button-rvo-md-padding-inline-start: 16px;
133
- @utrecht-button-rvo-md-padding-block-end: 8px;
134
- @utrecht-button-rvo-md-padding-block-start: 8px;
135
- @utrecht-button-rvo-md-font-size: 18px;
136
- @utrecht-button-rvo-sm-min-block-size: 30px;
137
- @utrecht-button-rvo-sm-padding-inline-end: 12px;
138
- @utrecht-button-rvo-sm-padding-inline-start: 12px;
139
- @utrecht-button-rvo-sm-padding-block-end: 4px;
140
- @utrecht-button-rvo-sm-padding-block-start: 4px;
141
- @utrecht-button-rvo-sm-font-size: 1rem;
142
- @utrecht-button-rvo-xs-min-block-size: auto;
143
- @utrecht-button-rvo-xs-padding-inline-end: calc(8px + 4px);
144
- @utrecht-button-rvo-xs-padding-inline-start: calc(8px + 4px);
145
- @utrecht-button-rvo-xs-padding-block-end: 4px;
146
- @utrecht-button-rvo-xs-padding-block-start: 4px;
147
- @utrecht-button-rvo-xs-font-size: 0.875rem;
148
- @utrecht-focus-outline-width: 2px;
149
- @utrecht-focus-outline-style: dashed;
150
- @utrecht-focus-outline-offset: 3px; // This is only for buttons. Form fields (input, select and textarea) and links do not have an offset
151
- @utrecht-action-submit-cursor: pointer;
152
- @utrecht-action-disabled-cursor: not-allowed;
153
- @utrecht-action-busy-cursor: wait;
154
- @utrecht-action-activate-cursor: pointer;
155
- @basiselementen-document-line-height: 150%;
156
- @basiselementen-document-font-size: 18px;
157
- @basiselementen-root-font-size: 100%;
158
- @basiselementen-font-weight-bold: 700;
159
- @basiselementen-font-weight-normal: 400;
160
- @basiselementen-font-serif-fallback-font-family: 'Times New Roman', serif;
161
- @basiselementen-font-serif-font-family: 'RijksoverheidSerifWeb';
162
- @basiselementen-font-sans-serif-fallback-font-family: 'Calibri', 'Verdana', 'Arial', sans-serif;
163
- @basiselementen-font-sans-serif-font-family: 'RijksoverheidSansWebText';
164
- @basiselementen-color-wit: #ffffff;
165
- @basiselementen-color-zwart: #000000;
166
- @basiselementen-color-grijs7: #535353;
167
- @basiselementen-color-grijs6: #696969;
168
- @basiselementen-color-grijs5: #999999;
169
- @basiselementen-color-grijs4: #b4b4b4;
170
- @basiselementen-color-grijs3: #cccccc;
171
- @basiselementen-color-grijs2: #e6e6e6;
172
- @basiselementen-color-grijs1: #f3f3f3;
173
- @basiselementen-color-rood-tint2: #f9dfdd;
174
- @basiselementen-color-rood-shade1: #4d0a0b;
175
- @basiselementen-color-rood-tint1: #f2bfbb;
176
- @basiselementen-color-rood: #d51b1e;
177
- @basiselementen-color-donkergeel-tint2: #fff4dc;
178
- @basiselementen-color-donkergeel-tint1: #ffe9b7;
179
- @basiselementen-color-donkergeel: #ffb612;
180
- @basiselementen-color-donkergroen: #275e08;
181
- @basiselementen-color-groen-tint2: #e1eddb;
182
- @basiselementen-color-groen-tint1: #c3dbb6;
183
- @basiselementen-color-groen: #39870c;
184
- @basiselementen-color-oranje-tint2: #fbead9;
185
- @basiselementen-color-oranje-tint1: #f6d4b2;
186
- @basiselementen-color-oranje: #e17000;
187
- @basiselementen-color-donkerblauw-shade1: #01496D; // 30% black (shade) of 'donkerblauw'
188
- @basiselementen-color-donkerblauw: #01689b;
189
- @basiselementen-color-lichtblauw-tint2: #eef7fb;
190
- @basiselementen-color-lichtblauw-tint1: #ddeff8;
191
- @basiselementen-color-lichtblauw: #8fcae7;
192
- @basiselementen-color-hemelblauw-tint2: #d9ebf7;
193
- @basiselementen-color-hemelblauw-tint1: #b2d7ee;
194
- @basiselementen-color-hemelblauw: #007bc7;
195
- @basiselementen-color-logoblauw: #154273;
196
- @rvo-select-icon-color: @basiselementen-color-wit;
197
- @rvo-select-icon-background-color: @basiselementen-color-hemelblauw;
198
- @rvo-logo-emblem-color: @basiselementen-color-wit;
199
- @rvo-logo-color: @basiselementen-color-zwart;
200
- @rvo-logo-font-family: @basiselementen-font-serif-font-family;
201
- @rvo-custom-radio-button-checked-background: radial-gradient(circle, @basiselementen-color-wit 30%, @basiselementen-color-hemelblauw 30%);
202
- @rvo-custom-radio-button-checked-border-color: @basiselementen-color-hemelblauw;
203
- @rvo-custom-radio-button-hover-border-color: @basiselementen-color-hemelblauw;
204
- @rvo-custom-radio-button-label-disabled-color: @basiselementen-color-grijs3;
205
- @rvo-checkbox-disabled-color: @basiselementen-color-grijs3;
206
- @rvo-checkbox-disabled-background-color: @basiselementen-color-wit;
207
- @rvo-checkbox-disabled-border-color: @basiselementen-color-grijs3;
208
- @rvo-checkbox-hover-border-color: @basiselementen-color-hemelblauw;
209
- @rvo-checkbox-hover-background-color: @basiselementen-color-donkerblauw;
210
- @rvo-checkbox-checked-background-color: @basiselementen-color-hemelblauw;
211
- @rvo-checkbox-border-color: @basiselementen-color-zwart;
212
- @rvo-checkbox-background-color: @basiselementen-color-wit;
213
- @rvo-checkbox-icon-color: @basiselementen-color-wit;
214
- @utrecht-link-active-font-weight: @basiselementen-font-weight-bold;
215
- @utrecht-link-active-color: @basiselementen-color-donkerblauw;
216
- @utrecht-link-hover-font-weight: @basiselementen-font-weight-bold;
217
- @utrecht-link-hover-color: @basiselementen-color-donkerblauw;
218
- @utrecht-link-font-weight: @basiselementen-font-weight-normal;
219
- @utrecht-link-color: @basiselementen-color-hemelblauw;
220
- @utrecht-heading-6-font-weight: @basiselementen-font-weight-bold;
221
- @utrecht-heading-5-font-weight: @basiselementen-font-weight-bold;
222
- @utrecht-heading-4-font-weight: @basiselementen-font-weight-bold;
223
- @utrecht-heading-3-font-weight: @basiselementen-font-weight-bold;
224
- @utrecht-heading-2-font-weight: @basiselementen-font-weight-bold;
225
- @utrecht-heading-1-font-weight: @basiselementen-font-weight-bold;
226
- @utrecht-form-label-font-weight: @basiselementen-font-weight-bold;
227
- @utrecht-form-input-read-only-color: @basiselementen-color-grijs7;
228
- @utrecht-form-input-read-only-border-color: @basiselementen-color-grijs7;
229
- @utrecht-form-input-invalid-border-color: @basiselementen-color-rood;
230
- @utrecht-form-input-invalid-background-color: @basiselementen-color-wit;
231
- @utrecht-form-input-focus-border-color: @basiselementen-color-grijs6;
232
- @utrecht-form-input-focus-background-color: @basiselementen-color-wit;
233
- @utrecht-form-input-disabled-color: @basiselementen-color-grijs7;
234
- @utrecht-form-input-disabled-border-color: @basiselementen-color-grijs7;
235
- @utrecht-form-input-disabled-background-color: @basiselementen-color-grijs3 !important;
236
- @utrecht-form-input-color: @basiselementen-color-zwart;
237
- @utrecht-form-input-border-color: @basiselementen-color-grijs6;
238
- @utrecht-form-input-background-color: @basiselementen-color-wit;
239
- @utrecht-form-fieldset-legend-font-weight: @basiselementen-font-weight-bold;
240
- @utrecht-form-fieldset-section-background-color: @basiselementen-color-wit;
241
- @utrecht-document-line-height: @basiselementen-document-line-height;
242
- @utrecht-document-font-size: @basiselementen-document-font-size;
243
- @utrecht-document-font-family: @basiselementen-font-sans-serif-font-family;
244
- @utrecht-document-color: @basiselementen-color-zwart;
245
- @utrecht-document-background-color: @basiselementen-color-wit;
246
- @utrecht-data-list-rows-border-bottom-color: @basiselementen-color-grijs4;
247
- @utrecht-data-list-item-key-font-weight: @basiselementen-font-weight-bold;
248
- @utrecht-data-list-item-key-border-inline-end-color: @basiselementen-color-grijs4;
249
- @utrecht-data-list-border-color: @basiselementen-color-grijs4;
250
- @utrecht-custom-radio-button-invalid-border-color: @basiselementen-color-grijs3;
251
- @utrecht-custom-radio-button-checked-active-background-color: @basiselementen-color-hemelblauw;
252
- @utrecht-custom-radio-button-checked-color: @basiselementen-color-hemelblauw;
253
- @utrecht-custom-radio-button-checked-background-color: @basiselementen-color-hemelblauw;
254
- @utrecht-custom-radio-button-checked-border-color: @basiselementen-color-hemelblauw;
255
- @utrecht-custom-radio-button-disabled-background-color: @basiselementen-color-wit;
256
- @utrecht-custom-radio-button-disabled-border-color: @basiselementen-color-grijs3;
257
- @utrecht-custom-radio-button-active-background-color: @basiselementen-color-hemelblauw;
258
- @utrecht-custom-radio-button-background-color: @basiselementen-color-wit;
259
- @utrecht-custom-radio-button-color: @basiselementen-color-zwart;
260
- @utrecht-custom-radio-button-border-color: @basiselementen-color-zwart;
261
- @utrecht-breadcrumb-link-hover-color: @basiselementen-color-donkerblauw;
262
- @utrecht-breadcrumb-link-focus-color: @basiselementen-color-zwart;
263
- @utrecht-breadcrumb-link-focus-background-color: @basiselementen-color-hemelblauw-tint2;
264
- @utrecht-breadcrumb-link-color: @basiselementen-color-hemelblauw;
265
- @utrecht-button-subtle-warning-hover-color: @basiselementen-color-rood-shade1;
266
- @utrecht-button-subtle-disabled-color: @basiselementen-color-grijs3;
267
- @utrecht-button-subtle-font-weight: @basiselementen-font-weight-bold;
268
- @utrecht-button-subtle-color: @basiselementen-color-rood;
269
- @utrecht-button-secondary-action-hover-border-color: @basiselementen-color-donkerblauw-shade1;
270
- @utrecht-button-secondary-action-hover-background-color: @basiselementen-color-wit;
271
- @utrecht-button-secondary-action-hover-color: @basiselementen-color-donkerblauw-shade1;
272
- @utrecht-button-secondary-action-disabled-color: @basiselementen-color-grijs3;
273
- @utrecht-button-secondary-action-disabled-border-color: @basiselementen-color-grijs3;
274
- @utrecht-button-secondary-action-disabled-background-color: @basiselementen-color-wit;
275
- @utrecht-button-secondary-action-focus-color: @basiselementen-color-donkerblauw;
276
- @utrecht-button-secondary-action-active-color: @basiselementen-color-wit;
277
- @utrecht-button-secondary-action-active-border-color: @basiselementen-color-donkerblauw-shade1;
278
- @utrecht-button-secondary-action-active-background-color: @basiselementen-color-donkerblauw-shade1;
279
- @utrecht-button-secondary-action-color: @basiselementen-color-donkerblauw;
280
- @utrecht-button-secondary-action-border-color: @basiselementen-color-donkerblauw;
281
- @utrecht-button-secondary-action-background-color: @basiselementen-color-wit;
282
- @utrecht-button-primary-action-warning-disabled-color: @basiselementen-color-grijs3;
283
- @utrecht-button-primary-action-warning-disabled-background-color: @basiselementen-color-grijs2;
284
- @utrecht-button-primary-action-warning-disabled-border-color: @basiselementen-color-grijs2;
285
- @utrecht-button-primary-action-warning-hover-background-color: @basiselementen-color-rood-shade1;
286
- @utrecht-button-primary-action-warning-focus-background-color: @basiselementen-color-rood;
287
- @utrecht-button-primary-action-warning-active-background-color: @basiselementen-color-rood;
288
- @utrecht-button-primary-action-warning-color: @basiselementen-color-wit;
289
- @utrecht-button-primary-action-warning-background-color: @basiselementen-color-rood;
290
- @utrecht-button-primary-action-disabled-color: @basiselementen-color-grijs3;
291
- @utrecht-button-primary-action-disabled-background-color: @basiselementen-color-grijs2;
292
- @utrecht-button-primary-action-disabled-border-color: @basiselementen-color-grijs2;
293
- @utrecht-button-primary-action-hover-background-color: @basiselementen-color-donkerblauw-shade1;
294
- @utrecht-button-primary-action-focus-background-color: @basiselementen-color-donkerblauw;
295
- @utrecht-button-primary-action-active-background-color: @basiselementen-color-donkerblauw-shade1;
296
- @utrecht-button-disabled-color: @basiselementen-color-grijs3;
297
- @utrecht-button-disabled-background-color: @basiselementen-color-grijs2;
298
- @utrecht-button-disabled-border-color: @basiselementen-color-grijs2;
299
- @utrecht-button-color: @basiselementen-color-wit;
300
- @utrecht-button-background-color: @basiselementen-color-donkerblauw;
301
- @utrecht-button-rvo-xs-font-weight: @basiselementen-font-weight-normal;
302
- @utrecht-focus-inverse-outline-color: @basiselementen-color-wit;
303
- @utrecht-focus-outline-color: @basiselementen-color-zwart;
304
- @basiselementen-document-font-family: @basiselementen-font-sans-serif-font-family;
305
- @basiselementen-document-color: @basiselementen-color-zwart;
306
- @basiselementen-document-background-color: @basiselementen-color-wit;
@@ -1,103 +0,0 @@
1
- {
2
- "basiselementen": {
3
- "color": {
4
- "logoblauw": {
5
- "value": "#154273"
6
- },
7
- "hemelblauw": {
8
- "value": "#007bc7"
9
- },
10
- "hemelblauw-tint1": {
11
- "value": "#b2d7ee"
12
- },
13
- "hemelblauw-tint2": {
14
- "value": "#d9ebf7"
15
- },
16
- "lichtblauw": {
17
- "value": "#8fcae7"
18
- },
19
- "lichtblauw-tint1": {
20
- "value": "#ddeff8"
21
- },
22
- "lichtblauw-tint2": {
23
- "value": "#eef7fb"
24
- },
25
- "donkerblauw": {
26
- "value": "#01689b"
27
- },
28
- "donkerblauw-shade1": {
29
- "value": "#01496D",
30
- "comment": "30% black (shade) of 'donkerblauw'"
31
- },
32
- "oranje": {
33
- "value": "#e17000"
34
- },
35
- "oranje-tint1": {
36
- "value": "#f6d4b2"
37
- },
38
- "oranje-tint2": {
39
- "value": "#fbead9"
40
- },
41
- "groen": {
42
- "value": "#39870c"
43
- },
44
- "groen-tint1": {
45
- "value": "#c3dbb6"
46
- },
47
- "groen-tint2": {
48
- "value": "#e1eddb"
49
- },
50
- "donkergroen": {
51
- "value": "#275e08"
52
- },
53
- "donkergeel": {
54
- "value": "#ffb612"
55
- },
56
- "donkergeel-tint1": {
57
- "value": "#ffe9b7"
58
- },
59
- "donkergeel-tint2": {
60
- "value": "#fff4dc"
61
- },
62
- "rood": {
63
- "value": "#d51b1e"
64
- },
65
- "rood-tint1": {
66
- "value": "#f2bfbb"
67
- },
68
- "rood-shade1": {
69
- "value": "#4d0a0b"
70
- },
71
- "rood-tint2": {
72
- "value": "#f9dfdd"
73
- },
74
- "grijs1": {
75
- "value": "#f3f3f3"
76
- },
77
- "grijs2": {
78
- "value": "#e6e6e6"
79
- },
80
- "grijs3": {
81
- "value": "#cccccc"
82
- },
83
- "grijs4": {
84
- "value": "#b4b4b4"
85
- },
86
- "grijs5": {
87
- "value": "#999999"
88
- },
89
- "grijs6": {
90
- "value": "#696969"
91
- },
92
- "grijs7": {
93
- "value": "#535353"
94
- },
95
- "zwart": {
96
- "value": "#000000"
97
- },
98
- "wit": {
99
- "value": "#ffffff"
100
- }
101
- }
102
- }
103
- }
@@ -1,34 +0,0 @@
1
- {
2
- "basiselementen": {
3
- "font": {
4
- "sans-serif": {
5
- "font-family": {
6
- "value": "'RijksoverheidSansWebText'"
7
- }
8
- },
9
- "sans-serif-fallback": {
10
- "font-family": {
11
- "value": "'Calibri', 'Verdana', 'Arial', sans-serif"
12
- }
13
- },
14
- "serif": {
15
- "font-family": {
16
- "value": "'RijksoverheidSerifWeb'"
17
- }
18
- },
19
- "serif-fallback": {
20
- "font-family": {
21
- "value": "'Times New Roman', serif"
22
- }
23
- }
24
- },
25
- "font-weight": {
26
- "normal": {
27
- "value": "400"
28
- },
29
- "bold": {
30
- "value": "700"
31
- }
32
- }
33
- }
34
- }
@@ -1,15 +0,0 @@
1
- {
2
- "basiselementen": {
3
- "root": {
4
- "font-size": { "value": "100%" }
5
- },
6
- "document": {
7
- "background-color": { "value": "{basiselementen.color.wit}" },
8
- "color": { "value": "{basiselementen.color.zwart}" },
9
- "font-family": { "value": "{basiselementen.font.sans-serif.font-family}" },
10
- "font-size": { "value": "18px" },
11
- "font-weight": {},
12
- "line-height": { "value": "150%" }
13
- }
14
- }
15
- }
@@ -1,33 +0,0 @@
1
- {
2
- "utrecht": {
3
- "button": {
4
- "rvo-xs": {
5
- "font-size": { "value": "0.875rem" },
6
- "font-weight": { "value": "{basiselementen.font-weight.normal}" },
7
- "padding-block-start": { "value": "4px" },
8
- "padding-block-end": { "value": "4px" },
9
- "padding-inline-start": { "value": "calc(8px + 4px)" },
10
- "padding-inline-end": { "value": "calc(8px + 4px)" },
11
- "min-block-size": { "value": "auto" }
12
- },
13
- "rvo-sm": {
14
- "font-size": { "value": "1rem" },
15
- "padding-block-start": { "value": "4px" },
16
- "padding-block-end": { "value": "4px" },
17
- "padding-inline-start": { "value": "12px" },
18
- "padding-inline-end": { "value": "12px" },
19
- "min-block-size": { "value": "30px" }
20
- },
21
- "rvo-md": {
22
- "font-size": { "value": "18px" },
23
- "padding-block-start": { "value": "8px" },
24
- "padding-block-end": { "value": "8px" },
25
- "padding-inline-start": { "value": "16px" },
26
- "padding-inline-end": { "value": "16px" }
27
- },
28
- "rvo-tertiary-action": {
29
- "text-decoration": { "value": "none" }
30
- }
31
- }
32
- }
33
- }
@@ -1,32 +0,0 @@
1
- {
2
- "rvo": {
3
- "checkbox": {
4
- "size": { "value": "24px" },
5
- "icon": {
6
- "size": { "value": "16px" },
7
- "color": { "value": "{basiselementen.color.wit}" }
8
- },
9
- "background-color": { "value": "{basiselementen.color.wit}" },
10
- "border-width": { "value": "1px" },
11
- "border-color": { "value": "{basiselementen.color.zwart}" },
12
- "focus": {
13
- "border-color": {},
14
- "border-width": {},
15
- "background-color": {}
16
- },
17
- "checked": {
18
- "background-color": { "value": "{basiselementen.color.hemelblauw}" }
19
- },
20
- "hover": {
21
- "background-color": { "value": "{basiselementen.color.donkerblauw}" },
22
- "border-color": { "value": "{basiselementen.color.hemelblauw}" }
23
- },
24
- "disabled": {
25
- "border-color": { "value": "{basiselementen.color.grijs3}" },
26
- "border-width": {},
27
- "background-color": { "value": "{basiselementen.color.wit}" },
28
- "color": { "value": "{basiselementen.color.grijs3}" }
29
- }
30
- }
31
- }
32
- }
@@ -1,24 +0,0 @@
1
- {
2
- "rvo": {
3
- "custom-radio-button": {
4
- "label": {
5
- "disabled": {
6
- "color": { "value": "{basiselementen.color.grijs3}" }
7
- }
8
- },
9
- "hover": {
10
- "border-color": {
11
- "value": "{basiselementen.color.hemelblauw}"
12
- }
13
- },
14
- "checked": {
15
- "border-color": {
16
- "value": "{basiselementen.color.hemelblauw}"
17
- },
18
- "background": {
19
- "value": "radial-gradient(circle, {basiselementen.color.wit} 30%, {basiselementen.color.hemelblauw} 30%)"
20
- }
21
- }
22
- }
23
- }
24
- }
@@ -1,24 +0,0 @@
1
- {
2
- "rvo": {
3
- "heading": {
4
- "1": {
5
- "line-height": { "value": "125%" }
6
- },
7
- "2": {
8
- "line-height": {}
9
- },
10
- "3": {
11
- "line-height": {}
12
- },
13
- "4": {
14
- "line-height": {}
15
- },
16
- "5": {
17
- "line-height": {}
18
- },
19
- "6": {
20
- "line-height": {}
21
- }
22
- }
23
- }
24
- }
@@ -1,13 +0,0 @@
1
- {
2
- "rvo": {
3
- "logo": {
4
- "font-family": { "value": "{basiselementen.font.serif.font-family}" },
5
- "font-size": { "value": "16px" },
6
- "color": { "value": "{basiselementen.color.zwart}" },
7
- "emblem": {
8
- "background-color": { "value": "#154273" },
9
- "color": { "value": "{basiselementen.color.wit}" }
10
- }
11
- }
12
- }
13
- }