@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.
- package/dist/all.css +314 -40
- package/dist/all.scss +1942 -599
- package/dist/meta/sassdoc-data.json +4494 -2868
- package/dist/meta/sassdoc-raw-data.json +1681 -931
- package/dist/meta/variables.json +331 -159
- package/lib/swatches/default-blue.json +1 -1
- package/lib/swatches/default-dataviz-v4.json +1 -1
- package/lib/swatches/default-green.json +1 -1
- package/lib/swatches/default-main-dark.json +1 -1
- package/lib/swatches/default-main.json +1 -1
- package/lib/swatches/default-nordic.json +1 -1
- package/lib/swatches/default-ocean-blue-a11y.json +1 -1
- package/lib/swatches/default-ocean-blue.json +1 -1
- package/lib/swatches/default-orange.json +1 -1
- package/lib/swatches/default-purple.json +1 -1
- package/lib/swatches/default-turquoise.json +1 -1
- package/lib/swatches/default-urban.json +1 -1
- package/package.json +5 -5
- package/scss/_variables.scss +1 -209
- package/scss/adaptive/_variables.scss +1 -1
- package/scss/appbar/_theme.scss +1 -1
- package/scss/appbar/_variables.scss +2 -2
- package/scss/avatar/_theme.scss +1 -1
- package/scss/badge/_theme.scss +1 -1
- package/scss/bottom-navigation/_theme.scss +5 -5
- package/scss/button/_theme.scss +74 -30
- package/scss/button/_variables.scss +10 -10
- package/scss/calendar/_theme.scss +1 -1
- package/scss/card/_layout.scss +4 -0
- package/scss/card/_theme.scss +3 -3
- package/scss/chat/_variables.scss +1 -1
- package/scss/checkbox/_variables.scss +2 -2
- package/scss/chip/_theme.scss +24 -22
- package/scss/chip/_variables.scss +5 -5
- package/scss/common/_indicators.scss +0 -2
- package/scss/core/_index.scss +6 -0
- package/scss/core/color-system/_palettes.scss +256 -0
- package/scss/core/color-system/_swatch-legacy.scss +62 -0
- package/scss/core/color-system/_swatch.scss +397 -0
- package/scss/dataviz/_layout.scss +2 -2
- package/scss/dataviz/_variables.scss +42 -42
- package/scss/dialog/_theme.scss +1 -1
- package/scss/dock-manager/_variables.scss +1 -1
- package/scss/drawer/_layout.scss +1 -0
- package/scss/dropdowntree/_layout.scss +16 -0
- package/scss/dropzone/_variables.scss +1 -1
- package/scss/editor/_variables.scss +1 -1
- package/scss/fab/_theme.scss +15 -15
- package/scss/filemanager/_layout.scss +5 -0
- package/scss/filemanager/_variables.scss +2 -2
- package/scss/forms/_variables.scss +1 -1
- package/scss/gantt/_layout.scss +13 -5
- package/scss/gantt/_variables.scss +10 -10
- package/scss/grid/_layout.scss +10 -0
- package/scss/grid/_theme.scss +54 -6
- package/scss/grid/_variables.scss +10 -7
- package/scss/index.scss +2 -0
- package/scss/input/_layout.scss +39 -8
- package/scss/input/_theme.scss +139 -0
- package/scss/input/_variables.scss +30 -9
- package/scss/list/_theme.scss +1 -1
- package/scss/listview/_variables.scss +1 -1
- package/scss/map/_variables.scss +1 -1
- package/scss/mediaplayer/_theme.scss +1 -1
- package/scss/mediaplayer/_variables.scss +1 -1
- package/scss/messagebox/_theme.scss +13 -5
- package/scss/notification/_layout.scss +4 -9
- package/scss/notification/_variables.scss +5 -1
- package/scss/panelbar/_variables.scss +4 -4
- package/scss/pivotgrid/_variables.scss +5 -5
- package/scss/progressbar/_theme.scss +1 -1
- package/scss/progressbar/_variables.scss +3 -3
- package/scss/prompt/_index.scss +37 -0
- package/scss/prompt/_layout.scss +70 -0
- package/scss/prompt/_theme.scss +41 -0
- package/scss/prompt/_variables.scss +66 -0
- package/scss/scheduler/_theme.scss +3 -3
- package/scss/scheduler/_variables.scss +4 -4
- package/scss/signature/_variables.scss +1 -1
- package/scss/skeleton/_variables.scss +2 -5
- package/scss/slider/_variables.scss +6 -6
- package/scss/splitter/_variables.scss +1 -1
- package/scss/spreadsheet/_variables.scss +4 -4
- package/scss/stepper/_layout.scss +11 -0
- package/scss/stepper/_theme.scss +51 -15
- package/scss/stepper/_variables.scss +8 -8
- package/scss/switch/_theme.scss +2 -2
- package/scss/switch/_variables.scss +4 -4
- package/scss/table/_variables.scss +3 -4
- package/scss/taskboard/_variables.scss +7 -7
- package/scss/timeline/_layout.scss +0 -4
- package/scss/timeline/_variables.scss +4 -4
- package/scss/tooltip/_variables.scss +4 -4
- package/scss/window/_theme.scss +1 -1
- 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-default",
|
|
3
3
|
"description": "SASS resources for the default Kendo UI theme",
|
|
4
|
-
"version": "7.1.0-dev.
|
|
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.
|
|
55
|
-
"@progress/kendo-theme-core": "7.1.0-dev.
|
|
56
|
-
"@progress/kendo-theme-utils": "7.1.0-dev.
|
|
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": "
|
|
62
|
+
"gitHead": "e230a2a9dfcc63416df15156d0fe2d85a17cb5fb"
|
|
63
63
|
}
|
package/scss/_variables.scss
CHANGED
|
@@ -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
|
-
|
|
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
|
|
package/scss/appbar/_theme.scss
CHANGED
|
@@ -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
|
package/scss/avatar/_theme.scss
CHANGED
|
@@ -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
|
}
|
package/scss/badge/_theme.scss
CHANGED
|
@@ -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
|
}
|