@openkfw/design-tokens 0.5.6 → 0.5.8

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * KfW Design Tokens v0.5.6 | MPL-2.0 | https://github.com/openkfw/design-tokens
2
+ * KfW Design Tokens v0.5.8 | MPL-2.0 | https://github.com/openkfw/design-tokens
3
3
  */
4
4
 
5
5
  export const KfwBaseColorBlue100 = {
@@ -101,25 +101,25 @@ export const KfwBaseColorGray400 = {
101
101
  };
102
102
  export const KfwBaseColorGray50010 = {
103
103
  colorSpace: "srgb",
104
- components: [0.2549, 0.2784, 0.298],
104
+ components: [0.2549, 0.2824, 0.298],
105
105
  hex: "#41484c",
106
106
  alpha: 0.1,
107
107
  };
108
108
  export const KfwBaseColorGray50030 = {
109
109
  colorSpace: "srgb",
110
- components: [0.2549, 0.2784, 0.298],
110
+ components: [0.2549, 0.2824, 0.298],
111
111
  hex: "#41484c",
112
112
  alpha: 0.3,
113
113
  };
114
114
  export const KfwBaseColorGray50090 = {
115
115
  colorSpace: "srgb",
116
- components: [0.2549, 0.2784, 0.298],
116
+ components: [0.2549, 0.2824, 0.298],
117
117
  hex: "#41484c",
118
118
  alpha: 0.9,
119
119
  };
120
120
  export const KfwBaseColorGray500 = {
121
121
  colorSpace: "srgb",
122
- components: [0.2549, 0.2784, 0.298],
122
+ components: [0.2549, 0.2824, 0.298],
123
123
  hex: "#41484c",
124
124
  };
125
125
  export const KfwBaseColorGray600 = {
@@ -129,17 +129,17 @@ export const KfwBaseColorGray600 = {
129
129
  };
130
130
  export const KfwBaseColorViolet400 = {
131
131
  colorSpace: "srgb",
132
- components: [0.5765, 0.5961, 0.8784],
133
- hex: "#9598e0",
132
+ components: [0.6431, 0.3333, 0.7725],
133
+ hex: "#a455c5",
134
134
  };
135
135
  export const KfwBaseColorViolet500 = {
136
136
  colorSpace: "srgb",
137
- components: [0.4, 0.4353, 0.7843],
138
- hex: "#686fc8",
137
+ components: [0.3921, 0.1921, 0.4745],
138
+ hex: "#643179",
139
139
  };
140
140
  export const KfwBaseColorRed400 = {
141
141
  colorSpace: "srgb",
142
- components: [0.7843, 0.0196, 0.2157],
142
+ components: [0.7843, 0.0196, 0.2196],
143
143
  hex: "#c80538",
144
144
  };
145
145
  export const KfwBaseColorYellow500 = {
@@ -163,31 +163,31 @@ export const KfwBaseSpaceStatic50 = "5rem";
163
163
  export const KfwBaseSpaceStatic60 = "6rem";
164
164
  export const KfwBaseSpaceFluid5Min = "0.5rem";
165
165
  export const KfwBaseSpaceFluid5Max = "1rem";
166
- export const KfwBaseSpaceFluid5Val = "0.588px";
166
+ export const KfwBaseSpaceFluid5Val = "0.735vi + 0.588px";
167
167
  export const KfwBaseSpaceFluid10Min = "1rem";
168
168
  export const KfwBaseSpaceFluid10Max = "1.5rem";
169
- export const KfwBaseSpaceFluid10Val = "0.5588rem";
169
+ export const KfwBaseSpaceFluid10Val = "0.735vi + 0.5588rem";
170
170
  export const KfwBaseSpaceFluid15Min = "1.5rem";
171
171
  export const KfwBaseSpaceFluid15Max = "2rem";
172
- export const KfwBaseSpaceFluid15Val = "1.0588rem";
172
+ export const KfwBaseSpaceFluid15Val = "0.735vi + 1.0588rem";
173
173
  export const KfwBaseSpaceFluid20Min = "2rem";
174
174
  export const KfwBaseSpaceFluid20Max = "2.5rem";
175
- export const KfwBaseSpaceFluid20Val = "1.5588rem";
175
+ export const KfwBaseSpaceFluid20Val = "0.735vi + 1.5588rem";
176
176
  export const KfwBaseSpaceFluid25Min = "2.5rem";
177
177
  export const KfwBaseSpaceFluid25Max = "3rem";
178
- export const KfwBaseSpaceFluid25Val = "2.0588rem";
178
+ export const KfwBaseSpaceFluid25Val = "0.735vi + 2.0588rem";
179
179
  export const KfwBaseSpaceFluid30Min = "3rem";
180
180
  export const KfwBaseSpaceFluid30Max = "3.5rem";
181
- export const KfwBaseSpaceFluid30Val = "2.5588rem";
181
+ export const KfwBaseSpaceFluid30Val = "0.735vi + 2.5588rem";
182
182
  export const KfwBaseSpaceFluid35Min = "3.5rem";
183
183
  export const KfwBaseSpaceFluid35Max = "4rem";
184
- export const KfwBaseSpaceFluid35Val = "3.0588rem";
184
+ export const KfwBaseSpaceFluid35Val = "0.735vi + 3.0588rem";
185
185
  export const KfwBaseSpaceFluid40Min = "4rem";
186
186
  export const KfwBaseSpaceFluid40Max = "5rem";
187
- export const KfwBaseSpaceFluid40Val = "3.1176rem";
187
+ export const KfwBaseSpaceFluid40Val = "1.471vi + 3.1176rem";
188
188
  export const KfwBaseSpaceFluid50Min = "5rem";
189
189
  export const KfwBaseSpaceFluid50Max = "6rem";
190
- export const KfwBaseSpaceFluid50Val = "4.1176rem";
190
+ export const KfwBaseSpaceFluid50Val = "1.471vi + 4.1176rem";
191
191
  export const KfwBaseFontsizeStaticSm = "1.4rem";
192
192
  export const KfwBaseFontsizeStaticMd = "1.6rem";
193
193
  export const KfwBaseFontsizeStaticLg = "1.8rem";
@@ -201,31 +201,31 @@ export const KfwBaseFontsizeStatic7xl = "3.2rem";
201
201
  export const KfwBaseFontsizeStatic8xl = "3.6rem";
202
202
  export const KfwBaseFontsizeFluidSmMin = "1.4rem";
203
203
  export const KfwBaseFontsizeFluidSmMax = "1.6rem";
204
- export const KfwBaseFontsizeFluidSmVal = "1.2235rem";
204
+ export const KfwBaseFontsizeFluidSmVal = "0.294vi + 1.2235rem";
205
205
  export const KfwBaseFontsizeFluidMdMin = "1.6rem";
206
206
  export const KfwBaseFontsizeFluidMdMax = "1.8rem";
207
- export const KfwBaseFontsizeFluidMdVal = "1.4235rem";
207
+ export const KfwBaseFontsizeFluidMdVal = "0.294vi + 1.4235rem";
208
208
  export const KfwBaseFontsizeFluidLgMin = "1.8rem";
209
209
  export const KfwBaseFontsizeFluidLgMax = "2rem";
210
- export const KfwBaseFontsizeFluidLgVal = "1.6235rem";
210
+ export const KfwBaseFontsizeFluidLgVal = "0.294vi + 1.6235rem";
211
211
  export const KfwBaseFontsizeFluidXlMin = "2rem";
212
212
  export const KfwBaseFontsizeFluidXlMax = "2.2rem";
213
- export const KfwBaseFontsizeFluidXlVal = "1.8235rem";
213
+ export const KfwBaseFontsizeFluidXlVal = "0.294vi + 1.8235rem";
214
214
  export const KfwBaseFontsizeFluid2xlMin = "2.2rem";
215
215
  export const KfwBaseFontsizeFluid2xlMax = "2.4rem";
216
- export const KfwBaseFontsizeFluid2xlVal = "2.0235rem";
216
+ export const KfwBaseFontsizeFluid2xlVal = "0.294vi + 2.0235rem";
217
217
  export const KfwBaseFontsizeFluid3xlMin = "2.4rem";
218
218
  export const KfwBaseFontsizeFluid3xlMax = "2.6rem";
219
- export const KfwBaseFontsizeFluid3xlVal = "2.2235rem";
219
+ export const KfwBaseFontsizeFluid3xlVal = "0.294vi + 2.2235rem";
220
220
  export const KfwBaseFontsizeFluid4xlMin = "2.6rem";
221
221
  export const KfwBaseFontsizeFluid4xlMax = "2.8rem";
222
- export const KfwBaseFontsizeFluid4xlVal = "2.4234999999999998rem";
222
+ export const KfwBaseFontsizeFluid4xlVal = "0.294vi + 2.4234999999999998rem";
223
223
  export const KfwBaseFontsizeFluid5xlMin = "2.8rem";
224
224
  export const KfwBaseFontsizeFluid5xlMax = "3.2rem";
225
- export const KfwBaseFontsizeFluid5xlVal = "2.4471rem";
225
+ export const KfwBaseFontsizeFluid5xlVal = "0.588vi + 2.4471rem";
226
226
  export const KfwBaseFontsizeFluid6xlMin = "3rem";
227
227
  export const KfwBaseFontsizeFluid6xlMax = "3.6rem";
228
- export const KfwBaseFontsizeFluid6xlVal = "2.4706rem";
228
+ export const KfwBaseFontsizeFluid6xlVal = "0.882vi + 2.4706rem";
229
229
  export const KfwBaseLineheight2xs = 1.2;
230
230
  export const KfwBaseLineheightXs = 1.3;
231
231
  export const KfwBaseLineheightSm = 1.333;
@@ -255,7 +255,7 @@ export const KfwBaseLayoutSafezoneStaticMd = "2rem";
255
255
  export const KfwBaseLayoutSafezoneStaticLg = "4rem";
256
256
  export const KfwBaseLayoutSafezoneFluidMin = "2rem";
257
257
  export const KfwBaseLayoutSafezoneFluidMax = "4rem";
258
- export const KfwBaseLayoutSafezoneFluidVal = "0.2353rem";
258
+ export const KfwBaseLayoutSafezoneFluidVal = "2.941vi + 0.2353rem";
259
259
  export const KfwBaseLayoutGridcolumn1 = 1;
260
260
  export const KfwBaseLayoutGridcolumn2 = 2;
261
261
  export const KfwBaseLayoutGridcolumn3 = 3;
@@ -270,120 +270,120 @@ export const KfwBaseLayoutGridgapStaticLg = "2.6rem";
270
270
  export const KfwBaseLayoutGridgapStaticXl = "3.6rem";
271
271
  export const KfwBaseLayoutGridgapFluidMin = "1.2rem";
272
272
  export const KfwBaseLayoutGridgapFluidMax = "3.6rem";
273
- export const KfwBaseLayoutGridgapFluidVal = "-0.9176rem";
273
+ export const KfwBaseLayoutGridgapFluidVal = "3.529vi - 0.9176rem";
274
274
  export const KfwColorFn = {
275
275
  colorSpace: "srgb",
276
276
  components: [0, 0.3529, 0.549],
277
277
  hex: "#005a8c",
278
- }; // Main interaction color for buttons and links
278
+ }; // Main interaction color for buttons and links (Blue 600)
279
279
  export const KfwColorFnActive = {
280
280
  colorSpace: "srgb",
281
281
  components: [0, 0.2667, 0.4314],
282
282
  hex: "#00446e",
283
- };
283
+ }; // Interaction color when active (e.g., hover, Blue 700)
284
284
  export const KfwColorFnInactive = {
285
285
  colorSpace: "srgb",
286
286
  components: [0.6314, 0.6784, 0.7098],
287
287
  hex: "#a1adb5",
288
- };
288
+ }; // Interaction color when inactive (Gray 300)
289
289
  export const KfwColorFnBorder = {
290
290
  colorSpace: "srgb",
291
291
  components: [0.1765, 0.1922, 0.2039],
292
292
  hex: "#2d3134",
293
- };
293
+ }; // Interaction border color (Gray 600)
294
294
  export const KfwColorFnLabel = {
295
295
  colorSpace: "srgb",
296
296
  components: [0.1765, 0.1922, 0.2039],
297
297
  hex: "#2d3134",
298
- };
298
+ }; // Interaction label color (Gray 600)
299
299
  export const KfwColorText = {
300
300
  colorSpace: "srgb",
301
301
  components: [0.1765, 0.1922, 0.2039],
302
302
  hex: "#2d3134",
303
- }; // Main text color for body
303
+ }; // Main text color for body (Gray 600)
304
304
  export const KfwColorTextOnDarkBg = {
305
305
  colorSpace: "srgb",
306
306
  components: [1, 1, 1],
307
307
  hex: "#ffffff",
308
- };
308
+ }; // Main text color on dark background (White)
309
309
  export const KfwColorTextOnDisabled = {
310
310
  colorSpace: "srgb",
311
311
  components: [1, 1, 1],
312
312
  hex: "#ffffff",
313
- };
313
+ }; // Main text color on disabled (White)
314
314
  export const KfwColorTextHeadlineOnDarkBg = {
315
315
  colorSpace: "srgb",
316
316
  components: [0.7176, 0.9765, 0.6667],
317
317
  hex: "#b7f9aa",
318
- };
318
+ }; // Headline text color on dark background (Green 300)
319
319
  export const KfwColorBackground = {
320
320
  colorSpace: "srgb",
321
321
  components: [1, 1, 1],
322
322
  hex: "#ffffff",
323
- }; // Main background color for body
323
+ }; // Main background color for body (White)
324
324
  export const KfwColorBackgroundSubtle = {
325
325
  colorSpace: "srgb",
326
326
  components: [0.9647, 0.9686, 0.9725],
327
327
  hex: "#f6f7f8",
328
- };
328
+ }; // Neutral (Gray 50)
329
329
  export const KfwColorBackgroundDisabled = {
330
330
  colorSpace: "srgb",
331
331
  components: [0.6314, 0.6784, 0.7098],
332
332
  hex: "#a1adb5",
333
- };
333
+ }; // Disabled (Gray 300)
334
334
  export const KfwColorBackgroundLightBlue = {
335
335
  colorSpace: "srgb",
336
336
  components: [0.9137, 0.9608, 0.9843],
337
337
  hex: "#e9f5fb",
338
- };
338
+ }; // Light blue (Blue 100)
339
339
  export const KfwColorBackgroundLightGreen = {
340
340
  colorSpace: "srgb",
341
341
  components: [0.9255, 0.9922, 0.9294],
342
342
  hex: "#ecfded",
343
- };
343
+ }; // Light green (Green 100)
344
344
  export const KfwColorBackgroundDarkBlue = {
345
345
  colorSpace: "srgb",
346
346
  components: [0, 0.2157, 0.3588],
347
347
  hex: "#00375b",
348
- };
348
+ }; // Dark blue (Blue 800)
349
349
  export const KfwColorBackgroundDarkGreen = {
350
350
  colorSpace: "srgb",
351
351
  components: [0.2235, 0.5137, 0.3412],
352
352
  hex: "#398357",
353
- };
353
+ }; // Dark green (Green 700)
354
354
  export const KfwColorOpaqueWhite90 = {
355
355
  colorSpace: "srgb",
356
356
  components: [1, 1, 1],
357
357
  hex: "#ffffff",
358
358
  alpha: 0.9,
359
- };
359
+ }; // White 90%
360
360
  export const KfwColorOpaqueWhite95 = {
361
361
  colorSpace: "srgb",
362
362
  components: [1, 1, 1],
363
363
  hex: "#ffffff",
364
364
  alpha: 0.95,
365
- };
365
+ }; // White 95%
366
366
  export const KfwColorOpaqueGray50010 = {
367
367
  colorSpace: "srgb",
368
- components: [0.2549, 0.2784, 0.298],
368
+ components: [0.2549, 0.2824, 0.298],
369
369
  hex: "#41484c",
370
370
  alpha: 0.1,
371
- };
371
+ }; // Gray 500 10%
372
372
  export const KfwColorOpaqueGray50030 = {
373
373
  colorSpace: "srgb",
374
- components: [0.2549, 0.2784, 0.298],
374
+ components: [0.2549, 0.2824, 0.298],
375
375
  hex: "#41484c",
376
376
  alpha: 0.3,
377
- };
377
+ }; // Gray 500 30%
378
378
  export const KfwColorOpaqueGray50090 = {
379
379
  colorSpace: "srgb",
380
- components: [0.2549, 0.2784, 0.298],
380
+ components: [0.2549, 0.2824, 0.298],
381
381
  hex: "#41484c",
382
382
  alpha: 0.9,
383
- };
383
+ }; // Gray 500 90%
384
384
  export const KfwColorStateDanger = {
385
385
  colorSpace: "srgb",
386
- components: [0.7843, 0.0196, 0.2157],
386
+ components: [0.7843, 0.0196, 0.2196],
387
387
  hex: "#c80538",
388
388
  };
389
389
  export const KfwColorStateSuccess = {
@@ -393,12 +393,12 @@ export const KfwColorStateSuccess = {
393
393
  };
394
394
  export const KfwColorStateWarning = {
395
395
  colorSpace: "srgb",
396
- components: [0.5765, 0.5961, 0.8784],
397
- hex: "#9598e0",
396
+ components: [0.6431, 0.3333, 0.7725],
397
+ hex: "#a455c5",
398
398
  };
399
399
  export const KfwColorStatusRed = {
400
400
  colorSpace: "srgb",
401
- components: [0.7843, 0.0196, 0.2157],
401
+ components: [0.7843, 0.0196, 0.2196],
402
402
  hex: "#c80538",
403
403
  };
404
404
  export const KfwColorStatusYellow = {
@@ -463,12 +463,12 @@ export const KfwColorProductCredit = {
463
463
  };
464
464
  export const KfwColorProductCooperation = {
465
465
  colorSpace: "srgb",
466
- components: [0.4, 0.4353, 0.7843],
467
- hex: "#686fc8",
466
+ components: [0.3921, 0.1921, 0.4745],
467
+ hex: "#643179",
468
468
  };
469
469
  export const KfwColorProductCreditBenefit = {
470
470
  colorSpace: "srgb",
471
- components: [0.2549, 0.2784, 0.298],
471
+ components: [0.2549, 0.2824, 0.298],
472
472
  hex: "#41484c",
473
473
  };
474
474
  export const KfwColorIcon = {
@@ -500,10 +500,10 @@ export const KfwSpaceSmall = "2rem";
500
500
  export const KfwSpaceMedium = "3rem";
501
501
  export const KfwSpaceLargeMin = "3.5rem";
502
502
  export const KfwSpaceLargeMax = "4rem";
503
- export const KfwSpaceLargeVal = "3.0588rem";
503
+ export const KfwSpaceLargeVal = "0.735vi + 3.0588rem";
504
504
  export const KfwSpaceBigMin = "5rem";
505
505
  export const KfwSpaceBigMax = "6rem";
506
- export const KfwSpaceBigVal = "4.1176rem";
506
+ export const KfwSpaceBigVal = "1.471vi + 4.1176rem";
507
507
  export const KfwFontspace = "2rem";
508
508
  export const KfwFontspace2xsmall = "0.5rem";
509
509
  export const KfwFontspaceXsmall = "1rem";
@@ -521,16 +521,16 @@ export const KfwFontsizeLarge = "1.8rem";
521
521
  export const KfwFontsizeSmall = "1.4rem";
522
522
  export const KfwFontsizeHeading1Min = "3rem";
523
523
  export const KfwFontsizeHeading1Max = "3.6rem";
524
- export const KfwFontsizeHeading1Val = "2.4706rem";
524
+ export const KfwFontsizeHeading1Val = "0.882vi + 2.4706rem";
525
525
  export const KfwFontsizeHeading2Min = "2.8rem";
526
526
  export const KfwFontsizeHeading2Max = "3.2rem";
527
- export const KfwFontsizeHeading2Val = "2.4471rem";
527
+ export const KfwFontsizeHeading2Val = "0.588vi + 2.4471rem";
528
528
  export const KfwFontsizeHeading3Min = "2.4rem";
529
529
  export const KfwFontsizeHeading3Max = "2.6rem";
530
- export const KfwFontsizeHeading3Val = "2.2235rem";
530
+ export const KfwFontsizeHeading3Val = "0.294vi + 2.2235rem";
531
531
  export const KfwFontsizeHeading4Min = "2rem";
532
532
  export const KfwFontsizeHeading4Max = "2.2rem";
533
- export const KfwFontsizeHeading4Val = "1.8235rem";
533
+ export const KfwFontsizeHeading4Val = "0.294vi + 1.8235rem";
534
534
  export const KfwFontsizeHeading5 = "1.8rem";
535
535
  export const KfwFontsizeHeading6 = "1.6rem";
536
536
  export const KfwLineheight = 1.4;
@@ -543,6 +543,7 @@ export const KfwBorderradiusSmall = "2px";
543
543
  export const KfwBorderradiusCircle = "999.9rem";
544
544
  export const KfwBorderwidth = "1px";
545
545
  export const KfwBorderwidthLarge = "2px";
546
+ export const KfwBorderstyle = "solid";
546
547
  export const KfwFocusringOutlineWidth = "2px";
547
548
  export const KfwFocusringOutlineOffset = "2px";
548
549
  export const KfwFocusringOutlineStyle = "dashed";
@@ -557,4 +558,4 @@ export const KfwContentwrapperBasic = "108rem";
557
558
  export const KfwContentwrapperExtended = "128rem";
558
559
  export const KfwSafezoneMin = "2rem";
559
560
  export const KfwSafezoneMax = "4rem";
560
- export const KfwSafezoneVal = "0.2353rem";
561
+ export const KfwSafezoneVal = "2.941vi + 0.2353rem";