@progress/kendo-theme-core 10.6.0 → 11.0.0-dev.1

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 (102) hide show
  1. package/dist/all.css +1 -1
  2. package/dist/meta/variables.json +0 -8
  3. package/package.json +2 -2
  4. package/scss/_variables.scss +0 -1
  5. package/scss/color-system/_functions.import.scss +22 -22
  6. package/scss/color-system/_palettes.scss +0 -2
  7. package/scss/color-system/_swatch.scss +4 -6
  8. package/scss/components/action-sheet/_layout.scss +2 -1
  9. package/scss/components/action-sheet/_variables.scss +2 -0
  10. package/scss/components/adaptive/_theme.scss +4 -4
  11. package/scss/components/appbar/_theme.scss +2 -3
  12. package/scss/components/appbar/_variables.scss +4 -0
  13. package/scss/components/avatar/_theme.scss +1 -1
  14. package/scss/components/avatar/_variables.scss +2 -0
  15. package/scss/components/badge/_layout.scss +3 -3
  16. package/scss/components/badge/_theme.scss +4 -5
  17. package/scss/components/badge/_variables.scss +3 -1
  18. package/scss/components/bottom-navigation/_theme.scss +7 -8
  19. package/scss/components/bottom-navigation/_variables.scss +4 -0
  20. package/scss/components/breadcrumb/_layout.scss +1 -2
  21. package/scss/components/button/_layout.scss +2 -9
  22. package/scss/components/button/_theme.scss +36 -37
  23. package/scss/components/button/_variables.scss +1 -0
  24. package/scss/components/calendar/_layout.scss +3 -1
  25. package/scss/components/calendar/_theme.scss +5 -3
  26. package/scss/components/calendar/_variables.scss +7 -1
  27. package/scss/components/card/_theme.scss +8 -5
  28. package/scss/components/card/_variables.scss +2 -0
  29. package/scss/components/chat/_theme.scss +3 -4
  30. package/scss/components/checkbox/_layout.scss +1 -8
  31. package/scss/components/chip/_layout.scss +1 -0
  32. package/scss/components/chip/_theme.scss +41 -24
  33. package/scss/components/chip/_variables.scss +6 -0
  34. package/scss/components/colorgradient/_layout.scss +1 -10
  35. package/scss/components/colorgradient/_variables.scss +0 -6
  36. package/scss/components/dataviz/_layout.scss +11 -12
  37. package/scss/components/dataviz/_theme.scss +11 -12
  38. package/scss/components/dataviz/_variables.scss +8 -0
  39. package/scss/components/dialog/_theme.scss +4 -1
  40. package/scss/components/dialog/_variables.scss +2 -0
  41. package/scss/components/drawer/_layout.scss +6 -2
  42. package/scss/components/drawer/_theme.scss +5 -0
  43. package/scss/components/drawer/_variables.scss +7 -0
  44. package/scss/components/editor/_theme.scss +7 -7
  45. package/scss/components/editor/_variables.scss +4 -0
  46. package/scss/components/fab/_theme.scss +15 -15
  47. package/scss/components/filter/_theme.scss +3 -3
  48. package/scss/components/floating-label/_theme.scss +2 -2
  49. package/scss/components/forms/_layout.scss +8 -2
  50. package/scss/components/forms/_theme.scss +5 -5
  51. package/scss/components/gantt/_theme.scss +3 -4
  52. package/scss/components/grid/_theme.scss +10 -21
  53. package/scss/components/input/_layout.scss +2 -26
  54. package/scss/components/input/_theme.scss +7 -7
  55. package/scss/components/list/_layout.scss +21 -4
  56. package/scss/components/list/_theme.scss +1 -1
  57. package/scss/components/list/_variables.scss +24 -0
  58. package/scss/components/listbox/_theme.scss +2 -2
  59. package/scss/components/loader/_theme.scss +2 -2
  60. package/scss/components/loader/_variables.scss +2 -0
  61. package/scss/components/marquee/_index.scss +16 -0
  62. package/scss/components/marquee/_layout.scss +21 -0
  63. package/scss/components/marquee/_theme.scss +27 -0
  64. package/scss/components/marquee/_variables.scss +3 -0
  65. package/scss/components/mediaplayer/_theme.scss +1 -1
  66. package/scss/components/menu/_layout.scss +2 -0
  67. package/scss/components/menu/_variables.scss +2 -0
  68. package/scss/components/messagebox/_theme.scss +7 -8
  69. package/scss/components/messagebox/_variables.scss +2 -0
  70. package/scss/components/notification/_layout.scss +2 -0
  71. package/scss/components/notification/_variables.scss +3 -1
  72. package/scss/components/pager/_layout.scss +0 -3
  73. package/scss/components/panel/_theme.scss +4 -4
  74. package/scss/components/pivotgrid/_theme.scss +7 -7
  75. package/scss/components/progressbar/_theme.scss +1 -1
  76. package/scss/components/radio/_layout.scss +1 -5
  77. package/scss/components/rating/_theme.scss +2 -2
  78. package/scss/components/scheduler/_theme.scss +9 -10
  79. package/scss/components/scheduler/_variables.scss +2 -0
  80. package/scss/components/slider/_layout.scss +2 -2
  81. package/scss/components/slider/_theme.scss +7 -2
  82. package/scss/components/slider/_variables.scss +3 -0
  83. package/scss/components/spreadsheet/_theme.scss +2 -2
  84. package/scss/components/stepper/_theme.scss +30 -54
  85. package/scss/components/switch/_theme.scss +21 -2
  86. package/scss/components/switch/_variables.scss +10 -0
  87. package/scss/components/tabstrip/_layout.scss +0 -1
  88. package/scss/components/tabstrip/_theme.scss +15 -3
  89. package/scss/components/tabstrip/_variables.scss +0 -1
  90. package/scss/components/taskboard/_theme.scss +2 -2
  91. package/scss/components/timeline/_theme.scss +3 -3
  92. package/scss/components/timeselector/_theme.scss +7 -6
  93. package/scss/components/timeselector/_variables.scss +6 -0
  94. package/scss/components/toolbar/_layout.scss +6 -0
  95. package/scss/components/tooltip/_variables.scss +1 -1
  96. package/scss/components/typography/_theme.scss +3 -3
  97. package/scss/components/upload/_theme.scss +3 -3
  98. package/scss/components/window/_theme.scss +1 -1
  99. package/scss/styles/_base.scss +9 -8
  100. package/scss/styles/index.import.scss +0 -3
  101. package/scss/color-system/_swatch-legacy.scss +0 -150
  102. package/scss/styles/_selection.scss +0 -36
@@ -21,6 +21,7 @@
21
21
  margin: 0;
22
22
  padding: 0;
23
23
  box-sizing: border-box;
24
+ border-radius: inherit;
24
25
  font-family: $kendo-list-font-family;
25
26
  font-size: $kendo-list-font-size;
26
27
  line-height: $kendo-list-line-height;
@@ -160,9 +161,6 @@
160
161
 
161
162
  // List item group label
162
163
  .k-list-item-group-label {
163
- padding-block: 0;
164
- padding-inline: .5em;
165
- font-size: .75em;
166
164
  position: absolute;
167
165
  top: 0;
168
166
  inset-inline-end: 0;
@@ -197,7 +195,8 @@
197
195
  .k-list-filter {
198
196
  display: block;
199
197
  position: relative;
200
- padding: $kendo-list-filter-padding;
198
+ padding-inline: $kendo-list-filter-padding-x;
199
+ padding-block: $kendo-list-filter-padding-y;
201
200
  box-sizing: border-box;
202
201
  flex: none;
203
202
  }
@@ -221,6 +220,12 @@
221
220
  $_group-item-padding-y: map.get( $size-props, group-item-padding-y );
222
221
  $_group-item-font-size: map.get( $size-props, group-item-font-size );
223
222
  $_group-item-line-height: map.get( $size-props, group-item-line-height );
223
+ $_group-label-padding-x: map.get( $size-props, item-group-label-padding-x );
224
+ $_group-label-padding-y: map.get( $size-props, item-group-label-padding-y );
225
+ $_group-label-font-size: map.get( $size-props, item-group-label-font-size );
226
+ $_group-label-line-height: map.get( $size-props, item-group-label-line-height );
227
+ $_filter-padding-x: map.get( $size-props, filter-padding-x );
228
+ $_filter-padding-y: map.get( $size-props, filter-padding-y );
224
229
 
225
230
  .k-list-#{$size} {
226
231
  font-size: $_font-size;
@@ -234,6 +239,11 @@
234
239
  line-height: $_header-line-height;
235
240
  }
236
241
 
242
+ .k-list-filter {
243
+ padding-inline: $_filter-padding-x;
244
+ padding-block: $_filter-padding-y;
245
+ }
246
+
237
247
  .k-list-item {
238
248
  padding-block: $_item-padding-y;
239
249
  padding-inline: $_item-padding-x;
@@ -247,6 +257,13 @@
247
257
  font-size: $_group-item-font-size;
248
258
  line-height: $_group-item-line-height;
249
259
  }
260
+
261
+ .k-list-item-group-label {
262
+ padding-block: $_group-label-padding-y;
263
+ padding-inline: $_group-label-padding-x;
264
+ font-size: $_group-label-font-size;
265
+ line-height: $_group-label-line-height;
266
+ }
250
267
  }
251
268
  }
252
269
  }
@@ -64,7 +64,7 @@
64
64
  &.k-selected:hover,
65
65
  &.k-selected.k-hover {
66
66
  color: $kendo-list-item-selected-text;
67
- background-color: if($kendo-enable-color-system, k-color( primary-hover ), k-color-shade( $kendo-list-item-selected-bg ));
67
+ background-color: k-color(primary-hover);
68
68
  }
69
69
  }
70
70
 
@@ -36,7 +36,31 @@ $kendo-list-lg-header-line-height: null !default;
36
36
 
37
37
  $kendo-list-header-font-weight: null !default;
38
38
 
39
+ $kendo-list-item-group-label-sm-font-size: null !default;
40
+ $kendo-list-item-group-label-md-font-size: null !default;
41
+ $kendo-list-item-group-label-lg-font-size: null !default;
42
+
43
+ $kendo-list-item-group-label-sm-line-height: inherit !default;
44
+ $kendo-list-item-group-label-md-line-height: inherit !default;
45
+ $kendo-list-item-group-label-lg-line-height: inherit !default;
46
+
47
+ $kendo-list-item-group-label-sm-padding-x: null !default;
48
+ $kendo-list-item-group-label-md-padding-x: null !default;
49
+ $kendo-list-item-group-label-lg-padding-x: null !default;
50
+
51
+ $kendo-list-item-group-label-sm-padding-y: 0 !default;
52
+ $kendo-list-item-group-label-md-padding-y: 0 !default;
53
+ $kendo-list-item-group-label-lg-padding-y: 0 !default;
54
+
39
55
  $kendo-list-filter-padding: null !default;
56
+ $kendo-list-filter-padding-x: null !default;
57
+ $kendo-list-sm-filter-padding-x: null !default;
58
+ $kendo-list-md-filter-padding-x: null !default;
59
+ $kendo-list-lg-filter-padding-x: null !default;
60
+ $kendo-list-filter-padding-y: null !default;
61
+ $kendo-list-sm-filter-padding-y: null !default;
62
+ $kendo-list-md-filter-padding-y: null !default;
63
+ $kendo-list-lg-filter-padding-y: null !default;
40
64
 
41
65
  $kendo-list-item-padding-x: null !default;
42
66
  $kendo-list-sm-item-padding-x: null !default;
@@ -1,5 +1,5 @@
1
+ @use "../../color-system/_functions.import.scss" as *;
1
2
  @use "../../mixins/index.import.scss" as *;
2
- @use "../../color-system/_swatch-legacy.scss" as *;
3
3
  @use "./variables.scss" as *;
4
4
 
5
5
  @mixin kendo-listbox--theme-base() {
@@ -14,7 +14,7 @@
14
14
  );
15
15
  }
16
16
  .k-drop-hint {
17
- border-top-color: $kendo-color-primary;
17
+ border-top-color: k-color(primary);
18
18
  }
19
19
  }
20
20
 
@@ -1,9 +1,9 @@
1
- @use "../../color-system/_swatch-legacy.scss" as *;
1
+ @use "../../color-system/_functions.import.scss" as *;
2
2
  @use "./_variables.scss" as *;
3
3
 
4
4
  @mixin kendo-loader--theme-base() {
5
5
 
6
- @each $name, $color in $kendo-theme-colors {
6
+ @each $name, $color in $kendo-loader-theme-colors {
7
7
  .k-loader-#{$name} {
8
8
  color: $color;
9
9
  }
@@ -49,3 +49,5 @@ $kendo-loading-bg: null !default;
49
49
  $kendo-loading-text: null !default;
50
50
  $kendo-loading-opacity: null !default;
51
51
  $kendo-zindex-loading: null !default;
52
+
53
+ $kendo-loader-theme-colors: null !default;
@@ -0,0 +1,16 @@
1
+ // Dependencies
2
+ @use "../core/_index.scss" as *;
3
+
4
+ // Component
5
+ @forward "./_variables.scss";
6
+ @use "./_layout.scss" as *;
7
+ @use "./_theme.scss" as *;
8
+
9
+ // Expose
10
+ @mixin kendo-marquee--styles() {
11
+ @include import-once( "marquee" ) {
12
+ @include core-styles();
13
+ @include kendo-marquee--layout();
14
+ @include kendo-marquee--theme();
15
+ }
16
+ }
@@ -0,0 +1,21 @@
1
+ @mixin kendo-marquee--layout-base() {
2
+ // Marquee
3
+ .k-marquee {
4
+ position: absolute;
5
+ z-index: 100000;
6
+ }
7
+
8
+ .k-marquee-color,
9
+ .k-marquee-text {
10
+ position: absolute;
11
+ top: 0;
12
+ left: 0;
13
+ width: 100%;
14
+ height: 100%;
15
+ }
16
+ }
17
+
18
+
19
+ @mixin kendo-marquee--layout() {
20
+ @include kendo-marquee--layout-base();
21
+ }
@@ -0,0 +1,27 @@
1
+ @use "./_variables.scss" as *;
2
+
3
+ @mixin kendo-marquee--theme-base() {
4
+ // Marquee
5
+ .k-marquee-color {
6
+ color: $kendo-marquee-text;
7
+ background-color: $kendo-marquee-bg;
8
+ border-color: $kendo-marquee-border;
9
+ opacity: .6;
10
+ }
11
+ .k-marquee-text {
12
+ color: $kendo-marquee-text;
13
+ }
14
+
15
+ // Text selection
16
+ .k-text-selection {
17
+ ::selection {
18
+ background-color: $kendo-marquee-bg;
19
+ color: $kendo-marquee-text;
20
+ }
21
+ }
22
+ }
23
+
24
+
25
+ @mixin kendo-marquee--theme() {
26
+ @include kendo-marquee--theme-base();
27
+ }
@@ -0,0 +1,3 @@
1
+ $kendo-marquee-text: null !default;
2
+ $kendo-marquee-bg: null !default;
3
+ $kendo-marquee-border: null !default;
@@ -19,7 +19,7 @@
19
19
  .k-mediaplayer-titlebar {
20
20
  color: $kendo-media-player-titlebar-text;
21
21
  background-image: linear-gradient( $kendo-media-player-titlebar-gradient );
22
- text-shadow: 0 0 2px if($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 50%, transparent), rgba( $kendo-media-player-text, .5 ));
22
+ text-shadow: 0 0 2px color-mix(in srgb, k-color(on-app-surface) 50%, transparent);
23
23
  }
24
24
 
25
25
  }
@@ -84,6 +84,8 @@
84
84
  // Expand arrow
85
85
  .k-menu-expand-arrow {
86
86
  margin-inline-end: calc( #{$kendo-icon-spacing} * -1 );
87
+ padding-block: $kendo-menu-icon-padding-y;
88
+ padding-inline: $kendo-menu-icon-padding-x;
87
89
  display: inline-flex;
88
90
  flex-flow: row wrap;
89
91
  align-items: center;
@@ -52,6 +52,8 @@ $kendo-menu-scroll-button-hover-text: null !default;
52
52
  $kendo-menu-scroll-button-hover-border: null !default;
53
53
  $kendo-menu-scroll-button-hover-gradient: null !default;
54
54
 
55
+ $kendo-menu-icon-padding-x: null !default;
56
+ $kendo-menu-icon-padding-y: null !default;
55
57
 
56
58
  // Menu Separator
57
59
 
@@ -1,26 +1,25 @@
1
1
 
2
2
  @use "../../functions/index.import.scss" as *;
3
3
  @use "../../mixins/index.import.scss" as *;
4
- @use "../../color-system/_swatch-legacy.scss" as *;
5
4
  @use "../../color-system/_functions.import.scss" as *;
6
5
  @use "./_variables.scss" as *;
7
6
  @use "../../_variables.scss" as *;
8
7
 
9
8
  @mixin kendo-messagebox--theme-base() {
10
9
 
11
- @each $color-name, $color in $kendo-theme-colors {
10
+ @each $color-name, $color in $kendo-message-box-theme-colors {
12
11
  .k-messagebox-#{$color-name} {
13
12
  @if $color-name == "inverse" {
14
13
  @include fill(
15
- if($kendo-enable-color-system, k-color( dark-on-subtle ), k-color-level( $color, $kendo-message-box-text-level )),
16
- if($kendo-enable-color-system, k-color( dark-subtle ), k-color-level( $color, $kendo-message-box-bg-level )),
17
- if($kendo-enable-color-system, k-color( dark-hover ), k-color-level( $color, $kendo-message-box-border-level ))
14
+ k-color(dark-on-subtle),
15
+ k-color(dark-subtle),
16
+ k-color(dark-hover)
18
17
  );
19
18
  } @else {
20
19
  @include fill(
21
- if($kendo-enable-color-system, k-color( #{$color-name}-on-subtle ), k-color-level( $color, $kendo-message-box-text-level )),
22
- if($kendo-enable-color-system, k-color( #{$color-name}-subtle ), k-color-level( $color, $kendo-message-box-bg-level )),
23
- if($kendo-enable-color-system, k-color( #{$color-name}-emphasis ), k-color-level( $color, $kendo-message-box-border-level ))
20
+ k-color(#{$color-name}-on-subtle),
21
+ k-color(#{$color-name}-subtle),
22
+ k-color(#{$color-name}-emphasis)
24
23
  );
25
24
  }
26
25
  }
@@ -13,3 +13,5 @@ $kendo-message-box-border-level: null !default;
13
13
 
14
14
  $kendo-message-box-link-font-style: null !default;
15
15
  $kendo-message-box-link-text-decoration: null !default;
16
+
17
+ $kendo-message-box-theme-colors: null !default;
@@ -55,6 +55,8 @@
55
55
  }
56
56
 
57
57
  .k-notification-actions {
58
+ padding-inline: $kendo-notification-actions-padding-x;
59
+ padding-block: $kendo-notification-actions-padding-y;
58
60
  flex: none;
59
61
  display: flex;
60
62
  gap: $kendo-notification-icon-spacing;
@@ -9,6 +9,8 @@ $kendo-notification-border-radius: k-border-radius(md)!default;
9
9
  $kendo-notification-font-family: null !default;
10
10
  $kendo-notification-font-size: null !default;
11
11
  $kendo-notification-line-height: null !default;
12
+ $kendo-notification-actions-padding-x: null !default;
13
+ $kendo-notification-actions-padding-y: null !default;
12
14
  $kendo-notification-bg: null !default;
13
15
  $kendo-notification-text: null !default;
14
16
  $kendo-notification-border: null !default;
@@ -21,7 +23,7 @@ $kendo-notification-icon-spacing: null !default;
21
23
 
22
24
  @each $name, $color in $colors {
23
25
  $_theme: map.merge(( $name: (
24
- color: if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-legacy( $color )),
26
+ color: k-color(on-#{$name}),
25
27
  background-color: $color,
26
28
  border: $color,
27
29
  )), $_theme );
@@ -52,9 +52,6 @@
52
52
  &:hover {
53
53
  z-index: 2;
54
54
  }
55
- &.k-disabled {
56
- color: inherit;
57
- }
58
55
  }
59
56
 
60
57
 
@@ -1,5 +1,5 @@
1
+ @use "../../color-system/_functions.import.scss" as *;
1
2
  @use "../../mixins/index.import.scss" as *;
2
- @use "../../color-system/_swatch-legacy.scss" as *;
3
3
  @use "./variables.scss" as *;
4
4
 
5
5
  @mixin kendo-panel--theme--base() {
@@ -14,9 +14,9 @@
14
14
 
15
15
  > .k-header {
16
16
  @include fill(
17
- var( --kendo-component-text, #{$kendo-component-text} ),
18
- var( --kendo-component-bg, #{$kendo-component-bg} ),
19
- var( --kendo-component-border, #{$kendo-component-border} )
17
+ k-color(on-app-surface),
18
+ k-color(surface-alt),
19
+ k-color(border)
20
20
  );
21
21
  }
22
22
  }
@@ -1,5 +1,5 @@
1
1
  @use "../../mixins/index.import.scss" as *;
2
- @use "../../color-system/_swatch-legacy.scss" as *;
2
+ @use "../../color-system/_functions.import.scss" as *;
3
3
  @use "./variables.scss" as *;
4
4
  @use "../popup/_variables.scss" as *;
5
5
 
@@ -134,7 +134,7 @@
134
134
  }
135
135
 
136
136
  .k-pivotgrid-configurator-content .k-form-field-wrapper {
137
- @include fill( $border: $kendo-component-border );
137
+ @include fill( $border: k-color(border) );
138
138
  }
139
139
 
140
140
 
@@ -191,7 +191,7 @@
191
191
  );
192
192
 
193
193
  .k-empty {
194
- color: $kendo-subtle-text;
194
+ color: k-color(subtle);
195
195
  }
196
196
  }
197
197
 
@@ -223,15 +223,15 @@
223
223
  }
224
224
 
225
225
  .k-i-kpi-status-hold {
226
- color: $kendo-color-warning;
226
+ color: k-color(warning);
227
227
  }
228
228
 
229
229
  .k-i-kpi-status-deny {
230
- color: $kendo-color-error;
230
+ color: k-color(error);
231
231
  }
232
232
 
233
233
  .k-i-kpi-status-open {
234
- color: $kendo-color-success;
234
+ color: k-color(success);
235
235
  }
236
236
 
237
237
 
@@ -239,7 +239,7 @@
239
239
  .k-pivotgrid-configurator-panel.kendo-jquery {
240
240
 
241
241
  .k-column-fields {
242
- border-color: $kendo-component-border;
242
+ border-color: k-color(border);
243
243
  }
244
244
  }
245
245
 
@@ -36,7 +36,7 @@
36
36
 
37
37
  .k-progressbar-indeterminate {
38
38
  @include fill( $kendo-progressbar-indeterminate-text, $kendo-progressbar-indeterminate-bg, $kendo-progressbar-indeterminate-border );
39
- @include striped-gradient( if($kendo-enable-color-system, color-mix(in srgb, k-color( base-emphasis ) 55%, transparent), k-color-shade($kendo-progressbar-indeterminate-bg)) );
39
+ @include striped-gradient( color-mix(in srgb, k-color(base-emphasis) 55%, transparent) );
40
40
  background-size: $kendo-progressbar-height $kendo-progressbar-height;
41
41
  animation: kendo-progressbar-indeterminate-animation $kendo-progressbar-animation-timing;
42
42
  }
@@ -1,7 +1,7 @@
1
1
  @use "sass:map";
2
2
  @use "../../mixins/index.import.scss" as *;
3
- @use "../../color-system/_swatch-legacy.scss" as *;
4
3
  @use "../../spacing/index.import.scss" as *;
4
+ @use "../../_variables.scss" as *;
5
5
  @use "./variables.scss" as *;
6
6
 
7
7
  @mixin kendo-radio--layout-base() {
@@ -72,10 +72,6 @@
72
72
 
73
73
 
74
74
  // Disabled state
75
- .k-radio:disabled,
76
- .k-radio.k-disabled {
77
- @include disabled( $kendo-disabled-styling... );
78
- }
79
75
  .k-radio:disabled:checked,
80
76
  .k-radio.k-disabled.k-checked {
81
77
  @if $kendo-radio-indicator-type == "image" {
@@ -1,10 +1,10 @@
1
- @use "../../color-system/_swatch-legacy.scss" as *;
1
+ @use "../../color-system/_functions.import.scss" as *;
2
2
  @use "./variables.scss" as *;
3
3
 
4
4
  @mixin kendo-rating--theme-base() {
5
5
 
6
6
  .k-rating {
7
- color: $kendo-component-text;
7
+ color: k-color(on-app-surface);
8
8
 
9
9
  &:focus,
10
10
  &.k-focus {
@@ -1,7 +1,6 @@
1
1
  @use "../../color-system/_functions.import.scss" as *;
2
2
  @use "../../mixins/index.import.scss" as *;
3
3
  @use "../../functions/index.import.scss" as *;
4
- @use "../../color-system/_swatch-legacy.scss" as *;
5
4
  @use "../../_variables.scss" as *;
6
5
  @use "./variables.scss" as *;
7
6
 
@@ -35,7 +34,7 @@
35
34
  }
36
35
 
37
36
  .k-scheduler-header {
38
- background-color: $kendo-base-bg;
37
+ background-color: $kendo-scheduler-header-bg;
39
38
  }
40
39
 
41
40
  .k-scheduler-header-wrap {
@@ -74,7 +73,7 @@
74
73
 
75
74
  .k-scheduler-layout td.k-selected,
76
75
  .k-scheduler-layout .k-scheduler-cell.k-selected {
77
- background-color: if($kendo-enable-color-system, color-mix(in srgb, k-color( primary ) 25%, transparent), rgba($kendo-selected-bg, .25));
76
+ background-color: color-mix(in srgb, k-color(primary) 25%, transparent);
78
77
  }
79
78
 
80
79
  .k-scheduler-layout-flex {
@@ -117,7 +116,7 @@
117
116
  }
118
117
 
119
118
  &.k-event-inverse {
120
- color: if($kendo-enable-color-system, if($kendo-enable-focus-contrast, black, k-color( on-app-surface )), k-contrast-legacy( $kendo-scheduler-event-text ));
119
+ color: if($kendo-enable-focus-contrast, black, k-color(on-app-surface));
121
120
  }
122
121
 
123
122
  &.k-event-ongoing {
@@ -134,7 +133,7 @@
134
133
  .k-scheduler-marquee {}
135
134
  .k-scheduler-marquee::before,
136
135
  .k-scheduler-marquee::after {
137
- border-color: $kendo-color-primary;
136
+ border-color: k-color(primary);
138
137
  }
139
138
 
140
139
  // Edit dialog
@@ -171,10 +170,10 @@
171
170
  .k-scheduler-content .k-scheduler-row:hover,
172
171
  .k-scheduler-content .k-scheduler-row.k-hover {
173
172
  @include fill(
174
- $kendo-hover-text,
175
- $kendo-hover-bg,
176
- $kendo-hover-border,
177
- $kendo-hover-gradient
173
+ k-color(on-app-surface),
174
+ k-color(base-hover),
175
+ k-color(border),
176
+ null
178
177
  );
179
178
  }
180
179
 
@@ -191,7 +190,7 @@
191
190
 
192
191
  // Selected
193
192
  .k-scheduler-content tr.k-selected {
194
- background-color: if($kendo-enable-color-system, color-mix(in srgb, k-color( primary ) 25%, transparent), rgba($kendo-selected-bg, .25));
193
+ background-color: color-mix(in srgb, k-color(primary) 25%, transparent);
195
194
  }
196
195
  .k-scheduler-content tr.k-selected .k-scheduler-datecolumn,
197
196
  .k-scheduler-content tr.k-selected .k-scheduler-groupcolumn {
@@ -104,3 +104,5 @@ $kendo-scheduler-rtl-indicators-margin: null !default;
104
104
 
105
105
  $kendo-scheduler-marquee-label-inset-x: null !default;
106
106
  $kendo-scheduler-marquee-label-inset-y: null !default;
107
+
108
+ $kendo-scheduler-header-bg: null !default;
@@ -283,14 +283,14 @@
283
283
  .k-slider-horizontal :is(.k-slider-track, .k-slider-selection) {
284
284
  height: $kendo-slider-track-thickness;
285
285
  left: 0;
286
- margin-top: - math.div( $kendo-slider-track-thickness, 2 );
286
+ margin-top: calc( #{$kendo-slider-track-thickness} / -2 );
287
287
  top: 50%;
288
288
  }
289
289
 
290
290
  .k-slider-vertical :is(.k-slider-track, .k-slider-selection) {
291
291
  bottom: 0;
292
292
  left: 50%;
293
- margin-left: - math.div( $kendo-slider-track-thickness, 2 );
293
+ margin-left: calc( #{$kendo-slider-track-thickness} / -2 );
294
294
  width: $kendo-slider-track-thickness;
295
295
  }
296
296
 
@@ -1,4 +1,4 @@
1
- @use "../../color-system/_swatch-legacy.scss" as *;
1
+ @use "../../color-system/_functions.import.scss" as *;
2
2
  @use "../../mixins/index.import.scss" as *;
3
3
  @use "../../border-radii/index.import.scss" as *;
4
4
  @use "./variables.scss" as *;
@@ -8,7 +8,7 @@
8
8
  // Slider
9
9
  .k-slider {
10
10
  // TODO: extract variables
11
- color: $kendo-component-text;
11
+ color: k-color(on-app-surface);
12
12
 
13
13
  .k-slider-track,
14
14
  .k-slider-selection {
@@ -54,6 +54,11 @@
54
54
  );
55
55
  }
56
56
 
57
+ &:hover,
58
+ &.k-hover {
59
+ @include focus-indicator( $kendo-slider-draghandle-hover-shadow );
60
+ }
61
+
57
62
  &:focus,
58
63
  &.k-focus {
59
64
  @include focus-indicator( $kendo-slider-draghandle-focus-shadow );
@@ -27,6 +27,7 @@ $kendo-slider-draghandle-hover-bg: null !default;
27
27
  $kendo-slider-draghandle-hover-text: null !default;
28
28
  $kendo-slider-draghandle-hover-border: null !default;
29
29
  $kendo-slider-draghandle-hover-gradient: null !default;
30
+ $kendo-slider-draghandle-hover-shadow: null !default;
30
31
 
31
32
  $kendo-slider-draghandle-pressed-bg: null !default;
32
33
  $kendo-slider-draghandle-pressed-text: null !default;
@@ -46,3 +47,5 @@ $kendo-slider-disabled-opacity: null !default;
46
47
 
47
48
  $kendo-slider-tick-horizontal-image: "data:image/gif;base64,R0lGODlhAQC0AIABALi4uAAAACH5BAEAAAEALAAAAAABALQAAAIWjIGJxqzazlux2ovlzND2rAHgSIZWAQA7" !default;
48
49
  $kendo-slider-tick-vertical-image: "data:image/gif;base64,R0lGODlhtAABAIABALi4uAAAACH5BAEAAAEALAAAAAC0AAEAAAIWjIGJxqzazlux2ovlzND2rAHgSIZWAQA7" !default;
50
+
51
+ $kendo-slider-tick-marker-bg: null !default;
@@ -1,5 +1,5 @@
1
1
  @use "../../mixins/index.import.scss" as *;
2
- @use "../../color-system/_swatch-legacy.scss" as *;
2
+ @use "../../color-system/_functions.import.scss" as *;
3
3
  @use "./variables.scss" as *;
4
4
  @use "../button/_variables.scss" as *;
5
5
  @use "../list/_variables.scss" as *;
@@ -115,7 +115,7 @@
115
115
 
116
116
  // Filter button
117
117
  .k-spreadsheet .k-filter-range {
118
- border-color: $kendo-color-primary;
118
+ border-color: k-color(primary);
119
119
  }
120
120
  .k-spreadsheet-filter {
121
121
  @include fill(