@progress/kendo-theme-bootstrap 7.1.0-dev.1 → 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 (75) hide show
  1. package/dist/all.css +365 -32
  2. package/dist/all.scss +1996 -687
  3. package/dist/meta/sassdoc-data.json +2563 -1265
  4. package/dist/meta/sassdoc-raw-data.json +1100 -502
  5. package/dist/meta/variables.json +483 -331
  6. package/lib/swatches/bootstrap-3-dark.json +1 -1
  7. package/lib/swatches/bootstrap-3.json +1 -1
  8. package/lib/swatches/bootstrap-4-dark.json +1 -1
  9. package/lib/swatches/bootstrap-4.json +1 -1
  10. package/lib/swatches/bootstrap-dataviz-v4.json +1 -1
  11. package/lib/swatches/bootstrap-main-dark.json +1 -1
  12. package/lib/swatches/bootstrap-main.json +1 -1
  13. package/lib/swatches/bootstrap-nordic.json +1 -1
  14. package/lib/swatches/bootstrap-turquoise-dark.json +1 -1
  15. package/lib/swatches/bootstrap-turquoise.json +1 -1
  16. package/lib/swatches/bootstrap-urban.json +1 -1
  17. package/lib/swatches/bootstrap-vintage.json +1 -1
  18. package/package.json +6 -6
  19. package/scss/_bootstrap-overrides.scss +0 -22
  20. package/scss/_variables.scss +0 -198
  21. package/scss/adaptive/_variables.scss +1 -1
  22. package/scss/all.scss +0 -1
  23. package/scss/appbar/_variables.scss +2 -2
  24. package/scss/breadcrumb/_variables.scss +1 -1
  25. package/scss/button/_variables.scss +13 -13
  26. package/scss/calendar/_variables.scss +1 -1
  27. package/scss/chat/_variables.scss +1 -1
  28. package/scss/checkbox/_variables.scss +4 -4
  29. package/scss/chip/_theme.scss +5 -4
  30. package/scss/chip/_variables.scss +1 -1
  31. package/scss/core/_index.scss +6 -0
  32. package/scss/core/color-system/_palettes.scss +171 -0
  33. package/scss/core/color-system/_swatch-legacy.scss +66 -0
  34. package/scss/core/color-system/_swatch.scss +391 -0
  35. package/scss/dataviz/_variables.scss +42 -42
  36. package/scss/dock-manager/_variables.scss +1 -1
  37. package/scss/drawer/_variables.scss +1 -1
  38. package/scss/dropzone/_variables.scss +2 -2
  39. package/scss/editor/_variables.scss +1 -1
  40. package/scss/fab/_theme.scss +21 -21
  41. package/scss/filemanager/_variables.scss +2 -2
  42. package/scss/filter/_variables.scss +1 -1
  43. package/scss/gantt/_variables.scss +13 -13
  44. package/scss/grid/_theme.scss +54 -6
  45. package/scss/grid/_variables.scss +12 -9
  46. package/scss/index.scss +2 -0
  47. package/scss/input/_variables.scss +19 -5
  48. package/scss/list/_variables.scss +1 -1
  49. package/scss/listview/_variables.scss +2 -2
  50. package/scss/map/_variables.scss +1 -1
  51. package/scss/mediaplayer/_variables.scss +1 -1
  52. package/scss/menu/_variables.scss +6 -6
  53. package/scss/notification/_variables.scss +3 -3
  54. package/scss/pager/_variables.scss +1 -1
  55. package/scss/panelbar/_variables.scss +4 -4
  56. package/scss/pivotgrid/_variables.scss +5 -5
  57. package/scss/prompt/_index.scss +37 -0
  58. package/scss/prompt/_layout.scss +6 -0
  59. package/scss/prompt/_theme.scss +6 -0
  60. package/scss/prompt/_variables.scss +66 -0
  61. package/scss/scheduler/_variables.scss +3 -3
  62. package/scss/signature/_variables.scss +1 -1
  63. package/scss/skeleton/_variables.scss +1 -1
  64. package/scss/slider/_variables.scss +8 -8
  65. package/scss/splitter/_variables.scss +1 -1
  66. package/scss/spreadsheet/_variables.scss +4 -4
  67. package/scss/stepper/_variables.scss +7 -7
  68. package/scss/switch/_variables.scss +6 -6
  69. package/scss/table/_variables.scss +3 -3
  70. package/scss/taskboard/_variables.scss +8 -8
  71. package/scss/timeline/_variables.scss +4 -4
  72. package/scss/toolbar/_variables.scss +1 -1
  73. package/scss/tooltip/_variables.scss +4 -4
  74. package/scss/treeview/_variables.scss +1 -1
  75. package/scss/upload/_variables.scss +1 -1
@@ -3,7 +3,7 @@
3
3
  "name": "Bootstrap 3 Dark",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-bootstrap",
6
- "version": "7.1.0-dev.1",
6
+ "version": "7.1.0-dev.10",
7
7
  "previewColors": [
8
8
  "#000000",
9
9
  "#222222",
@@ -3,7 +3,7 @@
3
3
  "name": "Bootstrap 3",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-bootstrap",
6
- "version": "7.1.0-dev.1",
6
+ "version": "7.1.0-dev.10",
7
7
  "previewColors": [
8
8
  "#ffffff",
9
9
  "#f5f5f5",
@@ -3,7 +3,7 @@
3
3
  "name": "Bootstrap 4 Dark",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-bootstrap",
6
- "version": "7.1.0-dev.1",
6
+ "version": "7.1.0-dev.10",
7
7
  "previewColors": [
8
8
  "#000000",
9
9
  "#212529",
@@ -3,7 +3,7 @@
3
3
  "name": "Bootstrap 4",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-bootstrap",
6
- "version": "7.1.0-dev.1",
6
+ "version": "7.1.0-dev.10",
7
7
  "previewColors": [
8
8
  "#ffffff",
9
9
  "#f8f9fa",
@@ -3,7 +3,7 @@
3
3
  "name": "Bootstrap Dataviz v4",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-bootstrap",
6
- "version": "7.1.0-dev.1",
6
+ "version": "7.1.0-dev.10",
7
7
  "previewColors": [
8
8
  "#0275d8",
9
9
  "#5bc0de",
@@ -3,7 +3,7 @@
3
3
  "name": "Bootstrap Main Dark",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-bootstrap",
6
- "version": "7.1.0-dev.1",
6
+ "version": "7.1.0-dev.10",
7
7
  "previewColors": [
8
8
  "#000000",
9
9
  "#212529",
@@ -3,7 +3,7 @@
3
3
  "name": "Bootstrap Main",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-bootstrap",
6
- "version": "7.1.0-dev.1",
6
+ "version": "7.1.0-dev.10",
7
7
  "previewColors": [
8
8
  "#ffffff",
9
9
  "#f8f9fa",
@@ -3,7 +3,7 @@
3
3
  "name": "Bootstrap Nordic",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-bootstrap",
6
- "version": "7.1.0-dev.1",
6
+ "version": "7.1.0-dev.10",
7
7
  "previewColors": [
8
8
  "#ffffff",
9
9
  "#f8f9fa",
@@ -3,7 +3,7 @@
3
3
  "name": "Bootstrap Turquoise Dark",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-bootstrap",
6
- "version": "7.1.0-dev.1",
6
+ "version": "7.1.0-dev.10",
7
7
  "previewColors": [
8
8
  "#000000",
9
9
  "#292b2c",
@@ -3,7 +3,7 @@
3
3
  "name": "Bootstrap Turquoise",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-bootstrap",
6
- "version": "7.1.0-dev.1",
6
+ "version": "7.1.0-dev.10",
7
7
  "previewColors": [
8
8
  "#ffffff",
9
9
  "#f2f2f2",
@@ -3,7 +3,7 @@
3
3
  "name": "Bootstrap Urban",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-bootstrap",
6
- "version": "7.1.0-dev.1",
6
+ "version": "7.1.0-dev.10",
7
7
  "previewColors": [
8
8
  "#ffffff",
9
9
  "#e3eef4",
@@ -3,7 +3,7 @@
3
3
  "name": "Bootstrap Vintage",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-bootstrap",
6
- "version": "7.1.0-dev.1",
6
+ "version": "7.1.0-dev.10",
7
7
  "previewColors": [
8
8
  "#ffffff",
9
9
  "#f2efe8",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-theme-bootstrap",
3
3
  "description": "Bootstrap theme for Kendo UI",
4
- "version": "7.1.0-dev.1",
4
+ "version": "7.1.0-dev.10",
5
5
  "author": "Progress",
6
6
  "license": "Apache-2.0",
7
7
  "keywords": [
@@ -52,15 +52,15 @@
52
52
  "postpublish": "echo 'no postpublish for bootstrap theme'"
53
53
  },
54
54
  "dependencies": {
55
- "@progress/kendo-svg-icons": "2.0.0",
56
- "@progress/kendo-theme-core": "7.1.0-dev.1",
57
- "@progress/kendo-theme-default": "7.1.0-dev.1",
58
- "@progress/kendo-theme-utils": "7.1.0-dev.1",
55
+ "@progress/kendo-svg-icons": "2.1.0",
56
+ "@progress/kendo-theme-core": "7.1.0-dev.10",
57
+ "@progress/kendo-theme-default": "7.1.0-dev.10",
58
+ "@progress/kendo-theme-utils": "7.1.0-dev.10",
59
59
  "bootstrap": "5.2.1"
60
60
  },
61
61
  "directories": {
62
62
  "doc": "docs",
63
63
  "lib": "lib"
64
64
  },
65
- "gitHead": "9b5f2911c5d1962fef292ed43c870776a0bf23d9"
65
+ "gitHead": "e230a2a9dfcc63416df15156d0fe2d85a17cb5fb"
66
66
  }
@@ -1,22 +0,0 @@
1
- $kendo-is-dark-theme: false !default;
2
-
3
- $gray-100: #f8f9fa !default;
4
- $gray-200: #e9ecef !default;
5
- $gray-300: #dee2e6 !default;
6
- $gray-400: #ced4da !default;
7
- $gray-500: #adb5bd !default;
8
- $gray-600: #6c757d !default;
9
- $gray-700: #495057 !default;
10
- $gray-800: #343a40 !default;
11
- $gray-900: #212529 !default;
12
-
13
- $kendo-body-bg: #ffffff !default;
14
-
15
- $kendo-component-bg: $kendo-body-bg !default;
16
- $kendo-component-text: k-contrast-color( $kendo-component-bg, $gray-900, $gray-100 ) !default;
17
- $kendo-component-border: if( k-is-light( $kendo-component-bg ), $gray-300, $gray-700 ) !default;
18
-
19
- $input-bg: $kendo-component-bg !default;
20
- $input-color: k-contrast-color( $input-bg, $gray-900, $gray-300 ) !default;
21
- $input-border-color: if( k-is-light( $input-bg ), $gray-400, $gray-600 ) !default;
22
- $input-placeholder-color: k-contrast-color( $input-bg, $gray-600, $gray-400 ) !default;
@@ -1,19 +1,4 @@
1
1
  @import "./core/functions/index.import.scss";
2
- @import "./_bootstrap-overrides.scss";
3
- @import "bootstrap/scss/_functions.scss";
4
- @import "bootstrap/scss/_variables.scss";
5
-
6
- /// The color white.
7
- /// Note: you cannot change this value.
8
- /// @type Color
9
- /// @group color-system
10
- $kendo-color-white: #ffffff; // stylelint-disable-line scss/dollar-variable-default
11
-
12
- /// The color black.
13
- /// Note: you cannot change this value.
14
- /// @type Color
15
- /// @group color-system
16
- $kendo-color-black: #000000; // stylelint-disable-line scss/dollar-variable-default
17
2
 
18
3
  // Options
19
4
  $kendo-enable-rounded: true !default;
@@ -114,107 +99,6 @@ $kendo-zindex-window: 2 !default;
114
99
  $kendo-zindex-loading: 100 !default;
115
100
 
116
101
 
117
- // Color settings
118
- $kendo-is-dark-theme: false !default;
119
-
120
- // Theme colors
121
- /// The color that focuses the user attention.
122
- /// Used for primary buttons and for elements of primary importance across the theme.
123
- /// @group color-system
124
- /// @type Color
125
- $kendo-color-primary: $primary !default;
126
- $kendo-color-primary-lighter: k-color-tint( $kendo-color-primary, 2 ) !default;
127
- $kendo-color-primary-darker: k-color-shade( $kendo-color-primary, 2 ) !default;
128
-
129
- /// The color used along with the primary color denoted by $kendo-color-primary.
130
- /// Used to provide contrast between the background and foreground colors.
131
- /// @group color-system
132
- /// @type Color
133
- $kendo-color-primary-contrast: k-contrast-color( $kendo-color-primary ) !default;
134
-
135
- /// The secondary color of the theme.
136
- /// @group color-system
137
- /// @type Color
138
- $kendo-color-secondary: $secondary !default;
139
- $kendo-color-secondary-lighter: k-color-tint( $kendo-color-secondary, 2 ) !default;
140
- $kendo-color-secondary-darker: k-color-shade( $kendo-color-secondary, 2 ) !default;
141
-
142
- /// The color used along with the secondary color denoted by $kendo-color-secondary.
143
- /// Used to provide contrast between the background and foreground colors.
144
- /// @group color-system
145
- /// @type Color
146
- $kendo-color-secondary-contrast: k-contrast-color( $kendo-color-secondary ) !default;
147
-
148
- /// The tertiary color of the theme.
149
- /// @group color-system
150
- /// @type Color
151
- $kendo-color-tertiary: $purple !default;
152
- $kendo-color-tertiary-lighter: k-color-tint( $kendo-color-tertiary, 2 ) !default;
153
- $kendo-color-tertiary-darker: k-color-shade( $kendo-color-tertiary, 2 ) !default;
154
-
155
- /// The color used along with the tertiary color denoted by $kendo-color-tertiary.
156
- /// Used to provide contrast between the background and foreground colors.
157
- /// @group color-system
158
- /// @type Color
159
- $kendo-color-tertiary-contrast: k-contrast-color( $kendo-color-tertiary ) !default;
160
-
161
- /// The color for informational messages and states.
162
- /// @group color-system
163
- /// @type Color
164
- $kendo-color-info: $info !default;
165
- $kendo-color-info-lighter: k-color-tint( $kendo-color-info, 2 ) !default;
166
- $kendo-color-info-darker: k-color-shade( $kendo-color-info, 2 ) !default;
167
-
168
- /// The color for success messages and states.
169
- /// @group color-system
170
- /// @type Color
171
- $kendo-color-success: $success !default;
172
- $kendo-color-success-lighter: k-color-tint( $kendo-color-success, 2 ) !default;
173
- $kendo-color-success-darker: k-color-shade( $kendo-color-success, 2 ) !default;
174
-
175
- /// The color for warning messages and states.
176
- /// @group color-system
177
- /// @type Color
178
- $kendo-color-warning: $warning !default;
179
- $kendo-color-warning-lighter: k-color-tint( $kendo-color-warning, 2 ) !default;
180
- $kendo-color-warning-darker: k-color-shade( $kendo-color-warning, 2 ) !default;
181
-
182
- /// The color for error messages and states.
183
- /// @group color-system
184
- /// @type Color
185
- $kendo-color-error: $danger !default;
186
- $kendo-color-error-lighter: k-color-tint( $kendo-color-error, 2 ) !default;
187
- $kendo-color-error-darker: k-color-shade( $kendo-color-error, 2 ) !default;
188
-
189
- /// The dark color of the theme.
190
- /// @group color-system
191
- /// @type Color
192
- $kendo-color-dark: $dark !default;
193
-
194
- /// The light color of the theme.
195
- /// @group color-system
196
- /// @type Color
197
- $kendo-color-light: $light !default;
198
-
199
- /// Inverse color of the theme. Depending on the theme luminance dark or light, it will be light or dark
200
- /// @group color-system
201
- $kendo-color-inverse: if( $kendo-is-dark-theme, $kendo-color-light, $kendo-color-dark ) !default;
202
-
203
-
204
- $kendo-theme-colors: (
205
- "primary": $kendo-color-primary,
206
- "secondary": $kendo-color-secondary,
207
- "tertiary": $kendo-color-tertiary,
208
- "info": $kendo-color-info,
209
- "success": $kendo-color-success,
210
- "warning": $kendo-color-warning,
211
- "error": $kendo-color-error,
212
- "dark": $kendo-color-dark,
213
- "light": $kendo-color-light,
214
- "inverse": $kendo-color-inverse
215
- ) !default;
216
-
217
-
218
102
  // Typography
219
103
 
220
104
  /// Base font size across all components.
@@ -266,73 +150,6 @@ $kendo-font-weight-bold: $font-weight-bold !default;
266
150
  $kendo-letter-spacing: null !default;
267
151
 
268
152
 
269
- // Generic styles
270
-
271
- // Root styles
272
- $kendo-body-bg: $kendo-color-white !default;
273
- $kendo-body-text: k-contrast-color( $kendo-body-bg, $gray-900, $gray-100 ) !default;
274
-
275
- $kendo-subtle-text: if( $kendo-is-dark-theme, $gray-400, $text-muted ) !default;
276
-
277
- $kendo-app-bg: k-try-shade( $kendo-body-bg, .25 ) !default;
278
- $kendo-app-text: $kendo-body-text !default;
279
- $kendo-app-border: if( k-is-light( $kendo-app-bg ), $gray-300, $gray-700 ) !default;
280
-
281
- // Link
282
- $kendo-link-text: $link-color !default;
283
- $kendo-link-hover-text: $link-hover-color !default;
284
-
285
-
286
- // Components
287
-
288
- // Component
289
- /// Background color of a component.
290
- /// Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$kendo-grid-bg: $kendo-component-bg !default;`.
291
- /// @group component
292
- $kendo-component-bg: $kendo-body-bg !default;
293
- /// Text color of a component.
294
- /// Note: do not use this variable directly. Instead derive it as `$component-name-text` e.g. `$kendo-grid-text: $kendo-component-text !default;`.
295
- /// @group component
296
- $kendo-component-text: $kendo-body-text !default;
297
- /// Border color of a component.
298
- /// Note: do not use this variable directly. Instead derive it as `$component-name-border` e.g. `$kendo-grid-border: $kendo-component-border !default;`.
299
- /// @group component
300
- $kendo-component-border: if( k-is-light( $kendo-component-bg ), $gray-300, $gray-700 ) !default;
301
-
302
-
303
- /// The background of the components' chrome area.
304
- $kendo-base-bg: $gray-100 !default;
305
- /// The text color of the components' chrome area.
306
- $kendo-base-text: $kendo-body-text !default;
307
- /// The border color of the components' chrome area.
308
- $kendo-base-border: k-try-shade( $kendo-base-bg, 1 ) !default;
309
- /// The gradient background of the components' chrome area.
310
- $kendo-base-gradient: null !default;
311
-
312
- /// The background of hovered items.
313
- $kendo-hover-bg: $gray-200 !default;
314
- /// The text color of hovered items.
315
- $kendo-hover-text: $kendo-base-text !default;
316
- /// The border color of hovered items.
317
- $kendo-hover-border: k-try-shade( $kendo-hover-bg, 1 ) !default;
318
- /// The gradient background of hovered items.
319
- $kendo-hover-gradient: null !default;
320
-
321
- /// The background of selected items.
322
- $kendo-selected-bg: $kendo-color-primary !default;
323
- /// The text color of selected items.
324
- $kendo-selected-text: k-contrast-color( $kendo-selected-bg ) !default;
325
- /// The border color of selected items.
326
- $kendo-selected-border: k-try-shade( $kendo-selected-bg, 1 ) !default;
327
- /// The gradient background of selected items.
328
- $kendo-selected-gradient: null !default;
329
-
330
- $kendo-selected-hover-bg: k-try-shade( $kendo-selected-bg, .5 ) !default;
331
- $kendo-selected-hover-text: $kendo-selected-text !default;
332
- $kendo-selected-hover-border: $kendo-base-border !default;
333
- $kendo-selected-hover-gradient: null !default;
334
-
335
-
336
153
  // TODO: refactor
337
154
  $kendo-focus-shadow: null !default;
338
155
 
@@ -340,7 +157,6 @@ $kendo-transition: color .2s ease-in-out, background-color .2s ease-in-out, bord
340
157
 
341
158
 
342
159
  // Disabled mixin variables
343
- $kendo-disabled-text: if( $kendo-is-dark-theme, $gray-600, $gray-500) !default;
344
160
  $kendo-disabled-filter: grayscale(.1) !default;
345
161
  $kendo-disabled-opacity: .65 !default;
346
162
 
@@ -354,20 +170,6 @@ $kendo-disabled-styling: (
354
170
 
355
171
  // TODO: refactor once we extract drag drop as separate module
356
172
 
357
-
358
- // Header
359
- $kendo-component-header-bg: $kendo-base-bg !default;
360
- $kendo-component-header-text: $kendo-component-text !default;
361
- $kendo-component-header-border: $kendo-component-border !default;
362
- $kendo-component-header-gradient: null !default;
363
-
364
-
365
- // Validator
366
- $kendo-invalid-bg: null !default;
367
- $kendo-invalid-text: $kendo-color-error !default;
368
- $kendo-invalid-border: $kendo-color-error !default;
369
- $kendo-invalid-shadow: 0 0 0 .25rem rgba( $kendo-invalid-border, .25 ) !default;
370
-
371
173
  // Loading
372
174
  $kendo-loading-opacity: .3 !default;
373
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-color( $kendo-adaptive-menu-bg ) !default;
10
+ $kendo-adaptive-menu-text: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-color( $kendo-adaptive-menu-bg )) !default;
11
11
 
12
12
  $kendo-adaptive-menu-clear-text: $kendo-color-primary !default;
13
13
 
package/scss/all.scss CHANGED
@@ -1,6 +1,5 @@
1
1
  @import "./index.scss";
2
2
 
3
-
4
3
  @if not $kendo-auto-bootstrap {
5
4
  @include kendo-theme--config();
6
5
  @include kendo-theme--styles();
@@ -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 color.
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
@@ -156,7 +156,7 @@ $kendo-breadcrumb-link-focus-text: null !default;
156
156
  $kendo-breadcrumb-link-focus-border: null !default;
157
157
  /// The box shadow of the focused Breadcrumb link.
158
158
  /// @group breadcrumb
159
- $kendo-breadcrumb-link-focus-shadow: inset 0 0 0 3px rgba( $kendo-breadcrumb-text, .25 ) !default;
159
+ $kendo-breadcrumb-link-focus-shadow: inset 0 0 0 3px if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .25 ), rgba( $kendo-breadcrumb-text, .25 )) !default;
160
160
 
161
161
  /// The background color of the Breadcrumb root link.
162
162
  /// @group breadcrumb
@@ -105,15 +105,15 @@ $kendo-button-sizes: (
105
105
  /// @group button
106
106
  $kendo-button-theme-colors: k-map-merge(
107
107
  $kendo-theme-colors,
108
- ( "base": #e4e7eb )
108
+ ( "base": if($kendo-enable-color-system, k-color( base ), #e4e7eb) )
109
109
  ) !default;
110
110
 
111
111
  /// The base background of the Button.
112
112
  /// @group button
113
- $kendo-button-bg: #e4e7eb !default;
113
+ $kendo-button-bg: if($kendo-enable-color-system, k-color( base ), #e4e7eb) !default;
114
114
  /// The base text color of the Button.
115
115
  /// @group button
116
- $kendo-button-text: k-contrast-color( $kendo-button-bg, $gray-900 ) !default;
116
+ $kendo-button-text: if($kendo-enable-color-system, k-color( on-base ), k-contrast-color( $kendo-button-bg, $gray-900 )) !default;
117
117
  /// The base border color of the Button.
118
118
  /// @group button
119
119
  $kendo-button-border: $kendo-button-bg !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-color-darken( $kendo-button-bg, 7.5% ) !default;
129
+ $kendo-button-hover-bg: if($kendo-enable-color-system, k-color( base-hover ), k-color-darken( $kendo-button-bg, 7.5% )) !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-color-darken( $kendo-button-bg, 10% ) !default;
135
+ $kendo-button-hover-border: if($kendo-enable-color-system, k-color( base-hover ), k-color-darken( $kendo-button-bg, 10% )) !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-color-darken( $kendo-button-bg, 10% ) !default;
145
+ $kendo-button-active-bg: if($kendo-enable-color-system, k-color( base-active ), k-color-darken( $kendo-button-bg, 10% )) !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-color-darken( $kendo-button-bg, 12.5% ) !default;
151
+ $kendo-button-active-border: if($kendo-enable-color-system, k-color( base-active ), k-color-darken( $kendo-button-bg, 12.5% )) !default;
152
152
  /// The base background gradient of the active Button.
153
153
  /// @group button
154
154
  $kendo-button-active-gradient: null !default;
@@ -158,13 +158,13 @@ $kendo-button-active-shadow: null !default;
158
158
 
159
159
  /// The base background color of the selected Button.
160
160
  /// @group button
161
- $kendo-button-selected-bg: k-color-darken( $kendo-color-primary, 10% ) !default;
161
+ $kendo-button-selected-bg: if($kendo-enable-color-system, k-color( primary-active ), k-color-darken( $kendo-color-primary, 10% )) !default;
162
162
  /// The text color of the selected Button.
163
163
  /// @group button
164
- $kendo-button-selected-text: k-contrast-color( $kendo-button-selected-bg ) !default;
164
+ $kendo-button-selected-text: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-color( $kendo-button-selected-bg )) !default;
165
165
  /// The border color of the selected Button.
166
166
  /// @group button
167
- $kendo-button-selected-border: k-color-darken( $kendo-color-primary, 12.5% ) !default;
167
+ $kendo-button-selected-border: if($kendo-enable-color-system, k-color( primary-active ), k-color-darken( $kendo-color-primary, 12.5% )) !default;
168
168
  /// The background gradient of the selected Button.
169
169
  /// @group button
170
170
  $kendo-button-selected-gradient: $kendo-button-active-gradient !default;
@@ -174,19 +174,19 @@ $kendo-button-selected-shadow: $kendo-button-active-shadow !default;
174
174
 
175
175
  /// The base background of the focused Button.
176
176
  /// @group button
177
- $kendo-button-focus-bg: k-color-darken( $kendo-button-bg, 10% ) !default;
177
+ $kendo-button-focus-bg: if($kendo-enable-color-system, k-color( base-active ), k-color-darken( $kendo-button-bg, 10% )) !default;
178
178
  /// The base text color of the focused Button.
179
179
  /// @group button
180
180
  $kendo-button-focus-text: null !default;
181
181
  /// The base border color of the focused Button.
182
182
  /// @group button
183
- $kendo-button-focus-border: k-color-darken( $kendo-button-bg, 12.5% ) !default;
183
+ $kendo-button-focus-border: if($kendo-enable-color-system, k-color( base-active ), k-color-darken( $kendo-button-bg, 12.5% )) !default;
184
184
  /// The base background gradient of the focused Button.
185
185
  /// @group button
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 0 .25rem rgba( $kendo-button-border, .5 ) !default;
189
+ $kendo-button-focus-shadow: 0 0 0 .25rem if($kendo-enable-color-system, rgba( k-color( border, true ), .5), rgba( $kendo-button-border, .5 )) !default;
190
190
 
191
191
  /// The base background of the disabled Button.
192
192
  /// @group button
@@ -85,7 +85,7 @@ $kendo-calendar-cell-selected-hover-border: $kendo-selected-hover-border !defaul
85
85
  $kendo-calendar-cell-selected-hover-gradient: null !default;
86
86
 
87
87
  $kendo-calendar-cell-focus-shadow: inset $kendo-button-focus-shadow !default;
88
- $kendo-calendar-cell-selected-focus-shadow: inset 0 0 0 2px rgba( k-color-darken( $kendo-color-primary, 12.5% ), .5 ) !default;
88
+ $kendo-calendar-cell-selected-focus-shadow: inset 0 0 0 2px if($kendo-enable-color-system, rgba( k-color( primary-active, true ), .5 ), rgba( k-color-darken( $kendo-color-primary, 12.5% ), .5 )) !default;
89
89
 
90
90
 
91
91
  // Calendar navigation
@@ -57,7 +57,7 @@ $kendo-chat-bubble-hover-shadow: none !default;
57
57
  $kendo-chat-bubble-selected-shadow: none !default;
58
58
 
59
59
  $kendo-chat-alt-bubble-bg: $kendo-color-primary !default;
60
- $kendo-chat-alt-bubble-text: k-contrast-color( $kendo-chat-alt-bubble-bg ) !default;
60
+ $kendo-chat-alt-bubble-text: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-color( $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: none !default;
63
63
  $kendo-chat-alt-bubble-hover-shadow: none !default;
@@ -64,7 +64,7 @@ $kendo-checkbox-bg: $kendo-component-bg !default;
64
64
  $kendo-checkbox-text: null !default;
65
65
  /// The border color of CheckBox.
66
66
  /// @group checkbox
67
- $kendo-checkbox-border: if( k-is-light( $kendo-checkbox-bg ), $gray-400, $gray-600 ) !default;
67
+ $kendo-checkbox-border: if($kendo-enable-color-system, k-color( border-alt ), if( k-is-light( $kendo-checkbox-bg ), $gray-400, $gray-600 )) !default;
68
68
 
69
69
  /// The background color of the hovered CheckBox.
70
70
  /// @group checkbox
@@ -81,7 +81,7 @@ $kendo-checkbox-hover-border: null !default;
81
81
  $kendo-checkbox-checked-bg: $kendo-color-primary !default;
82
82
  /// The color of the checked CheckBox.
83
83
  /// @group checkbox
84
- $kendo-checkbox-checked-text: k-contrast-color( $kendo-checkbox-checked-bg ) !default;
84
+ $kendo-checkbox-checked-text: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-color( $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;
@@ -98,10 +98,10 @@ $kendo-checkbox-indeterminate-border: $kendo-checkbox-checked-border !default;
98
98
 
99
99
  /// The border color of the focused CheckBox.
100
100
  /// @group checkbox
101
- $kendo-checkbox-focus-border: k-try-tint( $kendo-color-primary, 50% ) !default;
101
+ $kendo-checkbox-focus-border: if($kendo-enable-color-system, k-color( primary-emphasis ), k-try-tint( $kendo-color-primary, 50% )) !default;
102
102
  /// The box shadow of the focused CheckBox.
103
103
  /// @group checkbox
104
- $kendo-checkbox-focus-shadow: 0 0 0 .25rem rgba( $kendo-color-primary, .25 ) !default;
104
+ $kendo-checkbox-focus-shadow: 0 0 0 .25rem if($kendo-enable-color-system, rgba( k-color( primary, true ), .25 ), rgba( $kendo-color-primary, .25 )) !default;
105
105
  /// The border color of the focused and checked CheckBox.
106
106
  /// @group checkbox
107
107
  $kendo-checkbox-focus-checked-border: $kendo-checkbox-checked-border !default;
@@ -9,16 +9,17 @@
9
9
 
10
10
  @if ($name == "info") {
11
11
  @include fill (
12
- $color: if( $kendo-is-dark-theme, k-color-tint($color, 25%), $kendo-chip-outline-text),
13
- $border: if( $kendo-is-dark-theme, k-color-tint($color, 25%), $color)
12
+ $color: if($kendo-enable-color-system, $kendo-chip-outline-text, if( $kendo-is-dark-theme, k-color-tint($color, 25%), $kendo-chip-outline-text)),
13
+ $border: if($kendo-enable-color-system, $color, if( $kendo-is-dark-theme, k-color-tint($color, 25%), $color))
14
14
  );
15
15
 
16
16
  &:hover,
17
17
  &.k-hover,
18
18
  &.k-selected {
19
19
  @include fill(
20
- $color: if( $kendo-is-dark-theme, k-contrast-color($color), $kendo-chip-outline-text),
21
- $bg: $color
20
+ if($kendo-enable-color-system, $kendo-chip-outline-text, if( $kendo-is-dark-theme, k-contrast-color($color), $kendo-chip-outline-text)),
21
+ $color,
22
+ $color
22
23
  );
23
24
  }
24
25
 
@@ -159,7 +159,7 @@ $kendo-chip-outline-shadow: 0 0 0 2px rgba( $kendo-chip-base-bg, .16 ) !default;
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-color( $kendo-chip-outline-hover-bg ) !default;
162
+ $kendo-chip-outline-hover-text: if($kendo-enable-color-system, k-color( base-subtle ), k-contrast-color( $kendo-chip-outline-hover-bg )) !default;
163
163
 
164
164
  /// The base background color of the selected outline Chip.
165
165
  /// @group chip
@@ -1,5 +1,8 @@
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
 
@@ -8,6 +11,9 @@ $wcag-min-contrast-ratio: 4.5 !default;
8
11
 
9
12
  @import "@progress/kendo-theme-core/scss/index.import.scss";
10
13
 
14
+ // Backward compatibility
15
+ @import "./color-system/_swatch-legacy.scss";
16
+
11
17
  // Expose
12
18
  @include exports("kendo-core-styles") {
13
19
  @include kendo-core--styles();