@daikin-oss/dds-tokens 0.0.0 → 0.2.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.
Files changed (65) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/README.md +81 -17
  3. package/build/css/aaf/Dark/buttons.css +22 -0
  4. package/build/css/aaf/Dark/variables.css +202 -0
  5. package/build/css/aaf/Light/buttons.css +22 -0
  6. package/build/css/aaf/Light/variables.css +202 -0
  7. package/build/css/daikin/Dark/buttons.css +22 -0
  8. package/build/css/daikin/Dark/variables.css +217 -0
  9. package/build/css/daikin/Light/buttons.css +22 -0
  10. package/build/css/daikin/Light/variables.css +258 -0
  11. package/build/js/aaf/Dark/variables.cjs +202 -0
  12. package/build/js/aaf/Dark/variables.d.cts +220 -0
  13. package/build/js/aaf/Dark/variables.d.ts +220 -0
  14. package/build/js/aaf/Dark/variables.js +200 -0
  15. package/build/js/aaf/Light/variables.cjs +202 -0
  16. package/build/js/aaf/Light/variables.d.cts +220 -0
  17. package/build/js/aaf/Light/variables.d.ts +220 -0
  18. package/build/js/aaf/Light/variables.js +200 -0
  19. package/build/js/daikin/Dark/variables.cjs +217 -0
  20. package/build/js/daikin/Dark/variables.d.cts +236 -0
  21. package/build/js/daikin/Dark/variables.d.ts +236 -0
  22. package/build/js/daikin/Dark/variables.js +215 -0
  23. package/build/js/daikin/Light/variables.cjs +258 -0
  24. package/build/js/daikin/Light/variables.d.cts +277 -0
  25. package/build/js/daikin/Light/variables.d.ts +277 -0
  26. package/build/js/daikin/Light/variables.js +256 -0
  27. package/build/json/aaf/Dark/tokens.json +786 -0
  28. package/build/json/aaf/Light/tokens.json +786 -0
  29. package/build/json/daikin/Dark/tokens.json +846 -0
  30. package/build/json/daikin/Light/tokens.json +1010 -0
  31. package/build/scss/_mixins.scss +4 -0
  32. package/build/scss/aaf/Dark/_mixins.scss +202 -0
  33. package/build/scss/aaf/Light/_mixins.scss +202 -0
  34. package/build/scss/daikin/Dark/_mixins.scss +217 -0
  35. package/build/scss/daikin/Light/_mixins.scss +258 -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 +207 -0
  45. package/themes/dkn/dark/system.json +77 -0
  46. package/themes/dkn/light/component.json +257 -0
  47. package/themes/dkn/light/system.json +237 -0
  48. package/themes/reference.json +681 -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 -276
  52. package/build/css/AAF/Light/buttons.css +0 -29
  53. package/build/css/AAF/Light/variables.css +0 -276
  54. package/build/css/DKN/Dark/buttons.css +0 -29
  55. package/build/css/DKN/Dark/variables.css +0 -276
  56. package/build/css/DKN/Light/buttons.css +0 -29
  57. package/build/css/DKN/Light/variables.css +0 -276
  58. package/build/js/AAF/Dark/variables.d.ts +0 -305
  59. package/build/js/AAF/Dark/variables.js +0 -274
  60. package/build/js/AAF/Light/variables.d.ts +0 -305
  61. package/build/js/AAF/Light/variables.js +0 -274
  62. package/build/js/DKN/Dark/variables.d.ts +0 -306
  63. package/build/js/DKN/Dark/variables.js +0 -274
  64. package/build/js/DKN/Light/variables.d.ts +0 -306
  65. package/build/js/DKN/Light/variables.js +0 -274
@@ -0,0 +1,681 @@
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
+ },
414
+ "border-radius": {
415
+ "100": {
416
+ "value": "4",
417
+ "type": "borderRadius"
418
+ },
419
+ "150": {
420
+ "value": "6",
421
+ "type": "borderRadius"
422
+ },
423
+ "200": {
424
+ "value": "8",
425
+ "type": "borderRadius"
426
+ },
427
+ "250": {
428
+ "value": "10",
429
+ "type": "borderRadius"
430
+ },
431
+ "300": {
432
+ "value": "12",
433
+ "type": "borderRadius"
434
+ },
435
+ "400": {
436
+ "value": "16",
437
+ "type": "borderRadius"
438
+ },
439
+ "050": {
440
+ "value": "2",
441
+ "type": "borderRadius"
442
+ }
443
+ },
444
+ "border-width": {
445
+ "100": {
446
+ "value": "4",
447
+ "type": "borderWidth"
448
+ },
449
+ "025": {
450
+ "value": "1",
451
+ "type": "borderWidth"
452
+ },
453
+ "050": {
454
+ "value": "2",
455
+ "type": "borderWidth"
456
+ }
457
+ },
458
+ "space": {
459
+ "100": {
460
+ "value": "4",
461
+ "type": "spacing"
462
+ },
463
+ "200": {
464
+ "value": "8",
465
+ "type": "spacing"
466
+ },
467
+ "300": {
468
+ "value": "12",
469
+ "type": "spacing"
470
+ },
471
+ "400": {
472
+ "value": "16",
473
+ "type": "spacing"
474
+ },
475
+ "800": {
476
+ "value": "32",
477
+ "type": "spacing"
478
+ },
479
+ "050": {
480
+ "value": "2",
481
+ "type": "spacing"
482
+ }
483
+ },
484
+ "shadow": {
485
+ "black": {
486
+ "value": {
487
+ "x": "0",
488
+ "y": "-2",
489
+ "blur": "19",
490
+ "spread": "0",
491
+ "color": "{color.black-shadow}",
492
+ "type": "dropShadow"
493
+ },
494
+ "type": "boxShadow"
495
+ },
496
+ "white": {
497
+ "value": {
498
+ "x": "0",
499
+ "y": "-2",
500
+ "blur": "19",
501
+ "spread": "0",
502
+ "color": "{color.white-shadow}",
503
+ "type": "dropShadow"
504
+ },
505
+ "type": "boxShadow"
506
+ }
507
+ },
508
+ "font-size": {
509
+ "300": {
510
+ "value": "12px",
511
+ "type": "typography"
512
+ },
513
+ "350": {
514
+ "value": "14px",
515
+ "type": "typography"
516
+ },
517
+ "400": {
518
+ "value": "16px",
519
+ "type": "typography"
520
+ }
521
+ },
522
+ "line-height": {
523
+ "tight": {
524
+ "value": "130%",
525
+ "type": "typography"
526
+ },
527
+ "normal": {
528
+ "value": "150%",
529
+ "type": "typography"
530
+ }
531
+ },
532
+ "font-weight": {
533
+ "bold": {
534
+ "value": "Bold",
535
+ "type": "typography"
536
+ },
537
+ "regular": {
538
+ "value": "Regular",
539
+ "type": "typography"
540
+ }
541
+ },
542
+ "font-family": {
543
+ "base": {
544
+ "value": "Roboto",
545
+ "type": "typography",
546
+ "description": "The primary font used in the DDS Design Kit is Roboto"
547
+ }
548
+ },
549
+ "regular": {
550
+ "normal": {
551
+ "300": {
552
+ "value": {
553
+ "fontFamily": "{font-family.base}",
554
+ "fontWeight": "{font-weight.regular}",
555
+ "lineHeight": "{line-height.normal}",
556
+ "fontSize": "{font-size.300}"
557
+ },
558
+ "type": "typography",
559
+ "description": "Body is primarily used for components and for blocks of text."
560
+ },
561
+ "350": {
562
+ "value": {
563
+ "fontFamily": "{font-family.base}",
564
+ "fontWeight": "{font-weight.regular}",
565
+ "lineHeight": "{line-height.normal}",
566
+ "fontSize": "{font-size.350}"
567
+ },
568
+ "type": "typography",
569
+ "description": "Body is primarily used for components and for blocks of text."
570
+ },
571
+ "400": {
572
+ "value": {
573
+ "fontFamily": "{font-family.base}",
574
+ "fontWeight": "{font-weight.regular}",
575
+ "lineHeight": "{line-height.normal}",
576
+ "fontSize": "{font-size.400}"
577
+ },
578
+ "type": "typography",
579
+ "description": "Body is primarily used for components and for blocks of text."
580
+ }
581
+ },
582
+ "tight": {
583
+ "300": {
584
+ "value": {
585
+ "fontFamily": "{font-family.base}",
586
+ "fontWeight": "{font-weight.regular}",
587
+ "lineHeight": "{line-height.tight}",
588
+ "fontSize": "{font-size.300}"
589
+ },
590
+ "type": "typography",
591
+ "description": "Body is primarily used for components and for blocks of text."
592
+ },
593
+ "350": {
594
+ "value": {
595
+ "fontFamily": "{font-family.base}",
596
+ "fontWeight": "{font-weight.regular}",
597
+ "lineHeight": "{line-height.tight}",
598
+ "fontSize": "{font-size.350}"
599
+ },
600
+ "type": "typography",
601
+ "description": "Body is primarily used for components and for blocks of text."
602
+ },
603
+ "400": {
604
+ "value": {
605
+ "fontFamily": "{font-family.base}",
606
+ "fontWeight": "{font-weight.regular}",
607
+ "lineHeight": "{line-height.tight}",
608
+ "fontSize": "{font-size.400}"
609
+ },
610
+ "type": "typography",
611
+ "description": "Body is primarily used for components and for blocks of text."
612
+ }
613
+ },
614
+ "bold": {
615
+ "normal": {
616
+ "300": {
617
+ "value": {
618
+ "fontFamily": "{font-family.base}",
619
+ "fontWeight": "{font-weight.bold}",
620
+ "lineHeight": "{line-height.normal}",
621
+ "fontSize": "{font-size.300}"
622
+ },
623
+ "type": "typography",
624
+ "description": "Header is used to create various levels of typographic hierarchies."
625
+ },
626
+ "350": {
627
+ "value": {
628
+ "fontFamily": "{font-family.base}",
629
+ "fontWeight": "{font-weight.bold}",
630
+ "lineHeight": "{line-height.normal}",
631
+ "fontSize": "{font-size.350}"
632
+ },
633
+ "type": "typography",
634
+ "description": "Header is used to create various levels of typographic hierarchies."
635
+ },
636
+ "400": {
637
+ "value": {
638
+ "fontFamily": "{font-family.base}",
639
+ "fontWeight": "{font-weight.bold}",
640
+ "lineHeight": "{line-height.normal}",
641
+ "fontSize": "{font-size.400}"
642
+ },
643
+ "type": "typography",
644
+ "description": "Header is used to create various levels of typographic hierarchies."
645
+ }
646
+ },
647
+ "tight": {
648
+ "300": {
649
+ "value": {
650
+ "fontFamily": "{font-family.base}",
651
+ "fontWeight": "{font-weight.bold}",
652
+ "lineHeight": "{line-height.tight}",
653
+ "fontSize": "{font-size.300}"
654
+ },
655
+ "type": "typography",
656
+ "description": "Header is used to create various levels of typographic hierarchies."
657
+ },
658
+ "350": {
659
+ "value": {
660
+ "fontFamily": "{font-family.base}",
661
+ "fontWeight": "{font-weight.bold}",
662
+ "lineHeight": "{line-height.tight}",
663
+ "fontSize": "{font-size.350}"
664
+ },
665
+ "type": "typography",
666
+ "description": "Header is used to create various levels of typographic hierarchies."
667
+ },
668
+ "400": {
669
+ "value": {
670
+ "fontFamily": "{font-family.base}",
671
+ "fontWeight": "{font-weight.bold}",
672
+ "lineHeight": "{line-height.tight}",
673
+ "fontSize": "{font-size.400}"
674
+ },
675
+ "type": "typography",
676
+ "description": "Header is used to create various levels of typographic hierarchies."
677
+ }
678
+ }
679
+ }
680
+ }
681
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "color": {
3
+ "feedback": {
4
+ "positive": {
5
+ "value": "{color.green.60}",
6
+ "type": "color",
7
+ "description": "System status is positive"
8
+ },
9
+ "warning": {
10
+ "value": "{color.yellow.50}",
11
+ "type": "color",
12
+ "description": "System status is warning"
13
+ },
14
+ "negative": {
15
+ "value": "{color.red.60}",
16
+ "type": "color",
17
+ "description": "System status is warning"
18
+ },
19
+ "alarm": {
20
+ "value": "{color.orange.60}",
21
+ "type": "color",
22
+ "description": "System status is warning"
23
+ },
24
+ "information": {
25
+ "value": "{color.blue.60}",
26
+ "type": "color",
27
+ "description": "System status is warning"
28
+ }
29
+ }
30
+ }
31
+ }