@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
@@ -1,7 +1,7 @@
1
1
 
2
2
  @use "../../mixins/index.import.scss" as *;
3
3
  @use "../../color-system/_constants.scss" as *;
4
- @use "../../color-system/_swatch-legacy.scss" as *;
4
+ @use "../../color-system/_functions.import.scss" as *;
5
5
  @use "./variables.scss" as *;
6
6
  @use "../button/_variables.scss" as *;
7
7
 
@@ -74,7 +74,7 @@
74
74
  }
75
75
 
76
76
  .k-mask {
77
- background-color: $kendo-component-bg;
77
+ background-color: k-color(surface-alt);
78
78
  opacity: .8;
79
79
  }
80
80
 
@@ -86,31 +86,30 @@
86
86
  // Treemap
87
87
  .k-treemap {
88
88
  @include fill(
89
- $kendo-component-text,
90
- $kendo-component-bg,
91
- $kendo-component-border
89
+ $kendo-treemap-text,
90
+ $kendo-treemap-bg,
91
+ $kendo-treemap-border
92
92
  );
93
93
 
94
94
  // Title
95
95
  .k-treemap-title {
96
96
  @include fill(
97
- $kendo-component-header-text,
98
- $kendo-component-header-bg,
99
- $kendo-component-header-border,
100
- $kendo-component-header-gradient
97
+ $kendo-treemap-title-text,
98
+ $kendo-treemap-title-bg,
99
+ $kendo-treemap-title-border
101
100
  );
102
101
  }
103
102
 
104
103
  // Leaf
105
104
  .k-leaf {
106
- color: $kendo-component-bg;
105
+ color: k-color(surface-alt);
107
106
  }
108
107
  .k-leaf.k-inverse {
109
- color: $kendo-component-text;
108
+ color: k-color(on-app-surface);
110
109
  }
111
110
  .k-leaf:hover,
112
111
  .k-leaf.k-hover {
113
- box-shadow: inset 0 0 0 3px $kendo-component-border;
112
+ box-shadow: inset 0 0 0 3px k-color(border);
114
113
  }
115
114
  }
116
115
 
@@ -120,6 +120,14 @@ $kendo-treemap-line-height: null !default;
120
120
  $kendo-treemap-padding-x: null !default;
121
121
  $kendo-treemap-padding-y: null !default;
122
122
 
123
+ $kendo-treemap-text: null !default;
124
+ $kendo-treemap-bg: null !default;
125
+ $kendo-treemap-border: null !default;
126
+
127
+ $kendo-treemap-title-text: null !default;
128
+ $kendo-treemap-title-bg: null !default;
129
+ $kendo-treemap-title-border: null !default;
130
+
123
131
  // Chart Overlay
124
132
  $kendo-chart-overlay-bg: null !default;
125
133
 
@@ -5,6 +5,9 @@
5
5
  @use "./variables.scss" as *;
6
6
 
7
7
  @mixin kendo-dialog--theme-base() {
8
+ .k-dialog {
9
+ background-color: $kendo-dialog-bg;
10
+ }
8
11
 
9
12
  // Dialog titlebar
10
13
  .k-dialog-titlebar {
@@ -18,7 +21,7 @@
18
21
  // Dialog theme colors
19
22
  @each $name, $color in $kendo-dialog-theme-colors {
20
23
  .k-dialog-#{$name} .k-dialog-titlebar {
21
- color: if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-legacy( $color ));
24
+ color: k-color(on-#{$name});
22
25
  background-color: $color;
23
26
  }
24
27
  }
@@ -9,4 +9,6 @@ $kendo-dialog-buttongroup-padding-y: null !default;
9
9
  $kendo-dialog-buttongroup-border-width: null !default;
10
10
  $kendo-dialog-button-spacing: null !default;
11
11
 
12
+ $kendo-dialog-bg: null !default;
13
+
12
14
  $kendo-dialog-theme-colors: null !default;
@@ -125,7 +125,8 @@
125
125
  }
126
126
  .k-drawer-items {
127
127
  margin: 0;
128
- padding: 0;
128
+ padding-block: $kendo-drawer-items-padding-y;
129
+ padding-inline: $kendo-drawer-items-padding-x;
129
130
  list-style: none;
130
131
  display: flex;
131
132
  flex-direction: column;
@@ -134,13 +135,16 @@
134
135
  .k-drawer-item {
135
136
  padding-block: $kendo-drawer-item-padding-y;
136
137
  padding-inline: $kendo-drawer-item-padding-x;
138
+ border-radius: $kendo-drawer-item-border-radius;
137
139
  outline: 0;
138
140
  color: inherit;
139
141
  font-size: $kendo-drawer-item-font-size;
140
142
  line-height: $kendo-drawer-item-line-height;
143
+ font-weight: $kendo-drawer-item-font-weight;
141
144
  display: flex;
142
145
  flex-flow: row nowrap;
143
- gap: $kendo-drawer-item-padding-x;
146
+ gap: $kendo-drawer-item-spacing;
147
+ align-items: center;
144
148
  cursor: pointer;
145
149
 
146
150
  > .k-drawer-link {
@@ -54,6 +54,11 @@
54
54
  color: $kendo-drawer-selected-hover-text;
55
55
  background-color: $kendo-drawer-selected-hover-bg;
56
56
  }
57
+
58
+ &:focus,
59
+ &.k-focus {
60
+ background-color: $kendo-drawer-selected-focus-bg;
61
+ }
57
62
  }
58
63
  }
59
64
  .k-drawer-separator {
@@ -19,13 +19,18 @@ $kendo-drawer-scrollbar-bg: null !default;
19
19
  $kendo-drawer-scrollbar-radius: null !default;
20
20
  $kendo-drawer-scrollbar-hover-color: null !default;
21
21
 
22
+ $kendo-drawer-items-padding-x: null !default;
23
+ $kendo-drawer-items-padding-y: null !default;
22
24
  $kendo-drawer-item-padding-x: null !default;
23
25
  $kendo-drawer-item-padding-y: null !default;
26
+ $kendo-drawer-item-spacing: null !default;
24
27
  $kendo-drawer-item-font-size: null !default;
25
28
  $kendo-drawer-item-line-height: null !default;
29
+ $kendo-drawer-item-font-weight: null !default;
26
30
 
27
31
  $kendo-drawer-item-level-padding-x: null !default;
28
32
  $kendo-drawer-item-level-count: null !default;
33
+ $kendo-drawer-item-border-radius: null !default;
29
34
 
30
35
  $kendo-drawer-icon-padding-x: null !default;
31
36
 
@@ -44,3 +49,5 @@ $kendo-drawer-selected-text: null !default;
44
49
 
45
50
  $kendo-drawer-selected-hover-bg: null !default;
46
51
  $kendo-drawer-selected-hover-text: null !default;
52
+
53
+ $kendo-drawer-selected-focus-bg: null !default;
@@ -1,19 +1,19 @@
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-editor--theme-base() {
6
6
 
7
7
  .k-editor {
8
8
  @include fill(
9
- $kendo-component-text,
10
- $kendo-component-bg,
11
- $kendo-component-border
9
+ k-color(on-app-surface),
10
+ k-color(surface-alt),
11
+ k-color(border)
12
12
  );
13
13
 
14
14
  &.k-readonly {
15
15
  .k-editor-content.k-focus {
16
- outline-color: $kendo-body-text;
16
+ outline-color: k-color(on-app-surface);
17
17
  }
18
18
  }
19
19
  }
@@ -51,7 +51,7 @@
51
51
  &:hover,
52
52
  &.k-hover,
53
53
  &.k-active {
54
- border-color: $kendo-component-border;
54
+ border-color: k-color(border);
55
55
  }
56
56
  }
57
57
 
@@ -68,7 +68,7 @@
68
68
  // Insert table
69
69
  .k-ct-popup {
70
70
  .k-selected {
71
- @include fill( $kendo-selected-text, $kendo-selected-bg, $kendo-selected-border, none );
71
+ @include fill( $kendo-editor-ct-cell-text, $kendo-editor-ct-cell-bg, $kendo-editor-ct-cell-border, none );
72
72
  }
73
73
  }
74
74
 
@@ -30,3 +30,7 @@ $kendo-editor-filebrowser-tiles-padding-x: null !default;
30
30
  $kendo-editor-filebrowser-tiles-padding-y: null !default;
31
31
 
32
32
  $kendo-editor-content-padding: null !default;
33
+
34
+ $kendo-editor-ct-cell-text: null !default;
35
+ $kendo-editor-ct-cell-bg: null !default;
36
+ $kendo-editor-ct-cell-border: null !default;
@@ -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
 
@@ -538,11 +518,7 @@
538
518
  box-sizing: content-box;
539
519
  }
540
520
  }
541
- .k-dropdown-operator.k-picker-#{$size} {
542
- .k-input-button {
543
- padding: $_padding-y;
544
- }
545
- }
521
+
546
522
  select.k-picker-#{$size} {
547
523
  padding-block: $_padding-y;
548
524
  padding-inline: $_padding-x;
@@ -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,