@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
@@ -2,7 +2,6 @@
2
2
  @use "sass:meta";
3
3
  @use "../../mixins/index.import.scss" as *;
4
4
  @use "../../functions/index.import.scss" as *;
5
- @use "../../color-system/_swatch-legacy.scss" as *;
6
5
  @use "../../color-system/_functions.import.scss" as *;
7
6
  @use "../../_variables.scss" as *;
8
7
  @use "./_variables.scss" as *;
@@ -77,17 +76,17 @@
77
76
 
78
77
  @each $name, $color in $kendo-button-theme-colors {
79
78
  @if ($name != "base") {
80
- $_button-text: if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-legacy( $color ));
81
- $_button-bg: if($kendo-enable-color-system, k-color( $name ), if( $kendo-solid-button-shade-bg-amount, meta.call( $_shade-fn, $color, $kendo-solid-button-shade-bg-amount ), null ));
82
- $_button-border: if($kendo-enable-color-system, k-color( $name ), if( $kendo-solid-button-shade-border-amount, meta.call( $_shade-fn, $color, $kendo-solid-button-shade-border-amount ), null ));
79
+ $_button-text: k-color(on-#{$name});
80
+ $_button-bg: k-color($name);
81
+ $_button-border: k-color($name);
83
82
 
84
83
  $_button-hover-text: null;
85
- $_button-hover-bg: if($kendo-enable-color-system, k-color( #{$name}-hover ), if( $kendo-solid-button-hover-shade-bg-amount, meta.call( $_shade-fn, $color, $kendo-solid-button-hover-shade-bg-amount ), null ));
86
- $_button-hover-border: if($kendo-enable-color-system, k-color( #{$name}-hover ), if( $kendo-solid-button-hover-shade-border-amount, meta.call( $_shade-fn, $color, $kendo-solid-button-hover-shade-border-amount ), null ));
84
+ $_button-hover-bg: k-color(#{$name}-hover);
85
+ $_button-hover-border: k-color(#{$name}-hover);
87
86
 
88
87
  $_button-active-text: null;
89
- $_button-active-bg: if($kendo-enable-color-system, k-color( #{$name}-active ), if( $kendo-solid-button-active-shade-bg-amount, meta.call( $_shade-fn, $color, $kendo-solid-button-active-shade-bg-amount ), null ));
90
- $_button-active-border: if($kendo-enable-color-system, k-color( #{$name}-active ), if( $kendo-solid-button-active-shade-border-amount, meta.call( $_shade-fn, $color, $kendo-solid-button-active-shade-border-amount ), null ));
88
+ $_button-active-bg: k-color(#{$name}-active);
89
+ $_button-active-border: k-color(#{$name}-active);
91
90
 
92
91
  .k-button-solid-#{$name} {
93
92
  @include fill(
@@ -111,7 +110,7 @@
111
110
  &:focus,
112
111
  &.k-focus {
113
112
  @if ( $kendo-solid-button-shadow ) {
114
- @include focus-indicator( 0 0 $kendo-solid-button-shadow-blur $kendo-solid-button-shadow-spread if($kendo-enable-color-system, color-mix(in srgb, k-color( $name ) ( $kendo-solid-button-shadow-opacity * 100% ), transparent), rgba( $_button-border, $kendo-solid-button-shadow-opacity )), true, true );
113
+ @include focus-indicator( 0 0 $kendo-solid-button-shadow-blur $kendo-solid-button-shadow-spread color-mix(in srgb, k-color($name) ( $kendo-solid-button-shadow-opacity * 100% ), transparent), true, true );
115
114
  }
116
115
  }
117
116
 
@@ -151,11 +150,11 @@
151
150
 
152
151
 
153
152
  // Outline button
154
- @each $name, $color in map.merge( $kendo-button-theme-colors, ( "base": $kendo-base-text ) ) {
153
+ @each $name, $color in map.merge( $kendo-button-theme-colors, ( "base": k-color(on-app-surface) ) ) {
155
154
  .k-button-outline-#{$name} {
156
155
  @include box-shadow( none );
157
156
  border-color: currentColor;
158
- color: if($kendo-enable-color-system, k-color( #{$name}-on-surface ), $color);
157
+ color: k-color(#{$name}-on-surface);
159
158
  background-color: transparent;
160
159
 
161
160
  // Hover state
@@ -163,13 +162,13 @@
163
162
  &.k-hover {
164
163
  @if $name == "base" {
165
164
  @include fill(
166
- if($kendo-enable-color-system, k-color( base ), k-contrast-legacy( $color ) ),
167
- if($kendo-enable-color-system, k-color( on-base ), $color ),
168
- if($kendo-enable-color-system, k-color( on-base ), $color )
165
+ k-color(base),
166
+ k-color(on-base),
167
+ k-color(on-base)
169
168
  );
170
169
  } @else {
171
170
  @include fill(
172
- if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-legacy( $color )),
171
+ k-color(on-#{$name}),
173
172
  $color,
174
173
  $color
175
174
  );
@@ -181,9 +180,9 @@
181
180
  &.k-focus {
182
181
  @if $kendo-outline-button-shadow {
183
182
  @if $name == "base" {
184
- @include focus-indicator( 0 0 $kendo-outline-button-shadow-blur $kendo-outline-button-shadow-spread if($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) ( $kendo-outline-button-shadow-opacity * 100% ), transparent), rgba( $color, $kendo-outline-button-shadow-opacity )), true, true );
183
+ @include focus-indicator( 0 0 $kendo-outline-button-shadow-blur $kendo-outline-button-shadow-spread color-mix(in srgb, k-color(on-app-surface ) ( $kendo-outline-button-shadow-opacity * 100% ), transparent), true, true );
185
184
  } @else {
186
- @include focus-indicator( 0 0 $kendo-outline-button-shadow-blur $kendo-outline-button-shadow-spread if($kendo-enable-color-system, color-mix(in srgb, k-color( $name ) ( $kendo-outline-button-shadow-opacity * 100% ), transparent), rgba( $color, $kendo-outline-button-shadow-opacity )), true, true );
185
+ @include focus-indicator( 0 0 $kendo-outline-button-shadow-blur $kendo-outline-button-shadow-spread color-mix(in srgb, k-color($name ) ( $kendo-outline-button-shadow-opacity * 100% ), transparent), true, true );
187
186
  }
188
187
  }
189
188
  }
@@ -193,13 +192,13 @@
193
192
  &.k-active {
194
193
  @if $name == "base" {
195
194
  @include fill(
196
- if($kendo-enable-color-system, k-color( base ), k-contrast-legacy( $color )),
197
- if($kendo-enable-color-system, k-color( on-base ), $color ),
198
- if($kendo-enable-color-system, k-color( on-base ), $color )
195
+ k-color(base ),
196
+ k-color(on-base ),
197
+ k-color(on-base )
199
198
  );
200
199
  } @else {
201
200
  @include fill(
202
- if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-legacy( $color )),
201
+ k-color(on-#{$name} ),
203
202
  $color,
204
203
  $color
205
204
  );
@@ -210,13 +209,13 @@
210
209
  &.k-selected {
211
210
  @if $name == "base" {
212
211
  @include fill(
213
- if($kendo-enable-color-system, k-color( base ), k-contrast-legacy( $color )),
214
- if($kendo-enable-color-system, k-color( on-base ), $color ),
215
- if($kendo-enable-color-system, k-color( on-base ), $color )
212
+ k-color(base ),
213
+ k-color(on-base ),
214
+ k-color(on-base )
216
215
  );
217
216
  } @else {
218
217
  @include fill(
219
- if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-legacy( $color )),
218
+ k-color(on-#{$name} ),
220
219
  $color,
221
220
  $color
222
221
  );
@@ -238,7 +237,7 @@
238
237
  @if $name == "base" {
239
238
  color: inherit;
240
239
  } @else {
241
- color: if($kendo-enable-color-system, k-color( #{$name}-on-surface ), $color);
240
+ color: k-color(#{$name}-on-surface);
242
241
  }
243
242
 
244
243
  // Disabled state
@@ -251,7 +250,7 @@
251
250
 
252
251
 
253
252
  // Link button
254
- @each $name, $color in map.merge( $kendo-button-theme-colors, ( "base": $kendo-base-text ) ) {
253
+ @each $name, $color in map.merge( $kendo-button-theme-colors, ( "base": k-color(on-app-surface ) ) ) {
255
254
  .k-button-link-#{$name} {
256
255
  color: $color;
257
256
 
@@ -259,9 +258,9 @@
259
258
  &:hover,
260
259
  &.k-hover {
261
260
  @if $name == "base" {
262
- color: if($kendo-enable-color-system, $kendo-base-text, k-try-shade( $color, 2 ));
261
+ color: k-color(on-app-surface);
263
262
  } @else {
264
- color: if($kendo-enable-color-system, k-color( #{$name}-hover ), k-try-shade( $color, 2 ));
263
+ color: k-color(#{$name}-hover);
265
264
  }
266
265
  }
267
266
 
@@ -270,9 +269,9 @@
270
269
  &.k-focus {
271
270
  @if ( $kendo-link-button-shadow ) {
272
271
  @if $name == "base" {
273
- @include focus-indicator( 0 0 $kendo-link-button-shadow-blur $kendo-link-button-shadow-spread if($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) ( $kendo-link-button-shadow-opacity * 100% ), transparent), rgba( $color, $kendo-link-button-shadow-opacity )), true, true );
272
+ @include focus-indicator( 0 0 $kendo-link-button-shadow-blur $kendo-link-button-shadow-spread color-mix(in srgb, k-color(on-app-surface ) ( $kendo-link-button-shadow-opacity * 100% ), transparent), true, true );
274
273
  } @else {
275
- @include focus-indicator( 0 0 $kendo-link-button-shadow-blur $kendo-link-button-shadow-spread if($kendo-enable-color-system, color-mix(in srgb, k-color( $name ) ( $kendo-link-button-shadow-opacity * 100% ), transparent), rgba( $color, $kendo-link-button-shadow-opacity )), true, true );
274
+ @include focus-indicator( 0 0 $kendo-link-button-shadow-blur $kendo-link-button-shadow-spread color-mix(in srgb, k-color($name ) ( $kendo-link-button-shadow-opacity * 100% ), transparent), true, true );
276
275
  }
277
276
  }
278
277
  }
@@ -281,18 +280,18 @@
281
280
  &:active,
282
281
  &.k-active {
283
282
  @if $name == "base" {
284
- color: if($kendo-enable-color-system, $kendo-base-text, k-try-shade( $color, 2 ));
283
+ color: k-color(on-app-surface);
285
284
  } @else {
286
- color: if($kendo-enable-color-system, k-color( #{$name}-active ), k-try-shade( $color, 2 ));
285
+ color: k-color(#{$name}-active);
287
286
  }
288
287
  }
289
288
 
290
289
  // Selected
291
290
  &.k-selected {
292
291
  @if $name == "base" {
293
- color: if($kendo-enable-color-system, $kendo-base-text, k-try-shade( $color, 2 ));
292
+ color: k-color(on-app-surface);
294
293
  } @else {
295
- color: if($kendo-enable-color-system, k-color( #{$name}-active ), k-try-shade( $color, 2 ));
294
+ color: k-color(#{$name}-active);
296
295
  }
297
296
  }
298
297
 
@@ -306,9 +305,9 @@
306
305
 
307
306
 
308
307
  // Clear button
309
- @each $name, $color in map.merge( $kendo-button-theme-colors, ( "base": $kendo-base-text ) ) {
308
+ @each $name, $color in map.merge( $kendo-button-theme-colors, ( "base": k-color(on-app-surface ) ) ) {
310
309
  .k-button-clear-#{$name} {
311
- color: if($kendo-enable-color-system, k-color( #{$name}-on-surface ), $color);
310
+ color: k-color(#{$name}-on-surface);
312
311
 
313
312
  &:focus,
314
313
  &.k-focus,
@@ -15,6 +15,7 @@ $kendo-button-md-padding-y: null !default;
15
15
  $kendo-button-lg-padding-y: null !default;
16
16
 
17
17
  $kendo-button-font-family: null !default;
18
+ $kendo-button-font-weight: null !default;
18
19
 
19
20
  $kendo-button-font-size: null !default;
20
21
  $kendo-button-sm-font-size: null !default;
@@ -12,6 +12,7 @@
12
12
  block-size: var( --INTERNAL--kendo-calendar-height, min-content );
13
13
  border-width: $kendo-calendar-border-width;
14
14
  border-style: solid;
15
+ border-radius: $kendo-calendar-border-radius;
15
16
  box-sizing: border-box;
16
17
  outline: 0;
17
18
  font-family: $kendo-calendar-font-family;
@@ -177,7 +178,8 @@
177
178
  overflow: hidden;
178
179
 
179
180
  .k-today {
180
- font-weight: bold;
181
+ font-weight: $kendo-calendar-today-font-weight;
182
+ box-shadow: $kendo-calendar-today-box-shadow;
181
183
  }
182
184
  }
183
185
 
@@ -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
  @use "./variables.scss" as *;
@@ -129,12 +128,16 @@
129
128
  );
130
129
  }
131
130
 
131
+ .k-calendar-navigation-marker {
132
+ color: $kendo-calendar-navigation-marker-text;
133
+ }
134
+
132
135
  // Invalid
133
136
  &.k-invalid,
134
137
  &.k-invalid:hover,
135
138
  &.ng-invalid.ng-touched,
136
139
  &.ng-invalid.ng-dirty {
137
- border-color: $kendo-invalid-border;
140
+ border-color: k-color(error);
138
141
  }
139
142
  }
140
143
 
@@ -160,7 +163,6 @@
160
163
  .k-calendar { // stylelint-disable-line
161
164
 
162
165
  $kendo-calendar-range-gap: k-spacing(1px) !default;
163
- $kendo-calendar-range-bg: if($kendo-enable-color-system, color-mix(in srgb, k-color( primary ) 25%, transparent), rgba( $kendo-calendar-cell-selected-bg, .25 ));
164
166
  $kendo-calendar-range-split-size: 5px !default;
165
167
 
166
168
  .k-range-start,
@@ -5,6 +5,7 @@ $kendo-calendar-border-width: null !default;
5
5
  $kendo-calendar-font-family: null !default;
6
6
  $kendo-calendar-font-size: null !default;
7
7
  $kendo-calendar-line-height: null !default;
8
+ $kendo-calendar-border-radius: null !default;
8
9
 
9
10
  $kendo-calendar-cell-size: null !default;
10
11
 
@@ -66,6 +67,8 @@ $kendo-calendar-weekend-text: null !default;
66
67
 
67
68
  $kendo-calendar-today-style: null !default;
68
69
  $kendo-calendar-today-color: null !default;
70
+ $kendo-calendar-today-font-weight: null !default;
71
+ $kendo-calendar-today-box-shadow: null !default;
69
72
 
70
73
  $kendo-calendar-week-number-bg: null !default;
71
74
  $kendo-calendar-week-number-text: null !default;
@@ -106,6 +109,10 @@ $kendo-calendar-navigation-border: null !default;
106
109
 
107
110
  $kendo-calendar-navigation-hover-text: null !default;
108
111
 
112
+ $kendo-calendar-navigation-marker-text: null !default;
113
+
114
+ $kendo-calendar-range-bg: null !default;
115
+
109
116
  $kendo-infinite-calendar-header-padding-x: null !default;
110
117
  $kendo-infinite-calendar-header-padding-y: null !default;
111
118
 
@@ -114,7 +121,6 @@ $kendo-infinite-calendar-view-padding-y: null !default;
114
121
 
115
122
  $kendo-infinite-calendar-view-height: null !default;
116
123
 
117
-
118
124
  // Multiview calendar
119
125
 
120
126
  $kendo-calendar-range-cell-border-radius: null !default;
@@ -1,6 +1,5 @@
1
1
  @use "../../mixins/index.import.scss" as *;
2
2
  @use "../../functions/index.import.scss" as *;
3
- @use "../../color-system/_swatch-legacy.scss" as *;
4
3
  @use "../../color-system/_functions.import.scss" as *;
5
4
  @use "../../_variables.scss" as *;
6
5
  @use "./variables.scss" as *;
@@ -54,6 +53,10 @@
54
53
  @include fill( $kendo-card-footer-text, $kendo-card-footer-bg, $kendo-card-footer-border );
55
54
  }
56
55
 
56
+ // Body
57
+ .k-card-body {
58
+ border-color: inherit;
59
+ }
57
60
 
58
61
  // Separator
59
62
  .k-card-separator,
@@ -69,11 +72,11 @@
69
72
 
70
73
 
71
74
  // Card theme colors
72
- @each $name, $color in $kendo-theme-colors {
75
+ @each $name, $color in $kendo-card-theme-colors {
73
76
  .k-card-#{$name} {
74
- background-color: if($kendo-enable-color-system, k-color( #{$name}-subtle ), k-color-tint($color, 10));
75
- color: if($kendo-enable-color-system, k-color( #{$name}-on-subtle ), k-color-shade($color, 6));
76
- border-color: if($kendo-enable-color-system, k-color( #{$name}-emphasis ), k-color-tint($color, 9));
77
+ background-color: k-color(#{$name}-subtle);
78
+ color: k-color(#{$name}-on-subtle);
79
+ border-color: k-color(#{$name}-emphasis);
77
80
 
78
81
  .k-card-subtitle {
79
82
  color: inherit;
@@ -70,3 +70,5 @@ $kendo-card-deck-scroll-button-offset: null !default;
70
70
 
71
71
  $kendo-card-callout-width: null !default;
72
72
  $kendo-card-callout-height: null !default;
73
+
74
+ $kendo-card-theme-colors: null !default;
@@ -1,5 +1,4 @@
1
1
  @use "../../mixins/index.import.scss" as *;
2
- @use "../../color-system/_swatch-legacy.scss" as *;
3
2
  @use "../../motion/index.import.scss" as *;
4
3
  @use "../../color-system/_functions.import.scss" as *;
5
4
  @use "../../_variables.scss" as *;
@@ -39,8 +38,8 @@
39
38
  transition: $kendo-transition;
40
39
  order: -1;
41
40
 
42
- a { color: $kendo-link-text; }
43
- a:hover { color: $kendo-link-hover-text; }
41
+ a { color: k-color(primary); }
42
+ a:hover { color: k-color(primary-hover); }
44
43
  }
45
44
  .k-chat-bubble:hover {
46
45
  @include box-shadow( $kendo-chat-bubble-hover-shadow );
@@ -84,7 +83,7 @@
84
83
 
85
84
  &:focus,
86
85
  &.k-focus {
87
- @include focus-indicator( 0 0 $kendo-chat-quick-reply-shadow-blur $kendo-chat-quick-reply-shadow-spread if($kendo-enable-color-system, color-mix(in srgb, k-color( 'primary' ) ( $kendo-chat-quick-reply-shadow-opacity * 100% ), transparent), rgba( $kendo-color-primary, $kendo-chat-quick-reply-shadow-opacity )), true, true );
86
+ @include focus-indicator( 0 0 $kendo-chat-quick-reply-shadow-blur $kendo-chat-quick-reply-shadow-spread color-mix(in srgb, k-color(primary) ( $kendo-chat-quick-reply-shadow-opacity * 100% ), transparent), true, true );
88
87
  }
89
88
  }
90
89
  }
@@ -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-checkbox--layout-base() {
@@ -86,13 +86,6 @@
86
86
  }
87
87
 
88
88
 
89
- // Disabled state
90
- .k-checkbox:disabled,
91
- .k-checkbox.k-disabled {
92
- @include disabled( $kendo-disabled-styling... );
93
- }
94
-
95
-
96
89
  // Checkbox wrap
97
90
  .k-checkbox-wrap {
98
91
  flex: none;
@@ -11,6 +11,7 @@
11
11
  border-style: solid;
12
12
  outline: 0;
13
13
  font-family: var( --kendo-font-family, inherit );
14
+ font-weight: $kendo-chip-font-weight;
14
15
  font-size: $kendo-chip-font-size;
15
16
  line-height: $kendo-chip-line-height;
16
17
  display: inline-flex;
@@ -35,26 +35,36 @@
35
35
  }
36
36
  } @else {
37
37
  @include fill(
38
- if($kendo-enable-color-system, k-color( #{$name}-on-subtle ), k-try-shade( $color, 65% )),
39
- if($kendo-enable-color-system, k-color( #{$name}-subtle ), k-try-tint( $color, 80% )),
40
- if($kendo-enable-color-system, k-color( #{$name}-emphasis ), k-try-tint( $color, 25% )),
38
+ k-color(#{$name}-on-subtle),
39
+ k-color(#{$name}-subtle),
40
+ k-color(#{$name}-emphasis),
41
41
  $kendo-chip-solid-gradient
42
42
  );
43
43
 
44
44
  &:focus,
45
45
  &.k-focus {
46
- @include focus-indicator( 0 0 0 2px if($kendo-enable-color-system, color-mix(in srgb, k-color( $name ) 16%, transparent), rgba( $color, .16 )) );
46
+ @include focus-indicator( 0 0 0 2px color-mix(in srgb, k-color($name) 16%, transparent));
47
47
  }
48
48
 
49
49
  &:hover,
50
50
  &.k-hover {
51
- @include fill( $bg: if($kendo-enable-color-system, k-color( #{$name}-subtle-hover ), k-try-tint($color, 65% )) );
51
+ @include fill( $bg: k-color(#{$name}-subtle-hover));
52
52
  }
53
53
 
54
54
  &.k-selected {
55
- @include fill( $bg: if($kendo-enable-color-system, k-color( #{$name}-subtle-active ), k-try-tint( $color, 50% )) );
55
+ @include fill( $bg: k-color(#{$name}-subtle-active));
56
56
  }
57
57
  }
58
+
59
+ // Disabled state
60
+ &:disabled,
61
+ &.k-disabled {
62
+ @include fill(
63
+ $kendo-chip-disabled-text,
64
+ $kendo-chip-disabled-bg,
65
+ $kendo-chip-disabled-border,
66
+ );
67
+ }
58
68
  }
59
69
  }
60
70
 
@@ -90,59 +100,66 @@
90
100
  }
91
101
  } @else if ($name == "warning") {
92
102
  @include fill(
93
- if($kendo-enable-color-system, k-color( on-app-surface ), if( $kendo-is-dark-theme, k-color-tint($color, 25%), $kendo-chip-outline-text)),
94
- if($kendo-enable-color-system, transparent, if( $kendo-is-dark-theme, $kendo-color-black, $kendo-color-white )),
95
- if($kendo-enable-color-system, $color, if( $kendo-is-dark-theme, k-color-tint($color, 25%), $color))
103
+ k-color(on-app-surface),
104
+ transparent,
105
+ $color
96
106
  );
97
107
 
98
108
  &:focus,
99
109
  &.k-focus {
100
- @include focus-indicator( 0 0 0 2px if($kendo-enable-color-system, color-mix(in srgb, k-color( $name ) 16%, transparent), if( $kendo-is-dark-theme, rgba( k-color-tint( $color, 50% ), .32 ), rgba( $color, .16 ))) );
110
+ @include focus-indicator( 0 0 0 2px color-mix(in srgb, k-color($name) 16%, transparent));
101
111
  }
102
112
 
103
113
  &:hover,
104
114
  &.k-hover {
105
115
  @include fill(
106
- $color: if($kendo-enable-color-system, k-color( on-#{$name} ), if( $kendo-is-dark-theme, k-contrast-legacy( $color ), k-try-shade( $color, 80% ) )),
107
- $bg: if($kendo-enable-color-system, $color, if( $kendo-is-dark-theme, k-color-tint($color, 25%), $color))
116
+ $color: k-color(on-#{$name}),
117
+ $bg: $color
108
118
  );
109
119
  }
110
120
 
111
121
  &.k-selected {
112
122
  @include fill(
113
- $color: if($kendo-enable-color-system, k-color( on-#{$name} ), if( $kendo-is-dark-theme, k-contrast-legacy( $color ), k-try-shade( $color, 80% ) )),
114
- $bg: if($kendo-enable-color-system, $color, if( $kendo-is-dark-theme, k-color-tint($color, 25%), $color))
123
+ $color: k-color(on-#{$name}),
124
+ $bg: $color
115
125
  );
116
126
  }
117
127
  } @else {
118
128
  @include fill(
119
- if($kendo-enable-color-system, k-color( #{$name}-on-surface ), k-try-shade( $color, 25% )),
120
- if($kendo-enable-color-system, transparent, if( $kendo-is-dark-theme, $kendo-color-black, $kendo-color-white )),
121
- if($kendo-enable-color-system, k-color( #{$name}-on-surface ), k-try-shade( $color, 25% ))
129
+ k-color(#{$name}-on-surface),
130
+ transparent,
131
+ k-color(#{$name}-on-surface)
122
132
  );
123
133
 
124
134
  &:focus,
125
135
  &.k-focus {
126
- @include focus-indicator( 0 0 0 2px if($kendo-enable-color-system, color-mix(in srgb, k-color( $name ) 16%, transparent), if( $kendo-is-dark-theme, rgba( k-color-tint( $color, 50% ), .32 ), rgba( $color, .16 ))) );
136
+ @include focus-indicator( 0 0 0 2px color-mix(in srgb, k-color($name) 16%, transparent));
127
137
  }
128
138
 
129
139
  &:hover,
130
140
  &.k-hover {
131
141
  @include fill(
132
- if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-legacy( k-try-shade( $color, 25% ) )),
133
- if($kendo-enable-color-system, k-color( #{$name}-hover ), k-try-shade( $color, 25% )),
134
- if($kendo-enable-color-system, k-color( #{$name}-hover ), k-try-shade( $color, 25% ))
142
+ k-color(on-#{$name}),
143
+ k-color(#{$name}-hover),
144
+ k-color(#{$name}-hover)
135
145
  );
136
146
  }
137
147
 
138
148
  &.k-selected {
139
149
  @include fill(
140
- if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-legacy( k-try-shade( $color, 25% ) )),
141
- if($kendo-enable-color-system, k-color( #{$name}-active ), k-try-shade( $color, 25% )),
142
- if($kendo-enable-color-system, k-color( #{$name}-active ), k-try-shade( $color, 25% ))
150
+ k-color(on-#{$name}),
151
+ k-color(#{$name}-active),
152
+ k-color(#{$name}-active)
143
153
  );
144
154
  }
145
155
  }
156
+
157
+ // Disabled state
158
+ &:disabled,
159
+ &.k-disabled {
160
+ color: $kendo-chip-disabled-text;
161
+ border-color: $kendo-chip-disabled-text;
162
+ }
146
163
  }
147
164
  }
148
165
 
@@ -13,6 +13,8 @@ $kendo-chip-sm-padding-y: null !default;
13
13
  $kendo-chip-md-padding-y: null !default;
14
14
  $kendo-chip-lg-padding-y: null !default;
15
15
 
16
+ $kendo-chip-font-weight: null !default;
17
+
16
18
  $kendo-chip-font-size: null !default;
17
19
  $kendo-chip-sm-font-size: null !default;
18
20
  $kendo-chip-md-font-size: null !default;
@@ -58,6 +60,10 @@ $kendo-chip-outline-hover-text: null !default;
58
60
  $kendo-chip-outline-selected-bg: null !default;
59
61
  $kendo-chip-outline-selected-text: null !default;
60
62
 
63
+ $kendo-chip-disabled-bg: null !default;
64
+ $kendo-chip-disabled-text: null !default;
65
+ $kendo-chip-disabled-border: null !default;
66
+
61
67
  // Chip List
62
68
 
63
69
  $kendo-chip-list-sizes: null !default;
@@ -46,6 +46,7 @@
46
46
 
47
47
  .k-hsv-gradient {
48
48
  @include border-radius( $kendo-color-gradient-canvas-border-radius );
49
+ aspect-ratio: 1;
49
50
  height: $kendo-color-gradient-canvas-rectangle-height;
50
51
  }
51
52
 
@@ -133,8 +134,6 @@
133
134
  @each $size, $size-props in $kendo-color-gradient-sizes {
134
135
  $_width: map.get( $size-props, width );
135
136
  $_gap: map.get( $size-props, gap );
136
- $_vertical-slider-height: map.get( $size-props, vertical-slider-height );
137
- $_rectangle-height: map.get( $size-props, rectangle-height );
138
137
  $_input-width: map.get( $size-props, input-width );
139
138
  $_canvas-gap: map.get( $size-props, canvas-gap );
140
139
  $_padding-x: map.get( $size-props, padding-x );
@@ -155,14 +154,6 @@
155
154
  .k-colorgradient-canvas {
156
155
  gap: $_canvas-gap;
157
156
 
158
- .k-hsv-gradient {
159
- height: $_rectangle-height;
160
- }
161
-
162
- .k-slider-vertical {
163
- height: $_vertical-slider-height;
164
- }
165
-
166
157
  .k-hsv-controls {
167
158
  gap: $_canvas-gap;
168
159
  }
@@ -36,9 +36,6 @@ $kendo-color-gradient-focus-shadow: null !default;
36
36
  $kendo-color-gradient-canvas-border-radius: null !default;
37
37
  $kendo-color-gradient-canvas-gap: null !default;
38
38
  $kendo-color-gradient-canvas-rectangle-height: null !default;
39
- $kendo-color-gradient-sm-canvas-rectangle-height: null !default;
40
- $kendo-color-gradient-md-canvas-rectangle-height: null !default;
41
- $kendo-color-gradient-lg-canvas-rectangle-height: null !default;
42
39
 
43
40
  $kendo-color-gradient-sm-canvas-gap: null !default;
44
41
  $kendo-color-gradient-md-canvas-gap: null !default;
@@ -51,9 +48,6 @@ $kendo-color-gradient-slider-draghandle-border-width: null !default;
51
48
  $kendo-color-gradient-slider-vertical-size: null !default;
52
49
  $kendo-color-gradient-slider-horizontal-size: null !default;
53
50
  $kendo-color-gradient-slider-alpha-bgr: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAuSURBVHgBxYyxDQAwDMJIL+YT+DjtzFRliUfLcklqBCRT4eCTxbD6kdL2/LgYXqpvCbs3kBv/AAAAAElFTkSuQmCC" !default;
54
- $kendo-color-gradient-sm-slider-vertical-size: null !default;
55
- $kendo-color-gradient-md-slider-vertical-size: null !default;
56
- $kendo-color-gradient-lg-slider-vertical-size: null !default;
57
51
 
58
52
  $kendo-color-gradient-draghandle-width: null !default;
59
53
  $kendo-color-gradient-draghandle-height: null !default;
@@ -7,7 +7,6 @@
7
7
  @use "../../border-radii/index.import.scss" as *;
8
8
  @use "../../mixins/index.import.scss" as *;
9
9
  @use "../../functions/index.import.scss" as *;
10
- @use "../../color-system/_swatch-legacy.scss" as *;
11
10
  @use "../../_variables.scss" as *;
12
11
  @use "./variables.scss" as *;
13
12
  @use "../tooltip/_variables.scss" as *;
@@ -415,13 +414,13 @@
415
414
  // export variables to allow use in scripts
416
415
  // TODO: remove in favor of $_css-vars once all suites are updated
417
416
  $exported: (
418
- primary: $kendo-color-primary,
419
- primary-contrast: $kendo-color-primary-contrast,
420
- base: $kendo-base-bg,
417
+ primary: k-color(primary),
418
+ primary-contrast: k-color(on-primary),
419
+ base: k-color(surface),
421
420
  background: $kendo-chart-bg,
422
421
 
423
- normal-background: $kendo-base-bg,
424
- normal-text-color: $kendo-base-text,
422
+ normal-background: k-color(surface),
423
+ normal-text-color: k-color(on-app-surface),
425
424
 
426
425
  series-a: $kendo-series-a,
427
426
  series-b: $kendo-series-b,
@@ -461,8 +460,8 @@
461
460
  series-29: $kendo-series-29,
462
461
  series-30: $kendo-series-30,
463
462
 
464
- gauge-pointer: $kendo-color-primary,
465
- gauge-track: if($kendo-enable-color-system, k-color( base-emphasis ), k-try-shade( $kendo-chart-bg )),
463
+ gauge-pointer: k-color(primary),
464
+ gauge-track: k-color(base-emphasis),
466
465
 
467
466
  chart-font-size: $kendo-chart-font-size,
468
467
  chart-title-font-size: $kendo-chart-title-font-size,
@@ -504,8 +503,8 @@
504
503
  }
505
504
 
506
505
  $_css-vars: (
507
- chart-primary-bg: $kendo-color-primary,
508
- chart-primary-contrast: $kendo-color-primary-contrast,
506
+ chart-primary-bg: k-color(primary),
507
+ chart-primary-contrast: k-color(on-primary),
509
508
  chart-bg: $kendo-chart-bg,
510
509
  chart-text: $kendo-chart-text,
511
510
 
@@ -558,8 +557,8 @@
558
557
  chart-series-29: $kendo-series-29,
559
558
  chart-series-30: $kendo-series-30,
560
559
 
561
- chart-gauge-pointer: $kendo-color-primary,
562
- chart-gauge-track: if($kendo-enable-color-system, k-color( base-emphasis ), k-try-shade( $kendo-chart-bg ))
560
+ chart-gauge-pointer: k-color(primary),
561
+ chart-gauge-track: k-color(base-emphasis)
563
562
 
564
563
  );
565
564