@openwebconcept/design-tokens 1.0.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.
@@ -0,0 +1,312 @@
1
+ {
2
+ "denhaag": {
3
+ "process-steps": {
4
+ "font-family": {
5
+ "$value": "{owc.typography.font-family.sans}"
6
+ },
7
+ "font-size": {
8
+ "$value": "{owc.typography.font-size.base}"
9
+ },
10
+ "line-height": {
11
+ "$value": "24px"
12
+ },
13
+ "step-padding-block-start": {
14
+ "$value": "0"
15
+ },
16
+ "step-padding-block-end": {
17
+ "$value": "0"
18
+ },
19
+ "step-distance": {
20
+ "$value": "40px"
21
+ },
22
+ "sub-step-distance": {
23
+ "$value": "12px"
24
+ },
25
+ "step-content-margin": {
26
+ "$value": "12px"
27
+ },
28
+ "step-header-align-items": {
29
+ "$value": "center"
30
+ },
31
+ "step-collapse-icon-size": {
32
+ "$value": "16px"
33
+ },
34
+ "step-collapse-icon-padding": {
35
+ "$value": "4px"
36
+ },
37
+ "step-heading": {
38
+ "color": {
39
+ "$value": "#000000"
40
+ },
41
+ "font-family": {
42
+ "$value": "{owc.typography.font-family.sans}"
43
+ },
44
+ "font-size": {
45
+ "$value": "{owc.typography.font-size.xl}"
46
+ },
47
+ "font-weight": {
48
+ "$value": "400"
49
+ },
50
+ "line-height": {
51
+ "$value": "{owc.typography.line-height.base}"
52
+ },
53
+ "overflow-wrap": {
54
+ "$value": "anywhere"
55
+ },
56
+ "not-checked": {
57
+ "color": {
58
+ "$value": "#000000"
59
+ }
60
+ },
61
+ "checked": {
62
+ "color": {
63
+ "$value": "#000000"
64
+ },
65
+ "font-size": {
66
+ "$value": "{owc.typography.font-size.xl}"
67
+ },
68
+ "font-weight": {
69
+ "$value": "700"
70
+ },
71
+ "line-height": {
72
+ "$value": "{owc.typography.line-height.base}"
73
+ }
74
+ },
75
+ "current": {
76
+ "color": {
77
+ "$value": "{owc.color.primary}"
78
+ },
79
+ "font-size": {
80
+ "$value": "{owc.typography.font-size.xl}"
81
+ },
82
+ "font-weight": {
83
+ "$value": "700"
84
+ },
85
+ "line-height": {
86
+ "$value": "{owc.typography.line-height.base}"
87
+ }
88
+ },
89
+ "warning": {
90
+ "color": {
91
+ "$value": "#f97316"
92
+ }
93
+ },
94
+ "error": {
95
+ "color": {
96
+ "$value": "{owc.color.danger}"
97
+ }
98
+ }
99
+ },
100
+ "step-meta": {
101
+ "color": {
102
+ "$value": "#000000"
103
+ },
104
+ "font-size": {
105
+ "$value": "16px"
106
+ },
107
+ "date": {
108
+ "color": {
109
+ "$value": "#000000"
110
+ },
111
+ "font-size": {
112
+ "$value": "{owc.typography.font-size.sm}"
113
+ }
114
+ },
115
+ "nested": {
116
+ "font-size": {
117
+ "$value": "14px"
118
+ },
119
+ "margin-block-start": {
120
+ "$value": "4px"
121
+ }
122
+ }
123
+ },
124
+ "step-content": {
125
+ "color": {
126
+ "$value": "#ced4da"
127
+ }
128
+ }
129
+ },
130
+ "step-marker": {
131
+ "size": {
132
+ "$value": "32px"
133
+ },
134
+ "border-width": {
135
+ "$value": "2px"
136
+ },
137
+ "font-weight": {
138
+ "$value": "400"
139
+ },
140
+ "margin": {
141
+ "$value": "0"
142
+ },
143
+ "padding": {
144
+ "$value": "12px"
145
+ },
146
+ "icon-size": {
147
+ "$value": "20px"
148
+ },
149
+ "nested-size": {
150
+ "$value": "16px"
151
+ },
152
+ "nested-icon-size": {
153
+ "$value": "10px"
154
+ },
155
+ "font-family": {
156
+ "$value": "{owc.typography.font-family.sans}"
157
+ },
158
+ "font-size": {
159
+ "$value": "{owc.typography.font-size.sm}"
160
+ },
161
+ "default": {
162
+ "background-color": {
163
+ "$value": "#ced4da"
164
+ },
165
+ "border-color": {
166
+ "$value": "#ced4da"
167
+ },
168
+ "color": {
169
+ "$value": "#ffffff"
170
+ },
171
+ "nested-color": {
172
+ "$value": "#ced4da"
173
+ }
174
+ },
175
+ "checked": {
176
+ "background-color": {
177
+ "$value": "#ffffff"
178
+ },
179
+ "border-color": {
180
+ "$value": "{owc.color.primary}"
181
+ },
182
+ "color": {
183
+ "$value": "{owc.color.primary}"
184
+ }
185
+ },
186
+ "current": {
187
+ "background-color": {
188
+ "$value": "{owc.color.primary}"
189
+ },
190
+ "border-color": {
191
+ "$value": "{owc.color.primary}"
192
+ },
193
+ "color": {
194
+ "$value": "#ffffff"
195
+ },
196
+ "nested-color": {
197
+ "$value": "{owc.color.primary}"
198
+ }
199
+ },
200
+ "not-checked": {
201
+ "background-color": {
202
+ "$value": "#ffffff"
203
+ },
204
+ "border-color": {
205
+ "$value": "#ced4da"
206
+ },
207
+ "color": {
208
+ "$value": "#000000"
209
+ }
210
+ },
211
+ "disabled": {
212
+ "background-color": {
213
+ "$value": "#ced4da"
214
+ },
215
+ "border-color": {
216
+ "$value": "#ced4da"
217
+ },
218
+ "color": {
219
+ "$value": "#343a40"
220
+ }
221
+ },
222
+ "warning": {
223
+ "background-color": {
224
+ "$value": "#f97316"
225
+ },
226
+ "border-color": {
227
+ "$value": "#f97316"
228
+ },
229
+ "color": {
230
+ "$value": "#ffffff"
231
+ },
232
+ "nested-background-color": {
233
+ "$value": "#ffffff"
234
+ },
235
+ "nested-border-color": {
236
+ "$value": "#f97316"
237
+ }
238
+ },
239
+ "error": {
240
+ "background-color": {
241
+ "$value": "{owc.color.danger}"
242
+ },
243
+ "border-color": {
244
+ "$value": "{owc.color.danger}"
245
+ },
246
+ "color": {
247
+ "$value": "#ffffff"
248
+ }
249
+ },
250
+ "connector": {
251
+ "outline-width": {
252
+ "$value": "1px"
253
+ },
254
+ "default": {
255
+ "outline-color": {
256
+ "$value": "#ced4da"
257
+ }
258
+ },
259
+ "not-checked": {
260
+ "outline-color": {
261
+ "$value": "#ced4da"
262
+ }
263
+ },
264
+ "checked": {
265
+ "outline-color": {
266
+ "$value": "{owc.color.primary}"
267
+ }
268
+ },
269
+ "warning": {
270
+ "outline-color": {
271
+ "$value": "#fb923c"
272
+ }
273
+ },
274
+ "error": {
275
+ "outline-color": {
276
+ "$value": "{owc.color.danger}"
277
+ }
278
+ }
279
+ }
280
+ }
281
+ },
282
+ "utrecht": {
283
+ "button": {
284
+ "subtle": {
285
+ "background-color": {
286
+ "$value": "transparent"
287
+ },
288
+ "color": {
289
+ "$value": "auto"
290
+ },
291
+ "font-size": {
292
+ "$value": "{owc.typography.font-size.base}"
293
+ }
294
+ },
295
+ "padding-block-start": {
296
+ "$value": "0"
297
+ },
298
+ "padding-block-end": {
299
+ "$value": "0"
300
+ },
301
+ "padding-inline-start": {
302
+ "$value": "0"
303
+ },
304
+ "padding-inline-end": {
305
+ "$value": "0"
306
+ },
307
+ "icon-gap": {
308
+ "$value": "4px"
309
+ }
310
+ }
311
+ }
312
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "owc": {
3
+ "focus": {
4
+ "outline-width": {
5
+ "$value": "2px"
6
+ },
7
+ "outline-style": {
8
+ "$value": "solid"
9
+ },
10
+ "outline-offset": {
11
+ "$value": "2px"
12
+ }
13
+ }
14
+ }
15
+ }
@@ -0,0 +1,52 @@
1
+ {
2
+ "usesDtcg": true,
3
+ "source": ["./src/**/tokens.json", "./src/**/*.tokens.json"],
4
+ "platforms": {
5
+ "css": {
6
+ "transforms": ["name/kebab", "color/hsl-4"],
7
+ "buildPath": "dist/",
8
+ "files": [
9
+ {
10
+ "destination": "tokens.css",
11
+ "format": "css/variables",
12
+ "options": {
13
+ "outputReferences": true
14
+ }
15
+ }
16
+ ]
17
+ },
18
+ "scss": {
19
+ "transforms": ["name/kebab", "color/hsl-4"],
20
+ "buildPath": "dist/",
21
+ "files": [
22
+ {
23
+ "destination": "_variables.scss",
24
+ "format": "scss/variables",
25
+ "options": {
26
+ "outputReferences": true
27
+ }
28
+ }
29
+ ]
30
+ },
31
+ "js": {
32
+ "transforms": ["name/camel", "color/hsl-4"],
33
+ "buildPath": "dist/",
34
+ "files": [
35
+ {
36
+ "destination": "index.js",
37
+ "format": "javascript/es6"
38
+ }
39
+ ]
40
+ },
41
+ "json": {
42
+ "transforms": ["name/camel", "color/hsl-4"],
43
+ "buildPath": "dist/",
44
+ "files": [
45
+ {
46
+ "destination": "tokens.json",
47
+ "format": "json/nested"
48
+ }
49
+ ]
50
+ }
51
+ }
52
+ }