@progress/kendo-theme-material 10.6.0 → 11.0.0-dev.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 (165) hide show
  1. package/dist/all.css +1 -1
  2. package/dist/material-aqua-dark.css +1 -1
  3. package/dist/material-aqua-dark.scss +1 -1
  4. package/dist/material-arctic.css +1 -1
  5. package/dist/material-arctic.scss +1 -1
  6. package/dist/material-burnt-teal.css +1 -1
  7. package/dist/material-burnt-teal.scss +1 -1
  8. package/dist/material-dataviz-v4.css +1 -1
  9. package/dist/material-dataviz-v4.scss +1 -1
  10. package/dist/material-eggplant.css +1 -1
  11. package/dist/material-eggplant.scss +1 -1
  12. package/dist/material-lime-dark.css +1 -1
  13. package/dist/material-lime-dark.scss +1 -1
  14. package/dist/material-lime.css +1 -1
  15. package/dist/material-lime.scss +1 -1
  16. package/dist/material-main-dark.css +1 -1
  17. package/dist/material-main-dark.scss +1 -1
  18. package/dist/material-main.css +1 -1
  19. package/dist/material-main.scss +1 -5
  20. package/dist/material-nova.css +1 -1
  21. package/dist/material-nova.scss +1 -1
  22. package/dist/material-pacific-dark.css +1 -1
  23. package/dist/material-pacific-dark.scss +1 -1
  24. package/dist/material-pacific.css +1 -1
  25. package/dist/material-pacific.scss +1 -1
  26. package/dist/material-sky-dark.css +1 -1
  27. package/dist/material-sky-dark.scss +1 -1
  28. package/dist/material-sky.css +1 -1
  29. package/dist/material-sky.scss +1 -1
  30. package/dist/material-smoke.css +1 -1
  31. package/dist/material-smoke.scss +1 -1
  32. package/dist/meta/sassdoc-data.json +2168 -2276
  33. package/dist/meta/sassdoc-raw-data.json +1069 -1119
  34. package/dist/meta/variables.json +171 -835
  35. package/lib/swatches/material-aqua-dark.json +1 -243
  36. package/lib/swatches/material-arctic.json +1 -243
  37. package/lib/swatches/material-burnt-teal.json +1 -243
  38. package/lib/swatches/material-dataviz-v4.json +1 -47
  39. package/lib/swatches/material-eggplant.json +1 -243
  40. package/lib/swatches/material-lime-dark.json +1 -243
  41. package/lib/swatches/material-lime.json +1 -243
  42. package/lib/swatches/material-main-dark.json +1 -243
  43. package/lib/swatches/material-main.json +2 -245
  44. package/lib/swatches/material-nova.json +1 -243
  45. package/lib/swatches/material-pacific-dark.json +1 -243
  46. package/lib/swatches/material-pacific.json +1 -243
  47. package/lib/swatches/material-sky-dark.json +1 -243
  48. package/lib/swatches/material-sky.json +1 -243
  49. package/lib/swatches/material-smoke.json +1 -243
  50. package/package.json +4 -4
  51. package/scss/action-buttons/_theme.scss +2 -2
  52. package/scss/action-sheet/_variables.scss +7 -7
  53. package/scss/adaptive/_variables.scss +13 -13
  54. package/scss/appbar/_variables.scss +19 -5
  55. package/scss/avatar/_variables.scss +12 -1
  56. package/scss/badge/_variables.scss +15 -1
  57. package/scss/bottom-navigation/_theme.scss +2 -2
  58. package/scss/bottom-navigation/_variables.scss +18 -4
  59. package/scss/breadcrumb/_variables.scss +10 -10
  60. package/scss/button/_layout.scss +1 -3
  61. package/scss/button/_theme.scss +4 -23
  62. package/scss/button/_variables.scss +24 -15
  63. package/scss/calendar/_theme.scss +1 -1
  64. package/scss/calendar/_variables.scss +15 -15
  65. package/scss/captcha/_variables.scss +3 -3
  66. package/scss/card/_variables.scss +20 -6
  67. package/scss/chart-wizard/_variables.scss +4 -4
  68. package/scss/chat/_theme.scss +1 -1
  69. package/scss/chat/_variables.scss +14 -14
  70. package/scss/checkbox/_theme.scss +1 -1
  71. package/scss/checkbox/_variables.scss +8 -8
  72. package/scss/chip/_theme.scss +14 -14
  73. package/scss/chip/_variables.scss +14 -14
  74. package/scss/color-preview/_variables.scss +3 -3
  75. package/scss/coloreditor/_variables.scss +4 -4
  76. package/scss/colorgradient/_variables.scss +5 -5
  77. package/scss/core/_index.scss +8 -3
  78. package/scss/core/color-system/_swatch.scss +0 -3
  79. package/scss/dataviz/_variables.scss +61 -48
  80. package/scss/dialog/_theme.scss +1 -1
  81. package/scss/dialog/_variables.scss +3 -3
  82. package/scss/dock-manager/_variables.scss +7 -7
  83. package/scss/draggable/_variables.scss +3 -3
  84. package/scss/drawer/_variables.scss +9 -9
  85. package/scss/dropzone/_variables.scss +6 -6
  86. package/scss/editor/_variables.scss +11 -4
  87. package/scss/expansion-panel/_variables.scss +5 -5
  88. package/scss/fab/_theme.scss +20 -20
  89. package/scss/fab/_variables.scss +15 -4
  90. package/scss/filemanager/_variables.scss +6 -6
  91. package/scss/filter/_variables.scss +2 -2
  92. package/scss/floating-label/_theme.scss +1 -1
  93. package/scss/floating-label/_variables.scss +2 -2
  94. package/scss/forms/_variables.scss +1 -1
  95. package/scss/gantt/_variables.scss +27 -27
  96. package/scss/grid/_theme.scss +12 -83
  97. package/scss/grid/_variables.scss +8 -8
  98. package/scss/imageeditor/_variables.scss +4 -4
  99. package/scss/index.scss +3 -0
  100. package/scss/input/_variables.scss +13 -13
  101. package/scss/list/_theme.scss +1 -1
  102. package/scss/list/_variables.scss +8 -8
  103. package/scss/listbox/_variables.scss +3 -3
  104. package/scss/listgroup/_variables.scss +3 -3
  105. package/scss/listview/_theme.scss +1 -1
  106. package/scss/listview/_variables.scss +5 -5
  107. package/scss/loader/_variables.scss +17 -3
  108. package/scss/map/_variables.scss +5 -5
  109. package/scss/marquee/_index.scss +16 -0
  110. package/scss/marquee/_layout.scss +6 -0
  111. package/scss/marquee/_theme.scss +6 -0
  112. package/scss/marquee/_variables.scss +11 -0
  113. package/scss/mediaplayer/_variables.scss +4 -4
  114. package/scss/menu/_variables.scss +6 -6
  115. package/scss/messagebox/_variables.scss +15 -1
  116. package/scss/no-data/_variables.scss +1 -1
  117. package/scss/notification/_functions.scss +1 -1
  118. package/scss/notification/_variables.scss +15 -4
  119. package/scss/orgchart/_variables.scss +8 -8
  120. package/scss/overlay/_variables.scss +12 -1
  121. package/scss/pager/_variables.scss +6 -6
  122. package/scss/panel/_variables.scss +3 -3
  123. package/scss/panelbar/_variables.scss +20 -20
  124. package/scss/pdf-viewer/_variables.scss +14 -14
  125. package/scss/pivotgrid/_variables.scss +23 -23
  126. package/scss/popover/_variables.scss +3 -3
  127. package/scss/popup/_variables.scss +3 -3
  128. package/scss/progressbar/_variables.scss +6 -6
  129. package/scss/prompt/_variables.scss +12 -12
  130. package/scss/radio/_theme.scss +1 -1
  131. package/scss/radio/_variables.scss +2 -2
  132. package/scss/rating/_variables.scss +4 -4
  133. package/scss/scheduler/_theme.scss +3 -3
  134. package/scss/scheduler/_variables.scss +19 -16
  135. package/scss/scrollview/_variables.scss +5 -5
  136. package/scss/signature/_variables.scss +1 -1
  137. package/scss/skeleton/_variables.scss +1 -1
  138. package/scss/slider/_theme.scss +1 -1
  139. package/scss/slider/_variables.scss +10 -10
  140. package/scss/splitter/_variables.scss +8 -8
  141. package/scss/spreadsheet/_theme.scss +6 -6
  142. package/scss/spreadsheet/_variables.scss +30 -29
  143. package/scss/stepper/_variables.scss +15 -15
  144. package/scss/switch/_theme.scss +1 -1
  145. package/scss/switch/_variables.scss +4 -4
  146. package/scss/table/_layout.scss +18 -22
  147. package/scss/table/_theme.scss +6 -32
  148. package/scss/table/_variables.scss +6 -6
  149. package/scss/tabstrip/_variables.scss +10 -10
  150. package/scss/taskboard/_variables.scss +15 -15
  151. package/scss/tilelayout/_variables.scss +2 -2
  152. package/scss/timeline/_variables.scss +7 -7
  153. package/scss/timeselector/_variables.scss +13 -8
  154. package/scss/toolbar/_theme.scss +10 -10
  155. package/scss/toolbar/_variables.scss +7 -7
  156. package/scss/tooltip/_functions.scss +1 -1
  157. package/scss/tooltip/_variables.scss +15 -4
  158. package/scss/treeview/_variables.scss +5 -5
  159. package/scss/typography/_variables.scss +3 -3
  160. package/scss/upload/_theme.scss +1 -1
  161. package/scss/upload/_variables.scss +13 -13
  162. package/scss/window/_variables.scss +6 -6
  163. package/scss/core/color-system/_functions.scss +0 -104
  164. package/scss/core/color-system/_palettes-legacy.scss +0 -671
  165. package/scss/core/color-system/_swatch-legacy.scss +0 -299
@@ -10,7 +10,7 @@ $kendo-dock-manager-border-width: 1px !default;
10
10
  $kendo-dock-manager-border-style: solid !default;
11
11
  /// The color of the border around the DockManager component.
12
12
  /// @group dock-manager
13
- $kendo-dock-manager-border: $kendo-base-border !default;
13
+ $kendo-dock-manager-border: k-color(border) !default;
14
14
 
15
15
  /// The vertical padding of the pane header in the DockManager component.
16
16
  /// @group dock-manager
@@ -26,7 +26,7 @@ $kendo-dock-manager-pane-header-border-width: $kendo-dock-manager-border-width !
26
26
  $kendo-dock-manager-pane-header-border-style: solid !default;
27
27
  /// The background color of the pane header in the DockManager component.
28
28
  /// @group dock-manager
29
- $kendo-dock-manager-pane-header-bg: $kendo-component-bg !default;
29
+ $kendo-dock-manager-pane-header-bg: k-color(surface-alt) !default;
30
30
 
31
31
  /// The vertical padding of the pane title in the DockManager component.
32
32
  /// @group dock-manager
@@ -76,10 +76,10 @@ $kendo-dock-manager-unpinned-container-shadow: 4px 0px 5px 0px rgba(0, 0, 0, 0.0
76
76
  $kendo-dock-indicator-padding: k-spacing(1.5) !default;
77
77
  /// The background color of the dock indicator in the DockManager component.
78
78
  /// @group dock-manager
79
- $kendo-dock-indicator-bg: $kendo-base-bg !default;
79
+ $kendo-dock-indicator-bg: k-color(app-surface) !default;
80
80
  /// The text color of the dock indicator in the DockManager component.
81
81
  /// @group dock-manager
82
- $kendo-dock-indicator-text: $kendo-color-primary !default;
82
+ $kendo-dock-indicator-text: k-color(primary) !default;
83
83
  /// The outline width of the dock indicator in the DockManager component.
84
84
  /// @group dock-manager
85
85
  $kendo-dock-indicator-outline-width: 1px !default;
@@ -95,7 +95,7 @@ $kendo-dock-indicator-shadow: drop-shadow( 0px 1px 18px rgba(0, 0, 0, 0.12) ) dr
95
95
 
96
96
  /// The background color of the hovered dock indicator in the DockManager component.
97
97
  /// @group dock-manager
98
- $kendo-dock-indicator-hover-bg: if($kendo-enable-color-system, k-color( primary-hover ), color.mix( $kendo-color-white, $kendo-color-primary, 8% )) !default;
98
+ $kendo-dock-indicator-hover-bg: k-color(primary-hover) !default;
99
99
  /// The text color of the hovered dock indicator in the DockManager component.
100
100
  /// @group dock-manager
101
101
  $kendo-dock-indicator-hover-text: $kendo-color-white !default;
@@ -111,10 +111,10 @@ $kendo-dock-manager-dock-preview-border-style: dashed !default;
111
111
  $kendo-dock-manager-dock-preview-border-radius: k-border-radius(sm) !default;
112
112
  /// The background color of the dropping area in the DockManager component.
113
113
  /// @group dock-manager
114
- $kendo-dock-manager-dock-preview-bg: if($kendo-enable-color-system, color-mix(in srgb, k-color( primary ) 16%, transparent), rgba( $kendo-color-primary, .16 )) !default;
114
+ $kendo-dock-manager-dock-preview-bg: color-mix(in srgb, k-color(primary) 16%, transparent) !default;
115
115
  /// The border color of the dropping area in the DockManager component.
116
116
  /// @group dock-manager
117
- $kendo-dock-manager-dock-preview-border: $kendo-color-primary !default;
117
+ $kendo-dock-manager-dock-preview-border: k-color(primary) !default;
118
118
 
119
119
  @forward "@progress/kendo-theme-core/scss/components/dock-manager/_variables.scss" with (
120
120
  $kendo-dock-manager-border-width: $kendo-dock-manager-border-width,
@@ -11,8 +11,8 @@ $kendo-drag-hint-font-size: var( --kendo-font-size, inherit ) !default;
11
11
  $kendo-drag-hint-font-family: var( --kendo-font-family, inherit ) !default;
12
12
  $kendo-drag-hint-line-height: math.div( 20, 14 ) !default;
13
13
 
14
- $kendo-drag-hint-bg: if($kendo-enable-color-system, k-color( base-subtle ), k-try-shade( $kendo-body-bg )) !default;
15
- $kendo-drag-hint-text: $kendo-body-text !default;
14
+ $kendo-drag-hint-bg: k-color(base-subtle) !default;
15
+ $kendo-drag-hint-text: k-color(on-app-surface) !default;
16
16
  $kendo-drag-hint-border: unset !default;
17
17
  $kendo-drag-hint-gradient: null !default;
18
18
  $kendo-drag-hint-shadow: k-elevation(3) !default;
@@ -28,7 +28,7 @@ $kendo-drop-hint-line-h-height: 1px !default;
28
28
  $kendo-drop-hint-line-v-width: $kendo-drop-hint-line-h-height !default;
29
29
  $kendo-drop-hint-line-v-height: $kendo-drop-hint-line-h-width !default;
30
30
 
31
- $kendo-drop-hint-bg: $kendo-color-primary !default;
31
+ $kendo-drop-hint-bg: k-color(primary) !default;
32
32
 
33
33
  @forward "@progress/kendo-theme-core/scss/components/draggable/_variables.scss" with (
34
34
  $kendo-drag-hint-padding-x: $kendo-drag-hint-padding-x,
@@ -5,13 +5,13 @@
5
5
 
6
6
  /// The background color of the Drawer.
7
7
  /// @group drawer
8
- $kendo-drawer-bg: $kendo-component-bg !default;
8
+ $kendo-drawer-bg: k-color(surface-alt) !default;
9
9
  /// The text color of the Drawer.
10
10
  /// @group drawer
11
- $kendo-drawer-text: $kendo-component-text !default;
11
+ $kendo-drawer-text: k-color(on-app-surface) !default;
12
12
  /// The border color of the Drawer.
13
13
  /// @group drawer
14
- $kendo-drawer-border: $kendo-component-border !default;
14
+ $kendo-drawer-border: k-color(border) !default;
15
15
  /// The border width of the Drawer.
16
16
  /// @group drawer
17
17
  $kendo-drawer-border-width: 1px !default;
@@ -82,14 +82,14 @@ $kendo-drawer-mini-initial-width: calc(2 * #{$kendo-drawer-item-padding-x} + #{$
82
82
 
83
83
  /// The background color of the hovered Drawer item.
84
84
  /// @group drawer
85
- $kendo-drawer-hover-bg: $kendo-hover-bg !default;
85
+ $kendo-drawer-hover-bg: k-color(base-hover) !default;
86
86
  /// The text color of the hovered Drawer item.
87
87
  /// @group drawer
88
- $kendo-drawer-hover-text: $kendo-hover-text !default;
88
+ $kendo-drawer-hover-text: k-color(on-app-surface) !default;
89
89
 
90
90
  /// The background color of the focused Drawer item.
91
91
  /// @group drawer
92
- $kendo-drawer-focus-bg: $kendo-hover-bg !default;
92
+ $kendo-drawer-focus-bg: k-color(base-hover) !default;
93
93
  /// The box shadow of the focused Drawer item.
94
94
  /// @group drawer
95
95
  $kendo-drawer-focus-shadow: none !default;
@@ -99,14 +99,14 @@ $kendo-drawer-focus-shadow: none !default;
99
99
  $kendo-drawer-selected-bg: unset !default;
100
100
  /// The text color of the selected Drawer item.
101
101
  /// @group drawer
102
- $kendo-drawer-selected-text: $kendo-color-secondary !default;
102
+ $kendo-drawer-selected-text: k-color(secondary) !default;
103
103
 
104
104
  /// The background color of the selected and hovered Drawer item.
105
105
  /// @group drawer
106
- $kendo-drawer-selected-hover-bg: $kendo-hover-bg !default;
106
+ $kendo-drawer-selected-hover-bg: k-color(base-hover) !default;
107
107
  /// The text color of the selected and hovered Drawer item.
108
108
  /// @group drawer
109
- $kendo-drawer-selected-hover-text: $kendo-color-secondary !default;
109
+ $kendo-drawer-selected-hover-text: k-color(secondary) !default;
110
110
 
111
111
  @forward "@progress/kendo-theme-core/scss/components/drawer/_variables.scss" with (
112
112
  $kendo-drawer-bg: $kendo-drawer-bg,
@@ -29,23 +29,23 @@ $kendo-dropzone-line-height: math.div( 20, 14 ) !default;
29
29
 
30
30
  /// The background color of the DropZone.
31
31
  /// @group dropzone
32
- $kendo-dropzone-bg: if($kendo-enable-color-system, k-color( base-subtle ), k-try-shade( $kendo-base-bg, 1 )) !default;
32
+ $kendo-dropzone-bg: k-color(base-subtle) !default;
33
33
  /// The text color of the DropZone.
34
34
  /// @group dropzone
35
- $kendo-dropzone-text: $kendo-base-text !default;
35
+ $kendo-dropzone-text: k-color(on-app-surface) !default;
36
36
  /// The border color of the DropZone.
37
37
  /// @group dropzone
38
- $kendo-dropzone-border: $kendo-base-border !default;
38
+ $kendo-dropzone-border: k-color(border) !default;
39
39
 
40
40
  /// The spacing below the DropZone icon.
41
41
  /// @group dropzone
42
42
  $kendo-dropzone-icon-spacing: k-spacing(6) !default;
43
43
  /// The text color of the DropZone icon.
44
44
  /// @group dropzone
45
- $kendo-dropzone-icon-text: if($kendo-enable-color-system, k-color( subtle ), k-try-tint( $kendo-dropzone-text, 4 )) !default;
45
+ $kendo-dropzone-icon-text: k-color(subtle) !default;
46
46
  /// The text color of the hovered DropZone icon.
47
47
  /// @group dropzone
48
- $kendo-dropzone-icon-hover-text: $kendo-color-primary !default;
48
+ $kendo-dropzone-icon-hover-text: k-color(primary) !default;
49
49
 
50
50
  /// The font size of the DropZone hint.
51
51
  /// @group dropzone
@@ -65,7 +65,7 @@ $kendo-dropzone-note-font-size: var( --kendo-font-size-sm, inherit ) !default;
65
65
  $kendo-dropzone-note-spacing: null !default;
66
66
  /// The text color of the DropZone note.
67
67
  /// @group dropzone
68
- $kendo-dropzone-note-text: $kendo-subtle-text !default;
68
+ $kendo-dropzone-note-text: k-color(subtle) !default;
69
69
 
70
70
  @forward "@progress/kendo-theme-core/scss/components/dropzone/_variables.scss" with (
71
71
  $kendo-dropzone-padding-x: $kendo-dropzone-padding-x,
@@ -27,14 +27,14 @@ $kendo-editor-placeholder-opacity: $kendo-input-placeholder-opacity !default;
27
27
 
28
28
  /// The selected text color of the Editor.
29
29
  /// @group editor
30
- $kendo-editor-selected-text: $kendo-color-primary-contrast !default;
30
+ $kendo-editor-selected-text: k-color(on-primary) !default;
31
31
  /// The selected background color of the Editor.
32
32
  /// @group editor
33
- $kendo-editor-selected-bg: $kendo-color-primary !default;
33
+ $kendo-editor-selected-bg: k-color(primary) !default;
34
34
 
35
35
  /// The highlighted background color of the Editor.
36
36
  /// @group editor
37
- $kendo-editor-highlighted-bg: if($kendo-enable-color-system, k-color( primary-subtle ), color.mix($kendo-color-primary, #ffffff, 20%)) !default;
37
+ $kendo-editor-highlighted-bg: k-color(primary-subtle) !default;
38
38
 
39
39
  /// The horizontal margin of the Editor's export tool icon.
40
40
  /// @group editor
@@ -78,6 +78,10 @@ $kendo-editor-filebrowser-tiles-padding-y: k-spacing(1) !default;
78
78
  /// @group editor
79
79
  $kendo-editor-content-padding: k-spacing(4) !default;
80
80
 
81
+ $kendo-editor-ct-cell-text: k-color(on-secondary) !default;
82
+ $kendo-editor-ct-cell-bg: k-color(secondary) !default;
83
+ $kendo-editor-ct-cell-border: k-color(border) !default;
84
+
81
85
  @forward "@progress/kendo-theme-core/scss/components/editor/_variables.scss" with (
82
86
  $kendo-editor-border-width: $kendo-editor-border-width,
83
87
  $kendo-editor-font-family: $kendo-editor-font-family,
@@ -99,5 +103,8 @@ $kendo-editor-content-padding: k-spacing(4) !default;
99
103
  $kendo-editor-inline-padding-y: $kendo-editor-inline-padding-y,
100
104
  $kendo-editor-filebrowser-tiles-padding-x: $kendo-editor-filebrowser-tiles-padding-x,
101
105
  $kendo-editor-filebrowser-tiles-padding-y: $kendo-editor-filebrowser-tiles-padding-y,
102
- $kendo-editor-content-padding: $kendo-editor-content-padding
106
+ $kendo-editor-content-padding: $kendo-editor-content-padding,
107
+ $kendo-editor-ct-cell-text: $kendo-editor-ct-cell-text,
108
+ $kendo-editor-ct-cell-bg: $kendo-editor-ct-cell-bg,
109
+ $kendo-editor-ct-cell-border: $kendo-editor-ct-cell-border
103
110
  );
@@ -20,13 +20,13 @@ $kendo-expander-line-height: var( --kendo-line-height, normal ) !default;
20
20
 
21
21
  /// The text color of the ExpansionPanel.
22
22
  /// @group expander
23
- $kendo-expander-text: $kendo-component-text !default;
23
+ $kendo-expander-text: k-color(on-app-surface) !default;
24
24
  /// The background color of the ExpansionPanel.
25
25
  /// @group expander
26
- $kendo-expander-bg: $kendo-component-bg !default;
26
+ $kendo-expander-bg: k-color(surface-alt) !default;
27
27
  /// The border color of the ExpansionPanel.
28
28
  /// @group expander
29
- $kendo-expander-border: $kendo-component-border !default;
29
+ $kendo-expander-border: k-color(border) !default;
30
30
 
31
31
  /// The box shadow of the focused ExpansionPanel.
32
32
  /// @group expander
@@ -61,11 +61,11 @@ $kendo-expander-header-focus-shadow: none !default;
61
61
 
62
62
  /// The text color of the ExpansionPanel title.
63
63
  /// @group expander
64
- $kendo-expander-title-text: $kendo-color-secondary !default;
64
+ $kendo-expander-title-text: k-color(secondary) !default;
65
65
 
66
66
  /// The text color of the ExpansionPanel sub-title.
67
67
  /// @group expander
68
- $kendo-expander-header-sub-title-text: $kendo-subtle-text !default;
68
+ $kendo-expander-header-sub-title-text: k-color(subtle) !default;
69
69
 
70
70
  /// The horizontal margin of the ExpansionPanel indicator.
71
71
  /// @group expander
@@ -11,7 +11,7 @@
11
11
  .k-fab-solid-#{$name} {
12
12
  @include box-shadow($kendo-fab-shadow);
13
13
  border-color: $color;
14
- color: if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-color( $color ));
14
+ color: k-color(on-#{$name});
15
15
  background-color: $color;
16
16
  }
17
17
  }
@@ -20,8 +20,8 @@
20
20
  @each $name, $color in $kendo-fab-theme-colors {
21
21
  .k-hover.k-fab-solid-#{$name},
22
22
  .k-fab-solid-#{$name}:hover {
23
- border-color: if($kendo-enable-color-system, k-color( #{$name}-hover ), k-true-mix( #ffffff, $color, 8%));
24
- background-color: if($kendo-enable-color-system, k-color( #{$name}-hover ), k-true-mix( #ffffff, $color, 8%));
23
+ border-color: k-color(#{$name}-hover);
24
+ background-color: k-color(#{$name}-hover);
25
25
  }
26
26
  }
27
27
 
@@ -29,8 +29,8 @@
29
29
  @each $name, $color in $kendo-fab-theme-colors {
30
30
  .k-focus.k-fab-solid-#{$name},
31
31
  .k-fab-solid-#{$name}:focus {
32
- border-color: if($kendo-enable-color-system, k-color( #{$name}-active ), k-true-mix( #ffffff, $color, 12%));
33
- background-color: if($kendo-enable-color-system, k-color( #{$name}-active ), k-true-mix( #ffffff, $color, 12%));
32
+ border-color: k-color(#{$name}-active);
33
+ background-color: k-color(#{$name}-active);
34
34
  }
35
35
  }
36
36
 
@@ -39,8 +39,8 @@
39
39
  .k-active.k-fab-solid-#{$name},
40
40
  .k-selected.k-fab-solid-#{$name},
41
41
  .k-fab-solid-#{$name}:active {
42
- border-color: if($kendo-enable-color-system, k-color( #{$name}-active ), k-true-mix( #ffffff, $color, 16%));
43
- background-color: if($kendo-enable-color-system, k-color( #{$name}-active ), k-true-mix( #ffffff, $color, 16%));
42
+ border-color: k-color(#{$name}-active);
43
+ background-color: k-color(#{$name}-active);
44
44
  box-shadow: $kendo-fab-active-shadow;
45
45
  }
46
46
  }
@@ -50,9 +50,9 @@
50
50
  .k-disabled.k-fab-solid-#{$name},
51
51
  .k-fab-solid-#{$name}:disabled {
52
52
  @include box-shadow($kendo-fab-disabled-shadow);
53
- border-color: if($kendo-enable-color-system, transparent, k-try-tint( k-try-shade( $kendo-body-bg, 12% ), 5));
54
- background-color: if($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 9%, transparent), k-try-tint( k-try-shade( $kendo-body-bg, 12% ), 5));
55
- color: if($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 32%, transparent), k-color-tint( $kendo-disabled-text, 4));
53
+ border-color: transparent;
54
+ background-color: color-mix(in srgb, k-color(on-app-surface) 9%, transparent);
55
+ color: color-mix(in srgb, k-color(on-app-surface) 32%, transparent);
56
56
  opacity: 1;
57
57
  }
58
58
  }
@@ -78,25 +78,25 @@
78
78
  // Hover state
79
79
  .k-fab-item.k-hover .k-fab-item-icon,
80
80
  .k-fab-item:hover .k-fab-item-icon {
81
- border-color: if($kendo-enable-color-system, k-color( base-hover ), k-true-mix( #000000, $kendo-fab-item-icon-border, 8%));
82
- background-color: if($kendo-enable-color-system, k-color( base-hover ), k-true-mix( #000000, $kendo-fab-item-icon-bg, 8%));
83
- color: if($kendo-enable-color-system, k-color( on-base ), k-true-mix( #000000, $kendo-fab-item-icon-text, 8%));
81
+ border-color: k-color(base-hover);
82
+ background-color: k-color(base-hover);
83
+ color: k-color(on-base);
84
84
  }
85
85
 
86
86
  // Focus state
87
87
  .k-fab-item:focus .k-fab-item-icon,
88
88
  .k-fab-item.k-focus .k-fab-item-icon {
89
- border-color: if($kendo-enable-color-system, k-color( base-active ), k-true-mix( #000000, $kendo-fab-item-icon-border, 12%));
90
- background-color: if($kendo-enable-color-system, k-color( base-active ), k-true-mix( #000000, $kendo-fab-item-icon-bg, 12%));
91
- color: if($kendo-enable-color-system, k-color( on-base ), k-true-mix( #000000, $kendo-fab-item-icon-text, 12%));
89
+ border-color: k-color(base-active);
90
+ background-color: k-color(base-active);
91
+ color: k-color(on-base);
92
92
  }
93
93
 
94
94
  // Active state
95
95
  .k-fab-item.k-active .k-fab-item-icon,
96
96
  .k-fab-item:active .k-fab-item-icon {
97
97
  @include box-shadow($kendo-fab-item-active-shadow);
98
- border-color: if($kendo-enable-color-system, k-color( base ), k-true-mix( #ffffff, $kendo-fab-item-icon-border, 12%));
99
- background-color: if($kendo-enable-color-system, k-color( base ), k-true-mix( #ffffff, $kendo-fab-item-icon-bg, 12%));
98
+ border-color: k-color(base);
99
+ background-color: k-color(base);
100
100
  }
101
101
 
102
102
  // Disabled state
@@ -107,8 +107,8 @@
107
107
  .k-fab-item-text,
108
108
  .k-fab-item-icon {
109
109
  @include box-shadow($kendo-fab-item-disabled-shadow);
110
- background-color: if($kendo-enable-color-system, color-mix(in srgb, k-color( base ) 60%, transparent), k-try-tint( $kendo-fab-item-bg, 8 ));
111
- color: if($kendo-enable-color-system, color-mix(in srgb, k-color( on-base ) 60%, transparent), k-try-tint( $kendo-fab-item-text, 8 ));
110
+ background-color: color-mix(in srgb, k-color(base) 60%, transparent);
111
+ color: color-mix(in srgb, k-color(on-base) 60%, transparent);
112
112
  }
113
113
  }
114
114
 
@@ -98,7 +98,18 @@ $kendo-fab-item-icon-border-radius: 50% !default;
98
98
 
99
99
  /// The theme colors map for the FAB.
100
100
  /// @group floating-action-button
101
- $kendo-fab-theme-colors: $kendo-theme-colors !default;
101
+ $kendo-fab-theme-colors: (
102
+ "primary": k-color(primary),
103
+ "secondary": k-color(secondary),
104
+ "tertiary": k-color(tertiary),
105
+ "info": k-color(info),
106
+ "success": k-color(success),
107
+ "warning": k-color(warning),
108
+ "error": k-color(error),
109
+ "dark": k-color(dark),
110
+ "light": k-color(light),
111
+ "inverse": if($kendo-is-dark-theme, k-color(light), k-color(dark))
112
+ ) !default;
102
113
 
103
114
  /// The size map for the FAB.
104
115
  /// @group floating-action-button
@@ -129,13 +140,13 @@ $kendo-fab-active-shadow: k-elevation(7) !default;
129
140
 
130
141
  /// The base text color of the FAB item.
131
142
  /// @group floating-action-button
132
- $kendo-fab-item-text: $kendo-component-text !default;
143
+ $kendo-fab-item-text: k-color(on-app-surface) !default;
133
144
  /// The base background color of the FAB item.
134
145
  /// @group floating-action-button
135
- $kendo-fab-item-bg: $kendo-component-bg !default;
146
+ $kendo-fab-item-bg: k-color(surface-alt) !default;
136
147
  /// The base border color of the FAB item.
137
148
  /// @group floating-action-button
138
- $kendo-fab-item-border: $kendo-component-border !default;
149
+ $kendo-fab-item-border: k-color(border) !default;
139
150
 
140
151
  /// The base text color of the FAB item icon.
141
152
  /// @group floating-action-button
@@ -21,20 +21,20 @@ $kendo-file-manager-font-size: var( --kendo-font-size, inherit ) !default;
21
21
  $kendo-file-manager-line-height: var( --kendo-line-height, normal ) !default;
22
22
  /// The background color of the FileManager.
23
23
  /// @group file-manager
24
- $kendo-file-manager-bg: $kendo-component-bg !default;
24
+ $kendo-file-manager-bg: k-color(surface-alt) !default;
25
25
  /// The text color of the FileManager.
26
26
  /// @group file-manager
27
- $kendo-file-manager-text: $kendo-component-text !default;
27
+ $kendo-file-manager-text: k-color(on-app-surface) !default;
28
28
  /// The border color of the FileManager.
29
29
  /// @group file-manager
30
- $kendo-file-manager-border: $kendo-component-border !default;
30
+ $kendo-file-manager-border: k-color(border) !default;
31
31
 
32
32
  /// The border width of the FileManager Toolbar.
33
33
  /// @group file-manager
34
34
  $kendo-file-manager-toolbar-border-width: $kendo-file-manager-border-width !default;
35
35
  /// The background color of the FileManager Toolbar.
36
36
  /// @group file-manager
37
- $kendo-file-manager-toolbar-bg: if($kendo-enable-color-system, k-color( surface ), k-try-shade( $kendo-button-bg, .5 )) !default;
37
+ $kendo-file-manager-toolbar-bg: k-color(surface) !default;
38
38
  /// The text color of the FileManager Toolbar.
39
39
  /// @group file-manager
40
40
  $kendo-file-manager-toolbar-text: null !default;
@@ -123,7 +123,7 @@ $kendo-file-manager-listview-item-border: null !default;
123
123
  $kendo-file-manager-listview-item-icon-bg: null !default;
124
124
  /// The text color of the FileManager ListView item icon.
125
125
  /// @group file-manager
126
- $kendo-file-manager-listview-item-icon-text: if($kendo-enable-color-system, k-color( subtle ), k-try-tint($kendo-file-manager-text, 4)) !default;
126
+ $kendo-file-manager-listview-item-icon-text: k-color(subtle) !default;
127
127
  /// The border color of the FileManager ListView item icon.
128
128
  /// @group file-manager
129
129
  $kendo-file-manager-listview-item-icon-border: null !default;
@@ -180,7 +180,7 @@ $kendo-file-manager-preview-border: null !default;
180
180
  $kendo-file-manager-preview-icon-bg: null !default;
181
181
  /// The text color of the FileManager preview icon.
182
182
  /// @group file-manager
183
- $kendo-file-manager-preview-icon-text: if($kendo-enable-color-system, k-color( subtle ), k-try-tint($kendo-file-manager-text, 4)) !default;
183
+ $kendo-file-manager-preview-icon-text: k-color(subtle) !default;
184
184
  /// The border color of the FileManager preview icon.
185
185
  /// @group file-manager
186
186
  $kendo-file-manager-preview-icon-border: null !default;
@@ -22,10 +22,10 @@ $kendo-filter-operator-dropdown-width: 15em !default;
22
22
 
23
23
  /// The text color of the Filter preview field.
24
24
  /// @group filter
25
- $kendo-filter-preview-field-text: $kendo-color-primary !default;
25
+ $kendo-filter-preview-field-text: k-color(primary) !default;
26
26
  /// The text color of the Filter preview operator.
27
27
  /// @group filter
28
- $kendo-filter-preview-operator-text: $kendo-subtle-text !default;
28
+ $kendo-filter-preview-operator-text: k-color(subtle) !default;
29
29
 
30
30
  /// The box shadow of the focused Filter toolbar.
31
31
  /// @group filter
@@ -13,7 +13,7 @@
13
13
  .k-invalid + .k-floating-label,
14
14
  .ng-invalid.ng-touched + .k-floating-label,
15
15
  .ng-invalid.ng-dirty + .k-floating-label {
16
- @include fill( $color: $kendo-color-error );
16
+ @include fill( $color: k-color(error) );
17
17
  }
18
18
  }
19
19
 
@@ -44,14 +44,14 @@ $kendo-floating-label-transition: .15s cubic-bezier( .4, 0, .2, 1 ) !default;
44
44
  $kendo-floating-label-bg: null !default;
45
45
  /// The text color of the Floating Label.
46
46
  /// @group floating-label
47
- $kendo-floating-label-text: $kendo-subtle-text !default;
47
+ $kendo-floating-label-text: k-color(subtle) !default;
48
48
 
49
49
  /// The background color of the focused Floating Label.
50
50
  /// @group floating-label
51
51
  $kendo-floating-label-focus-bg: null !default;
52
52
  /// The text color of the focused Floating Label.
53
53
  /// @group floating-label
54
- $kendo-floating-label-focus-text: $kendo-color-primary !default;
54
+ $kendo-floating-label-focus-text: k-color(primary) !default;
55
55
 
56
56
  @forward "@progress/kendo-theme-core/scss/components/floating-label/_variables.scss" with (
57
57
  $kendo-floating-label-scale: $kendo-floating-label-scale,
@@ -46,7 +46,7 @@ $kendo-form-legend-border-width: 0 0 2px !default;
46
46
  $kendo-form-legend-border-style: solid !default;
47
47
  /// The border color of the Form legend.
48
48
  /// @group form
49
- $kendo-form-legend-border-color: $kendo-component-border !default;
49
+ $kendo-form-legend-border-color: k-color(border) !default;
50
50
  /// The width of the Form legend.
51
51
  /// @group form
52
52
  $kendo-form-legend-width: 100% !default;
@@ -20,13 +20,13 @@ $kendo-gantt-line-height: var( --kendo-line-height, normal ) !default;
20
20
 
21
21
  /// The background color of the Gantt.
22
22
  /// @group gantt
23
- $kendo-gantt-bg: $kendo-component-bg !default;
23
+ $kendo-gantt-bg: k-color(surface-alt) !default;
24
24
  /// The text color of the Gantt.
25
25
  /// @group gantt
26
- $kendo-gantt-text: $kendo-component-text !default;
26
+ $kendo-gantt-text: k-color(on-app-surface) !default;
27
27
  /// The border color of the Gantt.
28
28
  /// @group gantt
29
- $kendo-gantt-border: $kendo-component-border !default;
29
+ $kendo-gantt-border: k-color(border) !default;
30
30
 
31
31
  /// The background color of the Gantt TreeList.
32
32
  /// @group gantt
@@ -40,7 +40,7 @@ $kendo-gantt-treelist-border: null !default;
40
40
 
41
41
  /// The background color of the Gantt non-working days.
42
42
  /// @group gantt
43
- $kendo-gantt-nonwork-bg: if($kendo-enable-color-system, color-mix(in srgb, k-color( on-base ) 3%, transparent), rgba( k-contrast-color( $kendo-gantt-bg ), .025 )) !default;
43
+ $kendo-gantt-nonwork-bg: color-mix(in srgb, k-color(on-base) 3%, transparent) !default;
44
44
  /// The text color of the Gantt non-working days.
45
45
  /// @group gantt
46
46
  $kendo-gantt-nonwork-text: null !default;
@@ -53,10 +53,10 @@ $kendo-gantt-nonwork-border: null !default;
53
53
  $kendo-gantt-line-size: 2px !default;
54
54
  /// The background fill color of the Gantt connecting lines.
55
55
  /// @group gantt
56
- $kendo-gantt-line-fill: if($kendo-enable-color-system, k-color( subtle ), color.mix( $kendo-gantt-text, $kendo-gantt-bg )) !default;
56
+ $kendo-gantt-line-fill: k-color(subtle) !default;
57
57
  /// The background fill of the selected Gantt connecting lines.
58
58
  /// @group gantt
59
- $kendo-gantt-line-selected-fill: $kendo-selected-bg !default;
59
+ $kendo-gantt-line-selected-fill: k-color(secondary) !default;
60
60
 
61
61
  /// The size of the Gantt task dot.
62
62
  /// @group gantt
@@ -79,29 +79,29 @@ $kendo-gantt-dot-hover-border: $kendo-gantt-text !default;
79
79
 
80
80
  /// The background color of the Gantt milestone.
81
81
  /// @group gantt
82
- $kendo-gantt-milestone-bg: $kendo-color-primary !default;
82
+ $kendo-gantt-milestone-bg: k-color(primary) !default;
83
83
  /// The border color of the Gantt milestone.
84
84
  /// @group gantt
85
- $kendo-gantt-milestone-border: $kendo-color-primary !default;
85
+ $kendo-gantt-milestone-border: k-color(primary) !default;
86
86
  /// The background color of the selected Gantt milestone.
87
87
  /// @group gantt
88
- $kendo-gantt-milestone-selected-bg: $kendo-color-secondary !default;
88
+ $kendo-gantt-milestone-selected-bg: k-color(secondary) !default;
89
89
  /// The border color of the selected Gantt milestone.
90
90
  /// @group gantt
91
- $kendo-gantt-milestone-selected-border: $kendo-color-secondary !default;
91
+ $kendo-gantt-milestone-selected-border: k-color(secondary) !default;
92
92
 
93
93
  /// The background color of the Gantt summary.
94
94
  /// @group gantt
95
- $kendo-gantt-summary-bg: if($kendo-enable-color-system, k-color( primary-emphasis ), color.mix( $kendo-color-primary, $kendo-gantt-bg )) !default;
95
+ $kendo-gantt-summary-bg: k-color(primary-emphasis) !default;
96
96
  /// The background color of the Gantt summary progress.
97
97
  /// @group gantt
98
- $kendo-gantt-summary-progress-bg: $kendo-color-primary !default;
98
+ $kendo-gantt-summary-progress-bg: k-color(primary) !default;
99
99
  /// The background color of the selected Gantt summary.
100
100
  /// @group gantt
101
- $kendo-gantt-summary-selected-bg: if($kendo-enable-color-system, k-color( secondary-subtle-active ), color.mix( $kendo-color-secondary, $kendo-gantt-bg )) !default;
101
+ $kendo-gantt-summary-selected-bg: k-color(secondary-subtle-active) !default;
102
102
  /// The background color of the selected Gantt summary progress.
103
103
  /// @group gantt
104
- $kendo-gantt-summary-progress-selected-bg: $kendo-color-secondary !default;
104
+ $kendo-gantt-summary-progress-selected-bg: k-color(secondary) !default;
105
105
 
106
106
  /// The horizontal padding of the Gantt task.
107
107
  /// @group gantt
@@ -114,28 +114,28 @@ $kendo-gantt-task-padding-y: k-spacing(1) !default;
114
114
  $kendo-gantt-task-border-width: 0px !default;
115
115
  /// The background color of the Gantt task.
116
116
  /// @group gantt
117
- $kendo-gantt-task-bg: if($kendo-enable-color-system, k-color( primary-emphasis ), color.mix( $kendo-color-primary, $kendo-gantt-bg )) !default;
117
+ $kendo-gantt-task-bg: k-color(primary-emphasis) !default;
118
118
  /// The text color of the Gantt task.
119
119
  /// @group gantt
120
- $kendo-gantt-task-text: $kendo-color-primary-contrast !default;
120
+ $kendo-gantt-task-text: k-color(on-primary) !default;
121
121
  /// The border color of the Gantt task.
122
122
  /// @group gantt
123
123
  $kendo-gantt-task-border: null !default;
124
124
  /// The background color of the Gantt task progress.
125
125
  /// @group gantt
126
- $kendo-gantt-task-progress-bg: $kendo-color-primary !default;
126
+ $kendo-gantt-task-progress-bg: k-color(primary) !default;
127
127
  /// The background color of selected the Gantt task.
128
128
  /// @group gantt
129
- $kendo-gantt-task-selected-bg: if($kendo-enable-color-system, k-color( secondary-subtle-active ), color.mix( $kendo-color-secondary, $kendo-gantt-bg )) !default;
129
+ $kendo-gantt-task-selected-bg: k-color(secondary-subtle-active) !default;
130
130
  /// The text color of the selected Gantt task.
131
131
  /// @group gantt
132
- $kendo-gantt-task-selected-text: $kendo-color-secondary-contrast !default;
132
+ $kendo-gantt-task-selected-text: k-color(secondary)-contrast !default;
133
133
  /// The border color of the selected Gantt task.
134
134
  /// @group gantt
135
135
  $kendo-gantt-task-selected-border: null !default;
136
136
  /// The background color of the selected Gantt task progress.
137
137
  /// @group gantt
138
- $kendo-gantt-task-progress-selected-bg: $kendo-color-secondary !default;
138
+ $kendo-gantt-task-progress-selected-bg: k-color(secondary) !default;
139
139
 
140
140
  /// The padding of the Gantt task actions.
141
141
  /// @group gantt
@@ -204,24 +204,24 @@ $kendo-gantt-planned-offset-resize-handler-margin-x: 1.4em !default;
204
204
 
205
205
  /// The background color of the Gantt planned Tooltip.
206
206
  /// @group gantt
207
- $kendo-gantt-planned-bg: $kendo-color-primary !default;
207
+ $kendo-gantt-planned-bg: k-color(primary) !default;
208
208
  /// The border color of the Gantt planned Tooltip.
209
209
  /// @group gantt
210
210
  $kendo-gantt-planned-border: $kendo-gantt-planned-bg !default;
211
211
 
212
212
  /// The background color of the Gantt delayed task.
213
213
  /// @group gantt
214
- $kendo-gantt-delayed-bg: $kendo-color-error !default;
214
+ $kendo-gantt-delayed-bg: k-color(error) !default;
215
215
  /// The complement background color of the Gantt delayed task.
216
216
  /// @group gantt
217
- $kendo-gantt-delayed-bg-lighter: if($kendo-enable-color-system, k-color( error-emphasis ), k-color-tint($kendo-gantt-delayed-bg, 5)) !default;
217
+ $kendo-gantt-delayed-bg-lighter: k-color(error-emphasis) !default;
218
218
 
219
219
  /// The background color of the Gantt advanced task.
220
220
  /// @group gantt
221
- $kendo-gantt-advanced-bg: $kendo-color-success !default;
221
+ $kendo-gantt-advanced-bg: k-color(success) !default;
222
222
  /// The complement background color of the Gantt advanced task.
223
223
  /// @group gantt
224
- $kendo-gantt-advanced-bg-lighter: if($kendo-enable-color-system, k-color( success-emphasis ), k-color-tint($kendo-gantt-advanced-bg, 5)) !default;
224
+ $kendo-gantt-advanced-bg-lighter: k-color(success-emphasis) !default;
225
225
 
226
226
  /// The text color of the Gantt delayed task action.
227
227
  /// @group gantt
@@ -241,10 +241,10 @@ $kendo-gantt-validation-tooltip-label-width: 50px !default;
241
241
  $kendo-gantt-validation-tooltip-border: #656565 !default;
242
242
  /// The border color of the valid Gantt validation Tooltip.
243
243
  /// @group gantt
244
- $kendo-gantt-validation-tooltip-valid-border: $kendo-color-success !default;
244
+ $kendo-gantt-validation-tooltip-valid-border: k-color(success) !default;
245
245
  /// The border color of the invalid Gantt validation Tooltip.
246
246
  /// @group gantt
247
- $kendo-gantt-validation-tooltip-invalid-border: $kendo-color-error !default;
247
+ $kendo-gantt-validation-tooltip-invalid-border: k-color(error) !default;
248
248
 
249
249
  /// The horizontal padding of the Gantt task Tooltip.
250
250
  /// @group gantt