@knime/kds-styles 2.6.2 → 2.7.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @knime/kds-styles
2
2
 
3
+ ## 2.7.0
4
+
5
+ ## 2.6.3
6
+
7
+ ### Patch Changes
8
+
9
+ - 922a979: Adding echart tokens and exchange tokens in donut chart
10
+
3
11
  ## 2.6.2
4
12
 
5
13
  ## 2.6.1
@@ -290,24 +290,6 @@ syntax: "<color>";
290
290
  initial-value: hsl(0, 0%, 12.9%);
291
291
  }
292
292
 
293
- @property --kds-color-background-static-chart-0 {
294
- syntax: "<color>";
295
- inherits: true;
296
- initial-value: hsl(0, 0%, 94.1%);
297
- }
298
-
299
- @property --kds-color-background-static-chart-1 {
300
- syntax: "<color>";
301
- inherits: true;
302
- initial-value: hsl(176.1, 66.7%, 22.4%);
303
- }
304
-
305
- @property --kds-color-background-static-chart-2 {
306
- syntax: "<color>";
307
- inherits: true;
308
- initial-value: hsl(171.8, 27%, 47.8%);
309
- }
310
-
311
293
  @property --kds-color-text-and-icon-neutral {
312
294
  syntax: "<color>";
313
295
  inherits: true;
@@ -566,6 +548,204 @@ syntax: "<color>";
566
548
  initial-value: hsl(345 0% 11.4% / 0.8);
567
549
  }
568
550
 
551
+ @property --kds-color-chart-data-series-1 {
552
+ syntax: "<color>";
553
+ inherits: true;
554
+ initial-value: hsl(173.4, 37.1%, 38.6%);
555
+ }
556
+
557
+ @property --kds-color-chart-data-series-2 {
558
+ syntax: "<color>";
559
+ inherits: true;
560
+ initial-value: hsl(211.3, 67.3%, 59.2%);
561
+ }
562
+
563
+ @property --kds-color-chart-data-series-3 {
564
+ syntax: "<color>";
565
+ inherits: true;
566
+ initial-value: hsl(359.6, 84.3%, 62.5%);
567
+ }
568
+
569
+ @property --kds-color-chart-data-series-4 {
570
+ syntax: "<color>";
571
+ inherits: true;
572
+ initial-value: hsl(0, 0%, 22%);
573
+ }
574
+
575
+ @property --kds-color-chart-data-series-5 {
576
+ syntax: "<color>";
577
+ inherits: true;
578
+ initial-value: hsl(28, 39%, 50%);
579
+ }
580
+
581
+ @property --kds-color-chart-data-series-6 {
582
+ syntax: "<color>";
583
+ inherits: true;
584
+ initial-value: hsl(208.2, 62.9%, 41.2%);
585
+ }
586
+
587
+ @property --kds-color-chart-data-series-7 {
588
+ syntax: "<color>";
589
+ inherits: true;
590
+ initial-value: hsl(71.1, 46.3%, 32.2%);
591
+ }
592
+
593
+ @property --kds-color-chart-data-series-8 {
594
+ syntax: "<color>";
595
+ inherits: true;
596
+ initial-value: hsl(308.3, 31.6%, 55.3%);
597
+ }
598
+
599
+ @property --kds-color-chart-data-series-9 {
600
+ syntax: "<color>";
601
+ inherits: true;
602
+ initial-value: hsl(193.1, 60.2%, 43.3%);
603
+ }
604
+
605
+ @property --kds-color-chart-data-track {
606
+ syntax: "<color>";
607
+ inherits: true;
608
+ initial-value: hsl(0, 0%, 94.1%);
609
+ }
610
+
611
+ @property --kds-color-chart-status-positive {
612
+ syntax: "<color>";
613
+ inherits: true;
614
+ initial-value: hsl(107.4, 42.2%, 44.1%);
615
+ }
616
+
617
+ @property --kds-color-chart-status-negative {
618
+ syntax: "<color>";
619
+ inherits: true;
620
+ initial-value: hsl(356.3, 76.8%, 54.3%);
621
+ }
622
+
623
+ @property --kds-color-chart-status-warning {
624
+ syntax: "<color>";
625
+ inherits: true;
626
+ initial-value: hsl(19, 63.1%, 38.2%);
627
+ }
628
+
629
+ @property --kds-color-chart-status-error {
630
+ syntax: "<color>";
631
+ inherits: true;
632
+ initial-value: hsl(348.8, 90.9%, 34.5%);
633
+ }
634
+
635
+ @property --kds-color-chart-scaffolding-axis {
636
+ syntax: "<color>";
637
+ inherits: true;
638
+ initial-value: hsl(330 0% 10.2% / 0.2);
639
+ }
640
+
641
+ @property --kds-color-chart-scaffolding-grid {
642
+ syntax: "<color>";
643
+ inherits: true;
644
+ initial-value: hsl(330 0% 10.2% / 0.1);
645
+ }
646
+
647
+ @property --kds-color-chart-scaffolding-border {
648
+ syntax: "<color>";
649
+ inherits: true;
650
+ initial-value: hsl(330 0% 10.2% / 0.1);
651
+ }
652
+
653
+ @property --kds-color-chart-scaffolding-segment {
654
+ syntax: "<color>";
655
+ inherits: true;
656
+ initial-value: hsl(0, 0%, 98%);
657
+ }
658
+
659
+ @property --kds-color-chart-scaffolding-surface {
660
+ syntax: "<color>";
661
+ inherits: true;
662
+ initial-value: hsl(0, 0%, 98%);
663
+ }
664
+
665
+ @property --kds-color-chart-scaffolding-tooltip-surface {
666
+ syntax: "<color>";
667
+ inherits: true;
668
+ initial-value: hsl(0, 0%, 12.9%);
669
+ }
670
+
671
+ @property --kds-color-chart-control-default {
672
+ syntax: "<color>";
673
+ inherits: true;
674
+ initial-value: hsl(0, 0%, 43%);
675
+ }
676
+
677
+ @property --kds-color-chart-control-hover {
678
+ syntax: "<color>";
679
+ inherits: true;
680
+ initial-value: hsl(0, 0%, 15.7%);
681
+ }
682
+
683
+ @property --kds-color-chart-control-selected {
684
+ syntax: "<color>";
685
+ inherits: true;
686
+ initial-value: hsl(0, 0%, 18.8%);
687
+ }
688
+
689
+ @property --kds-color-chart-control-disabled {
690
+ syntax: "<color>";
691
+ inherits: true;
692
+ initial-value: hsl(0, 0%, 64%);
693
+ }
694
+
695
+ @property --kds-color-chart-text-title {
696
+ syntax: "<color>";
697
+ inherits: true;
698
+ initial-value: hsl(0, 0%, 15.7%);
699
+ }
700
+
701
+ @property --kds-color-chart-text-subtitle {
702
+ syntax: "<color>";
703
+ inherits: true;
704
+ initial-value: hsl(0, 0%, 43%);
705
+ }
706
+
707
+ @property --kds-color-chart-text-axis-name {
708
+ syntax: "<color>";
709
+ inherits: true;
710
+ initial-value: hsl(0, 0%, 43%);
711
+ }
712
+
713
+ @property --kds-color-chart-text-axis-label {
714
+ syntax: "<color>";
715
+ inherits: true;
716
+ initial-value: hsl(0, 0%, 43%);
717
+ }
718
+
719
+ @property --kds-color-chart-text-legend {
720
+ syntax: "<color>";
721
+ inherits: true;
722
+ initial-value: hsl(0, 0%, 15.7%);
723
+ }
724
+
725
+ @property --kds-color-chart-text-tooltip {
726
+ syntax: "<color>";
727
+ inherits: true;
728
+ initial-value: hsl(0, 0%, 98%);
729
+ }
730
+
731
+ @property --kds-color-chart-text-label {
732
+ syntax: "<color>";
733
+ inherits: true;
734
+ initial-value: hsl(0, 0%, 15.7%);
735
+ }
736
+
737
+ @property --kds-color-chart-text-on-fill-dark {
738
+ syntax: "<color>";
739
+ inherits: true;
740
+ initial-value: hsl(0, 0%, 15.7%);
741
+ }
742
+
743
+ @property --kds-color-chart-text-on-fill-light {
744
+ syntax: "<color>";
745
+ inherits: true;
746
+ initial-value: hsl(0, 0%, 98%);
747
+ }
748
+
569
749
  @property --kds-color-nodes-and-variables-flow-variable {
570
750
  syntax: "<color>";
571
751
  inherits: true;
@@ -1484,24 +1484,6 @@ syntax: "<color>";
1484
1484
  initial-value: light-dark(hsl(0, 0%, 12.9%), hsl(0, 0%, 22%));
1485
1485
  }
1486
1486
 
1487
- @property --kds-color-background-static-chart-0 {
1488
- syntax: "<color>";
1489
- inherits: true;
1490
- initial-value: light-dark(hsl(0, 0%, 94.1%), hsl(0, 0%, 32.2%));
1491
- }
1492
-
1493
- @property --kds-color-background-static-chart-1 {
1494
- syntax: "<color>";
1495
- inherits: true;
1496
- initial-value: light-dark(hsl(176.1, 66.7%, 22.4%), hsl(173.4, 37.1%, 38.6%));
1497
- }
1498
-
1499
- @property --kds-color-background-static-chart-2 {
1500
- syntax: "<color>";
1501
- inherits: true;
1502
- initial-value: light-dark(hsl(171.8, 27%, 47.8%), hsl(176.1, 66.7%, 22.4%));
1503
- }
1504
-
1505
1487
  @property --kds-color-text-and-icon-neutral {
1506
1488
  syntax: "<color>";
1507
1489
  inherits: true;
@@ -1760,6 +1742,204 @@ syntax: "<color>";
1760
1742
  initial-value: hsl(345 0% 11.4% / 0.8);
1761
1743
  }
1762
1744
 
1745
+ @property --kds-color-chart-data-series-1 {
1746
+ syntax: "<color>";
1747
+ inherits: true;
1748
+ initial-value: light-dark(hsl(173.4, 37.1%, 38.6%), hsl(169.8, 30.6%, 66.1%));
1749
+ }
1750
+
1751
+ @property --kds-color-chart-data-series-2 {
1752
+ syntax: "<color>";
1753
+ inherits: true;
1754
+ initial-value: light-dark(hsl(211.3, 67.3%, 59.2%), hsl(213.6, 91.6%, 76.7%));
1755
+ }
1756
+
1757
+ @property --kds-color-chart-data-series-3 {
1758
+ syntax: "<color>";
1759
+ inherits: true;
1760
+ initial-value: light-dark(hsl(359.6, 84.3%, 62.5%), hsl(2.6, 100%, 72.4%));
1761
+ }
1762
+
1763
+ @property --kds-color-chart-data-series-4 {
1764
+ syntax: "<color>";
1765
+ inherits: true;
1766
+ initial-value: light-dark(hsl(0, 0%, 22%), hsl(0, 0%, 72.5%));
1767
+ }
1768
+
1769
+ @property --kds-color-chart-data-series-5 {
1770
+ syntax: "<color>";
1771
+ inherits: true;
1772
+ initial-value: light-dark(hsl(28, 39%, 50%), hsl(30, 47%, 68%));
1773
+ }
1774
+
1775
+ @property --kds-color-chart-data-series-6 {
1776
+ syntax: "<color>";
1777
+ inherits: true;
1778
+ initial-value: light-dark(hsl(208.2, 62.9%, 41.2%), hsl(209.4, 57.3%, 49.6%));
1779
+ }
1780
+
1781
+ @property --kds-color-chart-data-series-7 {
1782
+ syntax: "<color>";
1783
+ inherits: true;
1784
+ initial-value: light-dark(hsl(71.1, 46.3%, 32.2%), hsl(68.6, 61.0%, 47.3%));
1785
+ }
1786
+
1787
+ @property --kds-color-chart-data-series-8 {
1788
+ syntax: "<color>";
1789
+ inherits: true;
1790
+ initial-value: light-dark(hsl(308.3, 31.6%, 55.3%), hsl(316.1, 40.6%, 72.9%));
1791
+ }
1792
+
1793
+ @property --kds-color-chart-data-series-9 {
1794
+ syntax: "<color>";
1795
+ inherits: true;
1796
+ initial-value: light-dark(hsl(193.1, 60.2%, 43.3%), hsl(191.3, 57.1%, 54.3%));
1797
+ }
1798
+
1799
+ @property --kds-color-chart-data-track {
1800
+ syntax: "<color>";
1801
+ inherits: true;
1802
+ initial-value: light-dark(hsl(0, 0%, 94.1%), hsl(0, 0%, 32.2%));
1803
+ }
1804
+
1805
+ @property --kds-color-chart-status-positive {
1806
+ syntax: "<color>";
1807
+ inherits: true;
1808
+ initial-value: light-dark(hsl(107.4, 42.2%, 44.1%), hsl(109, 47.2%, 61.4%));
1809
+ }
1810
+
1811
+ @property --kds-color-chart-status-negative {
1812
+ syntax: "<color>";
1813
+ inherits: true;
1814
+ initial-value: light-dark(hsl(356.3, 76.8%, 54.3%), hsl(0, 100%, 66.1%));
1815
+ }
1816
+
1817
+ @property --kds-color-chart-status-warning {
1818
+ syntax: "<color>";
1819
+ inherits: true;
1820
+ initial-value: light-dark(hsl(19, 63.1%, 38.2%), hsl(31.2, 82.8%, 65.9%));
1821
+ }
1822
+
1823
+ @property --kds-color-chart-status-error {
1824
+ syntax: "<color>";
1825
+ inherits: true;
1826
+ initial-value: light-dark(hsl(348.8, 90.9%, 34.5%), hsl(3.5, 100%, 79.6%));
1827
+ }
1828
+
1829
+ @property --kds-color-chart-scaffolding-axis {
1830
+ syntax: "<color>";
1831
+ inherits: true;
1832
+ initial-value: light-dark(hsl(330 0% 10.2% / 0.2), hsl(330 0% 99% / 0.2));
1833
+ }
1834
+
1835
+ @property --kds-color-chart-scaffolding-grid {
1836
+ syntax: "<color>";
1837
+ inherits: true;
1838
+ initial-value: light-dark(hsl(330 0% 10.2% / 0.1), hsl(330 0% 99% / 0.1));
1839
+ }
1840
+
1841
+ @property --kds-color-chart-scaffolding-border {
1842
+ syntax: "<color>";
1843
+ inherits: true;
1844
+ initial-value: light-dark(hsl(330 0% 10.2% / 0.1), hsl(330 0% 99% / 0.1));
1845
+ }
1846
+
1847
+ @property --kds-color-chart-scaffolding-segment {
1848
+ syntax: "<color>";
1849
+ inherits: true;
1850
+ initial-value: light-dark(hsl(0, 0%, 98%), hsl(0, 0%, 15.7%));
1851
+ }
1852
+
1853
+ @property --kds-color-chart-scaffolding-surface {
1854
+ syntax: "<color>";
1855
+ inherits: true;
1856
+ initial-value: light-dark(hsl(0, 0%, 98%), hsl(0, 0%, 15.7%));
1857
+ }
1858
+
1859
+ @property --kds-color-chart-scaffolding-tooltip-surface {
1860
+ syntax: "<color>";
1861
+ inherits: true;
1862
+ initial-value: light-dark(hsl(0, 0%, 12.9%), hsl(0, 0%, 22%));
1863
+ }
1864
+
1865
+ @property --kds-color-chart-control-default {
1866
+ syntax: "<color>";
1867
+ inherits: true;
1868
+ initial-value: light-dark(hsl(0, 0%, 43%), hsl(0, 0%, 72.5%));
1869
+ }
1870
+
1871
+ @property --kds-color-chart-control-hover {
1872
+ syntax: "<color>";
1873
+ inherits: true;
1874
+ initial-value: light-dark(hsl(0, 0%, 15.7%), hsl(0, 0%, 94.1%));
1875
+ }
1876
+
1877
+ @property --kds-color-chart-control-selected {
1878
+ syntax: "<color>";
1879
+ inherits: true;
1880
+ initial-value: light-dark(hsl(174.4, 47.8%, 30.8%), hsl(176.1, 66.7%, 22.4%));
1881
+ }
1882
+
1883
+ @property --kds-color-chart-control-disabled {
1884
+ syntax: "<color>";
1885
+ inherits: true;
1886
+ initial-value: light-dark(hsl(0, 0%, 64%), hsl(0, 0%, 48.2%));
1887
+ }
1888
+
1889
+ @property --kds-color-chart-text-title {
1890
+ syntax: "<color>";
1891
+ inherits: true;
1892
+ initial-value: light-dark(hsl(0, 0%, 15.7%), hsl(0, 0%, 94.1%));
1893
+ }
1894
+
1895
+ @property --kds-color-chart-text-subtitle {
1896
+ syntax: "<color>";
1897
+ inherits: true;
1898
+ initial-value: light-dark(hsl(0, 0%, 43%), hsl(0, 0%, 72.5%));
1899
+ }
1900
+
1901
+ @property --kds-color-chart-text-axis-name {
1902
+ syntax: "<color>";
1903
+ inherits: true;
1904
+ initial-value: light-dark(hsl(0, 0%, 43%), hsl(0, 0%, 72.5%));
1905
+ }
1906
+
1907
+ @property --kds-color-chart-text-axis-label {
1908
+ syntax: "<color>";
1909
+ inherits: true;
1910
+ initial-value: light-dark(hsl(0, 0%, 43%), hsl(0, 0%, 72.5%));
1911
+ }
1912
+
1913
+ @property --kds-color-chart-text-legend {
1914
+ syntax: "<color>";
1915
+ inherits: true;
1916
+ initial-value: light-dark(hsl(0, 0%, 15.7%), hsl(0, 0%, 94.1%));
1917
+ }
1918
+
1919
+ @property --kds-color-chart-text-tooltip {
1920
+ syntax: "<color>";
1921
+ inherits: true;
1922
+ initial-value: light-dark(hsl(0, 0%, 98%), hsl(0, 0%, 94.1%));
1923
+ }
1924
+
1925
+ @property --kds-color-chart-text-label {
1926
+ syntax: "<color>";
1927
+ inherits: true;
1928
+ initial-value: light-dark(hsl(0, 0%, 15.7%), hsl(0, 0%, 94.1%));
1929
+ }
1930
+
1931
+ @property --kds-color-chart-text-on-fill-dark {
1932
+ syntax: "<color>";
1933
+ inherits: true;
1934
+ initial-value: hsl(0, 0%, 15.7%);
1935
+ }
1936
+
1937
+ @property --kds-color-chart-text-on-fill-light {
1938
+ syntax: "<color>";
1939
+ inherits: true;
1940
+ initial-value: hsl(0, 0%, 98%);
1941
+ }
1942
+
1763
1943
  @property --kds-color-nodes-and-variables-flow-variable {
1764
1944
  syntax: "<color>";
1765
1945
  inherits: true;
@@ -3014,6 +3194,18 @@ syntax: "<length>";
3014
3194
  initial-value: 20px;
3015
3195
  }
3016
3196
 
3197
+ @property --kds-dimension-chart-line-width {
3198
+ syntax: "<length>";
3199
+ inherits: false;
3200
+ initial-value: 1.5px;
3201
+ }
3202
+
3203
+ @property --kds-dimension-chart-segment-gap {
3204
+ syntax: "<length>";
3205
+ inherits: false;
3206
+ initial-value: 0.75px;
3207
+ }
3208
+
3017
3209
  @property --kds-font-base-display-xsmall {
3018
3210
  syntax: "<string>";
3019
3211
  inherits: true;
@@ -3380,6 +3572,48 @@ syntax: "<string>";
3380
3572
  initial-value: 700 10px/1.5 Roboto, sans-serif;
3381
3573
  }
3382
3574
 
3575
+ @property --kds-font-chart-title {
3576
+ syntax: "<string>";
3577
+ inherits: true;
3578
+ initial-value: 700 18px/normal Roboto, sans-serif;
3579
+ }
3580
+
3581
+ @property --kds-font-chart-subtitle {
3582
+ syntax: "<string>";
3583
+ inherits: true;
3584
+ initial-value: 400 12px/1.5 Roboto, sans-serif;
3585
+ }
3586
+
3587
+ @property --kds-font-chart-axis-name {
3588
+ syntax: "<string>";
3589
+ inherits: true;
3590
+ initial-value: 400 12px/1.5 Roboto, sans-serif;
3591
+ }
3592
+
3593
+ @property --kds-font-chart-axis-label {
3594
+ syntax: "<string>";
3595
+ inherits: true;
3596
+ initial-value: 500 11px/normal Roboto, sans-serif;
3597
+ }
3598
+
3599
+ @property --kds-font-chart-legend {
3600
+ syntax: "<string>";
3601
+ inherits: true;
3602
+ initial-value: 500 11px/normal Roboto, sans-serif;
3603
+ }
3604
+
3605
+ @property --kds-font-chart-tooltip {
3606
+ syntax: "<string>";
3607
+ inherits: true;
3608
+ initial-value: 400 12px/1.5 Roboto, sans-serif;
3609
+ }
3610
+
3611
+ @property --kds-font-chart-label {
3612
+ syntax: "<string>";
3613
+ inherits: true;
3614
+ initial-value: 400 10px/normal Roboto, sans-serif;
3615
+ }
3616
+
3383
3617
  @property --kds-elevation-level-0 {
3384
3618
  syntax: "<string>";
3385
3619
  inherits: false;
@@ -51,9 +51,6 @@
51
51
  --kds-color-background-static-success-muted: hsl(125.38 64.795% 97.496%);
52
52
  --kds-color-background-static-brand: hsl(50.8, 100%, 50%);
53
53
  --kds-color-background-static-overlay: hsl(0, 0%, 12.9%);
54
- --kds-color-background-static-chart-0: hsl(0, 0%, 94.1%);
55
- --kds-color-background-static-chart-1: hsl(176.1, 66.7%, 22.4%);
56
- --kds-color-background-static-chart-2: hsl(171.8, 27%, 47.8%);
57
54
  --kds-color-text-and-icon-neutral: hsl(0, 0%, 15.7%);
58
55
  --kds-color-text-and-icon-muted: hsl(0, 0%, 32.2%);
59
56
  --kds-color-text-and-icon-subtle: hsl(0, 0%, 43%);
@@ -97,6 +94,39 @@
97
94
  --kds-color-focus-outline: hsl(209.4, 57.3%, 49.6%);
98
95
  --kds-color-focus-background: hsl(215.7 100% 91.8% / 0.4);
99
96
  --kds-color-blanket-default: hsl(345 0% 11.4% / 0.8);
97
+ --kds-color-chart-data-series-1: hsl(173.4, 37.1%, 38.6%);
98
+ --kds-color-chart-data-series-2: hsl(211.3, 67.3%, 59.2%);
99
+ --kds-color-chart-data-series-3: hsl(359.6, 84.3%, 62.5%);
100
+ --kds-color-chart-data-series-4: hsl(0, 0%, 22%);
101
+ --kds-color-chart-data-series-5: hsl(28, 39%, 50%);
102
+ --kds-color-chart-data-series-6: hsl(208.2, 62.9%, 41.2%);
103
+ --kds-color-chart-data-series-7: hsl(71.1, 46.3%, 32.2%);
104
+ --kds-color-chart-data-series-8: hsl(308.3, 31.6%, 55.3%);
105
+ --kds-color-chart-data-series-9: hsl(193.1, 60.2%, 43.3%);
106
+ --kds-color-chart-data-track: hsl(0, 0%, 94.1%);
107
+ --kds-color-chart-status-positive: hsl(107.4, 42.2%, 44.1%);
108
+ --kds-color-chart-status-negative: hsl(356.3, 76.8%, 54.3%);
109
+ --kds-color-chart-status-warning: hsl(19, 63.1%, 38.2%);
110
+ --kds-color-chart-status-error: hsl(348.8, 90.9%, 34.5%);
111
+ --kds-color-chart-scaffolding-axis: hsl(330 0% 10.2% / 0.2);
112
+ --kds-color-chart-scaffolding-grid: hsl(330 0% 10.2% / 0.1);
113
+ --kds-color-chart-scaffolding-border: hsl(330 0% 10.2% / 0.1);
114
+ --kds-color-chart-scaffolding-segment: hsl(0, 0%, 98%);
115
+ --kds-color-chart-scaffolding-surface: hsl(0, 0%, 98%);
116
+ --kds-color-chart-scaffolding-tooltip-surface: hsl(0, 0%, 12.9%);
117
+ --kds-color-chart-control-default: hsl(0, 0%, 43%);
118
+ --kds-color-chart-control-hover: hsl(0, 0%, 15.7%);
119
+ --kds-color-chart-control-selected: hsl(0, 0%, 18.8%);
120
+ --kds-color-chart-control-disabled: hsl(0, 0%, 64%);
121
+ --kds-color-chart-text-title: hsl(0, 0%, 15.7%);
122
+ --kds-color-chart-text-subtitle: hsl(0, 0%, 43%);
123
+ --kds-color-chart-text-axis-name: hsl(0, 0%, 43%);
124
+ --kds-color-chart-text-axis-label: hsl(0, 0%, 43%);
125
+ --kds-color-chart-text-legend: hsl(0, 0%, 15.7%);
126
+ --kds-color-chart-text-tooltip: hsl(0, 0%, 98%);
127
+ --kds-color-chart-text-label: hsl(0, 0%, 15.7%);
128
+ --kds-color-chart-text-on-fill-dark: hsl(0, 0%, 15.7%);
129
+ --kds-color-chart-text-on-fill-light: hsl(0, 0%, 98%);
100
130
  --kds-color-nodes-and-variables-flow-variable: hsl(359.6, 84.3%, 62.5%);
101
131
  --kds-color-nodes-and-variables-loop: hsl(187.7, 51.7%, 76.5%);
102
132
  --kds-color-nodes-and-variables-manipulator: hsl(50.8, 100%, 50%);
@@ -250,9 +250,6 @@
250
250
  --kds-color-background-static-success-muted: light-dark(hsl(125.38 64.795% 97.496%), hsl(128.3 38.542% 10.352%));
251
251
  --kds-color-background-static-brand: hsl(50.8, 100%, 50%);
252
252
  --kds-color-background-static-overlay: light-dark(hsl(0, 0%, 12.9%), hsl(0, 0%, 22%));
253
- --kds-color-background-static-chart-0: light-dark(hsl(0, 0%, 94.1%), hsl(0, 0%, 32.2%));
254
- --kds-color-background-static-chart-1: light-dark(hsl(176.1, 66.7%, 22.4%), hsl(173.4, 37.1%, 38.6%));
255
- --kds-color-background-static-chart-2: light-dark(hsl(171.8, 27%, 47.8%), hsl(176.1, 66.7%, 22.4%));
256
253
  --kds-color-text-and-icon-neutral: light-dark(hsl(0, 0%, 15.7%), hsl(0, 0%, 94.1%));
257
254
  --kds-color-text-and-icon-muted: light-dark(hsl(0, 0%, 32.2%), hsl(0, 0%, 90.2%));
258
255
  --kds-color-text-and-icon-subtle: light-dark(hsl(0, 0%, 43%), hsl(0, 0%, 72.5%));
@@ -296,6 +293,39 @@
296
293
  --kds-color-focus-outline: light-dark(hsl(209.4, 57.3%, 49.6%), hsl(213.6, 91.6%, 76.7%));
297
294
  --kds-color-focus-background: light-dark(hsl(215.7 100% 91.8% / 0.4), hsl(209.4 49.5% 20.2% / 0.5));
298
295
  --kds-color-blanket-default: hsl(345 0% 11.4% / 0.8);
296
+ --kds-color-chart-data-series-1: light-dark(hsl(173.4, 37.1%, 38.6%), hsl(169.8, 30.6%, 66.1%));
297
+ --kds-color-chart-data-series-2: light-dark(hsl(211.3, 67.3%, 59.2%), hsl(213.6, 91.6%, 76.7%));
298
+ --kds-color-chart-data-series-3: light-dark(hsl(359.6, 84.3%, 62.5%), hsl(2.6, 100%, 72.4%));
299
+ --kds-color-chart-data-series-4: light-dark(hsl(0, 0%, 22%), hsl(0, 0%, 72.5%));
300
+ --kds-color-chart-data-series-5: light-dark(hsl(28, 39%, 50%), hsl(30, 47%, 68%));
301
+ --kds-color-chart-data-series-6: light-dark(hsl(208.2, 62.9%, 41.2%), hsl(209.4, 57.3%, 49.6%));
302
+ --kds-color-chart-data-series-7: light-dark(hsl(71.1, 46.3%, 32.2%), hsl(68.6, 61.0%, 47.3%));
303
+ --kds-color-chart-data-series-8: light-dark(hsl(308.3, 31.6%, 55.3%), hsl(316.1, 40.6%, 72.9%));
304
+ --kds-color-chart-data-series-9: light-dark(hsl(193.1, 60.2%, 43.3%), hsl(191.3, 57.1%, 54.3%));
305
+ --kds-color-chart-data-track: light-dark(hsl(0, 0%, 94.1%), hsl(0, 0%, 32.2%));
306
+ --kds-color-chart-status-positive: light-dark(hsl(107.4, 42.2%, 44.1%), hsl(109, 47.2%, 61.4%));
307
+ --kds-color-chart-status-negative: light-dark(hsl(356.3, 76.8%, 54.3%), hsl(0, 100%, 66.1%));
308
+ --kds-color-chart-status-warning: light-dark(hsl(19, 63.1%, 38.2%), hsl(31.2, 82.8%, 65.9%));
309
+ --kds-color-chart-status-error: light-dark(hsl(348.8, 90.9%, 34.5%), hsl(3.5, 100%, 79.6%));
310
+ --kds-color-chart-scaffolding-axis: light-dark(hsl(330 0% 10.2% / 0.2), hsl(330 0% 99% / 0.2));
311
+ --kds-color-chart-scaffolding-grid: light-dark(hsl(330 0% 10.2% / 0.1), hsl(330 0% 99% / 0.1));
312
+ --kds-color-chart-scaffolding-border: light-dark(hsl(330 0% 10.2% / 0.1), hsl(330 0% 99% / 0.1));
313
+ --kds-color-chart-scaffolding-segment: light-dark(hsl(0, 0%, 98%), hsl(0, 0%, 15.7%));
314
+ --kds-color-chart-scaffolding-surface: light-dark(hsl(0, 0%, 98%), hsl(0, 0%, 15.7%));
315
+ --kds-color-chart-scaffolding-tooltip-surface: light-dark(hsl(0, 0%, 12.9%), hsl(0, 0%, 22%));
316
+ --kds-color-chart-control-default: light-dark(hsl(0, 0%, 43%), hsl(0, 0%, 72.5%));
317
+ --kds-color-chart-control-hover: light-dark(hsl(0, 0%, 15.7%), hsl(0, 0%, 94.1%));
318
+ --kds-color-chart-control-selected: light-dark(hsl(174.4, 47.8%, 30.8%), hsl(176.1, 66.7%, 22.4%));
319
+ --kds-color-chart-control-disabled: light-dark(hsl(0, 0%, 64%), hsl(0, 0%, 48.2%));
320
+ --kds-color-chart-text-title: light-dark(hsl(0, 0%, 15.7%), hsl(0, 0%, 94.1%));
321
+ --kds-color-chart-text-subtitle: light-dark(hsl(0, 0%, 43%), hsl(0, 0%, 72.5%));
322
+ --kds-color-chart-text-axis-name: light-dark(hsl(0, 0%, 43%), hsl(0, 0%, 72.5%));
323
+ --kds-color-chart-text-axis-label: light-dark(hsl(0, 0%, 43%), hsl(0, 0%, 72.5%));
324
+ --kds-color-chart-text-legend: light-dark(hsl(0, 0%, 15.7%), hsl(0, 0%, 94.1%));
325
+ --kds-color-chart-text-tooltip: light-dark(hsl(0, 0%, 98%), hsl(0, 0%, 94.1%));
326
+ --kds-color-chart-text-label: light-dark(hsl(0, 0%, 15.7%), hsl(0, 0%, 94.1%));
327
+ --kds-color-chart-text-on-fill-dark: hsl(0, 0%, 15.7%);
328
+ --kds-color-chart-text-on-fill-light: hsl(0, 0%, 98%);
299
329
  --kds-color-nodes-and-variables-flow-variable: light-dark(hsl(359.6, 84.3%, 62.5%), hsl(0, 100%, 66.1%));
300
330
  --kds-color-nodes-and-variables-loop: hsl(187.7, 51.7%, 76.5%);
301
331
  --kds-color-nodes-and-variables-manipulator: hsl(50.8, 100%, 50%);
@@ -505,6 +535,8 @@
505
535
  --kds-dimension-icon-0-75x: 12px;
506
536
  --kds-dimension-icon-1x: 16px;
507
537
  --kds-dimension-icon-1-25x: 20px;
538
+ --kds-dimension-chart-line-width: 1.5px;
539
+ --kds-dimension-chart-segment-gap: 0.75px;
508
540
  --kds-font-base-display-xsmall: 700 18px/normal Roboto, sans-serif;
509
541
  --kds-font-base-display-small: 700 20px/normal Roboto, sans-serif;
510
542
  --kds-font-base-display-medium: 700 24px/normal Roboto, sans-serif;
@@ -566,6 +598,13 @@
566
598
  --kds-font-dataapp-h6: 700 13px/1.5 Roboto, sans-serif;
567
599
  --kds-font-dataapp-body: 700 13px/1.5 Roboto, sans-serif;
568
600
  --kds-font-dataapp-body-small: 700 10px/1.5 Roboto, sans-serif;
601
+ --kds-font-chart-title: 700 18px/normal Roboto, sans-serif;
602
+ --kds-font-chart-subtitle: 400 12px/1.5 Roboto, sans-serif;
603
+ --kds-font-chart-axis-name: 400 12px/1.5 Roboto, sans-serif;
604
+ --kds-font-chart-axis-label: 500 11px/normal Roboto, sans-serif;
605
+ --kds-font-chart-legend: 500 11px/normal Roboto, sans-serif;
606
+ --kds-font-chart-tooltip: 400 12px/1.5 Roboto, sans-serif;
607
+ --kds-font-chart-label: 400 10px/normal Roboto, sans-serif;
569
608
  --kds-elevation-level-0: 0 0 0 0 light-dark(hsl(210 0% 72.5% / 0.32), hsl(330 0% 10.2% / 0.9));
570
609
  --kds-elevation-level-1: 0 1px 1px 0 light-dark(hsl(210 0% 72.5% / 0.32), hsl(330 0% 10.2% / 0.9)), 0 0 1px 0 light-dark(hsl(180 0% 32.2% / 0.14), hsl(330 0% 10.2% / 0.94)), 0 0 8px 0 light-dark(hsl(180 0% 32.2% / 0.12), hsl(330 0% 10.2% / 0.98));
571
610
  --kds-elevation-level-3: 0 2px 4px 0 light-dark(hsl(210 0% 72.5% / 0.32), hsl(330 0% 10.2% / 0.9)), 0 4px 8px 0 light-dark(hsl(180 0% 32.2% / 0.14), hsl(330 0% 10.2% / 0.94)), 0 0 20px 0 light-dark(hsl(180 0% 32.2% / 0.12), hsl(330 0% 10.2% / 0.98));
@@ -227,18 +227,6 @@ export type KdsColorTokens = {
227
227
  * Background color for content overlay, like tooltip.
228
228
  */
229
229
  readonly overlay: KdsColor;
230
- /**
231
- * Color used for charts (Track color, Empty Value).
232
- */
233
- readonly "chart-0": KdsColor;
234
- /**
235
- * Color used for donut charts (Current Value).
236
- */
237
- readonly "chart-1": KdsColor;
238
- /**
239
- * Color used for donut charts (Added Value).
240
- */
241
- readonly "chart-2": KdsColor;
242
230
  };
243
231
  readonly "text-and-icon": {
244
232
  /**
@@ -420,6 +408,150 @@ export type KdsColorTokens = {
420
408
  */
421
409
  readonly default: KdsColor;
422
410
  };
411
+ readonly chart: {
412
+ readonly data: {
413
+ /**
414
+ * Categorical series 1 — Okabe–Ito bluish green, brand anchor. Contrast ≥3:1 on chart-surface.
415
+ */
416
+ readonly "series-1": KdsColor;
417
+ /**
418
+ * Categorical series 2 — Okabe–Ito sky blue. Contrast ≥3:1 on chart-surface.
419
+ */
420
+ readonly "series-2": KdsColor;
421
+ /**
422
+ * Categorical series 3 — Okabe–Ito vermillion. Contrast ≥3:1 on chart-surface.
423
+ */
424
+ readonly "series-3": KdsColor;
425
+ /**
426
+ * Categorical series 4 — Okabe–Ito black, separator between vivid hues. Contrast ≥3:1 on chart-surface.
427
+ */
428
+ readonly "series-4": KdsColor;
429
+ /**
430
+ * Categorical series 5 — Okabe–Ito amber as tan. Contrast ≥3:1 on chart-surface.
431
+ */
432
+ readonly "series-5": KdsColor;
433
+ /**
434
+ * Categorical series 6 — Okabe–Ito blue. Contrast ≥3:1 on chart-surface.
435
+ */
436
+ readonly "series-6": KdsColor;
437
+ /**
438
+ * Categorical series 7 — Okabe–Ito yellow as yellow-leaning green. Contrast ≥3:1 on chart-surface.
439
+ */
440
+ readonly "series-7": KdsColor;
441
+ /**
442
+ * Categorical series 8 — Okabe–Ito reddish purple. Contrast ≥3:1 on chart-surface.
443
+ */
444
+ readonly "series-8": KdsColor;
445
+ /**
446
+ * Categorical series 9 — Okabe–Ito cyan, extension. Contrast ≥3:1 on chart-surface.
447
+ */
448
+ readonly "series-9": KdsColor;
449
+ /**
450
+ * Remaining / empty / context fill behind highlighted data (was background-static.chart-0, values unchanged).
451
+ */
452
+ readonly track: KdsColor;
453
+ };
454
+ readonly status: {
455
+ /**
456
+ * Directional up / gain. Same family as text-and-icon.success, fill weight class.
457
+ */
458
+ readonly positive: KdsColor;
459
+ /**
460
+ * Directional down / loss. Deliberately offset from chart.error so a falling value doesn't read as a breach.
461
+ */
462
+ readonly negative: KdsColor;
463
+ /**
464
+ * Approaching-limit line, marker, label on data. Pure alias.
465
+ */
466
+ readonly warning: KdsColor;
467
+ /**
468
+ * Breach bracket, dot, overage figure on data. Pure alias.
469
+ */
470
+ readonly error: KdsColor;
471
+ };
472
+ readonly scaffolding: {
473
+ /**
474
+ * Axis lines, ticks, axis pointer, mark lines. Pure alias.
475
+ */
476
+ readonly axis: KdsColor;
477
+ /**
478
+ * Gridlines, gauge track. Pure alias.
479
+ */
480
+ readonly grid: KdsColor;
481
+ /**
482
+ * Item borders (scatter, boxplot, graph). Pure alias.
483
+ */
484
+ readonly border: KdsColor;
485
+ /**
486
+ * Separator stroke between touching segments (pie, donut, stacked bar, nightingale, theme river). Alias to border.transparent to disable. Width: dimension.chart.segment-gap.
487
+ */
488
+ readonly segment: KdsColor;
489
+ /**
490
+ * Chart background and contrast reference for the series ramp. Pure alias.
491
+ */
492
+ readonly surface: KdsColor;
493
+ /**
494
+ * Tooltip background. Pure alias — overlay is the designated content-overlay color.
495
+ */
496
+ readonly "tooltip-surface": KdsColor;
497
+ };
498
+ readonly control: {
499
+ /**
500
+ * Chart control at rest — toolbox icon stroke, dataZoom handle, timeline control. Pure alias.
501
+ */
502
+ readonly default: KdsColor;
503
+ /**
504
+ * Chart control on hover / emphasis, legend pager. Pure alias.
505
+ */
506
+ readonly hover: KdsColor;
507
+ /**
508
+ * Active toolbox feature (magic type, brush, data view). Pure alias.
509
+ */
510
+ readonly selected: KdsColor;
511
+ /**
512
+ * Inactive control — legend pager at range end. Pure alias.
513
+ */
514
+ readonly disabled: KdsColor;
515
+ };
516
+ readonly text: {
517
+ /**
518
+ * Chart title. Pure alias.
519
+ */
520
+ readonly title: KdsColor;
521
+ /**
522
+ * Chart subtitle. Pure alias.
523
+ */
524
+ readonly subtitle: KdsColor;
525
+ /**
526
+ * Axis name. Pure alias.
527
+ */
528
+ readonly "axis-name": KdsColor;
529
+ /**
530
+ * Axis tick labels. Pure alias.
531
+ */
532
+ readonly "axis-label": KdsColor;
533
+ /**
534
+ * Legend labels. Pure alias.
535
+ */
536
+ readonly legend: KdsColor;
537
+ /**
538
+ * Tooltip text. Direct core: the overlay surface stays dark in BOTH modes (neutral.725 light / neutral.475 dark), so tooltip text must be light in both — neutral-inverted would flip the wrong way in the dark set.
539
+ */
540
+ readonly tooltip: KdsColor;
541
+ /**
542
+ * Data labels rendered on the chart surface. Pure alias.
543
+ */
544
+ readonly label: KdsColor;
545
+ /**
546
+ * Dark ink for labels on light fills. Mode-independent; renderer picks per segment whichever on-fill ink has higher contrast on the resolved fill.
547
+ */
548
+ readonly "on-fill-dark": KdsColor;
549
+ /**
550
+ * Light ink for labels on dark fills. Mode-independent counterpart of on-fill-dark.
551
+ */
552
+ readonly "on-fill-light": KdsColor;
553
+ };
554
+ };
423
555
  readonly "nodes-and-variables": {
424
556
  /**
425
557
  * Specific color for Nodes and Variables.
@@ -418,30 +418,6 @@ export const color = {
418
418
  variable: "var(--kds-color-background-static-overlay)",
419
419
  },
420
420
  },
421
- "chart-0": {
422
- light: { h: 0, s: 0, l: 94.1, alpha: 1 },
423
- dark: { h: 0, s: 0, l: 32.2, alpha: 1 },
424
- css: {
425
- value: "light-dark(hsl(0, 0%, 94.1%), hsl(0, 0%, 32.2%))",
426
- variable: "var(--kds-color-background-static-chart-0)",
427
- },
428
- },
429
- "chart-1": {
430
- light: { h: 176.1, s: 66.7, l: 22.4, alpha: 1 },
431
- dark: { h: 173.4, s: 37.1, l: 38.6, alpha: 1 },
432
- css: {
433
- value: "light-dark(hsl(176.1, 66.7%, 22.4%), hsl(173.4, 37.1%, 38.6%))",
434
- variable: "var(--kds-color-background-static-chart-1)",
435
- },
436
- },
437
- "chart-2": {
438
- light: { h: 171.8, s: 27, l: 47.8, alpha: 1 },
439
- dark: { h: 176.1, s: 66.7, l: 22.4, alpha: 1 },
440
- css: {
441
- value: "light-dark(hsl(171.8, 27%, 47.8%), hsl(176.1, 66.7%, 22.4%))",
442
- variable: "var(--kds-color-background-static-chart-2)",
443
- },
444
- },
445
421
  },
446
422
  "text-and-icon": {
447
423
  neutral: {
@@ -795,6 +771,282 @@ export const color = {
795
771
  },
796
772
  },
797
773
  },
774
+ chart: {
775
+ data: {
776
+ "series-1": {
777
+ light: { h: 173.4, s: 37.1, l: 38.6, alpha: 1 },
778
+ dark: { h: 169.8, s: 30.6, l: 66.1, alpha: 1 },
779
+ css: {
780
+ value: "light-dark(hsl(173.4, 37.1%, 38.6%), hsl(169.8, 30.6%, 66.1%))",
781
+ variable: "var(--kds-color-chart-data-series-1)",
782
+ },
783
+ },
784
+ "series-2": {
785
+ light: { h: 211.3, s: 67.3, l: 59.2, alpha: 1 },
786
+ dark: { h: 213.6, s: 91.6, l: 76.7, alpha: 1 },
787
+ css: {
788
+ value: "light-dark(hsl(211.3, 67.3%, 59.2%), hsl(213.6, 91.6%, 76.7%))",
789
+ variable: "var(--kds-color-chart-data-series-2)",
790
+ },
791
+ },
792
+ "series-3": {
793
+ light: { h: 359.6, s: 84.3, l: 62.5, alpha: 1 },
794
+ dark: { h: 2.6, s: 100, l: 72.4, alpha: 1 },
795
+ css: {
796
+ value: "light-dark(hsl(359.6, 84.3%, 62.5%), hsl(2.6, 100%, 72.4%))",
797
+ variable: "var(--kds-color-chart-data-series-3)",
798
+ },
799
+ },
800
+ "series-4": {
801
+ light: { h: 0, s: 0, l: 22, alpha: 1 },
802
+ dark: { h: 0, s: 0, l: 72.5, alpha: 1 },
803
+ css: {
804
+ value: "light-dark(hsl(0, 0%, 22%), hsl(0, 0%, 72.5%))",
805
+ variable: "var(--kds-color-chart-data-series-4)",
806
+ },
807
+ },
808
+ "series-5": {
809
+ light: { h: 28, s: 39, l: 50, alpha: 1 },
810
+ dark: { h: 30, s: 47, l: 68, alpha: 1 },
811
+ css: {
812
+ value: "light-dark(hsl(28, 39%, 50%), hsl(30, 47%, 68%))",
813
+ variable: "var(--kds-color-chart-data-series-5)",
814
+ },
815
+ },
816
+ "series-6": {
817
+ light: { h: 208.2, s: 62.9, l: 41.2, alpha: 1 },
818
+ dark: { h: 209.4, s: 57.3, l: 49.6, alpha: 1 },
819
+ css: {
820
+ value: "light-dark(hsl(208.2, 62.9%, 41.2%), hsl(209.4, 57.3%, 49.6%))",
821
+ variable: "var(--kds-color-chart-data-series-6)",
822
+ },
823
+ },
824
+ "series-7": {
825
+ light: { h: 71.1, s: 46.3, l: 32.2, alpha: 1 },
826
+ dark: { h: 68.6, s: 61, l: 47.3, alpha: 1 },
827
+ css: {
828
+ value: "light-dark(hsl(71.1, 46.3%, 32.2%), hsl(68.6, 61.0%, 47.3%))",
829
+ variable: "var(--kds-color-chart-data-series-7)",
830
+ },
831
+ },
832
+ "series-8": {
833
+ light: { h: 308.3, s: 31.6, l: 55.3, alpha: 1 },
834
+ dark: { h: 316.1, s: 40.6, l: 72.9, alpha: 1 },
835
+ css: {
836
+ value: "light-dark(hsl(308.3, 31.6%, 55.3%), hsl(316.1, 40.6%, 72.9%))",
837
+ variable: "var(--kds-color-chart-data-series-8)",
838
+ },
839
+ },
840
+ "series-9": {
841
+ light: { h: 193.1, s: 60.2, l: 43.3, alpha: 1 },
842
+ dark: { h: 191.3, s: 57.1, l: 54.3, alpha: 1 },
843
+ css: {
844
+ value: "light-dark(hsl(193.1, 60.2%, 43.3%), hsl(191.3, 57.1%, 54.3%))",
845
+ variable: "var(--kds-color-chart-data-series-9)",
846
+ },
847
+ },
848
+ track: {
849
+ light: { h: 0, s: 0, l: 94.1, alpha: 1 },
850
+ dark: { h: 0, s: 0, l: 32.2, alpha: 1 },
851
+ css: {
852
+ value: "light-dark(hsl(0, 0%, 94.1%), hsl(0, 0%, 32.2%))",
853
+ variable: "var(--kds-color-chart-data-track)",
854
+ },
855
+ },
856
+ },
857
+ status: {
858
+ positive: {
859
+ light: { h: 107.4, s: 42.2, l: 44.1, alpha: 1 },
860
+ dark: { h: 109, s: 47.2, l: 61.4, alpha: 1 },
861
+ css: {
862
+ value: "light-dark(hsl(107.4, 42.2%, 44.1%), hsl(109, 47.2%, 61.4%))",
863
+ variable: "var(--kds-color-chart-status-positive)",
864
+ },
865
+ },
866
+ negative: {
867
+ light: { h: 356.3, s: 76.8, l: 54.3, alpha: 1 },
868
+ dark: { h: 0, s: 100, l: 66.1, alpha: 1 },
869
+ css: {
870
+ value: "light-dark(hsl(356.3, 76.8%, 54.3%), hsl(0, 100%, 66.1%))",
871
+ variable: "var(--kds-color-chart-status-negative)",
872
+ },
873
+ },
874
+ warning: {
875
+ light: { h: 19, s: 63.1, l: 38.2, alpha: 1 },
876
+ dark: { h: 31.2, s: 82.8, l: 65.9, alpha: 1 },
877
+ css: {
878
+ value: "light-dark(hsl(19, 63.1%, 38.2%), hsl(31.2, 82.8%, 65.9%))",
879
+ variable: "var(--kds-color-chart-status-warning)",
880
+ },
881
+ },
882
+ error: {
883
+ light: { h: 348.8, s: 90.9, l: 34.5, alpha: 1 },
884
+ dark: { h: 3.5, s: 100, l: 79.6, alpha: 1 },
885
+ css: {
886
+ value: "light-dark(hsl(348.8, 90.9%, 34.5%), hsl(3.5, 100%, 79.6%))",
887
+ variable: "var(--kds-color-chart-status-error)",
888
+ },
889
+ },
890
+ },
891
+ scaffolding: {
892
+ axis: {
893
+ light: { h: 330, s: 0, l: 10.2, alpha: 0.2 },
894
+ dark: { h: 330, s: 0, l: 99, alpha: 0.2 },
895
+ css: {
896
+ value: "light-dark(hsl(330 0% 10.2% / 0.2), hsl(330 0% 99% / 0.2))",
897
+ variable: "var(--kds-color-chart-scaffolding-axis)",
898
+ },
899
+ },
900
+ grid: {
901
+ light: { h: 330, s: 0, l: 10.2, alpha: 0.1 },
902
+ dark: { h: 330, s: 0, l: 99, alpha: 0.1 },
903
+ css: {
904
+ value: "light-dark(hsl(330 0% 10.2% / 0.1), hsl(330 0% 99% / 0.1))",
905
+ variable: "var(--kds-color-chart-scaffolding-grid)",
906
+ },
907
+ },
908
+ border: {
909
+ light: { h: 330, s: 0, l: 10.2, alpha: 0.1 },
910
+ dark: { h: 330, s: 0, l: 99, alpha: 0.1 },
911
+ css: {
912
+ value: "light-dark(hsl(330 0% 10.2% / 0.1), hsl(330 0% 99% / 0.1))",
913
+ variable: "var(--kds-color-chart-scaffolding-border)",
914
+ },
915
+ },
916
+ segment: {
917
+ light: { h: 0, s: 0, l: 98, alpha: 1 },
918
+ dark: { h: 0, s: 0, l: 15.7, alpha: 1 },
919
+ css: {
920
+ value: "light-dark(hsl(0, 0%, 98%), hsl(0, 0%, 15.7%))",
921
+ variable: "var(--kds-color-chart-scaffolding-segment)",
922
+ },
923
+ },
924
+ surface: {
925
+ light: { h: 0, s: 0, l: 98, alpha: 1 },
926
+ dark: { h: 0, s: 0, l: 15.7, alpha: 1 },
927
+ css: {
928
+ value: "light-dark(hsl(0, 0%, 98%), hsl(0, 0%, 15.7%))",
929
+ variable: "var(--kds-color-chart-scaffolding-surface)",
930
+ },
931
+ },
932
+ "tooltip-surface": {
933
+ light: { h: 0, s: 0, l: 12.9, alpha: 1 },
934
+ dark: { h: 0, s: 0, l: 22, alpha: 1 },
935
+ css: {
936
+ value: "light-dark(hsl(0, 0%, 12.9%), hsl(0, 0%, 22%))",
937
+ variable: "var(--kds-color-chart-scaffolding-tooltip-surface)",
938
+ },
939
+ },
940
+ },
941
+ control: {
942
+ default: {
943
+ light: { h: 0, s: 0, l: 43, alpha: 1 },
944
+ dark: { h: 0, s: 0, l: 72.5, alpha: 1 },
945
+ css: {
946
+ value: "light-dark(hsl(0, 0%, 43%), hsl(0, 0%, 72.5%))",
947
+ variable: "var(--kds-color-chart-control-default)",
948
+ },
949
+ },
950
+ hover: {
951
+ light: { h: 0, s: 0, l: 15.7, alpha: 1 },
952
+ dark: { h: 0, s: 0, l: 94.1, alpha: 1 },
953
+ css: {
954
+ value: "light-dark(hsl(0, 0%, 15.7%), hsl(0, 0%, 94.1%))",
955
+ variable: "var(--kds-color-chart-control-hover)",
956
+ },
957
+ },
958
+ selected: {
959
+ light: { h: 174.4, s: 47.8, l: 30.8, alpha: 1 },
960
+ dark: { h: 176.1, s: 66.7, l: 22.4, alpha: 1 },
961
+ css: {
962
+ value: "light-dark(hsl(174.4, 47.8%, 30.8%), hsl(176.1, 66.7%, 22.4%))",
963
+ variable: "var(--kds-color-chart-control-selected)",
964
+ },
965
+ },
966
+ disabled: {
967
+ light: { h: 0, s: 0, l: 64, alpha: 1 },
968
+ dark: { h: 0, s: 0, l: 48.2, alpha: 1 },
969
+ css: {
970
+ value: "light-dark(hsl(0, 0%, 64%), hsl(0, 0%, 48.2%))",
971
+ variable: "var(--kds-color-chart-control-disabled)",
972
+ },
973
+ },
974
+ },
975
+ text: {
976
+ title: {
977
+ light: { h: 0, s: 0, l: 15.7, alpha: 1 },
978
+ dark: { h: 0, s: 0, l: 94.1, alpha: 1 },
979
+ css: {
980
+ value: "light-dark(hsl(0, 0%, 15.7%), hsl(0, 0%, 94.1%))",
981
+ variable: "var(--kds-color-chart-text-title)",
982
+ },
983
+ },
984
+ subtitle: {
985
+ light: { h: 0, s: 0, l: 43, alpha: 1 },
986
+ dark: { h: 0, s: 0, l: 72.5, alpha: 1 },
987
+ css: {
988
+ value: "light-dark(hsl(0, 0%, 43%), hsl(0, 0%, 72.5%))",
989
+ variable: "var(--kds-color-chart-text-subtitle)",
990
+ },
991
+ },
992
+ "axis-name": {
993
+ light: { h: 0, s: 0, l: 43, alpha: 1 },
994
+ dark: { h: 0, s: 0, l: 72.5, alpha: 1 },
995
+ css: {
996
+ value: "light-dark(hsl(0, 0%, 43%), hsl(0, 0%, 72.5%))",
997
+ variable: "var(--kds-color-chart-text-axis-name)",
998
+ },
999
+ },
1000
+ "axis-label": {
1001
+ light: { h: 0, s: 0, l: 43, alpha: 1 },
1002
+ dark: { h: 0, s: 0, l: 72.5, alpha: 1 },
1003
+ css: {
1004
+ value: "light-dark(hsl(0, 0%, 43%), hsl(0, 0%, 72.5%))",
1005
+ variable: "var(--kds-color-chart-text-axis-label)",
1006
+ },
1007
+ },
1008
+ legend: {
1009
+ light: { h: 0, s: 0, l: 15.7, alpha: 1 },
1010
+ dark: { h: 0, s: 0, l: 94.1, alpha: 1 },
1011
+ css: {
1012
+ value: "light-dark(hsl(0, 0%, 15.7%), hsl(0, 0%, 94.1%))",
1013
+ variable: "var(--kds-color-chart-text-legend)",
1014
+ },
1015
+ },
1016
+ tooltip: {
1017
+ light: { h: 0, s: 0, l: 98, alpha: 1 },
1018
+ dark: { h: 0, s: 0, l: 94.1, alpha: 1 },
1019
+ css: {
1020
+ value: "light-dark(hsl(0, 0%, 98%), hsl(0, 0%, 94.1%))",
1021
+ variable: "var(--kds-color-chart-text-tooltip)",
1022
+ },
1023
+ },
1024
+ label: {
1025
+ light: { h: 0, s: 0, l: 15.7, alpha: 1 },
1026
+ dark: { h: 0, s: 0, l: 94.1, alpha: 1 },
1027
+ css: {
1028
+ value: "light-dark(hsl(0, 0%, 15.7%), hsl(0, 0%, 94.1%))",
1029
+ variable: "var(--kds-color-chart-text-label)",
1030
+ },
1031
+ },
1032
+ "on-fill-dark": {
1033
+ light: { h: 0, s: 0, l: 15.7, alpha: 1 },
1034
+ dark: { h: 0, s: 0, l: 15.7, alpha: 1 },
1035
+ css: {
1036
+ value: "hsl(0, 0%, 15.7%)",
1037
+ variable: "var(--kds-color-chart-text-on-fill-dark)",
1038
+ },
1039
+ },
1040
+ "on-fill-light": {
1041
+ light: { h: 0, s: 0, l: 98, alpha: 1 },
1042
+ dark: { h: 0, s: 0, l: 98, alpha: 1 },
1043
+ css: {
1044
+ value: "hsl(0, 0%, 98%)",
1045
+ variable: "var(--kds-color-chart-text-on-fill-light)",
1046
+ },
1047
+ },
1048
+ },
1049
+ },
798
1050
  "nodes-and-variables": {
799
1051
  "flow-variable": {
800
1052
  light: { h: 359.6, s: 84.3, l: 62.5, alpha: 1 },
@@ -192,5 +192,15 @@ export type KdsDimensionTokens = {
192
192
  */
193
193
  readonly "1.25x": KdsDimension;
194
194
  };
195
+ readonly chart: {
196
+ /**
197
+ * Chart data stroke (1.5px). Line series, candlestick borders, radar lines. Below the 2px core border max — a data stroke is not a border.
198
+ */
199
+ readonly "line-width": KdsDimension;
200
+ /**
201
+ * Separator stroke width (0.75px) between touching segments — pie, donut, stacked bar, nightingale, theme river. Color: kds.color.chart.segment. Guarantees adjacent-segment distinction where hue contrast alone fails (WCAG 1.4.11 non-text contrast).
202
+ */
203
+ readonly "segment-gap": KdsDimension;
204
+ };
195
205
  };
196
206
  export declare const dimension: KdsDimensionTokens;
@@ -359,4 +359,22 @@ export const dimension = {
359
359
  css: { value: "20px", variable: "var(--kds-dimension-icon-1-25x)" },
360
360
  },
361
361
  },
362
+ chart: {
363
+ "line-width": {
364
+ value: 1.5,
365
+ unit: "px",
366
+ css: {
367
+ value: "1.5px",
368
+ variable: "var(--kds-dimension-chart-line-width)",
369
+ },
370
+ },
371
+ "segment-gap": {
372
+ value: 0.75,
373
+ unit: "px",
374
+ css: {
375
+ value: "0.75px",
376
+ variable: "var(--kds-dimension-chart-segment-gap)",
377
+ },
378
+ },
379
+ },
362
380
  };
@@ -274,5 +274,35 @@ export type KdsFontTokens = {
274
274
  */
275
275
  readonly "body-small": KdsTypography;
276
276
  };
277
+ readonly chart: {
278
+ /**
279
+ * Chart title. Pure alias to base.display.xsmall. ECharts: title.textStyle.
280
+ */
281
+ readonly title: KdsTypography;
282
+ /**
283
+ * Chart subtitle. Pure alias to base.body.small. ECharts: title.subtextStyle.
284
+ */
285
+ readonly subtitle: KdsTypography;
286
+ /**
287
+ * Axis name. Pure alias to base.body.small. ECharts: axis.nameTextStyle.
288
+ */
289
+ readonly "axis-name": KdsTypography;
290
+ /**
291
+ * Axis tick labels. Pure alias to base.interactive.xsmall-strong. ECharts: axis.axisLabel.
292
+ */
293
+ readonly "axis-label": KdsTypography;
294
+ /**
295
+ * Legend labels and pager. Pure alias to base.interactive.xsmall-strong. ECharts: legend.textStyle / pageTextStyle.
296
+ */
297
+ readonly legend: KdsTypography;
298
+ /**
299
+ * Tooltip text. Pure alias to base.body.small. ECharts: tooltip.textStyle.
300
+ */
301
+ readonly tooltip: KdsTypography;
302
+ /**
303
+ * Data labels rendered on the chart. Pure alias to base.subtext.small. ECharts: series.label.
304
+ */
305
+ readonly label: KdsTypography;
306
+ };
277
307
  };
278
308
  export declare const font: KdsFontTokens;
@@ -641,4 +641,76 @@ export const font = {
641
641
  },
642
642
  },
643
643
  },
644
+ chart: {
645
+ title: {
646
+ fontFamily: "Roboto",
647
+ fontWeight: 700,
648
+ fontSize: { value: 18, unit: "px" },
649
+ lineHeight: "normal",
650
+ css: {
651
+ value: "700 18px/normal Roboto, sans-serif",
652
+ variable: "var(--kds-font-chart-title)",
653
+ },
654
+ },
655
+ subtitle: {
656
+ fontFamily: "Roboto",
657
+ fontWeight: 400,
658
+ fontSize: { value: 12, unit: "px" },
659
+ lineHeight: 1.5,
660
+ css: {
661
+ value: "400 12px/1.5 Roboto, sans-serif",
662
+ variable: "var(--kds-font-chart-subtitle)",
663
+ },
664
+ },
665
+ "axis-name": {
666
+ fontFamily: "Roboto",
667
+ fontWeight: 400,
668
+ fontSize: { value: 12, unit: "px" },
669
+ lineHeight: 1.5,
670
+ css: {
671
+ value: "400 12px/1.5 Roboto, sans-serif",
672
+ variable: "var(--kds-font-chart-axis-name)",
673
+ },
674
+ },
675
+ "axis-label": {
676
+ fontFamily: "Roboto",
677
+ fontWeight: 500,
678
+ fontSize: { value: 11, unit: "px" },
679
+ lineHeight: "normal",
680
+ css: {
681
+ value: "500 11px/normal Roboto, sans-serif",
682
+ variable: "var(--kds-font-chart-axis-label)",
683
+ },
684
+ },
685
+ legend: {
686
+ fontFamily: "Roboto",
687
+ fontWeight: 500,
688
+ fontSize: { value: 11, unit: "px" },
689
+ lineHeight: "normal",
690
+ css: {
691
+ value: "500 11px/normal Roboto, sans-serif",
692
+ variable: "var(--kds-font-chart-legend)",
693
+ },
694
+ },
695
+ tooltip: {
696
+ fontFamily: "Roboto",
697
+ fontWeight: 400,
698
+ fontSize: { value: 12, unit: "px" },
699
+ lineHeight: 1.5,
700
+ css: {
701
+ value: "400 12px/1.5 Roboto, sans-serif",
702
+ variable: "var(--kds-font-chart-tooltip)",
703
+ },
704
+ },
705
+ label: {
706
+ fontFamily: "Roboto",
707
+ fontWeight: 400,
708
+ fontSize: { value: 10, unit: "px" },
709
+ lineHeight: "normal",
710
+ css: {
711
+ value: "400 10px/normal Roboto, sans-serif",
712
+ variable: "var(--kds-font-chart-label)",
713
+ },
714
+ },
715
+ },
644
716
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knime/kds-styles",
3
- "version": "2.6.2",
3
+ "version": "2.7.0",
4
4
  "description": "Package containing the design tokens and icons for the KNIME Design System",
5
5
  "repository": {
6
6
  "type": "git",
@@ -44,8 +44,7 @@
44
44
  }
45
45
  },
46
46
  "engines": {
47
- "node": "24.10.0",
48
- "npm": "please-use-pnpm"
47
+ "node": ">=24"
49
48
  },
50
49
  "scripts": {
51
50
  "build": "pnpm run build:parallel && pnpm run build:fonts",