@progress/kendo-theme-default 7.1.0-dev.8 → 7.1.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 (85) hide show
  1. package/dist/all.css +74 -31
  2. package/dist/all.scss +1489 -594
  3. package/dist/meta/sassdoc-data.json +1450 -1504
  4. package/dist/meta/sassdoc-raw-data.json +683 -708
  5. package/dist/meta/variables.json +216 -160
  6. package/lib/swatches/default-blue.json +1 -1
  7. package/lib/swatches/default-dataviz-v4.json +1 -1
  8. package/lib/swatches/default-green.json +1 -1
  9. package/lib/swatches/default-main-dark.json +1 -1
  10. package/lib/swatches/default-main.json +1 -1
  11. package/lib/swatches/default-nordic.json +1 -1
  12. package/lib/swatches/default-ocean-blue-a11y.json +1 -1
  13. package/lib/swatches/default-ocean-blue.json +1 -1
  14. package/lib/swatches/default-orange.json +1 -1
  15. package/lib/swatches/default-purple.json +1 -1
  16. package/lib/swatches/default-turquoise.json +1 -1
  17. package/lib/swatches/default-urban.json +1 -1
  18. package/package.json +4 -4
  19. package/scss/_variables.scss +1 -222
  20. package/scss/adaptive/_variables.scss +1 -1
  21. package/scss/appbar/_theme.scss +1 -1
  22. package/scss/appbar/_variables.scss +2 -2
  23. package/scss/avatar/_theme.scss +1 -1
  24. package/scss/badge/_theme.scss +1 -1
  25. package/scss/bottom-navigation/_theme.scss +5 -5
  26. package/scss/button/_theme.scss +74 -30
  27. package/scss/button/_variables.scss +10 -10
  28. package/scss/calendar/_theme.scss +1 -1
  29. package/scss/card/_layout.scss +4 -0
  30. package/scss/card/_theme.scss +3 -3
  31. package/scss/chat/_variables.scss +1 -1
  32. package/scss/checkbox/_variables.scss +2 -2
  33. package/scss/chip/_theme.scss +24 -22
  34. package/scss/chip/_variables.scss +5 -5
  35. package/scss/core/_index.scss +6 -0
  36. package/scss/core/color-system/_palettes.scss +256 -0
  37. package/scss/core/color-system/_swatch-legacy.scss +62 -0
  38. package/scss/core/color-system/_swatch.scss +397 -0
  39. package/scss/dataviz/_layout.scss +2 -2
  40. package/scss/dataviz/_variables.scss +42 -42
  41. package/scss/dialog/_theme.scss +1 -1
  42. package/scss/dock-manager/_variables.scss +1 -1
  43. package/scss/dropzone/_variables.scss +1 -1
  44. package/scss/editor/_variables.scss +1 -1
  45. package/scss/fab/_theme.scss +15 -15
  46. package/scss/filemanager/_layout.scss +5 -0
  47. package/scss/filemanager/_variables.scss +2 -2
  48. package/scss/floating-label/_layout.scss +11 -11
  49. package/scss/forms/_variables.scss +1 -1
  50. package/scss/gantt/_layout.scss +13 -5
  51. package/scss/gantt/_variables.scss +10 -10
  52. package/scss/grid/_layout.scss +10 -0
  53. package/scss/grid/_theme.scss +54 -6
  54. package/scss/grid/_variables.scss +10 -7
  55. package/scss/input/_layout.scss +7 -2
  56. package/scss/input/_variables.scss +8 -8
  57. package/scss/list/_theme.scss +1 -1
  58. package/scss/listview/_variables.scss +1 -1
  59. package/scss/map/_variables.scss +1 -1
  60. package/scss/mediaplayer/_theme.scss +1 -1
  61. package/scss/mediaplayer/_variables.scss +1 -1
  62. package/scss/messagebox/_theme.scss +13 -5
  63. package/scss/notification/_variables.scss +1 -1
  64. package/scss/panelbar/_variables.scss +4 -4
  65. package/scss/pivotgrid/_variables.scss +5 -5
  66. package/scss/progressbar/_theme.scss +1 -1
  67. package/scss/progressbar/_variables.scss +3 -3
  68. package/scss/scheduler/_theme.scss +3 -3
  69. package/scss/scheduler/_variables.scss +4 -4
  70. package/scss/signature/_variables.scss +1 -1
  71. package/scss/skeleton/_variables.scss +2 -5
  72. package/scss/slider/_variables.scss +6 -6
  73. package/scss/splitter/_variables.scss +1 -1
  74. package/scss/spreadsheet/_variables.scss +4 -4
  75. package/scss/stepper/_layout.scss +11 -0
  76. package/scss/stepper/_theme.scss +51 -15
  77. package/scss/stepper/_variables.scss +8 -8
  78. package/scss/switch/_theme.scss +2 -2
  79. package/scss/switch/_variables.scss +4 -4
  80. package/scss/table/_variables.scss +3 -4
  81. package/scss/taskboard/_variables.scss +7 -7
  82. package/scss/timeline/_variables.scss +4 -4
  83. package/scss/tooltip/_variables.scss +4 -4
  84. package/scss/window/_theme.scss +1 -1
  85. package/scss/core/color-system/index.import.scss +0 -1
@@ -1,8 +1,5 @@
1
1
  @import "./core/functions/index.import.scss";
2
2
 
3
- $kendo-color-white: #ffffff; // stylelint-disable-line scss/dollar-variable-default
4
- $kendo-color-black: #000000; // stylelint-disable-line scss/dollar-variable-default
5
-
6
3
  // Options
7
4
  $kendo-enable-rounded: true !default;
8
5
  $kendo-enable-shadows: true !default;
@@ -141,102 +138,7 @@ $kendo-zindex-loading: 100 !default;
141
138
  // Color settings
142
139
  $kendo-is-dark-theme: false !default;
143
140
 
144
- // Theme colors
145
- /// The color that focuses the user attention.
146
- /// Used for primary buttons and for elements of primary importance across the theme.
147
- /// @group color-system
148
- /// @type Color
149
- $kendo-color-primary: #ff6358 !default;
150
- $kendo-color-primary-lighter: k-color-tint( $kendo-color-primary, 2 ) !default;
151
- $kendo-color-primary-darker: k-color-shade( $kendo-color-primary, 2 ) !default;
152
-
153
- /// The color used along with the primary color denoted by $kendo-color-primary.
154
- /// Used to provide contrast between the background and foreground colors.
155
- /// @group color-system
156
- /// @type Color
157
- $kendo-color-primary-contrast: k-contrast-legacy( $kendo-color-primary ) !default;
158
-
159
- /// The secondary color of the theme.
160
- /// @group color-system
161
- /// @type Color
162
- $kendo-color-secondary: #666666 !default;
163
- $kendo-color-secondary-lighter: k-color-tint( $kendo-color-secondary, 2 ) !default;
164
- $kendo-color-secondary-darker: k-color-shade( $kendo-color-secondary, 2 ) !default;
165
-
166
- /// The color used along with the secondary color denoted by $kendo-color-secondary.
167
- /// Used to provide contrast between the background and foreground colors.
168
- /// @group color-system
169
- /// @type Color
170
- $kendo-color-secondary-contrast: k-contrast-legacy( $kendo-color-secondary ) !default;
171
-
172
- /// The tertiary color of the theme.
173
- /// @group color-system
174
- /// @type Color
175
- $kendo-color-tertiary: #03a9f4 !default;
176
- $kendo-color-tertiary-lighter: k-color-tint( $kendo-color-tertiary, 2 ) !default;
177
- $kendo-color-tertiary-darker: k-color-shade( $kendo-color-tertiary, 2 ) !default;
178
-
179
- /// The color used along with the tertiary color denoted by $kendo-color-tertiary.
180
- /// Used to provide contrast between the background and foreground colors.
181
- /// @group color-system
182
- /// @type Color
183
- $kendo-color-tertiary-contrast: k-contrast-legacy( $kendo-color-tertiary ) !default;
184
-
185
- /// The color for informational messages and states.
186
- /// @group color-system
187
- /// @type Color
188
- $kendo-color-info: #0058e9 !default;
189
- $kendo-color-info-lighter: k-color-tint( $kendo-color-info, 2 ) !default;
190
- $kendo-color-info-darker: k-color-shade( $kendo-color-info, 2 ) !default;
191
-
192
- /// The color for success messages and states.
193
- /// @group color-system
194
- /// @type Color
195
- $kendo-color-success: #37b400 !default;
196
- $kendo-color-success-lighter: k-color-tint( $kendo-color-success, 2 ) !default;
197
- $kendo-color-success-darker: k-color-shade( $kendo-color-success, 2 ) !default;
198
-
199
- /// The color for warning messages and states.
200
- /// @group color-system
201
- /// @type Color
202
- $kendo-color-warning: #ffc000 !default;
203
- $kendo-color-warning-lighter: k-color-tint( $kendo-color-warning, 2 ) !default;
204
- $kendo-color-warning-darker: k-color-shade( $kendo-color-warning, 2 ) !default;
205
-
206
- /// The color for error messages and states.
207
- /// @group color-system
208
- /// @type Color
209
- $kendo-color-error: #f31700 !default;
210
- $kendo-color-error-lighter: k-color-tint( $kendo-color-error, 2 ) !default;
211
- $kendo-color-error-darker: k-color-shade( $kendo-color-error, 2 ) !default;
212
-
213
- /// The dark color of the theme.
214
- /// @group color-system
215
- /// @type Color
216
- $kendo-color-dark: #424242 !default;
217
-
218
- /// The light color of the theme.
219
- /// @group color-system
220
- /// @type Color
221
- $kendo-color-light: #ebebeb !default;
222
-
223
- /// Inverse color of the theme. Depending on the theme luminance dark or light, it will be light or dark
224
- /// @group color-system
225
- $kendo-color-inverse: if( $kendo-is-dark-theme, $kendo-color-light, $kendo-color-dark ) !default;
226
-
227
-
228
- $kendo-theme-colors: (
229
- "primary": $kendo-color-primary,
230
- "secondary": $kendo-color-secondary,
231
- "tertiary": $kendo-color-tertiary,
232
- "info": $kendo-color-info,
233
- "success": $kendo-color-success,
234
- "warning": $kendo-color-warning,
235
- "error": $kendo-color-error,
236
- "dark": $kendo-color-dark,
237
- "light": $kendo-color-light,
238
- "inverse": $kendo-color-inverse
239
- ) !default;
141
+
240
142
 
241
143
 
242
144
  // Typography
@@ -318,85 +220,6 @@ $kendo-font-weight-bold: 700 !default;
318
220
  $kendo-letter-spacing: null !default;
319
221
 
320
222
 
321
- // Generic styles
322
-
323
- /// Background color of the body.
324
- /// @group common
325
- $kendo-body-bg: $kendo-color-white !default;
326
- /// Text color of the body.
327
- /// @group common
328
- $kendo-body-text: #424242 !default;
329
-
330
- /// Subtle text color.
331
- /// @group common
332
- $kendo-subtle-text: #666666 !default;
333
-
334
- $kendo-app-bg: k-try-shade( $kendo-body-bg, .25 ) !default;
335
- $kendo-app-text: $kendo-body-text !default;
336
- $kendo-app-border: rgba( $kendo-color-black, .08 ) !default;
337
-
338
- // Link
339
- /// Text color of the links.
340
- /// @group common
341
- $kendo-link-text: $kendo-color-primary !default;
342
- /// Text color of the links on hover.
343
- /// @group common
344
- $kendo-link-hover-text: $kendo-color-primary-darker !default;
345
-
346
-
347
- // Components
348
-
349
- // Component
350
- /// Background color of a component.
351
- /// Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$kendo-grid-bg: $kendo-component-bg !default;`.
352
- /// @group component
353
- $kendo-component-bg: $kendo-body-bg !default;
354
- /// Text color of a component.
355
- /// Note: do not use this variable directly. Instead derive it as `$component-name-text` e.g. `$kendo-grid-text: $kendo-component-text !default;`.
356
- /// @group component
357
- $kendo-component-text: $kendo-body-text !default;
358
- /// Border color of a component.
359
- /// Note: do not use this variable directly. Instead derive it as `$component-name-border` e.g. `$kendo-grid-border: $kendo-component-border !default;`.
360
- /// @group component
361
- $kendo-component-border: rgba( if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black ), .08 ) !default;
362
-
363
-
364
- /// The background of the components' chrome area.
365
- $kendo-base-bg: #fafafa !default;
366
- /// The text color of the components' chrome area.
367
- $kendo-base-text: $kendo-body-text !default;
368
- /// The border color of the components' chrome area.
369
- $kendo-base-border: rgba( black, .08 ) !default;
370
- /// The gradient background of the components' chrome area.
371
- $kendo-base-gradient: rgba( black, 0 ), rgba( black, .02 ) !default;
372
-
373
- /// The background of hovered items.
374
- $kendo-hover-bg: k-try-shade( $kendo-base-bg, .5 ) !default;
375
- /// The text color of hovered items.
376
- $kendo-hover-text: $kendo-base-text !default;
377
- /// The border color of hovered items.
378
- $kendo-hover-border: $kendo-base-border !default;
379
- /// The gradient background of hovered items.
380
- $kendo-hover-gradient: $kendo-base-gradient !default;
381
-
382
- /// The background of selected items.
383
- $kendo-selected-bg: $kendo-color-primary !default;
384
- /// The text color of selected items.
385
- $kendo-selected-text: k-contrast-legacy( $kendo-selected-bg ) !default;
386
- /// The border color of selected items.
387
- $kendo-selected-border: $kendo-base-border !default;
388
- /// The gradient background of selected items.
389
- $kendo-selected-gradient: $kendo-base-gradient !default;
390
-
391
- /// The background of selected and hovered items.
392
- $kendo-selected-hover-bg: k-try-shade( $kendo-selected-bg, .5 ) !default;
393
- /// The text color of selected and hovered items.
394
- $kendo-selected-hover-text: $kendo-selected-text !default;
395
- /// The border of selected and hovered items.
396
- $kendo-selected-hover-border: $kendo-base-border !default;
397
- /// The gradient of selected and hovered items.
398
- $kendo-selected-hover-gradient: $kendo-base-gradient !default;
399
-
400
223
  // TODO: refactor
401
224
  /// Box shadow of focused items.
402
225
  $kendo-focus-shadow: inset 0 0 0 2px rgba(0, 0, 0, .13) !default;
@@ -405,8 +228,6 @@ $kendo-focus-shadow: inset 0 0 0 2px rgba(0, 0, 0, .13) !default;
405
228
  $kendo-transition: color .2s ease-in-out, background-color .2s ease-in-out, border-color .2s ease-in-out, box-shadow .2s ease-in-out !default;
406
229
 
407
230
 
408
- /// Text color of disabled items.
409
- $kendo-disabled-text: #8f8f8f !default;
410
231
  /// Filter used for disabled items.
411
232
  $kendo-disabled-filter: grayscale(.1) !default;
412
233
  /// Opacity used for disabled items.
@@ -418,48 +239,6 @@ $kendo-disabled-styling: (
418
239
  ) !default;
419
240
 
420
241
 
421
- // Generic styles
422
-
423
- /// Background color of the component header.
424
- /// @group component
425
- $kendo-component-header-bg: $kendo-base-bg !default;
426
- /// Text color of the component header.
427
- /// @group component
428
- $kendo-component-header-text: $kendo-base-text !default;
429
- /// Border color of the component header.
430
- /// @group component
431
- $kendo-component-header-border: $kendo-base-border !default;
432
- /// Gradient of the component header.
433
- /// @group component
434
- $kendo-component-header-gradient: null !default;
435
-
436
-
437
- /// Background color of the invalid items.
438
- /// @group component
439
- $kendo-invalid-bg: null !default;
440
- /// Text color of the invalid items.
441
- /// @group component
442
- $kendo-invalid-text: $kendo-color-error !default;
443
- /// Border color of the invalid items.
444
- /// @group component
445
- $kendo-invalid-border: $kendo-color-error !default;
446
- /// Shadow of the invalid items.
447
- /// @group component
448
- $kendo-invalid-shadow: null !default;
449
-
450
- /// Background color of the valid items.
451
- /// @group component
452
- $kendo-valid-bg: null !default;
453
- /// Text color of the valid items.
454
- /// @group component
455
- $kendo-valid-text: $kendo-color-success !default;
456
- /// Border color of the valid items.
457
- /// @group component
458
- $kendo-valid-border: $kendo-color-success !default;
459
- /// Shadow of the valid items.
460
- /// @group component
461
- $kendo-valid-shadow: null !default;
462
-
463
242
  // Loading
464
243
  $kendo-loading-opacity: .3 !default;
465
244
  $kendo-zindex-loading: 100 !default;
@@ -7,7 +7,7 @@ $kendo-adaptive-content-bg: $kendo-app-bg !default;
7
7
  $kendo-adaptive-content-text: $kendo-app-text !default;
8
8
 
9
9
  $kendo-adaptive-menu-bg: $kendo-color-primary !default;
10
- $kendo-adaptive-menu-text: k-contrast-legacy( $kendo-adaptive-menu-bg ) !default;
10
+ $kendo-adaptive-menu-text: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-legacy( $kendo-adaptive-menu-bg )) !default;
11
11
 
12
12
  $kendo-adaptive-menu-clear-text: $kendo-color-primary !default;
13
13
 
@@ -18,7 +18,7 @@
18
18
  color: $kendo-appbar-dark-text;
19
19
  background-color: $kendo-appbar-dark-bg;
20
20
  } @else {
21
- color: k-contrast-legacy( $color );
21
+ color: if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-legacy( $color ));
22
22
  background-color: $color;
23
23
  }
24
24
  }
@@ -37,14 +37,14 @@ $kendo-appbar-gap: k-map-get( $kendo-spacing, 2 ) !default;
37
37
  $kendo-appbar-light-bg: $kendo-color-light !default;
38
38
  /// The text color of the AppBar based on light theme color.
39
39
  /// @group appbar
40
- $kendo-appbar-light-text: k-contrast-legacy( $kendo-color-light ) !default;
40
+ $kendo-appbar-light-text: if($kendo-enable-color-system, k-color( on-light ), k-contrast-legacy( $kendo-color-light )) !default;
41
41
 
42
42
  /// The background color of the AppBar based on dark theme color.
43
43
  /// @group appbar
44
44
  $kendo-appbar-dark-bg: $kendo-color-dark !default;
45
45
  /// The text color of the AppBar based on dark theme color.
46
46
  /// @group appbar
47
- $kendo-appbar-dark-text: k-contrast-legacy( $kendo-color-dark ) !default;
47
+ $kendo-appbar-dark-text: if($kendo-enable-color-system, k-color( on-dark ), k-contrast-legacy( $kendo-color-dark )) !default;
48
48
 
49
49
  /// The box shadow of the AppBar.
50
50
  /// @group appbar
@@ -4,7 +4,7 @@
4
4
  @each $name, $color in $kendo-avatar-theme-colors {
5
5
  .k-avatar-solid-#{$name} {
6
6
  border-color: $color;
7
- color: k-contrast-legacy( $color );
7
+ color: if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-legacy( $color ));
8
8
  background-color: $color;
9
9
  }
10
10
  }
@@ -4,7 +4,7 @@
4
4
  @each $name, $color in $kendo-theme-colors {
5
5
  .k-badge-solid-#{$name} {
6
6
  border-color: $color;
7
- color: k-contrast-legacy( $color );
7
+ color: if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-legacy( $color ));
8
8
  background-color: $color;
9
9
  }
10
10
  }
@@ -4,17 +4,17 @@
4
4
  @each $name, $color in $kendo-theme-colors {
5
5
  .k-bottom-nav-solid-#{$name} {
6
6
  @include fill(
7
- $color: k-true-mix( $color, k-contrast-legacy( $color ), 35%),
7
+ $color: if($kendo-enable-color-system, rgba( k-color( on-#{$name}, true ), .65 ), k-true-mix( $color, k-contrast-legacy( $color ), 35%)),
8
8
  $bg: $color
9
9
  );
10
10
 
11
11
  .k-bottom-nav-item.k-focus,
12
12
  .k-bottom-nav-item:focus {
13
- @include fill( $bg: rgba(k-true-mix( $color, k-contrast-legacy( $color ), 35%), .2));
13
+ @include fill( $bg: if($kendo-enable-color-system, rgba( k-color( on-#{$name}, true ), .125 ), rgba(k-true-mix( $color, k-contrast-legacy( $color ), 35%), .2)));
14
14
  }
15
15
 
16
16
  .k-bottom-nav-item.k-selected {
17
- @include fill( $color: k-contrast-legacy( $color ) );
17
+ @include fill( $color: if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-legacy( $color )) );
18
18
  }
19
19
  }
20
20
  // TODO: remove when suites update class names
@@ -34,12 +34,12 @@
34
34
 
35
35
  .k-bottom-nav-item.k-focus,
36
36
  .k-bottom-nav-item:focus {
37
- @include fill( $bg: rgba($kendo-bottom-nav-flat-text, .05) );
37
+ @include fill( $bg: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .05), rgba($kendo-bottom-nav-flat-text, .05)) );
38
38
  }
39
39
 
40
40
  .k-bottom-nav-item.k-selected {
41
41
  @if $name == "secondary" or $name == "light" {
42
- @include fill( $color: k-try-shade($color, 3) );
42
+ @include fill( $color: if($kendo-enable-color-system, k-color( #{$name} ), k-try-shade($color, 3)) );
43
43
  } @else {
44
44
  @include fill( $color: $color );
45
45
  }
@@ -68,17 +68,17 @@
68
68
 
69
69
  @each $name, $color in $kendo-button-theme-colors {
70
70
  @if ($name != "base") {
71
- $_button-text: k-contrast-legacy( $color );
72
- $_button-bg: if( $kendo-solid-button-shade-bg-amount, k-meta-call( $_shade-fn, $color, $kendo-solid-button-shade-bg-amount ), null );
73
- $_button-border: if( $kendo-solid-button-shade-border-amount, k-meta-call( $_shade-fn, $color, $kendo-solid-button-shade-border-amount ), null );
71
+ $_button-text: if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-legacy( $color ));
72
+ $_button-bg: if($kendo-enable-color-system, k-color( $name ), if( $kendo-solid-button-shade-bg-amount, k-meta-call( $_shade-fn, $color, $kendo-solid-button-shade-bg-amount ), null ));
73
+ $_button-border: if($kendo-enable-color-system, k-color( $name ), if( $kendo-solid-button-shade-border-amount, k-meta-call( $_shade-fn, $color, $kendo-solid-button-shade-border-amount ), null ));
74
74
 
75
75
  $_button-hover-text: null;
76
- $_button-hover-bg: if( $kendo-solid-button-hover-shade-bg-amount, k-meta-call( $_shade-fn, $color, $kendo-solid-button-hover-shade-bg-amount ), null );
77
- $_button-hover-border: if( $kendo-solid-button-hover-shade-border-amount, k-meta-call( $_shade-fn, $color, $kendo-solid-button-hover-shade-border-amount ), null );
76
+ $_button-hover-bg: if($kendo-enable-color-system, k-color( #{$name}-hover ), if( $kendo-solid-button-hover-shade-bg-amount, k-meta-call( $_shade-fn, $color, $kendo-solid-button-hover-shade-bg-amount ), null ));
77
+ $_button-hover-border: if($kendo-enable-color-system, k-color( #{$name}-hover ), if( $kendo-solid-button-hover-shade-border-amount, k-meta-call( $_shade-fn, $color, $kendo-solid-button-hover-shade-border-amount ), null ));
78
78
 
79
79
  $_button-active-text: null;
80
- $_button-active-bg: if( $kendo-solid-button-active-shade-bg-amount, k-meta-call( $_shade-fn, $color, $kendo-solid-button-active-shade-bg-amount ), null );
81
- $_button-active-border: if( $kendo-solid-button-active-shade-border-amount, k-meta-call( $_shade-fn, $color, $kendo-solid-button-active-shade-border-amount ), null );
80
+ $_button-active-bg: if($kendo-enable-color-system, k-color( #{$name}-active ), if( $kendo-solid-button-active-shade-bg-amount, k-meta-call( $_shade-fn, $color, $kendo-solid-button-active-shade-bg-amount ), null ));
81
+ $_button-active-border: if($kendo-enable-color-system, k-color( #{$name}-active ), if( $kendo-solid-button-active-shade-border-amount, k-meta-call( $_shade-fn, $color, $kendo-solid-button-active-shade-border-amount ), null ));
82
82
 
83
83
  .k-button-solid-#{$name} {
84
84
  @include fill(
@@ -102,7 +102,7 @@
102
102
  &:focus,
103
103
  &.k-focus {
104
104
  @if ( $kendo-solid-button-shadow ) {
105
- @include focus-indicator( 0 0 $kendo-solid-button-shadow-blur $kendo-solid-button-shadow-spread rgba( $_button-border, $kendo-solid-button-shadow-opacity ), true, true );
105
+ @include focus-indicator( 0 0 $kendo-solid-button-shadow-blur $kendo-solid-button-shadow-spread if($kendo-enable-color-system, rgba( k-color( $name, true ), $kendo-solid-button-shadow-opacity ), rgba( $_button-border, $kendo-solid-button-shadow-opacity )), true, true );
106
106
  }
107
107
  }
108
108
 
@@ -146,44 +146,72 @@
146
146
  .k-button-outline-#{$name} {
147
147
  @include box-shadow( none );
148
148
  border-color: currentColor;
149
- color: $color;
149
+ color: if($kendo-enable-color-system, k-color( #{$name}-on-surface ), $color);
150
150
  background-color: transparent;
151
151
 
152
152
  // Hover state
153
153
  &:hover,
154
154
  &.k-hover {
155
- @include fill(
156
- k-contrast-legacy( $color ),
157
- $color,
158
- $color
159
- );
155
+ @if $name == "base" {
156
+ @include fill(
157
+ if($kendo-enable-color-system, $kendo-base-bg, k-contrast-legacy( $color )),
158
+ $color,
159
+ $color
160
+ );
161
+ } @else {
162
+ @include fill(
163
+ if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-legacy( $color )),
164
+ $color,
165
+ $color
166
+ );
167
+ }
160
168
  }
161
169
 
162
170
  // Focus state
163
171
  &:focus,
164
172
  &.k-focus {
165
173
  @if $kendo-outline-button-shadow {
166
- @include focus-indicator( 0 0 $kendo-outline-button-shadow-blur $kendo-outline-button-shadow-spread rgba( $color, $kendo-outline-button-shadow-opacity ), true, true );
174
+ @if $name == "base" {
175
+ @include focus-indicator( 0 0 $kendo-outline-button-shadow-blur $kendo-outline-button-shadow-spread if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), $kendo-outline-button-shadow-opacity ), rgba( $color, $kendo-outline-button-shadow-opacity )), true, true );
176
+ } @else {
177
+ @include focus-indicator( 0 0 $kendo-outline-button-shadow-blur $kendo-outline-button-shadow-spread if($kendo-enable-color-system, rgba( k-color( $name, true ), $kendo-outline-button-shadow-opacity ), rgba( $color, $kendo-outline-button-shadow-opacity )), true, true );
178
+ }
167
179
  }
168
180
  }
169
181
 
170
182
  // Active state
171
183
  &:active,
172
184
  &.k-active {
173
- @include fill(
174
- k-contrast-legacy( $color ),
175
- $color,
176
- $color
177
- );
185
+ @if $name == "base" {
186
+ @include fill(
187
+ if($kendo-enable-color-system, $kendo-base-bg, k-contrast-legacy( $color )),
188
+ $color,
189
+ $color
190
+ );
191
+ } @else {
192
+ @include fill(
193
+ if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-legacy( $color )),
194
+ $color,
195
+ $color
196
+ );
197
+ }
178
198
  }
179
199
 
180
200
  // Selected
181
201
  &.k-selected {
182
- @include fill(
183
- k-contrast-legacy( $color ),
184
- $color,
185
- $color
186
- );
202
+ @if $name == "base" {
203
+ @include fill(
204
+ if($kendo-enable-color-system, $kendo-base-bg, k-contrast-legacy( $color )),
205
+ $color,
206
+ $color
207
+ );
208
+ } @else {
209
+ @include fill(
210
+ if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-legacy( $color )),
211
+ $color,
212
+ $color
213
+ );
214
+ }
187
215
  }
188
216
 
189
217
  // Disabled state
@@ -217,26 +245,42 @@
217
245
  // Hover
218
246
  &:hover,
219
247
  &.k-hover {
220
- color: k-try-shade( $color, 2 );
248
+ @if $name == "base" {
249
+ color: if($kendo-enable-color-system, $kendo-base-text, k-try-shade( $color, 2 ));
250
+ } @else {
251
+ color: if($kendo-enable-color-system, k-color( #{$name}-hover ), k-try-shade( $color, 2 ));
252
+ }
221
253
  }
222
254
 
223
255
  // Focus
224
256
  &:focus,
225
257
  &.k-focus {
226
258
  @if ( $kendo-link-button-shadow ) {
227
- @include focus-indicator( 0 0 $kendo-link-button-shadow-blur $kendo-link-button-shadow-spread rgba( $color, $kendo-link-button-shadow-opacity ), true, true );
259
+ @if $name == "base" {
260
+ @include focus-indicator( 0 0 $kendo-link-button-shadow-blur $kendo-link-button-shadow-spread if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), $kendo-link-button-shadow-opacity ), rgba( $color, $kendo-link-button-shadow-opacity )), true, true );
261
+ } @else {
262
+ @include focus-indicator( 0 0 $kendo-link-button-shadow-blur $kendo-link-button-shadow-spread if($kendo-enable-color-system, rgba( k-color( $name, true ), $kendo-link-button-shadow-opacity ), rgba( $color, $kendo-link-button-shadow-opacity )), true, true );
263
+ }
228
264
  }
229
265
  }
230
266
 
231
267
  // Active
232
268
  &:active,
233
269
  &.k-active {
234
- color: k-try-shade( $color, 2 );
270
+ @if $name == "base" {
271
+ color: if($kendo-enable-color-system, $kendo-base-text, k-try-shade( $color, 2 ));
272
+ } @else {
273
+ color: if($kendo-enable-color-system, k-color( #{$name}-active ), k-try-shade( $color, 2 ));
274
+ }
235
275
  }
236
276
 
237
277
  // Selected
238
278
  &.k-selected {
239
- color: k-try-shade( $color, 2 );
279
+ @if $name == "base" {
280
+ color: if($kendo-enable-color-system, $kendo-base-text, k-try-shade( $color, 2 ));
281
+ } @else {
282
+ color: if($kendo-enable-color-system, k-color( #{$name}-active ), k-try-shade( $color, 2 ));
283
+ }
240
284
  }
241
285
 
242
286
  // Disabled state
@@ -281,4 +325,4 @@
281
325
 
282
326
  @mixin kendo-button--theme() {
283
327
  @include kendo-button--theme-base();
284
- }
328
+ }
@@ -105,28 +105,28 @@ $kendo-button-sizes: (
105
105
  /// @group button
106
106
  $kendo-button-theme-colors: k-map-merge(
107
107
  $kendo-theme-colors,
108
- ( "base": #f5f5f5 )
108
+ ( "base": if($kendo-enable-color-system, k-color( base ), #f5f5f5) )
109
109
  ) !default;
110
110
 
111
111
  /// The base background of the Button.
112
112
  /// @group button
113
- $kendo-button-bg: #f5f5f5 !default;
113
+ $kendo-button-bg: if($kendo-enable-color-system, k-color( base ), #f5f5f5) !default;
114
114
  /// The base text color of the Button.
115
115
  /// @group button
116
- $kendo-button-text: #424242 !default;
116
+ $kendo-button-text: if($kendo-enable-color-system, k-color( on-base ), #424242) !default;
117
117
  /// The base border color of the Button.
118
118
  /// @group button
119
- $kendo-button-border: rgba( black, .08 ) !default;
119
+ $kendo-button-border: if($kendo-enable-color-system, k-color( border ), rgba( black, .08 )) !default;
120
120
  /// The base background gradient of the Button.
121
121
  /// @group button
122
- $kendo-button-gradient: rgba( black, 0 ), rgba( black, .02 ) !default;
122
+ $kendo-button-gradient: if($kendo-enable-color-system, null, (rgba( black, 0 ), rgba( black, .02 ))) !default;
123
123
  /// The base shadow of the Button.
124
124
  /// @group button
125
125
  $kendo-button-shadow: null !default;
126
126
 
127
127
  /// The base background of the hovered Button.
128
128
  /// @group button
129
- $kendo-button-hover-bg: k-try-shade( $kendo-button-bg, .5 ) !default;
129
+ $kendo-button-hover-bg: if($kendo-enable-color-system, k-color( base-hover ), k-try-shade( $kendo-button-bg, .5 )) !default;
130
130
  /// The base text color of the hovered Button.
131
131
  /// @group button
132
132
  $kendo-button-hover-text: null !default;
@@ -142,7 +142,7 @@ $kendo-button-hover-shadow: null !default;
142
142
 
143
143
  /// The base background color of the active Button.
144
144
  /// @group button
145
- $kendo-button-active-bg: k-try-shade( $kendo-button-bg, 1.5 ) !default;
145
+ $kendo-button-active-bg: if($kendo-enable-color-system, k-color( base-active ), k-try-shade( $kendo-button-bg, 1.5 )) !default;
146
146
  /// The base text color of the active Button.
147
147
  /// @group button
148
148
  $kendo-button-active-text: null !default;
@@ -161,7 +161,7 @@ $kendo-button-active-shadow: null !default;
161
161
  $kendo-button-selected-bg: $kendo-color-primary !default;
162
162
  /// The text color of the selected Button.
163
163
  /// @group button
164
- $kendo-button-selected-text: k-contrast-legacy( $kendo-button-selected-bg ) !default;
164
+ $kendo-button-selected-text: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-legacy( $kendo-button-selected-bg )) !default;
165
165
  /// The border color of the selected Button.
166
166
  /// @group button
167
167
  $kendo-button-selected-border: $kendo-button-selected-bg !default;
@@ -186,7 +186,7 @@ $kendo-button-focus-border: null !default;
186
186
  $kendo-button-focus-gradient: null !default;
187
187
  /// The base shadow of the focused Button.
188
188
  /// @group button
189
- $kendo-button-focus-shadow: 0 0 0 2px rgba( $kendo-button-border, .08 ) !default;
189
+ $kendo-button-focus-shadow: 0 0 0 2px if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .08), rgba( $kendo-button-border, .08 )) !default;
190
190
 
191
191
  /// The base background of the disabled Button.
192
192
  /// @group button
@@ -205,7 +205,7 @@ $kendo-button-disabled-gradient: null !default;
205
205
  $kendo-button-disabled-shadow: null !default;
206
206
 
207
207
  // Solid Button
208
- $kendo-solid-button-gradient: rgba( black, 0 ), rgba( black, .02 ) !default;
208
+ $kendo-solid-button-gradient: if($kendo-enable-color-system, null, (rgba( black, 0 ), rgba( black, .02 ))) !default;
209
209
  $kendo-solid-button-shade-function: "k-try-shade" !default;
210
210
  $kendo-solid-button-shade-text-amount: 0 !default;
211
211
  $kendo-solid-button-shade-bg-amount: 0 !default;
@@ -159,7 +159,7 @@
159
159
  .k-calendar { // stylelint-disable-line
160
160
 
161
161
  $kendo-calendar-range-gap: 1px !default;
162
- $kendo-calendar-range-bg: rgba( $kendo-calendar-cell-selected-bg, .25 );
162
+ $kendo-calendar-range-bg: if($kendo-enable-color-system, rgba( k-color( primary, true ), .25 ), rgba( $kendo-calendar-cell-selected-bg, .25 ));
163
163
  $kendo-calendar-range-split-size: 5px !default;
164
164
 
165
165
  .k-range-start,
@@ -191,6 +191,10 @@
191
191
  gap: $kendo-card-actions-gap;
192
192
  }
193
193
 
194
+ .k-card-horizontal .k-actions-horizontal {
195
+ width: auto;
196
+ }
197
+
194
198
  // List
195
199
  .k-card-list {
196
200
  display: flex;
@@ -64,9 +64,9 @@
64
64
  // Card theme colors
65
65
  @each $name, $color in $kendo-theme-colors {
66
66
  .k-card-#{$name} {
67
- background-color: k-color-tint($color, 10);
68
- color: k-color-shade($color, 6);
69
- border-color: k-color-tint($color, 9);
67
+ background-color: if($kendo-enable-color-system, k-color( #{$name}-subtle ), k-color-tint($color, 10));
68
+ color: if($kendo-enable-color-system, k-color( #{$name}-on-subtle ), k-color-shade($color, 6));
69
+ border-color: if($kendo-enable-color-system, k-color( #{$name}-emphasis ), k-color-tint($color, 9));
70
70
 
71
71
  .k-card-subtitle {
72
72
  color: inherit;
@@ -57,7 +57,7 @@ $kendo-chat-bubble-hover-shadow: k-elevation(2) !default;
57
57
  $kendo-chat-bubble-selected-shadow: k-elevation(3) !default;
58
58
 
59
59
  $kendo-chat-alt-bubble-bg: $kendo-color-primary !default;
60
- $kendo-chat-alt-bubble-text: k-contrast-legacy( $kendo-chat-alt-bubble-bg ) !default;
60
+ $kendo-chat-alt-bubble-text: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-legacy( $kendo-chat-alt-bubble-bg )) !default;
61
61
  $kendo-chat-alt-bubble-border: $kendo-chat-alt-bubble-bg !default;
62
62
  $kendo-chat-alt-bubble-shadow: k-elevation(1) !default;
63
63
  $kendo-chat-alt-bubble-hover-shadow: k-elevation(2) !default;