@openkfw/design-tokens 0.1.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,890 @@
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": "#ffffff",
59
+ "$type": "color"
60
+ }
61
+ },
62
+ "Black": {
63
+ "$value": "#000000",
64
+ "$type": "color"
65
+ },
66
+ "Gray": {
67
+ "50": {
68
+ "$value": "#f6f7f8",
69
+ "$type": "color"
70
+ },
71
+ "100": {
72
+ "$value": "#eef0f2",
73
+ "$type": "color"
74
+ },
75
+ "200": {
76
+ "$value": "#d8dfe3",
77
+ "$type": "color"
78
+ },
79
+ "300": {
80
+ "$value": "#a1adb5",
81
+ "$type": "color"
82
+ },
83
+ "400": {
84
+ "$value": "#6d767d",
85
+ "$type": "color"
86
+ },
87
+ "500": {
88
+ "10": {
89
+ "$value": "#41484c1a",
90
+ "$type": "color"
91
+ },
92
+ "30": {
93
+ "$value": "#41484c4d",
94
+ "$type": "color"
95
+ },
96
+ "90": {
97
+ "$value": "#41484ce6",
98
+ "$type": "color"
99
+ },
100
+ "Default": {
101
+ "$value": "#41484c",
102
+ "$type": "color"
103
+ }
104
+ },
105
+ "600": {
106
+ "$value": "#2d3134",
107
+ "$type": "color"
108
+ }
109
+ },
110
+ "Violet": {
111
+ "400": {
112
+ "$value": "#9598e0",
113
+ "$type": "color"
114
+ },
115
+ "500": {
116
+ "$value": "#686fc8",
117
+ "$type": "color"
118
+ }
119
+ },
120
+ "Red": {
121
+ "400": {
122
+ "$value": "#c80538",
123
+ "$type": "color"
124
+ }
125
+ },
126
+ "Yellow": {
127
+ "500": {
128
+ "$value": "#eac80b",
129
+ "$type": "color"
130
+ }
131
+ }
132
+ },
133
+ "Fontfamily": {
134
+ "Sans": {
135
+ "$value": "'KfW Centro Sans', Arial, Helvetica Neue, Helvetica, sans-serif",
136
+ "$type": "fontFamilies"
137
+ },
138
+ "Mono": {
139
+ "$value": "ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace",
140
+ "$type": "fontFamilies"
141
+ }
142
+ },
143
+ "Space": {
144
+ "Static": {
145
+ "5": {
146
+ "$value": "5px",
147
+ "$type": "spacing"
148
+ },
149
+ "10": {
150
+ "$value": "10px",
151
+ "$type": "spacing"
152
+ },
153
+ "15": {
154
+ "$value": "15px",
155
+ "$type": "spacing"
156
+ },
157
+ "20": {
158
+ "$value": "20px",
159
+ "$type": "spacing"
160
+ },
161
+ "25": {
162
+ "$value": "25px",
163
+ "$type": "spacing"
164
+ },
165
+ "30": {
166
+ "$value": "30px",
167
+ "$type": "spacing"
168
+ },
169
+ "35": {
170
+ "$value": "35px",
171
+ "$type": "spacing"
172
+ },
173
+ "40": {
174
+ "$value": "40px",
175
+ "$type": "spacing"
176
+ },
177
+ "50": {
178
+ "$value": "50px",
179
+ "$type": "spacing"
180
+ },
181
+ "60": {
182
+ "$value": "60px",
183
+ "$type": "spacing"
184
+ }
185
+ }
186
+ },
187
+ "Fontsize": {
188
+ "Static": {
189
+ "Sm": {
190
+ "$value": "14px",
191
+ "$type": "fontSizes"
192
+ },
193
+ "Md": {
194
+ "$value": "16px",
195
+ "$type": "fontSizes"
196
+ },
197
+ "Lg": {
198
+ "$value": "18px",
199
+ "$type": "fontSizes"
200
+ },
201
+ "Xl": {
202
+ "$value": "20px",
203
+ "$type": "fontSizes"
204
+ },
205
+ "2xl": {
206
+ "$value": "22px",
207
+ "$type": "fontSizes"
208
+ },
209
+ "3xl": {
210
+ "$value": "24px",
211
+ "$type": "fontSizes"
212
+ },
213
+ "4xl": {
214
+ "$value": "26px",
215
+ "$type": "fontSizes"
216
+ },
217
+ "5xl": {
218
+ "$value": "28px",
219
+ "$type": "fontSizes"
220
+ },
221
+ "6xl": {
222
+ "$value": "30px",
223
+ "$type": "fontSizes"
224
+ },
225
+ "7xl": {
226
+ "$value": "32px",
227
+ "$type": "fontSizes"
228
+ },
229
+ "8xl": {
230
+ "$value": "36px",
231
+ "$type": "fontSizes"
232
+ }
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": "150%",
254
+ "$type": "lineHeights"
255
+ }
256
+ },
257
+ "Borderradius": {
258
+ "Sm": {
259
+ "$value": "2px",
260
+ "$type": "borderRadius"
261
+ },
262
+ "Md": {
263
+ "$value": "4px",
264
+ "$type": "borderRadius"
265
+ },
266
+ "Lg": {
267
+ "$value": "20px",
268
+ "$type": "borderRadius"
269
+ },
270
+ "Full": {
271
+ "$value": "9999px",
272
+ "$type": "borderRadius"
273
+ }
274
+ },
275
+ "Borderwidth": {
276
+ "None": {
277
+ "$value": "0px",
278
+ "$type": "dimension"
279
+ },
280
+ "Md": {
281
+ "$value": "1px",
282
+ "$type": "dimension"
283
+ },
284
+ "Lg": {
285
+ "$value": "2px",
286
+ "$type": "dimension"
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": "dimension"
303
+ },
304
+ "Normal": {
305
+ "$value": "0px",
306
+ "$type": "dimension"
307
+ },
308
+ "Wide": {
309
+ "$value": "0.5px",
310
+ "$type": "dimension"
311
+ },
312
+ "Wider": {
313
+ "$value": "1px",
314
+ "$type": "dimension"
315
+ }
316
+ },
317
+ "Layout": {
318
+ "Breakpoint": {
319
+ "Xs": {
320
+ "$value": "320px",
321
+ "$type": "dimension"
322
+ },
323
+ "Sm": {
324
+ "$value": "600px",
325
+ "$type": "dimension"
326
+ },
327
+ "Md": {
328
+ "$value": "840px",
329
+ "$type": "dimension"
330
+ },
331
+ "Lg": {
332
+ "$value": "960px",
333
+ "$type": "dimension"
334
+ },
335
+ "Xl": {
336
+ "$value": "1280px",
337
+ "$type": "dimension"
338
+ }
339
+ },
340
+ "Container": {
341
+ "Sm": {
342
+ "$value": "896px",
343
+ "$type": "dimension"
344
+ },
345
+ "Md": {
346
+ "$value": "1080px",
347
+ "$type": "dimension"
348
+ },
349
+ "Lg": {
350
+ "$value": "1280px",
351
+ "$type": "dimension"
352
+ }
353
+ },
354
+ "Safezone": {
355
+ "Static": {
356
+ "Md": {
357
+ "$value": "20px",
358
+ "$type": "dimension"
359
+ },
360
+ "Lg": {
361
+ "$value": "40px",
362
+ "$type": "dimension"
363
+ }
364
+ }
365
+ },
366
+ "Gridcolumn": {
367
+ "1": {
368
+ "$value": 1,
369
+ "$type": "number"
370
+ },
371
+ "2": {
372
+ "$value": 2,
373
+ "$type": "number"
374
+ },
375
+ "3": {
376
+ "$value": 3,
377
+ "$type": "number"
378
+ },
379
+ "4": {
380
+ "$value": 4,
381
+ "$type": "number"
382
+ },
383
+ "6": {
384
+ "$value": 6,
385
+ "$type": "number"
386
+ },
387
+ "8": {
388
+ "$value": 8,
389
+ "$type": "number"
390
+ },
391
+ "12": {
392
+ "$value": 12,
393
+ "$type": "number"
394
+ }
395
+ },
396
+ "Gridgap": {
397
+ "Static": {
398
+ "Xs": {
399
+ "$value": "12px",
400
+ "$type": "dimension"
401
+ },
402
+ "Sm": {
403
+ "$value": "18px",
404
+ "$type": "dimension"
405
+ },
406
+ "Md": {
407
+ "$value": "22px",
408
+ "$type": "dimension"
409
+ },
410
+ "Lg": {
411
+ "$value": "26px",
412
+ "$type": "dimension"
413
+ },
414
+ "Xl": {
415
+ "$value": "36px",
416
+ "$type": "dimension"
417
+ }
418
+ }
419
+ }
420
+ }
421
+ },
422
+ "Semantic": {
423
+ "Color": {
424
+ "Fn": {
425
+ "Default": {
426
+ "$value": "#005a8c",
427
+ "$type": "color"
428
+ },
429
+ "Active": {
430
+ "$value": "#00446e",
431
+ "$type": "color"
432
+ },
433
+ "Inactive": {
434
+ "$value": "#a1adb5",
435
+ "$type": "color"
436
+ },
437
+ "Border": {
438
+ "$value": "#2d3134",
439
+ "$type": "color"
440
+ },
441
+ "Label": {
442
+ "$value": "#2d3134",
443
+ "$type": "color"
444
+ }
445
+ },
446
+ "Text": {
447
+ "Default": {
448
+ "$value": "#2d3134",
449
+ "$type": "color"
450
+ },
451
+ "On-dark-bg": {
452
+ "$value": "#ffffff",
453
+ "$type": "color"
454
+ },
455
+ "On-disabled": {
456
+ "$value": "#ffffff",
457
+ "$type": "color"
458
+ },
459
+ "Headline-on-dark-bg": {
460
+ "$value": "#b7f9aa",
461
+ "$type": "color"
462
+ }
463
+ },
464
+ "Background": {
465
+ "Default": {
466
+ "$value": "#ffffff",
467
+ "$type": "color"
468
+ },
469
+ "Subtle": {
470
+ "$value": "#f6f7f8",
471
+ "$type": "color"
472
+ },
473
+ "Disabled": {
474
+ "$value": "#a1adb5",
475
+ "$type": "color"
476
+ },
477
+ "Light-blue": {
478
+ "$value": "#e9f5fb",
479
+ "$type": "color"
480
+ },
481
+ "Light-green": {
482
+ "$value": "#ecfded",
483
+ "$type": "color"
484
+ },
485
+ "Dark-blue": {
486
+ "$value": "#00375b",
487
+ "$type": "color"
488
+ },
489
+ "Dark-green": {
490
+ "$value": "#398357",
491
+ "$type": "color"
492
+ }
493
+ },
494
+ "Accent": {
495
+ "$value": "#b7f9aa",
496
+ "$type": "color"
497
+ },
498
+ "Opaque": {
499
+ "White-90": {
500
+ "$value": "#ffffffe6",
501
+ "$type": "color"
502
+ },
503
+ "White-95": {
504
+ "$value": "#fffffff2",
505
+ "$type": "color"
506
+ },
507
+ "Gray-500-10": {
508
+ "$value": "#41484c1a",
509
+ "$type": "color"
510
+ },
511
+ "Gray-500-30": {
512
+ "$value": "#41484c4d",
513
+ "$type": "color"
514
+ },
515
+ "Gray-500-90": {
516
+ "$value": "#41484ce6",
517
+ "$type": "color"
518
+ }
519
+ },
520
+ "State": {
521
+ "Danger": {
522
+ "$value": "#c80538",
523
+ "$type": "color"
524
+ },
525
+ "Success": {
526
+ "$value": "#398357",
527
+ "$type": "color"
528
+ },
529
+ "Warning": {
530
+ "$value": "#9598e0",
531
+ "$type": "color"
532
+ }
533
+ },
534
+ "Status": {
535
+ "Red": {
536
+ "$value": "#c80538",
537
+ "$type": "color"
538
+ },
539
+ "Yellow": {
540
+ "$value": "#eac80b",
541
+ "$type": "color"
542
+ },
543
+ "Green": {
544
+ "$value": "#398357",
545
+ "$type": "color"
546
+ }
547
+ },
548
+ "Line": {
549
+ "6": {
550
+ "$value": "#00446e",
551
+ "$type": "color"
552
+ },
553
+ "7": {
554
+ "$value": "#2d3134",
555
+ "$type": "color"
556
+ },
557
+ "8": {
558
+ "$value": "#a1adb5",
559
+ "$type": "color"
560
+ },
561
+ "9": {
562
+ "$value": "#005a8c",
563
+ "$type": "color"
564
+ },
565
+ "10": {
566
+ "$value": "#2d3134",
567
+ "$type": "color"
568
+ },
569
+ "11": {
570
+ "$value": "#b7f9aa",
571
+ "$type": "color"
572
+ },
573
+ "12": {
574
+ "$value": "#a1adb5",
575
+ "$type": "color"
576
+ }
577
+ },
578
+ "Product": {
579
+ "Container": {
580
+ "$value": "#f6f7f8",
581
+ "$type": "color"
582
+ },
583
+ "Benefit": {
584
+ "$value": "#007abc",
585
+ "$type": "color"
586
+ },
587
+ "Credit": {
588
+ "$value": "#398357",
589
+ "$type": "color"
590
+ },
591
+ "Cooperation": {
592
+ "$value": "#686fc8",
593
+ "$type": "color"
594
+ },
595
+ "Credit-benefit": {
596
+ "$value": "#41484c",
597
+ "$type": "color"
598
+ }
599
+ },
600
+ "Icon": {
601
+ "Default": {
602
+ "$value": "#005a8c",
603
+ "$type": "color"
604
+ },
605
+ "Secondary": {
606
+ "$value": "#54b3e2",
607
+ "$type": "color"
608
+ },
609
+ "Disabled": {
610
+ "$value": "#398357",
611
+ "$type": "color"
612
+ },
613
+ "Disabled-secondary": {
614
+ "$value": "#94eb90",
615
+ "$type": "color"
616
+ }
617
+ }
618
+ },
619
+ "Fontfamily": {
620
+ "Default": {
621
+ "$value": "'KfW Centro Sans', Arial, Helvetica Neue, Helvetica, sans-serif",
622
+ "$type": "fontFamilies"
623
+ },
624
+ "Code": {
625
+ "$value": "ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace",
626
+ "$type": "fontFamilies"
627
+ }
628
+ },
629
+ "Space": {
630
+ "Xsmall": {
631
+ "$value": "10px",
632
+ "$type": "spacing"
633
+ },
634
+ "Small": {
635
+ "$value": "20px",
636
+ "$type": "spacing"
637
+ },
638
+ "Medium": {
639
+ "$value": "30px",
640
+ "$type": "spacing"
641
+ },
642
+ "Large": {
643
+ "Min": {
644
+ "$value": "35px",
645
+ "$type": "spacing"
646
+ },
647
+ "Max": {
648
+ "$value": "40px",
649
+ "$type": "spacing"
650
+ },
651
+ "Val": {
652
+ "$value": "33.333px",
653
+ "$type": "spacing"
654
+ }
655
+ },
656
+ "Big": {
657
+ "Min": {
658
+ "$value": "50px",
659
+ "$type": "spacing"
660
+ },
661
+ "Max": {
662
+ "$value": "60px",
663
+ "$type": "spacing"
664
+ },
665
+ "Val": {
666
+ "$value": "46.666px",
667
+ "$type": "spacing"
668
+ }
669
+ }
670
+ },
671
+ "Fontspace": {
672
+ "Default": {
673
+ "$value": "20px",
674
+ "$type": "dimension"
675
+ },
676
+ "Introduction": {
677
+ "$value": "20px",
678
+ "$type": "dimension"
679
+ },
680
+ "Small": {
681
+ "$value": "5px",
682
+ "$type": "dimension"
683
+ },
684
+ "Large": {
685
+ "$value": "15px",
686
+ "$type": "dimension"
687
+ },
688
+ "Heading-1": {
689
+ "$value": "20px",
690
+ "$type": "dimension"
691
+ },
692
+ "Heading-2": {
693
+ "$value": "20px",
694
+ "$type": "dimension"
695
+ },
696
+ "Heading-3": {
697
+ "$value": "10px",
698
+ "$type": "dimension"
699
+ },
700
+ "Heading-4": {
701
+ "$value": "10px",
702
+ "$type": "dimension"
703
+ },
704
+ "Heading-5": {
705
+ "$value": "10px",
706
+ "$type": "dimension"
707
+ },
708
+ "Heading-6": {
709
+ "$value": "20px",
710
+ "$type": "dimension"
711
+ }
712
+ },
713
+ "Fontsize": {
714
+ "Default": {
715
+ "$value": "16px",
716
+ "$type": "fontSizes"
717
+ },
718
+ "Introduction": {
719
+ "$value": "20px",
720
+ "$type": "fontSizes"
721
+ },
722
+ "Small": {
723
+ "$value": "14px",
724
+ "$type": "fontSizes"
725
+ },
726
+ "Large": {
727
+ "$value": "18px",
728
+ "$type": "fontSizes"
729
+ },
730
+ "Heading-1": {
731
+ "Min": {
732
+ "$value": "30px",
733
+ "$type": "fontSizes"
734
+ },
735
+ "Max": {
736
+ "$value": "36px",
737
+ "$type": "fontSizes"
738
+ },
739
+ "Val": {
740
+ "$value": "28px",
741
+ "$type": "fontSizes"
742
+ }
743
+ },
744
+ "Heading-2": {
745
+ "Min": {
746
+ "$value": "28px",
747
+ "$type": "fontSizes"
748
+ },
749
+ "Max": {
750
+ "$value": "32px",
751
+ "$type": "fontSizes"
752
+ },
753
+ "Val": {
754
+ "$value": "26.666px",
755
+ "$type": "fontSizes"
756
+ }
757
+ },
758
+ "Heading-3": {
759
+ "Min": {
760
+ "$value": "24px",
761
+ "$type": "fontSizes"
762
+ },
763
+ "Max": {
764
+ "$value": "26px",
765
+ "$type": "fontSizes"
766
+ },
767
+ "Val": {
768
+ "$value": "23.333px",
769
+ "$type": "fontSizes"
770
+ }
771
+ },
772
+ "Heading-4": {
773
+ "Min": {
774
+ "$value": "20px",
775
+ "$type": "fontSizes"
776
+ },
777
+ "Max": {
778
+ "$value": "22px",
779
+ "$type": "fontSizes"
780
+ },
781
+ "Val": {
782
+ "$value": "19.333px",
783
+ "$type": "fontSizes"
784
+ }
785
+ },
786
+ "Heading-5": {
787
+ "$value": "18px",
788
+ "$type": "fontSizes"
789
+ },
790
+ "Heading-6": {
791
+ "$value": "16px",
792
+ "$type": "fontSizes"
793
+ }
794
+ },
795
+ "Lineheight": {
796
+ "Default": {
797
+ "$value": "140%",
798
+ "$type": "lineHeights"
799
+ },
800
+ "List": {
801
+ "$value": "150%",
802
+ "$type": "lineHeights"
803
+ },
804
+ "Heading": {
805
+ "$value": "130%",
806
+ "$type": "lineHeights"
807
+ },
808
+ "Heading-5": {
809
+ "$value": "133.3%",
810
+ "$type": "lineHeights"
811
+ }
812
+ },
813
+ "Borderradius": {
814
+ "$value": "4px",
815
+ "$type": "borderRadius"
816
+ },
817
+ "Focusring": {
818
+ "Outline": {
819
+ "$value": {
820
+ "color": "#00446e",
821
+ "width": "2px",
822
+ "style": "dashed"
823
+ },
824
+ "$type": "border"
825
+ },
826
+ "Outline-offset": {
827
+ "$value": "2px",
828
+ "$type": "dimension"
829
+ }
830
+ },
831
+ "Fontweight": {
832
+ "Default": {
833
+ "$value": 400,
834
+ "$type": "fontWeights"
835
+ },
836
+ "Heading": {
837
+ "$value": 500,
838
+ "$type": "fontWeights"
839
+ }
840
+ },
841
+ "Breakpoint": {
842
+ "Mobile": {
843
+ "$value": "600px",
844
+ "$type": "dimension"
845
+ },
846
+ "Tablet": {
847
+ "$value": "840px",
848
+ "$type": "dimension"
849
+ },
850
+ "Desktop": {
851
+ "$value": "960px",
852
+ "$type": "dimension"
853
+ }
854
+ },
855
+ "Contentwrapper": {
856
+ "Narrow": {
857
+ "$value": "896px",
858
+ "$type": "dimension"
859
+ },
860
+ "Basic": {
861
+ "$value": "1080px",
862
+ "$type": "dimension"
863
+ },
864
+ "Extended": {
865
+ "$value": "1280px",
866
+ "$type": "dimension"
867
+ }
868
+ },
869
+ "Safezone": {
870
+ "Min": {
871
+ "$value": "20px",
872
+ "$type": "dimension"
873
+ },
874
+ "Max": {
875
+ "$value": "40px",
876
+ "$type": "dimension"
877
+ },
878
+ "Val": {
879
+ "$value": "-13.333px",
880
+ "$type": "dimension"
881
+ }
882
+ }
883
+ },
884
+ "$metadata": {
885
+ "tokenSetOrder": [
886
+ "Base",
887
+ "Semantic"
888
+ ]
889
+ }
890
+ }