@openkfw/design-tokens 1.0.2 → 1.0.4

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,736 +0,0 @@
1
- {
2
- "Base": {
3
- "Color": {
4
- "Blue": {
5
- "100": {
6
- "$value": "#e9f5fb",
7
- "$type": "color"
8
- },
9
- "400": {
10
- "$value": "#54b3e2",
11
- "$type": "color"
12
- },
13
- "500": {
14
- "$value": "#007abc",
15
- "$type": "color"
16
- },
17
- "600": {
18
- "$value": "#005a8c",
19
- "$type": "color"
20
- },
21
- "700": {
22
- "$value": "#00446e",
23
- "$type": "color"
24
- },
25
- "800": {
26
- "$value": "#00375b",
27
- "$type": "color"
28
- }
29
- },
30
- "Green": {
31
- "100": {
32
- "$value": "#ecfded",
33
- "$type": "color"
34
- },
35
- "300": {
36
- "$value": "#b7f9aa",
37
- "$type": "color"
38
- },
39
- "400": {
40
- "$value": "#94eb90",
41
- "$type": "color"
42
- },
43
- "700": {
44
- "$value": "#398357",
45
- "$type": "color"
46
- }
47
- },
48
- "White": {
49
- "90": {
50
- "$value": "#ffffffe6",
51
- "$type": "color"
52
- },
53
- "95": {
54
- "$value": "#fffffff2",
55
- "$type": "color"
56
- },
57
- "Default": {
58
- "$value": "#fff",
59
- "$type": "color"
60
- }
61
- },
62
- "Gray": {
63
- "50": {
64
- "$value": "#f6f7f8",
65
- "$type": "color"
66
- },
67
- "100": {
68
- "$value": "#eef0f2",
69
- "$type": "color"
70
- },
71
- "200": {
72
- "$value": "#d8dfe3",
73
- "$type": "color"
74
- },
75
- "300": {
76
- "$value": "#a1adb5",
77
- "$type": "color"
78
- },
79
- "400": {
80
- "$value": "#6d767d",
81
- "$type": "color"
82
- },
83
- "500": {
84
- "10": {
85
- "$value": "#41484c1a",
86
- "$type": "color"
87
- },
88
- "30": {
89
- "$value": "#41484c4d",
90
- "$type": "color"
91
- },
92
- "90": {
93
- "$value": "#41484ce6",
94
- "$type": "color"
95
- },
96
- "Default": {
97
- "$value": "#41484c",
98
- "$type": "color"
99
- }
100
- },
101
- "600": {
102
- "$value": "#2d3134",
103
- "$type": "color"
104
- }
105
- },
106
- "Violet": {
107
- "400": {
108
- "$value": "#a455c5",
109
- "$type": "color"
110
- },
111
- "500": {
112
- "$value": "#643179",
113
- "$type": "color"
114
- }
115
- },
116
- "Red": {
117
- "400": {
118
- "$value": "#c80538",
119
- "$type": "color"
120
- }
121
- },
122
- "Yellow": {
123
- "500": {
124
- "$value": "#eac80b",
125
- "$type": "color"
126
- }
127
- }
128
- },
129
- "Fontfamily": {
130
- "Sans": {
131
- "$value": "\"KfW Centro Sans\", Arial, \"Helvetica Neue\", Helvetica, sans-serif",
132
- "$type": "fontFamilies"
133
- },
134
- "Mono": {
135
- "$value": "ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace",
136
- "$type": "fontFamilies"
137
- }
138
- },
139
- "Space": {
140
- "5": {
141
- "$value": "5px",
142
- "$type": "spacing"
143
- },
144
- "10": {
145
- "$value": "10px",
146
- "$type": "spacing"
147
- },
148
- "15": {
149
- "$value": "15px",
150
- "$type": "spacing"
151
- },
152
- "20": {
153
- "$value": "20px",
154
- "$type": "spacing"
155
- },
156
- "25": {
157
- "$value": "25px",
158
- "$type": "spacing"
159
- },
160
- "30": {
161
- "$value": "30px",
162
- "$type": "spacing"
163
- },
164
- "35": {
165
- "$value": "35px",
166
- "$type": "spacing"
167
- },
168
- "40": {
169
- "$value": "40px",
170
- "$type": "spacing"
171
- },
172
- "48": {
173
- "$value": "48px",
174
- "$type": "spacing"
175
- },
176
- "50": {
177
- "$value": "50px",
178
- "$type": "spacing"
179
- },
180
- "60": {
181
- "$value": "60px",
182
- "$type": "spacing"
183
- }
184
- },
185
- "Fontsize": {
186
- "Sm": {
187
- "$value": "14px",
188
- "$type": "fontSizes"
189
- },
190
- "Md": {
191
- "$value": "16px",
192
- "$type": "fontSizes"
193
- },
194
- "Lg": {
195
- "$value": "18px",
196
- "$type": "fontSizes"
197
- },
198
- "Xl": {
199
- "$value": "20px",
200
- "$type": "fontSizes"
201
- },
202
- "2xl": {
203
- "$value": "22px",
204
- "$type": "fontSizes"
205
- },
206
- "3xl": {
207
- "$value": "24px",
208
- "$type": "fontSizes"
209
- },
210
- "4xl": {
211
- "$value": "25px",
212
- "$type": "fontSizes"
213
- },
214
- "5xl": {
215
- "$value": "26px",
216
- "$type": "fontSizes"
217
- },
218
- "6xl": {
219
- "$value": "28px",
220
- "$type": "fontSizes"
221
- },
222
- "7xl": {
223
- "$value": "30px",
224
- "$type": "fontSizes"
225
- },
226
- "8xl": {
227
- "$value": "32px",
228
- "$type": "fontSizes"
229
- },
230
- "9xl": {
231
- "$value": "36px",
232
- "$type": "fontSizes"
233
- }
234
- },
235
- "Lineheight": {
236
- "2xs": {
237
- "$value": "120%",
238
- "$type": "lineHeights"
239
- },
240
- "Xs": {
241
- "$value": "130%",
242
- "$type": "lineHeights"
243
- },
244
- "Sm": {
245
- "$value": "133.3%",
246
- "$type": "lineHeights"
247
- },
248
- "Md": {
249
- "$value": "140%",
250
- "$type": "lineHeights"
251
- },
252
- "Lg": {
253
- "$value": "145%",
254
- "$type": "lineHeights"
255
- },
256
- "Xl": {
257
- "$value": "150%",
258
- "$type": "lineHeights"
259
- }
260
- },
261
- "Borderradius": {
262
- "Sm": {
263
- "$value": "2px",
264
- "$type": "borderRadius"
265
- },
266
- "Md": {
267
- "$value": "4px",
268
- "$type": "borderRadius"
269
- },
270
- "Lg": {
271
- "$value": "20px",
272
- "$type": "borderRadius"
273
- },
274
- "Circle": {
275
- "$value": "9999px",
276
- "$type": "borderRadius"
277
- }
278
- },
279
- "Borderwidth": {
280
- "Md": {
281
- "$value": "1px",
282
- "$type": "borderWidth"
283
- },
284
- "Lg": {
285
- "$value": "2px",
286
- "$type": "borderWidth"
287
- }
288
- },
289
- "Fontweight": {
290
- "Regular": {
291
- "$value": "400",
292
- "$type": "fontWeights"
293
- },
294
- "Medium": {
295
- "$value": "500",
296
- "$type": "fontWeights"
297
- }
298
- },
299
- "Letterspacing": {
300
- "Tight": {
301
- "$value": "-0.5px",
302
- "$type": "letterSpacing"
303
- },
304
- "Normal": {
305
- "$value": "0px",
306
- "$type": "letterSpacing"
307
- },
308
- "Wide": {
309
- "$value": "0.5px",
310
- "$type": "letterSpacing"
311
- },
312
- "Wider": {
313
- "$value": "1px",
314
- "$type": "letterSpacing"
315
- }
316
- }
317
- },
318
- "Semantic": {
319
- "Color": {
320
- "Fn": {
321
- "Default": {
322
- "$value": "#005a8c",
323
- "$type": "color"
324
- },
325
- "Active": {
326
- "$value": "#00446e",
327
- "$type": "color"
328
- },
329
- "Inactive": {
330
- "$value": "#a1adb5",
331
- "$type": "color"
332
- },
333
- "Border": {
334
- "$value": "#2d3134",
335
- "$type": "color"
336
- },
337
- "Label": {
338
- "$value": "#2d3134",
339
- "$type": "color"
340
- }
341
- },
342
- "Text": {
343
- "Default": {
344
- "$value": "#2d3134",
345
- "$type": "color"
346
- },
347
- "On-dark-bg": {
348
- "$value": "#fff",
349
- "$type": "color"
350
- },
351
- "Headline-on-dark-bg": {
352
- "$value": "#b7f9aa",
353
- "$type": "color"
354
- },
355
- "On-disabled": {
356
- "$value": "#fff",
357
- "$type": "color"
358
- }
359
- },
360
- "Background": {
361
- "Default": {
362
- "$value": "#fff",
363
- "$type": "color"
364
- },
365
- "Subtle": {
366
- "$value": "#f6f7f8",
367
- "$type": "color"
368
- },
369
- "Disabled": {
370
- "$value": "#a1adb5",
371
- "$type": "color"
372
- },
373
- "Light-blue": {
374
- "$value": "#e9f5fb",
375
- "$type": "color"
376
- },
377
- "Light-green": {
378
- "$value": "#ecfded",
379
- "$type": "color"
380
- },
381
- "Medium-green": {
382
- "$value": "#b7f9aa",
383
- "$type": "color"
384
- },
385
- "Dark-blue": {
386
- "$value": "#00375b",
387
- "$type": "color"
388
- },
389
- "Dark-green": {
390
- "$value": "#398357",
391
- "$type": "color"
392
- }
393
- },
394
- "Opaque": {
395
- "White-90": {
396
- "$value": "#ffffffe6",
397
- "$type": "color"
398
- },
399
- "White-95": {
400
- "$value": "#fffffff2",
401
- "$type": "color"
402
- },
403
- "Gray-500-10": {
404
- "$value": "#41484c1a",
405
- "$type": "color"
406
- },
407
- "Gray-500-30": {
408
- "$value": "#41484c4d",
409
- "$type": "color"
410
- },
411
- "Gray-500-90": {
412
- "$value": "#41484ce6",
413
- "$type": "color"
414
- }
415
- },
416
- "State": {
417
- "Danger": {
418
- "$value": "#c80538",
419
- "$type": "color"
420
- },
421
- "Success": {
422
- "$value": "#398357",
423
- "$type": "color"
424
- },
425
- "Warning": {
426
- "$value": "#a455c5",
427
- "$type": "color"
428
- }
429
- },
430
- "Status": {
431
- "Red": {
432
- "$value": "#c80538",
433
- "$type": "color"
434
- },
435
- "Yellow": {
436
- "$value": "#eac80b",
437
- "$type": "color"
438
- },
439
- "Green": {
440
- "$value": "#398357",
441
- "$type": "color"
442
- }
443
- },
444
- "Line": {
445
- "6": {
446
- "$value": "#00446e",
447
- "$type": "color"
448
- },
449
- "7": {
450
- "$value": "#2d3134",
451
- "$type": "color"
452
- },
453
- "8": {
454
- "$value": "#a1adb5",
455
- "$type": "color"
456
- },
457
- "9": {
458
- "$value": "#005a8c",
459
- "$type": "color"
460
- },
461
- "10": {
462
- "$value": "#2d3134",
463
- "$type": "color"
464
- },
465
- "11": {
466
- "$value": "#b7f9aa",
467
- "$type": "color"
468
- },
469
- "12": {
470
- "$value": "#a1adb5",
471
- "$type": "color"
472
- }
473
- },
474
- "Product": {
475
- "Container": {
476
- "$value": "#f6f7f8",
477
- "$type": "color"
478
- },
479
- "Benefit": {
480
- "$value": "#007abc",
481
- "$type": "color"
482
- },
483
- "Credit": {
484
- "$value": "#398357",
485
- "$type": "color"
486
- },
487
- "Cooperation": {
488
- "$value": "#643179",
489
- "$type": "color"
490
- },
491
- "Credit-benefit": {
492
- "$value": "#41484c",
493
- "$type": "color"
494
- }
495
- },
496
- "Icon": {
497
- "Default": {
498
- "$value": "#005a8c",
499
- "$type": "color"
500
- },
501
- "Secondary": {
502
- "$value": "#54b3e2",
503
- "$type": "color"
504
- },
505
- "Disabled": {
506
- "$value": "#398357",
507
- "$type": "color"
508
- },
509
- "Disabled-secondary": {
510
- "$value": "#94eb90",
511
- "$type": "color"
512
- }
513
- }
514
- },
515
- "Fontfamily": {
516
- "Default": {
517
- "$value": "\"KfW Centro Sans\", Arial, \"Helvetica Neue\", Helvetica, sans-serif",
518
- "$type": "fontFamilies"
519
- },
520
- "Code": {
521
- "$value": "ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace",
522
- "$type": "fontFamilies"
523
- }
524
- },
525
- "Space": {
526
- "Tiny": {
527
- "$value": "5px",
528
- "$type": "spacing"
529
- },
530
- "Xsmall": {
531
- "$value": "10px",
532
- "$type": "spacing"
533
- },
534
- "Midsmall": {
535
- "$value": "15px",
536
- "$type": "spacing"
537
- },
538
- "Small": {
539
- "$value": "20px",
540
- "$type": "spacing"
541
- },
542
- "Medium": {
543
- "$value": "30px",
544
- "$type": "spacing"
545
- },
546
- "Large": {
547
- "Mobile": {
548
- "$value": "35px",
549
- "$type": "spacing"
550
- },
551
- "Desktop": {
552
- "$value": "40px",
553
- "$type": "spacing"
554
- }
555
- },
556
- "Xlarge": {
557
- "Mobile": {
558
- "$value": "40px",
559
- "$type": "spacing"
560
- },
561
- "Desktop": {
562
- "$value": "48px",
563
- "$type": "spacing"
564
- }
565
- },
566
- "Big": {
567
- "Mobile": {
568
- "$value": "50px",
569
- "$type": "spacing"
570
- },
571
- "Desktop": {
572
- "$value": "60px",
573
- "$type": "spacing"
574
- }
575
- }
576
- },
577
- "Fontsize": {
578
- "Default": {
579
- "$value": "16px",
580
- "$type": "fontSizes"
581
- },
582
- "Introduction": {
583
- "$value": "20px",
584
- "$type": "fontSizes"
585
- },
586
- "Large": {
587
- "$value": "18px",
588
- "$type": "fontSizes"
589
- },
590
- "Small": {
591
- "$value": "14px",
592
- "$type": "fontSizes"
593
- },
594
- "Heading-1": {
595
- "Mobile": {
596
- "$value": "30px",
597
- "$type": "fontSizes"
598
- },
599
- "Desktop": {
600
- "$value": "36px",
601
- "$type": "fontSizes"
602
- }
603
- },
604
- "Heading-2": {
605
- "Mobile": {
606
- "$value": "28px",
607
- "$type": "fontSizes"
608
- },
609
- "Desktop": {
610
- "$value": "32px",
611
- "$type": "fontSizes"
612
- }
613
- },
614
- "Heading-3": {
615
- "Mobile": {
616
- "$value": "24px",
617
- "$type": "fontSizes"
618
- },
619
- "Desktop": {
620
- "$value": "26px",
621
- "$type": "fontSizes"
622
- }
623
- },
624
- "Heading-4": {
625
- "Mobile": {
626
- "$value": "20px",
627
- "$type": "fontSizes"
628
- },
629
- "Desktop": {
630
- "$value": "22px",
631
- "$type": "fontSizes"
632
- }
633
- },
634
- "Heading-5": {
635
- "$value": "18px",
636
- "$type": "fontSizes"
637
- },
638
- "Heading-6": {
639
- "$value": "16px",
640
- "$type": "fontSizes"
641
- }
642
- },
643
- "Lineheight": {
644
- "Default": {
645
- "$value": "140%",
646
- "$type": "lineHeights"
647
- },
648
- "Large": {
649
- "$value": "145%",
650
- "$type": "lineHeights"
651
- },
652
- "Lightspeech": {
653
- "$value": "150%",
654
- "$type": "lineHeights"
655
- },
656
- "Heading": {
657
- "$value": "130%",
658
- "$type": "lineHeights"
659
- },
660
- "Heading-5": {
661
- "$value": "133.3%",
662
- "$type": "lineHeights"
663
- },
664
- "Small": {
665
- "$value": "120%",
666
- "$type": "lineHeights"
667
- }
668
- },
669
- "Borderradius": {
670
- "Default": {
671
- "$value": "4px",
672
- "$type": "borderRadius"
673
- },
674
- "Small": {
675
- "$value": "2px",
676
- "$type": "borderRadius"
677
- },
678
- "Large": {
679
- "$value": "20px",
680
- "$type": "borderRadius"
681
- },
682
- "Circle": {
683
- "$value": "9999px",
684
- "$type": "borderRadius"
685
- }
686
- },
687
- "Borderwidth": {
688
- "Default": {
689
- "$value": "1px",
690
- "$type": "borderWidth"
691
- },
692
- "Large": {
693
- "$value": "2px",
694
- "$type": "borderWidth"
695
- }
696
- },
697
- "Fontweight": {
698
- "Default": {
699
- "$value": "400",
700
- "$type": "fontWeights"
701
- },
702
- "Bold": {
703
- "$value": "500",
704
- "$type": "fontWeights"
705
- }
706
- },
707
- "Gridgap": {
708
- "Basic": {
709
- "Mobile": {
710
- "$value": "12px",
711
- "$type": "spacing"
712
- },
713
- "Desktop": {
714
- "$value": "36px",
715
- "$type": "spacing"
716
- }
717
- },
718
- "Large": {
719
- "Mobile": {
720
- "$value": "20px",
721
- "$type": "spacing"
722
- },
723
- "Desktop": {
724
- "$value": "40px",
725
- "$type": "spacing"
726
- }
727
- }
728
- }
729
- },
730
- "$metadata": {
731
- "tokenSetOrder": [
732
- "Base",
733
- "Semantic"
734
- ]
735
- }
736
- }