@daikin-oss/dds-tokens 0.1.0 → 0.2.1

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.
Files changed (73) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/README.md +79 -18
  3. package/build/css/aaf/Dark/buttons.css +22 -0
  4. package/build/css/aaf/Dark/variables.css +214 -0
  5. package/build/css/aaf/Light/buttons.css +22 -0
  6. package/build/css/aaf/Light/variables.css +214 -0
  7. package/build/css/daikin/Dark/buttons.css +22 -0
  8. package/build/css/daikin/Dark/variables.css +275 -0
  9. package/build/css/daikin/Light/buttons.css +22 -0
  10. package/build/css/daikin/Light/variables.css +275 -0
  11. package/build/js/aaf/Dark/variables.cjs +214 -0
  12. package/build/js/aaf/Dark/variables.d.cts +232 -0
  13. package/build/js/aaf/Dark/variables.d.ts +232 -0
  14. package/build/js/aaf/Dark/variables.js +212 -0
  15. package/build/js/aaf/Light/variables.cjs +214 -0
  16. package/build/js/aaf/Light/variables.d.cts +232 -0
  17. package/build/js/aaf/Light/variables.d.ts +232 -0
  18. package/build/js/aaf/Light/variables.js +212 -0
  19. package/build/js/daikin/Dark/variables.cjs +275 -0
  20. package/build/js/daikin/Dark/variables.d.cts +294 -0
  21. package/build/js/daikin/Dark/variables.d.ts +294 -0
  22. package/build/js/daikin/Dark/variables.js +273 -0
  23. package/build/js/daikin/Light/variables.cjs +275 -0
  24. package/build/js/daikin/Light/variables.d.cts +294 -0
  25. package/build/js/daikin/Light/variables.d.ts +294 -0
  26. package/build/js/daikin/Light/variables.js +273 -0
  27. package/build/json/aaf/Dark/tokens.json +834 -0
  28. package/build/json/aaf/Light/tokens.json +834 -0
  29. package/build/json/daikin/Dark/tokens.json +1078 -0
  30. package/build/json/daikin/Light/tokens.json +1078 -0
  31. package/build/scss/_mixins.scss +4 -0
  32. package/build/scss/aaf/Dark/_mixins.scss +214 -0
  33. package/build/scss/aaf/Light/_mixins.scss +214 -0
  34. package/build/scss/daikin/Dark/_mixins.scss +275 -0
  35. package/build/scss/daikin/Light/_mixins.scss +275 -0
  36. package/package.json +64 -41
  37. package/themes/$metadata.json +15 -0
  38. package/themes/$themes.json +54 -0
  39. package/themes/aaf/dark/component.json +113 -0
  40. package/themes/aaf/dark/system.json +49 -0
  41. package/themes/aaf/light/component.json +113 -0
  42. package/themes/aaf/light/system.json +49 -0
  43. package/themes/component.json +184 -0
  44. package/themes/dkn/dark/component.json +283 -0
  45. package/themes/dkn/dark/system.json +237 -0
  46. package/themes/dkn/light/component.json +283 -0
  47. package/themes/dkn/light/system.json +237 -0
  48. package/themes/reference.json +731 -0
  49. package/themes/system.json +31 -0
  50. package/build/css/AAF/Dark/buttons.css +0 -29
  51. package/build/css/AAF/Dark/variables.css +0 -288
  52. package/build/css/AAF/Light/buttons.css +0 -29
  53. package/build/css/AAF/Light/variables.css +0 -288
  54. package/build/css/DKN/Dark/buttons.css +0 -29
  55. package/build/css/DKN/Dark/variables.css +0 -298
  56. package/build/css/DKN/Light/buttons.css +0 -29
  57. package/build/css/DKN/Light/variables.css +0 -298
  58. package/build/js/cjs/AAF/Dark/variables.d.ts +0 -317
  59. package/build/js/cjs/AAF/Dark/variables.js +0 -288
  60. package/build/js/cjs/AAF/Light/variables.d.ts +0 -317
  61. package/build/js/cjs/AAF/Light/variables.js +0 -288
  62. package/build/js/cjs/DKN/Dark/variables.d.ts +0 -328
  63. package/build/js/cjs/DKN/Dark/variables.js +0 -298
  64. package/build/js/cjs/DKN/Light/variables.d.ts +0 -328
  65. package/build/js/cjs/DKN/Light/variables.js +0 -298
  66. package/build/js/es/AAF/Dark/variables.d.ts +0 -317
  67. package/build/js/es/AAF/Dark/variables.js +0 -286
  68. package/build/js/es/AAF/Light/variables.d.ts +0 -317
  69. package/build/js/es/AAF/Light/variables.js +0 -286
  70. package/build/js/es/DKN/Dark/variables.d.ts +0 -328
  71. package/build/js/es/DKN/Dark/variables.js +0 -296
  72. package/build/js/es/DKN/Light/variables.d.ts +0 -328
  73. package/build/js/es/DKN/Light/variables.js +0 -296
@@ -0,0 +1,731 @@
1
+ {
2
+ "color": {
3
+ "blue": {
4
+ "10": {
5
+ "value": "#DDF3FC",
6
+ "type": "color"
7
+ },
8
+ "20": {
9
+ "value": "#BBE7F9",
10
+ "type": "color"
11
+ },
12
+ "30": {
13
+ "value": "#98DBF7",
14
+ "type": "color"
15
+ },
16
+ "40": {
17
+ "value": "#76CFF4",
18
+ "type": "color"
19
+ },
20
+ "50": {
21
+ "value": "#54C3F1",
22
+ "type": "color"
23
+ },
24
+ "60": {
25
+ "value": "#30ADE9",
26
+ "type": "color"
27
+ },
28
+ "70": {
29
+ "value": "#0097E0",
30
+ "type": "color"
31
+ },
32
+ "80": {
33
+ "value": "#0081C0",
34
+ "type": "color"
35
+ },
36
+ "90": {
37
+ "value": "#00689A",
38
+ "type": "color"
39
+ },
40
+ "100": {
41
+ "value": "#005077",
42
+ "type": "color"
43
+ },
44
+ "110": {
45
+ "value": "#004160",
46
+ "type": "color"
47
+ },
48
+ "120": {
49
+ "value": "#002B40",
50
+ "type": "color"
51
+ }
52
+ },
53
+ "green": {
54
+ "10": {
55
+ "value": "#CCFEF8",
56
+ "type": "color"
57
+ },
58
+ "20": {
59
+ "value": "#9BFAEF",
60
+ "type": "color"
61
+ },
62
+ "30": {
63
+ "value": "#6CF5E4",
64
+ "type": "color"
65
+ },
66
+ "40": {
67
+ "value": "#3BF1DC",
68
+ "type": "color"
69
+ },
70
+ "50": {
71
+ "value": "#13E5CC",
72
+ "type": "color"
73
+ },
74
+ "60": {
75
+ "value": "#00C3AC",
76
+ "type": "color"
77
+ },
78
+ "70": {
79
+ "value": "#008F7E",
80
+ "type": "color"
81
+ },
82
+ "80": {
83
+ "value": "#007B6C",
84
+ "type": "color"
85
+ },
86
+ "90": {
87
+ "value": "#00665A",
88
+ "type": "color"
89
+ },
90
+ "100": {
91
+ "value": "#005248",
92
+ "type": "color"
93
+ },
94
+ "110": {
95
+ "value": "#003D36",
96
+ "type": "color"
97
+ },
98
+ "120": {
99
+ "value": "#002924",
100
+ "type": "color"
101
+ }
102
+ },
103
+ "yellow": {
104
+ "10": {
105
+ "value": "#FFF4D7",
106
+ "type": "color"
107
+ },
108
+ "20": {
109
+ "value": "#FFEAAF",
110
+ "type": "color"
111
+ },
112
+ "30": {
113
+ "value": "#FFD45F",
114
+ "type": "color"
115
+ },
116
+ "40": {
117
+ "value": "#FFC936",
118
+ "type": "color"
119
+ },
120
+ "50": {
121
+ "value": "#FFBF0E",
122
+ "type": "color"
123
+ },
124
+ "60": {
125
+ "value": "#EFB000",
126
+ "type": "color"
127
+ },
128
+ "70": {
129
+ "value": "#B88700",
130
+ "type": "color"
131
+ },
132
+ "80": {
133
+ "value": "#9E7400",
134
+ "type": "color"
135
+ },
136
+ "90": {
137
+ "value": "#836000",
138
+ "type": "color"
139
+ },
140
+ "100": {
141
+ "value": "#694D00",
142
+ "type": "color"
143
+ },
144
+ "110": {
145
+ "value": "#4F3A00",
146
+ "type": "color"
147
+ },
148
+ "120": {
149
+ "value": "#352700",
150
+ "type": "color"
151
+ }
152
+ },
153
+ "orange": {
154
+ "10": {
155
+ "value": "#FEEAD9",
156
+ "type": "color"
157
+ },
158
+ "20": {
159
+ "value": "#FCD4B3",
160
+ "type": "color"
161
+ },
162
+ "30": {
163
+ "value": "#FBBF8E",
164
+ "type": "color"
165
+ },
166
+ "40": {
167
+ "value": "#FF9C4B",
168
+ "type": "color"
169
+ },
170
+ "50": {
171
+ "value": "#FD8B2E",
172
+ "type": "color"
173
+ },
174
+ "60": {
175
+ "value": "#FA7A12",
176
+ "type": "color"
177
+ },
178
+ "70": {
179
+ "value": "#E46B08",
180
+ "type": "color"
181
+ },
182
+ "80": {
183
+ "value": "#B45100",
184
+ "type": "color"
185
+ },
186
+ "90": {
187
+ "value": "#964400",
188
+ "type": "color"
189
+ },
190
+ "100": {
191
+ "value": "#783600",
192
+ "type": "color"
193
+ },
194
+ "110": {
195
+ "value": "#5A2900",
196
+ "type": "color"
197
+ },
198
+ "120": {
199
+ "value": "#3C1B00",
200
+ "type": "color"
201
+ }
202
+ },
203
+ "red": {
204
+ "10": {
205
+ "value": "#FDD9DB",
206
+ "type": "color"
207
+ },
208
+ "20": {
209
+ "value": "#FBB3B7",
210
+ "type": "color"
211
+ },
212
+ "30": {
213
+ "value": "#F98D93",
214
+ "type": "color"
215
+ },
216
+ "40": {
217
+ "value": "#F7666F",
218
+ "type": "color"
219
+ },
220
+ "50": {
221
+ "value": "#F4404B",
222
+ "type": "color"
223
+ },
224
+ "60": {
225
+ "value": "#F21A27",
226
+ "type": "color"
227
+ },
228
+ "70": {
229
+ "value": "#D80C18",
230
+ "type": "color"
231
+ },
232
+ "80": {
233
+ "value": "#B90A15",
234
+ "type": "color"
235
+ },
236
+ "90": {
237
+ "value": "#9A0911",
238
+ "type": "color"
239
+ },
240
+ "100": {
241
+ "value": "#7B070E",
242
+ "type": "color"
243
+ },
244
+ "110": {
245
+ "value": "#5D050A",
246
+ "type": "color"
247
+ },
248
+ "120": {
249
+ "value": "#3E0307",
250
+ "type": "color"
251
+ },
252
+ "aaf": {
253
+ "100": {
254
+ "value": "#FCECEA",
255
+ "type": "color"
256
+ },
257
+ "200": {
258
+ "value": "#F5C0B8",
259
+ "type": "color"
260
+ },
261
+ "300": {
262
+ "value": "#F8AEBA",
263
+ "type": "color"
264
+ },
265
+ "400": {
266
+ "value": "#DB4F66",
267
+ "type": "color"
268
+ },
269
+ "500": {
270
+ "value": "#D2324C",
271
+ "type": "color"
272
+ },
273
+ "600": {
274
+ "value": "#C8102E",
275
+ "type": "color"
276
+ }
277
+ }
278
+ },
279
+ "gray": {
280
+ "10": {
281
+ "value": "#F2F2F2",
282
+ "type": "color"
283
+ },
284
+ "20": {
285
+ "value": "#EBEBEB",
286
+ "type": "color"
287
+ },
288
+ "30": {
289
+ "value": "#DCDCDC",
290
+ "type": "color"
291
+ },
292
+ "40": {
293
+ "value": "#CECECE",
294
+ "type": "color"
295
+ },
296
+ "50": {
297
+ "value": "#BFBFBF",
298
+ "type": "color"
299
+ },
300
+ "60": {
301
+ "value": "#A0A0A0",
302
+ "type": "color"
303
+ },
304
+ "70": {
305
+ "value": "#828282",
306
+ "type": "color"
307
+ },
308
+ "80": {
309
+ "value": "#616161",
310
+ "type": "color"
311
+ },
312
+ "90": {
313
+ "value": "#515151",
314
+ "type": "color"
315
+ },
316
+ "100": {
317
+ "value": "#414141",
318
+ "type": "color"
319
+ },
320
+ "110": {
321
+ "value": "#313131",
322
+ "type": "color"
323
+ },
324
+ "120": {
325
+ "value": "#212121",
326
+ "type": "color"
327
+ }
328
+ },
329
+ "black": {
330
+ "value": "#000000",
331
+ "type": "color",
332
+ "shadow": {
333
+ "value": "#0000001A",
334
+ "type": "color"
335
+ }
336
+ },
337
+ "white": {
338
+ "value": "#ffffff",
339
+ "type": "color"
340
+ },
341
+ "black-shadow": {
342
+ "value": "#0000001A",
343
+ "type": "color"
344
+ },
345
+ "white-shadow": {
346
+ "value": "#ffffff1A",
347
+ "type": "color"
348
+ },
349
+ "blue-gray": {
350
+ "10": {
351
+ "value": "#EEF0F2",
352
+ "type": "color"
353
+ },
354
+ "20": {
355
+ "value": "#D8DDE0",
356
+ "type": "color"
357
+ },
358
+ "30": {
359
+ "value": "#BBC1C7",
360
+ "type": "color"
361
+ },
362
+ "40": {
363
+ "value": "#A4ACB4",
364
+ "type": "color"
365
+ },
366
+ "50": {
367
+ "value": "#8D98A1",
368
+ "type": "color"
369
+ },
370
+ "60": {
371
+ "value": "#76838E",
372
+ "type": "color"
373
+ },
374
+ "70": {
375
+ "value": "#636E78",
376
+ "type": "color"
377
+ },
378
+ "80": {
379
+ "value": "#505961",
380
+ "type": "color"
381
+ },
382
+ "90": {
383
+ "value": "#444B52",
384
+ "type": "color"
385
+ },
386
+ "100": {
387
+ "value": "#30353A",
388
+ "type": "color"
389
+ },
390
+ "110": {
391
+ "value": "#282C30",
392
+ "type": "color"
393
+ },
394
+ "120": {
395
+ "value": "#1B1E21",
396
+ "type": "color"
397
+ }
398
+ },
399
+ "dark-gray": {
400
+ "105": {
401
+ "value": "#383838",
402
+ "type": "color"
403
+ },
404
+ "115": {
405
+ "value": "#282828",
406
+ "type": "color"
407
+ },
408
+ "125": {
409
+ "value": "#1A1A1A",
410
+ "type": "color"
411
+ }
412
+ },
413
+ "purple": {
414
+ "10": {
415
+ "value": "#F0DDF3",
416
+ "type": "color"
417
+ },
418
+ "20": {
419
+ "value": "#E1BBE8",
420
+ "type": "color"
421
+ },
422
+ "30": {
423
+ "value": "#D399DC",
424
+ "type": "color"
425
+ },
426
+ "40": {
427
+ "value": "#C477D0",
428
+ "type": "color"
429
+ },
430
+ "50": {
431
+ "value": "#B556C5",
432
+ "type": "color"
433
+ },
434
+ "60": {
435
+ "value": "#A03DB0",
436
+ "type": "color"
437
+ },
438
+ "70": {
439
+ "value": "#81318E",
440
+ "type": "color"
441
+ },
442
+ "80": {
443
+ "value": "#6F2A7A",
444
+ "type": "color"
445
+ },
446
+ "90": {
447
+ "value": "#5C2365",
448
+ "type": "color"
449
+ },
450
+ "100": {
451
+ "value": "#4A1C51",
452
+ "type": "color"
453
+ },
454
+ "110": {
455
+ "value": "#37153D",
456
+ "type": "color"
457
+ },
458
+ "120": {
459
+ "value": "#250E29",
460
+ "type": "color"
461
+ }
462
+ }
463
+ },
464
+ "border-radius": {
465
+ "100": {
466
+ "value": "4",
467
+ "type": "borderRadius"
468
+ },
469
+ "150": {
470
+ "value": "6",
471
+ "type": "borderRadius"
472
+ },
473
+ "200": {
474
+ "value": "8",
475
+ "type": "borderRadius"
476
+ },
477
+ "250": {
478
+ "value": "10",
479
+ "type": "borderRadius"
480
+ },
481
+ "300": {
482
+ "value": "12",
483
+ "type": "borderRadius"
484
+ },
485
+ "400": {
486
+ "value": "16",
487
+ "type": "borderRadius"
488
+ },
489
+ "050": {
490
+ "value": "2",
491
+ "type": "borderRadius"
492
+ }
493
+ },
494
+ "border-width": {
495
+ "100": {
496
+ "value": "4",
497
+ "type": "borderWidth"
498
+ },
499
+ "025": {
500
+ "value": "1",
501
+ "type": "borderWidth"
502
+ },
503
+ "050": {
504
+ "value": "2",
505
+ "type": "borderWidth"
506
+ }
507
+ },
508
+ "space": {
509
+ "100": {
510
+ "value": "4",
511
+ "type": "spacing"
512
+ },
513
+ "200": {
514
+ "value": "8",
515
+ "type": "spacing"
516
+ },
517
+ "300": {
518
+ "value": "12",
519
+ "type": "spacing"
520
+ },
521
+ "400": {
522
+ "value": "16",
523
+ "type": "spacing"
524
+ },
525
+ "800": {
526
+ "value": "32",
527
+ "type": "spacing"
528
+ },
529
+ "050": {
530
+ "value": "2",
531
+ "type": "spacing"
532
+ }
533
+ },
534
+ "shadow": {
535
+ "black": {
536
+ "value": {
537
+ "x": "0",
538
+ "y": "-2",
539
+ "blur": "19",
540
+ "spread": "0",
541
+ "color": "{color.black-shadow}",
542
+ "type": "dropShadow"
543
+ },
544
+ "type": "boxShadow"
545
+ },
546
+ "white": {
547
+ "value": {
548
+ "x": "0",
549
+ "y": "-2",
550
+ "blur": "19",
551
+ "spread": "0",
552
+ "color": "{color.white-shadow}",
553
+ "type": "dropShadow"
554
+ },
555
+ "type": "boxShadow"
556
+ }
557
+ },
558
+ "font-size": {
559
+ "300": {
560
+ "value": "12px",
561
+ "type": "typography"
562
+ },
563
+ "350": {
564
+ "value": "14px",
565
+ "type": "typography"
566
+ },
567
+ "400": {
568
+ "value": "16px",
569
+ "type": "typography"
570
+ }
571
+ },
572
+ "line-height": {
573
+ "tight": {
574
+ "value": "130%",
575
+ "type": "typography"
576
+ },
577
+ "normal": {
578
+ "value": "150%",
579
+ "type": "typography"
580
+ }
581
+ },
582
+ "font-weight": {
583
+ "bold": {
584
+ "value": "Bold",
585
+ "type": "typography"
586
+ },
587
+ "regular": {
588
+ "value": "Regular",
589
+ "type": "typography"
590
+ }
591
+ },
592
+ "font-family": {
593
+ "base": {
594
+ "value": "Roboto",
595
+ "type": "typography",
596
+ "description": "The primary font used in the DDS Design Kit is Roboto"
597
+ }
598
+ },
599
+ "regular": {
600
+ "normal": {
601
+ "300": {
602
+ "value": {
603
+ "fontFamily": "{font-family.base}",
604
+ "fontWeight": "{font-weight.regular}",
605
+ "lineHeight": "{line-height.normal}",
606
+ "fontSize": "{font-size.300}"
607
+ },
608
+ "type": "typography",
609
+ "description": "Body is primarily used for components and for blocks of text."
610
+ },
611
+ "350": {
612
+ "value": {
613
+ "fontFamily": "{font-family.base}",
614
+ "fontWeight": "{font-weight.regular}",
615
+ "lineHeight": "{line-height.normal}",
616
+ "fontSize": "{font-size.350}"
617
+ },
618
+ "type": "typography",
619
+ "description": "Body is primarily used for components and for blocks of text."
620
+ },
621
+ "400": {
622
+ "value": {
623
+ "fontFamily": "{font-family.base}",
624
+ "fontWeight": "{font-weight.regular}",
625
+ "lineHeight": "{line-height.normal}",
626
+ "fontSize": "{font-size.400}"
627
+ },
628
+ "type": "typography",
629
+ "description": "Body is primarily used for components and for blocks of text."
630
+ }
631
+ },
632
+ "tight": {
633
+ "300": {
634
+ "value": {
635
+ "fontFamily": "{font-family.base}",
636
+ "fontWeight": "{font-weight.regular}",
637
+ "lineHeight": "{line-height.tight}",
638
+ "fontSize": "{font-size.300}"
639
+ },
640
+ "type": "typography",
641
+ "description": "Body is primarily used for components and for blocks of text."
642
+ },
643
+ "350": {
644
+ "value": {
645
+ "fontFamily": "{font-family.base}",
646
+ "fontWeight": "{font-weight.regular}",
647
+ "lineHeight": "{line-height.tight}",
648
+ "fontSize": "{font-size.350}"
649
+ },
650
+ "type": "typography",
651
+ "description": "Body is primarily used for components and for blocks of text."
652
+ },
653
+ "400": {
654
+ "value": {
655
+ "fontFamily": "{font-family.base}",
656
+ "fontWeight": "{font-weight.regular}",
657
+ "lineHeight": "{line-height.tight}",
658
+ "fontSize": "{font-size.400}"
659
+ },
660
+ "type": "typography",
661
+ "description": "Body is primarily used for components and for blocks of text."
662
+ }
663
+ },
664
+ "bold": {
665
+ "normal": {
666
+ "300": {
667
+ "value": {
668
+ "fontFamily": "{font-family.base}",
669
+ "fontWeight": "{font-weight.bold}",
670
+ "lineHeight": "{line-height.normal}",
671
+ "fontSize": "{font-size.300}"
672
+ },
673
+ "type": "typography",
674
+ "description": "Header is used to create various levels of typographic hierarchies."
675
+ },
676
+ "350": {
677
+ "value": {
678
+ "fontFamily": "{font-family.base}",
679
+ "fontWeight": "{font-weight.bold}",
680
+ "lineHeight": "{line-height.normal}",
681
+ "fontSize": "{font-size.350}"
682
+ },
683
+ "type": "typography",
684
+ "description": "Header is used to create various levels of typographic hierarchies."
685
+ },
686
+ "400": {
687
+ "value": {
688
+ "fontFamily": "{font-family.base}",
689
+ "fontWeight": "{font-weight.bold}",
690
+ "lineHeight": "{line-height.normal}",
691
+ "fontSize": "{font-size.400}"
692
+ },
693
+ "type": "typography",
694
+ "description": "Header is used to create various levels of typographic hierarchies."
695
+ }
696
+ },
697
+ "tight": {
698
+ "300": {
699
+ "value": {
700
+ "fontFamily": "{font-family.base}",
701
+ "fontWeight": "{font-weight.bold}",
702
+ "lineHeight": "{line-height.tight}",
703
+ "fontSize": "{font-size.300}"
704
+ },
705
+ "type": "typography",
706
+ "description": "Header is used to create various levels of typographic hierarchies."
707
+ },
708
+ "350": {
709
+ "value": {
710
+ "fontFamily": "{font-family.base}",
711
+ "fontWeight": "{font-weight.bold}",
712
+ "lineHeight": "{line-height.tight}",
713
+ "fontSize": "{font-size.350}"
714
+ },
715
+ "type": "typography",
716
+ "description": "Header is used to create various levels of typographic hierarchies."
717
+ },
718
+ "400": {
719
+ "value": {
720
+ "fontFamily": "{font-family.base}",
721
+ "fontWeight": "{font-weight.bold}",
722
+ "lineHeight": "{line-height.tight}",
723
+ "fontSize": "{font-size.400}"
724
+ },
725
+ "type": "typography",
726
+ "description": "Header is used to create various levels of typographic hierarchies."
727
+ }
728
+ }
729
+ }
730
+ }
731
+ }