@daikin-oss/dds-tokens 0.2.0 → 0.3.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 (45) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/build/css/aaf/Dark/variables.css +29 -88
  3. package/build/css/aaf/Light/variables.css +29 -88
  4. package/build/css/daikin/Dark/variables.css +71 -103
  5. package/build/css/daikin/Light/variables.css +35 -108
  6. package/build/js/aaf/Dark/variables.cjs +28 -87
  7. package/build/js/aaf/Dark/variables.d.cts +28 -107
  8. package/build/js/aaf/Dark/variables.d.ts +28 -107
  9. package/build/js/aaf/Dark/variables.js +29 -88
  10. package/build/js/aaf/Light/variables.cjs +28 -87
  11. package/build/js/aaf/Light/variables.d.cts +28 -107
  12. package/build/js/aaf/Light/variables.d.ts +28 -107
  13. package/build/js/aaf/Light/variables.js +29 -88
  14. package/build/js/daikin/Dark/variables.cjs +70 -102
  15. package/build/js/daikin/Dark/variables.d.cts +70 -123
  16. package/build/js/daikin/Dark/variables.d.ts +70 -123
  17. package/build/js/daikin/Dark/variables.js +71 -103
  18. package/build/js/daikin/Light/variables.cjs +34 -107
  19. package/build/js/daikin/Light/variables.d.cts +33 -127
  20. package/build/js/daikin/Light/variables.d.ts +33 -127
  21. package/build/js/daikin/Light/variables.js +35 -108
  22. package/build/json/aaf/Dark/tokens.json +60 -296
  23. package/build/json/aaf/Light/tokens.json +60 -296
  24. package/build/json/daikin/Dark/tokens.json +220 -348
  25. package/build/json/daikin/Light/tokens.json +81 -373
  26. package/build/scss/aaf/Dark/_mixins.scss +29 -88
  27. package/build/scss/aaf/Light/_mixins.scss +29 -88
  28. package/build/scss/daikin/Dark/_mixins.scss +71 -103
  29. package/build/scss/daikin/Light/_mixins.scss +35 -108
  30. package/package.json +1 -1
  31. package/themes/aaf/dark/component.json +1 -113
  32. package/themes/aaf/dark/system.json +1 -49
  33. package/themes/aaf/light/component.json +1 -113
  34. package/themes/aaf/light/system.json +1 -49
  35. package/themes/component.json +1 -184
  36. package/themes/dkn/dark/component.json +17 -178
  37. package/themes/dkn/dark/system.json +142 -55
  38. package/themes/dkn/light/component.json +17 -228
  39. package/themes/dkn/light/system.json +0 -73
  40. package/themes/reference.json +181 -200
  41. package/themes/system.json +1 -31
  42. package/build/css/aaf/Dark/buttons.css +0 -22
  43. package/build/css/aaf/Light/buttons.css +0 -22
  44. package/build/css/daikin/Dark/buttons.css +0 -22
  45. package/build/css/daikin/Light/buttons.css +0 -22
@@ -248,32 +248,6 @@
248
248
  "120": {
249
249
  "value": "#3E0307",
250
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
251
  }
278
252
  },
279
253
  "gray": {
@@ -338,14 +312,6 @@
338
312
  "value": "#ffffff",
339
313
  "type": "color"
340
314
  },
341
- "black-shadow": {
342
- "value": "#0000001A",
343
- "type": "color"
344
- },
345
- "white-shadow": {
346
- "value": "#ffffff1A",
347
- "type": "color"
348
- },
349
315
  "blue-gray": {
350
316
  "10": {
351
317
  "value": "#EEF0F2",
@@ -409,6 +375,56 @@
409
375
  "value": "#1A1A1A",
410
376
  "type": "color"
411
377
  }
378
+ },
379
+ "purple": {
380
+ "10": {
381
+ "value": "#F0DDF3",
382
+ "type": "color"
383
+ },
384
+ "20": {
385
+ "value": "#E1BBE8",
386
+ "type": "color"
387
+ },
388
+ "30": {
389
+ "value": "#D399DC",
390
+ "type": "color"
391
+ },
392
+ "40": {
393
+ "value": "#C477D0",
394
+ "type": "color"
395
+ },
396
+ "50": {
397
+ "value": "#B556C5",
398
+ "type": "color"
399
+ },
400
+ "60": {
401
+ "value": "#A03DB0",
402
+ "type": "color"
403
+ },
404
+ "70": {
405
+ "value": "#81318E",
406
+ "type": "color"
407
+ },
408
+ "80": {
409
+ "value": "#6F2A7A",
410
+ "type": "color"
411
+ },
412
+ "90": {
413
+ "value": "#5C2365",
414
+ "type": "color"
415
+ },
416
+ "100": {
417
+ "value": "#4A1C51",
418
+ "type": "color"
419
+ },
420
+ "110": {
421
+ "value": "#37153D",
422
+ "type": "color"
423
+ },
424
+ "120": {
425
+ "value": "#250E29",
426
+ "type": "color"
427
+ }
412
428
  }
413
429
  },
414
430
  "border-radius": {
@@ -481,201 +497,166 @@
481
497
  "type": "spacing"
482
498
  }
483
499
  },
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
- },
500
+ "font": {
537
501
  "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
502
  "normal": {
616
503
  "300": {
617
504
  "value": {
618
- "fontFamily": "{font-family.base}",
619
- "fontWeight": "{font-weight.bold}",
620
- "lineHeight": "{line-height.normal}",
621
- "fontSize": "{font-size.300}"
505
+ "fontFamily": "{font.family.base}",
506
+ "fontWeight": "{font.weight.regular}",
507
+ "lineHeight": "{font.line-height.normal}",
508
+ "fontSize": "{font.size.300}"
622
509
  },
623
- "type": "typography",
624
- "description": "Header is used to create various levels of typographic hierarchies."
510
+ "type": "typography"
625
511
  },
626
512
  "350": {
627
513
  "value": {
628
- "fontFamily": "{font-family.base}",
629
- "fontWeight": "{font-weight.bold}",
630
- "lineHeight": "{line-height.normal}",
631
- "fontSize": "{font-size.350}"
514
+ "fontFamily": "{font.family.base}",
515
+ "fontWeight": "{font.weight.regular}",
516
+ "lineHeight": "{font.line-height.normal}",
517
+ "fontSize": "{font.size.350}"
632
518
  },
633
- "type": "typography",
634
- "description": "Header is used to create various levels of typographic hierarchies."
519
+ "type": "typography"
635
520
  },
636
521
  "400": {
637
522
  "value": {
638
- "fontFamily": "{font-family.base}",
639
- "fontWeight": "{font-weight.bold}",
640
- "lineHeight": "{line-height.normal}",
641
- "fontSize": "{font-size.400}"
523
+ "fontFamily": "{font.family.base}",
524
+ "fontWeight": "{font.weight.regular}",
525
+ "lineHeight": "{font.line-height.normal}",
526
+ "fontSize": "{font.size.400}"
642
527
  },
643
- "type": "typography",
644
- "description": "Header is used to create various levels of typographic hierarchies."
528
+ "type": "typography"
645
529
  }
646
530
  },
647
531
  "tight": {
648
532
  "300": {
649
533
  "value": {
650
- "fontFamily": "{font-family.base}",
651
- "fontWeight": "{font-weight.bold}",
652
- "lineHeight": "{line-height.tight}",
653
- "fontSize": "{font-size.300}"
534
+ "fontFamily": "{font.family.base}",
535
+ "fontWeight": "{font.weight.regular}",
536
+ "lineHeight": "{font.line-height.tight}",
537
+ "fontSize": "{font.size.300}"
654
538
  },
655
- "type": "typography",
656
- "description": "Header is used to create various levels of typographic hierarchies."
539
+ "type": "typography"
657
540
  },
658
541
  "350": {
659
542
  "value": {
660
- "fontFamily": "{font-family.base}",
661
- "fontWeight": "{font-weight.bold}",
662
- "lineHeight": "{line-height.tight}",
663
- "fontSize": "{font-size.350}"
543
+ "fontFamily": "{font.family.base}",
544
+ "fontWeight": "{font.weight.regular}",
545
+ "lineHeight": "{font.line-height.tight}",
546
+ "fontSize": "{font.size.350}"
664
547
  },
665
- "type": "typography",
666
- "description": "Header is used to create various levels of typographic hierarchies."
548
+ "type": "typography"
667
549
  },
668
550
  "400": {
669
551
  "value": {
670
- "fontFamily": "{font-family.base}",
671
- "fontWeight": "{font-weight.bold}",
672
- "lineHeight": "{line-height.tight}",
673
- "fontSize": "{font-size.400}"
552
+ "fontFamily": "{font.family.base}",
553
+ "fontWeight": "{font.weight.regular}",
554
+ "lineHeight": "{font.line-height.tight}",
555
+ "fontSize": "{font.size.400}"
556
+ },
557
+ "type": "typography"
558
+ }
559
+ },
560
+ "bold": {
561
+ "normal": {
562
+ "300": {
563
+ "value": {
564
+ "fontFamily": "{font.family.base}",
565
+ "fontWeight": "{font.weight.bold}",
566
+ "lineHeight": "{font.line-height.normal}",
567
+ "fontSize": "{font.size.300}"
568
+ },
569
+ "type": "typography"
570
+ },
571
+ "350": {
572
+ "value": {
573
+ "fontFamily": "{font.family.base}",
574
+ "fontWeight": "{font.weight.bold}",
575
+ "lineHeight": "{font.line-height.normal}",
576
+ "fontSize": "{font.size.350}"
577
+ },
578
+ "type": "typography"
579
+ },
580
+ "400": {
581
+ "value": {
582
+ "fontFamily": "{font.family.base}",
583
+ "fontWeight": "{font.weight.bold}",
584
+ "lineHeight": "{font.line-height.normal}",
585
+ "fontSize": "{font.size.400}"
586
+ },
587
+ "type": "typography"
588
+ }
589
+ },
590
+ "tight": {
591
+ "300": {
592
+ "value": {
593
+ "fontFamily": "{font.family.base}",
594
+ "fontWeight": "{font.weight.bold}",
595
+ "lineHeight": "{font.line-height.tight}",
596
+ "fontSize": "{font.size.300}"
597
+ },
598
+ "type": "typography"
674
599
  },
675
- "type": "typography",
676
- "description": "Header is used to create various levels of typographic hierarchies."
600
+ "350": {
601
+ "value": {
602
+ "fontFamily": "{font.family.base}",
603
+ "fontWeight": "{font.weight.bold}",
604
+ "lineHeight": "{font.line-height.tight}",
605
+ "fontSize": "{font.size.350}"
606
+ },
607
+ "type": "typography"
608
+ },
609
+ "400": {
610
+ "value": {
611
+ "fontFamily": "{font.family.base}",
612
+ "fontWeight": "{font.weight.bold}",
613
+ "lineHeight": "{font.line-height.tight}",
614
+ "fontSize": "{font.size.400}"
615
+ },
616
+ "type": "typography"
617
+ }
677
618
  }
678
619
  }
620
+ },
621
+ "size": {
622
+ "300": {
623
+ "value": "12",
624
+ "type": "fontSizes"
625
+ },
626
+ "350": {
627
+ "value": "14",
628
+ "type": "fontSizes"
629
+ },
630
+ "400": {
631
+ "value": "16",
632
+ "type": "fontSizes"
633
+ }
634
+ },
635
+ "line-height": {
636
+ "tight": {
637
+ "value": "130%",
638
+ "type": "lineHeights"
639
+ },
640
+ "normal": {
641
+ "value": "150%",
642
+ "type": "lineHeights"
643
+ }
644
+ },
645
+ "weight": {
646
+ "bold": {
647
+ "value": "Bold",
648
+ "type": "fontWeights"
649
+ },
650
+ "regular": {
651
+ "value": "Regular",
652
+ "type": "fontWeights"
653
+ }
654
+ },
655
+ "family": {
656
+ "base": {
657
+ "value": "Roboto",
658
+ "type": "fontFamilies"
659
+ }
679
660
  }
680
661
  }
681
662
  }
@@ -1,31 +1 @@
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
- }
1
+ {}
@@ -1,22 +0,0 @@
1
- /**
2
- * Do not edit directly, this file was auto-generated.
3
- */
4
-
5
- :root {
6
- --dds-button-color-background-primary-active: #db4f66; /* Color used for the default state of a secondary button */
7
- --dds-button-color-background-primary-hover: #c8102e;
8
- --dds-button-color-background-primary-press: #f8aeba;
9
- --dds-button-color-background-primary-focus: #f5c0b8;
10
- --dds-button-color-background-primary-disabled: #616161;
11
- --dds-button-color-border-secondary-active: #db4f66;
12
- --dds-button-color-border-secondary-hover: #c8102e;
13
- --dds-button-color-border-secondary-press: #f8aeba;
14
- --dds-button-color-border-secondary-focus: #f5c0b8;
15
- --dds-button-color-border-secondary-disabled: #616161;
16
- --dds-button-color-text-secondary-active: #db4f66;
17
- --dds-button-color-text-secondary-hover: #c8102e;
18
- --dds-button-color-text-secondary-press: #f8aeba;
19
- --dds-button-color-text-secondary-focus: #f5c0b8;
20
- --dds-button-color-text-secondary-disabled: #616161;
21
- --dds-button-color-text-primary: #515151;
22
- }
@@ -1,22 +0,0 @@
1
- /**
2
- * Do not edit directly, this file was auto-generated.
3
- */
4
-
5
- :root {
6
- --dds-button-color-background-primary-active: #c8102e; /* Color used for the default state of a secondary button */
7
- --dds-button-color-background-primary-hover: #db4f66;
8
- --dds-button-color-background-primary-press: #d2324c;
9
- --dds-button-color-background-primary-focus: #f8aeba;
10
- --dds-button-color-background-primary-disabled: #dcdcdc;
11
- --dds-button-color-border-secondary-active: #c8102e;
12
- --dds-button-color-border-secondary-hover: #db4f66;
13
- --dds-button-color-border-secondary-press: #d2324c;
14
- --dds-button-color-border-secondary-focus: #f8aeba;
15
- --dds-button-color-border-secondary-disabled: #dcdcdc;
16
- --dds-button-color-text-secondary-active: #c8102e;
17
- --dds-button-color-text-secondary-hover: #db4f66;
18
- --dds-button-color-text-secondary-press: #d2324c;
19
- --dds-button-color-text-secondary-focus: #f8aeba;
20
- --dds-button-color-text-secondary-disabled: #dcdcdc;
21
- --dds-button-color-text-primary: #ffffff;
22
- }
@@ -1,22 +0,0 @@
1
- /**
2
- * Do not edit directly, this file was auto-generated.
3
- */
4
-
5
- :root {
6
- --dds-button-color-background-primary-active: #76cff4; /* Color used for the default state of a secondary button */
7
- --dds-button-color-background-primary-hover: #30ade9;
8
- --dds-button-color-background-primary-press: #98dbf7;
9
- --dds-button-color-background-primary-focus: #bbe7f9;
10
- --dds-button-color-background-primary-disabled: #616161;
11
- --dds-button-color-border-secondary-active: #76cff4;
12
- --dds-button-color-border-secondary-hover: #30ade9;
13
- --dds-button-color-border-secondary-press: #98dbf7;
14
- --dds-button-color-border-secondary-focus: #bbe7f9;
15
- --dds-button-color-border-secondary-disabled: #616161;
16
- --dds-button-color-text-secondary-active: #76cff4;
17
- --dds-button-color-text-secondary-hover: #30ade9;
18
- --dds-button-color-text-secondary-press: #98dbf7;
19
- --dds-button-color-text-secondary-focus: #bbe7f9;
20
- --dds-button-color-text-secondary-disabled: #616161;
21
- --dds-button-color-text-primary: #414141;
22
- }
@@ -1,22 +0,0 @@
1
- /**
2
- * Do not edit directly, this file was auto-generated.
3
- */
4
-
5
- :root {
6
- --dds-button-color-background-primary-active: #30ade9; /* Color used for the default state of a secondary button */
7
- --dds-button-color-background-primary-hover: #76cff4;
8
- --dds-button-color-background-primary-press: #0097e0;
9
- --dds-button-color-background-primary-focus: #0081c0;
10
- --dds-button-color-background-primary-disabled: #dcdcdc;
11
- --dds-button-color-border-secondary-active: #30ade9;
12
- --dds-button-color-border-secondary-hover: #76cff4;
13
- --dds-button-color-border-secondary-press: #0097e0;
14
- --dds-button-color-border-secondary-focus: #0081c0;
15
- --dds-button-color-border-secondary-disabled: #dcdcdc;
16
- --dds-button-color-text-secondary-active: #30ade9;
17
- --dds-button-color-text-secondary-hover: #76cff4;
18
- --dds-button-color-text-secondary-press: #0097e0;
19
- --dds-button-color-text-secondary-focus: #0081c0;
20
- --dds-button-color-text-secondary-disabled: #dcdcdc;
21
- --dds-button-color-text-primary: #ffffff;
22
- }