@progress/kendo-theme-material 7.1.0-dev.8 → 7.1.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.
- package/dist/all.css +153 -34
- package/dist/all.scss +2659 -1640
- package/dist/meta/sassdoc-data.json +1460 -1576
- package/dist/meta/sassdoc-raw-data.json +723 -777
- package/dist/meta/variables.json +464 -400
- package/lib/swatches/material-aqua-dark.json +1 -1
- package/lib/swatches/material-arctic.json +1 -1
- package/lib/swatches/material-burnt-teal.json +1 -1
- package/lib/swatches/material-dataviz-v4.json +1 -1
- package/lib/swatches/material-eggplant.json +1 -1
- package/lib/swatches/material-lime-dark.json +1 -1
- package/lib/swatches/material-lime.json +1 -1
- package/lib/swatches/material-main-dark.json +1 -1
- package/lib/swatches/material-main.json +1 -1
- package/lib/swatches/material-nova.json +1 -1
- package/lib/swatches/material-pacific-dark.json +1 -1
- package/lib/swatches/material-pacific.json +1 -1
- package/lib/swatches/material-sky-dark.json +1 -1
- package/lib/swatches/material-sky.json +1 -1
- package/lib/swatches/material-smoke.json +1 -1
- package/package.json +5 -5
- package/scss/_variables.scss +0 -229
- package/scss/action-buttons/_theme.scss +2 -2
- package/scss/adaptive/_variables.scss +1 -1
- package/scss/appbar/_variables.scss +2 -2
- package/scss/bottom-navigation/_theme.scss +12 -1
- package/scss/breadcrumb/_variables.scss +2 -2
- package/scss/button/_theme.scss +3 -3
- package/scss/button/_variables.scss +3 -3
- package/scss/calendar/_theme.scss +1 -1
- package/scss/calendar/_variables.scss +3 -3
- package/scss/chat/_variables.scss +2 -2
- package/scss/checkbox/_theme.scss +1 -1
- package/scss/checkbox/_variables.scss +4 -4
- package/scss/chip/_theme.scss +16 -13
- package/scss/chip/_variables.scss +8 -8
- package/scss/core/_index.scss +4 -1
- package/scss/core/color-system/_functions.scss +101 -0
- package/scss/core/color-system/_palettes-legacy.scss +671 -0
- package/scss/core/color-system/_palettes.scss +297 -0
- package/scss/core/color-system/_swatch-legacy.scss +65 -0
- package/scss/core/color-system/_swatch.scss +426 -0
- package/scss/dataviz/_variables.scss +42 -42
- package/scss/dock-manager/_variables.scss +2 -2
- package/scss/draggable/_variables.scss +1 -1
- package/scss/dropzone/_variables.scss +2 -2
- package/scss/editor/_variables.scss +1 -1
- package/scss/fab/_theme.scss +20 -20
- package/scss/filemanager/_variables.scss +3 -3
- package/scss/gantt/_layout.scss +1 -1
- package/scss/gantt/_theme.scss +1 -1
- package/scss/gantt/_variables.scss +8 -8
- package/scss/grid/_theme.scss +67 -52
- package/scss/grid/_variables.scss +9 -6
- package/scss/input/_variables.scss +5 -6
- package/scss/list/_theme.scss +8 -0
- package/scss/listview/_theme.scss +1 -1
- package/scss/listview/_variables.scss +2 -2
- package/scss/map/_variables.scss +1 -1
- package/scss/mediaplayer/_variables.scss +1 -1
- package/scss/menu/_variables.scss +2 -2
- package/scss/notification/_variables.scss +1 -1
- package/scss/orgchart/_variables.scss +2 -2
- package/scss/pager/_variables.scss +2 -2
- package/scss/panelbar/_variables.scss +12 -12
- package/scss/pdf-viewer/_variables.scss +1 -1
- package/scss/pivotgrid/_variables.scss +8 -8
- package/scss/progressbar/_variables.scss +1 -1
- package/scss/radio/_theme.scss +1 -1
- package/scss/scheduler/_theme.scss +12 -0
- package/scss/scheduler/_variables.scss +7 -7
- package/scss/signature/_variables.scss +1 -1
- package/scss/skeleton/_variables.scss +1 -1
- package/scss/slider/_variables.scss +2 -2
- package/scss/splitter/_variables.scss +2 -2
- package/scss/spreadsheet/_variables.scss +4 -4
- package/scss/stepper/_variables.scss +7 -7
- package/scss/switch/_theme.scss +1 -1
- package/scss/switch/_variables.scss +3 -3
- package/scss/table/_layout.scss +25 -0
- package/scss/table/_theme.scss +31 -16
- package/scss/table/_variables.scss +3 -3
- package/scss/tabstrip/_variables.scss +1 -1
- package/scss/taskboard/_variables.scss +5 -4
- package/scss/tilelayout/_variables.scss +1 -1
- package/scss/timeline/_variables.scss +4 -4
- package/scss/toolbar/_theme.scss +2 -2
- package/scss/tooltip/_variables.scss +2 -2
- package/scss/treeview/_variables.scss +1 -1
- package/scss/upload/_theme.scss +1 -1
- package/scss/core/color-system/_color-system-material.scss +0 -801
- package/scss/core/color-system/index.import.scss +0 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-theme-material",
|
|
3
3
|
"description": "Material theme for Kendo UI",
|
|
4
|
-
"version": "7.1.0
|
|
4
|
+
"version": "7.1.0",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"keywords": [
|
|
@@ -54,13 +54,13 @@
|
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"@progress/kendo-svg-icons": "2.1.0",
|
|
57
|
-
"@progress/kendo-theme-core": "7.1.0
|
|
58
|
-
"@progress/kendo-theme-default": "7.1.0
|
|
59
|
-
"@progress/kendo-theme-utils": "7.1.0
|
|
57
|
+
"@progress/kendo-theme-core": "7.1.0",
|
|
58
|
+
"@progress/kendo-theme-default": "7.1.0",
|
|
59
|
+
"@progress/kendo-theme-utils": "7.1.0"
|
|
60
60
|
},
|
|
61
61
|
"directories": {
|
|
62
62
|
"doc": "docs",
|
|
63
63
|
"lib": "lib"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "72d42dfbf1b9b895c405ccba9b35d22204a4b12d"
|
|
66
66
|
}
|
package/scss/_variables.scss
CHANGED
|
@@ -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;
|
|
@@ -66,30 +54,8 @@ $kendo-spacing: (
|
|
|
66
54
|
) !default;
|
|
67
55
|
|
|
68
56
|
|
|
69
|
-
// Apply material theme, as early as possible
|
|
70
|
-
$primary-palette-name: indigo !default;
|
|
71
|
-
$secondary-palette-name: pink !default;
|
|
72
|
-
$tertiary-palette-name: teal !default;
|
|
73
|
-
$adjust-contrast: true !default;
|
|
74
|
-
$theme-type: light !default; // light or dark
|
|
75
|
-
|
|
76
|
-
$primary-palette: material-palette( $primary-palette-name, 500, 300, 700, $adjust-contrast ) !default;
|
|
77
|
-
$secondary-palette: material-palette( $secondary-palette-name, 500, 300, 700, $adjust-contrast ) !default;
|
|
78
|
-
$tertiary-palette: material-palette( $tertiary-palette-name, 500, 300, 700, $adjust-contrast ) !default;
|
|
79
|
-
|
|
80
|
-
$theme: material-theme(
|
|
81
|
-
$primary-palette,
|
|
82
|
-
$secondary-palette,
|
|
83
|
-
$theme-type
|
|
84
|
-
) !default;
|
|
85
|
-
|
|
86
|
-
|
|
87
57
|
// Shadows
|
|
88
58
|
|
|
89
|
-
/// Color of shadows
|
|
90
|
-
/// @group shadows
|
|
91
|
-
$elevation: k-map-get( $theme, elevation ) !default;
|
|
92
|
-
|
|
93
59
|
/// Shadow for switch.
|
|
94
60
|
/// Equivalent to material elevation 1.
|
|
95
61
|
/// @group shadows
|
|
@@ -182,108 +148,6 @@ $kendo-zindex-window: 2 !default;
|
|
|
182
148
|
$kendo-zindex-loading: 100 !default;
|
|
183
149
|
|
|
184
150
|
|
|
185
|
-
// Color settings
|
|
186
|
-
$kendo-is-dark-theme: k-map-get( $theme, is-dark ) !default;
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
// Theme colors
|
|
190
|
-
/// The color that focuses the user attention.
|
|
191
|
-
/// Used for primary buttons and for elements of primary importance across the theme.
|
|
192
|
-
/// @group color-system
|
|
193
|
-
/// @type Color
|
|
194
|
-
$kendo-color-primary: material-color( $primary-palette, main ) !default;
|
|
195
|
-
$kendo-color-primary-lighter: material-color( $primary-palette, lighter ) !default;
|
|
196
|
-
$kendo-color-primary-darker: material-color( $primary-palette, darker ) !default;
|
|
197
|
-
|
|
198
|
-
/// The color used along with the primary color denoted by $kendo-color-primary.
|
|
199
|
-
/// Used to provide contrast between the background and foreground colors.
|
|
200
|
-
/// @group color-system
|
|
201
|
-
/// @type Color
|
|
202
|
-
$kendo-color-primary-contrast: material-color( $primary-palette, main-contrast ) !default;
|
|
203
|
-
|
|
204
|
-
/// The secondary color of the theme.
|
|
205
|
-
/// @group color-system
|
|
206
|
-
/// @type Color
|
|
207
|
-
$kendo-color-secondary: material-color( $secondary-palette, main ) !default;
|
|
208
|
-
$kendo-color-secondary-lighter: material-color( $secondary-palette, lighter ) !default;
|
|
209
|
-
$kendo-color-secondary-darker: material-color( $secondary-palette, darker ) !default;
|
|
210
|
-
|
|
211
|
-
/// The color used along with the secondary color denoted by $kendo-color-secondary.
|
|
212
|
-
/// Used to provide contrast between the background and foreground colors.
|
|
213
|
-
/// @group color-system
|
|
214
|
-
/// @type Color
|
|
215
|
-
$kendo-color-secondary-contrast: material-color( $secondary-palette, main-contrast ) !default;
|
|
216
|
-
|
|
217
|
-
/// The tertiary color of the theme.
|
|
218
|
-
/// @group color-system
|
|
219
|
-
/// @type Color
|
|
220
|
-
$kendo-color-tertiary: material-color($tertiary-palette, main) !default;
|
|
221
|
-
$kendo-color-tertiary-lighter: material-color($tertiary-palette, lighter) !default;
|
|
222
|
-
$kendo-color-tertiary-darker: material-color($tertiary-palette, darker) !default;
|
|
223
|
-
|
|
224
|
-
/// The color used along with the tertiary color denoted by $kendo-color-tertiary.
|
|
225
|
-
/// Used to provide contrast between the background and foreground colors.
|
|
226
|
-
/// @group color-system
|
|
227
|
-
/// @type Color
|
|
228
|
-
$kendo-color-tertiary-contrast: material-color($tertiary-palette, main-contrast) !default;
|
|
229
|
-
|
|
230
|
-
/// The color for informational messages and states.
|
|
231
|
-
/// @group color-system
|
|
232
|
-
/// @type Color
|
|
233
|
-
$kendo-color-info: #0058e9 !default;
|
|
234
|
-
$kendo-color-info-lighter: k-color-tint( $kendo-color-info, 2 ) !default;
|
|
235
|
-
$kendo-color-info-darker: k-color-shade( $kendo-color-info, 2 ) !default;
|
|
236
|
-
|
|
237
|
-
/// The color for success messages and states.
|
|
238
|
-
/// @group color-system
|
|
239
|
-
/// @type Color
|
|
240
|
-
$kendo-color-success: #37b400 !default;
|
|
241
|
-
$kendo-color-success-lighter: k-color-tint( $kendo-color-success, 2 ) !default;
|
|
242
|
-
$kendo-color-success-darker: k-color-shade( $kendo-color-success, 2 ) !default;
|
|
243
|
-
|
|
244
|
-
/// The color for warning messages and states.
|
|
245
|
-
/// @group color-system
|
|
246
|
-
/// @type Color
|
|
247
|
-
$kendo-color-warning: #ffc000 !default;
|
|
248
|
-
$kendo-color-warning-lighter: k-color-tint( $kendo-color-warning, 2 ) !default;
|
|
249
|
-
$kendo-color-warning-darker: k-color-shade( $kendo-color-warning, 2 ) !default;
|
|
250
|
-
|
|
251
|
-
/// The color for error messages and states.
|
|
252
|
-
/// @group color-system
|
|
253
|
-
/// @type Color
|
|
254
|
-
$kendo-color-error: #f31700 !default;
|
|
255
|
-
$kendo-color-error-lighter: k-color-tint( $kendo-color-error, 2 ) !default;
|
|
256
|
-
$kendo-color-error-darker: k-color-shade( $kendo-color-error, 2 ) !default;
|
|
257
|
-
|
|
258
|
-
/// The dark color of the theme.
|
|
259
|
-
/// @group color-system
|
|
260
|
-
/// @type Color
|
|
261
|
-
$kendo-color-dark: get-base-hue( gray, 800 ) !default;
|
|
262
|
-
|
|
263
|
-
/// The light color of the theme.
|
|
264
|
-
/// @group color-system
|
|
265
|
-
/// @type Color
|
|
266
|
-
$kendo-color-light: get-base-hue( gray, 100 ) !default;
|
|
267
|
-
|
|
268
|
-
/// Inverse color of the theme. Depending on the theme luminance dark or light, it will be light or dark
|
|
269
|
-
/// @group color-system
|
|
270
|
-
$kendo-color-inverse: if( $kendo-is-dark-theme, $kendo-color-light, $kendo-color-dark ) !default;
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
$kendo-theme-colors: (
|
|
274
|
-
"primary": $kendo-color-primary,
|
|
275
|
-
"secondary": $kendo-color-secondary,
|
|
276
|
-
"tertiary": $kendo-color-tertiary,
|
|
277
|
-
"info": $kendo-color-info,
|
|
278
|
-
"success": $kendo-color-success,
|
|
279
|
-
"warning": $kendo-color-warning,
|
|
280
|
-
"error": $kendo-color-error,
|
|
281
|
-
"dark": $kendo-color-dark,
|
|
282
|
-
"light": $kendo-color-light,
|
|
283
|
-
"inverse": $kendo-color-inverse
|
|
284
|
-
) !default;
|
|
285
|
-
|
|
286
|
-
|
|
287
151
|
// Typography
|
|
288
152
|
|
|
289
153
|
/// Base font size across all components.
|
|
@@ -338,78 +202,9 @@ $kendo-font-weight-bold: 700 !default;
|
|
|
338
202
|
// Letter Spacing
|
|
339
203
|
$kendo-letter-spacing: null !default;
|
|
340
204
|
|
|
341
|
-
|
|
342
|
-
// Generic styles
|
|
343
|
-
|
|
344
|
-
// Root styles
|
|
345
|
-
$kendo-body-bg: k-map-get( $theme, body-bg ) !default;
|
|
346
|
-
$kendo-body-text: k-map-get( $theme, body-text ) !default;
|
|
347
|
-
|
|
348
|
-
$kendo-subtle-text: k-map-get( $theme, subtle-text ) !default;
|
|
349
|
-
|
|
350
|
-
$kendo-app-bg: $kendo-body-bg !default;
|
|
351
|
-
$kendo-app-text: $kendo-body-text !default;
|
|
352
|
-
$kendo-app-border: k-map-get( $theme, component-border ) !default;
|
|
353
|
-
|
|
354
|
-
// Link
|
|
355
|
-
$kendo-link-text: $kendo-color-secondary !default;
|
|
356
|
-
$kendo-link-hover-text: $kendo-color-secondary-darker !default;
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
// Components
|
|
360
|
-
|
|
361
|
-
// Component
|
|
362
|
-
/// Background color of a component.
|
|
363
|
-
/// Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$kendo-grid-bg: $kendo-component-bg !default;`.
|
|
364
|
-
/// @group component
|
|
365
|
-
$kendo-component-bg: k-map-get( $theme, component-bg ) !default;
|
|
366
|
-
/// Text color of a component.
|
|
367
|
-
/// Note: do not use this variable directly. Instead derive it as `$component-name-text` e.g. `$kendo-grid-text: $kendo-component-text !default;`.
|
|
368
|
-
/// @group component
|
|
369
|
-
$kendo-component-text: k-map-get( $theme, component-text ) !default;
|
|
370
|
-
/// Border color of a component.
|
|
371
|
-
/// Note: do not use this variable directly. Instead derive it as `$component-name-border` e.g. `$kendo-grid-border: $kendo-component-border !default;`.
|
|
372
|
-
/// @group component
|
|
373
|
-
$kendo-component-border: k-map-get( $theme, component-border ) !default;
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
/// The background of the components' chrome area.
|
|
377
|
-
$kendo-base-bg: k-map-get( $theme, base-bg ) !default;
|
|
378
|
-
/// The text color of the components' chrome area.
|
|
379
|
-
$kendo-base-text: k-map-get( $theme, component-text ) !default;
|
|
380
|
-
/// The border of the components' chrome area.
|
|
381
|
-
$kendo-base-border: rgba( if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black ), .08 ) !default;
|
|
382
|
-
/// The gradient background of the components' chrome area.
|
|
383
|
-
$kendo-base-gradient: null !default;
|
|
384
|
-
|
|
385
|
-
/// The background of hovered items.
|
|
386
|
-
$kendo-hover-bg: k-map-get( $theme, hover-bg ) !default;
|
|
387
|
-
/// The text color of hovered items.
|
|
388
|
-
$kendo-hover-text: $kendo-base-text !default;
|
|
389
|
-
/// The border color of hovered items.
|
|
390
|
-
$kendo-hover-border: rgba( $kendo-base-border, .15 ) !default;
|
|
391
|
-
/// The gradient background of hovered items.
|
|
392
|
-
$kendo-hover-gradient: null !default;
|
|
393
|
-
|
|
394
|
-
/// The background of selected items.
|
|
395
|
-
$kendo-selected-bg: $kendo-color-secondary !default;
|
|
396
|
-
/// The text color of selected items.
|
|
397
|
-
$kendo-selected-text: $kendo-color-secondary-contrast !default;
|
|
398
|
-
/// The border color of selected items.
|
|
399
|
-
$kendo-selected-border: rgba( $kendo-base-border, .1 ) !default;
|
|
400
|
-
/// The gradient background of selected items.
|
|
401
|
-
$kendo-selected-gradient: null !default;
|
|
402
|
-
|
|
403
|
-
$kendo-selected-hover-bg: k-try-shade( $kendo-selected-bg, .5 ) !default;
|
|
404
|
-
$kendo-selected-hover-text: $kendo-selected-text !default;
|
|
405
|
-
$kendo-selected-hover-border: rgba( $kendo-base-border, .1 ) !default;
|
|
406
|
-
$kendo-selected-hover-gradient: null !default;
|
|
407
|
-
|
|
408
205
|
$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;
|
|
409
206
|
|
|
410
|
-
|
|
411
207
|
// Disabled mixin variables
|
|
412
|
-
$kendo-disabled-text: k-map-get( $theme, disabled-text ) !default;
|
|
413
208
|
$kendo-disabled-filter: grayscale(.1) !default;
|
|
414
209
|
$kendo-disabled-opacity: .6 !default;
|
|
415
210
|
|
|
@@ -418,30 +213,6 @@ $kendo-disabled-styling: (
|
|
|
418
213
|
filter: $kendo-disabled-filter
|
|
419
214
|
) !default;
|
|
420
215
|
|
|
421
|
-
|
|
422
|
-
// Generic styles
|
|
423
|
-
|
|
424
|
-
// TODO: refactor once we extract drag drop as separate module
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
// Header
|
|
428
|
-
$kendo-component-header-bg: $kendo-base-bg !default;
|
|
429
|
-
$kendo-component-header-text: $kendo-base-text !default;
|
|
430
|
-
$kendo-component-header-border: $kendo-base-border !default;
|
|
431
|
-
$kendo-component-header-gradient: null !default;
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
// Validator
|
|
435
|
-
$kendo-invalid-bg: null !default;
|
|
436
|
-
$kendo-invalid-text: $kendo-color-error !default;
|
|
437
|
-
$kendo-invalid-border: $kendo-color-error !default;
|
|
438
|
-
$kendo-invalid-shadow: null !default;
|
|
439
|
-
|
|
440
|
-
$kendo-valid-bg: null !default;
|
|
441
|
-
$kendo-valid-text: $kendo-color-success !default;
|
|
442
|
-
$kendo-valid-border: $kendo-color-success !default;
|
|
443
|
-
$kendo-valid-shadow: null !default;
|
|
444
|
-
|
|
445
216
|
// Loading
|
|
446
217
|
$kendo-loading-opacity: .3 !default;
|
|
447
218
|
$kendo-zindex-loading: 100 !default;
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
.k-actions {
|
|
10
10
|
|
|
11
11
|
.k-button-solid-base {
|
|
12
|
-
background-color: k-try-shade( $kendo-button-bg );
|
|
13
|
-
border-color: k-try-shade( $kendo-button-bg );
|
|
12
|
+
background-color: if($kendo-enable-color-system, k-color( base-subtle ), k-try-shade( $kendo-button-bg ));
|
|
13
|
+
border-color: if($kendo-enable-color-system, k-color( base-subtle ), k-try-shade( $kendo-button-bg ));
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
}
|
|
@@ -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
|
|
|
@@ -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
|
/// TThe 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
|
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
@import "@progress/kendo-theme-default/scss/bottom-navigation/_theme.scss";
|
|
2
2
|
|
|
3
|
-
|
|
4
3
|
@mixin kendo-bottom-navigation--theme() {
|
|
4
|
+
|
|
5
5
|
@include kendo-bottom-navigation--theme-base();
|
|
6
|
+
|
|
7
|
+
// Flat
|
|
8
|
+
@each $name, $color in $kendo-theme-colors {
|
|
9
|
+
.k-bottom-nav-flat-#{$name} {
|
|
10
|
+
.k-bottom-nav-item.k-focus,
|
|
11
|
+
.k-bottom-nav-item:focus {
|
|
12
|
+
@include fill( $bg: if($kendo-enable-color-system, rgba( k-color( on-app-surface, rgba ), .06 ), rgba($kendo-bottom-nav-flat-text, .05)) );
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
6
17
|
}
|
|
@@ -147,7 +147,7 @@ $kendo-breadcrumb-link-hover-border: null !default;
|
|
|
147
147
|
|
|
148
148
|
/// The background color of the focused Breadcrumb link.
|
|
149
149
|
/// @group breadcrumb
|
|
150
|
-
$kendo-breadcrumb-link-focus-bg: k-map-get( $theme, focus-bg ) !default;
|
|
150
|
+
$kendo-breadcrumb-link-focus-bg: if($kendo-enable-color-system, k-color( base-active ), k-map-get( $theme, focus-bg )) !default;
|
|
151
151
|
/// The text color of the focused Breadcrumb link.
|
|
152
152
|
/// @group breadcrumb
|
|
153
153
|
$kendo-breadcrumb-link-focus-text: null !default;
|
|
@@ -180,7 +180,7 @@ $kendo-breadcrumb-root-link-hover-border: null !default;
|
|
|
180
180
|
|
|
181
181
|
/// The background color of the focused Breadcrumb root link.
|
|
182
182
|
/// @group breadcrumb
|
|
183
|
-
$kendo-breadcrumb-root-link-focus-bg: k-map-get( $theme, focus-bg ) !default;
|
|
183
|
+
$kendo-breadcrumb-root-link-focus-bg: if($kendo-enable-color-system, k-color( base-active ), k-map-get( $theme, focus-bg )) !default;
|
|
184
184
|
/// The text color of the focused Breadcrumb root link.
|
|
185
185
|
/// @group breadcrumb
|
|
186
186
|
$kendo-breadcrumb-root-link-focus-text: null !default;
|
package/scss/button/_theme.scss
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
@each $name, $color in $kendo-button-theme-colors {
|
|
10
10
|
.k-button-solid-#{$name} {
|
|
11
11
|
@include box-shadow( $kendo-button-shadow );
|
|
12
|
-
color: if( $name == "base", $kendo-button-text, k-contrast-color( $color ) );
|
|
12
|
+
color: if( $name == "base", $kendo-button-text, if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-color( $color )) );
|
|
13
13
|
background-color: if( $name == "base", $kendo-button-bg, $color );
|
|
14
14
|
border-color: if( $name == "base", $kendo-button-bg, $color );
|
|
15
15
|
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
// Outline button
|
|
49
49
|
@each $name, $color in $kendo-button-theme-colors {
|
|
50
50
|
.k-button-outline-#{$name} {
|
|
51
|
-
color: if( $name == "base", $kendo-button-text, $color );
|
|
51
|
+
color: if( $name == "base", $kendo-button-text, if($kendo-enable-color-system, k-color( #{$name}-on-surface ), $color) );
|
|
52
52
|
|
|
53
53
|
&:hover,
|
|
54
54
|
&.k-hover,
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
&:active,
|
|
58
58
|
&.k-active,
|
|
59
59
|
&.k-selected {
|
|
60
|
-
color: if( $name == "base", $kendo-button-text, $color );
|
|
60
|
+
color: if( $name == "base", $kendo-button-text, if($kendo-enable-color-system, k-color( #{$name}-on-surface ), $color) );
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
// Disabled state
|
|
@@ -190,13 +190,13 @@ $kendo-button-focus-shadow: null !default;
|
|
|
190
190
|
|
|
191
191
|
/// The base background color of the disabled Button.
|
|
192
192
|
/// @group button
|
|
193
|
-
$kendo-button-disabled-bg: k-try-shade( $kendo-body-bg, 12% ) !default;
|
|
193
|
+
$kendo-button-disabled-bg: if($kendo-enable-color-system, rgba( k-color( on-app-surface, rgba ), .09 ), k-try-shade( $kendo-body-bg, 12% )) !default;
|
|
194
194
|
/// The base text color of the disabled Button.
|
|
195
195
|
/// @group button
|
|
196
|
-
$kendo-button-disabled-text: $kendo-disabled-text !default;
|
|
196
|
+
$kendo-button-disabled-text: if($kendo-enable-color-system, rgba( k-color( on-app-surface, rgba ), .32 ), $kendo-disabled-text) !default;
|
|
197
197
|
/// The base border color of the disabled Button.
|
|
198
198
|
/// @group button
|
|
199
|
-
$kendo-button-disabled-border: $kendo-button-disabled-bg !default;
|
|
199
|
+
$kendo-button-disabled-border: if($kendo-enable-color-system, transparent, $kendo-button-disabled-bg) !default;
|
|
200
200
|
/// The base background gradient of the disabled Button.
|
|
201
201
|
/// @group button
|
|
202
202
|
$kendo-button-disabled-gradient: null !default;
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
.k-selected.k-focus .k-link {
|
|
19
19
|
@include fill(
|
|
20
20
|
$kendo-calendar-cell-selected-text,
|
|
21
|
-
k-try-tint($kendo-calendar-cell-selected-bg),
|
|
21
|
+
if($kendo-enable-color-system, $kendo-calendar-cell-selected-bg, k-try-tint($kendo-calendar-cell-selected-bg)),
|
|
22
22
|
$kendo-calendar-cell-selected-border
|
|
23
23
|
);
|
|
24
24
|
}
|
|
@@ -75,11 +75,11 @@ $kendo-calendar-cell-hover-border: $kendo-hover-border !default;
|
|
|
75
75
|
$kendo-calendar-cell-hover-gradient: null !default;
|
|
76
76
|
|
|
77
77
|
$kendo-calendar-cell-selected-bg: $kendo-color-primary !default;
|
|
78
|
-
$kendo-calendar-cell-selected-text: k-contrast-color( $kendo-calendar-cell-selected-bg ) !default;
|
|
78
|
+
$kendo-calendar-cell-selected-text: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-color( $kendo-calendar-cell-selected-bg )) !default;
|
|
79
79
|
$kendo-calendar-cell-selected-border: $kendo-calendar-cell-selected-bg !default;
|
|
80
80
|
$kendo-calendar-cell-selected-gradient: null !default;
|
|
81
81
|
|
|
82
|
-
$kendo-calendar-cell-selected-hover-bg: k-try-shade( $kendo-calendar-cell-selected-bg, .5 ) !default;
|
|
82
|
+
$kendo-calendar-cell-selected-hover-bg: if($kendo-enable-color-system, k-color( primary-hover ), k-try-shade( $kendo-calendar-cell-selected-bg, .5 )) !default;
|
|
83
83
|
$kendo-calendar-cell-selected-hover-text: $kendo-calendar-cell-selected-text !default;
|
|
84
84
|
$kendo-calendar-cell-selected-hover-border: null !default;
|
|
85
85
|
$kendo-calendar-cell-selected-hover-gradient: null !default;
|
|
@@ -92,7 +92,7 @@ $kendo-calendar-cell-selected-focus-shadow: $kendo-calendar-cell-focus-shadow !d
|
|
|
92
92
|
$kendo-calendar-navigation-width: 5em !default;
|
|
93
93
|
$kendo-calendar-navigation-item-height: 2em !default;
|
|
94
94
|
|
|
95
|
-
$kendo-calendar-navigation-bg: k-true-mix( $kendo-calendar-text, $kendo-calendar-bg, 3) !default;
|
|
95
|
+
$kendo-calendar-navigation-bg: if($kendo-enable-color-system, k-color( surface ), k-true-mix( $kendo-calendar-text, $kendo-calendar-bg, 3)) !default;
|
|
96
96
|
$kendo-calendar-navigation-text: $kendo-calendar-text !default;
|
|
97
97
|
$kendo-calendar-navigation-border: $kendo-calendar-border !default;
|
|
98
98
|
|
|
@@ -35,7 +35,7 @@ $kendo-chat-avatar-spacing: $kendo-chat-item-spacing-x !default;
|
|
|
35
35
|
$kendo-chat-toolbar-padding-x: $kendo-toolbar-md-padding-x !default;
|
|
36
36
|
$kendo-chat-toolbar-padding-y: $kendo-toolbar-md-padding-y !default;
|
|
37
37
|
$kendo-chat-toolbar-spacing: $kendo-toolbar-md-spacing !default;
|
|
38
|
-
$kendo-chat-toolbar-bg: k-try-shade( $kendo-button-bg, .5 ) !default;
|
|
38
|
+
$kendo-chat-toolbar-bg: if($kendo-enable-color-system, k-color( surface ), k-try-shade( $kendo-button-bg, .5 )) !default;
|
|
39
39
|
$kendo-chat-toolbar-text: $kendo-toolbar-text !default;
|
|
40
40
|
$kendo-chat-toolbar-border: inherit !default;
|
|
41
41
|
|
|
@@ -57,7 +57,7 @@ $kendo-chat-bubble-hover-shadow: $box-shadow-depth-2 !default;
|
|
|
57
57
|
$kendo-chat-bubble-selected-shadow: $box-shadow-depth-3 !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: $box-shadow-depth-1 !default;
|
|
63
63
|
$kendo-chat-alt-bubble-hover-shadow: $box-shadow-depth-2 !default;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
// Disabled state
|
|
12
12
|
.k-checkbox:disabled + & {
|
|
13
|
-
color: if( $kendo-is-dark-theme, $light-secondary-text, $dark-secondary-text );
|
|
13
|
+
color: if($kendo-enable-color-system, k-color( subtle ), if( $kendo-is-dark-theme, $light-secondary-text, $dark-secondary-text ));
|
|
14
14
|
opacity: 1;
|
|
15
15
|
filter: none;
|
|
16
16
|
}
|