@progress/kendo-theme-core 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 (77) 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/adaptive/_theme.scss +4 -4
  9. package/scss/components/appbar/_theme.scss +2 -3
  10. package/scss/components/appbar/_variables.scss +4 -0
  11. package/scss/components/avatar/_theme.scss +1 -1
  12. package/scss/components/avatar/_variables.scss +2 -0
  13. package/scss/components/badge/_layout.scss +3 -3
  14. package/scss/components/badge/_theme.scss +4 -5
  15. package/scss/components/badge/_variables.scss +3 -1
  16. package/scss/components/bottom-navigation/_theme.scss +7 -8
  17. package/scss/components/bottom-navigation/_variables.scss +4 -0
  18. package/scss/components/breadcrumb/_layout.scss +1 -2
  19. package/scss/components/button/_layout.scss +1 -9
  20. package/scss/components/button/_theme.scss +36 -37
  21. package/scss/components/calendar/_theme.scss +2 -3
  22. package/scss/components/card/_theme.scss +8 -5
  23. package/scss/components/card/_variables.scss +2 -0
  24. package/scss/components/chat/_theme.scss +3 -4
  25. package/scss/components/checkbox/_layout.scss +1 -8
  26. package/scss/components/chip/_theme.scss +24 -24
  27. package/scss/components/dataviz/_layout.scss +11 -12
  28. package/scss/components/dataviz/_theme.scss +11 -12
  29. package/scss/components/dataviz/_variables.scss +8 -0
  30. package/scss/components/dialog/_theme.scss +1 -1
  31. package/scss/components/editor/_theme.scss +7 -7
  32. package/scss/components/editor/_variables.scss +4 -0
  33. package/scss/components/fab/_theme.scss +15 -15
  34. package/scss/components/filter/_theme.scss +3 -3
  35. package/scss/components/floating-label/_theme.scss +2 -2
  36. package/scss/components/forms/_layout.scss +8 -2
  37. package/scss/components/forms/_theme.scss +5 -5
  38. package/scss/components/gantt/_theme.scss +3 -4
  39. package/scss/components/grid/_theme.scss +10 -21
  40. package/scss/components/input/_layout.scss +1 -21
  41. package/scss/components/input/_theme.scss +7 -7
  42. package/scss/components/list/_theme.scss +1 -1
  43. package/scss/components/listbox/_theme.scss +2 -2
  44. package/scss/components/loader/_theme.scss +2 -2
  45. package/scss/components/loader/_variables.scss +2 -0
  46. package/scss/components/marquee/_index.scss +16 -0
  47. package/scss/components/marquee/_layout.scss +21 -0
  48. package/scss/components/marquee/_theme.scss +27 -0
  49. package/scss/components/marquee/_variables.scss +3 -0
  50. package/scss/components/mediaplayer/_theme.scss +1 -1
  51. package/scss/components/messagebox/_theme.scss +7 -8
  52. package/scss/components/messagebox/_variables.scss +2 -0
  53. package/scss/components/notification/_variables.scss +1 -1
  54. package/scss/components/panel/_theme.scss +4 -4
  55. package/scss/components/pivotgrid/_theme.scss +7 -7
  56. package/scss/components/progressbar/_theme.scss +1 -1
  57. package/scss/components/radio/_layout.scss +1 -5
  58. package/scss/components/rating/_theme.scss +2 -2
  59. package/scss/components/scheduler/_theme.scss +9 -10
  60. package/scss/components/scheduler/_variables.scss +2 -0
  61. package/scss/components/slider/_theme.scss +2 -2
  62. package/scss/components/spreadsheet/_theme.scss +2 -2
  63. package/scss/components/stepper/_theme.scss +30 -54
  64. package/scss/components/switch/_theme.scss +3 -2
  65. package/scss/components/taskboard/_theme.scss +2 -2
  66. package/scss/components/timeline/_theme.scss +3 -3
  67. package/scss/components/timeselector/_theme.scss +4 -4
  68. package/scss/components/timeselector/_variables.scss +3 -0
  69. package/scss/components/toolbar/_layout.scss +6 -0
  70. package/scss/components/tooltip/_variables.scss +1 -1
  71. package/scss/components/typography/_theme.scss +3 -3
  72. package/scss/components/upload/_theme.scss +3 -3
  73. package/scss/components/window/_theme.scss +1 -1
  74. package/scss/styles/_base.scss +9 -8
  75. package/scss/styles/index.import.scss +0 -3
  76. package/scss/color-system/_swatch-legacy.scss +0 -150
  77. package/scss/styles/_selection.scss +0 -36
@@ -13,7 +13,7 @@
13
13
  outline: $kendo-fab-border-width $kendo-fab-outline-style $color;
14
14
  outline-offset: -$kendo-fab-border-width;
15
15
  border-color: $color;
16
- color: if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-legacy( $color ));
16
+ color: k-color(on-#{$name});
17
17
  background-color: $color;
18
18
  }
19
19
  }
@@ -22,8 +22,8 @@
22
22
  @each $name, $color in $kendo-fab-theme-colors {
23
23
  .k-hover.k-fab-solid-#{$name},
24
24
  .k-fab-solid-#{$name}:hover {
25
- border-color: if($kendo-enable-color-system, k-color( #{$name}-hover ), k-try-shade( $color, .5 ));
26
- background-color: if($kendo-enable-color-system, k-color( #{$name}-hover ), k-try-shade( $color, .5 ));
25
+ border-color: k-color(#{$name}-hover);
26
+ background-color: k-color(#{$name}-hover);
27
27
  }
28
28
  }
29
29
 
@@ -34,7 +34,7 @@
34
34
  @if $kendo-enable-focus-contrast {
35
35
  @include box-shadow( inset 0 0 0 2px currentColor );
36
36
  } @else {
37
- outline: $kendo-fab-outline-style $kendo-fab-outline-width if($kendo-enable-color-system, color-mix(in srgb, k-color( $name ) 30%, transparent), rgba( $color, .3 ));
37
+ outline: $kendo-fab-outline-style $kendo-fab-outline-width color-mix(in srgb, k-color($name) 30%, transparent);
38
38
  }
39
39
  }
40
40
  }
@@ -45,8 +45,8 @@
45
45
  .k-selected.k-fab-solid-#{$name},
46
46
  .k-fab-solid-#{$name}:active {
47
47
  @include box-shadow($kendo-fab-active-shadow);
48
- border-color: if($kendo-enable-color-system, k-color( #{$name}-active ), k-try-shade( $color, 1.5));
49
- background-color: if($kendo-enable-color-system, k-color( #{$name}-active ), k-try-shade( $color, 1.5));
48
+ border-color: k-color(#{$name}-active);
49
+ background-color: k-color(#{$name}-active);
50
50
  }
51
51
  }
52
52
 
@@ -55,8 +55,8 @@
55
55
  .k-disabled.k-fab-solid-#{$name},
56
56
  .k-fab-solid-#{$name}:disabled {
57
57
  @include box-shadow($kendo-fab-disabled-shadow);
58
- background-color: if($kendo-enable-color-system, color-mix(in srgb, k-color( $name ) 60%, transparent), k-try-tint( $color, 5 ));
59
- color: if($kendo-enable-color-system, color-mix(in srgb, k-color( on-#{$name} ) 60%, transparent), k-try-tint( k-contrast-legacy( $color ), 5 ));
58
+ background-color: color-mix(in srgb, k-color($name) 60%, transparent);
59
+ color: color-mix(in srgb, k-color(on-#{$name}) 60%, transparent);
60
60
  opacity: 1;
61
61
  }
62
62
  }
@@ -85,8 +85,8 @@
85
85
  // Hover state
86
86
  .k-fab-item.k-hover .k-fab-item-icon,
87
87
  .k-fab-item:hover .k-fab-item-icon {
88
- border-color: if($kendo-enable-color-system, k-color( border ), k-try-shade( $kendo-fab-item-icon-border, .5 ));
89
- background-color: if($kendo-enable-color-system, k-color( base-hover ), k-try-shade( $kendo-fab-item-icon-bg, .5 ));
88
+ border-color: k-color(border);
89
+ background-color: k-color(base-hover);
90
90
  }
91
91
 
92
92
  // Focus state
@@ -95,7 +95,7 @@
95
95
  .k-fab-item.k-focus .k-fab-item-text,
96
96
  .k-fab-item.k-focus .k-fab-item-icon {
97
97
  @if $kendo-enable-focus-contrast {
98
- @include box-shadow( inset 0 0 0 2px if($kendo-enable-color-system, k-color( on-app-surface ), if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black )) );
98
+ @include box-shadow( inset 0 0 0 2px k-color( on-app-surface ));
99
99
  } @else {
100
100
  outline: $kendo-fab-item-outline-style $kendo-fab-item-outline-width $kendo-fab-item-outline-color;
101
101
  }
@@ -105,8 +105,8 @@
105
105
  .k-fab-item.k-active .k-fab-item-icon,
106
106
  .k-fab-item:active .k-fab-item-icon {
107
107
  @include box-shadow($kendo-fab-item-active-shadow);
108
- border-color: if($kendo-enable-color-system, k-color( border-alt ), k-try-shade( $kendo-fab-item-icon-border, 1 ));
109
- background-color: if($kendo-enable-color-system, k-color( base-active ), k-try-shade( $kendo-fab-item-icon-bg, 1 ));
108
+ border-color: k-color(border-alt);
109
+ background-color: k-color(base-active);
110
110
  }
111
111
 
112
112
  // Disabled state
@@ -117,8 +117,8 @@
117
117
  .k-fab-item-text,
118
118
  .k-fab-item-icon {
119
119
  @include box-shadow($kendo-fab-item-disabled-shadow);
120
- background-color: if($kendo-enable-color-system, color-mix(in srgb, k-color( base ) 60%, transparent), k-try-tint( $kendo-fab-item-bg, 5 ));
121
- color: if($kendo-enable-color-system, color-mix(in srgb, k-color( on-base ) 60%, transparent), k-try-tint( $kendo-fab-item-text, 5 ));
120
+ background-color: color-mix(in srgb, k-color(base) 60%, transparent);
121
+ color: color-mix(in srgb, k-color(on-base) 60%, transparent);
122
122
  }
123
123
  }
124
124
 
@@ -1,11 +1,11 @@
1
- @use "../../color-system/_swatch-legacy.scss" as *;
2
1
  @use "../../mixins/index.import.scss" as *;
2
+ @use "../../color-system/_functions.import.scss" as *;
3
3
  @use "./variables.scss" as *;
4
4
 
5
5
  @mixin kendo-filter--theme-base() {
6
6
 
7
7
  .k-filter {
8
- color: $kendo-component-text;
8
+ color: k-color(on-app-surface);
9
9
 
10
10
  .k-filter-preview-field {
11
11
  color: $kendo-filter-preview-field-text;
@@ -20,7 +20,7 @@
20
20
  .k-filter-toolbar::before,
21
21
  .k-filter-lines .k-filter-item:last-child > .k-filter-toolbar::after,
22
22
  .k-filter-lines .k-filter-item:last-child > * > .k-filter-toolbar::after {
23
- background-color: $kendo-component-border;
23
+ background-color: k-color(border);
24
24
  }
25
25
 
26
26
  // Focus
@@ -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
 
5
5
  @mixin kendo-floating-label--theme-base() {
@@ -24,7 +24,7 @@
24
24
  &.k-invalid > .k-floating-label,
25
25
  &.ng-invalid.ng-touched > .k-floating-label,
26
26
  &.ng-invalid.ng-dirty > .k-floating-label {
27
- @include fill ( $color: $kendo-invalid-text );
27
+ @include fill ( $color: k-color( error ) );
28
28
  }
29
29
  }
30
30
 
@@ -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
  @use "../input/_variables.scss" as *;
7
7
 
@@ -113,7 +113,13 @@
113
113
  .k-form-field-disabled {
114
114
  .k-label,
115
115
  .k-form-label {
116
- @include disabled( $kendo-disabled-styling... );
116
+ @include disabled(
117
+ $color: var(--kendo-disabled-text, unset),
118
+ $bg: var(--kendo-disabled-bg, unset),
119
+ $border: var(--kendo-disabled-border, unset),
120
+ $opacity: var(--kendo-disabled-opacity, unset),
121
+ $filter: var(--kendo-disabled-filter, unset)
122
+ );
117
123
  }
118
124
  }
119
125
 
@@ -1,12 +1,12 @@
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
 
5
5
  @mixin kendo-form--theme-base() {
6
6
 
7
7
  .k-form,
8
8
  .k-form-inline {
9
- @include fill( $color: $kendo-body-text );
9
+ @include fill( $color: k-color( on-app-surface ) );
10
10
 
11
11
  fieldset {
12
12
  legend {
@@ -19,18 +19,18 @@
19
19
  }
20
20
 
21
21
  .k-field-info {
22
- @include fill( $color: $kendo-subtle-text );
22
+ @include fill( $color: k-color( subtle ) );
23
23
  }
24
24
 
25
25
  .k-alert-error {
26
- @include fill( $color: $kendo-color-error );
26
+ @include fill( $color: k-color( error ) );
27
27
  }
28
28
  }
29
29
 
30
30
  .k-form-error,
31
31
  .k-text-error,
32
32
  .k-form-field-error .k-label {
33
- @include fill( $color: $kendo-color-error );
33
+ @include fill( $color: k-color( error ) );
34
34
  }
35
35
 
36
36
  .k-form-separator {
@@ -1,5 +1,4 @@
1
1
  @use "../../mixins/index.import.scss" as *;
2
- @use "../../color-system/_swatch-legacy.scss" as *;
3
2
  @use "../../color-system/_functions.import.scss" as *;
4
3
  @use "./variables.scss" as *;
5
4
 
@@ -104,7 +103,7 @@
104
103
  );
105
104
 
106
105
  &.k-task-delayed {
107
- @include repeating-striped-gradient($kendo-gantt-delayed-bg, $kendo-body-bg, 90deg, 4px, 2px);
106
+ @include repeating-striped-gradient($kendo-gantt-delayed-bg, k-color( app-surface ), 90deg, 4px, 2px);
108
107
  }
109
108
 
110
109
  &.k-task-advanced {
@@ -228,7 +227,7 @@
228
227
 
229
228
  // Delay offset
230
229
  .k-task-offset {
231
- @include repeating-striped-gradient($kendo-gantt-delayed-bg, $kendo-body-bg, 135deg, 4px, 2px);
230
+ @include repeating-striped-gradient($kendo-gantt-delayed-bg, k-color( app-surface ), 135deg, 4px, 2px);
232
231
 
233
232
  .k-resize-e::before {
234
233
  @include fill(
@@ -242,7 +241,7 @@
242
241
  }
243
242
 
244
243
  .k-task-offset:hover {
245
- @include repeating-striped-gradient($kendo-gantt-delayed-bg-lighter, $kendo-body-bg, 135deg, 4px, 2px);
244
+ @include repeating-striped-gradient($kendo-gantt-delayed-bg-lighter, k-color( app-surface ), 135deg, 4px, 2px);
246
245
  }
247
246
 
248
247
  .k-pdf-export .k-task-offset {
@@ -1,6 +1,6 @@
1
1
  @use "../../mixins/index.import.scss" as *;
2
2
  @use "../../color-system/_constants.scss" as *;
3
- @use "../../color-system/_swatch-legacy.scss" as *;
3
+ @use "../../color-system/_functions.import.scss" as *;
4
4
  @use "../../_variables.scss" as *;
5
5
  @use "./variables.scss" as *;
6
6
  @use "../button/_variables.scss" as *;
@@ -214,8 +214,8 @@
214
214
  @include focus-indicator( inset 0 0 0 2px rgba( $kendo-color-black, .1 ), true );
215
215
  }
216
216
  &.k-active {
217
- color: $kendo-selected-text;
218
- background-color: $kendo-selected-bg;
217
+ color: k-color(on-primary);
218
+ background-color: k-color(primary);
219
219
  }
220
220
  }
221
221
 
@@ -285,15 +285,12 @@
285
285
  &.k-table-row.k-selected .k-table-td.k-grid-row-sticky,
286
286
  &.k-table-row td.k-grid-content-sticky.k-selected,
287
287
  &.k-table-row .k-table-td.k-grid-content-sticky.k-selected {
288
- @if($kendo-enable-color-system) {
289
- @include fill( $bg: $kendo-grid-sticky-bg );
288
+ @include fill( $bg: $kendo-grid-sticky-bg );
290
289
 
291
- &::before {
292
- @include fill( $bg: $kendo-grid-sticky-selected-bg );
293
- }
294
- } @else {
290
+ &::before {
295
291
  @include fill( $bg: $kendo-grid-sticky-selected-bg );
296
292
  }
293
+
297
294
  }
298
295
 
299
296
  &.k-selected.k-table-alt-row td.k-grid-content-sticky,
@@ -301,13 +298,9 @@
301
298
  &.k-selected.k-table-alt-row .k-table-td.k-grid-row-sticky,
302
299
  &.k-table-alt-row td.k-grid-content-sticky.k-selected,
303
300
  &.k-table-alt-row .k-table-td.k-grid-content-sticky.k-selected {
304
- @if($kendo-enable-color-system) {
305
- @include fill( $bg: $kendo-grid-sticky-alt-bg );
301
+ @include fill( $bg: $kendo-grid-sticky-alt-bg );
306
302
 
307
- &::before {
308
- @include fill( $bg: $kendo-grid-sticky-selected-alt-bg );
309
- }
310
- } @else {
303
+ &::before {
311
304
  @include fill( $bg: $kendo-grid-sticky-selected-alt-bg );
312
305
  }
313
306
  }
@@ -335,13 +328,9 @@
335
328
  &.k-hover td.k-grid-content-sticky.k-selected,
336
329
  &:hover .k-table-td.k-grid-content-sticky.k-selected,
337
330
  &.k-hover .k-table-td.k-grid-content-sticky.k-selected {
338
- @if($kendo-enable-color-system) {
339
- background-color: $kendo-grid-sticky-hover-bg;
331
+ background-color: $kendo-grid-sticky-hover-bg;
340
332
 
341
- &::before {
342
- background-color: $kendo-grid-sticky-selected-hover-bg;
343
- }
344
- } @else {
333
+ &::before {
345
334
  background-color: $kendo-grid-sticky-selected-hover-bg;
346
335
  }
347
336
  }
@@ -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 "../../color-system/_constants.scss" as *;
4
+ @use "../../_variables.scss" as *;
5
5
  @use "./_variables.scss" as *;
6
6
  @use "../icons/_variables.scss" as *;
7
7
 
@@ -68,16 +68,6 @@
68
68
  textarea.k-textarea {
69
69
  padding-block: $kendo-input-padding-y;
70
70
  padding-inline: $kendo-input-padding-x;
71
-
72
- &:disabled,
73
- &[disabled] {
74
- @include disabled( $kendo-disabled-styling... );
75
- }
76
- }
77
-
78
- :is([disabled], .k-disabled) :is(input.k-input, textarea.k-textarea):is(:disabled, [disabled]) {
79
- opacity: 1;
80
- filter: grayscale(0);
81
71
  }
82
72
 
83
73
  textarea.k-textarea {
@@ -94,16 +84,6 @@
94
84
  padding-inline: $kendo-input-padding-x;
95
85
  appearance: auto;
96
86
  align-items: center;
97
-
98
- &:disabled,
99
- &[disabled] {
100
- @include disabled( $kendo-disabled-styling... );
101
- }
102
- }
103
-
104
- :is([disabled], .k-disabled) select.k-picker:is(:disabled, [disabled]) {
105
- opacity: 1;
106
- filter: grayscale(0);
107
87
  }
108
88
 
109
89
 
@@ -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
 
5
5
  @mixin kendo-input--theme-base() {
@@ -63,7 +63,7 @@
63
63
  @include fill( $border: $kendo-input-invalid-border );
64
64
 
65
65
  .k-input-validation-icon {
66
- color: $kendo-invalid-text;
66
+ color: k-color(error);
67
67
  }
68
68
 
69
69
  &:focus,
@@ -152,7 +152,7 @@
152
152
  @include fill( $border: $kendo-input-invalid-border );
153
153
 
154
154
  .k-input-validation-icon {
155
- color: $kendo-invalid-text;
155
+ color: k-color(error);
156
156
  }
157
157
 
158
158
  &:focus,
@@ -236,7 +236,7 @@
236
236
  @include fill( $border: $kendo-input-invalid-border );
237
237
 
238
238
  .k-input-validation-icon {
239
- color: $kendo-invalid-text;
239
+ color: k-color(error);
240
240
  }
241
241
 
242
242
  &:focus,
@@ -331,7 +331,7 @@
331
331
  @include fill( $border: $kendo-input-invalid-border );
332
332
 
333
333
  .k-input-validation-icon {
334
- color: $kendo-invalid-text;
334
+ color: k-color(error);
335
335
  }
336
336
 
337
337
  &:focus,
@@ -402,7 +402,7 @@
402
402
  @include fill( $border: $kendo-input-invalid-border );
403
403
 
404
404
  .k-input-validation-icon {
405
- color: $kendo-invalid-text;
405
+ color: k-color(error);
406
406
  }
407
407
 
408
408
  &:focus,
@@ -497,7 +497,7 @@
497
497
  @include fill( $border: $kendo-input-invalid-border );
498
498
 
499
499
  .k-input-validation-icon {
500
- color: $kendo-invalid-text;
500
+ color: k-color(error);
501
501
  }
502
502
 
503
503
  &:focus,
@@ -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
 
@@ -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
  }
@@ -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;
@@ -21,7 +21,7 @@ $kendo-notification-icon-spacing: null !default;
21
21
 
22
22
  @each $name, $color in $colors {
23
23
  $_theme: map.merge(( $name: (
24
- color: if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-legacy( $color )),
24
+ color: k-color(on-#{$name}),
25
25
  background-color: $color,
26
26
  border: $color,
27
27
  )), $_theme );
@@ -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
  }