@progress/kendo-theme-default 7.1.0-dev.0 → 7.1.0-dev.10

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 (95) hide show
  1. package/dist/all.css +314 -40
  2. package/dist/all.scss +1942 -599
  3. package/dist/meta/sassdoc-data.json +4494 -2868
  4. package/dist/meta/sassdoc-raw-data.json +1681 -931
  5. package/dist/meta/variables.json +331 -159
  6. package/lib/swatches/default-blue.json +1 -1
  7. package/lib/swatches/default-dataviz-v4.json +1 -1
  8. package/lib/swatches/default-green.json +1 -1
  9. package/lib/swatches/default-main-dark.json +1 -1
  10. package/lib/swatches/default-main.json +1 -1
  11. package/lib/swatches/default-nordic.json +1 -1
  12. package/lib/swatches/default-ocean-blue-a11y.json +1 -1
  13. package/lib/swatches/default-ocean-blue.json +1 -1
  14. package/lib/swatches/default-orange.json +1 -1
  15. package/lib/swatches/default-purple.json +1 -1
  16. package/lib/swatches/default-turquoise.json +1 -1
  17. package/lib/swatches/default-urban.json +1 -1
  18. package/package.json +5 -5
  19. package/scss/_variables.scss +1 -209
  20. package/scss/adaptive/_variables.scss +1 -1
  21. package/scss/appbar/_theme.scss +1 -1
  22. package/scss/appbar/_variables.scss +2 -2
  23. package/scss/avatar/_theme.scss +1 -1
  24. package/scss/badge/_theme.scss +1 -1
  25. package/scss/bottom-navigation/_theme.scss +5 -5
  26. package/scss/button/_theme.scss +74 -30
  27. package/scss/button/_variables.scss +10 -10
  28. package/scss/calendar/_theme.scss +1 -1
  29. package/scss/card/_layout.scss +4 -0
  30. package/scss/card/_theme.scss +3 -3
  31. package/scss/chat/_variables.scss +1 -1
  32. package/scss/checkbox/_variables.scss +2 -2
  33. package/scss/chip/_theme.scss +24 -22
  34. package/scss/chip/_variables.scss +5 -5
  35. package/scss/common/_indicators.scss +0 -2
  36. package/scss/core/_index.scss +6 -0
  37. package/scss/core/color-system/_palettes.scss +256 -0
  38. package/scss/core/color-system/_swatch-legacy.scss +62 -0
  39. package/scss/core/color-system/_swatch.scss +397 -0
  40. package/scss/dataviz/_layout.scss +2 -2
  41. package/scss/dataviz/_variables.scss +42 -42
  42. package/scss/dialog/_theme.scss +1 -1
  43. package/scss/dock-manager/_variables.scss +1 -1
  44. package/scss/drawer/_layout.scss +1 -0
  45. package/scss/dropdowntree/_layout.scss +16 -0
  46. package/scss/dropzone/_variables.scss +1 -1
  47. package/scss/editor/_variables.scss +1 -1
  48. package/scss/fab/_theme.scss +15 -15
  49. package/scss/filemanager/_layout.scss +5 -0
  50. package/scss/filemanager/_variables.scss +2 -2
  51. package/scss/forms/_variables.scss +1 -1
  52. package/scss/gantt/_layout.scss +13 -5
  53. package/scss/gantt/_variables.scss +10 -10
  54. package/scss/grid/_layout.scss +10 -0
  55. package/scss/grid/_theme.scss +54 -6
  56. package/scss/grid/_variables.scss +10 -7
  57. package/scss/index.scss +2 -0
  58. package/scss/input/_layout.scss +39 -8
  59. package/scss/input/_theme.scss +139 -0
  60. package/scss/input/_variables.scss +30 -9
  61. package/scss/list/_theme.scss +1 -1
  62. package/scss/listview/_variables.scss +1 -1
  63. package/scss/map/_variables.scss +1 -1
  64. package/scss/mediaplayer/_theme.scss +1 -1
  65. package/scss/mediaplayer/_variables.scss +1 -1
  66. package/scss/messagebox/_theme.scss +13 -5
  67. package/scss/notification/_layout.scss +4 -9
  68. package/scss/notification/_variables.scss +5 -1
  69. package/scss/panelbar/_variables.scss +4 -4
  70. package/scss/pivotgrid/_variables.scss +5 -5
  71. package/scss/progressbar/_theme.scss +1 -1
  72. package/scss/progressbar/_variables.scss +3 -3
  73. package/scss/prompt/_index.scss +37 -0
  74. package/scss/prompt/_layout.scss +70 -0
  75. package/scss/prompt/_theme.scss +41 -0
  76. package/scss/prompt/_variables.scss +66 -0
  77. package/scss/scheduler/_theme.scss +3 -3
  78. package/scss/scheduler/_variables.scss +4 -4
  79. package/scss/signature/_variables.scss +1 -1
  80. package/scss/skeleton/_variables.scss +2 -5
  81. package/scss/slider/_variables.scss +6 -6
  82. package/scss/splitter/_variables.scss +1 -1
  83. package/scss/spreadsheet/_variables.scss +4 -4
  84. package/scss/stepper/_layout.scss +11 -0
  85. package/scss/stepper/_theme.scss +51 -15
  86. package/scss/stepper/_variables.scss +8 -8
  87. package/scss/switch/_theme.scss +2 -2
  88. package/scss/switch/_variables.scss +4 -4
  89. package/scss/table/_variables.scss +3 -4
  90. package/scss/taskboard/_variables.scss +7 -7
  91. package/scss/timeline/_layout.scss +0 -4
  92. package/scss/timeline/_variables.scss +4 -4
  93. package/scss/tooltip/_variables.scss +4 -4
  94. package/scss/window/_theme.scss +1 -1
  95. package/scss/core/color-system/index.import.scss +0 -1
@@ -3,7 +3,7 @@
3
3
  "name": "Default Blue",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-default",
6
- "version": "7.1.0-dev.0",
6
+ "version": "7.1.0-dev.10",
7
7
  "previewColors": [
8
8
  "#ffffff",
9
9
  "#f5f5f5",
@@ -3,7 +3,7 @@
3
3
  "name": "Default Dataviz v4",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-default",
6
- "version": "7.1.0-dev.0",
6
+ "version": "7.1.0-dev.10",
7
7
  "api": "legacy",
8
8
  "previewColors": [
9
9
  "#ff6358",
@@ -3,7 +3,7 @@
3
3
  "name": "Default Green",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-default",
6
- "version": "7.1.0-dev.0",
6
+ "version": "7.1.0-dev.10",
7
7
  "api": "legacy",
8
8
  "previewColors": [
9
9
  "#ffffff",
@@ -3,7 +3,7 @@
3
3
  "name": "Default Main Dark",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-default",
6
- "version": "7.1.0-dev.0",
6
+ "version": "7.1.0-dev.10",
7
7
  "api": "legacy",
8
8
  "previewColors": [
9
9
  "#000000",
@@ -3,7 +3,7 @@
3
3
  "name": "Default Main",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-default",
6
- "version": "7.1.0-dev.0",
6
+ "version": "7.1.0-dev.10",
7
7
  "api": "legacy",
8
8
  "previewColors": [
9
9
  "#ffffff",
@@ -3,7 +3,7 @@
3
3
  "name": "Default Nordic",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-default",
6
- "version": "7.1.0-dev.0",
6
+ "version": "7.1.0-dev.10",
7
7
  "api": "legacy",
8
8
  "previewColors": [
9
9
  "#ffffff",
@@ -3,7 +3,7 @@
3
3
  "name": "Default Ocean Blue A11Y",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-default",
6
- "version": "7.1.0-dev.0",
6
+ "version": "7.1.0-dev.10",
7
7
  "api": "legacy",
8
8
  "previewColors": [
9
9
  "#ffffff",
@@ -3,7 +3,7 @@
3
3
  "name": "Default Ocean Blue",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-default",
6
- "version": "7.1.0-dev.0",
6
+ "version": "7.1.0-dev.10",
7
7
  "api": "legacy",
8
8
  "previewColors": [
9
9
  "#ffffff",
@@ -3,7 +3,7 @@
3
3
  "name": "Default Orange",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-default",
6
- "version": "7.1.0-dev.0",
6
+ "version": "7.1.0-dev.10",
7
7
  "api": "legacy",
8
8
  "previewColors": [
9
9
  "#ffffff",
@@ -3,7 +3,7 @@
3
3
  "name": "Default Purple",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-default",
6
- "version": "7.1.0-dev.0",
6
+ "version": "7.1.0-dev.10",
7
7
  "api": "legacy",
8
8
  "previewColors": [
9
9
  "#ffffff",
@@ -3,7 +3,7 @@
3
3
  "name": "Default Turquoise",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-default",
6
- "version": "7.1.0-dev.0",
6
+ "version": "7.1.0-dev.10",
7
7
  "api": "legacy",
8
8
  "previewColors": [
9
9
  "#ffffff",
@@ -3,7 +3,7 @@
3
3
  "name": "Default Urban",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-default",
6
- "version": "7.1.0-dev.0",
6
+ "version": "7.1.0-dev.10",
7
7
  "api": "legacy",
8
8
  "previewColors": [
9
9
  "#ffffff",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-theme-default",
3
3
  "description": "SASS resources for the default Kendo UI theme",
4
- "version": "7.1.0-dev.0",
4
+ "version": "7.1.0-dev.10",
5
5
  "author": "Progress",
6
6
  "license": "Apache-2.0",
7
7
  "keywords": [
@@ -51,13 +51,13 @@
51
51
  "postpublish": "echo 'no postpublish for default theme'"
52
52
  },
53
53
  "dependencies": {
54
- "@progress/kendo-svg-icons": "2.0.0",
55
- "@progress/kendo-theme-core": "7.1.0-dev.0",
56
- "@progress/kendo-theme-utils": "7.1.0-dev.0"
54
+ "@progress/kendo-svg-icons": "2.1.0",
55
+ "@progress/kendo-theme-core": "7.1.0-dev.10",
56
+ "@progress/kendo-theme-utils": "7.1.0-dev.10"
57
57
  },
58
58
  "directories": {
59
59
  "doc": "docs",
60
60
  "lib": "lib"
61
61
  },
62
- "gitHead": "e0a0885fdf92926065f788aab0ad62453b875258"
62
+ "gitHead": "e230a2a9dfcc63416df15156d0fe2d85a17cb5fb"
63
63
  }
@@ -1,8 +1,5 @@
1
1
  @import "./core/functions/index.import.scss";
2
2
 
3
- $kendo-color-white: #ffffff; // stylelint-disable-line scss/dollar-variable-default
4
- $kendo-color-black: #000000; // stylelint-disable-line scss/dollar-variable-default
5
-
6
3
  // Options
7
4
  $kendo-enable-rounded: true !default;
8
5
  $kendo-enable-shadows: true !default;
@@ -141,102 +138,7 @@ $kendo-zindex-loading: 100 !default;
141
138
  // Color settings
142
139
  $kendo-is-dark-theme: false !default;
143
140
 
144
- // Theme colors
145
- /// The color that focuses the user attention.
146
- /// Used for primary buttons and for elements of primary importance across the theme.
147
- /// @group color-system
148
- /// @type Color
149
- $kendo-color-primary: #ff6358 !default;
150
- $kendo-color-primary-lighter: k-color-tint( $kendo-color-primary, 2 ) !default;
151
- $kendo-color-primary-darker: k-color-shade( $kendo-color-primary, 2 ) !default;
152
-
153
- /// The color used along with the primary color denoted by $kendo-color-primary.
154
- /// Used to provide contrast between the background and foreground colors.
155
- /// @group color-system
156
- /// @type Color
157
- $kendo-color-primary-contrast: k-contrast-legacy( $kendo-color-primary ) !default;
158
-
159
- /// The secondary color of the theme.
160
- /// @group color-system
161
- /// @type Color
162
- $kendo-color-secondary: #666666 !default;
163
- $kendo-color-secondary-lighter: k-color-tint( $kendo-color-secondary, 2 ) !default;
164
- $kendo-color-secondary-darker: k-color-shade( $kendo-color-secondary, 2 ) !default;
165
-
166
- /// The color used along with the secondary color denoted by $kendo-color-secondary.
167
- /// Used to provide contrast between the background and foreground colors.
168
- /// @group color-system
169
- /// @type Color
170
- $kendo-color-secondary-contrast: k-contrast-legacy( $kendo-color-secondary ) !default;
171
-
172
- /// The tertiary color of the theme.
173
- /// @group color-system
174
- /// @type Color
175
- $kendo-color-tertiary: #03a9f4 !default;
176
- $kendo-color-tertiary-lighter: k-color-tint( $kendo-color-tertiary, 2 ) !default;
177
- $kendo-color-tertiary-darker: k-color-shade( $kendo-color-tertiary, 2 ) !default;
178
-
179
- /// The color used along with the tertiary color denoted by $kendo-color-tertiary.
180
- /// Used to provide contrast between the background and foreground colors.
181
- /// @group color-system
182
- /// @type Color
183
- $kendo-color-tertiary-contrast: k-contrast-legacy( $kendo-color-tertiary ) !default;
184
-
185
- /// The color for informational messages and states.
186
- /// @group color-system
187
- /// @type Color
188
- $kendo-color-info: #0058e9 !default;
189
- $kendo-color-info-lighter: k-color-tint( $kendo-color-info, 2 ) !default;
190
- $kendo-color-info-darker: k-color-shade( $kendo-color-info, 2 ) !default;
191
-
192
- /// The color for success messages and states.
193
- /// @group color-system
194
- /// @type Color
195
- $kendo-color-success: #37b400 !default;
196
- $kendo-color-success-lighter: k-color-tint( $kendo-color-success, 2 ) !default;
197
- $kendo-color-success-darker: k-color-shade( $kendo-color-success, 2 ) !default;
198
-
199
- /// The color for warning messages and states.
200
- /// @group color-system
201
- /// @type Color
202
- $kendo-color-warning: #ffc000 !default;
203
- $kendo-color-warning-lighter: k-color-tint( $kendo-color-warning, 2 ) !default;
204
- $kendo-color-warning-darker: k-color-shade( $kendo-color-warning, 2 ) !default;
205
-
206
- /// The color for error messages and states.
207
- /// @group color-system
208
- /// @type Color
209
- $kendo-color-error: #f31700 !default;
210
- $kendo-color-error-lighter: k-color-tint( $kendo-color-error, 2 ) !default;
211
- $kendo-color-error-darker: k-color-shade( $kendo-color-error, 2 ) !default;
212
-
213
- /// The dark color of the theme.
214
- /// @group color-system
215
- /// @type Color
216
- $kendo-color-dark: #424242 !default;
217
-
218
- /// The light color of the theme.
219
- /// @group color-system
220
- /// @type Color
221
- $kendo-color-light: #ebebeb !default;
222
-
223
- /// Inverse color of the theme. Depending on the theme luminance dark or light, it will be light or dark
224
- /// @group color-system
225
- $kendo-color-inverse: if( $kendo-is-dark-theme, $kendo-color-light, $kendo-color-dark ) !default;
226
-
227
-
228
- $kendo-theme-colors: (
229
- "primary": $kendo-color-primary,
230
- "secondary": $kendo-color-secondary,
231
- "tertiary": $kendo-color-tertiary,
232
- "info": $kendo-color-info,
233
- "success": $kendo-color-success,
234
- "warning": $kendo-color-warning,
235
- "error": $kendo-color-error,
236
- "dark": $kendo-color-dark,
237
- "light": $kendo-color-light,
238
- "inverse": $kendo-color-inverse
239
- ) !default;
141
+
240
142
 
241
143
 
242
144
  // Typography
@@ -318,85 +220,6 @@ $kendo-font-weight-bold: 700 !default;
318
220
  $kendo-letter-spacing: null !default;
319
221
 
320
222
 
321
- // Generic styles
322
-
323
- /// Background color of the body.
324
- /// @group common
325
- $kendo-body-bg: $kendo-color-white !default;
326
- /// Text color of the body.
327
- /// @group common
328
- $kendo-body-text: #424242 !default;
329
-
330
- /// Subtle text color.
331
- /// @group common
332
- $kendo-subtle-text: #666666 !default;
333
-
334
- $kendo-app-bg: k-try-shade( $kendo-body-bg, .25 ) !default;
335
- $kendo-app-text: $kendo-body-text !default;
336
- $kendo-app-border: rgba( $kendo-color-black, .08 ) !default;
337
-
338
- // Link
339
- /// Text color of the links.
340
- /// @group common
341
- $kendo-link-text: $kendo-color-primary !default;
342
- /// Text color of the links on hover.
343
- /// @group common
344
- $kendo-link-hover-text: $kendo-color-primary-darker !default;
345
-
346
-
347
- // Components
348
-
349
- // Component
350
- /// Background color of a component.
351
- /// Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$kendo-grid-bg: $kendo-component-bg !default;`.
352
- /// @group component
353
- $kendo-component-bg: $kendo-body-bg !default;
354
- /// Text color of a component.
355
- /// Note: do not use this variable directly. Instead derive it as `$component-name-text` e.g. `$kendo-grid-text: $kendo-component-text !default;`.
356
- /// @group component
357
- $kendo-component-text: $kendo-body-text !default;
358
- /// Border color of a component.
359
- /// Note: do not use this variable directly. Instead derive it as `$component-name-border` e.g. `$kendo-grid-border: $kendo-component-border !default;`.
360
- /// @group component
361
- $kendo-component-border: rgba( if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black ), .08 ) !default;
362
-
363
-
364
- /// The background of the components' chrome area.
365
- $kendo-base-bg: #fafafa !default;
366
- /// The text color of the components' chrome area.
367
- $kendo-base-text: $kendo-body-text !default;
368
- /// The border color of the components' chrome area.
369
- $kendo-base-border: rgba( black, .08 ) !default;
370
- /// The gradient background of the components' chrome area.
371
- $kendo-base-gradient: rgba( black, 0 ), rgba( black, .02 ) !default;
372
-
373
- /// The background of hovered items.
374
- $kendo-hover-bg: k-try-shade( $kendo-base-bg, .5 ) !default;
375
- /// The text color of hovered items.
376
- $kendo-hover-text: $kendo-base-text !default;
377
- /// The border color of hovered items.
378
- $kendo-hover-border: $kendo-base-border !default;
379
- /// The gradient background of hovered items.
380
- $kendo-hover-gradient: $kendo-base-gradient !default;
381
-
382
- /// The background of selected items.
383
- $kendo-selected-bg: $kendo-color-primary !default;
384
- /// The text color of selected items.
385
- $kendo-selected-text: k-contrast-legacy( $kendo-selected-bg ) !default;
386
- /// The border color of selected items.
387
- $kendo-selected-border: $kendo-base-border !default;
388
- /// The gradient background of selected items.
389
- $kendo-selected-gradient: $kendo-base-gradient !default;
390
-
391
- /// The background of selected and hovered items.
392
- $kendo-selected-hover-bg: k-try-shade( $kendo-selected-bg, .5 ) !default;
393
- /// The text color of selected and hovered items.
394
- $kendo-selected-hover-text: $kendo-selected-text !default;
395
- /// The border of selected and hovered items.
396
- $kendo-selected-hover-border: $kendo-base-border !default;
397
- /// The gradient of selected and hovered items.
398
- $kendo-selected-hover-gradient: $kendo-base-gradient !default;
399
-
400
223
  // TODO: refactor
401
224
  /// Box shadow of focused items.
402
225
  $kendo-focus-shadow: inset 0 0 0 2px rgba(0, 0, 0, .13) !default;
@@ -405,8 +228,6 @@ $kendo-focus-shadow: inset 0 0 0 2px rgba(0, 0, 0, .13) !default;
405
228
  $kendo-transition: color .2s ease-in-out, background-color .2s ease-in-out, border-color .2s ease-in-out, box-shadow .2s ease-in-out !default;
406
229
 
407
230
 
408
- /// Text color of disabled items.
409
- $kendo-disabled-text: #8f8f8f !default;
410
231
  /// Filter used for disabled items.
411
232
  $kendo-disabled-filter: grayscale(.1) !default;
412
233
  /// Opacity used for disabled items.
@@ -418,35 +239,6 @@ $kendo-disabled-styling: (
418
239
  ) !default;
419
240
 
420
241
 
421
- // Generic styles
422
-
423
- /// Background color of the component header.
424
- /// @group component
425
- $kendo-component-header-bg: $kendo-base-bg !default;
426
- /// Text color of the component header.
427
- /// @group component
428
- $kendo-component-header-text: $kendo-base-text !default;
429
- /// Border color of the component header.
430
- /// @group component
431
- $kendo-component-header-border: $kendo-base-border !default;
432
- /// Gradient of the component header.
433
- /// @group component
434
- $kendo-component-header-gradient: null !default;
435
-
436
-
437
- /// Background color of the invalid items.
438
- /// @group component
439
- $kendo-invalid-bg: null !default;
440
- /// Text color of the invalid items.
441
- /// @group component
442
- $kendo-invalid-text: $kendo-color-error !default;
443
- /// Border color of the invalid items.
444
- /// @group component
445
- $kendo-invalid-border: $kendo-color-error !default;
446
- /// Shadow of the invalid items.
447
- /// @group component
448
- $kendo-invalid-shadow: null !default;
449
-
450
242
  // Loading
451
243
  $kendo-loading-opacity: .3 !default;
452
244
  $kendo-zindex-loading: 100 !default;
@@ -7,7 +7,7 @@ $kendo-adaptive-content-bg: $kendo-app-bg !default;
7
7
  $kendo-adaptive-content-text: $kendo-app-text !default;
8
8
 
9
9
  $kendo-adaptive-menu-bg: $kendo-color-primary !default;
10
- $kendo-adaptive-menu-text: k-contrast-legacy( $kendo-adaptive-menu-bg ) !default;
10
+ $kendo-adaptive-menu-text: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-legacy( $kendo-adaptive-menu-bg )) !default;
11
11
 
12
12
  $kendo-adaptive-menu-clear-text: $kendo-color-primary !default;
13
13
 
@@ -18,7 +18,7 @@
18
18
  color: $kendo-appbar-dark-text;
19
19
  background-color: $kendo-appbar-dark-bg;
20
20
  } @else {
21
- color: k-contrast-legacy( $color );
21
+ color: if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-legacy( $color ));
22
22
  background-color: $color;
23
23
  }
24
24
  }
@@ -37,14 +37,14 @@ $kendo-appbar-gap: k-map-get( $kendo-spacing, 2 ) !default;
37
37
  $kendo-appbar-light-bg: $kendo-color-light !default;
38
38
  /// The text color of the AppBar based on light theme color.
39
39
  /// @group appbar
40
- $kendo-appbar-light-text: k-contrast-legacy( $kendo-color-light ) !default;
40
+ $kendo-appbar-light-text: if($kendo-enable-color-system, k-color( on-light ), k-contrast-legacy( $kendo-color-light )) !default;
41
41
 
42
42
  /// The background color of the AppBar based on dark theme color.
43
43
  /// @group appbar
44
44
  $kendo-appbar-dark-bg: $kendo-color-dark !default;
45
45
  /// The text color of the AppBar based on dark theme color.
46
46
  /// @group appbar
47
- $kendo-appbar-dark-text: k-contrast-legacy( $kendo-color-dark ) !default;
47
+ $kendo-appbar-dark-text: if($kendo-enable-color-system, k-color( on-dark ), k-contrast-legacy( $kendo-color-dark )) !default;
48
48
 
49
49
  /// The box shadow of the AppBar.
50
50
  /// @group appbar
@@ -4,7 +4,7 @@
4
4
  @each $name, $color in $kendo-avatar-theme-colors {
5
5
  .k-avatar-solid-#{$name} {
6
6
  border-color: $color;
7
- color: k-contrast-legacy( $color );
7
+ color: if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-legacy( $color ));
8
8
  background-color: $color;
9
9
  }
10
10
  }
@@ -4,7 +4,7 @@
4
4
  @each $name, $color in $kendo-theme-colors {
5
5
  .k-badge-solid-#{$name} {
6
6
  border-color: $color;
7
- color: k-contrast-legacy( $color );
7
+ color: if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-legacy( $color ));
8
8
  background-color: $color;
9
9
  }
10
10
  }
@@ -4,17 +4,17 @@
4
4
  @each $name, $color in $kendo-theme-colors {
5
5
  .k-bottom-nav-solid-#{$name} {
6
6
  @include fill(
7
- $color: k-true-mix( $color, k-contrast-legacy( $color ), 35%),
7
+ $color: if($kendo-enable-color-system, rgba( k-color( on-#{$name}, true ), .65 ), k-true-mix( $color, k-contrast-legacy( $color ), 35%)),
8
8
  $bg: $color
9
9
  );
10
10
 
11
11
  .k-bottom-nav-item.k-focus,
12
12
  .k-bottom-nav-item:focus {
13
- @include fill( $bg: rgba(k-true-mix( $color, k-contrast-legacy( $color ), 35%), .2));
13
+ @include fill( $bg: if($kendo-enable-color-system, rgba( k-color( on-#{$name}, true ), .125 ), rgba(k-true-mix( $color, k-contrast-legacy( $color ), 35%), .2)));
14
14
  }
15
15
 
16
16
  .k-bottom-nav-item.k-selected {
17
- @include fill( $color: k-contrast-legacy( $color ) );
17
+ @include fill( $color: if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-legacy( $color )) );
18
18
  }
19
19
  }
20
20
  // TODO: remove when suites update class names
@@ -34,12 +34,12 @@
34
34
 
35
35
  .k-bottom-nav-item.k-focus,
36
36
  .k-bottom-nav-item:focus {
37
- @include fill( $bg: rgba($kendo-bottom-nav-flat-text, .05) );
37
+ @include fill( $bg: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .05), rgba($kendo-bottom-nav-flat-text, .05)) );
38
38
  }
39
39
 
40
40
  .k-bottom-nav-item.k-selected {
41
41
  @if $name == "secondary" or $name == "light" {
42
- @include fill( $color: k-try-shade($color, 3) );
42
+ @include fill( $color: if($kendo-enable-color-system, k-color( #{$name} ), k-try-shade($color, 3)) );
43
43
  } @else {
44
44
  @include fill( $color: $color );
45
45
  }