@progress/kendo-theme-utils 7.2.1 → 7.3.0-dev.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/dist/all.scss CHANGED
@@ -707,27 +707,129 @@ $kendo-color-level-step: 8% !default;
707
707
  @return k-color-mix( rgba( $color1, 1 ), rgba( $color2, 1 ), $weight );
708
708
  }
709
709
 
710
+ // #endregion
711
+ // #region @import "./_color-variations.import.scss"; -> /home/runner/work/kendo-themes/kendo-themes/node_modules/@progress/kendo-theme-core/scss/functions/_color-variations.import.scss
710
712
  /// Generates all color variations of a given main color
711
713
  /// @param {String} $name - The name of the main color
712
- /// @param {Color} $level - The color value to be assigned to the main color
714
+ /// @param {Color} $color - The color value to be assigned to the main color
715
+ /// @param {String} $theme - The theme the colors will be generated for
713
716
  /// @return {Map} - A map with the generated keys and values
714
717
  ///
715
718
  /// @group color-system
716
- @function k-generate-colors( $name, $color ) {
717
- $_variations: (
718
- #{$name}-subtle: k-try-tint( $color, 80% ),
719
- #{$name}-subtle-hover: k-try-tint( $color, 65% ),
720
- #{$name}-subtle-active: k-try-tint( $color, 50% ),
721
- #{$name}: $color,
722
- #{$name}-hover: k-try-shade( $color, 0.5 ),
723
- #{$name}-active: k-try-shade( $color, 1.5 ),
724
- #{$name}-emphasis: k-try-tint( $color, 4.5 ),
725
- #{$name}-on-subtle: k-try-shade( $color, 8 ),
726
- on-#{$name}: k-contrast-legacy( $color ),
727
- #{$name}-on-surface: $color,
728
- );
729
-
730
- @return $_variations;
719
+ @function k-generate-color-variations( $name, $color, $theme: null ) {
720
+ $result: ();
721
+
722
+ // DataViz
723
+ @if (
724
+ $name == 'series-a' or
725
+ $name == 'series-b' or
726
+ $name == 'series-c' or
727
+ $name == 'series-d' or
728
+ $name == 'series-e' or
729
+ $name == 'series-f'
730
+ ) {
731
+ $_variations: (
732
+ #{$name}: $color,
733
+ #{$name}-bold: k-color-mix(black, $color, 25%),
734
+ #{$name}-bolder: k-color-mix(black, $color, 50%),
735
+ #{$name}-subtle: k-color-mix(white, $color, 25%),
736
+ #{$name}-subtler: k-color-mix(white, $color, 50%),
737
+ );
738
+
739
+ $result: k-map-merge($result, $_variations);
740
+ } @else {
741
+ // Default
742
+ @if ( $theme == 'default' or $theme == null ) { // stylelint-disable-line
743
+ $_variations: (
744
+ #{$name}-subtle: if( $name == 'base', k-try-shade( $color, 4% ), k-try-tint( $color, 80% )),
745
+ #{$name}-subtle-hover: if( $name == 'base', k-try-shade( $color, 8% ), k-try-tint($color, 65% )),
746
+ #{$name}-subtle-active: if( $name == 'base', k-try-shade( $color, 13% ), k-try-tint( $color, 50% )),
747
+ #{$name}: $color,
748
+ #{$name}-hover: k-try-shade( $color, 0.5 ),
749
+ #{$name}-active: k-try-shade( $color, 1.5 ),
750
+ #{$name}-emphasis: if( $name == 'base', k-try-shade( $color, 21% ), k-try-tint( $color, 25% )),
751
+ #{$name}-on-subtle: if( $name == 'base', k-try-shade( $color, 75% ), k-try-shade( $color, 65% )),
752
+ on-#{$name}: if( $name == 'base', k-try-shade( $color, 75% ), k-contrast-legacy( $color )),
753
+ #{$name}-on-surface: if( $name == 'base', k-try-shade( $color, 75% ), k-try-shade( $color, 25% )),
754
+ );
755
+
756
+ $result: k-map-merge($result, $_variations);
757
+ }
758
+
759
+ // Bootstrap
760
+ @if ( $theme == 'bootstrap' ) {
761
+ $_variations: (
762
+ #{$name}-subtle: if( $name == 'base', k-try-tint( $color, 30% ), k-try-tint( $color, 80% )),
763
+ #{$name}-subtle-hover: if( $name == 'base', $color, k-try-tint($color, 65% )),
764
+ #{$name}-subtle-active: if( $name == 'base', k-try-shade( $color, 8% ), k-try-tint( $color, 50% )),
765
+ #{$name}: $color,
766
+ #{$name}-hover: k-color-darken( $color, 7.5% ),
767
+ #{$name}-active: k-color-darken( $color, 10% ),
768
+ #{$name}-emphasis: if( $name == 'base', k-try-shade( $color, 21% ), k-try-tint( $color, 25% )),
769
+ #{$name}-on-subtle: if( $name == 'base', k-try-shade( $color, 84% ), k-try-shade( $color, 65% )),
770
+ on-#{$name}: if( $name == 'base', k-try-shade( $color, 84% ), k-contrast-color( $color )),
771
+ #{$name}-on-surface: if( $name == 'base', k-try-shade( $color, 84% ), k-try-shade( $color, 25% )),
772
+ );
773
+
774
+ $result: k-map-merge($result, $_variations);
775
+ }
776
+
777
+ // Material
778
+ @if ( $theme == 'material' ) {
779
+ $_variations: (
780
+ #{$name}-subtle: if( $name == 'base', k-try-shade( $color, 12% ), k-try-tint( $color, 80% )),
781
+ #{$name}-subtle-hover: if( $name == 'base', k-try-shade( $color, 16% ), k-try-tint($color, 65% )),
782
+ #{$name}-subtle-active: if( $name == 'base', k-try-shade( $color, 24% ), k-try-tint( $color, 50% )),
783
+ #{$name}: $color,
784
+ #{$name}-hover: k-try-shade( $color, 0.5 ),
785
+ #{$name}-active: k-try-shade( $color, 1.5 ),
786
+ #{$name}-emphasis: if( $name == 'base', k-try-shade( $color, 32% ), k-try-tint( $color, 25% )),
787
+ #{$name}-on-subtle: if( $name == 'base', k-try-shade( $color, 87% ), k-try-shade( $color, 65% )),
788
+ on-#{$name}: if( $name == 'base', k-try-shade( $color, 87% ), k-contrast-color( $color )),
789
+ #{$name}-on-surface: if( $name == 'base', k-try-shade( $color, 87% ), k-try-shade( $color, 50% )),
790
+ );
791
+
792
+ $result: k-map-merge($result, $_variations);
793
+ }
794
+
795
+ // Fluent
796
+ @if ( $theme == 'fluent' ) {
797
+ $_variations: (
798
+ #{$name}-subtle: if( $name == 'base', k-try-shade( $color, 2% ), k-try-tint( $color, 80% )),
799
+ #{$name}-subtle-hover: if( $name == 'base', k-try-shade( $color, 8% ), k-try-tint($color, 65% )),
800
+ #{$name}-subtle-active: if( $name == 'base', k-try-shade( $color, 12% ), k-try-tint( $color, 50% )),
801
+ #{$name}: $color,
802
+ #{$name}-hover: k-try-shade( $color, 0.5 ),
803
+ #{$name}-active: k-try-shade( $color, 1.5 ),
804
+ #{$name}-emphasis: if( $name == 'base', k-try-shade( $color, 18% ), k-try-tint( $color, 25% )),
805
+ #{$name}-on-subtle: if( $name == 'base', k-try-shade( $color, 74% ), k-try-shade( $color, 65% )),
806
+ on-#{$name}: if( $name == 'base', k-try-shade( $color, 86% ), k-contrast-legacy( $color )),
807
+ #{$name}-on-surface: if( $name == 'base', k-try-shade( $color, 86% ), k-try-shade( $color, 25% )),
808
+ );
809
+
810
+ $result: k-map-merge($result, $_variations);
811
+ }
812
+
813
+ // Classic
814
+ @if ( $theme == 'classic' ) {
815
+ $_variations: (
816
+ #{$name}-subtle: if( $name == 'base', k-try-tint( $color, 20% ), k-try-tint( $color, 80% )),
817
+ #{$name}-subtle-hover: if( $name == 'base', k-try-tint( $color, 8% ), k-try-tint($color, 65% )),
818
+ #{$name}-subtle-active: if( $name == 'base', k-try-shade( $color, 6% ), k-try-tint( $color, 50% )),
819
+ #{$name}: $color,
820
+ #{$name}-hover: k-try-shade( $color, 1 ),
821
+ #{$name}-active: k-try-shade( $color, 2 ),
822
+ #{$name}-emphasis: if( $name == 'base', k-try-shade( $color, 14% ), k-try-tint( $color, 25% )),
823
+ #{$name}-on-subtle: if( $name == 'base', k-try-shade( $color, 84% ), k-try-shade( $color, 65% )),
824
+ on-#{$name}: if( $name == 'base', k-try-shade( $color, 84% ), k-contrast-legacy( $color )),
825
+ #{$name}-on-surface: if( $name == 'base', k-try-shade( $color, 84% ), k-try-shade( $color, 25% )),
826
+ );
827
+
828
+ $result: k-map-merge($result, $_variations);
829
+ }
830
+ }
831
+
832
+ @return $result;
731
833
  }
732
834
  // #endregion
733
835
  // #region @import "./_custom-properties.import.scss"; -> /home/runner/work/kendo-themes/kendo-themes/node_modules/@progress/kendo-theme-core/scss/functions/_custom-properties.import.scss
@@ -1748,13 +1850,1573 @@ $svg-escaped-characters: (
1748
1850
 
1749
1851
  // #endregion
1750
1852
  // #region @import "./_variables.scss"; -> scss/_variables.scss
1853
+ // #region @import "@progress/kendo-theme-core/scss/color-system/index.import.scss"; -> /home/runner/work/kendo-themes/kendo-themes/node_modules/@progress/kendo-theme-core/scss/color-system/index.import.scss
1854
+ // #region @import "./_functions.import.scss"; -> /home/runner/work/kendo-themes/kendo-themes/node_modules/@progress/kendo-theme-core/scss/color-system/_functions.import.scss
1855
+ // #region @import "./_palettes.scss"; -> /home/runner/work/kendo-themes/kendo-themes/node_modules/@progress/kendo-theme-core/scss/color-system/_palettes.scss
1856
+ /// Color palettes to be used in the Kendo UI themes.
1857
+ /// @access private
1858
+ /// @type Record<String, ColorMap>
1859
+ /// @prop {ColorMap} neutral - The neutral palette
1860
+ /// @prop {ColorMap} marsala - The marsala palette
1861
+ /// @prop {ColorMap} bootstrapGray - The Bootstrap gray palette
1862
+ /// @prop {ColorMap} bootstrapBlue - The Bootstrap blue palette
1863
+ /// @prop {ColorMap} bootstrapIndigo - The Bootstrap indigo palette
1864
+ /// @prop {ColorMap} bootstrapPurple - The Bootstrap purple palette
1865
+ /// @prop {ColorMap} bootstrapPink - The Bootstrap pink palette
1866
+ /// @prop {ColorMap} bootstrapRed - The Bootstrap red palette
1867
+ /// @prop {ColorMap} bootstrapOrange - The Bootstrap orange palette
1868
+ /// @prop {ColorMap} bootstrapYellow - The Bootstrap yellow palette
1869
+ /// @prop {ColorMap} bootstrapGreen - The Bootstrap green palette
1870
+ /// @prop {ColorMap} bootstrapTeal - The Bootstrap teal palette
1871
+ /// @prop {ColorMap} bootstrapCyan - The Bootstrap cyan palette
1872
+ /// @prop {ColorMap} fluentNeutral - The Fluent neutral palette
1873
+ /// @prop {ColorMap} materialGray - The Material gray palette
1874
+ /// @prop {ColorMap} materialBlueGray - The Material blue gray palette
1875
+ /// @prop {ColorMap} materialRed - The Material red palette
1876
+ /// @prop {ColorMap} materialPink - The Material pink palette
1877
+ /// @prop {ColorMap} materialPurple - The Material purple palette
1878
+ /// @prop {ColorMap} materialDeepPurple - The Material deep purple palette
1879
+ /// @prop {ColorMap} materialIndigo - The Material indigo palette
1880
+ /// @prop {ColorMap} materialBlue - The Material blue palette
1881
+ /// @prop {ColorMap} materialLightBlue - The Material light blue palette
1882
+ /// @prop {ColorMap} materialCyan - The Material cyan palette
1883
+ /// @prop {ColorMap} materialTeal - The Material teal palette
1884
+ /// @prop {ColorMap} materialGreen - The Material green palette
1885
+ /// @prop {ColorMap} materialLightGreen - The Material light green palette
1886
+ /// @prop {ColorMap} materialLime - The Material lime palette
1887
+ /// @prop {ColorMap} materialYellow - The Material yellow palette
1888
+ /// @prop {ColorMap} materialAmber - The Material amber palette
1889
+ /// @prop {ColorMap} materialOrange - The Material orange palette
1890
+ /// @prop {ColorMap} materialDeepOrange - The Material deep orange palette
1891
+ /// @prop {ColorMap} materialBrown - The Material brown palette
1892
+ /// @prop {ColorMap} primerGray - The Primer gray palette
1893
+ /// @prop {ColorMap} primerBlue - The Primer blue palette
1894
+ /// @prop {ColorMap} primerGreen - The Primer green palette
1895
+ /// @prop {ColorMap} primerYellow - The Primer yellow palette
1896
+ /// @prop {ColorMap} primerOrange - The Primer orange palette
1897
+ /// @prop {ColorMap} primerRed - The Primer red palette
1898
+ /// @prop {ColorMap} primerPurple - The Primer purple palette
1899
+ /// @prop {ColorMap} primerPink - The Primer pink palette
1900
+ /// @prop {ColorMap} primerCoral - The Primer coral palette
1901
+ /// @prop {ColorMap} tailwindNeutral - The Tailwind neutral palette
1902
+ /// @prop {ColorMap} tailwindSlate - The Tailwind slate palette
1903
+ /// @prop {ColorMap} tailwindGray - The Tailwind gray palette
1904
+ /// @prop {ColorMap} tailwindZinc - The Tailwind zinc palette
1905
+ /// @prop {ColorMap} tailwindStone - The Tailwind stone palette
1906
+ /// @prop {ColorMap} tailwindRed - The Tailwind red palette
1907
+ /// @prop {ColorMap} tailwindOrange - The Tailwind orange palette
1908
+ /// @prop {ColorMap} tailwindAmber - The Tailwind amber palette
1909
+ /// @prop {ColorMap} tailwindYellow - The Tailwind yellow palette
1910
+ /// @prop {ColorMap} tailwindLime - The Tailwind lime palette
1911
+ /// @prop {ColorMap} tailwindGreen - The Tailwind green palette
1912
+ /// @prop {ColorMap} tailwindEmerald - The Tailwind emerald palette
1913
+ /// @prop {ColorMap} tailwindTeal - The Tailwind teal palette
1914
+ /// @prop {ColorMap} tailwindCyan - The Tailwind cyan palette
1915
+ /// @prop {ColorMap} tailwindSky - The Tailwind sky palette
1916
+ /// @prop {ColorMap} tailwindBlue - The Tailwind blue palette
1917
+ /// @prop {ColorMap} tailwindIndigo - The Tailwind indigo palette
1918
+ /// @prop {ColorMap} tailwindViolet - The Tailwind violet palette
1919
+ /// @prop {ColorMap} tailwindPurple - The Tailwind purple palette
1920
+ /// @prop {ColorMap} tailwindFuchsia - The Tailwind fuchsia palette
1921
+ /// @prop {ColorMap} tailwindPink - The Tailwind pink palette
1922
+ /// @prop {ColorMap} tailwindRose - The Tailwind rose palette
1923
+ ///
1924
+ /// @group color-system
1925
+ $kendo-palettes: (
1926
+
1927
+ // Kendo
1928
+ neutral: (
1929
+ 0: #ffffff,
1930
+ 50: #f8f8f8,
1931
+ 100: #ededed,
1932
+ 200: #d6d6d6,
1933
+ 300: #b7b7b7,
1934
+ 400: #949494,
1935
+ 500: #767676,
1936
+ 600: #5f5f5f,
1937
+ 700: #494949,
1938
+ 800: #373737,
1939
+ 900: #282828,
1940
+ 1000: #000000
1941
+ ),
1942
+ marsala: (
1943
+ 0: #ffffff,
1944
+ 50: #faf0f2,
1945
+ 100: #f3dde0,
1946
+ 200: #e197a3,
1947
+ 300: #c54e69,
1948
+ 400: #8b3548,
1949
+ 500: #622331,
1950
+ 600: #551d2a,
1951
+ 700: #441620,
1952
+ 800: #340f17,
1953
+ 900: #23080e,
1954
+ 1000: #000000
1955
+ ),
1956
+
1957
+
1958
+ // Bootstrap
1959
+ bootstrapGray: (
1960
+ 0: #ffffff,
1961
+ 100: #f8f9fa,
1962
+ 200: #e9ecef,
1963
+ 300: #dee2e6,
1964
+ 400: #ced4da,
1965
+ 500: #adb5bd,
1966
+ 600: #6c757d,
1967
+ 700: #495057,
1968
+ 800: #343a40,
1969
+ 900: #212529,
1970
+ 1000: #000000
1971
+ ),
1972
+ bootstrapBlue: (
1973
+ 0: #ffffff,
1974
+ 100: #cfe2ff,
1975
+ 200: #9ec5fe,
1976
+ 300: #6ea8fe,
1977
+ 400: #3d8bfd,
1978
+ 500: #0d6efd,
1979
+ 600: #0a58ca,
1980
+ 700: #084298,
1981
+ 800: #052c65,
1982
+ 900: #031633,
1983
+ 1000: #000000
1984
+ ),
1985
+ bootstrapIndigo: (
1986
+ 0: #ffffff,
1987
+ 100: #e0cffc,
1988
+ 200: #c29ffa,
1989
+ 300: #a370f7,
1990
+ 400: #8540f5,
1991
+ 500: #6610f2,
1992
+ 600: #520dc2,
1993
+ 700: #3d0a91,
1994
+ 800: #290661,
1995
+ 900: #140330,
1996
+ 1000: #000000
1997
+ ),
1998
+ bootstrapPurple: (
1999
+ 0: #ffffff,
2000
+ 100: #e2d9f3,
2001
+ 200: #c5b3e6,
2002
+ 300: #a98eda,
2003
+ 400: #8c68cd,
2004
+ 500: #6f42c1,
2005
+ 600: #59359a,
2006
+ 700: #432874,
2007
+ 800: #2c1a4d,
2008
+ 900: #160d27,
2009
+ 1000: #000000
2010
+ ),
2011
+ bootstrapPink: (
2012
+ 0: #ffffff,
2013
+ 100: #f7d6e6,
2014
+ 200: #efadce,
2015
+ 300: #e685b5,
2016
+ 400: #de5c9d,
2017
+ 500: #d63384,
2018
+ 600: #ab296a,
2019
+ 700: #801f4f,
2020
+ 800: #561435,
2021
+ 900: #2b0a1a,
2022
+ 1000: #000000
2023
+ ),
2024
+ bootstrapRed: (
2025
+ 0: #ffffff,
2026
+ 100: #f8d7da,
2027
+ 200: #f1aeb5,
2028
+ 300: #ea868f,
2029
+ 400: #e35d6a,
2030
+ 500: #dc3545,
2031
+ 600: #b02a37,
2032
+ 700: #842029,
2033
+ 800: #58151c,
2034
+ 900: #2c0b0e,
2035
+ 1000: #000000
2036
+ ),
2037
+ bootstrapOrange: (
2038
+ 0: #ffffff,
2039
+ 100: #ffe5d0,
2040
+ 200: #fecba1,
2041
+ 300: #feb272,
2042
+ 400: #fd9843,
2043
+ 500: #fd7e14,
2044
+ 600: #ca6510,
2045
+ 700: #984c0c,
2046
+ 800: #653208,
2047
+ 900: #331904,
2048
+ 1000: #000000
2049
+ ),
2050
+ bootstrapYellow: (
2051
+ 0: #ffffff,
2052
+ 100: #fff3cd,
2053
+ 200: #ffe69c,
2054
+ 300: #ffda6a,
2055
+ 400: #ffcd39,
2056
+ 500: #ffc107,
2057
+ 600: #cc9a06,
2058
+ 700: #997404,
2059
+ 800: #664d03,
2060
+ 900: #332701,
2061
+ 1000: #000000
2062
+ ),
2063
+ bootstrapGreen: (
2064
+ 0: #ffffff,
2065
+ 100: #d1e7dd,
2066
+ 200: #a3cfbb,
2067
+ 300: #75b798,
2068
+ 400: #479f76,
2069
+ 500: #198754,
2070
+ 600: #146c43,
2071
+ 700: #0f5132,
2072
+ 800: #0a3622,
2073
+ 900: #051b11,
2074
+ 1000: #000000
2075
+ ),
2076
+ bootstrapTeal: (
2077
+ 0: #ffffff,
2078
+ 100: #d2f4ea,
2079
+ 200: #a6e9d5,
2080
+ 300: #79dfc1,
2081
+ 400: #4dd4ac,
2082
+ 500: #20c997,
2083
+ 600: #1aa179,
2084
+ 700: #13795b,
2085
+ 800: #0d503c,
2086
+ 900: #06281e,
2087
+ 1000: #000000
2088
+ ),
2089
+ bootstrapCyan: (
2090
+ 0: #ffffff,
2091
+ 100: #cff4fc,
2092
+ 200: #9eeaf9,
2093
+ 300: #6edff6,
2094
+ 400: #3dd5f3,
2095
+ 500: #0dcaf0,
2096
+ 600: #0aa2c0,
2097
+ 700: #087990,
2098
+ 800: #055160,
2099
+ 900: #032830,
2100
+ 1000: #000000
2101
+ ),
2102
+
2103
+
2104
+ // Fluent
2105
+ fluentNeutral: (
2106
+ 0: #ffffff,
2107
+ 50: #faf9f8,
2108
+ 100: #edebe9,
2109
+ 150: #e1dfdd,
2110
+ 200: #d2d0ce,
2111
+ 250: #c8c6c4,
2112
+ 300: #bdbbb8,
2113
+ 350: #b3b0ad,
2114
+ 400: #a19f9d,
2115
+ 450: #8a8886,
2116
+ 500: #797775,
2117
+ 550: #605e5c,
2118
+ 600: #484644,
2119
+ 650: #3b3a39,
2120
+ 700: #323130,
2121
+ 750: #292827,
2122
+ 800: #201f1e,
2123
+ 850: #1b1a19,
2124
+ 900: #161514,
2125
+ 950: #11100f,
2126
+ 1000: #000000
2127
+ ),
2128
+
2129
+
2130
+ // Material
2131
+ materialGray: (
2132
+ 0: #ffffff,
2133
+ 50: #fafafa,
2134
+ 100: #f5f5f5,
2135
+ 200: #eeeeee,
2136
+ 300: #e0e0e0,
2137
+ 400: #bdbdbd,
2138
+ 500: #9e9e9e,
2139
+ 600: #757575,
2140
+ 700: #616161,
2141
+ 800: #424242,
2142
+ 900: #212121,
2143
+ 1000: #000000
2144
+ ),
2145
+ materialBlueGray: (
2146
+ 0: #ffffff,
2147
+ 50: #eceff1,
2148
+ 100: #cfd8dc,
2149
+ 200: #b0bec5,
2150
+ 300: #90a4ae,
2151
+ 400: #78909c,
2152
+ 500: #607d8b,
2153
+ 600: #546e7a,
2154
+ 700: #455a64,
2155
+ 800: #37474f,
2156
+ 900: #263238,
2157
+ 1000: #000000
2158
+ ),
2159
+ materialRed: (
2160
+ 0: #ffffff,
2161
+ 50: #ffebee,
2162
+ 100: #ffcdd2,
2163
+ 200: #ef9a9a,
2164
+ 300: #e57373,
2165
+ 400: #ef5350,
2166
+ 500: #f44336,
2167
+ 600: #e53935,
2168
+ 700: #d32f2f,
2169
+ 800: #c62828,
2170
+ 900: #b71c1c,
2171
+ 1000: #000000
2172
+ ),
2173
+ materialPink: (
2174
+ 0: #ffffff,
2175
+ 50: #fce4ec,
2176
+ 100: #f8bbd0,
2177
+ 200: #f48fb1,
2178
+ 300: #f06292,
2179
+ 400: #ec407a,
2180
+ // 500 was #e91e63, but changed for better contrast against white
2181
+ 500: #e51a5f,
2182
+ 600: #d81b60,
2183
+ 700: #c2185b,
2184
+ 800: #ad1457,
2185
+ 900: #880e4f,
2186
+ 1000: #000000
2187
+ ),
2188
+ materialPurple: (
2189
+ 0: #ffffff,
2190
+ 50: #f3e5f5,
2191
+ 100: #e1bee7,
2192
+ 200: #ce93d8,
2193
+ 300: #ba68c8,
2194
+ 400: #ab47bc,
2195
+ 500: #9c27b0,
2196
+ 600: #8e24aa,
2197
+ 700: #7b1fa2,
2198
+ 800: #6a1b9a,
2199
+ 900: #4a148c,
2200
+ 1000: #000000
2201
+ ),
2202
+ materialDeepPurple: (
2203
+ 0: #ffffff,
2204
+ 50: #ede7f6,
2205
+ 100: #d1c4e9,
2206
+ 200: #b39ddb,
2207
+ 300: #9575cd,
2208
+ 400: #7e57c2,
2209
+ 500: #673ab7,
2210
+ 600: #5e35b1,
2211
+ 700: #512da8,
2212
+ 800: #4527a0,
2213
+ 900: #311b92,
2214
+ 1000: #000000
2215
+ ),
2216
+ materialIndigo: (
2217
+ 0: #ffffff,
2218
+ 50: #e8eaf6,
2219
+ 100: #c5cae9,
2220
+ 200: #9fa8da,
2221
+ 300: #7986cb,
2222
+ 400: #5c6bc0,
2223
+ 500: #3f51b5,
2224
+ 600: #3949ab,
2225
+ 700: #303f9f,
2226
+ 800: #283593,
2227
+ 900: #1a237e,
2228
+ 1000: #000000
2229
+ ),
2230
+ materialBlue: (
2231
+ 0: #ffffff,
2232
+ 50: #e3f2fd,
2233
+ 100: #bbdefb,
2234
+ 200: #90caf9,
2235
+ 300: #64b5f6,
2236
+ 400: #42a5f5,
2237
+ 500: #2196f3,
2238
+ 600: #1e88e5,
2239
+ 700: #1976d2,
2240
+ 800: #1565c0,
2241
+ 900: #0d47a1,
2242
+ 1000: #000000
2243
+ ),
2244
+ materialLightBlue: (
2245
+ 0: #ffffff,
2246
+ 50: #e1f5fe,
2247
+ 100: #b3e5fc,
2248
+ 200: #81d4fa,
2249
+ 300: #4fc3f7,
2250
+ 400: #29b6f6,
2251
+ 500: #03a9f4,
2252
+ 600: #039be5,
2253
+ 700: #0288d1,
2254
+ 800: #0277bd,
2255
+ 900: #01579b,
2256
+ 1000: #000000
2257
+ ),
2258
+ materialCyan: (
2259
+ 0: #ffffff,
2260
+ 50: #e0f7fa,
2261
+ 100: #b2ebf2,
2262
+ 200: #80deea,
2263
+ 300: #4dd0e1,
2264
+ 400: #26c6da,
2265
+ 500: #00bcd4,
2266
+ 600: #00acc1,
2267
+ 700: #0097a7,
2268
+ 800: #00838f,
2269
+ 900: #006064,
2270
+ 1000: #000000
2271
+ ),
2272
+ materialTeal: (
2273
+ 0: #ffffff,
2274
+ 50: #e0f2f1,
2275
+ 100: #b2dfdb,
2276
+ 200: #80cbc4,
2277
+ 300: #4db6ac,
2278
+ 400: #26a69a,
2279
+ 500: #009688,
2280
+ 600: #00897b,
2281
+ 700: #00796b,
2282
+ 800: #00695c,
2283
+ 900: #004d40,
2284
+ 1000: #000000
2285
+ ),
2286
+ materialGreen: (
2287
+ 0: #ffffff,
2288
+ 50: #e8f5e9,
2289
+ 100: #c8e6c9,
2290
+ 200: #a5d6a7,
2291
+ 300: #81c784,
2292
+ 400: #66bb6a,
2293
+ 500: #4caf50,
2294
+ 600: #43a047,
2295
+ 700: #388e3c,
2296
+ 800: #2e7d32,
2297
+ 900: #1b5e20,
2298
+ 1000: #000000
2299
+ ),
2300
+ materialLightGreen: (
2301
+ 0: #ffffff,
2302
+ 50: #f1f8e9,
2303
+ 100: #dcedc8,
2304
+ 200: #c5e1a5,
2305
+ 300: #aed581,
2306
+ 400: #9ccc65,
2307
+ 500: #8bc34a,
2308
+ 600: #7cb342,
2309
+ 700: #689f38,
2310
+ 800: #558b2f,
2311
+ 900: #33691e,
2312
+ 1000: #000000
2313
+ ),
2314
+ materialLime: (
2315
+ 0: #ffffff,
2316
+ 50: #f9fbe7,
2317
+ 100: #f0f4c3,
2318
+ 200: #e6ee9c,
2319
+ 300: #dce775,
2320
+ 400: #d4e157,
2321
+ 500: #cddc39,
2322
+ 600: #c0ca33,
2323
+ 700: #afb42b,
2324
+ 800: #9e9d24,
2325
+ 900: #827717,
2326
+ 1000: #000000
2327
+ ),
2328
+ materialYellow: (
2329
+ 0: #ffffff,
2330
+ 50: #fffde7,
2331
+ 100: #fff9c4,
2332
+ 200: #fff59d,
2333
+ 300: #fff176,
2334
+ 400: #ffee58,
2335
+ 500: #ffeb3b,
2336
+ 600: #fdd835,
2337
+ 700: #fbc02d,
2338
+ 800: #f9a825,
2339
+ 900: #f57f17,
2340
+ 1000: #000000
2341
+ ),
2342
+ materialAmber: (
2343
+ 0: #ffffff,
2344
+ 50: #fff8e1,
2345
+ 100: #ffecb3,
2346
+ 200: #ffe082,
2347
+ 300: #ffd54f,
2348
+ 400: #ffca28,
2349
+ 500: #ffc107,
2350
+ 600: #ffb300,
2351
+ 700: #ffa000,
2352
+ 800: #ff8f00,
2353
+ 900: #ff6f00,
2354
+ 1000: #000000
2355
+ ),
2356
+ materialOrange: (
2357
+ 0: #ffffff,
2358
+ 50: #fff3e0,
2359
+ 100: #ffe0b2,
2360
+ 200: #ffcc80,
2361
+ 300: #ffb74d,
2362
+ 400: #ffa726,
2363
+ 500: #ff9800,
2364
+ 600: #fb8c00,
2365
+ 700: #f57c00,
2366
+ 800: #ef6c00,
2367
+ 900: #e65100,
2368
+ 1000: #000000
2369
+ ),
2370
+ materialDeepOrange: (
2371
+ 0: #ffffff,
2372
+ 50: #fbe9e7,
2373
+ 100: #ffccbc,
2374
+ 200: #ffab91,
2375
+ 300: #ff8a65,
2376
+ 400: #ff7043,
2377
+ 500: #ff5722,
2378
+ 600: #f4511e,
2379
+ 700: #e64a19,
2380
+ 800: #d84315,
2381
+ 900: #bf360c,
2382
+ 1000: #000000
2383
+ ),
2384
+ materialBrown: (
2385
+ 0: #ffffff,
2386
+ 50: #efebe9,
2387
+ 100: #d7ccc8,
2388
+ 200: #bcaaa4,
2389
+ 300: #a1887f,
2390
+ 400: #8d6e63,
2391
+ 500: #795548,
2392
+ 600: #6d4c41,
2393
+ 700: #5d4037,
2394
+ 800: #4e342e,
2395
+ 900: #3e2723,
2396
+ 1000: #000000
2397
+ ),
2398
+
2399
+
2400
+ // Primer
2401
+ primerGray: (
2402
+ 0: #ffffff,
2403
+ 50: #f6f8fa,
2404
+ 100: #eaeef2,
2405
+ 200: #d0d7de,
2406
+ 300: #afb8c1,
2407
+ 400: #8c959f,
2408
+ 500: #6e7781,
2409
+ 600: #57606a,
2410
+ 700: #424a53,
2411
+ 800: #32383f,
2412
+ 900: #24292f,
2413
+ 1000: #000000
2414
+ ),
2415
+ primerBlue: (
2416
+ 0: #ffffff,
2417
+ 50: #ddf4ff,
2418
+ 100: #b6e3ff,
2419
+ 200: #80ccff,
2420
+ 300: #54aeff,
2421
+ 400: #218bff,
2422
+ 500: #0969da,
2423
+ 600: #0550ae,
2424
+ 700: #033d8b,
2425
+ 800: #0a3069,
2426
+ 900: #002155,
2427
+ 1000: #000000
2428
+ ),
2429
+ primerGreen: (
2430
+ 0: #ffffff,
2431
+ 50: #dafbe1,
2432
+ 100: #aceebb,
2433
+ 200: #6fdd8b,
2434
+ 300: #4ac26b,
2435
+ 400: #2da44e,
2436
+ 500: #1a7f37,
2437
+ 600: #116329,
2438
+ 700: #044f1e,
2439
+ 800: #003d16,
2440
+ 900: #002d11,
2441
+ 1000: #000000
2442
+ ),
2443
+ primerYellow: (
2444
+ 0: #ffffff,
2445
+ 50: #fff8c5,
2446
+ 100: #fae17d,
2447
+ 200: #eac54f,
2448
+ 300: #d4a72c,
2449
+ 400: #bf8700,
2450
+ 500: #9a6700,
2451
+ 600: #7d4e00,
2452
+ 700: #633c01,
2453
+ 800: #4d2d00,
2454
+ 900: #3b2300,
2455
+ 1000: #000000
2456
+ ),
2457
+ primerOrange: (
2458
+ 0: #ffffff,
2459
+ 50: #fff1e5,
2460
+ 100: #ffd8b5,
2461
+ 200: #ffb77c,
2462
+ 300: #fb8f44,
2463
+ 400: #e16f24,
2464
+ 500: #bc4c00,
2465
+ 600: #953800,
2466
+ 700: #762c00,
2467
+ 800: #5c2200,
2468
+ 900: #471700,
2469
+ 1000: #000000
2470
+ ),
2471
+ primerRed: (
2472
+ 0: #ffffff,
2473
+ 50: #ffebe9,
2474
+ 100: #ffcecb,
2475
+ 200: #ffaba8,
2476
+ 300: #ff8182,
2477
+ 400: #fa4549,
2478
+ 500: #cf222e,
2479
+ 600: #a40e26,
2480
+ 700: #82071e,
2481
+ 800: #660018,
2482
+ 900: #4c0014,
2483
+ 1000: #000000
2484
+ ),
2485
+ primerPurple: (
2486
+ 0: #ffffff,
2487
+ 50: #fbefff,
2488
+ 100: #ecd8ff,
2489
+ 200: #d8b9ff,
2490
+ 300: #c297ff,
2491
+ 400: #a475f9,
2492
+ 500: #8250df,
2493
+ 600: #6639ba,
2494
+ 700: #512a97,
2495
+ 800: #3e1f79,
2496
+ 900: #2e1461,
2497
+ 1000: #000000
2498
+ ),
2499
+ primerPink: (
2500
+ 0: #ffffff,
2501
+ 50: #ffeff7,
2502
+ 100: #ffd3eb,
2503
+ 200: #ffadda,
2504
+ 300: #ff80c8,
2505
+ 400: #e85aad,
2506
+ 500: #bf3989,
2507
+ 600: #99286e,
2508
+ 700: #772057,
2509
+ 800: #611347,
2510
+ 900: #4d0336,
2511
+ 1000: #000000
2512
+ ),
2513
+ primerCoral: (
2514
+ 0: #ffffff,
2515
+ 50: #fff0eb,
2516
+ 100: #ffd6cc,
2517
+ 200: #ffb4a1,
2518
+ 300: #fd8c73,
2519
+ 400: #ec6547,
2520
+ 500: #c4432b,
2521
+ 600: #9e2f1c,
2522
+ 700: #801f0f,
2523
+ 800: #691105,
2524
+ 900: #510901,
2525
+ 1000: #000000
2526
+ ),
2527
+
2528
+
2529
+ // Tailwind
2530
+ tailwindNeutral: (
2531
+ 0: #ffffff,
2532
+ 50: #fafafa,
2533
+ 100: #f5f5f5,
2534
+ 200: #e5e5e5,
2535
+ 300: #d4d4d4,
2536
+ 400: #a3a3a3,
2537
+ 500: #737373,
2538
+ 600: #525252,
2539
+ 700: #404040,
2540
+ 800: #262626,
2541
+ 900: #171717,
2542
+ 1000: #000000
2543
+ ),
2544
+ tailwindSlate: (
2545
+ 0: #ffffff,
2546
+ 50: #f8fafc,
2547
+ 100: #f1f5f9,
2548
+ 200: #e2e8f0,
2549
+ 300: #cbd5e1,
2550
+ 400: #94a3b8,
2551
+ 500: #64748b,
2552
+ 600: #475569,
2553
+ 700: #334155,
2554
+ 800: #1e293b,
2555
+ 900: #0f172a,
2556
+ 1000: #000000
2557
+ ),
2558
+ tailwindGray: (
2559
+ 0: #ffffff,
2560
+ 50: #f9fafb,
2561
+ 100: #f3f4f6,
2562
+ 200: #e5e7eb,
2563
+ 300: #d1d5db,
2564
+ 400: #9ca3af,
2565
+ 500: #6b7280,
2566
+ 600: #4b5563,
2567
+ 700: #374151,
2568
+ 800: #1f2937,
2569
+ 900: #111827,
2570
+ 1000: #000000
2571
+ ),
2572
+ tailwindZinc: (
2573
+ 0: #ffffff,
2574
+ 50: #fafafa,
2575
+ 100: #f4f4f5,
2576
+ 200: #e4e4e7,
2577
+ 300: #d4d4d8,
2578
+ 400: #a1a1aa,
2579
+ 500: #71717a,
2580
+ 600: #52525b,
2581
+ 700: #3f3f46,
2582
+ 800: #27272a,
2583
+ 900: #18181b,
2584
+ 1000: #000000
2585
+ ),
2586
+ tailwindStone: (
2587
+ 0: #ffffff,
2588
+ 50: #fafaf9,
2589
+ 100: #f5f5f4,
2590
+ 200: #e7e5e4,
2591
+ 300: #d6d3d1,
2592
+ 400: #a8a29e,
2593
+ 500: #78716c,
2594
+ 600: #57534e,
2595
+ 700: #44403c,
2596
+ 800: #292524,
2597
+ 900: #1c1917,
2598
+ 1000: #000000
2599
+ ),
2600
+ tailwindRed: (
2601
+ 0: #ffffff,
2602
+ 50: #fef2f2,
2603
+ 100: #fee2e2,
2604
+ 200: #fecaca,
2605
+ 300: #fca5a5,
2606
+ 400: #f87171,
2607
+ 500: #ef4444,
2608
+ 600: #dc2626,
2609
+ 700: #b91c1c,
2610
+ 800: #991b1b,
2611
+ 900: #7f1d1d,
2612
+ 1000: #000000
2613
+ ),
2614
+ tailwindOrange: (
2615
+ 0: #ffffff,
2616
+ 50: #fff7ed,
2617
+ 100: #ffedd5,
2618
+ 200: #fed7aa,
2619
+ 300: #fdba74,
2620
+ 400: #fb923c,
2621
+ 500: #f97316,
2622
+ 600: #ea580c,
2623
+ 700: #c2410c,
2624
+ 800: #9a3412,
2625
+ 900: #7c2d12,
2626
+ 1000: #000000
2627
+ ),
2628
+ tailwindAmber: (
2629
+ 0: #ffffff,
2630
+ 50: #fffbeb,
2631
+ 100: #fef3c7,
2632
+ 200: #fde68a,
2633
+ 300: #fcd34d,
2634
+ 400: #fbbf24,
2635
+ 500: #f59e0b,
2636
+ 600: #d97706,
2637
+ 700: #b45309,
2638
+ 800: #92400e,
2639
+ 900: #78350f,
2640
+ 1000: #000000
2641
+ ),
2642
+ tailwindYellow: (
2643
+ 0: #ffffff,
2644
+ 50: #fefce8,
2645
+ 100: #fef9c3,
2646
+ 200: #fef08a,
2647
+ 300: #fde047,
2648
+ 400: #facc15,
2649
+ 500: #eab308,
2650
+ 600: #ca8a04,
2651
+ 700: #a16207,
2652
+ 800: #854d0e,
2653
+ 900: #713f12,
2654
+ 1000: #000000
2655
+ ),
2656
+ tailwindLime: (
2657
+ 0: #ffffff,
2658
+ 50: #f7fee7,
2659
+ 100: #ecfccb,
2660
+ 200: #d9f99d,
2661
+ 300: #bef264,
2662
+ 400: #a3e635,
2663
+ 500: #84cc16,
2664
+ 600: #65a30d,
2665
+ 700: #4d7c0f,
2666
+ 800: #3f6212,
2667
+ 900: #365314,
2668
+ 1000: #000000
2669
+ ),
2670
+ tailwindGreen: (
2671
+ 0: #ffffff,
2672
+ 50: #f0fdf4,
2673
+ 100: #dcfce7,
2674
+ 200: #bbf7d0,
2675
+ 300: #86efac,
2676
+ 400: #4ade80,
2677
+ 500: #22c55e,
2678
+ 600: #16a34a,
2679
+ 700: #15803d,
2680
+ 800: #166534,
2681
+ 900: #14532d,
2682
+ 1000: #000000
2683
+ ),
2684
+ tailwindEmerald: (
2685
+ 0: #ffffff,
2686
+ 50: #ecfdf5,
2687
+ 100: #d1fae5,
2688
+ 200: #a7f3d0,
2689
+ 300: #6ee7b7,
2690
+ 400: #34d399,
2691
+ 500: #10b981,
2692
+ 600: #059669,
2693
+ 700: #047857,
2694
+ 800: #065f46,
2695
+ 900: #064e3b,
2696
+ 1000: #000000
2697
+ ),
2698
+ tailwindTeal: (
2699
+ 0: #ffffff,
2700
+ 50: #f0fdfa,
2701
+ 100: #ccfbf1,
2702
+ 200: #99f6e4,
2703
+ 300: #5eead4,
2704
+ 400: #2dd4bf,
2705
+ 500: #14b8a6,
2706
+ 600: #0d9488,
2707
+ 700: #0f766e,
2708
+ 800: #115e59,
2709
+ 900: #134e4a,
2710
+ 1000: #000000
2711
+ ),
2712
+ tailwindCyan: (
2713
+ 0: #ffffff,
2714
+ 50: #ecfeff,
2715
+ 100: #cffafe,
2716
+ 200: #a5f3fc,
2717
+ 300: #67e8f9,
2718
+ 400: #22d3ee,
2719
+ 500: #06b6d4,
2720
+ 600: #0891b2,
2721
+ 700: #0e7490,
2722
+ 800: #155e75,
2723
+ 900: #164e63,
2724
+ 1000: #000000
2725
+ ),
2726
+ tailwindSky: (
2727
+ 0: #ffffff,
2728
+ 50: #f0f9ff,
2729
+ 100: #e0f2fe,
2730
+ 200: #bae6fd,
2731
+ 300: #7dd3fc,
2732
+ 400: #38bdf8,
2733
+ 500: #0ea5e9,
2734
+ 600: #0284c7,
2735
+ 700: #0369a1,
2736
+ 800: #075985,
2737
+ 900: #0c4a6e,
2738
+ 1000: #000000
2739
+ ),
2740
+ tailwindBlue: (
2741
+ 0: #ffffff,
2742
+ 50: #eff6ff,
2743
+ 100: #dbeafe,
2744
+ 200: #bfdbfe,
2745
+ 300: #93c5fd,
2746
+ 400: #60a5fa,
2747
+ 500: #3b82f6,
2748
+ 600: #2563eb,
2749
+ 700: #1d4ed8,
2750
+ 800: #1e40af,
2751
+ 900: #1e3a8a,
2752
+ 1000: #000000
2753
+ ),
2754
+ tailwindIndigo: (
2755
+ 0: #ffffff,
2756
+ 50: #eef2ff,
2757
+ 100: #e0e7ff,
2758
+ 200: #c7d2fe,
2759
+ 300: #a5b4fc,
2760
+ 400: #818cf8,
2761
+ 500: #6366f1,
2762
+ 600: #4f46e5,
2763
+ 700: #4338ca,
2764
+ 800: #3730a3,
2765
+ 900: #312e81,
2766
+ 1000: #000000
2767
+ ),
2768
+ tailwindViolet: (
2769
+ 0: #ffffff,
2770
+ 50: #f5f3ff,
2771
+ 100: #ede9fe,
2772
+ 200: #ddd6fe,
2773
+ 300: #c4b5fd,
2774
+ 400: #a78bfa,
2775
+ 500: #8b5cf6,
2776
+ 600: #7c3aed,
2777
+ 700: #6d28d9,
2778
+ 800: #5b21b6,
2779
+ 900: #4c1d95,
2780
+ 1000: #000000
2781
+ ),
2782
+ tailwindPurple: (
2783
+ 0: #ffffff,
2784
+ 50: #faf5ff,
2785
+ 100: #f3e8ff,
2786
+ 200: #e9d5ff,
2787
+ 300: #d8b4fe,
2788
+ 400: #c084fc,
2789
+ 500: #a855f7,
2790
+ 600: #9333ea,
2791
+ 700: #7e22ce,
2792
+ 800: #6b21a8,
2793
+ 900: #581c87,
2794
+ 1000: #000000
2795
+ ),
2796
+ tailwindFuchsia: (
2797
+ 0: #ffffff,
2798
+ 50: #fdf4ff,
2799
+ 100: #fae8ff,
2800
+ 200: #f5d0fe,
2801
+ 300: #f0abfc,
2802
+ 400: #e879f9,
2803
+ 500: #d946ef,
2804
+ 600: #c026d3,
2805
+ 700: #a21caf,
2806
+ 800: #86198f,
2807
+ 900: #701a75,
2808
+ 1000: #000000
2809
+ ),
2810
+ tailwindPink: (
2811
+ 0: #ffffff,
2812
+ 50: #fdf2f8,
2813
+ 100: #fce7f3,
2814
+ 200: #fbcfe8,
2815
+ 300: #f9a8d4,
2816
+ 400: #f472b6,
2817
+ 500: #ec4899,
2818
+ 600: #db2777,
2819
+ 700: #be185d,
2820
+ 800: #9d174d,
2821
+ 900: #831843,
2822
+ 1000: #000000
2823
+ ),
2824
+ tailwindRose: (
2825
+ 0: #ffffff,
2826
+ 50: #fff1f2,
2827
+ 100: #ffe4e6,
2828
+ 200: #fecdd3,
2829
+ 300: #fda4af,
2830
+ 400: #fb7185,
2831
+ 500: #f43f5e,
2832
+ 600: #e11d48,
2833
+ 700: #be123c,
2834
+ 800: #9f1239,
2835
+ 900: #881337,
2836
+ 1000: #000000
2837
+ )
2838
+
2839
+ ) !default;
2840
+
2841
+ // #endregion
2842
+
2843
+ @function k-generate-theme-variant( $variant, $matrix, $src-palette-name ) {
2844
+ $result: ();
2845
+
2846
+ @each $ui-state, $indices in $matrix {
2847
+ $prefix: if( $ui-state == DEFAULT, "", "#{$ui-state}-" );
2848
+ $indices-count: k-list-length( $indices );
2849
+
2850
+ $bg-prop: k-list-nth( $indices, 1 );
2851
+ $text-prop: k-list-nth( $indices, 2 );
2852
+ $border-prop: k-list-nth( $indices, 3 );
2853
+ $gradient-prop: if( $indices-count > 3, k-list-nth( $indices, 4 ), null );
2854
+ $shadow-prop: if( $indices-count > 4, k-list-nth( $indices, 5 ), null );
2855
+ $outline-prop: if( $indices-count > 5, k-list-nth( $indices, 6 ), null );
2856
+
2857
+ // Take value from the palette only if it is a number
2858
+ $bg: if( k-meta-type-of( $bg-prop ) == number, k-get-theme-color( $src-palette-name, $bg-prop ), $bg-prop );
2859
+ $text: if( k-meta-type-of( $text-prop ) == number, k-get-theme-color( $src-palette-name, $text-prop ), $text-prop );
2860
+ $border: if( k-meta-type-of( $border-prop ) == number, k-get-theme-color( $src-palette-name, $border-prop ), $border-prop );
2861
+ $gradient: $gradient-prop;
2862
+ $shadow: $shadow-prop;
2863
+ $outline: $outline-prop;
2864
+
2865
+ $result: k-map-merge($result, (
2866
+ #{$prefix}bg: $bg,
2867
+ #{$prefix}text: $text,
2868
+ #{$prefix}border: $border,
2869
+ #{$prefix}gradient: $gradient,
2870
+ #{$prefix}shadow: $shadow,
2871
+ #{$prefix}outline: $outline
2872
+ ));
2873
+ }
2874
+
2875
+ $result: (
2876
+ #{$variant}: $result
2877
+ );
2878
+
2879
+ @return $result;
2880
+
2881
+ };
2882
+
2883
+
2884
+ @function k-process-variant-matrices( $theme-matrix, $palette-matrix: () ) {
2885
+ $result: ();
2886
+
2887
+ // @debug $theme-matrix;
2888
+ // @debug $palette-matrix;
2889
+
2890
+ @each $variant, $definition in $theme-matrix {
2891
+ $tc-index: k-string-index( $variant, "THEME_COLOR" );
2892
+ $src-palette-name: k-map-get( $definition, PALETTE );
2893
+ $matrix: k-map-remove( $definition, PALETTE );
2894
+
2895
+ @if ($tc-index == null ) { // stylelint-disable-line
2896
+ $tmp-result: k-generate-theme-variant( $variant, $matrix, $src-palette-name );
2897
+ $result: k-map-merge( $result, $tmp-result);
2898
+ } @else {
2899
+ @each $color, $palette in $palette-matrix {
2900
+ $variant-name: k-string-replace( $variant, THEME_COLOR, $color);
2901
+ $palette-name: k-string-unquote($src-palette-name + "");
2902
+
2903
+ @if ($palette-name == THEME_COLOR) {
2904
+ $palette-name: k-string-replace( $palette-name, THEME_COLOR, $color );
2905
+ $palette-name: k-map-get( $palette-matrix, $palette-name );
2906
+ }
2907
+
2908
+ $tmp-result: k-generate-theme-variant( $variant-name, $matrix, $palette-name );
2909
+ $result: k-map-merge( $result, $tmp-result );
2910
+ }
2911
+ }
2912
+ }
2913
+
2914
+ @return $result;
2915
+ }
2916
+
2917
+
2918
+ @function k-get-theme-palette( $name ) {
2919
+ @return k-map-get( $kendo-palettes, $name );
2920
+ }
2921
+
2922
+ @function k-get-theme-color( $palette, $hue ) {
2923
+ @if ( k-meta-type-of( $palette ) == "map" ) {
2924
+ @return k-map-get( $palette, $hue );
2925
+ }
2926
+
2927
+ @return k-map-get( k-get-theme-palette( $palette ), $hue );
2928
+ }
2929
+
2930
+ @function k-get-theme-color-var( $name, $fallback: "inherit", $prefix: "kendo-" ) {
2931
+ @return var( --#{$prefix}#{$name}, #{$fallback} );
2932
+ }
2933
+
2934
+ @function k-get-swatch-color( $name, $color ) {
2935
+ $map: (
2936
+ app-surface: k-color( app-surface ),
2937
+ on-app-surface: k-color( on-app-surface ),
2938
+ subtle: k-color( subtle ),
2939
+ surface: k-color( surface ),
2940
+ surface-alt: k-color( surface-alt ),
2941
+ border: k-color( border ),
2942
+ border-alt: k-color( border-alt ),
2943
+ color-subtle: k-color( #{$color}-subtle ),
2944
+ color-subtle-hover: k-color( #{$color}-subtle-hover ),
2945
+ color-subtle-active: k-color( #{$color}-subtle-active ),
2946
+ color: k-color( #{$color} ),
2947
+ color-hover: k-color( #{$color}-hover ),
2948
+ color-active: k-color( #{$color}-active ),
2949
+ color-emphasis: k-color( #{$color}-emphasis ),
2950
+ color-on-subtle: k-color( #{$color}-on-subtle ),
2951
+ on-color: k-color( on-#{$color} ),
2952
+ color-on-surface: k-color( #{$color}-on-surface ),
2953
+ on-color-disabled: color-mix(in srgb, k-color( on-#{$color} ) 46%, transparent)
2954
+ );
2955
+
2956
+ @return if( k-map-has-key( $map, $name ), k-map-get( $map, $name ), $name );
2957
+ };
2958
+
2959
+ @function k-generate-theme-variation( $theme-color, $source-palette-name, $mapping ) {
2960
+ $temp: ( );
2961
+
2962
+ @each $ui-state, $indices in $mapping {
2963
+ $prefix: if( $ui-state == normal, '', '#{$ui-state}-' );
2964
+
2965
+ $bg-prop: k-list-nth($indices, 1);
2966
+ $text-prop: k-list-nth($indices, 2);
2967
+ $border-prop: k-list-nth($indices, 3);
2968
+
2969
+ // Take value from the palette only if it is a number
2970
+ $bg: if($kendo-enable-color-system, k-get-swatch-color( $bg-prop, $source-palette-name ), if( k-meta-type-of($bg-prop) == number, k-get-theme-color-var( #{$source-palette-name}-#{$bg-prop} ), $bg-prop ));
2971
+ $text: if($kendo-enable-color-system, k-get-swatch-color( $text-prop, $source-palette-name ), if( k-meta-type-of($text-prop) == number, k-get-theme-color-var( #{$source-palette-name}-#{$text-prop} ), $text-prop ));
2972
+ $border: if($kendo-enable-color-system, k-get-swatch-color( $border-prop, $source-palette-name ), if( k-meta-type-of($border-prop) == number, k-get-theme-color-var( #{$source-palette-name}-#{$border-prop} ), $border-prop ));
2973
+
2974
+
2975
+ $temp: k-map-deep-merge( $temp, (
2976
+ #{$prefix}bg: $bg,
2977
+ #{$prefix}text: $text,
2978
+ #{$prefix}border: $border
2979
+ ));
2980
+
2981
+ // Add outline if provided in the map
2982
+ @if ( k-list-length($indices) > 3 ) {
2983
+ $outline-prop: k-list-nth($indices, 4);
2984
+ $outline: if($kendo-enable-color-system, k-get-swatch-color( $outline-prop, $source-palette-name ), if( k-meta-type-of($outline-prop) == number, k-get-theme-color-var( #{$source-palette-name}-#{$outline-prop} ), $outline-prop ));
2985
+
2986
+ $temp: k-map-deep-merge( $temp, (
2987
+ #{$prefix}outline: $outline
2988
+ ));
2989
+ }
2990
+ }
2991
+
2992
+ $map: (
2993
+ #{$theme-color}: $temp
2994
+ );
2995
+
2996
+ @return $map;
2997
+
2998
+ };
2999
+
3000
+ @function k-generate-fill-mode-theme-variation( $fill-mode, $theme-color, $source-palette-name, $mapping ) {
3001
+
3002
+ $map: k-generate-theme-variation( $theme-color, $source-palette-name, $mapping );
3003
+
3004
+ $result: (
3005
+ #{$fill-mode}: $map
3006
+ );
3007
+
3008
+ @return $result;
3009
+ }
3010
+
3011
+ @function k-hex-to-rgb( $color ) {
3012
+ @if($color) {
3013
+ $r: k-color-red($color);
3014
+ $g: k-color-green($color);
3015
+ $b: k-color-blue($color);
3016
+
3017
+ @return $r, $g, $b;
3018
+ } @else {
3019
+ @return null;
3020
+ }
3021
+ }
3022
+
3023
+ // #endregion
3024
+ // #region @import "./_mixins.import.scss"; -> /home/runner/work/kendo-themes/kendo-themes/node_modules/@progress/kendo-theme-core/scss/color-system/_mixins.import.scss
3025
+ @mixin k-css-vars($map) {
3026
+ @each $group, $values in $map {
3027
+ @each $key, $value in $values {
3028
+ --kendo-#{k-meta-inspect($group)}-#{$key}: #{$value};
3029
+ }
3030
+ }
3031
+ }
3032
+
3033
+ // #endregion
3034
+ // #region @import "./_swatch.scss"; -> /home/runner/work/kendo-themes/kendo-themes/node_modules/@progress/kendo-theme-core/scss/color-system/_swatch.scss
3035
+ // #region @import "./_functions.import.scss"; -> /home/runner/work/kendo-themes/kendo-themes/node_modules/@progress/kendo-theme-core/scss/color-system/_functions.import.scss
3036
+ // File already imported_once. Skipping output.
3037
+ // #endregion
3038
+
3039
+ // Config
3040
+ $kendo-enable-color-system: false !default;
3041
+
3042
+ // Colors
3043
+ $_default-colors: (
3044
+ // Misc
3045
+ app-surface: null,
3046
+ on-app-surface: null,
3047
+ subtle: null,
3048
+ surface: null,
3049
+ surface-alt: null,
3050
+ border: null,
3051
+ border-alt: null,
3052
+ // Base
3053
+ base-subtle: null,
3054
+ base-subtle-hover: null,
3055
+ base-subtle-active: null,
3056
+ base: null,
3057
+ base-hover: null,
3058
+ base-active: null,
3059
+ base-emphasis: null,
3060
+ base-on-subtle: null,
3061
+ on-base: null,
3062
+ base-on-surface: null,
3063
+ // Primary
3064
+ primary-subtle: null,
3065
+ primary-subtle-hover: null,
3066
+ primary-subtle-active: null,
3067
+ primary: null,
3068
+ primary-hover: null,
3069
+ primary-active: null,
3070
+ primary-emphasis: null,
3071
+ primary-on-subtle: null,
3072
+ on-primary: null,
3073
+ primary-on-surface: null,
3074
+ // Secondary
3075
+ secondary-subtle: null,
3076
+ secondary-subtle-hover: null,
3077
+ secondary-subtle-active: null,
3078
+ secondary: null,
3079
+ secondary-hover: null,
3080
+ secondary-active: null,
3081
+ secondary-emphasis: null,
3082
+ secondary-on-subtle: null,
3083
+ on-secondary: null,
3084
+ secondary-on-surface: null,
3085
+ // Tertiary
3086
+ tertiary-subtle: null,
3087
+ tertiary-subtle-hover: null,
3088
+ tertiary-subtle-active: null,
3089
+ tertiary: null,
3090
+ tertiary-hover: null,
3091
+ tertiary-active: null,
3092
+ tertiary-emphasis: null,
3093
+ tertiary-on-subtle: null,
3094
+ on-tertiary: null,
3095
+ tertiary-on-surface: null,
3096
+ // Info
3097
+ info-subtle: null,
3098
+ info-subtle-hover: null,
3099
+ info-subtle-active: null,
3100
+ info: null,
3101
+ info-hover: null,
3102
+ info-active: null,
3103
+ info-emphasis: null,
3104
+ info-on-subtle: null,
3105
+ on-info: null,
3106
+ info-on-surface: null,
3107
+ // Success
3108
+ success-subtle: null,
3109
+ success-subtle-hover: null,
3110
+ success-subtle-active: null,
3111
+ success: null,
3112
+ success-hover: null,
3113
+ success-active: null,
3114
+ success-emphasis: null,
3115
+ success-on-subtle: null,
3116
+ on-success: null,
3117
+ success-on-surface: null,
3118
+ // Warning
3119
+ warning-subtle: null,
3120
+ warning-subtle-hover: null,
3121
+ warning-subtle-active: null,
3122
+ warning: null,
3123
+ warning-hover: null,
3124
+ warning-active: null,
3125
+ warning-emphasis: null,
3126
+ warning-on-subtle: null,
3127
+ on-warning: null,
3128
+ warning-on-surface: null,
3129
+ // Error
3130
+ error-subtle: null,
3131
+ error-subtle-hover: null,
3132
+ error-subtle-active: null,
3133
+ error: null,
3134
+ error-hover: null,
3135
+ error-active: null,
3136
+ error-emphasis: null,
3137
+ error-on-subtle: null,
3138
+ on-error: null,
3139
+ error-on-surface: null,
3140
+ // Light
3141
+ light-subtle: null,
3142
+ light-subtle-hover: null,
3143
+ light-subtle-active: null,
3144
+ light: null,
3145
+ light-hover: null,
3146
+ light-active: null,
3147
+ light-emphasis: null,
3148
+ light-on-subtle: null,
3149
+ on-light: null,
3150
+ light-on-surface: null,
3151
+ // Dark
3152
+ dark-subtle: null,
3153
+ dark-subtle-hover: null,
3154
+ dark-subtle-active: null,
3155
+ dark: null,
3156
+ dark-hover: null,
3157
+ dark-active: null,
3158
+ dark-emphasis: null,
3159
+ dark-on-subtle: null,
3160
+ on-dark: null,
3161
+ dark-on-surface: null,
3162
+ // Inverse
3163
+ inverse-subtle: null,
3164
+ inverse-subtle-hover: null,
3165
+ inverse-subtle-active: null,
3166
+ inverse: null,
3167
+ inverse-hover: null,
3168
+ inverse-active: null,
3169
+ inverse-emphasis: null,
3170
+ inverse-on-subtle: null,
3171
+ on-inverse: null,
3172
+ inverse-on-surface: null,
3173
+ // Series A
3174
+ series-a: null,
3175
+ series-a-bold: null,
3176
+ series-a-bolder: null,
3177
+ series-a-subtle: null,
3178
+ series-a-subtler: null,
3179
+ // Series B
3180
+ series-b: null,
3181
+ series-b-bold: null,
3182
+ series-b-bolder: null,
3183
+ series-b-subtle: null,
3184
+ series-b-subtler: null,
3185
+ // Series C
3186
+ series-c: null,
3187
+ series-c-bold: null,
3188
+ series-c-bolder: null,
3189
+ series-c-subtle: null,
3190
+ series-c-subtler: null,
3191
+ // Series D
3192
+ series-d: null,
3193
+ series-d-bold: null,
3194
+ series-d-bolder: null,
3195
+ series-d-subtle: null,
3196
+ series-d-subtler: null,
3197
+ // Series Е
3198
+ series-e: null,
3199
+ series-e-bold: null,
3200
+ series-e-bolder: null,
3201
+ series-e-subtle: null,
3202
+ series-e-subtler: null,
3203
+ // Series F
3204
+ series-f: null,
3205
+ series-f-bold: null,
3206
+ series-f-bolder: null,
3207
+ series-f-subtle: null,
3208
+ series-f-subtler: null,
3209
+ ) !default;
3210
+
3211
+ /// The global default Colors map.
3212
+ /// @group color-system
3213
+ $kendo-colors: $_default-colors !default;
3214
+ $kendo-colors: k-map-merge($_default-colors, $kendo-colors);
3215
+
3216
+ @function k-color($key) {
3217
+ $_color: k-map-get($kendo-colors, $key);
3218
+
3219
+ @if ($_color) {
3220
+ @return var(--kendo-color-#{$key}, $_color);
3221
+ } @else {
3222
+ @error "Color Variable \`#{$key}\` does not exists in the color collection.";
3223
+ }
3224
+ }
3225
+
3226
+ @mixin color-system--styles() {
3227
+ :root {
3228
+ @each $key, $value in $kendo-colors {
3229
+ @if($value) {
3230
+ --kendo-color-#{$key}: #{$value};
3231
+ }
3232
+ }
3233
+ }
3234
+ }
3235
+
3236
+ // #endregion
3237
+ // #region @import "./_constants.scss"; -> /home/runner/work/kendo-themes/kendo-themes/node_modules/@progress/kendo-theme-core/scss/color-system/_constants.scss
3238
+ // Color constants
3239
+
3240
+ /// The color white.
3241
+ /// Note: you cannot change this value.
3242
+ /// @type Color
3243
+ /// @group color-system
3244
+ $kendo-color-white: #ffffff; // stylelint-disable-line scss/dollar-variable-default
3245
+
3246
+ /// The color black.
3247
+ /// Note: you cannot change this value.
3248
+ /// @type Color
3249
+ /// @group color-system
3250
+ $kendo-color-black: #000000; // stylelint-disable-line scss/dollar-variable-default
3251
+
3252
+ /// The color transparent.
3253
+ /// Note: you cannot change this value.
3254
+ /// @type Color
3255
+ /// @group color-system
3256
+ $kendo-color-rgba-transparent: rgba(0, 0, 0, 0); // stylelint-disable-line scss/dollar-variable-default
3257
+
3258
+ /// A gradient that goes from transparent to black.
3259
+ /// Note: you cannot change this value.
3260
+ /// @type Gradient
3261
+ /// @group color-system
3262
+ $kendo-gradient-transparent-to-black: rgba(black, 0), black; // stylelint-disable-line scss/dollar-variable-default
3263
+
3264
+ /// A gradient that goes from transparent to white.
3265
+ /// Note: you cannot change this value.
3266
+ /// @type Gradient
3267
+ /// @group color-system
3268
+ $kendo-gradient-transparent-to-white: rgba(white, 0), white; // stylelint-disable-line scss/dollar-variable-default
3269
+
3270
+ /// A gradient that goes from black to transparent.
3271
+ /// Note: you cannot change this value.
3272
+ /// @type Gradient
3273
+ /// @group color-system
3274
+ $kendo-gradient-black-to-transparent: black, rgba(black, 0); // stylelint-disable-line scss/dollar-variable-default
3275
+
3276
+ /// A gradient that goes from white to transparent.
3277
+ /// Note: you cannot change this value.
3278
+ /// @type Gradient
3279
+ /// @group color-system
3280
+ $kendo-gradient-white-to-transparent: white, rgba(white, 0); // stylelint-disable-line scss/dollar-variable-default
3281
+
3282
+ /// A gradient that cycles through the colors of the rainbow.
3283
+ /// Note: you cannot change this value.
3284
+ /// @type Gradient
3285
+ /// @group color-system
3286
+ $kendo-gradient-rainbow: #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff, #ff0000; // stylelint-disable-line scss/dollar-variable-default
3287
+
3288
+ // #endregion
3289
+ // #region @import "./_swatch-legacy.scss"; -> /home/runner/work/kendo-themes/kendo-themes/node_modules/@progress/kendo-theme-core/scss/color-system/_swatch-legacy.scss
3290
+ $kendo-is-dark-theme: false !default;
3291
+
3292
+ // Root styles
3293
+ $kendo-body-bg: null !default;
3294
+ $kendo-body-text: null !default;
3295
+
3296
+ // Component styles
3297
+ $kendo-component-bg: null !default;
3298
+ $kendo-component-text: null !default;
3299
+ $kendo-component-border: null !default;
3300
+
3301
+ // States styles
3302
+ $kendo-hover-bg: null !default;
3303
+ $kendo-hover-text: null !default;
3304
+ $kendo-hover-border: null !default;
3305
+
3306
+ $kendo-selected-bg: null !default;
3307
+ $kendo-selected-text: null !default;
3308
+ $kendo-selected-border: null !default;
3309
+
3310
+ $kendo-selected-hover-bg: null !default;
3311
+ $kendo-selected-hover-text: null !default;
3312
+ $kendo-selected-hover-border: null !default;
3313
+
3314
+ $kendo-focus-outline: null !default;
3315
+
3316
+ $kendo-subtle-text: null !default;
3317
+
3318
+ // Link
3319
+ $kendo-link-text: null !default;
3320
+ $kendo-link-hover-text: null !default;
3321
+
3322
+ // Validator
3323
+ $kendo-invalid-bg: null !default;
3324
+ $kendo-invalid-text: null !default;
3325
+ $kendo-invalid-border: null !default;
3326
+ $kendo-invalid-shadow: null !default;
3327
+
3328
+ // Disabled Styling
3329
+ $kendo-disabled-bg: null !default;
3330
+ $kendo-disabled-text: null !default;
3331
+ $kendo-disabled-border: null !default;
3332
+
3333
+ // Loading
3334
+ $kendo-loading-bg: null !default;
3335
+ $kendo-loading-text: null !default;
3336
+
3337
+ $kendo-palettes: () !default;
3338
+ $kendo-theme-colors: () !default;
3339
+
3340
+ @mixin color-system-styles() {
3341
+ :root {
3342
+ @include k-css-vars($kendo-palettes);
3343
+ @include k-css-vars($kendo-theme-colors);
3344
+
3345
+ // Text colors
3346
+ @each $theme-color, $color-props in $kendo-theme-colors {
3347
+ $_color: k-map-get($color-props, text);
3348
+
3349
+ .k-text-#{$theme-color},
3350
+ .k-color-#{$theme-color} {
3351
+ color: var(--kendo-text-#{$theme-color}, #{$_color});
3352
+ }
3353
+ .\!k-text-#{$theme-color},
3354
+ .\!k-color-#{$theme-color} {
3355
+ color: var(--kendo-text-#{$theme-color}, #{$_color}) !important; // stylelint-disable-line declaration-no-important
3356
+ }
3357
+
3358
+ .k-bg-#{$theme-color} {
3359
+ background-color: var(--kendo-bg-#{$theme-color}, #{$_color});
3360
+ }
3361
+ .\!k-bg-#{$theme-color} {
3362
+ background-color: var(--kendo-bg-#{$theme-color}, #{$_color}) !important; // stylelint-disable-line declaration-no-important
3363
+ }
3364
+ }
3365
+ }
3366
+ }
3367
+
3368
+ // #endregion
3369
+ // @import "./_palettes.scss";
3370
+
3371
+ // #endregion
3372
+
1751
3373
  $kendo-prefix: k- !default;
1752
3374
  $kendo-important: true !default;
3375
+ $kendo-enable-color-system: false !default;
1753
3376
 
1754
3377
  $kendo-theme-colors: () !default;
1755
3378
 
1756
3379
  $kendo-font-sizes: () !default;
1757
3380
 
3381
+ $kendo-util-colors-list: (
3382
+ primary-subtle,
3383
+ primary,
3384
+ primary-emphasis,
3385
+ secondary-subtle,
3386
+ secondary,
3387
+ secondary-emphasis,
3388
+ tertiary-subtle,
3389
+ tertiary,
3390
+ tertiary-emphasis,
3391
+ info-subtle,
3392
+ info,
3393
+ info-emphasis,
3394
+ success-subtle,
3395
+ success,
3396
+ success-emphasis,
3397
+ warning-subtle,
3398
+ warning,
3399
+ warning-emphasis,
3400
+ error-subtle,
3401
+ error,
3402
+ error-emphasis,
3403
+ light-subtle,
3404
+ light,
3405
+ light-emphasis,
3406
+ dark-subtle,
3407
+ dark,
3408
+ dark-emphasis,
3409
+ ) !default;
3410
+
3411
+ $kendo-util-colors: () !default;
3412
+ @each $name, $color in $kendo-colors {
3413
+ @each $util-color in $kendo-util-colors-list {
3414
+ @if ( $name == $util-color ) {
3415
+ $kendo-util-colors: k-map-merge( $kendo-util-colors, ( $name: $color) );
3416
+ }
3417
+ }
3418
+ }
3419
+
1758
3420
  $kendo-spacing: (
1759
3421
  0: 0,
1760
3422
  1px: 1px,
@@ -2442,7 +4104,7 @@ $kendo-utils: (
2442
4104
  start,
2443
4105
  end
2444
4106
  ),
2445
- "text-color": k-map-merge( $kendo-theme-colors, (
4107
+ "text-color": k-map-merge( if( $kendo-enable-color-system, $kendo-util-colors, $kendo-theme-colors ), (
2446
4108
  "inherit": inherit,
2447
4109
  "current": currentColor,
2448
4110
  "transparent": transparent,
@@ -2497,7 +4159,7 @@ $kendo-utils: (
2497
4159
  content: content-box,
2498
4160
  text: text
2499
4161
  ),
2500
- "background-color": k-map-merge( $kendo-theme-colors, (
4162
+ "background-color": k-map-merge( if( $kendo-enable-color-system, $kendo-util-colors, $kendo-theme-colors ), (
2501
4163
  "inherit": inherit,
2502
4164
  "transparent": transparent,
2503
4165
  "black": black,
@@ -2540,7 +4202,7 @@ $kendo-utils: (
2540
4202
  hidden,
2541
4203
  none
2542
4204
  ),
2543
- "border-color": k-map-merge( $kendo-theme-colors, (
4205
+ "border-color": k-map-merge( if( $kendo-enable-color-system, $kendo-util-colors, $kendo-theme-colors ), (
2544
4206
  "inherit": inherit,
2545
4207
  "current": currentColor,
2546
4208
  "transparent": transparent,
@@ -2566,7 +4228,7 @@ $kendo-utils: (
2566
4228
  outset,
2567
4229
  none
2568
4230
  ),
2569
- "outline-color": k-map-merge( $kendo-theme-colors, (
4231
+ "outline-color": k-map-merge( if( $kendo-enable-color-system, $kendo-util-colors, $kendo-theme-colors ), (
2570
4232
  "inherit": inherit,
2571
4233
  "current": currentColor,
2572
4234
  "transparent": transparent,
@@ -2785,7 +4447,7 @@ $kendo-utils: (
2785
4447
 
2786
4448
  // #endregion
2787
4449
  // #region @import "./_mixins.scss"; -> scss/_mixins.scss
2788
- @mixin generate-utils( $name, $props, $values, $function: "", $important: $kendo-important ) {
4450
+ @mixin generate-utils( $name, $props, $values, $function: "", $important: $kendo-important, $css-var: null ) {
2789
4451
  @if $values {
2790
4452
  $_props: if( k-meta-type-of($props) == list, $props, ( $props ) );
2791
4453
  $_fn: if( k-meta-function-exists( $function ), k-meta-get-function( $function ), null );
@@ -2795,25 +4457,33 @@ $kendo-utils: (
2795
4457
  $_val: if( k-meta-type-of($values) == list, $key, $val );
2796
4458
  $_name: k-escape-class-name( $name );
2797
4459
  $_selector: if( $_key == DEFAULT, #{$kendo-prefix}#{$_name}, #{$kendo-prefix}#{$_name}-#{$_key});
4460
+ $_custom-prop: if( $_key == DEFAULT, var( --kendo-#{$css-var}, #{$_val} ), var( --kendo-#{$css-var}-#{$_key}, #{$_val} ) );
2798
4461
 
2799
4462
  @if $important != only {
2800
4463
  .#{$_selector} {
2801
4464
  @each $prop in $_props {
2802
- #{$prop}: if( $_fn, k-meta-call($_fn, $_val), $_val );
4465
+ @if $css-var {
4466
+ #{$prop}: if( $_fn, k-meta-call($_fn, $_custom-prop), $_custom-prop );
4467
+ } @else {
4468
+ #{$prop}: if( $_fn, k-meta-call($_fn, $_val), $_val );
4469
+ }
2803
4470
  }
2804
4471
  }
2805
4472
  }
2806
4473
  @if $important {
2807
4474
  .\!#{$_selector} {
2808
4475
  @each $prop in $_props {
2809
- #{$prop}: if( $_fn, k-meta-call($_fn, $_val), $_val ) !important; // stylelint-disable-line declaration-no-important
4476
+ @if $css-var {
4477
+ #{$prop}: if( $_fn, k-meta-call($_fn, $-custom-prop), $-custom-prop ) !important; // stylelint-disable-line declaration-no-important
4478
+ } @else {
4479
+ #{$prop}: if( $_fn, k-meta-call($_fn, $_val), $_val ) !important; // stylelint-disable-line declaration-no-important
4480
+ }
2810
4481
  }
2811
4482
  }
2812
4483
  }
2813
4484
  }
2814
4485
  }
2815
4486
  }
2816
-
2817
4487
  // #endregion
2818
4488
 
2819
4489
  // #region @import "./accessibility/index.import.scss"; -> scss/accessibility/index.import.scss
@@ -6867,11 +8537,11 @@ $kendo-utils: (
6867
8537
 
6868
8538
  // Text color utility classes
6869
8539
  $kendo-utils-text-color: k-map-get( $kendo-utils, "text-color" ) !default;
6870
- @include generate-utils( text, color, $kendo-utils-text-color );
8540
+ @include generate-utils( text, color, $kendo-utils-text-color, $css-var: 'color' );
6871
8541
 
6872
8542
 
6873
8543
  // Legacy aliases
6874
- @include generate-utils( color, color, $kendo-utils-text-color );
8544
+ @include generate-utils( color, color, $kendo-utils-text-color, $css-var: 'color' );
6875
8545
 
6876
8546
  }
6877
8547
 
@@ -7169,7 +8839,7 @@ $kendo-utils: (
7169
8839
 
7170
8840
  // Background color utility classes
7171
8841
  $kendo-utils-background-color: k-map-get( $kendo-utils, "background-color" ) !default;
7172
- @include generate-utils( bg, background-color, $kendo-utils-background-color );
8842
+ @include generate-utils( bg, background-color, $kendo-utils-background-color, $css-var: 'color' );
7173
8843
 
7174
8844
  }
7175
8845
 
@@ -7313,13 +8983,7 @@ $kendo-utils: (
7313
8983
 
7314
8984
  // Border color utility classes
7315
8985
  $kendo-utils-border-color: k-map-get( $kendo-utils, "border-color" ) !default;
7316
- @include generate-utils( border, border-color, $kendo-utils-border-color );
7317
- @include generate-utils( border-t, border-top-color, $kendo-utils-border-color );
7318
- @include generate-utils( border-r, border-right-color, $kendo-utils-border-color );
7319
- @include generate-utils( border-b, border-bottom-color, $kendo-utils-border-color );
7320
- @include generate-utils( border-l, border-left-color, $kendo-utils-border-color );
7321
- @include generate-utils( border-x, border-inline-color, $kendo-utils-border-color );
7322
- @include generate-utils( border-y, border-block-color, $kendo-utils-border-color );
8986
+ @include generate-utils( border, border-color, $kendo-utils-border-color, $css-var: 'color' );
7323
8987
 
7324
8988
  }
7325
8989
 
@@ -8199,7 +9863,7 @@ $kendo-utils: (
8199
9863
 
8200
9864
  // Outline color utility classes
8201
9865
  $kendo-utils-outline-color: k-map-get( $kendo-utils, "outline-color" ) !default;
8202
- @include generate-utils( outline, outline-color, $kendo-utils-outline-color );
9866
+ @include generate-utils( outline, outline-color, $kendo-utils-outline-color, $css-var: 'color' );
8203
9867
 
8204
9868
  }
8205
9869
 
@@ -9658,7 +11322,7 @@ $kendo-elevation: k-map-merge($_default-elevation, $kendo-elevation);
9658
11322
  // #endregion
9659
11323
 
9660
11324
  @mixin kendo-utils--elevation {
9661
- @include generate-utils(elevation, box-shadow, $kendo-elevation);
11325
+ @include generate-utils(elevation, box-shadow, $kendo-elevation, $css-var: 'elevation');
9662
11326
  }
9663
11327
 
9664
11328
  // #endregion