@progress/kendo-theme-material 10.6.0-dev.6 → 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
@@ -82,7 +82,7 @@ $kendo-taskboard-column-border-width: 1px !default;
82
82
  $kendo-taskboard-column-border-radius: k-border-radius(md) !default;
83
83
  /// The background color of the TaskBoard column.
84
84
  /// @group taskboard
85
- $kendo-taskboard-column-bg: if($kendo-enable-color-system, k-color( surface ), if( $kendo-is-dark-theme, $kendo-color-dark, $kendo-color-light)) !default;
85
+ $kendo-taskboard-column-bg: k-color(surface) !default;
86
86
  /// The text color of the TaskBoard column.
87
87
  /// @group taskboard
88
88
  $kendo-taskboard-column-text: null !default;
@@ -98,7 +98,7 @@ $kendo-taskboard-column-focus-bg: null !default;
98
98
  $kendo-taskboard-column-focus-text: null !default;
99
99
  /// The border color of the focused TaskBoard column.
100
100
  /// @group taskboard
101
- $kendo-taskboard-column-focus-border: if($kendo-enable-color-system, k-color( border-alt ), k-try-shade( $kendo-base-border, 2.5 )) !default;
101
+ $kendo-taskboard-column-focus-border: k-color(border-alt) !default;
102
102
 
103
103
  /// The vertical padding of the TaskBoard column header.
104
104
  /// @group taskboard
@@ -117,7 +117,7 @@ $kendo-taskboard-column-header-actions-gap: calc( #{$kendo-taskboard-spacer} / 2
117
117
  $kendo-taskboard-column-header-font-weight: 500 !default;
118
118
  /// The text color of the TaskBoard column header.
119
119
  /// @group taskboard
120
- $kendo-taskboard-column-header-text: $kendo-component-header-text !default;
120
+ $kendo-taskboard-column-header-text: k-color(on-app-surface) !default;
121
121
 
122
122
  /// The vertical padding of the TaskBoard column Card wrapper.
123
123
  /// @group taskboard
@@ -143,13 +143,13 @@ $kendo-taskboard-pane-padding-x: null !default;
143
143
  $kendo-taskboard-pane-border-width: 1px !default;
144
144
  /// The background color of the TaskBoard pane.
145
145
  /// @group taskboard
146
- $kendo-taskboard-pane-bg: $kendo-component-bg !default;
146
+ $kendo-taskboard-pane-bg: k-color(surface-alt) !default;
147
147
  /// The text color of the TaskBoard pane.
148
148
  /// @group taskboard
149
- $kendo-taskboard-pane-text: $kendo-component-text !default;
149
+ $kendo-taskboard-pane-text: k-color(on-app-surface) !default;
150
150
  /// The border color of the TaskBoard pane.
151
151
  /// @group taskboard
152
- $kendo-taskboard-pane-border: $kendo-component-border !default;
152
+ $kendo-taskboard-pane-border: k-color(border) !default;
153
153
 
154
154
  /// The vertical padding of the TaskBoard pane header.
155
155
  /// @group taskboard
@@ -162,7 +162,7 @@ $kendo-taskboard-pane-header-padding-x: $kendo-taskboard-spacer !default;
162
162
  $kendo-taskboard-pane-header-font-weight: 500 !default;
163
163
  /// The text color of the TaskBoard pane header.
164
164
  /// @group taskboard
165
- $kendo-taskboard-pane-header-text: $kendo-component-header-text !default;
165
+ $kendo-taskboard-pane-header-text: k-color(on-app-surface) !default;
166
166
 
167
167
  /// The vertical padding of the TaskBoard pane content.
168
168
  /// @group taskboard
@@ -198,7 +198,7 @@ $kendo-taskboard-card-bg: $kendo-card-bg !default;
198
198
  $kendo-taskboard-card-text: $kendo-card-text !default;
199
199
  /// The border color of the TaskBoard Card.
200
200
  /// @group taskboard
201
- $kendo-taskboard-card-border: $kendo-base-border !default;
201
+ $kendo-taskboard-card-border: k-color(border) !default;
202
202
  /// The shadow of the TaskBoard Card.
203
203
  /// @group taskboard
204
204
  $kendo-taskboard-card-shadow: none !default;
@@ -209,11 +209,11 @@ $kendo-taskboard-card-category-border-width: 4px !default;
209
209
 
210
210
  /// The border color of the hovered TaskBoard Card.
211
211
  /// @group taskboard
212
- $kendo-taskboard-card-hover-border: if($kendo-enable-color-system, k-color( border-alt ), k-try-shade( $kendo-taskboard-card-border, 10% )) !default;
212
+ $kendo-taskboard-card-hover-border: k-color(border-alt) !default;
213
213
 
214
214
  /// The border color of the focused TaskBoard Card.
215
215
  /// @group taskboard
216
- $kendo-taskboard-card-focus-border: if($kendo-enable-color-system, k-color( border-alt ), k-try-shade( $kendo-taskboard-card-border, 9% )) !default;
216
+ $kendo-taskboard-card-focus-border: k-color(border-alt) !default;
217
217
  /// The shadow of the focused TaskBoard Card.
218
218
  /// @group taskboard
219
219
  $kendo-taskboard-card-focus-shadow: none !default;
@@ -221,20 +221,20 @@ $kendo-taskboard-card-focus-shadow: none !default;
221
221
 
222
222
  /// The border of the selected TaskBoard Card.
223
223
  /// @group taskboard
224
- $kendo-taskboard-card-selected-border: $kendo-color-primary-lighter !default;
224
+ $kendo-taskboard-card-selected-border: color-mix(in srgb, k-color(primary) 60%, transparent) !default;
225
225
  /// The shadow of the selected TaskBoard Card.
226
226
  /// @group taskboard
227
227
  $kendo-taskboard-card-selected-shadow: none !default;
228
228
 
229
229
  /// The text color of the TaskBoard Card header text.
230
230
  /// @group taskboard
231
- $kendo-taskboard-card-header-text: $kendo-color-primary !default;
231
+ $kendo-taskboard-card-header-text: k-color(primary) !default;
232
232
  /// The text color of the hovered TaskBoard Card header text.
233
233
  /// @group taskboard
234
- $kendo-taskboard-card-header-focus-text: $kendo-color-primary-darker !default;
234
+ $kendo-taskboard-card-header-focus-text: k-color(primary-active) !default;
235
235
  /// The text color of the focused TaskBoard Card header text.
236
236
  /// @group taskboard
237
- $kendo-taskboard-card-header-hover-text: $kendo-color-primary-darker !default;
237
+ $kendo-taskboard-card-header-hover-text: k-color(primary-active) !default;
238
238
 
239
239
  /// The border width of the TaskBoard Card placeholder.
240
240
  /// @group taskboard
@@ -247,7 +247,7 @@ $kendo-taskboard-drag-placeholder-border-radius: $kendo-taskboard-card-border-ra
247
247
  $kendo-taskboard-drag-placeholder-bg: rgba( white, .2 ) !default;
248
248
  /// The border color of the TaskBoard Card placeholder.
249
249
  /// @group taskboard
250
- $kendo-taskboard-drag-placeholder-border: $kendo-component-border !default;
250
+ $kendo-taskboard-drag-placeholder-border: k-color(border) !default;
251
251
 
252
252
  @forward "@progress/kendo-theme-core/scss/components/taskboard/_variables.scss" with (
253
253
  $kendo-taskboard-spacer: $kendo-taskboard-spacer,
@@ -8,7 +8,7 @@
8
8
  $kendo-tile-layout-border-width: 0px !default;
9
9
  /// The background color of the TileLayout.
10
10
  /// @group tile-layout
11
- $kendo-tile-layout-bg: if($kendo-enable-color-system, k-color( surface ), if( $kendo-is-dark-theme, $kendo-color-dark, $kendo-color-light)) !default;
11
+ $kendo-tile-layout-bg: k-color(surface) !default;
12
12
 
13
13
  /// The horizontal padding of the TileLayout.
14
14
  /// @group tile-layout
@@ -33,7 +33,7 @@ $kendo-tile-layout-hint-border-width: 1px !default;
33
33
  $kendo-tile-layout-hint-border-radius: k-border-radius(md) !default;
34
34
  /// The color of the border around the TileLayout hint.
35
35
  /// @group tile-layout
36
- $kendo-tile-layout-hint-border: $kendo-component-border !default;
36
+ $kendo-tile-layout-hint-border: k-color(border) !default;
37
37
  /// The background color of the TileLayout hint.
38
38
  /// @group tile-layout
39
39
  $kendo-tile-layout-hint-bg: rgba( white, .2 ) !default;
@@ -41,13 +41,13 @@ $kendo-timeline-track-arrow-height: k-spacing(9) !default;
41
41
 
42
42
  /// The background color of the disabled Timeline track arrow.
43
43
  /// @group timeline
44
- $kendo-timeline-track-arrow-disabled-bg: if($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 9%, transparent), k-true-mix(#000000, $kendo-body-bg, 8%)) !default;
44
+ $kendo-timeline-track-arrow-disabled-bg: color-mix(in srgb, k-color(on-app-surface) 9%, transparent) !default;
45
45
  /// The text color of the disabled Timeline track arrow.
46
46
  /// @group timeline
47
- $kendo-timeline-track-arrow-disabled-text: if($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 32%, transparent), k-true-mix($kendo-button-text, $kendo-body-bg, 65%)) !default;
47
+ $kendo-timeline-track-arrow-disabled-text: color-mix(in srgb, k-color(on-app-surface) 32%, transparent) !default;
48
48
  /// The border color of the disabled Timeline track arrow.
49
49
  /// @group timeline
50
- $kendo-timeline-track-arrow-disabled-border: if($kendo-enable-color-system, transparent, k-true-mix($kendo-button-border, $kendo-body-bg, 65%)) !default;
50
+ $kendo-timeline-track-arrow-disabled-border: transparent !default;
51
51
 
52
52
  /// The size of the Timeline track.
53
53
  /// @group timeline
@@ -72,7 +72,7 @@ $kendo-timeline-track-start-calc: calc(#{$kendo-timeline-track-arrow-width} - 2
72
72
  $kendo-timeline-track-end-calc: calc(#{$kendo-timeline-track-arrow-width} - 2 * #{$kendo-timeline-track-border-width}) !default;
73
73
  /// The background color of the Timeline track.
74
74
  /// @group timeline
75
- $kendo-timeline-track-bg: if($kendo-enable-color-system, k-color( base-subtle ), #e0e0e0) !default;
75
+ $kendo-timeline-track-bg: k-color(base-subtle) !default;
76
76
  /// The border color of the Timeline track.
77
77
  /// @group timeline
78
78
  $kendo-timeline-track-border-color: $kendo-timeline-track-bg !default;
@@ -108,10 +108,10 @@ $kendo-timeline-mobile-flag-max-width: calc(#{$kendo-timeline-flag-min-width} +
108
108
  $kendo-timeline-horizontal-flag-min-width: 60px !default;
109
109
  /// The background color of the Timeline flag.
110
110
  /// @group timeline
111
- $kendo-timeline-flag-bg: $kendo-color-primary !default;
111
+ $kendo-timeline-flag-bg: k-color(primary) !default;
112
112
  /// The text color of the Timeline flag.
113
113
  /// @group timeline
114
- $kendo-timeline-flag-text: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-color( $kendo-timeline-flag-bg )) !default;
114
+ $kendo-timeline-flag-text: k-color(on-primary) !default;
115
115
 
116
116
  /// The width of the Timeline's flag callout.
117
117
  /// @group timeline
@@ -155,7 +155,7 @@ $kendo-timeline-circle-width: 16px !default;
155
155
  $kendo-timeline-circle-height: 16px !default;
156
156
  /// The background color of the Timeline circle.
157
157
  /// @group timeline
158
- $kendo-timeline-circle-bg: $kendo-color-primary !default;
158
+ $kendo-timeline-circle-bg: k-color(primary) !default;
159
159
 
160
160
  /// The horizontal padding of the Timeline collapse arrow.
161
161
  /// @group timeline
@@ -10,9 +10,9 @@ $kendo-time-selector-font-family: var( --kendo-font-family, inherit ) !default;
10
10
  $kendo-time-selector-font-size: var( --kendo-font-size, inherit ) !default;
11
11
  $kendo-time-selector-line-height: math.div( 20, 14 ) !default;
12
12
 
13
- $kendo-time-selector-bg: $kendo-component-bg !default;
14
- $kendo-time-selector-text: $kendo-component-text !default;
15
- $kendo-time-selector-border: $kendo-component-border !default;
13
+ $kendo-time-selector-bg: k-color(surface-alt) !default;
14
+ $kendo-time-selector-text: k-color(on-app-surface) !default;
15
+ $kendo-time-selector-border: k-color(border) !default;
16
16
 
17
17
  $kendo-time-selector-header-padding-x: $kendo-actions-padding-x !default;
18
18
  $kendo-time-selector-header-padding-y: $kendo-actions-padding-y !default;
@@ -26,16 +26,16 @@ $kendo-time-list-height: 240px !default;
26
26
  $kendo-time-list-title-font-size: var( --kendo-font-size-sm, inherit ) !default;
27
27
  $kendo-time-list-title-line-height: var( --kendo-line-height-lg, normal ) !default;
28
28
  $kendo-time-list-title-height: calc( #{$kendo-time-list-title-font-size} * #{$kendo-time-list-title-line-height} ) !default;
29
- $kendo-time-list-title-text: $kendo-subtle-text !default;
30
- $kendo-time-list-title-focus-text: $kendo-component-text !default;
29
+ $kendo-time-list-title-text: k-color(subtle) !default;
30
+ $kendo-time-list-title-focus-text: k-color(on-app-surface) !default;
31
31
 
32
32
  $kendo-time-list-item-padding-x: $kendo-list-md-item-padding-x !default;
33
33
  $kendo-time-list-item-padding-y: $kendo-list-md-item-padding-y !default;
34
34
 
35
35
  $kendo-time-list-highlight-border-width: 1px 0px !default;
36
36
  $kendo-time-list-highlight-height: calc( calc( #{$kendo-time-selector-font-size} * #{$kendo-time-selector-line-height} ) + calc( #{$kendo-time-list-item-padding-y} * 2 ) ) !default;
37
- $kendo-time-list-highlight-bg: $kendo-component-bg !default;
38
- $kendo-time-list-highlight-border: $kendo-component-border !default;
37
+ $kendo-time-list-highlight-bg: k-color(surface-alt) !default;
38
+ $kendo-time-list-highlight-border: k-color(border) !default;
39
39
 
40
40
  $kendo-time-list-focus-bg: unset !default;
41
41
 
@@ -77,6 +77,9 @@ $kendo-time-selector-sizes: (
77
77
  )
78
78
  ) !default;
79
79
 
80
+ $kendo-time-selector-now-button-text: k-color(secondary) !default;
81
+ $kendo-time-selector-now-button-hover-text: k-color(secondary-hover) !default;
82
+
80
83
  @forward "@progress/kendo-theme-core/scss/components/timeselector/_variables.scss" with (
81
84
  $kendo-time-selector-border-width: $kendo-time-selector-border-width,
82
85
  $kendo-time-selector-font-family: $kendo-time-selector-font-family,
@@ -115,5 +118,7 @@ $kendo-time-selector-sizes: (
115
118
  $kendo-time-selector-lg-line-height: $kendo-time-selector-lg-line-height,
116
119
  $kendo-time-selector-lg-list-item-padding-x: $kendo-time-selector-lg-list-item-padding-x,
117
120
  $kendo-time-selector-lg-list-item-padding-y: $kendo-time-selector-lg-list-item-padding-y,
118
- $kendo-time-selector-sizes: $kendo-time-selector-sizes
121
+ $kendo-time-selector-sizes: $kendo-time-selector-sizes,
122
+ $kendo-time-selector-now-button-text: $kendo-time-selector-now-button-text,
123
+ $kendo-time-selector-now-button-hover-text: $kendo-time-selector-now-button-hover-text
119
124
  );
@@ -12,34 +12,34 @@
12
12
  .k-toolbar-popup {
13
13
 
14
14
  .k-button-solid-base {
15
- background-color: if($kendo-enable-color-system, k-color( base-subtle ), k-try-shade( $kendo-button-bg ));
16
- border-color: if($kendo-enable-color-system, k-color( base-subtle ), k-try-shade( $kendo-button-bg ));
15
+ background-color: k-color(base-subtle);
16
+ border-color: k-color(base-subtle);
17
17
 
18
18
  // Hover state
19
19
  &:hover,
20
20
  &.k-hover {
21
- background-color: if($kendo-enable-color-system, k-color( base-subtle-hover ), null);
22
- border-color: if($kendo-enable-color-system, k-color( base-subtle-hover ), null);
21
+ background-color: k-color(base-subtle-hover);
22
+ border-color: k-color(base-subtle-hover);
23
23
  }
24
24
 
25
25
  // Focus state
26
26
  &:focus,
27
27
  &.k-focus {
28
- background-color: if($kendo-enable-color-system, k-color( base-subtle-hover ), null);
29
- border-color: if($kendo-enable-color-system, k-color( base-subtle-hover ), null);
28
+ background-color: k-color(base-subtle-hover);
29
+ border-color: k-color(base-subtle-hover);
30
30
  }
31
31
 
32
32
  // Active state
33
33
  &:active,
34
34
  &.k-active {
35
- background-color: if($kendo-enable-color-system, k-color( base-subtle-active ), null);
36
- border-color: if($kendo-enable-color-system, k-color( base-subtle-active ), null);
35
+ background-color: k-color(base-subtle-active);
36
+ border-color: k-color(base-subtle-active);
37
37
  }
38
38
 
39
39
  // Selected state
40
40
  &.k-selected {
41
- background-color: if($kendo-enable-color-system, k-color( base-subtle-active ), null);
42
- border-color: if($kendo-enable-color-system, k-color( base-subtle-active ), null);
41
+ background-color: k-color(base-subtle-active);
42
+ border-color: k-color(base-subtle-active);
43
43
  }
44
44
 
45
45
  &.k-input-button,
@@ -76,13 +76,13 @@ $kendo-toolbar-line-height: math.div( 20, 14 ) !default;
76
76
 
77
77
  /// The background color of the Toolbar.
78
78
  /// @group toolbar
79
- $kendo-toolbar-bg: $kendo-component-bg !default;
79
+ $kendo-toolbar-bg: k-color(surface-alt) !default;
80
80
  /// The text color of the Toolbar.
81
81
  /// @group toolbar
82
- $kendo-toolbar-text: $kendo-component-text !default;
82
+ $kendo-toolbar-text: k-color(on-app-surface) !default;
83
83
  /// The color of the border around the Toolbar.
84
84
  /// @group toolbar
85
- $kendo-toolbar-border: $kendo-component-border !default;
85
+ $kendo-toolbar-border: k-color(border) !default;
86
86
  /// The gradient of the Toolbar.
87
87
  /// @group toolbar
88
88
  $kendo-toolbar-gradient: null !default;
@@ -91,7 +91,7 @@ $kendo-toolbar-gradient: null !default;
91
91
  $kendo-toolbar-shadow: k-elevation(4) !default;
92
92
  /// The left and right scroll overlay of the Toolbar.
93
93
  /// @group toolbar
94
- $kendo-toolbar-scroll-overlay: $kendo-toolbar-bg, if($kendo-enable-color-system, color-mix(in srgb, k-color( app-surface ) 0%, transparent), rgba( $kendo-color-white, 0)) !default;
94
+ $kendo-toolbar-scroll-overlay: $kendo-toolbar-bg, color-mix(in srgb, k-color(app-surface) 0%, transparent) !default;
95
95
 
96
96
 
97
97
  /// The text color of the outline Toolbar.
@@ -111,7 +111,7 @@ $kendo-toolbar-outline-shadow: null !default;
111
111
  $kendo-toolbar-outline-border-width: 1px !default;
112
112
  /// The left and right scroll overlay of the outline Toolbar.
113
113
  /// @group toolbar
114
- $kendo-toolbar-outline-scroll-overlay: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white), if($kendo-enable-color-system, color-mix(in srgb, k-color( app-surface ) 0%, transparent), rgba( $kendo-color-white, 0)) !default;
114
+ $kendo-toolbar-outline-scroll-overlay: k-color(app-surface), color-mix(in srgb, k-color(app-surface) 0%, transparent) !default;
115
115
 
116
116
 
117
117
  /// The text color of the flat Toolbar.
@@ -125,13 +125,13 @@ $kendo-toolbar-flat-border: $kendo-toolbar-border !default;
125
125
  $kendo-toolbar-flat-gradient: null !default;
126
126
  /// The box shadow of the flat Toolbar.
127
127
  /// @group toolbar
128
- $kendo-toolbar-flat-shadow: 0 2px 0 -1px $kendo-component-border !default;
128
+ $kendo-toolbar-flat-shadow: 0 2px 0 -1px k-color(border) !default;
129
129
  /// Border width of the flat Toolbar.
130
130
  /// @group toolbar
131
131
  $kendo-toolbar-flat-border-width: 1px !default;
132
132
  /// The left and right scroll overlay of the flat Toolbar.
133
133
  /// @group toolbar
134
- $kendo-toolbar-flat-scroll-overlay: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white), if($kendo-enable-color-system, color-mix(in srgb, k-color( app-surface ) 0%, transparent), rgba( $kendo-color-white, 0)) !default;
134
+ $kendo-toolbar-flat-scroll-overlay: k-color(app-surface), color-mix(in srgb, k-color(app-surface) 0%, transparent) !default;
135
135
 
136
136
 
137
137
  /// The color of the separator border of the Toolbar.
@@ -7,7 +7,7 @@
7
7
 
8
8
  @each $name, $color in $colors {
9
9
  $_theme: map.merge(( $name: (
10
- color: if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-color( $color )),
10
+ color: k-color(on-#{$name}),
11
11
  background-color: $color,
12
12
  border: $color,
13
13
  )), $_theme );
@@ -1,7 +1,7 @@
1
1
  @use "sass:math";
2
2
  @use "./_functions.scss" as *;
3
3
  @use "../core/_index.scss" as *;
4
- @use "../core/color-system/_functions.scss" as *;
4
+ @use "../core/functions/index.import.scss" as *;
5
5
 
6
6
  // Tooltip
7
7
 
@@ -41,10 +41,10 @@ $kendo-tooltip-callout-size: 6px !default;
41
41
 
42
42
  /// The default background of the Tooltip.
43
43
  /// @group tooltip
44
- $kendo-tooltip-bg: material-color( gray, 700, .9 ) !default;
44
+ $kendo-tooltip-bg: color-mix(in srgb, k-color(on-app-surface) 70%, transparent 30%) !default;
45
45
  /// The default text color of the Tooltip.
46
46
  /// @group tooltip
47
- $kendo-tooltip-text: get-base-contrast( gray, 700 ) !default;
47
+ $kendo-tooltip-text: k-color(app-surface) !default;
48
48
  /// The default border color of the Tooltip.
49
49
  /// @group tooltip
50
50
  $kendo-tooltip-border: $kendo-tooltip-bg !default;
@@ -55,7 +55,18 @@ $kendo-tooltip-shadow: k-elevation(2) !default;
55
55
 
56
56
  /// The theme colors map for the Tooltip.
57
57
  /// @group tooltip
58
- $kendo-tooltip-theme-colors: $kendo-theme-colors !default;
58
+ $kendo-tooltip-theme-colors: (
59
+ "primary": k-color(primary),
60
+ "secondary": k-color(secondary),
61
+ "tertiary": k-color(tertiary),
62
+ "info": k-color(info),
63
+ "success": k-color(success),
64
+ "warning": k-color(warning),
65
+ "error": k-color(error),
66
+ "dark": k-color(dark),
67
+ "light": k-color(light),
68
+ "inverse": if($kendo-is-dark-theme, k-color(light), k-color(dark))
69
+ ) !default;
59
70
  /// The generated theme colors map for the Tooltip.
60
71
  /// @group tooltip
61
72
  $kendo-tooltip-theme: tooltip-theme( $kendo-tooltip-theme-colors ) !default;
@@ -120,14 +120,14 @@ $kendo-treeview-sizes: (
120
120
  $kendo-treeview-bg: null !default;
121
121
  /// The text color of the TreeView.
122
122
  /// @group treeview
123
- $kendo-treeview-text: $kendo-component-text !default;
123
+ $kendo-treeview-text: k-color(on-app-surface) !default;
124
124
  /// The border color of the TreeView.
125
125
  /// @group treeview
126
126
  $kendo-treeview-border: null !default;
127
127
 
128
128
  /// The background color of hovered TreeView.
129
129
  /// @group treeview
130
- $kendo-treeview-item-hover-bg: if($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 7%, transparent), rgba( $kendo-treeview-text, .07 )) !default;
130
+ $kendo-treeview-item-hover-bg: color-mix(in srgb, k-color(on-app-surface) 7%, transparent) !default;
131
131
  /// The text color of hovered TreeView items.
132
132
  /// @group treeview
133
133
  $kendo-treeview-item-hover-text: unset !default;
@@ -143,7 +143,7 @@ $kendo-treeview-item-hover-gradient: null !default;
143
143
  $kendo-treeview-item-selected-bg: unset !default;
144
144
  /// The text color of selected TreeView items.
145
145
  /// @group treeview
146
- $kendo-treeview-item-selected-text: $kendo-selected-bg !default;
146
+ $kendo-treeview-item-selected-text: k-color(secondary) !default;
147
147
  /// The border color of selected TreeView items.
148
148
  /// @group treeview
149
149
  $kendo-treeview-item-selected-border: null !default;
@@ -153,10 +153,10 @@ $kendo-treeview-item-selected-gradient: null !default;
153
153
 
154
154
  /// The background color of selected and focused TreeView items.
155
155
  /// /// @group treeview
156
- $kendo-treeview-item-selected-focus-text: $kendo-selected-bg !default;
156
+ $kendo-treeview-item-selected-focus-text: k-color(secondary) !default;
157
157
  /// The text color of selected and focused TreeView items.
158
158
  /// /// @group treeview
159
- $kendo-treeview-item-selected-focus-bg: if($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 7%, transparent), rgba( $kendo-treeview-text, .07 )) !default;
159
+ $kendo-treeview-item-selected-focus-bg: color-mix(in srgb, k-color(on-app-surface) 7%, transparent) !default;
160
160
  /// The border color of selected and focused TreeView items.
161
161
  /// /// @group treeview
162
162
  $kendo-treeview-item-selected-focus-border: null !default;
@@ -230,13 +230,13 @@ $kendo-code-border-width: 1px !default;
230
230
 
231
231
  /// The background color of the code tag.
232
232
  /// @group typography
233
- $kendo-code-bg: $kendo-base-bg !default;
233
+ $kendo-code-bg: k-color(app-surface) !default;
234
234
  /// The text color of the code tag.
235
235
  /// @group typography
236
- $kendo-code-text: $kendo-component-text !default;
236
+ $kendo-code-text: k-color(on-app-surface) !default;
237
237
  /// The border color of the code tag.
238
238
  /// @group typography
239
- $kendo-code-border: $kendo-component-border !default;
239
+ $kendo-code-border: k-color(border) !default;
240
240
 
241
241
  // Display
242
242
 
@@ -12,7 +12,7 @@
12
12
  .k-upload {
13
13
  .k-upload-button {
14
14
  @include box-shadow( none );
15
- background-color: if($kendo-enable-color-system, k-color( base-subtle ), k-try-shade( $kendo-upload-dropzone-bg ));
15
+ background-color: k-color(base-subtle);
16
16
  }
17
17
  }
18
18
 
@@ -22,13 +22,13 @@ $kendo-upload-max-height: 300px !default;
22
22
 
23
23
  /// The text color of the Upload.
24
24
  /// @group upload
25
- $kendo-upload-text: $kendo-component-text !default;
25
+ $kendo-upload-text: k-color(on-app-surface) !default;
26
26
  /// The background color of the Upload.
27
27
  /// @group upload
28
- $kendo-upload-bg: $kendo-component-bg !default;
28
+ $kendo-upload-bg: k-color(surface-alt) !default;
29
29
  /// The border color of the Upload.
30
30
  /// @group upload
31
- $kendo-upload-border: $kendo-component-border !default;
31
+ $kendo-upload-border: k-color(border) !default;
32
32
 
33
33
  /// The horizontal padding of the Upload dropzone.
34
34
  /// @group upload
@@ -38,20 +38,20 @@ $kendo-upload-dropzone-padding-x: k-spacing(2) !default;
38
38
  $kendo-upload-dropzone-padding-y: k-spacing(2) !default;
39
39
  /// The text color of the Upload dropzone.
40
40
  /// @group upload
41
- $kendo-upload-dropzone-text: $kendo-component-header-text !default;
41
+ $kendo-upload-dropzone-text: k-color(on-app-surface) !default;
42
42
  /// The background color of the Upload dropzone.
43
43
  /// @group upload
44
- $kendo-upload-dropzone-bg: $kendo-component-header-bg !default;
44
+ $kendo-upload-dropzone-bg: k-color(app-surface) !default;
45
45
  /// The border color of the Upload dropzone.
46
46
  /// @group upload
47
47
  $kendo-upload-dropzone-border: $kendo-upload-border !default;
48
48
  /// The background color of the hovered Upload dropzone.
49
49
  /// @group upload
50
- $kendo-upload-dropzone-hover-bg: $kendo-hover-bg !default;
50
+ $kendo-upload-dropzone-hover-bg: k-color(base-hover) !default;
51
51
 
52
52
  /// The text color of the Upload status message.
53
53
  /// @group upload
54
- $kendo-upload-status-text: $kendo-subtle-text !default;
54
+ $kendo-upload-status-text: k-color(subtle) !default;
55
55
  /// The opacity of the Upload status message.
56
56
  /// @group upload
57
57
  $kendo-upload-status-text-opacity: null !default;
@@ -78,28 +78,28 @@ $kendo-upload-validation-line-height: var( --kendo-line-height-xs, normal ) !def
78
78
  $kendo-upload-icon-spacing: $kendo-icon-spacing !default;
79
79
  /// The color of the uploaded items icon.
80
80
  /// @group upload
81
- $kendo-upload-icon-color: $kendo-subtle-text !default;
81
+ $kendo-upload-icon-color: k-color(subtle) !default;
82
82
 
83
83
  /// The thickness of the Upload progress bar.
84
84
  /// @group upload
85
85
  $kendo-upload-progress-thickness: 2px !default;
86
86
  /// The background color of the Upload progress bar.
87
87
  /// @group upload
88
- $kendo-upload-progress-bg: $kendo-color-info !default;
88
+ $kendo-upload-progress-bg: k-color(info) !default;
89
89
 
90
90
  /// The success text color of the Upload.
91
91
  /// @group upload
92
- $kendo-upload-success-text: $kendo-color-success !default;
92
+ $kendo-upload-success-text: k-color(success) !default;
93
93
  /// The success background color of the Upload progress bar.
94
94
  /// @group upload
95
- $kendo-upload-success-bg: $kendo-color-success !default;
95
+ $kendo-upload-success-bg: k-color(success) !default;
96
96
 
97
97
  /// The error text color of the Upload.
98
98
  /// @group upload
99
- $kendo-upload-error-text: $kendo-color-error !default;
99
+ $kendo-upload-error-text: k-color(error) !default;
100
100
  /// The error background color of the Upload progress bar.
101
101
  /// @group upload
102
- $kendo-upload-error-bg: $kendo-color-error !default;
102
+ $kendo-upload-error-bg: k-color(error) !default;
103
103
 
104
104
  /// The shadow of the focused Upload button, actions and uploaded items.
105
105
  /// @group upload
@@ -70,13 +70,13 @@ $kendo-window-buttongroup-border-width: 0px !default;
70
70
 
71
71
  /// The background color of the Window.
72
72
  /// @group window
73
- $kendo-window-bg: $kendo-component-bg !default;
73
+ $kendo-window-bg: k-color(surface-alt) !default;
74
74
  /// The text color of the Window.
75
75
  /// @group window
76
- $kendo-window-text: $kendo-component-text !default;
76
+ $kendo-window-text: k-color(on-app-surface) !default;
77
77
  /// The border color of the Window.
78
78
  /// @group window
79
- $kendo-window-border: $kendo-component-border !default;
79
+ $kendo-window-border: k-color(border) !default;
80
80
  /// The box shadow of the Window.
81
81
  /// @group window
82
82
  $kendo-window-shadow: k-elevation(8) !default;
@@ -108,9 +108,9 @@ $kendo-window-sizes: (
108
108
  /// The theme colors map for the Window.
109
109
  /// @group window
110
110
  $kendo-window-theme-colors: (
111
- "primary": map.get($kendo-theme-colors, "primary"),
112
- "light": map.get($kendo-theme-colors, "light"),
113
- "dark": map.get($kendo-theme-colors, "dark")
111
+ "primary": k-color(primary),
112
+ "light": k-color(light),
113
+ "dark": k-color(dark)
114
114
  ) !default;
115
115
 
116
116
  @forward "@progress/kendo-theme-core/scss/components/window/_variables.scss" with (