@progress/kendo-theme-classic 7.1.0-dev.7 → 7.1.0-dev.9

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 (63) hide show
  1. package/dist/all.css +62 -30
  2. package/dist/all.scss +1568 -650
  3. package/dist/meta/sassdoc-data.json +1792 -662
  4. package/dist/meta/sassdoc-raw-data.json +850 -327
  5. package/dist/meta/variables.json +398 -338
  6. package/lib/swatches/classic-green-dark.json +1 -1
  7. package/lib/swatches/classic-green.json +1 -1
  8. package/lib/swatches/classic-lavender-dark.json +1 -1
  9. package/lib/swatches/classic-lavender.json +1 -1
  10. package/lib/swatches/classic-main-dark.json +1 -1
  11. package/lib/swatches/classic-main.json +1 -1
  12. package/lib/swatches/classic-metro-dark.json +1 -1
  13. package/lib/swatches/classic-metro.json +1 -1
  14. package/lib/swatches/classic-moonlight.json +1 -1
  15. package/lib/swatches/classic-opal-dark.json +1 -1
  16. package/lib/swatches/classic-opal.json +1 -1
  17. package/lib/swatches/classic-silver-dark.json +1 -1
  18. package/lib/swatches/classic-silver.json +1 -1
  19. package/lib/swatches/classic-uniform.json +1 -1
  20. package/package.json +5 -5
  21. package/scss/_variables.scss +0 -197
  22. package/scss/adaptive/_variables.scss +1 -1
  23. package/scss/appbar/_variables.scss +2 -2
  24. package/scss/button/_variables.scss +7 -7
  25. package/scss/chat/_variables.scss +1 -1
  26. package/scss/checkbox/_variables.scss +2 -2
  27. package/scss/chip/_variables.scss +3 -3
  28. package/scss/core/_index.scss +6 -0
  29. package/scss/core/color-system/_palettes.scss +277 -0
  30. package/scss/core/color-system/_swatch-legacy.scss +62 -0
  31. package/scss/core/color-system/_swatch.scss +397 -0
  32. package/scss/dataviz/_variables.scss +42 -42
  33. package/scss/dock-manager/_variables.scss +1 -1
  34. package/scss/dropzone/_variables.scss +1 -1
  35. package/scss/editor/_variables.scss +1 -1
  36. package/scss/expansion-panel/_variables.scss +1 -2
  37. package/scss/filemanager/_variables.scss +2 -2
  38. package/scss/forms/_variables.scss +1 -1
  39. package/scss/gantt/_variables.scss +10 -10
  40. package/scss/grid/_variables.scss +11 -8
  41. package/scss/input/_variables.scss +6 -6
  42. package/scss/listview/_variables.scss +1 -1
  43. package/scss/map/_variables.scss +1 -1
  44. package/scss/mediaplayer/_variables.scss +1 -1
  45. package/scss/menu/_variables.scss +1 -1
  46. package/scss/notification/_variables.scss +1 -1
  47. package/scss/panelbar/_variables.scss +3 -4
  48. package/scss/pivotgrid/_variables.scss +5 -5
  49. package/scss/progressbar/_variables.scss +3 -3
  50. package/scss/scheduler/_variables.scss +3 -3
  51. package/scss/scrollview/_variables.scss +1 -1
  52. package/scss/signature/_variables.scss +1 -1
  53. package/scss/skeleton/_variables.scss +1 -1
  54. package/scss/slider/_variables.scss +8 -8
  55. package/scss/splitter/_variables.scss +1 -1
  56. package/scss/spreadsheet/_variables.scss +4 -4
  57. package/scss/stepper/_variables.scss +7 -7
  58. package/scss/switch/_variables.scss +7 -7
  59. package/scss/table/_variables.scss +3 -3
  60. package/scss/taskboard/_variables.scss +4 -3
  61. package/scss/timeline/_variables.scss +4 -4
  62. package/scss/tooltip/_variables.scss +4 -4
  63. package/scss/core/color-system/index.import.scss +0 -1
@@ -3,7 +3,7 @@
3
3
  "name": "Classic Green Dark",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-classic",
6
- "version": "7.1.0-dev.7",
6
+ "version": "7.1.0-dev.9",
7
7
  "api": "legacy",
8
8
  "previewColors": [
9
9
  "#000000",
@@ -3,7 +3,7 @@
3
3
  "name": "Classic Green",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-classic",
6
- "version": "7.1.0-dev.7",
6
+ "version": "7.1.0-dev.9",
7
7
  "api": "legacy",
8
8
  "previewColors": [
9
9
  "#ffffff",
@@ -3,7 +3,7 @@
3
3
  "name": "Classic Lavender Dark",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-classic",
6
- "version": "7.1.0-dev.7",
6
+ "version": "7.1.0-dev.9",
7
7
  "api": "legacy",
8
8
  "previewColors": [
9
9
  "#000000",
@@ -3,7 +3,7 @@
3
3
  "name": "Classic Lavender",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-classic",
6
- "version": "7.1.0-dev.7",
6
+ "version": "7.1.0-dev.9",
7
7
  "api": "legacy",
8
8
  "previewColors": [
9
9
  "#ffffff",
@@ -3,7 +3,7 @@
3
3
  "name": "Classic Main Dark",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-classic",
6
- "version": "7.1.0-dev.7",
6
+ "version": "7.1.0-dev.9",
7
7
  "api": "legacy",
8
8
  "previewColors": [
9
9
  "#000000",
@@ -3,7 +3,7 @@
3
3
  "name": "Classic Main",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-classic",
6
- "version": "7.1.0-dev.7",
6
+ "version": "7.1.0-dev.9",
7
7
  "api": "legacy",
8
8
  "previewColors": [
9
9
  "#ffffff",
@@ -3,7 +3,7 @@
3
3
  "name": "Classic Metro Dark",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-classic",
6
- "version": "7.1.0-dev.7",
6
+ "version": "7.1.0-dev.9",
7
7
  "api": "legacy",
8
8
  "previewColors": [
9
9
  "#000000",
@@ -3,7 +3,7 @@
3
3
  "name": "Classic Metro",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-classic",
6
- "version": "7.1.0-dev.7",
6
+ "version": "7.1.0-dev.9",
7
7
  "api": "legacy",
8
8
  "previewColors": [
9
9
  "#ffffff",
@@ -3,7 +3,7 @@
3
3
  "name": "Classic Moonlight",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-classic",
6
- "version": "7.1.0-dev.7",
6
+ "version": "7.1.0-dev.9",
7
7
  "api": "legacy",
8
8
  "previewColors": [
9
9
  "#1f2a35",
@@ -3,7 +3,7 @@
3
3
  "name": "Classic Opal Dark",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-classic",
6
- "version": "7.1.0-dev.7",
6
+ "version": "7.1.0-dev.9",
7
7
  "api": "legacy",
8
8
  "previewColors": [
9
9
  "#000000",
@@ -3,7 +3,7 @@
3
3
  "name": "Classic Opal",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-classic",
6
- "version": "7.1.0-dev.7",
6
+ "version": "7.1.0-dev.9",
7
7
  "api": "legacy",
8
8
  "previewColors": [
9
9
  "#ffffff",
@@ -3,7 +3,7 @@
3
3
  "name": "Classic Silver Dark",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-classic",
6
- "version": "7.1.0-dev.7",
6
+ "version": "7.1.0-dev.9",
7
7
  "api": "legacy",
8
8
  "previewColors": [
9
9
  "#000000",
@@ -3,7 +3,7 @@
3
3
  "name": "Classic Silver",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-classic",
6
- "version": "7.1.0-dev.7",
6
+ "version": "7.1.0-dev.9",
7
7
  "api": "legacy",
8
8
  "previewColors": [
9
9
  "#ffffff",
@@ -3,7 +3,7 @@
3
3
  "name": "Classic Uniform",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-classic",
6
- "version": "7.1.0-dev.7",
6
+ "version": "7.1.0-dev.9",
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-classic",
3
3
  "description": "Sass port of less based themes for Kendo UI theme",
4
- "version": "7.1.0-dev.7",
4
+ "version": "7.1.0-dev.9",
5
5
  "author": "Progress",
6
6
  "license": "Apache-2.0",
7
7
  "keywords": [
@@ -53,13 +53,13 @@
53
53
  },
54
54
  "dependencies": {
55
55
  "@progress/kendo-svg-icons": "2.1.0",
56
- "@progress/kendo-theme-core": "7.1.0-dev.7",
57
- "@progress/kendo-theme-default": "7.1.0-dev.7",
58
- "@progress/kendo-theme-utils": "7.1.0-dev.7"
56
+ "@progress/kendo-theme-core": "7.1.0-dev.9",
57
+ "@progress/kendo-theme-default": "7.1.0-dev.9",
58
+ "@progress/kendo-theme-utils": "7.1.0-dev.9"
59
59
  },
60
60
  "directories": {
61
61
  "doc": "docs",
62
62
  "lib": "lib"
63
63
  },
64
- "gitHead": "4bacca4f18a86fbe5bd6cf1cbf192e82c5504709"
64
+ "gitHead": "4a6a0cb7085a4b032405585e25da25fd4383d7d7"
65
65
  }
@@ -1,17 +1,5 @@
1
1
  @import "./core/functions/index.import.scss";
2
2
 
3
- /// The color white.
4
- /// Note: you cannot change this value.
5
- /// @type Color
6
- /// @group color-system
7
- $kendo-color-white: #ffffff; // stylelint-disable-line scss/dollar-variable-default
8
-
9
- /// The color black.
10
- /// Note: you cannot change this value.
11
- /// @type Color
12
- /// @group color-system
13
- $kendo-color-black: #000000; // stylelint-disable-line scss/dollar-variable-default
14
-
15
3
  // Options
16
4
  $kendo-enable-rounded: true !default;
17
5
  $kendo-enable-shadows: true !default;
@@ -115,103 +103,6 @@ $kendo-zindex-loading: 100 !default;
115
103
  // Color settings
116
104
  $kendo-is-dark-theme: false !default;
117
105
 
118
- // Theme colors
119
- /// The color that focuses the user attention.
120
- /// Used for primary buttons and for elements of primary importance across the theme.
121
- /// @group color-system
122
- /// @type Color
123
- $kendo-color-primary: #f35800 !default;
124
- $kendo-color-primary-lighter: k-color-tint( $kendo-color-primary, 2 ) !default;
125
- $kendo-color-primary-darker: k-color-shade( $kendo-color-primary, 2 ) !default;
126
-
127
- /// The color used along with the primary color denoted by $kendo-color-primary.
128
- /// Used to provide contrast between the background and foreground colors.
129
- /// @group color-system
130
- /// @type Color
131
- $kendo-color-primary-contrast: k-contrast-legacy( $kendo-color-primary ) !default;
132
-
133
- /// The secondary color of the theme.
134
- /// @group color-system
135
- /// @type Color
136
- $kendo-color-secondary: #e9e9e9 !default;
137
- $kendo-color-secondary-lighter: k-color-tint( $kendo-color-secondary, 2 ) !default;
138
- $kendo-color-secondary-darker: k-color-shade( $kendo-color-secondary, 2 ) !default;
139
-
140
- /// The color used along with the secondary color denoted by $kendo-color-secondary.
141
- /// Used to provide contrast between the background and foreground colors.
142
- /// @group color-system
143
- /// @type Color
144
- $kendo-color-secondary-contrast: k-contrast-color( $kendo-color-secondary ) !default;
145
-
146
- /// The tertiary color of the theme.
147
- /// @group color-system
148
- /// @type Color
149
- $kendo-color-tertiary: #03a9f4 !default;
150
- $kendo-color-tertiary-lighter: k-color-tint( $kendo-color-tertiary, 2 ) !default;
151
- $kendo-color-tertiary-darker: k-color-shade( $kendo-color-tertiary, 2 ) !default;
152
-
153
- /// The color used along with the tertiary color denoted by $kendo-color-tertiary.
154
- /// Used to provide contrast between the background and foreground colors.
155
- /// @group color-system
156
- /// @type Color
157
- $kendo-color-tertiary-contrast: k-contrast-color( $kendo-color-tertiary ) !default;
158
-
159
- /// The color for informational messages and states.
160
- /// @group color-system
161
- /// @type Color
162
- $kendo-color-info: #2498bc !default;
163
- $kendo-color-info-lighter: k-color-tint( $kendo-color-info, 2 ) !default;
164
- $kendo-color-info-darker: k-color-shade( $kendo-color-info, 2 ) !default;
165
-
166
- /// The color for success messages and states.
167
- /// @group color-system
168
- /// @type Color
169
- $kendo-color-success: #3ea44e !default;
170
- $kendo-color-success-lighter: k-color-tint( $kendo-color-success, 2 ) !default;
171
- $kendo-color-success-darker: k-color-shade( $kendo-color-success, 2 ) !default;
172
-
173
- /// The color for warning messages and states.
174
- /// @group color-system
175
- /// @type Color
176
- $kendo-color-warning: #ff9800 !default;
177
- $kendo-color-warning-lighter: k-color-tint( $kendo-color-warning, 2 ) !default;
178
- $kendo-color-warning-darker: k-color-shade( $kendo-color-warning, 2 ) !default;
179
-
180
- /// The color for error messages and states.
181
- /// @group color-system
182
- /// @type Color
183
- $kendo-color-error: #d92800 !default;
184
- $kendo-color-error-lighter: k-color-tint( $kendo-color-error, 2 ) !default;
185
- $kendo-color-error-darker: k-color-shade( $kendo-color-error, 2 ) !default;
186
-
187
- /// The dark color of the theme.
188
- /// @group color-system
189
- /// @type Color
190
- $kendo-color-dark: #404040 !default;
191
-
192
- /// The light color of the theme.
193
- /// @group color-system
194
- /// @type Color
195
- $kendo-color-light: #ebebeb !default;
196
-
197
- /// Inverse color of the theme. Depending on the theme luminance dark or light, it will be light or dark
198
- /// @group color-system
199
- $kendo-color-inverse: if( $kendo-is-dark-theme, $kendo-color-light, $kendo-color-dark ) !default;
200
-
201
-
202
- $kendo-theme-colors: (
203
- "primary": $kendo-color-primary,
204
- "secondary": $kendo-color-secondary,
205
- "tertiary": $kendo-color-tertiary,
206
- "info": $kendo-color-info,
207
- "success": $kendo-color-success,
208
- "warning": $kendo-color-warning,
209
- "error": $kendo-color-error,
210
- "dark": $kendo-color-dark,
211
- "light": $kendo-color-light,
212
- "inverse": $kendo-color-inverse
213
- ) !default;
214
-
215
106
 
216
107
  // Typography
217
108
 
@@ -264,77 +155,12 @@ $kendo-font-weight-bold: 700 !default;
264
155
  $kendo-letter-spacing: null !default;
265
156
 
266
157
 
267
- // Generic styles
268
-
269
- // Root styles
270
- $kendo-body-bg: $kendo-color-white !default;
271
- $kendo-body-text: #272727 !default;
272
-
273
- $kendo-subtle-text: #646464 !default;
274
-
275
- $kendo-app-bg: $kendo-body-bg !default;
276
- $kendo-app-text: $kendo-body-text !default;
277
- $kendo-app-border: k-try-shade( $kendo-app-bg, 2 ) !default;
278
-
279
- // Link
280
- $kendo-link-text: $kendo-color-primary !default;
281
- $kendo-link-hover-text: $kendo-color-primary-darker !default;
282
-
283
-
284
- // Components
285
-
286
- /// The background of the components' chrome area.
287
- $kendo-base-bg: #f0f0f0 !default;
288
- /// The text color of the components' chrome area.
289
- $kendo-base-text: $kendo-body-text !default;
290
- /// The border color of the components' chrome area.
291
- $kendo-base-border: k-try-shade( $kendo-base-bg, 2 ) !default;
292
- /// The gradient background of the components' chrome area.
293
- $kendo-base-gradient: rgba( white, .1 ), rgba( white, 0 ) !default;
294
-
295
- /// Background color of a component.
296
- /// Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$kendo-grid-bg: $kendo-component-bg !default;`.
297
- /// @group component
298
- $kendo-component-bg: $kendo-body-bg !default;
299
- /// Text color of a component.
300
- /// Note: do not use this variable directly. Instead derive it as `$component-name-text` e.g. `$kendo-grid-text: $kendo-component-text !default;`.
301
- /// @group component
302
- $kendo-component-text: $kendo-body-text !default;
303
- /// Border color of a component.
304
- /// Note: do not use this variable directly. Instead derive it as `$component-name-border` e.g. `$kendo-grid-border: $kendo-component-border !default;`.
305
- /// @group component
306
- $kendo-component-border: $kendo-base-border !default;
307
-
308
- /// The background of hovered items.
309
- $kendo-hover-bg: k-try-shade( $kendo-base-bg, 1 ) !default;
310
- /// The text color of hovered items.
311
- $kendo-hover-text: $kendo-base-text !default;
312
- /// The border color of hovered items.
313
- $kendo-hover-border: k-try-shade( $kendo-hover-bg, 2 ) !default;
314
- /// The gradient background of hovered items.
315
- $kendo-hover-gradient: $kendo-base-gradient !default;
316
-
317
- /// The background of selected items.
318
- $kendo-selected-bg: $kendo-color-primary !default;
319
- /// The text color of selected items.
320
- $kendo-selected-text: k-contrast-legacy( $kendo-selected-bg ) !default;
321
- /// The border color of selected items.
322
- $kendo-selected-border: k-try-shade( $kendo-selected-bg, 2 ) !default;
323
- /// The gradient background of selected items.
324
- $kendo-selected-gradient: $kendo-base-gradient !default;
325
-
326
- $kendo-selected-hover-bg: k-try-shade( $kendo-selected-bg, 1 ) !default;
327
- $kendo-selected-hover-text: k-contrast-legacy( $kendo-selected-hover-bg ) !default;
328
- $kendo-selected-hover-border: $kendo-selected-border !default;
329
- $kendo-selected-hover-gradient: $kendo-selected-gradient !default;
330
-
331
158
  $kendo-focus-shadow: inset 0 0 0 2px rgba( black, .13 ) !default;
332
159
 
333
160
  $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;
334
161
 
335
162
 
336
163
  // Disabled mixin variables
337
- $kendo-disabled-text: #8d8d8d !default;
338
164
  $kendo-disabled-filter: grayscale(.1) !default;
339
165
  $kendo-disabled-opacity: .6 !default;
340
166
 
@@ -344,29 +170,6 @@ $kendo-disabled-styling: (
344
170
  ) !default;
345
171
 
346
172
 
347
- // Generic styles
348
-
349
- // TODO: refactor once we extract drag drop as separate module
350
-
351
-
352
- // Header
353
- $kendo-component-header-bg: $kendo-base-bg !default;
354
- $kendo-component-header-text: $kendo-base-text !default;
355
- $kendo-component-header-border: $kendo-base-border !default;
356
- $kendo-component-header-gradient: $kendo-base-gradient !default;
357
-
358
-
359
- // Validator
360
- $kendo-invalid-bg: null !default;
361
- $kendo-invalid-text: $kendo-color-error !default;
362
- $kendo-invalid-border: $kendo-color-error !default;
363
- $kendo-invalid-shadow: null !default;
364
-
365
- $kendo-valid-bg: null !default;
366
- $kendo-valid-text: $kendo-color-success !default;
367
- $kendo-valid-border: $kendo-color-success !default;
368
- $kendo-valid-shadow: null !default;
369
-
370
173
  // Loading
371
174
  $kendo-loading-opacity: .3 !default;
372
175
  $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
 
@@ -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-color( $kendo-color-light ) !default;
40
+ $kendo-appbar-light-text: if($kendo-enable-color-system, k-color( on-light ), k-contrast-color( $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 colorr.
46
46
  /// @group appbar
47
- $kendo-appbar-dark-text: k-contrast-color( $kendo-color-dark ) !default;
47
+ $kendo-appbar-dark-text: if($kendo-enable-color-system, k-color( on-dark ), k-contrast-color( $kendo-color-dark )) !default;
48
48
 
49
49
  /// The box shadow of the AppBar.
50
50
  /// @group appbar
@@ -116,7 +116,7 @@ $kendo-button-bg: $kendo-base-bg !default;
116
116
  $kendo-button-text: $kendo-base-text !default;
117
117
  /// The base border color of the Button.
118
118
  /// @group button
119
- $kendo-button-border: k-try-shade( $kendo-button-bg, 2 ) !default;
119
+ $kendo-button-border: if($kendo-enable-color-system, k-color( border ), k-try-shade( $kendo-button-bg, 2 )) !default;
120
120
  /// The base background gradient of the Button.
121
121
  /// @group button
122
122
  $kendo-button-gradient: $kendo-base-gradient !default;
@@ -126,13 +126,13 @@ $kendo-button-shadow: null !default;
126
126
 
127
127
  /// The base background of the hovered Button.
128
128
  /// @group button
129
- $kendo-button-hover-bg: k-try-shade( $kendo-button-bg, 1 ) !default;
129
+ $kendo-button-hover-bg: if($kendo-enable-color-system, k-color( base-hover ), k-try-shade( $kendo-button-bg, 1 )) !default;
130
130
  /// The base text color of the hovered Button.
131
131
  /// @group button
132
132
  $kendo-button-hover-text: null !default;
133
133
  /// The base border color of the hovered Button.
134
134
  /// @group button
135
- $kendo-button-hover-border: k-try-shade( $kendo-button-bg, 3 ) !default;
135
+ $kendo-button-hover-border: if($kendo-enable-color-system, k-color( border-alt ), k-try-shade( $kendo-button-bg, 3 )) !default;
136
136
  /// The base background gradient of the hovered Button.
137
137
  /// @group button
138
138
  $kendo-button-hover-gradient: null !default;
@@ -142,13 +142,13 @@ $kendo-button-hover-shadow: null !default;
142
142
 
143
143
  /// The base background color of the active Button.
144
144
  /// @group button
145
- $kendo-button-active-bg: k-try-shade( $kendo-button-bg, 2 ) !default;
145
+ $kendo-button-active-bg: if($kendo-enable-color-system, k-color( base-active ), k-try-shade( $kendo-button-bg, 2 )) !default;
146
146
  /// The base text color of the active Button.
147
147
  /// @group button
148
148
  $kendo-button-active-text: null !default;
149
149
  /// The base border color of the active Button.
150
150
  /// @group button
151
- $kendo-button-active-border: k-try-shade( $kendo-button-bg, 4 ) !default;
151
+ $kendo-button-active-border: if($kendo-enable-color-system, k-color( border-alt ), k-try-shade( $kendo-button-bg, 4 )) !default;
152
152
  /// The base background gradient of the active Button.
153
153
  /// @group button
154
154
  $kendo-button-active-gradient: null !default;
@@ -161,7 +161,7 @@ $kendo-button-active-shadow: null !default;
161
161
  $kendo-button-selected-bg: $kendo-color-primary !default;
162
162
  /// The text color of the selected Button.
163
163
  /// @group button
164
- $kendo-button-selected-text: k-contrast-legacy( $kendo-button-selected-bg ) !default;
164
+ $kendo-button-selected-text: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-legacy( $kendo-button-selected-bg )) !default;
165
165
  /// The border color of the selected Button.
166
166
  /// @group button
167
167
  $kendo-button-selected-border: $kendo-button-selected-bg !default;
@@ -186,7 +186,7 @@ $kendo-button-focus-border: null !default;
186
186
  $kendo-button-focus-gradient: null !default;
187
187
  /// The base shadow of the focused Button.
188
188
  /// @group button
189
- $kendo-button-focus-shadow: 0 0 4px 0 rgba( $kendo-button-border, .75 ) !default;
189
+ $kendo-button-focus-shadow: 0 0 4px 0 if($kendo-enable-color-system, rgba( k-color( border, true ), .75), rgba( $kendo-button-border, .75 )) !default;
190
190
 
191
191
  /// The base background of the disabled Button.
192
192
  /// @group button
@@ -57,7 +57,7 @@ $kendo-chat-bubble-hover-shadow: k-elevation(2) !default;
57
57
  $kendo-chat-bubble-selected-shadow: k-elevation(3) !default;
58
58
 
59
59
  $kendo-chat-alt-bubble-bg: $kendo-color-primary !default;
60
- $kendo-chat-alt-bubble-text: k-contrast-legacy( $kendo-chat-alt-bubble-bg ) !default;
60
+ $kendo-chat-alt-bubble-text: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-legacy( $kendo-chat-alt-bubble-bg )) !default;
61
61
  $kendo-chat-alt-bubble-border: $kendo-chat-alt-bubble-bg !default;
62
62
  $kendo-chat-alt-bubble-shadow: k-elevation(1) !default;
63
63
  $kendo-chat-alt-bubble-hover-shadow: k-elevation(2) !default;
@@ -81,7 +81,7 @@ $kendo-checkbox-hover-border: null !default;
81
81
  $kendo-checkbox-checked-bg: $kendo-color-primary !default;
82
82
  /// The text color of the checked CheckBox.
83
83
  /// @group checkbox
84
- $kendo-checkbox-checked-text: k-contrast-legacy( $kendo-checkbox-checked-bg ) !default;
84
+ $kendo-checkbox-checked-text: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-legacy( $kendo-checkbox-checked-bg )) !default;
85
85
  /// The border color of the checked CheckBox.
86
86
  /// @group checkbox
87
87
  $kendo-checkbox-checked-border: $kendo-checkbox-checked-bg !default;
@@ -107,7 +107,7 @@ $kendo-checkbox-focus-shadow: 0 0 0 2px rgba( black, .06 ) !default;
107
107
  $kendo-checkbox-focus-checked-border: null !default;
108
108
  /// The box shadow of the focused and checked CheckBox.
109
109
  /// @group checkbox
110
- $kendo-checkbox-focus-checked-shadow: 0 0 0 2px rgba( $kendo-color-primary, .3 ) !default;
110
+ $kendo-checkbox-focus-checked-shadow: 0 0 0 2px if($kendo-enable-color-system, rgba( k-color( primary, true ), .3 ), rgba( $kendo-color-primary, .3 )) !default;
111
111
 
112
112
  /// The background color of the disabled CheckBox.
113
113
  /// @group checkbox
@@ -115,7 +115,7 @@ $kendo-chip-solid-text: $kendo-button-text !default;
115
115
  $kendo-chip-solid-border: $kendo-button-border !default;
116
116
  /// The base shadow of the solid Chip.
117
117
  /// @group chip
118
- $kendo-chip-solid-shadow: 0 0 0 2px if( $kendo-is-dark-theme, rgba( $kendo-color-white, .16 ), rgba( $kendo-color-black, .16 ) ) !default;
118
+ $kendo-chip-solid-shadow: 0 0 0 2px if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .16 ), if( $kendo-is-dark-theme, rgba( $kendo-color-white, .16 ), rgba( $kendo-color-black, .16 ) )) !default;
119
119
  /// The base gradient of the solid Chip.
120
120
  /// @group chip
121
121
  $kendo-chip-solid-gradient: $kendo-button-gradient !default;
@@ -152,14 +152,14 @@ $kendo-chip-outline-text: $kendo-chip-solid-text !default;
152
152
  $kendo-chip-outline-border: $kendo-chip-outline-text !default;
153
153
  /// The base shadow of the outline Chip.
154
154
  /// @group chip
155
- $kendo-chip-outline-shadow: 0 0 0 2px if( $kendo-is-dark-theme, rgba( $kendo-color-white, .16 ), rgba( $kendo-color-black, .16 ) ) !default;
155
+ $kendo-chip-outline-shadow: 0 0 0 2px if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .16 ), if( $kendo-is-dark-theme, rgba( $kendo-color-white, .16 ), rgba( $kendo-color-black, .16 ) )) !default;
156
156
 
157
157
  /// The base background color of the hovered outline Chip.
158
158
  /// @group chip
159
159
  $kendo-chip-outline-hover-bg: $kendo-chip-outline-text !default;
160
160
  /// The base text color of the hovered outline Chip.
161
161
  /// @group chip
162
- $kendo-chip-outline-hover-text: k-contrast-legacy( $kendo-chip-outline-hover-bg ) !default;
162
+ $kendo-chip-outline-hover-text: if($kendo-enable-color-system, k-color( base-subtle ), k-contrast-legacy( $kendo-chip-outline-hover-bg )) !default;
163
163
 
164
164
  /// The base background color of the selected outline Chip.
165
165
  /// @group chip
@@ -1,10 +1,16 @@
1
1
  $wcag-min-contrast-ratio: 4.5 !default;
2
2
 
3
+ // Color System
4
+ @import "./color-system/_swatch.scss";
5
+
3
6
  // Variables
4
7
  @import "../_variables.scss";
5
8
 
6
9
  @import "@progress/kendo-theme-core/scss/index.import.scss";
7
10
 
11
+ // Backward compatibility
12
+ @import "./color-system/_swatch-legacy.scss";
13
+
8
14
  // Expose
9
15
  @include exports("kendo-core-styles") {
10
16
  @include kendo-core--styles();