@progress/kendo-theme-material 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 (92) hide show
  1. package/dist/all.css +153 -34
  2. package/dist/all.scss +2659 -1640
  3. package/dist/meta/sassdoc-data.json +1460 -1576
  4. package/dist/meta/sassdoc-raw-data.json +723 -777
  5. package/dist/meta/variables.json +464 -400
  6. package/lib/swatches/material-aqua-dark.json +1 -1
  7. package/lib/swatches/material-arctic.json +1 -1
  8. package/lib/swatches/material-burnt-teal.json +1 -1
  9. package/lib/swatches/material-dataviz-v4.json +1 -1
  10. package/lib/swatches/material-eggplant.json +1 -1
  11. package/lib/swatches/material-lime-dark.json +1 -1
  12. package/lib/swatches/material-lime.json +1 -1
  13. package/lib/swatches/material-main-dark.json +1 -1
  14. package/lib/swatches/material-main.json +1 -1
  15. package/lib/swatches/material-nova.json +1 -1
  16. package/lib/swatches/material-pacific-dark.json +1 -1
  17. package/lib/swatches/material-pacific.json +1 -1
  18. package/lib/swatches/material-sky-dark.json +1 -1
  19. package/lib/swatches/material-sky.json +1 -1
  20. package/lib/swatches/material-smoke.json +1 -1
  21. package/package.json +5 -5
  22. package/scss/_variables.scss +0 -229
  23. package/scss/action-buttons/_theme.scss +2 -2
  24. package/scss/adaptive/_variables.scss +1 -1
  25. package/scss/appbar/_variables.scss +2 -2
  26. package/scss/bottom-navigation/_theme.scss +12 -1
  27. package/scss/breadcrumb/_variables.scss +2 -2
  28. package/scss/button/_theme.scss +3 -3
  29. package/scss/button/_variables.scss +3 -3
  30. package/scss/calendar/_theme.scss +1 -1
  31. package/scss/calendar/_variables.scss +3 -3
  32. package/scss/chat/_variables.scss +2 -2
  33. package/scss/checkbox/_theme.scss +1 -1
  34. package/scss/checkbox/_variables.scss +4 -4
  35. package/scss/chip/_theme.scss +16 -13
  36. package/scss/chip/_variables.scss +8 -8
  37. package/scss/core/_index.scss +4 -1
  38. package/scss/core/color-system/_functions.scss +101 -0
  39. package/scss/core/color-system/_palettes-legacy.scss +671 -0
  40. package/scss/core/color-system/_palettes.scss +297 -0
  41. package/scss/core/color-system/_swatch-legacy.scss +65 -0
  42. package/scss/core/color-system/_swatch.scss +426 -0
  43. package/scss/dataviz/_variables.scss +42 -42
  44. package/scss/dock-manager/_variables.scss +2 -2
  45. package/scss/draggable/_variables.scss +1 -1
  46. package/scss/dropzone/_variables.scss +2 -2
  47. package/scss/editor/_variables.scss +1 -1
  48. package/scss/fab/_theme.scss +20 -20
  49. package/scss/filemanager/_variables.scss +3 -3
  50. package/scss/gantt/_layout.scss +1 -1
  51. package/scss/gantt/_theme.scss +1 -1
  52. package/scss/gantt/_variables.scss +8 -8
  53. package/scss/grid/_theme.scss +67 -52
  54. package/scss/grid/_variables.scss +9 -6
  55. package/scss/input/_variables.scss +5 -6
  56. package/scss/list/_theme.scss +8 -0
  57. package/scss/listview/_theme.scss +1 -1
  58. package/scss/listview/_variables.scss +2 -2
  59. package/scss/map/_variables.scss +1 -1
  60. package/scss/mediaplayer/_variables.scss +1 -1
  61. package/scss/menu/_variables.scss +2 -2
  62. package/scss/notification/_variables.scss +1 -1
  63. package/scss/orgchart/_variables.scss +2 -2
  64. package/scss/pager/_variables.scss +2 -2
  65. package/scss/panelbar/_variables.scss +12 -12
  66. package/scss/pdf-viewer/_variables.scss +1 -1
  67. package/scss/pivotgrid/_variables.scss +8 -8
  68. package/scss/progressbar/_variables.scss +1 -1
  69. package/scss/radio/_theme.scss +1 -1
  70. package/scss/scheduler/_theme.scss +12 -0
  71. package/scss/scheduler/_variables.scss +7 -7
  72. package/scss/signature/_variables.scss +1 -1
  73. package/scss/skeleton/_variables.scss +1 -1
  74. package/scss/slider/_variables.scss +2 -2
  75. package/scss/splitter/_variables.scss +2 -2
  76. package/scss/spreadsheet/_variables.scss +4 -4
  77. package/scss/stepper/_variables.scss +7 -7
  78. package/scss/switch/_theme.scss +1 -1
  79. package/scss/switch/_variables.scss +3 -3
  80. package/scss/table/_layout.scss +25 -0
  81. package/scss/table/_theme.scss +31 -16
  82. package/scss/table/_variables.scss +3 -3
  83. package/scss/tabstrip/_variables.scss +1 -1
  84. package/scss/taskboard/_variables.scss +5 -4
  85. package/scss/tilelayout/_variables.scss +1 -1
  86. package/scss/timeline/_variables.scss +4 -4
  87. package/scss/toolbar/_theme.scss +2 -2
  88. package/scss/tooltip/_variables.scss +2 -2
  89. package/scss/treeview/_variables.scss +1 -1
  90. package/scss/upload/_theme.scss +1 -1
  91. package/scss/core/color-system/_color-system-material.scss +0 -801
  92. package/scss/core/color-system/index.import.scss +0 -1
@@ -23,21 +23,21 @@ $kendo-pivotgrid-bg: $kendo-component-bg !default;
23
23
  $kendo-pivotgrid-text: $kendo-component-text !default;
24
24
  $kendo-pivotgrid-border: $kendo-component-border !default;
25
25
 
26
- $kendo-pivotgrid-alt-border: k-try-shade( $kendo-pivotgrid-border, 2 ) !default;
26
+ $kendo-pivotgrid-alt-border: if($kendo-enable-color-system, k-color( border-alt ), k-try-shade( $kendo-pivotgrid-border, 2 )) !default;
27
27
 
28
- $kendo-pivotgrid-headers-bg: rgba( $kendo-component-header-bg, .02 ) !default;
28
+ $kendo-pivotgrid-headers-bg: if($kendo-enable-color-system, rgba( k-color( app-surface, true ), .02 ), rgba( $kendo-component-header-bg, .02 )) !default;
29
29
  $kendo-pivotgrid-headers-text: $kendo-component-header-text !default;
30
30
  $kendo-pivotgrid-headers-border: $kendo-component-header-border !default;
31
31
 
32
- $kendo-pivotgrid-total-bg: k-try-shade( $kendo-pivotgrid-bg, 1 ) !default;
32
+ $kendo-pivotgrid-total-bg: if($kendo-enable-color-system, k-color( base-subtle ), k-try-shade( $kendo-pivotgrid-bg, 1 )) !default;
33
33
  $kendo-pivotgrid-total-text: $kendo-component-header-text !default;
34
34
  $kendo-pivotgrid-total-border: $kendo-component-header-border !default;
35
35
 
36
- $kendo-pivotgrid-hover-bg: k-color-darken( $kendo-pivotgrid-bg, 7% ) !default;
36
+ $kendo-pivotgrid-hover-bg: if($kendo-enable-color-system, k-color( base-hover ), k-color-darken( $kendo-pivotgrid-bg, 7% )) !default;
37
37
  $kendo-pivotgrid-hover-text: null !default;
38
38
  $kendo-pivotgrid-hover-border: null !default;
39
39
 
40
- $kendo-pivotgrid-selected-bg: rgba( k-contrast-color( $kendo-pivotgrid-bg ), .04 ) !default;
40
+ $kendo-pivotgrid-selected-bg: if($kendo-enable-color-system, rgba( k-color( base-active, true ), .25 ), rgba( k-contrast-color( $kendo-pivotgrid-bg ), .04 )) !default;
41
41
  $kendo-pivotgrid-selected-text: null !default;
42
42
  $kendo-pivotgrid-selected-border: null !default;
43
43
 
@@ -106,11 +106,11 @@ $kendo-pivotgrid-chrome-border: $kendo-grid-border !default;
106
106
  $kendo-pivotgrid-container-bg: $kendo-grid-header-bg !default;
107
107
  $kendo-pivotgrid-row-headers-bg: null !default;
108
108
 
109
- $kendo-pivotgrid-button-bg: k-try-shade($kendo-button-bg, 1) !default;
109
+ $kendo-pivotgrid-button-bg: if($kendo-enable-color-system, k-color( base-subtle ), k-try-shade($kendo-button-bg, 1)) !default;
110
110
  $kendo-pivotgrid-button-text: $kendo-button-text !default;
111
- $kendo-pivotgrid-button-hover-bg: k-try-shade($kendo-button-bg, 2) !default;
111
+ $kendo-pivotgrid-button-hover-bg: if($kendo-enable-color-system, k-color( base-subtle-hover ), k-try-shade($kendo-button-bg, 2)) !default;
112
112
  $kendo-pivotgrid-button-hover-text: $kendo-button-text !default;
113
- $kendo-pivotgrid-button-active-bg: k-try-shade($kendo-button-bg, 2) !default;
113
+ $kendo-pivotgrid-button-active-bg: if($kendo-enable-color-system, k-color( base-subtle-active ), k-try-shade($kendo-button-bg, 2)) !default;
114
114
  $kendo-pivotgrid-button-active-text: $kendo-button-text !default;
115
115
 
116
116
  $kendo-pivotgrid-remove-bg: $kendo-pivotgrid-button-text !default;
@@ -24,7 +24,7 @@ $kendo-progressbar-line-height: 1 !default;
24
24
 
25
25
  /// The background color of the ProgressBar.
26
26
  /// @group progressbar
27
- $kendo-progressbar-bg: k-try-tint( $kendo-color-primary, 8 ) !default;
27
+ $kendo-progressbar-bg: if($kendo-enable-color-system, k-color( primary-subtle ), k-try-tint( $kendo-color-primary, 8 )) !default;
28
28
  /// The text color of the ProgressBar.
29
29
  /// @group progressbar
30
30
  $kendo-progressbar-text: $kendo-component-text !default;
@@ -10,7 +10,7 @@
10
10
 
11
11
  // Disabled state
12
12
  .k-radio:disabled + & {
13
- color: if( $kendo-is-dark-theme, $light-secondary-text, $dark-secondary-text );
13
+ color: if($kendo-enable-color-system, k-color( subtle ), if( $kendo-is-dark-theme, $light-secondary-text, $dark-secondary-text ));
14
14
  opacity: 1;
15
15
  filter: none;
16
16
  }
@@ -5,6 +5,18 @@
5
5
 
6
6
  @include kendo-scheduler--theme-base();
7
7
 
8
+ .k-scheduler-layout td.k-selected,
9
+ .k-scheduler-layout .k-scheduler-cell.k-selected {
10
+ background-color: if($kendo-enable-color-system, rgba( k-color( secondary, true ), .25 ), rgba($kendo-selected-bg, .25));
11
+ }
12
+
13
+ // Agenda view
14
+ .k-scheduler-agendaview {
15
+ .k-scheduler-content tr.k-selected {
16
+ background-color: if($kendo-enable-color-system, rgba( k-color( secondary, true ), .25 ), rgba($kendo-selected-bg, .25));
17
+ }
18
+ }
19
+
8
20
  // Events
9
21
  .k-event {
10
22
 
@@ -8,12 +8,12 @@ $kendo-scheduler-bg: $kendo-component-bg !default;
8
8
  $kendo-scheduler-text: $kendo-component-text !default;
9
9
  $kendo-scheduler-border: $kendo-component-border !default;
10
10
 
11
- $kendo-scheduler-toolbar-bg: k-try-shade( $kendo-button-bg, .5 ) !default;
11
+ $kendo-scheduler-toolbar-bg: if($kendo-enable-color-system, k-color( surface ), k-try-shade( $kendo-button-bg, .5 )) !default;
12
12
  $kendo-scheduler-toolbar-text: null !default;
13
13
  $kendo-scheduler-toolbar-border: null !default;
14
14
  $kendo-scheduler-toolbar-gradient: null !default;
15
15
 
16
- $kendo-scheduler-footer-bg: k-try-shade( $kendo-button-bg, .5 ) !default;
16
+ $kendo-scheduler-footer-bg: if($kendo-enable-color-system, k-color( surface ), k-try-shade( $kendo-button-bg, .5 )) !default;
17
17
  $kendo-scheduler-footer-text: null !default;
18
18
  $kendo-scheduler-footer-border: null !default;
19
19
  $kendo-scheduler-footer-gradient: null !default;
@@ -23,7 +23,7 @@ $kendo-scheduler-event-border-radius: $kendo-border-radius-md !default;
23
23
  $kendo-scheduler-event-line-height: calc( #{$kendo-scheduler-event-min-height} - (2 * #{$kendo-padding-sm-y}) ) !default;
24
24
 
25
25
  $kendo-scheduler-event-bg: $kendo-color-primary !default;
26
- $kendo-scheduler-event-text: k-contrast-color( $kendo-scheduler-event-bg ) !default;
26
+ $kendo-scheduler-event-text: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-color( $kendo-scheduler-event-bg )) !default;
27
27
  $kendo-scheduler-event-border: null !default;
28
28
  $kendo-scheduler-event-gradient: null !default;
29
29
  $kendo-scheduler-event-shadow: null !default;
@@ -34,8 +34,8 @@ $kendo-scheduler-event-hover-border: null !default;
34
34
  $kendo-scheduler-event-hover-gradient: null !default;
35
35
  $kendo-scheduler-event-hover-shadow: null !default;
36
36
 
37
- $kendo-scheduler-event-selected-bg: k-try-tint( $kendo-color-primary, 1 ) !default;
38
- $kendo-scheduler-event-selected-text: k-contrast-color( $kendo-scheduler-event-selected-bg ) !default;
37
+ $kendo-scheduler-event-selected-bg: if($kendo-enable-color-system, k-color( primary-active ), k-try-tint( $kendo-color-primary, 1 )) !default;
38
+ $kendo-scheduler-event-selected-text: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-color( $kendo-scheduler-event-selected-bg )) !default;
39
39
  $kendo-scheduler-event-selected-border: null !default;
40
40
  $kendo-scheduler-event-selected-gradient: null !default;
41
41
  $kendo-scheduler-event-selected-shadow: $box-shadow-depth-3 !default;
@@ -48,13 +48,13 @@ $kendo-scheduler-cell-height: $kendo-line-height-md * 1rem !default;
48
48
  $kendo-scheduler-datecolumn-width: 12rem !default;
49
49
  $kendo-scheduler-timecolumn-width: 11rem !default;
50
50
 
51
- $kendo-scheduler-nonwork-bg: k-try-shade( $kendo-scheduler-bg, .5 ) !default;
51
+ $kendo-scheduler-nonwork-bg: if($kendo-enable-color-system, k-color( surface ), k-try-shade( $kendo-scheduler-bg, .5 )) !default;
52
52
  $kendo-scheduler-nonwork-text: null !default;
53
53
 
54
54
  $kendo-scheduler-weekend-bg: null !default;
55
55
  $kendo-scheduler-weekend-text: null !default;
56
56
 
57
- $kendo-scheduler-othermonth-bg: k-try-shade( $kendo-scheduler-bg, .5 ) !default;
57
+ $kendo-scheduler-othermonth-bg: if($kendo-enable-color-system, k-color( surface ), k-try-shade( $kendo-scheduler-bg, .5 )) !default;
58
58
  $kendo-scheduler-othermonth-text: null !default;
59
59
 
60
60
  $kendo-scheduler-yearview-padding-x: k-map-get( $kendo-spacing, 5 ) !default;
@@ -18,7 +18,7 @@ $kendo-signature-lg-padding-y: $kendo-signature-lg-padding-x !default;
18
18
 
19
19
  $kendo-signature-line-width: 1px !default;
20
20
  $kendo-signature-line-style: dashed !default;
21
- $kendo-signature-line-color: rgba( $kendo-color-info, .24 ) !default;
21
+ $kendo-signature-line-color: if($kendo-enable-color-system, rgba( k-color( info, true ), .24 ), rgba( $kendo-color-info, .24 )) !default;
22
22
 
23
23
  $kendo-signature-line-size: calc( 100% - 2 * #{$kendo-signature-padding-x} ) !default;
24
24
  $kendo-signature-sm-line-size: calc( 100% - 2 * #{$kendo-signature-sm-padding-x} ) !default;
@@ -17,7 +17,7 @@ $kendo-skeleton-circle-border-radius: 9999px !default;
17
17
 
18
18
  /// The background color of the Skeleton item.
19
19
  /// @group skeleton
20
- $kendo-skeleton-item-bg: rgba( $kendo-color-inverse, .2 ) !default;
20
+ $kendo-skeleton-item-bg: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .2 ), rgba( $kendo-color-inverse, .2 )) !default;
21
21
  /// The background color of the Skeleton wave animation.
22
22
  /// @group skeleton
23
23
  $kendo-skeleton-wave-bg: rgba( black, .04 ) !default;
@@ -37,13 +37,13 @@ $kendo-slider-draghandle-pressed-text: null !default;
37
37
  $kendo-slider-draghandle-pressed-border: null !default;
38
38
  $kendo-slider-draghandle-pressed-gradient: null !default;
39
39
 
40
- $kendo-slider-draghandle-focus-shadow: 0 0 0 11px rgba( $kendo-color-primary, .25 ) !default;
40
+ $kendo-slider-draghandle-focus-shadow: 0 0 0 11px if($kendo-enable-color-system, rgba( k-color( primary, true ), .25 ), rgba( $kendo-color-primary, .25 )) !default;
41
41
 
42
42
  $kendo-slider-transition-speed: .3s !default;
43
43
  $kendo-slider-transition-function: ease-out !default;
44
44
  $kendo-slider-draghandle-transition-speed: .4s !default;
45
45
  $kendo-slider-draghandle-transition-function: cubic-bezier(.25, .8, .25, 1) !default;
46
46
 
47
- $kendo-slider-track-bg: k-try-tint( $kendo-color-primary, 8 ) !default;
47
+ $kendo-slider-track-bg: if($kendo-enable-color-system, k-color( primary-subtle ), k-try-tint( $kendo-color-primary, 8 )) !default;
48
48
  $kendo-slider-selection-bg: $kendo-color-primary !default;
49
49
  $kendo-slider-disabled-opacity: .65 !default;
@@ -15,10 +15,10 @@ $kendo-splitter-drag-icon-margin: 7px !default;
15
15
  $kendo-splitter-collapse-icon-padding-x: null !default;
16
16
  $kendo-splitter-collapse-icon-padding-y: k-map-get( $kendo-spacing, .5 ) !default;
17
17
 
18
- $kendo-splitbar-bg: k-try-shade( $kendo-splitter-bg, 1 ) !default;
18
+ $kendo-splitbar-bg: if($kendo-enable-color-system, k-color( base-subtle ), k-try-shade( $kendo-splitter-bg, 1 )) !default;
19
19
  $kendo-splitbar-text: $kendo-subtle-text !default;
20
20
 
21
- $kendo-splitbar-hover-bg: k-try-shade( $kendo-splitbar-bg, .5 ) !default;
21
+ $kendo-splitbar-hover-bg: if($kendo-enable-color-system, k-color( base-hover ), k-try-shade( $kendo-splitbar-bg, .5 )) !default;
22
22
  $kendo-splitbar-hover-text: $kendo-splitbar-text !default;
23
23
 
24
24
  $kendo-splitbar-selected-bg: $kendo-color-primary !default;
@@ -37,7 +37,7 @@ $kendo-spreadsheet-formula-input-line-height: $kendo-input-line-height !default;
37
37
  $kendo-spreadsheet-view-font-family: Arial, Verdana, sans-serif !default;
38
38
  $kendo-spreadsheet-view-font-size: $kendo-spreadsheet-font-size !default;
39
39
 
40
- $kendo-spreadsheet-selection-bg: rgba( $kendo-color-primary, .25 ) !default;
40
+ $kendo-spreadsheet-selection-bg: if($kendo-enable-color-system, rgba( k-color( primary, true ), .25 ), rgba( $kendo-color-primary, .25 )) !default;
41
41
  $kendo-spreadsheet-selection-text: null !default;
42
42
  $kendo-spreadsheet-selection-border: $kendo-color-primary !default;
43
43
  $kendo-spreadsheet-selection-shadow: inset 0 0 0 1px $kendo-color-primary !default;
@@ -51,11 +51,11 @@ $kendo-spreadsheet-partial-selection-bg: rgba( black, .04 ) !default;
51
51
  $kendo-spreadsheet-active-cell-bg: $kendo-component-bg !default;
52
52
  $kendo-spreadsheet-active-cell-shadow: inset 0 0 0 1px $kendo-color-primary !default;
53
53
 
54
- $kendo-spreadsheet-auto-fill-bg: rgba( $kendo-color-primary, .25 ) !default;
54
+ $kendo-spreadsheet-auto-fill-bg: if($kendo-enable-color-system, rgba( k-color( primary, true ), .25 ), rgba( $kendo-color-primary, .25 )) !default;
55
55
  $kendo-spreadsheet-auto-fill-text: null !default;
56
56
  $kendo-spreadsheet-auto-fill-border: $kendo-color-primary !default;
57
57
  $kendo-spreadsheet-auto-fill-shadow: inset 0 0 0 1px $kendo-color-primary !default;
58
- $kendo-spreadsheet-auto-fill-punch-bg: rgba( $kendo-component-bg, .5 ) !default;
58
+ $kendo-spreadsheet-auto-fill-punch-bg: if($kendo-enable-color-system, rgba( k-color( app-surface, true ), .5 ), rgba( $kendo-component-bg, .5 )) !default;
59
59
 
60
60
  $kendo-spreadsheet-cell-padding-y: k-map-get( $kendo-spacing, 1 ) !default;
61
61
  $kendo-spreadsheet-cell-padding-x: $kendo-spreadsheet-cell-padding-y !default;
@@ -101,6 +101,6 @@ $kendo-spreadsheet-drawing-handle-border-radius: $kendo-border-radius-lg !defaul
101
101
  $kendo-spreadsheet-drawing-outline-style: solid !default;
102
102
  $kendo-spreadsheet-drawing-outline-width: 2px !default;
103
103
 
104
- $kendo-spreadsheet-drawing-anchor-bg: rgba( $kendo-selected-bg, .25 ) !default;
104
+ $kendo-spreadsheet-drawing-anchor-bg: if($kendo-enable-color-system, rgba( k-color( secondary, true ), .25 ), rgba( $kendo-selected-bg, .25 )) !default;
105
105
 
106
106
  $kendo-spreadsheet-dropzone-spacing-y: k-map-get( $kendo-spacing, 2 ) !default;
@@ -33,24 +33,24 @@ $kendo-stepper-indicator-bg: $kendo-component-bg !default;
33
33
  $kendo-stepper-indicator-text: $kendo-component-text !default;
34
34
  $kendo-stepper-indicator-border: $kendo-component-border !default;
35
35
 
36
- $kendo-stepper-indicator-hover-bg: k-try-shade( $kendo-stepper-indicator-bg ) !default;
36
+ $kendo-stepper-indicator-hover-bg: if($kendo-enable-color-system, k-color( base-hover ), k-try-shade( $kendo-stepper-indicator-bg )) !default;
37
37
  $kendo-stepper-indicator-hover-text: null !default;
38
38
  $kendo-stepper-indicator-hover-border: null !default;
39
39
 
40
40
  $kendo-stepper-indicator-disabled-bg: null !default;
41
- $kendo-stepper-indicator-disabled-text: $kendo-disabled-text !default;
41
+ $kendo-stepper-indicator-disabled-text: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .32 ), $kendo-disabled-text) !default;
42
42
  $kendo-stepper-indicator-disabled-border: null !default;
43
43
 
44
44
  $kendo-stepper-indicator-done-bg: $kendo-color-primary !default;
45
- $kendo-stepper-indicator-done-text: k-contrast-color( $kendo-stepper-indicator-done-bg ) !default;
45
+ $kendo-stepper-indicator-done-text: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-color( $kendo-stepper-indicator-done-bg )) !default;
46
46
  $kendo-stepper-indicator-done-border: $kendo-stepper-indicator-done-bg !default;
47
47
 
48
- $kendo-stepper-indicator-done-hover-bg: k-try-shade( $kendo-stepper-indicator-done-bg ) !default;
48
+ $kendo-stepper-indicator-done-hover-bg: if($kendo-enable-color-system, k-color( primary-hover ), k-try-shade( $kendo-stepper-indicator-done-bg )) !default;
49
49
  $kendo-stepper-indicator-done-hover-text: null !default;
50
50
  $kendo-stepper-indicator-done-hover-border: null !default;
51
51
 
52
- $kendo-stepper-indicator-done-disabled-bg: k-color-mix( $kendo-stepper-indicator-done-bg, $kendo-component-bg, 60%) !default;
53
- $kendo-stepper-indicator-done-disabled-text: k-contrast-color( $kendo-stepper-indicator-done-bg ) !default;
52
+ $kendo-stepper-indicator-done-disabled-bg: if($kendo-enable-color-system, rgba( k-color( primary, true ), .6 ), k-color-mix( $kendo-stepper-indicator-done-bg, $kendo-component-bg, 60%)) !default;
53
+ $kendo-stepper-indicator-done-disabled-text: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-color( $kendo-stepper-indicator-done-bg )) !default;
54
54
  $kendo-stepper-indicator-done-disabled-border: $kendo-stepper-indicator-done-disabled-bg !default;
55
55
 
56
56
  $kendo-stepper-indicator-current-bg: $kendo-stepper-indicator-done-bg !default;
@@ -69,7 +69,7 @@ $kendo-stepper-label-text: null !default;
69
69
  $kendo-stepper-label-success-text: $kendo-color-success !default;
70
70
  $kendo-stepper-label-error-text: $kendo-color-error !default;
71
71
  $kendo-stepper-label-hover-text: null !default;
72
- $kendo-stepper-label-disabled-text: k-map-get( $theme, disabled-text ) !default;
72
+ $kendo-stepper-label-disabled-text: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .32 ), k-map-get( $theme, disabled-text )) !default;
73
73
 
74
74
  $kendo-stepper-optional-label-text: $kendo-subtle-text !default;
75
75
  $kendo-stepper-optional-label-opacity: null !default;
@@ -17,7 +17,7 @@
17
17
  background-color: inherit;
18
18
  }
19
19
  &.k-switch-off .k-switch-thumb::before {
20
- background-color: if( $kendo-is-dark-theme == true, $kendo-color-white, $kendo-color-black );
20
+ background-color: if($kendo-enable-color-system, k-color( on-app-surface ), if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black ));
21
21
  }
22
22
  }
23
23
 
@@ -30,7 +30,7 @@ $kendo-switch-sizes: (
30
30
 
31
31
  /// The background of the track when the Switch is not checked.
32
32
  /// @group switch
33
- $kendo-switch-off-track-bg: rgba( if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black ), .38 ) !default;
33
+ $kendo-switch-off-track-bg: rgba( if($kendo-enable-color-system, k-color( on-app-surface, true ), if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black )), .38 ) !default;
34
34
  /// The text color of the track when the Switch is not checked.
35
35
  /// @group switch
36
36
  $kendo-switch-off-track-text: null !default;
@@ -85,7 +85,7 @@ $kendo-switch-off-track-disabled-gradient: null !default;
85
85
 
86
86
  /// The background of the thumb when the Switch is not checked.
87
87
  /// @group switch
88
- $kendo-switch-off-thumb-bg: if( $kendo-is-dark-theme, $kendo-color-black, $kendo-color-white ) !default;
88
+ $kendo-switch-off-thumb-bg: if($kendo-enable-color-system, k-color( app-surface ), if( $kendo-is-dark-theme, $kendo-color-black, $kendo-color-white )) !default;
89
89
  /// The text color of the thumb when the Switch is not checked.
90
90
  /// @group switch
91
91
  $kendo-switch-off-thumb-text: null !default;
@@ -112,7 +112,7 @@ $kendo-switch-off-thumb-hover-gradient: null !default;
112
112
 
113
113
  /// The background of the track when the Switch is checked.
114
114
  /// @group switch
115
- $kendo-switch-on-track-bg: rgba( $kendo-color-primary, .54 ) !default;
115
+ $kendo-switch-on-track-bg: if($kendo-enable-color-system, rgba( k-color( primary, true ), .54 ), rgba( $kendo-color-primary, .54 )) !default;
116
116
  /// The text color of the track when the Switch is checked.
117
117
  /// @group switch
118
118
  $kendo-switch-on-track-text: null !default;
@@ -3,4 +3,29 @@
3
3
 
4
4
  @mixin kendo-table--layout() {
5
5
  @include kendo-table--layout-base();
6
+
7
+ @if($kendo-enable-color-system) {
8
+ .k-table {
9
+ td:focus,
10
+ td.k-focus,
11
+ th:focus,
12
+ th.k-focus {
13
+ position: relative;
14
+
15
+ &::after {
16
+ content: "";
17
+ width: 100%;
18
+ height: 100%;
19
+ position: absolute;
20
+ top: 0;
21
+ left: 0;
22
+ }
23
+ }
24
+
25
+ td.k-grid-content-sticky,
26
+ td.k-grid-header-sticky {
27
+ position: sticky;
28
+ }
29
+ }
30
+ }
6
31
  }
@@ -5,26 +5,41 @@
5
5
 
6
6
  @include kendo-table--theme-base();
7
7
 
8
- // Selected state
9
- .k-table-tbody .k-table-row.k-selected,
10
- .k-table-tbody .k-table-cell.k-selected {
11
- color: $kendo-table-selected-text;
12
- background-color: $kendo-table-selected-bg;
13
- }
8
+ @if($kendo-enable-color-system) {
9
+ .k-table .k-table-tbody {
10
+ td:focus,
11
+ td.k-focus,
12
+ th:focus,
13
+ th.k-focus {
14
+ &::after {
15
+ background-color: $kendo-table-hover-bg;
16
+ }
17
+ }
18
+ }
19
+ } @else {
14
20
 
15
- .k-table-tbody .k-table-row.k-selected > td {
16
- color: inherit;
17
- background-color: transparent;
18
- }
21
+ // Selected state
22
+ .k-table-tbody .k-table-row.k-selected,
23
+ .k-table-tbody .k-table-cell.k-selected {
24
+ color: $kendo-table-selected-text;
25
+ background-color: $kendo-table-selected-bg;
26
+ }
19
27
 
20
- .k-table .k-table-tbody {
21
- td:focus,
22
- td.k-focus,
23
- th:focus,
24
- th.k-focus {
28
+ .k-table-tbody .k-table-row.k-selected > td {
25
29
  color: inherit;
26
- background-color: $kendo-table-hover-bg;
30
+ background-color: transparent;
27
31
  }
32
+
33
+ .k-table .k-table-tbody {
34
+ td:focus,
35
+ td.k-focus,
36
+ th:focus,
37
+ th.k-focus {
38
+ color: inherit;
39
+ background-color: $kendo-table-hover-bg;
40
+ }
41
+ }
42
+
28
43
  }
29
44
 
30
45
  }
@@ -78,7 +78,7 @@ $kendo-table-border: $kendo-component-border !default;
78
78
  $kendo-table-header-bg: $kendo-table-bg !default;
79
79
  /// Text color of table headers.
80
80
  /// @group table
81
- $kendo-table-header-text: if( $kendo-is-dark-theme, $light-secondary-text, $dark-secondary-text ) !default;
81
+ $kendo-table-header-text: if($kendo-enable-color-system, k-color( subtle ), if( $kendo-is-dark-theme, $light-secondary-text, $dark-secondary-text )) !default;
82
82
  /// Border color of table headers.
83
83
  /// @group table
84
84
  $kendo-table-header-border: $kendo-table-border !default;
@@ -122,7 +122,7 @@ $kendo-table-alt-row-border: null !default;
122
122
 
123
123
  /// Background color of hovered rows in table.
124
124
  /// @group table
125
- $kendo-table-hover-bg: rgba( k-contrast-color( $kendo-table-bg ), .07 ) !default;
125
+ $kendo-table-hover-bg: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .08 ), rgba( k-contrast-color( $kendo-table-bg ), .07 )) !default;
126
126
  /// Text color of hovered rows in table.
127
127
  /// @group table
128
128
  $kendo-table-hover-text: null !default;
@@ -147,7 +147,7 @@ $kendo-table-focus-shadow: $kendo-list-item-focus-shadow !default;
147
147
 
148
148
  /// Background color of selected rows in table.
149
149
  /// @group table
150
- $kendo-table-selected-bg: rgba( k-contrast-color( $kendo-table-bg ), .04 ) !default;
150
+ $kendo-table-selected-bg: if($kendo-enable-color-system, rgba( k-color( primary, true ), .12 ), rgba( k-contrast-color( $kendo-table-bg ), .04 )) !default;
151
151
  /// Text color of selected rows in table.
152
152
  /// @group table
153
153
  $kendo-table-selected-text: null !default;
@@ -82,7 +82,7 @@ $kendo-tabstrip-item-focus-shadow: $kendo-list-item-focus-shadow !default;
82
82
  $kendo-tabstrip-item-dragging-shadow: $box-shadow-depth-3 !default;
83
83
 
84
84
  $kendo-tabstrip-item-disabled-bg: null !default;
85
- $kendo-tabstrip-item-disabled-text: k-map-get( $theme, disabled-text ) !default;
85
+ $kendo-tabstrip-item-disabled-text: if($kendo-enable-color-system, rgba( k-color( on-app-surface, rgba ), .32 ), k-map-get( $theme, disabled-text )) !default;
86
86
  $kendo-tabstrip-item-disabled-border: null !default;
87
87
  $kendo-tabstrip-item-disabled-gradient: null !default;
88
88
  $kendo-tabstrip-item-disabled-opacity: 1 !default;
@@ -27,13 +27,13 @@ $kendo-taskboard-columns-container-gap: $kendo-taskboard-spacer !default;
27
27
  $kendo-taskboard-column-width: 320px !default;
28
28
  $kendo-taskboard-column-border-width: 1px !default;
29
29
  $kendo-taskboard-column-border-radius: $kendo-border-radius-md !default;
30
- $kendo-taskboard-column-bg: if( $kendo-is-dark-theme, $kendo-color-dark, $kendo-color-light) !default;
30
+ $kendo-taskboard-column-bg: if($kendo-enable-color-system, k-color( surface ), if( $kendo-is-dark-theme, $kendo-color-dark, $kendo-color-light)) !default;
31
31
  $kendo-taskboard-column-text: null !default;
32
32
  $kendo-taskboard-column-border: transparent !default;
33
33
 
34
34
  $kendo-taskboard-column-focus-bg: null !default;
35
35
  $kendo-taskboard-column-focus-text: null !default;
36
- $kendo-taskboard-column-focus-border: k-try-shade( $kendo-base-border, 2.5 ) !default;
36
+ $kendo-taskboard-column-focus-border: if($kendo-enable-color-system, k-color( border-alt ), k-try-shade( $kendo-base-border, 2.5 )) !default;
37
37
 
38
38
  $kendo-taskboard-column-header-padding-y: k-math-div( $kendo-taskboard-spacer, 2 ) !default;
39
39
  $kendo-taskboard-column-header-padding-x: $kendo-taskboard-column-header-padding-y !default;
@@ -76,10 +76,11 @@ $kendo-taskboard-card-shadow: none !default;
76
76
 
77
77
  $kendo-taskboard-card-category-border-width: 4px !default;
78
78
 
79
- $kendo-taskboard-card-focus-border: k-try-shade( $kendo-taskboard-card-border, 9% ) !default;
79
+ $kendo-taskboard-card-hover-border: if($kendo-enable-color-system, k-color( border-alt ), k-try-shade( $kendo-taskboard-card-border, 10% )) !default;
80
+
81
+ $kendo-taskboard-card-focus-border: if($kendo-enable-color-system, k-color( border-alt ), k-try-shade( $kendo-taskboard-card-border, 9% )) !default;
80
82
  $kendo-taskboard-card-focus-shadow: none !default;
81
83
 
82
- $kendo-taskboard-card-hover-border: k-try-shade( $kendo-taskboard-card-border, 10% ) !default;
83
84
 
84
85
  $kendo-taskboard-card-selected-border: $kendo-color-primary-lighter !default;
85
86
  $kendo-taskboard-card-selected-shadow: none !default;
@@ -5,7 +5,7 @@
5
5
  $kendo-tile-layout-border-width: 0px !default;
6
6
  /// The background color of the TileLayout.
7
7
  /// @group tilelayout
8
- $kendo-tile-layout-bg: if( $kendo-is-dark-theme, $kendo-color-dark, $kendo-color-light) !default;
8
+ $kendo-tile-layout-bg: if($kendo-enable-color-system, k-color( surface ), if( $kendo-is-dark-theme, $kendo-color-dark, $kendo-color-light)) !default;
9
9
 
10
10
  /// The horizontal padding of the TileLayout.
11
11
  /// @group tilelayout
@@ -13,9 +13,9 @@ $kendo-timeline-mobile-spacing-y: $kendo-padding-md-x !default;
13
13
  $kendo-timeline-track-arrow-width: 36px !default;
14
14
  $kendo-timeline-track-arrow-height: 36px !default;
15
15
 
16
- $kendo-timeline-track-arrow-disabled-text: k-true-mix($kendo-button-text, $kendo-body-bg, 65%) !default;
17
- $kendo-timeline-track-arrow-disabled-bg: k-true-mix(#000000, $kendo-body-bg, 8%) !default;
18
- $kendo-timeline-track-arrow-disabled-border: k-true-mix($kendo-button-border, $kendo-body-bg, 65%) !default;
16
+ $kendo-timeline-track-arrow-disabled-bg: if($kendo-enable-color-system, rgba( k-color( on-app-surface, rgba ), .09 ), k-true-mix(#000000, $kendo-body-bg, 8%)) !default;
17
+ $kendo-timeline-track-arrow-disabled-text: if($kendo-enable-color-system, rgba( k-color( on-app-surface, rgba ), .32 ), k-true-mix($kendo-button-text, $kendo-body-bg, 65%)) !default;
18
+ $kendo-timeline-track-arrow-disabled-border: if($kendo-enable-color-system, transparent, k-true-mix($kendo-button-border, $kendo-body-bg, 65%)) !default;
19
19
 
20
20
  $kendo-timeline-track-size: 6px !default;
21
21
  $kendo-timeline-track-wrap-padding-bottom: k-math-div( $kendo-timeline-track-size, 2 ) !default;
@@ -39,7 +39,7 @@ $kendo-timeline-flag-max-width: calc(#{$kendo-timeline-flag-min-width} + 2 * #{$
39
39
  $kendo-timeline-mobile-flag-max-width: calc(#{$kendo-timeline-flag-min-width} + 2 * #{$kendo-timeline-mobile-spacing-x}) !default;
40
40
  $kendo-timeline-horizontal-flag-min-width: 60px !default;
41
41
  $kendo-timeline-flag-bg: $kendo-color-primary !default;
42
- $kendo-timeline-flag-text: k-contrast-color( $kendo-timeline-flag-bg ) !default;
42
+ $kendo-timeline-flag-text: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-color( $kendo-timeline-flag-bg )) !default;
43
43
 
44
44
  $kendo-timeline-flag-callout-width: 10px !default;
45
45
  $kendo-timeline-flag-callout-height: 10px !default;
@@ -8,8 +8,8 @@
8
8
  .k-toolbar {
9
9
 
10
10
  .k-button-solid-base {
11
- background-color: k-try-shade( $kendo-button-bg );
12
- border-color: k-try-shade( $kendo-button-bg );
11
+ background-color: if($kendo-enable-color-system, k-color( base-subtle ), k-try-shade( $kendo-button-bg ));
12
+ border-color: if($kendo-enable-color-system, k-color( base-subtle ), k-try-shade( $kendo-button-bg ));
13
13
 
14
14
  &.k-input-button,
15
15
  &.k-input-spinner .k-spinner-increase,
@@ -53,7 +53,7 @@ $kendo-tooltip-shadow: $box-shadow-depth-2 !default;
53
53
 
54
54
  @each $name, $color in $colors {
55
55
  $_theme: k-map-merge(( $name: (
56
- color: k-contrast-color( $color ),
56
+ color: if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-color( $color )),
57
57
  background-color: $color,
58
58
  border: $color,
59
59
  )), $_theme );
@@ -67,4 +67,4 @@ $kendo-tooltip-shadow: $box-shadow-depth-2 !default;
67
67
  $kendo-tooltip-theme-colors: $kendo-theme-colors !default;
68
68
  /// The generated theme colors map for the Tooltip.
69
69
  /// @group tooltip
70
- $kendo-tooltip-theme: tooltip-theme( $kendo-tooltip-theme-colors ) !default;
70
+ $kendo-tooltip-theme: tooltip-theme( $kendo-tooltip-theme-colors ) !default;
@@ -124,7 +124,7 @@ $kendo-treeview-border: null !default;
124
124
 
125
125
  /// The background color of hovered TreeView.
126
126
  /// @group treeview
127
- $kendo-treeview-item-hover-bg: rgba( $kendo-treeview-text, .07 ) !default;
127
+ $kendo-treeview-item-hover-bg: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .07 ), rgba( $kendo-treeview-text, .07 )) !default;
128
128
  /// The text color of hovered TreeView items.
129
129
  /// @group treeview
130
130
  $kendo-treeview-item-hover-text: null !default;
@@ -9,7 +9,7 @@
9
9
  .k-upload {
10
10
  .k-upload-button {
11
11
  @include box-shadow( none );
12
- background-color: k-try-shade( $kendo-upload-dropzone-bg );
12
+ background-color: if($kendo-enable-color-system, k-color( base-subtle ), k-try-shade( $kendo-upload-dropzone-bg ));
13
13
  }
14
14
  }
15
15