@openkfw/design-tokens 0.5.5 → 0.5.7

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.5 | MPL-2.0 | https://github.com/openkfw/design-tokens
2
+ * KfW Design Tokens v0.5.7 | MPL-2.0 | https://github.com/openkfw/design-tokens
3
3
  */
4
4
 
5
5
  export const KfwBaseColorBlue100: {
@@ -269,113 +269,131 @@ export const KfwBaseLayoutGridgapStaticXl: string;
269
269
  export const KfwBaseLayoutGridgapFluidMin: string;
270
270
  export const KfwBaseLayoutGridgapFluidMax: string;
271
271
  export const KfwBaseLayoutGridgapFluidVal: string;
272
- /** Main interaction color for buttons and links */
272
+ /** Main interaction color for buttons and links (Blue 600) */
273
273
  export const KfwColorFn: {
274
274
  colorSpace: string;
275
275
  components: number[];
276
276
  hex: string;
277
277
  };
278
+ /** Interaction color when active (e.g., hover, Blue 700) */
278
279
  export const KfwColorFnActive: {
279
280
  colorSpace: string;
280
281
  components: number[];
281
282
  hex: string;
282
283
  };
284
+ /** Interaction color when inactive (Gray 300) */
283
285
  export const KfwColorFnInactive: {
284
286
  colorSpace: string;
285
287
  components: number[];
286
288
  hex: string;
287
289
  };
290
+ /** Interaction border color (Gray 600) */
288
291
  export const KfwColorFnBorder: {
289
292
  colorSpace: string;
290
293
  components: number[];
291
294
  hex: string;
292
295
  };
296
+ /** Interaction label color (Gray 600) */
293
297
  export const KfwColorFnLabel: {
294
298
  colorSpace: string;
295
299
  components: number[];
296
300
  hex: string;
297
301
  };
298
- /** Main text color for body */
302
+ /** Main text color for body (Gray 600) */
299
303
  export const KfwColorText: {
300
304
  colorSpace: string;
301
305
  components: number[];
302
306
  hex: string;
303
307
  };
308
+ /** Main text color on dark background (White) */
304
309
  export const KfwColorTextOnDarkBg: {
305
310
  colorSpace: string;
306
311
  components: number[];
307
312
  hex: string;
308
313
  };
314
+ /** Main text color on disabled (White) */
309
315
  export const KfwColorTextOnDisabled: {
310
316
  colorSpace: string;
311
317
  components: number[];
312
318
  hex: string;
313
319
  };
320
+ /** Headline text color on dark background (Green 300) */
314
321
  export const KfwColorTextHeadlineOnDarkBg: {
315
322
  colorSpace: string;
316
323
  components: number[];
317
324
  hex: string;
318
325
  };
319
- /** Main background color for body */
326
+ /** Main background color for body (White) */
320
327
  export const KfwColorBackground: {
321
328
  colorSpace: string;
322
329
  components: number[];
323
330
  hex: string;
324
331
  };
332
+ /** Neutral (Gray 50) */
325
333
  export const KfwColorBackgroundSubtle: {
326
334
  colorSpace: string;
327
335
  components: number[];
328
336
  hex: string;
329
337
  };
338
+ /** Disabled (Gray 300) */
330
339
  export const KfwColorBackgroundDisabled: {
331
340
  colorSpace: string;
332
341
  components: number[];
333
342
  hex: string;
334
343
  };
344
+ /** Light blue (Blue 100) */
335
345
  export const KfwColorBackgroundLightBlue: {
336
346
  colorSpace: string;
337
347
  components: number[];
338
348
  hex: string;
339
349
  };
350
+ /** Light green (Green 100) */
340
351
  export const KfwColorBackgroundLightGreen: {
341
352
  colorSpace: string;
342
353
  components: number[];
343
354
  hex: string;
344
355
  };
356
+ /** Dark blue (Blue 800) */
345
357
  export const KfwColorBackgroundDarkBlue: {
346
358
  colorSpace: string;
347
359
  components: number[];
348
360
  hex: string;
349
361
  };
362
+ /** Dark green (Green 700) */
350
363
  export const KfwColorBackgroundDarkGreen: {
351
364
  colorSpace: string;
352
365
  components: number[];
353
366
  hex: string;
354
367
  };
368
+ /** White 90% */
355
369
  export const KfwColorOpaqueWhite90: {
356
370
  colorSpace: string;
357
371
  components: number[];
358
372
  hex: string;
359
373
  alpha: number;
360
374
  };
375
+ /** White 95% */
361
376
  export const KfwColorOpaqueWhite95: {
362
377
  colorSpace: string;
363
378
  components: number[];
364
379
  hex: string;
365
380
  alpha: number;
366
381
  };
382
+ /** Gray 500 10% */
367
383
  export const KfwColorOpaqueGray50010: {
368
384
  colorSpace: string;
369
385
  components: number[];
370
386
  hex: string;
371
387
  alpha: number;
372
388
  };
389
+ /** Gray 500 30% */
373
390
  export const KfwColorOpaqueGray50030: {
374
391
  colorSpace: string;
375
392
  components: number[];
376
393
  hex: string;
377
394
  alpha: number;
378
395
  };
396
+ /** Gray 500 90% */
379
397
  export const KfwColorOpaqueGray50090: {
380
398
  colorSpace: string;
381
399
  components: number[];
@@ -542,6 +560,7 @@ export const KfwBorderradiusSmall: string;
542
560
  export const KfwBorderradiusCircle: string;
543
561
  export const KfwBorderwidth: string;
544
562
  export const KfwBorderwidthLarge: string;
563
+ export const KfwBorderstyle: string;
545
564
  export const KfwFocusringOutlineWidth: string;
546
565
  export const KfwFocusringOutlineOffset: string;
547
566
  export const KfwFocusringOutlineStyle: string;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * KfW Design Tokens v0.5.5 | MPL-2.0 | https://github.com/openkfw/design-tokens
2
+ * KfW Design Tokens v0.5.7 | MPL-2.0 | https://github.com/openkfw/design-tokens
3
3
  */
4
4
 
5
5
  export const KfwBaseColorBlue100 = {
@@ -129,13 +129,13 @@ 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",
@@ -275,112 +275,112 @@ 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
368
  components: [0.2549, 0.2784, 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
374
  components: [0.2549, 0.2784, 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
380
  components: [0.2549, 0.2784, 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
386
  components: [0.7843, 0.0196, 0.2157],
@@ -393,8 +393,8 @@ 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",
@@ -463,8 +463,8 @@ 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",
@@ -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";