@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
@@ -8,7 +8,7 @@
8
8
  .k-fab-solid-#{$name} {
9
9
  @include box-shadow($kendo-fab-shadow);
10
10
  border-color: $color;
11
- color: k-contrast-color( $color );
11
+ color: if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-color( $color ));
12
12
  background-color: $color;
13
13
  }
14
14
  }
@@ -17,8 +17,8 @@
17
17
  @each $name, $color in $kendo-fab-theme-colors {
18
18
  .k-hover.k-fab-solid-#{$name},
19
19
  .k-fab-solid-#{$name}:hover {
20
- border-color: k-true-mix( #ffffff, $color, 8%);
21
- background-color: k-true-mix( #ffffff, $color, 8%);
20
+ border-color: if($kendo-enable-color-system, k-color( #{$name}-hover ), k-true-mix( #ffffff, $color, 8%));
21
+ background-color: if($kendo-enable-color-system, k-color( #{$name}-hover ), k-true-mix( #ffffff, $color, 8%));
22
22
  }
23
23
  }
24
24
 
@@ -26,8 +26,8 @@
26
26
  @each $name, $color in $kendo-fab-theme-colors {
27
27
  .k-focus.k-fab-solid-#{$name},
28
28
  .k-fab-solid-#{$name}:focus {
29
- border-color: k-true-mix( #ffffff, $color, 12%);
30
- background-color: k-true-mix( #ffffff, $color, 12%);
29
+ border-color: if($kendo-enable-color-system, k-color( #{$name}-active ), k-true-mix( #ffffff, $color, 12%));
30
+ background-color: if($kendo-enable-color-system, k-color( #{$name}-active ), k-true-mix( #ffffff, $color, 12%));
31
31
  }
32
32
  }
33
33
 
@@ -36,8 +36,8 @@
36
36
  .k-active.k-fab-solid-#{$name},
37
37
  .k-selected.k-fab-solid-#{$name},
38
38
  .k-fab-solid-#{$name}:active {
39
- border-color: k-true-mix( #ffffff, $color, 16%);
40
- background-color: k-true-mix( #ffffff, $color, 16%);
39
+ border-color: if($kendo-enable-color-system, k-color( #{$name}-active ), k-true-mix( #ffffff, $color, 16%));
40
+ background-color: if($kendo-enable-color-system, k-color( #{$name}-active ), k-true-mix( #ffffff, $color, 16%));
41
41
  box-shadow: $kendo-fab-active-shadow;
42
42
  }
43
43
  }
@@ -47,9 +47,9 @@
47
47
  .k-disabled.k-fab-solid-#{$name},
48
48
  .k-fab-solid-#{$name}:disabled {
49
49
  @include box-shadow($kendo-fab-disabled-shadow);
50
- border-color: k-try-tint( k-try-shade( $kendo-body-bg, 12% ), 5);
51
- background-color: k-try-tint( k-try-shade( $kendo-body-bg, 12% ), 5);
52
- color: k-color-tint( $kendo-disabled-text, 4);
50
+ border-color: if($kendo-enable-color-system, transparent, k-try-tint( k-try-shade( $kendo-body-bg, 12% ), 5));
51
+ background-color: if($kendo-enable-color-system, rgba( k-color( on-app-surface, rgba ), .09 ), k-try-tint( k-try-shade( $kendo-body-bg, 12% ), 5));
52
+ color: if($kendo-enable-color-system, rgba( k-color( on-app-surface, rgba ), .32 ), k-color-tint( $kendo-disabled-text, 4));
53
53
  opacity: 1;
54
54
  }
55
55
  }
@@ -75,25 +75,25 @@
75
75
  // Hover state
76
76
  .k-fab-item.k-hover .k-fab-item-icon,
77
77
  .k-fab-item:hover .k-fab-item-icon {
78
- border-color: k-true-mix( #000000, $kendo-fab-item-icon-border, 8%);
79
- background-color: k-true-mix( #000000, $kendo-fab-item-icon-bg, 8%);
80
- color: k-true-mix( #000000, $kendo-fab-item-icon-text, 8%);
78
+ border-color: if($kendo-enable-color-system, k-color( base-hover ), k-true-mix( #000000, $kendo-fab-item-icon-border, 8%));
79
+ background-color: if($kendo-enable-color-system, k-color( base-hover ), k-true-mix( #000000, $kendo-fab-item-icon-bg, 8%));
80
+ color: if($kendo-enable-color-system, k-color( on-base ), k-true-mix( #000000, $kendo-fab-item-icon-text, 8%));
81
81
  }
82
82
 
83
83
  // Focus state
84
84
  .k-fab-item:focus .k-fab-item-icon,
85
85
  .k-fab-item.k-focus .k-fab-item-icon {
86
- border-color: k-true-mix( #000000, $kendo-fab-item-icon-border, 12%);
87
- background-color: k-true-mix( #000000, $kendo-fab-item-icon-bg, 12%);
88
- color: k-true-mix( #000000, $kendo-fab-item-icon-text, 12%);
86
+ border-color: if($kendo-enable-color-system, k-color( base-active ), k-true-mix( #000000, $kendo-fab-item-icon-border, 12%));
87
+ background-color: if($kendo-enable-color-system, k-color( base-active ), k-true-mix( #000000, $kendo-fab-item-icon-bg, 12%));
88
+ color: if($kendo-enable-color-system, k-color( on-base ), k-true-mix( #000000, $kendo-fab-item-icon-text, 12%));
89
89
  }
90
90
 
91
91
  // Active state
92
92
  .k-fab-item.k-active .k-fab-item-icon,
93
93
  .k-fab-item:active .k-fab-item-icon {
94
94
  @include box-shadow($kendo-fab-item-active-shadow);
95
- border-color: k-true-mix( #ffffff, $kendo-fab-item-icon-border, 12%);
96
- background-color: k-true-mix( #ffffff, $kendo-fab-item-icon-bg, 12%);
95
+ border-color: if($kendo-enable-color-system, k-color( base ), k-true-mix( #ffffff, $kendo-fab-item-icon-border, 12%));
96
+ background-color: if($kendo-enable-color-system, k-color( base ), k-true-mix( #ffffff, $kendo-fab-item-icon-bg, 12%));
97
97
  }
98
98
 
99
99
  // Disabled state
@@ -104,8 +104,8 @@
104
104
  .k-fab-item-text,
105
105
  .k-fab-item-icon {
106
106
  @include box-shadow($kendo-fab-item-disabled-shadow);
107
- background-color: k-try-tint( $kendo-fab-item-bg, 8 );
108
- color: k-try-tint( $kendo-fab-item-text, 8 );
107
+ background-color: if($kendo-enable-color-system, rgba( k-color( base, true ), .6 ), k-try-tint( $kendo-fab-item-bg, 8 ));
108
+ color: if($kendo-enable-color-system, rgba( k-color( on-base, true ), .6 ), k-try-tint( $kendo-fab-item-text, 8 ));
109
109
  }
110
110
  }
111
111
 
@@ -30,7 +30,7 @@ $kendo-file-manager-border: $kendo-component-border !default;
30
30
  $kendo-file-manager-toolbar-border-width: $kendo-file-manager-border-width !default;
31
31
  /// The background color of the FileManager Toolbar.
32
32
  /// @group filemanager
33
- $kendo-file-manager-toolbar-bg: k-try-shade( $kendo-button-bg, .5 ) !default;
33
+ $kendo-file-manager-toolbar-bg: if($kendo-enable-color-system, k-color( surface ), k-try-shade( $kendo-button-bg, .5 )) !default;
34
34
  /// The text color of the FileManager Toolbar.
35
35
  /// @group filemanager
36
36
  $kendo-file-manager-toolbar-text: null !default;
@@ -119,7 +119,7 @@ $kendo-file-manager-listview-item-border: null !default;
119
119
  $kendo-file-manager-listview-item-icon-bg: null !default;
120
120
  /// The text color of the FileManager ListView item icon.
121
121
  /// @group filemanager
122
- $kendo-file-manager-listview-item-icon-text: k-try-tint($kendo-file-manager-text, 4) !default;
122
+ $kendo-file-manager-listview-item-icon-text: if($kendo-enable-color-system, k-color( subtle ), k-try-tint($kendo-file-manager-text, 4)) !default;
123
123
  /// The border color of the FileManager ListView item icon.
124
124
  /// @group filemanager
125
125
  $kendo-file-manager-listview-item-icon-border: null !default;
@@ -176,7 +176,7 @@ $kendo-file-manager-preview-border: null !default;
176
176
  $kendo-file-manager-preview-icon-bg: null !default;
177
177
  /// The text color of the FileManager preview icon.
178
178
  /// @group filemanager
179
- $kendo-file-manager-preview-icon-text: k-try-tint($kendo-file-manager-text, 4) !default;
179
+ $kendo-file-manager-preview-icon-text: if($kendo-enable-color-system, k-color( subtle ), k-try-tint($kendo-file-manager-text, 4)) !default;
180
180
  /// The border color of the FileManager preview icon.
181
181
  /// @group filemanager
182
182
  $kendo-file-manager-preview-icon-border: null !default;
@@ -6,7 +6,7 @@
6
6
  @include kendo-gantt--layout-base();
7
7
 
8
8
  // Timeline
9
- .k-gantt-timeline {
9
+ .k-gantt-timeline-pane {
10
10
  .k-rtl & {
11
11
 
12
12
  .k-header {
@@ -6,7 +6,7 @@
6
6
  @include kendo-gantt--theme-base();
7
7
 
8
8
  // Timeline
9
- .k-gantt-timeline {
9
+ .k-gantt-timeline-pane {
10
10
 
11
11
  tbody > tr:not(:only-child) > .k-header {
12
12
  border-left-color: $kendo-grid-border;
@@ -12,12 +12,12 @@ $kendo-gantt-treelist-bg: null !default;
12
12
  $kendo-gantt-treelist-text: null !default;
13
13
  $kendo-gantt-treelist-border: null !default;
14
14
 
15
- $kendo-gantt-nonwork-bg: rgba( k-contrast-color( $kendo-gantt-bg ), .025 ) !default;
15
+ $kendo-gantt-nonwork-bg: if($kendo-enable-color-system, rgba( k-color( on-base, true ), .03 ), rgba( k-contrast-color( $kendo-gantt-bg ), .025 )) !default;
16
16
  $kendo-gantt-nonwork-text: null !default;
17
17
  $kendo-gantt-nonwork-border: null !default;
18
18
 
19
19
  $kendo-gantt-line-size: 2px !default;
20
- $kendo-gantt-line-fill: k-color-mix( $kendo-gantt-text, $kendo-gantt-bg ) !default;
20
+ $kendo-gantt-line-fill: if($kendo-enable-color-system, k-color( subtle ), k-color-mix( $kendo-gantt-text, $kendo-gantt-bg )) !default;
21
21
  $kendo-gantt-line-selected-fill: $kendo-selected-bg !default;
22
22
 
23
23
  $kendo-gantt-dot-size: 8px !default;
@@ -32,19 +32,19 @@ $kendo-gantt-milestone-border: $kendo-color-primary !default;
32
32
  $kendo-gantt-milestone-selected-bg: $kendo-color-secondary !default;
33
33
  $kendo-gantt-milestone-selected-border: $kendo-color-secondary !default;
34
34
 
35
- $kendo-gantt-summary-bg: k-color-mix( $kendo-color-primary, $kendo-gantt-bg ) !default;
35
+ $kendo-gantt-summary-bg: if($kendo-enable-color-system, k-color( primary-emphasis ), k-color-mix( $kendo-color-primary, $kendo-gantt-bg )) !default;
36
36
  $kendo-gantt-summary-progress-bg: $kendo-color-primary !default;
37
- $kendo-gantt-summary-selected-bg: k-color-mix( $kendo-color-secondary, $kendo-gantt-bg ) !default;
37
+ $kendo-gantt-summary-selected-bg: if($kendo-enable-color-system, k-color( secondary-subtle-active ), k-color-mix( $kendo-color-secondary, $kendo-gantt-bg )) !default;
38
38
  $kendo-gantt-summary-progress-selected-bg: $kendo-color-secondary !default;
39
39
 
40
40
  $kendo-gantt-task-padding-x: k-map-get( $kendo-spacing, 2 ) !default;
41
41
  $kendo-gantt-task-padding-y: k-map-get( $kendo-spacing, 1 ) !default;
42
42
  $kendo-gantt-task-border-width: 0px !default;
43
- $kendo-gantt-task-bg: k-color-mix( $kendo-color-primary, $kendo-gantt-bg ) !default;
43
+ $kendo-gantt-task-bg: if($kendo-enable-color-system, k-color( primary-emphasis ), k-color-mix( $kendo-color-primary, $kendo-gantt-bg )) !default;
44
44
  $kendo-gantt-task-text: $kendo-color-primary-contrast !default;
45
45
  $kendo-gantt-task-border: null !default;
46
46
  $kendo-gantt-task-progress-bg: $kendo-color-primary !default;
47
- $kendo-gantt-task-selected-bg: k-color-mix( $kendo-color-secondary, $kendo-gantt-bg ) !default;
47
+ $kendo-gantt-task-selected-bg: if($kendo-enable-color-system, k-color( secondary-subtle-active ), k-color-mix( $kendo-color-secondary, $kendo-gantt-bg )) !default;
48
48
  $kendo-gantt-task-selected-text: $kendo-color-secondary-contrast !default;
49
49
  $kendo-gantt-task-selected-border: null !default;
50
50
  $kendo-gantt-task-progress-selected-bg: $kendo-color-secondary !default;
@@ -78,10 +78,10 @@ $kendo-gantt-planned-bg: $kendo-color-primary !default;
78
78
  $kendo-gantt-planned-border: $kendo-gantt-planned-bg !default;
79
79
 
80
80
  $kendo-gantt-delayed-bg: $kendo-color-error !default;
81
- $kendo-gantt-delayed-bg-lighter: k-color-tint($kendo-gantt-delayed-bg, 5) !default;
81
+ $kendo-gantt-delayed-bg-lighter: if($kendo-enable-color-system, k-color( error-emphasis ), k-color-tint($kendo-gantt-delayed-bg, 5)) !default;
82
82
 
83
83
  $kendo-gantt-advanced-bg: $kendo-color-success !default;
84
- $kendo-gantt-advanced-bg-lighter: k-color-tint($kendo-gantt-advanced-bg, 5) !default;
84
+ $kendo-gantt-advanced-bg-lighter: if($kendo-enable-color-system, k-color( success-emphasis ), k-color-tint($kendo-gantt-advanced-bg, 5)) !default;
85
85
 
86
86
  $kendo-gantt-action-on-offset-text: #000000 !default;
87
87
  $kendo-gantt-offset-resize-handler-top: 50% !default;
@@ -9,71 +9,86 @@
9
9
 
10
10
  .k-grid {
11
11
 
12
- // Selected state
13
- .k-table-td.k-selected,
14
- .k-table-row.k-selected {
15
- color: $kendo-grid-selected-text;
16
- background-color: $kendo-grid-selected-bg;
17
- }
12
+ @if($kendo-enable-color-system) {
13
+ .k-table {
14
+ td:focus,
15
+ td.k-focus,
16
+ th:focus,
17
+ th.k-focus {
18
+ &::after {
19
+ background-color: $kendo-grid-hover-bg;
20
+ }
21
+ }
22
+ }
23
+ } @else {
18
24
 
19
- .k-table-row.k-selected > td,
20
- .k-table-row.k-selected > .k-table-td {
21
- color: inherit;
22
- background-color: transparent;
23
- }
25
+ // Selected state
26
+ .k-table-td.k-selected,
27
+ .k-table-row.k-selected {
28
+ color: $kendo-grid-selected-text;
29
+ background-color: $kendo-grid-selected-bg;
30
+ }
24
31
 
25
- // Hover, Focused state
26
- .k-table {
27
- > .k-table-row:not(.k-detail-row):hover,
28
- > .k-table-row:not(.k-detail-row).k-hover,
29
- td:focus,
30
- td.k-focus,
31
- .k-table-td:focus,
32
- .k-table-td.k-focus,
33
- .k-table-th:focus,
34
- .k-table-th.k-focus,
35
- .k-master-row > td:focus,
36
- .k-grouping-row > td:focus,
37
- .k-detail-row > td:focus,
38
- .k-group-footer > td:focus,
39
- .k-master-row > .k-table-td:focus,
40
- .k-grouping-row > .k-table-td:focus,
41
- .k-detail-row > .k-table-td:focus,
42
- .k-group-footer > .k-table-td:focus {
32
+ .k-table-row.k-selected > td,
33
+ .k-table-row.k-selected > .k-table-td {
43
34
  color: inherit;
44
- background-color: $kendo-grid-hover-bg;
35
+ background-color: transparent;
45
36
  }
46
37
 
47
- .k-table-row:hover,
48
- .k-table-row.k-hover {
49
- .k-grid-header-sticky,
50
- .k-grid-footer-sticky {
38
+ // Hover, Focused state
39
+ .k-table {
40
+ > .k-table-row:not(.k-detail-row):hover,
41
+ > .k-table-row:not(.k-detail-row).k-hover,
42
+ td:focus,
43
+ td.k-focus,
44
+ .k-table-td:focus,
45
+ .k-table-td.k-focus,
46
+ .k-table-th:focus,
47
+ .k-table-th.k-focus,
48
+ .k-master-row > td:focus,
49
+ .k-grouping-row > td:focus,
50
+ .k-detail-row > td:focus,
51
+ .k-group-footer > td:focus,
52
+ .k-master-row > .k-table-td:focus,
53
+ .k-grouping-row > .k-table-td:focus,
54
+ .k-detail-row > .k-table-td:focus,
55
+ .k-group-footer > .k-table-td:focus {
51
56
  color: inherit;
52
- background-color: $kendo-grid-sticky-hover-bg;
57
+ background-color: $kendo-grid-hover-bg;
53
58
  }
54
- }
55
59
 
56
- .k-table-th,
57
- td,
58
- .k-table-td,
59
- .k-master-row > td,
60
- .k-grouping-row > td,
61
- .k-detail-row > td,
62
- .k-group-footer > td,
63
- .k-master-row > .k-table-td,
64
- .k-grouping-row > .k-table-td,
65
- .k-detail-row > .k-table-td,
66
- .k-group-footer > .k-table-td {
67
- &:focus,
68
- &.k-focus {
69
- &.k-grid-header-sticky,
70
- &.k-grid-content-sticky,
71
- &.k-grid-footer-sticky {
60
+ .k-table-row:hover,
61
+ .k-table-row.k-hover {
62
+ .k-grid-header-sticky,
63
+ .k-grid-footer-sticky {
72
64
  color: inherit;
73
65
  background-color: $kendo-grid-sticky-hover-bg;
74
66
  }
75
67
  }
68
+
69
+ .k-table-th,
70
+ td,
71
+ .k-table-td,
72
+ .k-master-row > td,
73
+ .k-grouping-row > td,
74
+ .k-detail-row > td,
75
+ .k-group-footer > td,
76
+ .k-master-row > .k-table-td,
77
+ .k-grouping-row > .k-table-td,
78
+ .k-detail-row > .k-table-td,
79
+ .k-group-footer > .k-table-td {
80
+ &:focus,
81
+ &.k-focus {
82
+ &.k-grid-header-sticky,
83
+ &.k-grid-content-sticky,
84
+ &.k-grid-footer-sticky {
85
+ color: inherit;
86
+ background-color: $kendo-grid-sticky-hover-bg;
87
+ }
88
+ }
89
+ }
76
90
  }
91
+
77
92
  }
78
93
 
79
94
  .k-grid-pager:focus,
@@ -223,7 +223,7 @@ $kendo-grid-grouping-row-bg: transparent !default;
223
223
  $kendo-grid-grouping-row-text: $kendo-grid-text !default;
224
224
 
225
225
  $kendo-grid-sorted-icon-spacing: 4px !default;
226
- $kendo-grid-sorted-bg: rgba( k-contrast-color( $kendo-grid-bg ), .04 ) !default;
226
+ $kendo-grid-sorted-bg: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .05 ), rgba( k-contrast-color( $kendo-grid-bg ), .04 )) !default;
227
227
  $kendo-grid-sorting-indicator-text: $kendo-grid-header-text !default;
228
228
  $kendo-grid-sorting-index-font-size: $kendo-font-size-sm !default;
229
229
  $kendo-grid-sorting-index-height: $kendo-icon-size !default;
@@ -236,10 +236,12 @@ $kendo-grid-command-cell-button-spacing: k-map-get( $kendo-spacing, 2 ) !default
236
236
  // be cautious when changing the next line; see https://github.com/MoOx/reduce-css-calc/issues/38
237
237
  $kendo-grid-command-cell-padding-y: calc( #{$kendo-grid-cell-padding-y} - (#{$kendo-button-calc-size} - #{$kendo-line-height-em}) / 2 ) !default;
238
238
 
239
+ // Must be a solid color
239
240
  $kendo-grid-sticky-bg: $kendo-grid-bg !default;
240
241
  $kendo-grid-sticky-text: $kendo-grid-text !default;
241
- $kendo-grid-sticky-border: rgba( k-contrast-color( $kendo-grid-bg ), .5 ) !default;
242
+ $kendo-grid-sticky-border: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .5 ), rgba( k-contrast-color( $kendo-grid-bg ), .5 )) !default;
242
243
 
244
+ // Must be a solid color
243
245
  $kendo-grid-sticky-alt-bg: $kendo-grid-sticky-bg !default;
244
246
 
245
247
  $kendo-grid-sticky-header-bg: $kendo-grid-sticky-bg !default;
@@ -249,11 +251,12 @@ $kendo-grid-sticky-header-border: $kendo-grid-sticky-border !default;
249
251
  $kendo-grid-sticky-footer-bg: $kendo-grid-sticky-header-bg !default;
250
252
  $kendo-grid-sticky-footer-hover-bg: $kendo-grid-sticky-footer-bg !default;
251
253
 
252
- $kendo-grid-sticky-selected-bg: k-try-shade($kendo-grid-bg, 4%) !default;
254
+ $kendo-grid-sticky-selected-bg: if($kendo-enable-color-system, rgba( k-color( primary, true ), .12 ), k-try-shade($kendo-grid-bg, 4%)) !default;
253
255
  $kendo-grid-sticky-selected-alt-bg: $kendo-grid-sticky-selected-bg !default;
254
256
 
255
- $kendo-grid-sticky-hover-bg: k-try-shade($kendo-grid-bg, 7%) !default;
256
- $kendo-grid-sticky-selected-hover-bg: k-try-shade($kendo-grid-sticky-selected-bg, .87) !default;
257
+ // Must be a solid color
258
+ $kendo-grid-sticky-hover-bg: if($kendo-enable-color-system, k-color( base-hover ), k-try-shade($kendo-grid-bg, 7%)) !default;
259
+ $kendo-grid-sticky-selected-hover-bg: if($kendo-enable-color-system, rgba( k-color( primary, true ), .12 ), k-try-shade($kendo-grid-sticky-selected-bg, .87)) !default;
257
260
 
258
261
  $kendo-grid-column-menu-width: 250px !default;
259
262
  $kendo-grid-column-menu-max-width: 320px !default;
@@ -306,7 +309,7 @@ $kendo-grid-group-footer-second-cell-border: 0px !default;
306
309
 
307
310
  /// Background color of the grid row resize indicator
308
311
  /// @group grid
309
- $kendo-grid-row-resizer-hover-bg: rgba( k-contrast-color( $kendo-grid-bg ), .24 ) !default;
312
+ $kendo-grid-row-resizer-hover-bg: if($kendo-enable-color-system, rgba( k-color( on-base, true ), .2 ), rgba( k-contrast-color( $kendo-grid-bg ), .24 )) !default;
310
313
  /// Active background color of the grid row resize indicator
311
314
  /// @group grid
312
315
  $kendo-grid-row-resizer-active-bg: $kendo-color-primary !default;
@@ -99,13 +99,13 @@ $kendo-input-sizes: (
99
99
 
100
100
  /// The background color of the Input components.
101
101
  /// @group input
102
- $kendo-input-bg: k-try-shade( $kendo-component-bg, .5 ) !default;
102
+ $kendo-input-bg: if($kendo-enable-color-system, k-color( surface ), k-try-shade( $kendo-component-bg, .5 )) !default;
103
103
  /// The text color of the Input components.
104
104
  /// @group input
105
105
  $kendo-input-text: $kendo-component-text !default;
106
106
  /// The border color of the Input components.
107
107
  /// @group input
108
- $kendo-input-border: rgba( $kendo-component-border, .38 ) !default;
108
+ $kendo-input-border: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .44 ), rgba( $kendo-component-border, .38 )) !default;
109
109
  /// The shadow of the Input components.
110
110
  /// @group input
111
111
  $kendo-input-shadow: null !default;
@@ -142,16 +142,15 @@ $kendo-input-selected-bg: null !default;
142
142
  /// The text color of the selected Input components.
143
143
  /// @group input
144
144
  $kendo-input-selected-text: null !default;
145
-
146
145
  /// The background color of the disabled Input components.
147
146
  /// @group input
148
- $kendo-input-disabled-bg: k-try-shade( $kendo-component-bg, .25 ) !default;
147
+ $kendo-input-disabled-bg: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .03 ), k-try-shade( $kendo-component-bg, .25 )) !default;
149
148
  /// The text color of the disabled Input components.
150
149
  /// @group input
151
- $kendo-input-disabled-text: $kendo-disabled-text !default;
150
+ $kendo-input-disabled-text: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .27 ), $kendo-disabled-text) !default;
152
151
  /// The border color of the disabled Input components.
153
152
  /// @group input
154
- $kendo-input-disabled-border: rgba( $kendo-component-border, k-math-div( k-color-alpha( $kendo-component-border ), 2 ) ) !default;
153
+ $kendo-input-disabled-border: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .03 ), rgba( $kendo-component-border, k-math-div( k-color-alpha( $kendo-component-border ), 2 ) )) !default;
155
154
  /// The gradient of the disabled Input components.
156
155
  /// @group input
157
156
  $kendo-input-disabled-gradient: null !default;
@@ -3,4 +3,12 @@
3
3
 
4
4
  @mixin kendo-list--theme() {
5
5
  @include kendo-list--theme-base();
6
+
7
+ // List item
8
+ .k-list-item {
9
+ &.k-selected:hover,
10
+ &.k-selected.k-hover {
11
+ background-color: if($kendo-enable-color-system, k-color( base-active ), k-color-shade( $kendo-list-item-selected-bg ));
12
+ }
13
+ }
6
14
  }
@@ -12,7 +12,7 @@
12
12
  // Listview content
13
13
  .k-listview-content {}
14
14
  .k-listview-content > .k-selected.k-focus {
15
- background-color: rgba( k-contrast-color( $kendo-listview-bg ), .12 );
15
+ background-color: if($kendo-enable-color-system, k-color( base-active ), rgba( k-contrast-color( $kendo-listview-bg ), .12 ));
16
16
  }
17
17
 
18
18
  }
@@ -41,7 +41,7 @@ $kendo-listview-item-padding-y: k-map-get( $kendo-spacing, 1 ) !default;
41
41
  $kendo-listview-item-selected-text: null !default;
42
42
  /// The background color of the selected ListView items.
43
43
  /// @group listview
44
- $kendo-listview-item-selected-bg: rgba( k-contrast-color( $kendo-listview-bg ), .04 ) !default;
44
+ $kendo-listview-item-selected-bg: if($kendo-enable-color-system, k-color( base-active ), rgba( k-contrast-color( $kendo-listview-bg ), .04 )) !default;
45
45
  /// The border color of the selected ListView items.
46
46
  /// @group listview
47
47
  $kendo-listview-item-selected-border: null !default;
@@ -51,7 +51,7 @@ $kendo-listview-item-selected-border: null !default;
51
51
  $kendo-listview-item-focus-text: null !default;
52
52
  /// The background color of the focused ListView items.
53
53
  /// @group listview
54
- $kendo-listview-item-focus-bg: rgba( k-contrast-color( $kendo-listview-bg ), .08 ) !default;
54
+ $kendo-listview-item-focus-bg: if($kendo-enable-color-system, k-color( base-active ), rgba( k-contrast-color( $kendo-listview-bg ), .08 )) !default;
55
55
  /// The border color of the focused ListView items.
56
56
  /// @group listview
57
57
  $kendo-listview-item-focus-border: null !default;
@@ -25,6 +25,6 @@ $kendo-map-zoom-control-button-padding-y: $kendo-map-zoom-control-button-padding
25
25
  $kendo-map-attribution-padding-x: $kendo-padding-sm-x !default;
26
26
  $kendo-map-attribution-padding-y: $kendo-padding-sm-y !default;
27
27
  $kendo-map-attribution-font-size: ($kendo-map-font-size * .75) !default;
28
- $kendo-map-attribution-bg: rgba( $kendo-map-bg, .8 ) !default;
28
+ $kendo-map-attribution-bg: if($kendo-enable-color-system, rgba( k-color( app-surface, true ), .8 ), rgba( $kendo-map-bg, .8 )) !default;
29
29
 
30
30
  $kendo-map-marker-fill: $kendo-color-primary !default;
@@ -13,4 +13,4 @@ $kendo-media-player-titlebar-padding-y: k-map-get( $kendo-spacing, 2 ) !default;
13
13
  $kendo-media-player-titlebar-bg: null !default;
14
14
  $kendo-media-player-titlebar-text: $kendo-media-player-bg !default;
15
15
  $kendo-media-player-titlebar-border: null !default;
16
- $kendo-media-player-titlebar-gradient: rgba( $kendo-media-player-text, .7 ), rgba( $kendo-media-player-text, 0 ) !default;
16
+ $kendo-media-player-titlebar-gradient: if($kendo-enable-color-system, ( rgba( k-color( on-app-surface, true ), .7 ), rgba( k-color( on-app-surface, true ), 0 ) ), ( rgba( $kendo-media-player-text, .7 ), rgba( $kendo-media-player-text, 0 ) )) !default;
@@ -21,12 +21,12 @@ $kendo-menu-item-text: null !default;
21
21
  $kendo-menu-item-border: null !default;
22
22
  $kendo-menu-item-gradient: null !default;
23
23
 
24
- $kendo-menu-item-hover-bg: rgba( $kendo-menu-text, $kendo-flat-button-hover-opacity * k-color-alpha( $kendo-menu-text ) ) !default;
24
+ $kendo-menu-item-hover-bg: if($kendo-enable-color-system, k-color( base-hover ), rgba( $kendo-menu-text, $kendo-flat-button-hover-opacity * k-color-alpha( $kendo-menu-text ) )) !default;
25
25
  $kendo-menu-item-hover-text: null !default;
26
26
  $kendo-menu-item-hover-border: null !default;
27
27
  $kendo-menu-item-hover-gradient: null !default;
28
28
 
29
- $kendo-menu-item-expanded-bg: rgba( $kendo-menu-text, $kendo-flat-button-active-opacity * k-color-alpha( $kendo-menu-text ) ) !default;
29
+ $kendo-menu-item-expanded-bg: if($kendo-enable-color-system, k-color( base-active ), rgba( $kendo-menu-text, $kendo-flat-button-active-opacity * k-color-alpha( $kendo-menu-text ) )) !default;
30
30
  $kendo-menu-item-expanded-text: null !default;
31
31
  $kendo-menu-item-expanded-border: null !default;
32
32
  $kendo-menu-item-expanded-gradient: null !default;
@@ -47,7 +47,7 @@ $kendo-notification-icon-spacing: $kendo-icon-spacing !default;
47
47
 
48
48
  @each $name, $color in $colors {
49
49
  $_theme: k-map-merge(( $name: (
50
- color: k-contrast-color( $color ),
50
+ color: if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-color( $color )),
51
51
  background-color: $color,
52
52
  border: $color,
53
53
  )), $_theme );
@@ -17,12 +17,12 @@ $kendo-orgchart-node-group-padding-y: $kendo-orgchart-spacer !default;
17
17
  $kendo-orgchart-node-group-padding-x: $kendo-orgchart-node-group-padding-y !default;
18
18
  $kendo-orgchart-node-group-border-width: 1px !default;
19
19
  $kendo-orgchart-node-group-border-radius: $kendo-border-radius-md !default;
20
- $kendo-orgchart-node-group-bg: if( $kendo-is-dark-theme, $kendo-color-dark, $kendo-color-light) !default;
20
+ $kendo-orgchart-node-group-bg: if($kendo-enable-color-system, k-color( surface ), if( $kendo-is-dark-theme, $kendo-color-dark, $kendo-color-light)) !default;
21
21
  $kendo-orgchart-node-group-text: $kendo-base-text !default;
22
22
  $kendo-orgchart-node-group-border: $kendo-base-border !default;
23
23
 
24
24
  $kendo-orgchart-node-group-focus-border: $kendo-card-focus-border !default;
25
- $kendo-orgchart-node-group-focus-shadow: 0 2px 4px -1px rgba( $elevation, .2 ), 0 4px 5px 0 rgba( $elevation, .14 ), 0 1px 10px 0 rgba( $elevation, .12 ) !default;
25
+ $kendo-orgchart-node-group-focus-shadow: 0 2px 4px -1px rgba( if($kendo-enable-color-system, k-color( on-light, true ), $elevation), .2 ), 0 4px 5px 0 rgba( if($kendo-enable-color-system, k-color( on-light, true ), $elevation), .14 ), 0 1px 10px 0 rgba( if($kendo-enable-color-system, k-color( on-light, true ), $elevation), .12 ) !default;
26
26
 
27
27
  $kendo-orgchart-node-group-title-font-size: $kendo-font-size-xl !default;
28
28
  $kendo-orgchart-node-group-title-margin-bottom: k-math-div( $kendo-orgchart-spacer, 4 ) !default;
@@ -65,14 +65,14 @@ $kendo-pager-line-height: $kendo-line-height-md !default;
65
65
  $kendo-pager-bg: $kendo-component-bg !default;
66
66
  /// The text color of the Pager.
67
67
  /// @group pager
68
- $kendo-pager-text: if( $kendo-is-dark-theme, $light-secondary-text, $dark-secondary-text ) !default;
68
+ $kendo-pager-text: if($kendo-enable-color-system, k-color( subtle ), if( $kendo-is-dark-theme, $light-secondary-text, $dark-secondary-text )) !default;
69
69
  /// The border color of the Pager.
70
70
  /// @group pager
71
71
  $kendo-pager-border: $kendo-component-border !default;
72
72
 
73
73
  /// The background color of the focused Pager.
74
74
  /// @group pager
75
- $kendo-pager-focus-bg: k-try-shade( $kendo-pager-bg, .5 ) !default;
75
+ $kendo-pager-focus-bg: if($kendo-enable-color-system, k-color( surface ), k-try-shade( $kendo-pager-bg, .5 )) !default;
76
76
  /// The box shadow of the focused Pager.
77
77
  /// @group pager
78
78
  $kendo-pager-focus-shadow: null !default;
@@ -27,18 +27,18 @@ $kendo-panelbar-header-text: $kendo-link-text !default;
27
27
  $kendo-panelbar-header-border: null !default;
28
28
  $kendo-panelbar-header-gradient: null !default;
29
29
 
30
- $kendo-panelbar-header-hover-bg: k-try-shade( $kendo-panelbar-header-bg, .5 ) !default;
30
+ $kendo-panelbar-header-hover-bg: if($kendo-enable-color-system, k-color( base-hover ), k-try-shade( $kendo-panelbar-header-bg, .5 )) !default;
31
31
  $kendo-panelbar-header-hover-text: null !default;
32
32
  $kendo-panelbar-header-hover-border: null !default;
33
33
  $kendo-panelbar-header-hover-gradient: null !default;
34
34
 
35
- $kendo-panelbar-header-focus-bg: k-try-shade( $kendo-panelbar-header-bg, 1.5 ) !default;
35
+ $kendo-panelbar-header-focus-bg: if($kendo-enable-color-system, k-color( base-active ), k-try-shade( $kendo-panelbar-header-bg, 1.5 )) !default;
36
36
  $kendo-panelbar-header-focus-text: null !default;
37
37
  $kendo-panelbar-header-focus-border: null !default;
38
38
  $kendo-panelbar-header-focus-gradient: null !default;
39
39
  $kendo-panelbar-header-focus-shadow: null !default;
40
40
 
41
- $kendo-panelbar-header-hover-focus-bg: k-try-shade( $kendo-panelbar-header-bg, 2 ) !default;
41
+ $kendo-panelbar-header-hover-focus-bg: if($kendo-enable-color-system, k-color( base-active ), k-try-shade( $kendo-panelbar-header-bg, 2 )) !default;
42
42
  $kendo-panelbar-header-hover-focus-text: null !default;
43
43
  $kendo-panelbar-header-hover-focus-border: null !default;
44
44
  $kendo-panelbar-header-hover-focus-gradient: null !default;
@@ -48,34 +48,34 @@ $kendo-panelbar-header-selected-text: $kendo-selected-text !default;
48
48
  $kendo-panelbar-header-selected-border: null !default;
49
49
  $kendo-panelbar-header-selected-gradient: null !default;
50
50
 
51
- $kendo-panelbar-header-selected-hover-bg: k-try-tint($kendo-panelbar-header-selected-bg, .95) !default;
51
+ $kendo-panelbar-header-selected-hover-bg: if($kendo-enable-color-system, k-color( secondary-hover ), k-try-tint($kendo-panelbar-header-selected-bg, .95)) !default;
52
52
  $kendo-panelbar-header-selected-hover-text: null !default;
53
53
  $kendo-panelbar-header-selected-hover-border: null !default;
54
54
  $kendo-panelbar-header-selected-hover-gradient: null !default;
55
55
 
56
- $kendo-panelbar-header-selected-focus-bg: k-try-tint($kendo-panelbar-header-selected-bg, 3) !default;
56
+ $kendo-panelbar-header-selected-focus-bg: if($kendo-enable-color-system, k-color( secondary-active ), k-try-tint($kendo-panelbar-header-selected-bg, 3)) !default;
57
57
  $kendo-panelbar-header-selected-focus-text: null !default;
58
58
  $kendo-panelbar-header-selected-focus-border: null !default;
59
59
  $kendo-panelbar-header-selected-focus-gradient: null !default;
60
60
 
61
- $kendo-panelbar-header-selected-hover-focus-bg: k-try-tint($kendo-panelbar-header-selected-bg, 3.95) !default;
61
+ $kendo-panelbar-header-selected-hover-focus-bg: if($kendo-enable-color-system, k-color( secondary-active ), k-try-tint($kendo-panelbar-header-selected-bg, 3.95)) !default;
62
62
  $kendo-panelbar-header-selected-hover-focus-text: null !default;
63
63
  $kendo-panelbar-header-selected-hover-focus-border: null !default;
64
64
  $kendo-panelbar-header-selected-hover-focus-gradient: null !default;
65
65
 
66
66
 
67
- $kendo-panelbar-item-hover-bg: k-try-shade( $kendo-panelbar-bg, .5 ) !default;
67
+ $kendo-panelbar-item-hover-bg: if($kendo-enable-color-system, k-color( base-hover ), k-try-shade( $kendo-panelbar-bg, .5 )) !default;
68
68
  $kendo-panelbar-item-hover-text: null !default;
69
69
  $kendo-panelbar-item-hover-border: null !default;
70
70
  $kendo-panelbar-item-hover-gradient: null !default;
71
71
 
72
- $kendo-panelbar-item-focus-bg: k-try-shade( $kendo-panelbar-header-bg, 1.5 ) !default;
72
+ $kendo-panelbar-item-focus-bg: if($kendo-enable-color-system, k-color( base-active ), k-try-shade( $kendo-panelbar-header-bg, 1.5 )) !default;
73
73
  $kendo-panelbar-item-focus-text: null !default;
74
74
  $kendo-panelbar-item-focus-border: null !default;
75
75
  $kendo-panelbar-item-focus-gradient: null !default;
76
76
  $kendo-panelbar-item-focus-shadow: null !default;
77
77
 
78
- $kendo-panelbar-item-hover-focus-bg: k-try-shade( $kendo-panelbar-header-bg, 2 ) !default;
78
+ $kendo-panelbar-item-hover-focus-bg: if($kendo-enable-color-system, k-color( base-active ), k-try-shade( $kendo-panelbar-header-bg, 2 )) !default;
79
79
  $kendo-panelbar-item-hover-focus-text: null !default;
80
80
  $kendo-panelbar-item-hover-focus-border: null !default;
81
81
  $kendo-panelbar-item-hover-focus-gradient: null !default;
@@ -85,17 +85,17 @@ $kendo-panelbar-item-selected-text: $kendo-selected-text !default;
85
85
  $kendo-panelbar-item-selected-border: null !default;
86
86
  $kendo-panelbar-item-selected-gradient: null !default;
87
87
 
88
- $kendo-panelbar-item-selected-hover-bg: k-try-tint($kendo-panelbar-item-selected-bg, .95) !default;
88
+ $kendo-panelbar-item-selected-hover-bg: if($kendo-enable-color-system, k-color( secondary-hover ), k-try-tint($kendo-panelbar-item-selected-bg, .95)) !default;
89
89
  $kendo-panelbar-item-selected-hover-text: null !default;
90
90
  $kendo-panelbar-item-selected-hover-border: null !default;
91
91
  $kendo-panelbar-item-selected-hover-gradient: null !default;
92
92
 
93
- $kendo-panelbar-item-selected-focus-bg: k-try-tint($kendo-panelbar-item-selected-bg, 3) !default;
93
+ $kendo-panelbar-item-selected-focus-bg: if($kendo-enable-color-system, k-color( secondary-active ), k-try-tint($kendo-panelbar-item-selected-bg, 3)) !default;
94
94
  $kendo-panelbar-item-selected-focus-text: null !default;
95
95
  $kendo-panelbar-item-selected-focus-border: null !default;
96
96
  $kendo-panelbar-item-selected-focus-gradient: null !default;
97
97
 
98
- $kendo-panelbar-item-selected-hover-focus-bg: k-try-tint($kendo-panelbar-item-selected-bg, 3.95) !default;
98
+ $kendo-panelbar-item-selected-hover-focus-bg: if($kendo-enable-color-system, k-color( secondary-active ), k-try-tint($kendo-panelbar-item-selected-bg, 3.95)) !default;
99
99
  $kendo-panelbar-item-selected-hover-focus-text: null !default;
100
100
  $kendo-panelbar-item-selected-hover-focus-border: null !default;
101
101
  $kendo-panelbar-item-selected-hover-focus-gradient: null !default;
@@ -25,7 +25,7 @@ $kendo-pdf-viewer-border: $kendo-component-border !default;
25
25
 
26
26
  /// The background color of the PDFViewer Toolbar.
27
27
  /// @group pdf-viewer
28
- $kendo-pdf-viewer-toolbar-bg: k-try-shade( $kendo-button-bg, .25 ) !default;
28
+ $kendo-pdf-viewer-toolbar-bg: if($kendo-enable-color-system, k-color( surface ), k-try-shade( $kendo-button-bg, .25 )) !default;
29
29
  /// The text color of the PDFViewer Toolbar.
30
30
  /// @group pdf-viewer
31
31
  $kendo-pdf-viewer-toolbar-text: null !default;