@progress/kendo-theme-fluent 10.6.0-dev.6 → 11.0.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.
Files changed (135) hide show
  1. package/dist/all.css +1 -1
  2. package/dist/fluent-main-dark.css +1 -1
  3. package/dist/fluent-main-dark.scss +1 -1
  4. package/dist/fluent-main.css +1 -1
  5. package/dist/fluent-main.scss +1 -5
  6. package/dist/meta/sassdoc-data.json +2688 -2688
  7. package/dist/meta/sassdoc-raw-data.json +860 -860
  8. package/dist/meta/variables.json +540 -985
  9. package/lib/swatches/all.json +2 -13
  10. package/lib/swatches/fluent-main-dark.json +6 -17
  11. package/lib/swatches/fluent-main.json +6 -18
  12. package/package.json +4 -4
  13. package/scss/action-sheet/_variables.scss +12 -12
  14. package/scss/adaptive/_theme.scss +3 -3
  15. package/scss/adaptive/_variables.scss +13 -13
  16. package/scss/appbar/_variables.scss +10 -10
  17. package/scss/avatar/_variables.scss +11 -11
  18. package/scss/badge/_layout.scss +1 -1
  19. package/scss/badge/_variables.scss +14 -14
  20. package/scss/bottom-navigation/_variables.scss +35 -35
  21. package/scss/breadcrumb/_variables.scss +13 -13
  22. package/scss/button/_layout.scss +1 -1
  23. package/scss/button/_variables.scss +172 -172
  24. package/scss/calendar/_theme.scss +3 -3
  25. package/scss/calendar/_variables.scss +27 -27
  26. package/scss/captcha/_variables.scss +3 -3
  27. package/scss/card/_layout.scss +0 -1
  28. package/scss/card/_theme.scss +4 -0
  29. package/scss/card/_variables.scss +7 -7
  30. package/scss/chart-wizard/_variables.scss +4 -4
  31. package/scss/chat/_variables.scss +15 -15
  32. package/scss/checkbox/_variables.scss +22 -22
  33. package/scss/chip/_variables.scss +48 -48
  34. package/scss/color-preview/_theme.scss +1 -1
  35. package/scss/color-preview/_variables.scss +4 -4
  36. package/scss/coloreditor/_variables.scss +4 -4
  37. package/scss/colorgradient/_variables.scss +12 -12
  38. package/scss/colorpalette/_variables.scss +4 -4
  39. package/scss/core/_index.scss +8 -5
  40. package/scss/core/color-system/_index.scss +0 -1
  41. package/scss/core/color-system/_swatch.scss +0 -4
  42. package/scss/dataviz/_layout.scss +8 -8
  43. package/scss/dataviz/_theme.scss +3 -3
  44. package/scss/dataviz/_variables.scss +56 -56
  45. package/scss/daterangepicker/_theme.scss +1 -1
  46. package/scss/dialog/_variables.scss +8 -8
  47. package/scss/dock-manager/_variables.scss +10 -10
  48. package/scss/draggable/_variables.scss +4 -4
  49. package/scss/drawer/_variables.scss +16 -16
  50. package/scss/dropzone/_variables.scss +6 -6
  51. package/scss/editor/_theme.scss +2 -2
  52. package/scss/editor/_variables.scss +15 -15
  53. package/scss/expansion-panel/_variables.scss +14 -14
  54. package/scss/fab/_theme.scss +3 -3
  55. package/scss/fab/_variables.scss +12 -12
  56. package/scss/filemanager/_variables.scss +5 -5
  57. package/scss/filter/_variables.scss +5 -5
  58. package/scss/floating-label/_variables.scss +1 -1
  59. package/scss/forms/_theme.scss +2 -2
  60. package/scss/forms/_variables.scss +4 -4
  61. package/scss/gantt/_theme.scss +3 -3
  62. package/scss/gantt/_variables.scss +36 -36
  63. package/scss/grid/_layout.scss +1 -1
  64. package/scss/grid/_theme.scss +13 -43
  65. package/scss/grid/_variables.scss +20 -20
  66. package/scss/imageeditor/_variables.scss +6 -6
  67. package/scss/index.scss +3 -3
  68. package/scss/input/_theme.scss +3 -5
  69. package/scss/input/_variables.scss +74 -80
  70. package/scss/list/_variables.scss +23 -23
  71. package/scss/listbox/_variables.scss +4 -4
  72. package/scss/listgroup/_variables.scss +3 -3
  73. package/scss/listview/_variables.scss +4 -4
  74. package/scss/loader/_variables.scss +9 -9
  75. package/scss/map/_variables.scss +8 -8
  76. package/scss/marquee/_index.scss +16 -0
  77. package/scss/marquee/_layout.scss +6 -0
  78. package/scss/marquee/_theme.scss +6 -0
  79. package/scss/marquee/_variables.scss +11 -0
  80. package/scss/mediaplayer/_variables.scss +6 -6
  81. package/scss/menu/_theme.scss +1 -1
  82. package/scss/menu/_variables.scss +11 -11
  83. package/scss/messagebox/_theme.scss +1 -1
  84. package/scss/messagebox/_variables.scss +30 -2
  85. package/scss/no-data/_variables.scss +1 -1
  86. package/scss/notification/_variables.scss +10 -10
  87. package/scss/orgchart/_variables.scss +8 -8
  88. package/scss/pager/_variables.scss +6 -6
  89. package/scss/panel/_layout.scss +3 -3
  90. package/scss/panel/_variables.scss +3 -3
  91. package/scss/panelbar/_variables.scss +12 -12
  92. package/scss/pdf-viewer/_variables.scss +16 -16
  93. package/scss/pivotgrid/_theme.scss +4 -4
  94. package/scss/pivotgrid/_variables.scss +22 -22
  95. package/scss/popover/_variables.scss +3 -3
  96. package/scss/popup/_variables.scss +3 -3
  97. package/scss/progressbar/_variables.scss +13 -13
  98. package/scss/prompt/_variables.scss +12 -12
  99. package/scss/radio/_variables.scss +13 -13
  100. package/scss/rating/_theme.scss +2 -2
  101. package/scss/rating/_variables.scss +4 -4
  102. package/scss/scheduler/_theme.scss +5 -5
  103. package/scss/scheduler/_variables.scss +17 -17
  104. package/scss/scrollview/_variables.scss +11 -11
  105. package/scss/searchbox/_variables.scss +1 -1
  106. package/scss/signature/_variables.scss +2 -2
  107. package/scss/skeleton/_variables.scss +2 -2
  108. package/scss/slider/_variables.scss +12 -12
  109. package/scss/split-button/_variables.scss +1 -1
  110. package/scss/splitter/_variables.scss +8 -8
  111. package/scss/spreadsheet/_variables.scss +29 -29
  112. package/scss/stepper/_theme.scss +29 -53
  113. package/scss/stepper/_variables.scss +20 -20
  114. package/scss/switch/_variables.scss +32 -32
  115. package/scss/table/_theme.scss +7 -18
  116. package/scss/table/_variables.scss +8 -8
  117. package/scss/tabstrip/_variables.scss +16 -16
  118. package/scss/taskboard/_theme.scss +4 -4
  119. package/scss/taskboard/_variables.scss +13 -13
  120. package/scss/tilelayout/_variables.scss +2 -2
  121. package/scss/timeline/_variables.scss +14 -14
  122. package/scss/timeselector/_theme.scss +3 -3
  123. package/scss/timeselector/_variables.scss +4 -4
  124. package/scss/toolbar/_layout.scss +6 -0
  125. package/scss/toolbar/_variables.scss +7 -7
  126. package/scss/tooltip/_variables.scss +10 -10
  127. package/scss/treeview/_variables.scss +11 -11
  128. package/scss/typography/_layout.scss +2 -2
  129. package/scss/typography/_theme.scss +2 -2
  130. package/scss/typography/_variables.scss +3 -3
  131. package/scss/upload/_theme.scss +2 -2
  132. package/scss/upload/_variables.scss +14 -14
  133. package/scss/window/_variables.scss +11 -11
  134. package/scss/wizard/_variables.scss +3 -3
  135. package/scss/core/color-system/_swatch-legacy.scss +0 -165
@@ -34,7 +34,7 @@
34
34
  .k-step-link:focus {
35
35
  // Labels only
36
36
  .k-step-label:only-child {
37
- @include box-shadow( inset 0 0 0 var( --kendo-stepper-indicator-focus-size, #{$kendo-stepper-indicator-focus-size} ) var( --kendo-component-border, initial ) );
37
+ @include box-shadow( inset 0 0 0 var( --kendo-stepper-indicator-focus-size, #{$kendo-stepper-indicator-focus-size} ) color-mix(in srgb, k-color( border ) 16%, transparent) );
38
38
  }
39
39
  }
40
40
 
@@ -42,22 +42,14 @@
42
42
  &:disabled,
43
43
  &.k-disabled {
44
44
  .k-step-indicator {
45
- @if($kendo-enable-color-system) {
46
- @include fill(
47
- var( --kendo-stepper-indicator-disabled-text, #{$kendo-stepper-indicator-disabled-text} ),
48
- k-color( app-surface ),
49
- var( --kendo-stepper-indicator-disabled-border, #{$kendo-stepper-indicator-disabled-border} )
50
- );
51
-
52
- &::before {
53
- background-color: var( --kendo-stepper-indicator-disabled-bg, #{$kendo-stepper-indicator-disabled-bg} );
54
- }
55
- } @else {
56
- @include fill(
57
- var( --kendo-stepper-indicator-disabled-text, #{$kendo-stepper-indicator-disabled-text} ),
58
- var( --kendo-stepper-indicator-disabled-bg, #{$kendo-stepper-indicator-disabled-bg} ),
59
- var( --kendo-stepper-indicator-disabled-border, #{$kendo-stepper-indicator-disabled-border} )
60
- );
45
+ @include fill(
46
+ var( --kendo-stepper-indicator-disabled-text, #{$kendo-stepper-indicator-disabled-text} ),
47
+ k-color( app-surface ),
48
+ var( --kendo-stepper-indicator-disabled-border, #{$kendo-stepper-indicator-disabled-border} )
49
+ );
50
+
51
+ &::before {
52
+ background-color: var( --kendo-stepper-indicator-disabled-bg, #{$kendo-stepper-indicator-disabled-bg} );
61
53
  }
62
54
  }
63
55
 
@@ -74,13 +66,13 @@
74
66
  );
75
67
  }
76
68
  .k-step-indicator::after {
77
- @include box-shadow( inset 0 0 0 var( --kendo-stepper-indicator-focus-size, #{$kendo-stepper-indicator-focus-size} ) var( --kendo-component-bg, initial ) );
69
+ @include box-shadow( inset 0 0 0 var( --kendo-stepper-indicator-focus-size, #{$kendo-stepper-indicator-focus-size} ) k-color( surface-alt ) );
78
70
  }
79
71
  .k-step-label:only-child {
80
72
  @include fill(
81
- var( --kendo-component-text, initial ),
82
- var( --kendo-component-bg, transparent ),
83
- var( --kendo-component-border, initial )
73
+ k-color( on-app-surface ),
74
+ k-color( surface-alt ),
75
+ color-mix(in srgb, k-color( border ) 16%, transparent)
84
76
  );
85
77
  }
86
78
 
@@ -116,22 +108,14 @@
116
108
  &.k-disabled,
117
109
  &:disabled {
118
110
  .k-step-indicator {
119
- @if($kendo-enable-color-system) {
120
- @include fill(
121
- var( --kendo-stepper-indicator-done-disabled-text, #{$kendo-stepper-indicator-done-disabled-text} ),
122
- k-color( app-surface ),
123
- var( --kendo-stepper-indicator-done-disabled-border, #{$kendo-stepper-indicator-done-disabled-border} )
124
- );
125
-
126
- &::before {
127
- background-color: var( --kendo-stepper-indicator-done-disabled-bg, #{$kendo-stepper-indicator-done-disabled-bg} );
128
- }
129
- } @else {
130
- @include fill(
131
- var( --kendo-stepper-indicator-done-disabled-text, #{$kendo-stepper-indicator-done-disabled-text} ),
132
- var( --kendo-stepper-indicator-done-disabled-bg, #{$kendo-stepper-indicator-done-disabled-bg} ),
133
- var( --kendo-stepper-indicator-done-disabled-border, #{$kendo-stepper-indicator-done-disabled-border} )
134
- );
111
+ @include fill(
112
+ var( --kendo-stepper-indicator-done-disabled-text, #{$kendo-stepper-indicator-done-disabled-text} ),
113
+ k-color( app-surface ),
114
+ var( --kendo-stepper-indicator-done-disabled-border, #{$kendo-stepper-indicator-done-disabled-border} )
115
+ );
116
+
117
+ &::before {
118
+ background-color: var( --kendo-stepper-indicator-done-disabled-bg, #{$kendo-stepper-indicator-done-disabled-bg} );
135
119
  }
136
120
  }
137
121
 
@@ -173,22 +157,14 @@
173
157
  &.k-disabled,
174
158
  &:disabled {
175
159
  .k-step-indicator {
176
- @if($kendo-enable-color-system) {
177
- @include fill(
178
- var( --kendo-stepper-indicator-current-disabled-text, #{$kendo-stepper-indicator-current-disabled-text} ),
179
- k-color( app-surface ),
180
- var( --kendo-stepper-indicator-current-disabled-border, #{$kendo-stepper-indicator-current-disabled-border} )
181
- );
182
-
183
- &::before {
184
- background-color: var( --kendo-stepper-indicator-current-disabled-bg, #{$kendo-stepper-indicator-current-disabled-bg} );
185
- }
186
- } @else {
187
- @include fill(
188
- var( --kendo-stepper-indicator-current-disabled-text, #{$kendo-stepper-indicator-current-disabled-text} ),
189
- var( --kendo-stepper-indicator-current-disabled-bg, #{$kendo-stepper-indicator-current-disabled-bg} ),
190
- var( --kendo-stepper-indicator-current-disabled-border, #{$kendo-stepper-indicator-current-disabled-border} )
191
- );
160
+ @include fill(
161
+ var( --kendo-stepper-indicator-current-disabled-text, #{$kendo-stepper-indicator-current-disabled-text} ),
162
+ k-color( app-surface ),
163
+ var( --kendo-stepper-indicator-current-disabled-border, #{$kendo-stepper-indicator-current-disabled-border} )
164
+ );
165
+
166
+ &::before {
167
+ background-color: var( --kendo-stepper-indicator-current-disabled-bg, #{$kendo-stepper-indicator-current-disabled-bg} );
192
168
  }
193
169
  }
194
170
  }
@@ -19,7 +19,7 @@ $kendo-stepper-line-height: var( --kendo-line-height, normal ) !default;
19
19
  $kendo-stepper-bg: transparent !default;
20
20
  /// The text color of the Stepper.
21
21
  /// @group stepper
22
- $kendo-stepper-text: var( --kendo-component-text, initial ) !default;
22
+ $kendo-stepper-text: k-color(on-app-surface) !default;
23
23
  /// The border color of the Stepper.
24
24
  /// @group stepper
25
25
  $kendo-stepper-border: transparent !default;
@@ -72,47 +72,47 @@ $kendo-stepper-indicator-focus-calc-offset: calc( #{$kendo-stepper-indicator-foc
72
72
 
73
73
  /// The background color of the Stepper indicator.
74
74
  /// @group stepper
75
- $kendo-stepper-indicator-bg: var( --kendo-component-bg, initial ) !default;
75
+ $kendo-stepper-indicator-bg: k-color(surface-alt) !default;
76
76
  /// The text color of the Stepper indicator.
77
77
  /// @group stepper
78
- $kendo-stepper-indicator-text: var( --kendo-component-text, initial ) !default;
78
+ $kendo-stepper-indicator-text: k-color(on-app-surface) !default;
79
79
  /// The border color of the Stepper indicator.
80
80
  /// @group stepper
81
- $kendo-stepper-indicator-border: if($kendo-enable-color-system, k-color( border ), k-get-theme-color-var( neutral-110 )) !default;
81
+ $kendo-stepper-indicator-border: k-color(border) !default;
82
82
 
83
83
  /// The background color of the hovered Stepper indicator.
84
84
  /// @group stepper
85
- $kendo-stepper-indicator-hover-bg: var( --kendo-hover-bg, initial ) !default;
85
+ $kendo-stepper-indicator-hover-bg: k-color(base-hover) !default;
86
86
  /// The text color of the hovered Stepper indicator.
87
87
  /// @group stepper
88
- $kendo-stepper-indicator-hover-text: var( --kendo-hover-text, initial ) !default;
88
+ $kendo-stepper-indicator-hover-text: k-color(on-base) !default;
89
89
  /// The border color of the hovered Stepper indicator.
90
90
  /// @group stepper
91
91
  $kendo-stepper-indicator-hover-border: $kendo-stepper-indicator-border !default;
92
92
 
93
93
  /// The background color of the disabled Stepper indicator.
94
94
  /// @group stepper
95
- $kendo-stepper-indicator-disabled-bg: var( --kendo-disabled-bg, initial ) !default;
95
+ $kendo-stepper-indicator-disabled-bg: k-color(base-subtle) !default;
96
96
  /// The text color of the disabled Stepper indicator.
97
97
  /// @group stepper
98
- $kendo-stepper-indicator-disabled-text: var( --kendo-disabled-text, initial) !default;
98
+ $kendo-stepper-indicator-disabled-text: color-mix(in srgb, k-color(on-app-surface) 46%, transparent) !default;
99
99
  /// The border color of the disabled Stepper indicator.
100
100
  /// @group stepper
101
- $kendo-stepper-indicator-disabled-border: var( --kendo-disabled-border, initial ) !default;
101
+ $kendo-stepper-indicator-disabled-border: transparent !default;
102
102
 
103
103
  /// The background color of the Stepper's done indicator.
104
104
  /// @group stepper
105
- $kendo-stepper-indicator-done-bg: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
105
+ $kendo-stepper-indicator-done-bg: k-color(primary) !default;
106
106
  /// The text color of the Stepper's done indicator.
107
107
  /// @group stepper
108
- $kendo-stepper-indicator-done-text: if($kendo-enable-color-system, k-color( on-primary ), $kendo-color-white) !default;
108
+ $kendo-stepper-indicator-done-text: k-color(on-primary) !default;
109
109
  /// The border color of the Stepper's done indicator.
110
110
  /// @group stepper
111
111
  $kendo-stepper-indicator-done-border: $kendo-stepper-indicator-done-bg !default;
112
112
 
113
113
  /// The background color of the Stepper's hovered done indicator.
114
114
  /// @group stepper
115
- $kendo-stepper-indicator-done-hover-bg: if($kendo-enable-color-system, k-color( primary-hover ), k-get-theme-color-var( primary-110 )) !default;
115
+ $kendo-stepper-indicator-done-hover-bg: k-color(primary-hover) !default;
116
116
  /// The text color of the Stepper's hovered done indicator.
117
117
  /// @group stepper
118
118
  $kendo-stepper-indicator-done-hover-text: $kendo-stepper-indicator-done-text !default;
@@ -122,17 +122,17 @@ $kendo-stepper-indicator-done-hover-border: $kendo-stepper-indicator-done-hover-
122
122
 
123
123
  /// The background color of the Stepper's disabled done indicator.
124
124
  /// @group stepper
125
- $kendo-stepper-indicator-done-disabled-bg: if($kendo-enable-color-system, color-mix(in srgb, k-color( primary ) 22%, transparent), k-get-theme-color-var( primary-30 )) !default;
125
+ $kendo-stepper-indicator-done-disabled-bg: color-mix(in srgb, k-color(primary) 22%, transparent) !default;
126
126
  /// The text color of the Stepper's disabled done indicator.
127
127
  /// @group stepper
128
- $kendo-stepper-indicator-done-disabled-text: var( --kendo-disabled-text, initial ) !default;
128
+ $kendo-stepper-indicator-done-disabled-text: color-mix(in srgb, k-color(on-app-surface) 46%, transparent) !default;
129
129
  /// The border color of the Stepper's disabled done indicator.
130
130
  /// @group stepper
131
- $kendo-stepper-indicator-done-disabled-border: var( --kendo-disabled-border, initial ) !default;
131
+ $kendo-stepper-indicator-done-disabled-border: transparent !default;
132
132
 
133
133
  /// The background color of the Stepper current indicator.
134
134
  /// @group stepper
135
- $kendo-stepper-indicator-current-bg: if($kendo-enable-color-system, k-color( primary-active ), k-get-theme-color-var( primary-120 )) !default;
135
+ $kendo-stepper-indicator-current-bg: k-color(primary-active) !default;
136
136
  /// The text color of the Stepper current indicator.
137
137
  /// @group stepper
138
138
  $kendo-stepper-indicator-current-text: $kendo-stepper-indicator-done-text !default;
@@ -165,23 +165,23 @@ $kendo-stepper-indicator-current-disabled-border: $kendo-stepper-indicator-done-
165
165
  $kendo-stepper-label-text: inherit !default;
166
166
  /// The success text color of the Stepper label.
167
167
  /// @group stepper
168
- $kendo-stepper-label-success-text: if($kendo-enable-color-system, k-color( success-on-surface ), k-get-theme-color-var( success-190 )) !default;
168
+ $kendo-stepper-label-success-text: k-color(success-on-surface) !default;
169
169
  /// The error text color of the Stepper label.
170
170
  /// @group stepper
171
- $kendo-stepper-label-error-text: if($kendo-enable-color-system, k-color( error-on-surface ), k-get-theme-color-var( error-190 )) !default;
171
+ $kendo-stepper-label-error-text: k-color(error-on-surface) !default;
172
172
  /// The text color of the hovered Stepper label.
173
173
  /// @group stepper
174
174
  $kendo-stepper-label-hover-text: $kendo-stepper-text !default;
175
175
  /// The text color of the disabled Stepper label.
176
176
  /// @group stepper
177
- $kendo-stepper-label-disabled-text: var( --kendo-disabled-text, initial ) !default;
177
+ $kendo-stepper-label-disabled-text: color-mix(in srgb, k-color(on-app-surface) 46%, transparent) !default;
178
178
  /// The font weight of the disabled Stepper label.
179
179
  /// @group stepper
180
180
  $kendo-stepper-current-label-font-weight: var( --kendo-font-weight-bold, bold ) !default;
181
181
 
182
182
  /// The text color of the optional Stepper label.
183
183
  /// @group stepper
184
- $kendo-stepper-optional-label-text: if($kendo-enable-color-system, k-color( subtle ), k-get-theme-color-var( neutral-130 )) !default;
184
+ $kendo-stepper-optional-label-text: k-color(subtle) !default;
185
185
  /// The font size of the optional Stepper label.
186
186
  /// @group stepper
187
187
  $kendo-stepper-optional-label-font-size: inherit !default;
@@ -30,122 +30,122 @@ $kendo-switch-sizes: (
30
30
 
31
31
  /// The ring around the focused Switch.
32
32
  /// @group switch
33
- $kendo-switch-focus-ring: 1px solid if($kendo-enable-color-system, k-color( base-emphasis ), k-get-theme-color-var( neutral-130 )) !default;
33
+ $kendo-switch-focus-ring: 1px solid k-color(base-emphasis) !default;
34
34
 
35
35
  /// The background of the track when the Switch is not checked.
36
36
  /// @group switch
37
- $kendo-switch-off-track-bg: var( --kendo-component-bg, transparent ) !default;
37
+ $kendo-switch-off-track-bg: k-color(surface-alt) !default;
38
38
  /// The text color of the track when the Switch is not checked.
39
39
  /// @group switch
40
- $kendo-switch-off-track-text: var( --kendo-component-text, inherit ) !default;
40
+ $kendo-switch-off-track-text: k-color(on-app-surface) !default;
41
41
  /// The border color of the track when the Switch is not checked.
42
42
  /// @group switch
43
- $kendo-switch-off-track-border: if($kendo-enable-color-system, k-color( border ), k-get-theme-color-var( neutral-110 )) !default;
43
+ $kendo-switch-off-track-border: k-color(border) !default;
44
44
 
45
45
  /// The background of the track when the hovered Switch is not checked.
46
46
  /// @group switch
47
- $kendo-switch-off-track-hover-bg: var( --kendo-component-bg, transparent ) !default;
47
+ $kendo-switch-off-track-hover-bg: k-color(surface-alt) !default;
48
48
  /// The text color of the track when the hovered Switch is not checked.
49
49
  /// @group switch
50
- $kendo-switch-off-track-hover-text: var( --kendo-component-text, inherit ) !default;
50
+ $kendo-switch-off-track-hover-text: k-color(on-app-surface) !default;
51
51
  /// The border color of the track when the hovered Switch is not checked.
52
52
  /// @group switch
53
- $kendo-switch-off-track-hover-border: if($kendo-enable-color-system, k-color( border-alt ), k-get-theme-color-var( neutral-160 )) !default;
53
+ $kendo-switch-off-track-hover-border: k-color(border-alt) !default;
54
54
 
55
55
  /// The background of the track when the focused Switch is not checked.
56
56
  /// @group switch
57
- $kendo-switch-off-track-focus-bg: var( --kendo-component-bg, transparent ) !default;
57
+ $kendo-switch-off-track-focus-bg: k-color(surface-alt) !default;
58
58
  /// The text color of the track when the focused Switch is not checked.
59
59
  /// @group switch
60
- $kendo-switch-off-track-focus-text: var( --kendo-component-text, inherit ) !default;
60
+ $kendo-switch-off-track-focus-text: k-color(on-app-surface) !default;
61
61
  /// The border color of the track when the focused Switch is not checked.
62
62
  /// @group switch
63
- $kendo-switch-off-track-focus-border: if($kendo-enable-color-system, k-color( border ), k-get-theme-color-var( neutral-110 )) !default;
63
+ $kendo-switch-off-track-focus-border: k-color(border) !default;
64
64
 
65
65
  /// The background of the track when the disabled Switch is not checked.
66
66
  /// @group switch
67
- $kendo-switch-off-track-disabled-bg: var( --kendo-component-bg, transparent ) !default;
67
+ $kendo-switch-off-track-disabled-bg: k-color(surface-alt) !default;
68
68
  /// The text color of the track when the disabled Switch is not checked.
69
69
  /// @group switch
70
- $kendo-switch-off-track-disabled-text: var( --kendo-component-text, inherit ) !default;
70
+ $kendo-switch-off-track-disabled-text: k-color(on-app-surface) !default;
71
71
  /// The border color of the track when the disabled Switch is not checked.
72
72
  /// @group switch
73
- $kendo-switch-off-track-disabled-border: if($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 28%, transparent), k-get-theme-color-var( neutral-60 )) !default;
73
+ $kendo-switch-off-track-disabled-border: color-mix(in srgb, k-color(on-app-surface) 28%, transparent) !default;
74
74
 
75
75
  /// The background of the thumb when the Switch is not checked.
76
76
  /// @group switch
77
- $kendo-switch-off-thumb-bg: if($kendo-enable-color-system, k-color( subtle ), k-get-theme-color-var( neutral-130 )) !default;
77
+ $kendo-switch-off-thumb-bg: k-color(subtle) !default;
78
78
  /// The text color of the thumb when the Switch is not checked.
79
79
  /// @group switch
80
80
  $kendo-switch-off-thumb-text: inherit !default;
81
81
  /// The border color of the thumb when the Switch is not checked.
82
82
  /// @group switch
83
- $kendo-switch-off-thumb-border: if($kendo-enable-color-system, k-color( border ), k-get-theme-color-var( neutral-130 )) !default;
83
+ $kendo-switch-off-thumb-border: k-color(border) !default;
84
84
 
85
85
  /// The background of the thumb when the hovered Switch is not checked.
86
86
  /// @group switch
87
- $kendo-switch-off-thumb-hover-bg: if($kendo-enable-color-system, k-color( on-app-surface ), k-get-theme-color-var( neutral-160 )) !default;
87
+ $kendo-switch-off-thumb-hover-bg: k-color(on-app-surface) !default;
88
88
  /// The text color of the thumb when the hovered Switch is not checked.
89
89
  /// @group switch
90
90
  $kendo-switch-off-thumb-hover-text: inherit !default;
91
91
  /// The border color of the thumb when the hovered Switch is not checked.
92
92
  /// @group switch
93
- $kendo-switch-off-thumb-hover-border: if($kendo-enable-color-system, k-color( border-alt ), k-get-theme-color-var( neutral-160 )) !default;
93
+ $kendo-switch-off-thumb-hover-border: k-color(border-alt) !default;
94
94
 
95
95
  /// The background of the thumb when the disabled Switch is not checked.
96
96
  /// @group switch
97
- $kendo-switch-off-thumb-disabled-bg: if($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 28%, transparent), k-get-theme-color-var( neutral-60 )) !default;
97
+ $kendo-switch-off-thumb-disabled-bg: color-mix(in srgb, k-color(on-app-surface) 28%, transparent) !default;
98
98
  /// The text color of the thumb when the disabled Switch is not checked.
99
99
  /// @group switch
100
100
  $kendo-switch-off-thumb-disabled-text: inherit !default;
101
101
  /// The border color of the thumb when the disabled Switch is not checked.
102
102
  /// @group switch
103
- $kendo-switch-off-thumb-disabled-border: if($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 28%, transparent), k-get-theme-color-var( neutral-60 )) !default;
103
+ $kendo-switch-off-thumb-disabled-border: color-mix(in srgb, k-color(on-app-surface) 28%, transparent) !default;
104
104
 
105
105
 
106
106
  /// The background of the track when the Switch is checked.
107
107
  /// @group switch
108
- $kendo-switch-on-track-bg: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
108
+ $kendo-switch-on-track-bg: k-color(primary) !default;
109
109
  /// The text color of the track when the Switch is checked.
110
110
  /// @group switch
111
- $kendo-switch-on-track-text: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) !default;
111
+ $kendo-switch-on-track-text: k-color(app-surface) !default;
112
112
  /// The border color of the track when the Switch is checked.
113
113
  /// @group switch
114
114
  $kendo-switch-on-track-border: $kendo-switch-on-track-bg !default;
115
115
 
116
116
  /// The background of the track when the hovered Switch is checked.
117
117
  /// @group switch
118
- $kendo-switch-on-track-hover-bg: if($kendo-enable-color-system, k-color( primary-hover ), k-get-theme-color-var( primary-110 )) !default;
118
+ $kendo-switch-on-track-hover-bg: k-color(primary-hover) !default;
119
119
  /// The text color of the track when the hovered Switch is checked.
120
120
  /// @group switch
121
- $kendo-switch-on-track-hover-text: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) !default;
121
+ $kendo-switch-on-track-hover-text: k-color(app-surface) !default;
122
122
  /// The border color of the track when the hovered Switch is checked.
123
123
  /// @group switch
124
124
  $kendo-switch-on-track-hover-border: $kendo-switch-on-track-hover-bg !default;
125
125
 
126
126
  /// The background of the track when the focused Switch is checked.
127
127
  /// @group switch
128
- $kendo-switch-on-track-focus-bg: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
128
+ $kendo-switch-on-track-focus-bg: k-color(primary) !default;
129
129
  /// The text color of the track when the focused Switch is checked.
130
130
  /// @group switch
131
- $kendo-switch-on-track-focus-text: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) !default;
131
+ $kendo-switch-on-track-focus-text: k-color(app-surface) !default;
132
132
  /// The border color of the track when the focused Switch is checked.
133
133
  /// @group switch
134
134
  $kendo-switch-on-track-focus-border: $kendo-switch-on-track-focus-bg !default;
135
135
 
136
136
  /// The background of the track when the disabled Switch is checked.
137
137
  /// @group switch
138
- $kendo-switch-on-track-disabled-bg: if($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 28%, transparent), k-get-theme-color-var( neutral-60 )) !default;
138
+ $kendo-switch-on-track-disabled-bg: color-mix(in srgb, k-color(on-app-surface) 28%, transparent) !default;
139
139
  /// The text color of the track when the disabled Switch is checked.
140
140
  /// @group switch
141
- $kendo-switch-on-track-disabled-text: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) !default;
141
+ $kendo-switch-on-track-disabled-text: k-color(app-surface) !default;
142
142
  /// The border color of the track when the disabled Switch is checked.
143
143
  /// @group switch
144
- $kendo-switch-on-track-disabled-border: if($kendo-enable-color-system, transparent, $kendo-switch-on-track-disabled-bg) !default;
144
+ $kendo-switch-on-track-disabled-border: transparent !default;
145
145
 
146
146
  /// The background of the thumb when the Switch is checked.
147
147
  /// @group switch
148
- $kendo-switch-on-thumb-bg: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) !default;
148
+ $kendo-switch-on-thumb-bg: k-color(app-surface) !default;
149
149
  /// The text color of the thumb when the Switch is checked.
150
150
  /// @group switch
151
151
  $kendo-switch-on-thumb-text: inherit !default;
@@ -155,7 +155,7 @@ $kendo-switch-on-thumb-border: inherit !default;
155
155
 
156
156
  /// The background of the thumb when the hovered Switch is checked.
157
157
  /// @group switch
158
- $kendo-switch-on-thumb-hover-bg: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) !default;
158
+ $kendo-switch-on-thumb-hover-bg: k-color(app-surface) !default;
159
159
  /// The text color of the thumb when the hovered Switch is checked.
160
160
  /// @group switch
161
161
  $kendo-switch-on-thumb-hover-text: inherit !default;
@@ -165,10 +165,10 @@ $kendo-switch-on-thumb-hover-border: inherit !default;
165
165
 
166
166
  /// The background of the thumb when the disabled Switch is checked.
167
167
  /// @group switch
168
- $kendo-switch-on-thumb-disabled-bg: if($kendo-enable-color-system, k-color( surface ), k-get-theme-color-var( neutral-20 )) !default;
168
+ $kendo-switch-on-thumb-disabled-bg: k-color(surface) !default;
169
169
  /// The text color of the thumb when the disabled Switch is checked.
170
170
  /// @group switch
171
171
  $kendo-switch-on-thumb-disabled-text: inherit !default;
172
172
  /// The border color of the thumb when the disabled Switch is checked.
173
173
  /// @group switch
174
- $kendo-switch-on-thumb-disabled-border: if($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 6%, transparent), k-get-theme-color-var( neutral-20 )) !default;
174
+ $kendo-switch-on-thumb-disabled-border: color-mix(in srgb, k-color(on-app-surface) 6%, transparent) !default;
@@ -98,24 +98,13 @@
98
98
  }
99
99
 
100
100
  // Selected state
101
- @if($kendo-enable-color-system) {
102
- .k-table-tbody .k-table-row.k-selected > .k-table-td,
103
- .k-table-list .k-table-row.k-selected {
104
- @include fill (
105
- var( --kendo-table-selected-text, #{$kendo-table-selected-text} ),
106
- var( --kendo-table-selected-bg, #{$kendo-table-selected-bg} ),
107
- var( --kendo-table-selected-border, #{$kendo-table-selected-border} )
108
- );
109
- }
110
- } @else {
111
- .k-table-tbody .k-table-row.k-selected,
112
- .k-table-list .k-table-row.k-selected {
113
- @include fill (
114
- var( --kendo-table-selected-text, #{$kendo-table-selected-text} ),
115
- var( --kendo-table-selected-bg, #{$kendo-table-selected-bg} ),
116
- var( --kendo-table-selected-border, #{$kendo-table-selected-border} )
117
- );
118
- }
101
+ .k-table-tbody .k-table-row.k-selected > .k-table-td,
102
+ .k-table-list .k-table-row.k-selected {
103
+ @include fill (
104
+ var( --kendo-table-selected-text, #{$kendo-table-selected-text} ),
105
+ var( --kendo-table-selected-bg, #{$kendo-table-selected-bg} ),
106
+ var( --kendo-table-selected-border, #{$kendo-table-selected-border} )
107
+ );
119
108
  }
120
109
 
121
110
  }
@@ -75,20 +75,20 @@ $kendo-table-sizes: (
75
75
 
76
76
  /// Background color of tables.
77
77
  /// @group table
78
- $kendo-table-bg: var( --kendo-component-bg, initial ) !default;
78
+ $kendo-table-bg: k-color(surface-alt) !default;
79
79
  /// Text color of tables.
80
80
  /// @group table
81
- $kendo-table-text: var( --kendo-component-text, initial ) !default;
81
+ $kendo-table-text: k-color(on-app-surface) !default;
82
82
  /// Border color of tables.
83
83
  /// @group table
84
- $kendo-table-border: var( --kendo-component-border, initial ) !default;
84
+ $kendo-table-border: color-mix(in srgb, k-color(border) 16%, transparent) !default;
85
85
 
86
86
  /// Background color of table headers.
87
87
  /// @group table
88
88
  $kendo-table-header-bg: $kendo-table-bg !default;
89
89
  /// Text color of table headers.
90
90
  /// @group table
91
- $kendo-table-header-text: if($kendo-enable-color-system, k-color( on-app-surface ), k-get-theme-color-var( neutral-190 )) !default;
91
+ $kendo-table-header-text: k-color(on-app-surface) !default;
92
92
  /// Border color of table headers.
93
93
  /// @group table
94
94
  $kendo-table-header-border: $kendo-table-border !default;
@@ -145,10 +145,10 @@ $kendo-table-alt-row-border: $kendo-table-border !default;
145
145
 
146
146
  /// Background color of hovered rows in table.
147
147
  /// @group table
148
- $kendo-table-hover-bg: var( --kendo-hover-bg, inherit ) !default;
148
+ $kendo-table-hover-bg: k-color(base-hover) !default;
149
149
  /// Text color of hovered rows in table.
150
150
  /// @group table
151
- $kendo-table-hover-text: var( --kendo-hover-text, inherit ) !default;
151
+ $kendo-table-hover-text: k-color(on-base) !default;
152
152
  /// Border color of hovered rows in table.
153
153
  /// @group table
154
154
  $kendo-table-hover-border: $kendo-table-border !default;
@@ -168,7 +168,7 @@ $kendo-table-focus-shadow: $kendo-list-item-focus-shadow !default;
168
168
 
169
169
  /// Background color of selected rows in table.
170
170
  /// @group table
171
- $kendo-table-selected-bg: if($kendo-enable-color-system, color-mix(in srgb, k-color( primary ) 13%, transparent), k-get-theme-color-var( primary-20 )) !default;
171
+ $kendo-table-selected-bg: color-mix(in srgb, k-color(primary) 13%, transparent) !default;
172
172
  /// Text color of selected rows in table.
173
173
  /// @group table
174
174
  $kendo-table-selected-text: $kendo-table-text !default;
@@ -178,7 +178,7 @@ $kendo-table-selected-border: $kendo-table-border !default;
178
178
 
179
179
  /// Hover background color of selected rows in table.
180
180
  /// @group table
181
- $kendo-table-selected-hover-bg: if($kendo-enable-color-system, color-mix(in srgb, k-color( primary ) 26%, transparent), k-get-theme-color-var( primary-30 )) !default;
181
+ $kendo-table-selected-hover-bg: color-mix(in srgb, k-color(primary) 26%, transparent) !default;
182
182
  /// Hover text color of selected rows in table.
183
183
  /// @group table
184
184
  $kendo-table-selected-hover-text: $kendo-table-selected-text !default;
@@ -59,7 +59,7 @@ $kendo-tabstrip-lg-line-height: $kendo-tabstrip-line-height !default;
59
59
  $kendo-tabstrip-bg: transparent !default;
60
60
  /// The text color of the TabStrip.
61
61
  /// @group tabstrip
62
- $kendo-tabstrip-text: var( --kendo-component-text, initial ) !default;
62
+ $kendo-tabstrip-text: k-color(on-app-surface) !default;
63
63
  /// The border color of the TabStrip.
64
64
  /// @group tabstrip
65
65
  $kendo-tabstrip-border: transparent !default;
@@ -104,19 +104,19 @@ $kendo-tabstrip-lg-item-padding-y: k-spacing(3.5) !default;
104
104
  $kendo-tabstrip-item-bg: transparent !default;
105
105
  /// The text color of the TabStrip items.
106
106
  /// @group tabstrip
107
- $kendo-tabstrip-item-text: var( --kendo-component-text, initial ) !default;
107
+ $kendo-tabstrip-item-text: k-color(on-app-surface) !default;
108
108
  /// The border color of the TabStrip items.
109
109
  /// @group tabstrip
110
110
  $kendo-tabstrip-item-border: transparent !default;
111
111
  /// The text color of the disabled TabStrip items.
112
112
  /// @group tabstrip
113
- $kendo-tabstrip-item-disabled-text: var( --kendo-disabled-text, initial ) !default;
113
+ $kendo-tabstrip-item-disabled-text: color-mix(in srgb, k-color(on-app-surface) 46%, transparent) !default;
114
114
  /// The background color of the disabled TabStrip items.
115
115
  /// @group tabstrip
116
116
  $kendo-tabstrip-item-disabled-bg: none !default;
117
117
  /// The border color of the disabled TabStrip items.
118
118
  /// @group tabstrip
119
- $kendo-tabstrip-item-disabled-border: var( --kendo-disabled-border, initial ) !default;
119
+ $kendo-tabstrip-item-disabled-border: transparent !default;
120
120
  /// The opacity of the disabled TabStrip items.
121
121
  /// @group tabstrip
122
122
  $kendo-tabstrip-item-disabled-opacity: null !default;
@@ -126,22 +126,22 @@ $kendo-tabstrip-item-disabled-filter: null !default;
126
126
 
127
127
  /// The background color of the hovered TabStrip items.
128
128
  /// @group tabstrip
129
- $kendo-tabstrip-item-hover-bg: var( --kendo-hover-bg, inherit ) !default;
129
+ $kendo-tabstrip-item-hover-bg: k-color(base-hover) !default;
130
130
  /// The text color of the hovered TabStrip items.
131
131
  /// @group tabstrip
132
- $kendo-tabstrip-item-hover-text: var( --kendo-hover-text, inherit ) !default;
132
+ $kendo-tabstrip-item-hover-text: k-color(on-base) !default;
133
133
  /// The border color of the hovered TabStrip items.
134
134
  /// @group tabstrip
135
- $kendo-tabstrip-item-hover-border: var( --kendo-hover-bg, inherit ) !default;
135
+ $kendo-tabstrip-item-hover-border: k-color(base-hover) !default;
136
136
  /// The background color of the selected TabStrip items.
137
137
  /// @group tabstrip
138
- $kendo-tabstrip-item-selected-bg: var( --kendo-component-bg, transparent ) !default;
138
+ $kendo-tabstrip-item-selected-bg: k-color(surface-alt) !default;
139
139
  /// The text color of the selected TabStrip items.
140
140
  /// @group tabstrip
141
- $kendo-tabstrip-item-selected-text: if($kendo-enable-color-system, k-color( on-app-surface ), k-get-theme-color-var( neutral-190 )) !default;
141
+ $kendo-tabstrip-item-selected-text: k-color(on-app-surface) !default;
142
142
  /// The border color of the selected TabStrip items.
143
143
  /// @group tabstrip
144
- $kendo-tabstrip-item-selected-border: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
144
+ $kendo-tabstrip-item-selected-border: k-color(primary) !default;
145
145
  /// The font weight of the selected TabStrip items.
146
146
  /// @group tabstrip
147
147
  $kendo-tabstrip-item-selected-font-weight: var( --kendo-font-weight-bold, normal ) !default;
@@ -150,7 +150,7 @@ $kendo-tabstrip-item-selected-font-weight: var( --kendo-font-weight-bold, normal
150
150
  $kendo-tabstrip-item-focus-shadow: $kendo-list-item-focus-shadow !default;
151
151
  /// The text color of the dragged TabStrip items.
152
152
  /// @group tabstrip
153
- $kendo-tabstrip-item-dragging-text: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
153
+ $kendo-tabstrip-item-dragging-text: k-color(primary) !default;
154
154
 
155
155
  // Indicator
156
156
  /// The border width of the TabStrip indicator.
@@ -158,7 +158,7 @@ $kendo-tabstrip-item-dragging-text: if($kendo-enable-color-system, k-color( prim
158
158
  $kendo-tabstrip-indicator-size: k-spacing(0.5) !default;
159
159
  /// The border color of the TabStrip ripple.
160
160
  /// @group tabstrip
161
- $kendo-tabstrip-indicator-color: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
161
+ $kendo-tabstrip-indicator-color: k-color(primary) !default;
162
162
 
163
163
  /// The horizontal padding of the TabStrip content.
164
164
  /// @group tabstrip
@@ -172,16 +172,16 @@ $kendo-tabstrip-content-border-width: 1px !default;
172
172
 
173
173
  /// The background color of the TabStrip content.
174
174
  /// @group tabstrip
175
- $kendo-tabstrip-content-bg: var( --kendo-component-bg, transparent ) !default;
175
+ $kendo-tabstrip-content-bg: k-color(surface-alt) !default;
176
176
  /// The text color of the TabStrip content.
177
177
  /// @group tabstrip
178
- $kendo-tabstrip-content-text: var( --kendo-component-text, inherit ) !default;
178
+ $kendo-tabstrip-content-text: k-color(on-app-surface) !default;
179
179
  /// The border color of the TabStrip content.
180
180
  /// @group tabstrip
181
181
  $kendo-tabstrip-content-border: transparent !default;
182
182
  /// The border color of the focused TabStrip content.
183
183
  /// @group tabstrip
184
- $kendo-tabstrip-content-focus-border: var( --kendo-component-text, initial ) !default;
184
+ $kendo-tabstrip-content-focus-border: k-color(on-app-surface) !default;
185
185
 
186
186
  /// The horizontal button padding of the scrollable TabStrip.
187
187
  /// @group tabstrip
@@ -192,7 +192,7 @@ $kendo-tabstrip-scrollable-button-padding-y: k-spacing(1) !default;
192
192
 
193
193
  /// The left and right scroll overlay of the TabStrip.
194
194
  /// @group tabstrip
195
- $kendo-tabstrip-scroll-overlay: if($kendo-enable-color-system, k-color( app-surface ), rgba( $kendo-color-white, 0)), if($kendo-enable-color-system, color-mix(in srgb, k-color( app-surface ) 0%, transparent), rgba( $kendo-color-white, 0)) !default;
195
+ $kendo-tabstrip-scroll-overlay: k-color(app-surface), color-mix(in srgb, k-color(app-surface) 0%, transparent) !default;
196
196
 
197
197
  /// The size map of the TabStrip.
198
198
  /// @group tabstrip
@@ -60,14 +60,14 @@
60
60
 
61
61
  &.k-disabled {
62
62
  @include fill(
63
- var( --kendo-disabled-text, inherit ),
64
- var( --kendo-disabled-bg, inherit ),
65
- var( --kendo-disabled-border, inherit )
63
+ color-mix(in srgb, k-color( on-app-surface ) 46%, transparent),
64
+ k-color( base-subtle ),
65
+ transparent
66
66
 
67
67
  );
68
68
 
69
69
  .k-card-header {
70
- @include fill( $color: var( --kendo-disabled-text, inherit ) );
70
+ @include fill( $color: color-mix(in srgb, k-color( on-app-surface ) 46%, transparent) );
71
71
  }
72
72
  }
73
73
  }