@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
@@ -19,27 +19,27 @@ $kendo-expander-line-height: var( --kendo-line-height, normal ) !default;
19
19
 
20
20
  /// The text color of the ExpansionPanel.
21
21
  /// @group expander
22
- $kendo-expander-text: var( --kendo-component-text, initial ) !default;
22
+ $kendo-expander-text: k-color(on-app-surface) !default;
23
23
  /// The background color of the ExpansionPanel.
24
24
  /// @group expander
25
- $kendo-expander-bg: if($kendo-enable-color-system, k-color( surface ), k-get-theme-color-var( neutral-10 )) !default;
25
+ $kendo-expander-bg: k-color(surface) !default;
26
26
  /// The border color of the ExpansionPanel.
27
27
  /// @group expander
28
- $kendo-expander-border: var( --kendo-component-border, initial ) !default;
28
+ $kendo-expander-border: color-mix(in srgb, k-color(border) 16%, transparent) !default;
29
29
  /// The box shadow of the ExpansionPanel.
30
30
  /// @group expander
31
- $kendo-expander-shadow: inset 0 0 0 2px if($kendo-enable-color-system, color-mix(in srgb, k-color( border ) 16%, transparent), k-get-theme-color-var( neutral-30 )) !default;
31
+ $kendo-expander-shadow: inset 0 0 0 2px color-mix(in srgb, k-color(border) 16%, transparent) !default;
32
32
 
33
33
  /// The background color of the expanded ExpansionPanel.
34
34
  /// @group expander
35
- $kendo-expander-expanded-bg: var( --kendo-component-bg, initial ) !default;
35
+ $kendo-expander-expanded-bg: k-color(surface-alt) !default;
36
36
 
37
37
  /// The text color of the disabled ExpansionPanel.
38
38
  /// @group expander
39
- $kendo-expander-disabled-text: var( --kendo-disabled-text, initial ) !default;
39
+ $kendo-expander-disabled-text: color-mix(in srgb, k-color(on-app-surface) 46%, transparent) !default;
40
40
  /// The background color of the disabled ExpansionPanel.
41
41
  /// @group expander
42
- $kendo-expander-disabled-bg: var( --kendo-disabled-bg, initial ) !default;
42
+ $kendo-expander-disabled-bg: k-color(base-subtle) !default;
43
43
 
44
44
  /// The offset of the focused ExpansionPanel.
45
45
  /// @group expander
@@ -52,14 +52,14 @@ $kendo-expander-focus-outline-width: 1px !default;
52
52
  $kendo-expander-focus-outline-style: solid !default;
53
53
  /// The outline color of the focused ExpansionPanel.
54
54
  /// @group expander
55
- $kendo-expander-focus-outline: if($kendo-enable-color-system, k-color( base-emphasis ), k-get-theme-color-var( neutral-130)) !default;
55
+ $kendo-expander-focus-outline: k-color(base-emphasis) !default;
56
56
 
57
57
  /// The background color of the focused ExpansionPanel.
58
58
  /// @group expander
59
- $kendo-expander-focus-bg: var( --kendo-component-bg, initial ) !default;
59
+ $kendo-expander-focus-bg: k-color(surface-alt) !default;
60
60
  /// The box shadow of the focused ExpansionPanel.
61
61
  /// @group expander
62
- $kendo-expander-focus-shadow: inset 0px 0px 0px 2px if($kendo-enable-color-system, k-color( base-emphasis ), k-get-theme-color-var( neutral-130)) !default;
62
+ $kendo-expander-focus-shadow: inset 0px 0px 0px 2px k-color(base-emphasis) !default;
63
63
 
64
64
  /// The horizontal padding of the ExpansionPanel header.
65
65
  /// @group expander
@@ -70,22 +70,22 @@ $kendo-expander-header-padding-y: k-spacing(3) !default;
70
70
 
71
71
  /// The text color of the ExpansionPanel header.
72
72
  /// @group expander
73
- $kendo-expander-header-text: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
73
+ $kendo-expander-header-text: k-color(primary) !default;
74
74
  /// The background color of the ExpansionPanel header.
75
75
  /// @group expander
76
76
  $kendo-expander-header-bg: inherit !default;
77
77
 
78
78
  /// The background color of the hovered ExpansionPanel header.
79
79
  /// @group expander
80
- $kendo-expander-header-hover-bg: if($kendo-enable-color-system, k-color( base-hover ), k-get-theme-color-var( neutral-20 )) !default;
80
+ $kendo-expander-header-hover-bg: k-color(base-hover) !default;
81
81
 
82
82
  /// The text color of the ExpansionPanel title.
83
83
  /// @group expander
84
- $kendo-expander-title-text: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
84
+ $kendo-expander-title-text: k-color(primary) !default;
85
85
 
86
86
  /// The text color of the ExpansionPanel sub-title.
87
87
  /// @group expander
88
- $kendo-expander-header-sub-title-text: var( --kendo-subtle-text, initial ) !default;
88
+ $kendo-expander-header-sub-title-text: k-color(subtle) !default;
89
89
 
90
90
  /// The horizontal margin of the ExpansionPanel indicator.
91
91
  /// @group expander
@@ -186,9 +186,9 @@
186
186
  &:disabled .k-fab-item-text,
187
187
  &.k-disabled .k-fab-item-text {
188
188
  @include disabled(
189
- var( --kendo-disabled-text, inherit ),
190
- var( --kendo-disabled-bg, inherit ),
191
- var( --kendo-disabled-border, inherit )
189
+ color-mix(in srgb, k-color( on-app-surface ) 46%, transparent),
190
+ k-color( base-subtle ),
191
+ transparent
192
192
  );
193
193
  }
194
194
 
@@ -151,37 +151,37 @@ $kendo-fab-sizes: (
151
151
  $kendo-fab-item-offset-y: k-spacing(2) !default;
152
152
  /// The base text color of the FAB item.
153
153
  /// @group floating-action-button
154
- $kendo-fab-item-text: if($kendo-enable-color-system, k-color( on-app-surface ), k-get-theme-color-var( neutral-160 )) !default;
154
+ $kendo-fab-item-text: k-color(on-app-surface) !default;
155
155
  /// The base background color of the FAB item.
156
156
  /// @group floating-action-button
157
- $kendo-fab-item-bg: var( --kendo-component-bg, inherit ) !default;
157
+ $kendo-fab-item-bg: k-color(surface-alt) !default;
158
158
  /// The base border color of the FAB item.
159
159
  /// @group floating-action-button
160
- $kendo-fab-item-border: if($kendo-enable-color-system, k-color( border ), k-get-theme-color-var( neutral-110 )) !default;
160
+ $kendo-fab-item-border: k-color(border) !default;
161
161
  /// The text color of the hovered FAB item.
162
162
  /// @group floating-action-button
163
- $kendo-fab-item-hover-text: var( --kendo-hover-text, inherit ) !default;
163
+ $kendo-fab-item-hover-text: k-color(on-base) !default;
164
164
  /// The background color of the hovered FAB item.
165
165
  /// @group floating-action-button
166
- $kendo-fab-item-hover-bg: var( --kendo-hover-bg, inherit ) !default;
166
+ $kendo-fab-item-hover-bg: k-color(base-hover) !default;
167
167
  /// The border color of the hovered FAB item.
168
168
  /// @group floating-action-button
169
- $kendo-fab-item-hover-border: if($kendo-enable-color-system, k-color( border ), k-get-theme-color-var( neutral-110 )) !default;
169
+ $kendo-fab-item-hover-border: k-color(border) !default;
170
170
  /// The text color of the focused FAB item.
171
171
  /// @group floating-action-button
172
- $kendo-fab-item-focus-text: if($kendo-enable-color-system, k-color( on-app-surface ), k-get-theme-color-var( neutral-160 )) !default;
172
+ $kendo-fab-item-focus-text: k-color(on-app-surface) !default;
173
173
  /// The background color of the focused FAB item.
174
174
  /// @group floating-action-button
175
- $kendo-fab-item-focus-bg: var( --kendo-component-bg, inherit ) !default;
175
+ $kendo-fab-item-focus-bg: k-color(surface-alt) !default;
176
176
  /// The border color of the focused FAB item.
177
177
  /// @group floating-action-button
178
- $kendo-fab-item-focus-border: if($kendo-enable-color-system, k-color( border ), k-get-theme-color-var( neutral-110 )) !default;
178
+ $kendo-fab-item-focus-border: k-color(border) !default;
179
179
  /// The text color of the active FAB item.
180
180
  /// @group floating-action-button
181
- $kendo-fab-item-active-text: var( --kendo-selected-text, inherit ) !default;
181
+ $kendo-fab-item-active-text: k-color(on-base) !default;
182
182
  /// The background color of the active FAB item.
183
183
  /// @group floating-action-button
184
- $kendo-fab-item-active-bg: var( --kendo-selected-bg, inherit ) !default;
184
+ $kendo-fab-item-active-bg: k-color(base-active) !default;
185
185
  /// The border color of the active FAB item.
186
186
  /// @group floating-action-button
187
- $kendo-fab-item-active-border: if($kendo-enable-color-system, k-color( border ), k-get-theme-color-var( neutral-110 )) !default;
187
+ $kendo-fab-item-active-border: k-color(border) !default;
@@ -20,13 +20,13 @@ $kendo-file-manager-font-size: var( --kendo-font-size, inherit ) !default;
20
20
  $kendo-file-manager-line-height: var( --kendo-line-height, normal ) !default;
21
21
  /// The background color of the FileManager.
22
22
  /// @group file-manager
23
- $kendo-file-manager-bg: var( --kendo-component-bg, transparent ) !default;
23
+ $kendo-file-manager-bg: k-color(surface-alt) !default;
24
24
  /// The text color of the FileManager.
25
25
  /// @group file-manager
26
- $kendo-file-manager-text: var( --kendo-component-text, inherit ) !default;
26
+ $kendo-file-manager-text: k-color(on-app-surface) !default;
27
27
  /// The border color of the FileManager.
28
28
  /// @group file-manager
29
- $kendo-file-manager-border: var( --kendo-component-border, inherit ) !default;
29
+ $kendo-file-manager-border: color-mix(in srgb, k-color(border) 16%, transparent) !default;
30
30
 
31
31
  /// The border width of the FileManager Toolbar.
32
32
  /// @group file-manager
@@ -110,7 +110,7 @@ $kendo-file-manager-listview-item-height: 120px !default;
110
110
  $kendo-file-manager-listview-item-icon-bg: transparent !default;
111
111
  /// The text color of the FileManager ListView item icon.
112
112
  /// @group file-manager
113
- $kendo-file-manager-listview-item-icon-text: var( --kendo-subtle-text, inherit ) !default;
113
+ $kendo-file-manager-listview-item-icon-text: k-color(subtle) !default;
114
114
  /// The border color of the FileManager ListView item icon.
115
115
  /// @group file-manager
116
116
  $kendo-file-manager-listview-item-icon-border: inherit !default;
@@ -176,7 +176,7 @@ $kendo-file-manager-preview-border: inherit !default;
176
176
  $kendo-file-manager-preview-icon-bg: transparent !default;
177
177
  /// The text color of the FileManager preview icon.
178
178
  /// @group file-manager
179
- $kendo-file-manager-preview-icon-text: var( --kendo-subtle-text, inherit ) !default;
179
+ $kendo-file-manager-preview-icon-text: k-color(subtle) !default;
180
180
  /// The border color of the FileManager preview icon.
181
181
  /// @group file-manager
182
182
  $kendo-file-manager-preview-icon-border: inherit !default;
@@ -21,19 +21,19 @@ $kendo-filter-operator-dropdown-width: 15em !default;
21
21
 
22
22
  /// The text color of the Filter.
23
23
  /// @group filter
24
- $kendo-filter-text: var( --kendo-component-text, initial ) !default;
24
+ $kendo-filter-text: k-color(on-app-surface) !default;
25
25
 
26
26
  /// The text color of the Filter preview field.
27
27
  /// @group filter
28
- $kendo-filter-preview-field-text: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
28
+ $kendo-filter-preview-field-text: k-color(primary) !default;
29
29
  /// The text color of the Filter preview operator.
30
30
  /// @group filter
31
- $kendo-filter-preview-operator-text: if($kendo-enable-color-system, k-color( subtle ), k-get-theme-color-var( neutral-130 )) !default;
31
+ $kendo-filter-preview-operator-text: k-color(subtle) !default;
32
32
 
33
33
  /// The background color of the line that connects the Filter items.
34
34
  /// @group filter
35
- $kendo-filter-line-bg: var( --kendo-component-border, initial ) !default;
35
+ $kendo-filter-line-bg: color-mix(in srgb, k-color(border) 16%, transparent) !default;
36
36
 
37
37
  /// The border color of the focused Filter.
38
38
  /// @group filter
39
- $kendo-filter-toolbar-focus-border: if($kendo-enable-color-system, k-color( base-emphasis ), k-get-theme-color-var( neutral-130 )) !default;
39
+ $kendo-filter-toolbar-focus-border: k-color(base-emphasis) !default;
@@ -67,4 +67,4 @@ $kendo-floating-label-focus-text: inherit !default;
67
67
 
68
68
  /// The invalid text color of the Floating Label.
69
69
  /// @group floating-label
70
- $kendo-floating-label-invalid-text: var( --kendo-invalid-text, #{$kendo-invalid-text} ) !default;
70
+ $kendo-floating-label-invalid-text: k-color(error-on-surface) !default;
@@ -5,7 +5,7 @@
5
5
 
6
6
  .k-form,
7
7
  .k-form-inline {
8
- @include fill( $color: var( --kendo-form-text, #{$kendo-body-text} ) );
8
+ @include fill( $color: var( --kendo-form-text, #{k-color( on-app-surface )} ) );
9
9
 
10
10
  fieldset {
11
11
  legend {
@@ -18,7 +18,7 @@
18
18
  }
19
19
 
20
20
  .k-field-info {
21
- @include fill( $color: var( --kendo-field-info-text, #{$kendo-subtle-text} ) );
21
+ @include fill( $color: var( --kendo-field-info-text, #{k-color( subtle )} ) );
22
22
  }
23
23
 
24
24
  .k-alert-error {
@@ -49,7 +49,7 @@ $kendo-form-legend-border-style: solid !default;
49
49
 
50
50
  /// The border color of the Form legend.
51
51
  /// @group form
52
- $kendo-form-legend-border-color: var( --kendo-component-border, initial ) !default;
52
+ $kendo-form-legend-border-color: color-mix(in srgb, k-color(border) 16%, transparent) !default;
53
53
 
54
54
  /// The width of the Form legend.
55
55
  /// @group form
@@ -90,7 +90,7 @@ $kendo-form-hint-margin-top: k-spacing(1) !default;
90
90
 
91
91
  /// The text color of the Form hint.
92
92
  /// @group form
93
- $kendo-form-hint-text: if($kendo-enable-color-system, k-color( subtle ), k-get-theme-color-var( neutral-130 )) !default;
93
+ $kendo-form-hint-text: k-color(subtle) !default;
94
94
 
95
95
  /// The row spacing of the small Form.
96
96
  /// @group form
@@ -136,7 +136,7 @@ $kendo-inline-form-element-width: 25% !default;
136
136
 
137
137
  /// The invalid text color of the Form.
138
138
  /// @group form
139
- $kendo-forms-invalid-color: var( --kendo-invalid-text, initial ) !default;
139
+ $kendo-forms-invalid-color: k-color(error-on-surface) !default;
140
140
 
141
141
 
142
142
  /// The horizontal margin of the optional label in the Form.
@@ -172,7 +172,7 @@ $kendo-fieldset-border: initial !default;
172
172
  $kendo-fieldset-legend-bg: transparent !default;
173
173
  /// The text color of the Form legend.
174
174
  /// @group form
175
- $kendo-fieldset-legend-text: if($kendo-enable-color-system, k-color( subtle ), k-get-theme-color-var( neutral-130 )) !default;
175
+ $kendo-fieldset-legend-text: k-color(subtle) !default;
176
176
  /// The border color of the Form legend.
177
177
  /// @group form
178
178
  $kendo-fieldset-legend-border: initial !default;
@@ -83,7 +83,7 @@
83
83
  );
84
84
 
85
85
  &.k-task-delayed {
86
- @include repeating-striped-gradient( $kendo-gantt-delayed-bg, $kendo-body-bg, 90deg, 4px, 2px );
86
+ @include repeating-striped-gradient( $kendo-gantt-delayed-bg, k-color( app-surface ), 90deg, 4px, 2px );
87
87
  }
88
88
 
89
89
  &.k-task-advanced {
@@ -240,7 +240,7 @@
240
240
 
241
241
  // Delay offset
242
242
  .k-task-offset {
243
- @include repeating-striped-gradient( $kendo-gantt-delayed-bg, $kendo-body-bg, 135deg, 4px, 2px );
243
+ @include repeating-striped-gradient( $kendo-gantt-delayed-bg, k-color( app-surface ), 135deg, 4px, 2px );
244
244
 
245
245
  .k-resize-e::before {
246
246
  @include fill(
@@ -256,7 +256,7 @@
256
256
  }
257
257
 
258
258
  .k-task-offset:hover {
259
- @include repeating-striped-gradient( $kendo-gantt-delayed-bg-lighter, $kendo-body-bg, 135deg, 4px, 2px );
259
+ @include repeating-striped-gradient( $kendo-gantt-delayed-bg-lighter, k-color( app-surface ), 135deg, 4px, 2px );
260
260
  }
261
261
 
262
262
  .k-pdf-export .k-task-offset {
@@ -17,17 +17,17 @@ $kendo-gantt-font-size: var( --kendo-font-size, initial ) !default;
17
17
  $kendo-gantt-line-height: var( --kendo-line-height, initial ) !default;
18
18
  /// The background color of the Gantt.
19
19
  /// @group gantt
20
- $kendo-gantt-bg: var( --kendo-component-bg, inherit ) !default;
20
+ $kendo-gantt-bg: k-color(surface-alt) !default;
21
21
  /// The text color of the Gantt.
22
22
  /// @group gantt
23
- $kendo-gantt-text: var( --kendo-component-text, inherit ) !default;
23
+ $kendo-gantt-text: k-color(on-app-surface) !default;
24
24
  /// The border color of the Gantt.
25
25
  /// @group gantt
26
- $kendo-gantt-border: var( --kendo-component-border, inherit ) !default;
26
+ $kendo-gantt-border: color-mix(in srgb, k-color(border) 16%, transparent) !default;
27
27
 
28
28
  /// The background color of the Gantt non-working days.
29
29
  /// @group gantt
30
- $kendo-gantt-nonwork-bg: if($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 4%, transparent), rgba( $kendo-color-black, .04 )) !default;
30
+ $kendo-gantt-nonwork-bg: color-mix(in srgb, k-color(on-app-surface) 4%, transparent) !default;
31
31
  /// The text color of the Gantt non-working days.
32
32
  /// @group gantt
33
33
  $kendo-gantt-nonwork-text: inherit !default;
@@ -43,7 +43,7 @@ $kendo-gantt-line-size: 2px !default;
43
43
  $kendo-gantt-line-fill: black !default;
44
44
  /// The background fill of the selected Gantt connecting lines.
45
45
  /// @group gantt
46
- $kendo-gantt-line-selected-fill: if($kendo-enable-color-system, k-color( primary-active ), k-get-theme-color-var( primary-120 )) !default;
46
+ $kendo-gantt-line-selected-fill: k-color(primary-active) !default;
47
47
 
48
48
  /// The size of the Gantt task dot.
49
49
  /// @group gantt
@@ -53,16 +53,16 @@ $kendo-gantt-dot-size: 8px !default;
53
53
  $kendo-gantt-dot-spacing: k-spacing(0.5) !default;
54
54
  /// The background color of the Gantt task dot.
55
55
  /// @group gantt
56
- $kendo-gantt-dot-bg: if($kendo-enable-color-system, k-color( on-app-surface ), $kendo-color-black) !default;
56
+ $kendo-gantt-dot-bg: k-color(on-app-surface) !default;
57
57
  /// The border color of the Gantt task dot.
58
58
  /// @group gantt
59
- $kendo-gantt-dot-border: if($kendo-enable-color-system, k-color( on-app-surface ), $kendo-color-black) !default;
59
+ $kendo-gantt-dot-border: k-color(on-app-surface) !default;
60
60
  /// The background color of the hovered Gantt task dot.
61
61
  /// @group gantt
62
- $kendo-gantt-dot-hover-bg: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) !default;
62
+ $kendo-gantt-dot-hover-bg: k-color(app-surface) !default;
63
63
  /// The border color of the hovered Gantt task dot.
64
64
  /// @group gantt
65
- $kendo-gantt-dot-hover-border: if($kendo-enable-color-system, k-color( on-app-surface ), $kendo-color-black) !default;
65
+ $kendo-gantt-dot-hover-border: k-color(on-app-surface) !default;
66
66
 
67
67
  /// The background color of the Gantt milestone.
68
68
  /// @group gantt
@@ -72,23 +72,23 @@ $kendo-gantt-milestone-bg: $kendo-gantt-text !default;
72
72
  $kendo-gantt-milestone-border: $kendo-gantt-text !default;
73
73
  /// The background color of the selected Gantt milestone.
74
74
  /// @group gantt
75
- $kendo-gantt-milestone-selected-bg: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
75
+ $kendo-gantt-milestone-selected-bg: k-color(primary) !default;
76
76
  /// The border color of the selected Gantt milestone.
77
77
  /// @group gantt
78
- $kendo-gantt-milestone-selected-border: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
78
+ $kendo-gantt-milestone-selected-border: k-color(primary) !default;
79
79
 
80
80
  /// The background color of the Gantt summary.
81
81
  /// @group gantt
82
- $kendo-gantt-summary-bg: if($kendo-enable-color-system, k-color( subtle ), k-get-theme-color-var( neutral-110 )) !default;
82
+ $kendo-gantt-summary-bg: k-color(subtle) !default;
83
83
  /// The background color of the Gantt summary progress.
84
84
  /// @group gantt
85
- $kendo-gantt-summary-progress-bg: if($kendo-enable-color-system, k-color( on-app-surface ), k-get-theme-color-var( neutral-160 )) !default;
85
+ $kendo-gantt-summary-progress-bg: k-color(on-app-surface) !default;
86
86
  /// The background color of the selected Gantt summary.
87
87
  /// @group gantt
88
- $kendo-gantt-summary-selected-bg: if($kendo-enable-color-system, k-color( primary-subtle-active ), k-get-theme-color-var( primary-50 )) !default;
88
+ $kendo-gantt-summary-selected-bg: k-color(primary-subtle-active) !default;
89
89
  /// The background color of the selected Gantt summary progress.
90
90
  /// @group gantt
91
- $kendo-gantt-summary-progress-selected-bg: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
91
+ $kendo-gantt-summary-progress-selected-bg: k-color(primary) !default;
92
92
 
93
93
  /// The border width of the Gantt task.
94
94
  /// @group gantt
@@ -101,31 +101,31 @@ $kendo-gantt-task-padding-x: k-spacing(2) !default;
101
101
  $kendo-gantt-task-padding-y: k-spacing(1) !default;
102
102
  /// The background color of the Gantt task.
103
103
  /// @group gantt
104
- $kendo-gantt-task-bg: if($kendo-enable-color-system, k-color( subtle ), k-get-theme-color-var( neutral-110 )) !default;
104
+ $kendo-gantt-task-bg: k-color(subtle) !default;
105
105
  /// The text color of the Gantt task.
106
106
  /// @group gantt
107
- $kendo-gantt-task-text: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) !default;
107
+ $kendo-gantt-task-text: k-color(app-surface) !default;
108
108
  /// The border color of the Gantt task.
109
109
  /// @group gantt
110
110
  $kendo-gantt-task-border: inherit !default;
111
111
  /// The background color of the Gantt task progress.
112
112
  /// @group gantt
113
- $kendo-gantt-task-progress-bg: if($kendo-enable-color-system, k-color( on-app-surface ), k-get-theme-color-var( neutral-160 )) !default;
113
+ $kendo-gantt-task-progress-bg: k-color(on-app-surface) !default;
114
114
  /// The background color of the hovered Gantt task progress.
115
115
  /// @group gantt
116
- $kendo-gantt-task-progress-hover-bg: if($kendo-enable-color-system, k-color( on-app-surface ), k-get-theme-color-var( neutral-160 )) !default;
116
+ $kendo-gantt-task-progress-hover-bg: k-color(on-app-surface) !default;
117
117
  /// The background color of selected the Gantt task.
118
118
  /// @group gantt
119
- $kendo-gantt-task-selected-bg: if($kendo-enable-color-system, k-color( primary-subtle-active ), k-get-theme-color-var( primary-50 )) !default;
119
+ $kendo-gantt-task-selected-bg: k-color(primary-subtle-active) !default;
120
120
  /// The text color of the selected Gantt task.
121
121
  /// @group gantt
122
- $kendo-gantt-task-selected-text: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) !default;
122
+ $kendo-gantt-task-selected-text: k-color(app-surface) !default;
123
123
  /// The border color of the selected Gantt task.
124
124
  /// @group gantt
125
125
  $kendo-gantt-task-selected-border: transparent !default;
126
126
  /// The background color of the selected Gantt task progress.
127
127
  /// @group gantt
128
- $kendo-gantt-task-progress-selected-bg: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
128
+ $kendo-gantt-task-progress-selected-bg: k-color(primary) !default;
129
129
 
130
130
  /// The vertical padding of the Gantt task actions.
131
131
  /// @group gantt
@@ -187,40 +187,40 @@ $kendo-gantt-planned-offset-resize-handler-margin-x: 1.4em !default;
187
187
 
188
188
  /// The text color of the Gantt planned Tooltip.
189
189
  /// @group gantt
190
- $kendo-gantt-planned-text: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) !default;
190
+ $kendo-gantt-planned-text: k-color(app-surface) !default;
191
191
  /// The background color of the Gantt planned Tooltip.
192
192
  /// @group gantt
193
- $kendo-gantt-planned-bg: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
193
+ $kendo-gantt-planned-bg: k-color(primary) !default;
194
194
  /// The border color of the Gantt planned Tooltip.
195
195
  /// @group gantt
196
- $kendo-gantt-planned-border: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
196
+ $kendo-gantt-planned-border: k-color(primary) !default;
197
197
 
198
198
  /// The text color of the Gantt delayed task.
199
199
  /// @group gantt
200
- $kendo-gantt-delayed-text: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) !default;
200
+ $kendo-gantt-delayed-text: k-color(app-surface) !default;
201
201
  /// The background color of the Gantt delayed task.
202
202
  /// @group gantt
203
- $kendo-gantt-delayed-bg: if($kendo-enable-color-system, k-color( error-emphasis ), k-get-theme-color-var( error-160 )) !default;
203
+ $kendo-gantt-delayed-bg: k-color(error-emphasis) !default;
204
204
  /// The complement background color of the Gantt delayed task.
205
205
  /// @group gantt
206
- $kendo-gantt-delayed-bg-lighter: if($kendo-enable-color-system, k-color( error ), k-get-theme-color-var( error-110)) !default;
206
+ $kendo-gantt-delayed-bg-lighter: k-color(error) !default;
207
207
  /// The background color of the hovered Gantt delayed task.
208
208
  /// @group gantt
209
- $kendo-gantt-delayed-hover-bg: if($kendo-enable-color-system, k-color( error-on-subtle ), k-get-theme-color-var( error-190 )) !default;
209
+ $kendo-gantt-delayed-hover-bg: k-color(error-on-subtle) !default;
210
210
 
211
211
  /// The background color of the Gantt advanced task.
212
212
  /// @group gantt
213
- $kendo-gantt-advanced-bg: if($kendo-enable-color-system, k-color( success-emphasis ), k-get-theme-color-var( success-160 )) !default;
213
+ $kendo-gantt-advanced-bg: k-color(success-emphasis) !default;
214
214
  /// The complement background color of the Gantt advanced task.
215
215
  /// @group gantt
216
- $kendo-gantt-advanced-bg-lighter: if($kendo-enable-color-system, k-color( success ), k-get-theme-color-var( success-110 )) !default;
216
+ $kendo-gantt-advanced-bg-lighter: k-color(success) !default;
217
217
  /// The background color of the hovered Gantt advanced task.
218
218
  /// @group gantt
219
- $kendo-gantt-advanced-hover-bg: if($kendo-enable-color-system, k-color( success-on-subtle ), k-get-theme-color-var( success-190 )) !default;
219
+ $kendo-gantt-advanced-hover-bg: k-color(success-on-subtle) !default;
220
220
 
221
221
  /// The text color of the Gantt delayed task action.
222
222
  /// @group gantt
223
- $kendo-gantt-action-on-offset-text: if($kendo-enable-color-system, k-color( on-app-surface ), $kendo-color-black) !default;
223
+ $kendo-gantt-action-on-offset-text: k-color(on-app-surface) !default;
224
224
  /// The top position of the Gantt delayed task resize handler.
225
225
  /// @group gantt
226
226
  $kendo-gantt-offset-resize-handler-top: 50% !default;
@@ -233,10 +233,10 @@ $kendo-gantt-validation-tooltip-width: 200px !default;
233
233
  $kendo-gantt-validation-tooltip-label-width: 50px !default;
234
234
  /// The border color of the Gantt validation Tooltip.
235
235
  /// @group gantt
236
- $kendo-gantt-validation-tooltip-border: var( --kendo-component-border, inherit ) !default;
236
+ $kendo-gantt-validation-tooltip-border: color-mix(in srgb, k-color(border) 16%, transparent) !default;
237
237
  /// The border color of the valid Gantt validation Tooltip.
238
238
  /// @group gantt
239
- $kendo-gantt-validation-tooltip-valid-border: if($kendo-enable-color-system, k-color( success ), k-get-theme-color-var( success-100 )) !default;
239
+ $kendo-gantt-validation-tooltip-valid-border: k-color(success) !default;
240
240
  /// The border color of the invalid Gantt validation Tooltip.
241
241
  /// @group gantt
242
- $kendo-gantt-validation-tooltip-invalid-border: if($kendo-enable-color-system, k-color( error ), k-get-theme-color-var( error-100 )) !default;
242
+ $kendo-gantt-validation-tooltip-invalid-border: k-color(error) !default;
@@ -1325,7 +1325,7 @@
1325
1325
  .k-columnmenu-item-wrapper + .k-columnmenu-item-wrapper,
1326
1326
  .k-column-menu-footer {
1327
1327
  border-top: 1px solid;
1328
- border-top-color: var( --kendo-component-border, inherit );
1328
+ border-top-color: color-mix(in srgb, k-color(border) 16%, transparent);
1329
1329
  }
1330
1330
 
1331
1331
  .k-columnmenu-item-content {
@@ -100,24 +100,6 @@
100
100
  border-block-color: var( --kendo-grid-selected-border, #{$kendo-grid-selected-border} );
101
101
  }
102
102
 
103
- @if($kendo-enable-color-system == false) {
104
- // Selected hover state
105
- .k-table-tbody > .k-table-row:not(.k-detail-row):hover td.k-selected,
106
- .k-table-tbody > .k-table-row:not(.k-detail-row).k-hover.k-selected > td,
107
- .k-table-tbody > .k-table-row:not(.k-detail-row):hover .k-table-td.k-selected,
108
- .k-table-tbody > .k-table-row:not(.k-detail-row).k-hover.k-selected > .k-table-td,
109
- .k-table-tbody > .k-table-row:not(.k-detail-row).k-hover.k-selected,
110
- .k-table-tbody > .k-table-row:not(.k-detail-row).k-hover td.k-selected,
111
- .k-table-tbody > .k-table-row:not(.k-detail-row).k-selected:hover > td,
112
- .k-table-tbody > .k-table-row:not(.k-detail-row).k-hover .k-table-td.k-selected,
113
- .k-table-tbody > .k-table-row:not(.k-detail-row).k-selected:hover > .k-table-td {
114
- @include fill(
115
- $color: var( --kendo-grid-selected-hover-text, #{$kendo-grid-selected-hover-text} ),
116
- $bg: var( --kendo-grid-selected-hover-bg, #{$kendo-grid-selected-hover-bg} )
117
- );
118
- }
119
- }
120
-
121
103
  // Focused state
122
104
  td:focus,
123
105
  td.k-focus,
@@ -236,18 +218,18 @@
236
218
  .k-hierarchy-cell .k-icon {
237
219
  &:hover {
238
220
  @include fill(
239
- $color: var( --kendo-hover-text, inherit ),
240
- $bg: var( --kendo-hover-bg, inherit )
221
+ $color: k-color( on-base ),
222
+ $bg: k-color( base-hover )
241
223
  );
242
224
  }
243
225
  &:focus,
244
226
  &.k-focus {
245
- box-shadow: inset 0 0 0 2px if($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 10%, transparent), rgba( $kendo-color-black, .1 ));
227
+ box-shadow: inset 0 0 0 2px color-mix(in srgb, k-color(on-app-surface) 10%, transparent);
246
228
  }
247
229
  &.k-active {
248
230
  @include fill(
249
- $color: var( --kendo-selected-text, inherit ),
250
- $bg: var( --kendo-selected-bg, inherit )
231
+ $color: k-color( on-base ),
232
+ $bg: k-color( base-active )
251
233
  );
252
234
  }
253
235
  }
@@ -315,13 +297,9 @@
315
297
  &.k-table-row.k-selected .k-table-td.k-grid-row-sticky,
316
298
  &.k-table-row td.k-grid-content-sticky.k-selected,
317
299
  &.k-table-row .k-table-td.k-grid-content-sticky.k-selected {
318
- @if($kendo-enable-color-system) {
319
- @include fill( $bg: var( --kendo-grid-sticky-bg, #{$kendo-grid-sticky-bg} ) );
300
+ @include fill( $bg: var( --kendo-grid-sticky-bg, #{$kendo-grid-sticky-bg} ) );
320
301
 
321
- &::before {
322
- @include fill( $bg: var( --kendo-grid-sticky-selected-bg, #{$kendo-grid-sticky-selected-bg} ) );
323
- }
324
- } @else {
302
+ &::before {
325
303
  @include fill( $bg: var( --kendo-grid-sticky-selected-bg, #{$kendo-grid-sticky-selected-bg} ) );
326
304
  }
327
305
  }
@@ -331,13 +309,9 @@
331
309
  &.k-selected.k-table-alt-row .k-table-td.k-grid-row-sticky,
332
310
  &.k-table-alt-row td.k-grid-content-sticky.k-selected,
333
311
  &.k-table-alt-row .k-table-td.k-grid-content-sticky.k-selected {
334
- @if($kendo-enable-color-system) {
335
- @include fill( $bg: var( --kendo-grid-sticky-alt-bg, #{$kendo-grid-sticky-alt-bg} ) );
312
+ @include fill( $bg: var( --kendo-grid-sticky-alt-bg, #{$kendo-grid-sticky-alt-bg} ) );
336
313
 
337
- &::before {
338
- @include fill( $bg: var( --kendo-grid-sticky-selected-alt-bg, #{$kendo-grid-sticky-selected-alt-bg} ) );
339
- }
340
- } @else {
314
+ &::before {
341
315
  @include fill( $bg: var( --kendo-grid-sticky-selected-alt-bg, #{$kendo-grid-sticky-selected-alt-bg} ) );
342
316
  }
343
317
  }
@@ -365,13 +339,9 @@
365
339
  &.k-hover td.k-grid-content-sticky.k-selected,
366
340
  &:hover .k-table-td.k-grid-content-sticky.k-selected,
367
341
  &.k-hover .k-table-td.k-grid-content-sticky.k-selected {
368
- @if($kendo-enable-color-system) {
369
- background-color: var( --kendo-grid-sticky-hover-bg, #{$kendo-grid-sticky-hover-bg} );
342
+ background-color: var( --kendo-grid-sticky-hover-bg, #{$kendo-grid-sticky-hover-bg} );
370
343
 
371
- &::before {
372
- @include fill( $bg: var( --kendo-grid-sticky-selected-hover-bg, #{$kendo-grid-sticky-selected-hover-bg} ) );
373
- }
374
- } @else {
344
+ &::before {
375
345
  @include fill( $bg: var( --kendo-grid-sticky-selected-hover-bg, #{$kendo-grid-sticky-selected-hover-bg} ) );
376
346
  }
377
347
  }
@@ -440,7 +410,7 @@
440
410
  &.k-disabled .k-link,
441
411
  &.k-disabled .k-icon {
442
412
  @include disabled(
443
- var( --kendo-disabled-text, inherit )
413
+ color-mix(in srgb, k-color( on-app-surface ) 46%, transparent)
444
414
  );
445
415
  }
446
416
  }
@@ -452,7 +422,7 @@
452
422
  .k-listgroup-item {
453
423
  &.k-disabled {
454
424
  @include disabled(
455
- $bg: var( --kendo-disabled-bg, inherit )
425
+ $bg: k-color( base-subtle )
456
426
  );
457
427
  }
458
428
  }