@progress/kendo-theme-default 7.1.0-dev.8 → 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.
- package/dist/all.css +50 -18
- package/dist/all.scss +1463 -581
- package/dist/meta/sassdoc-data.json +1450 -1504
- package/dist/meta/sassdoc-raw-data.json +683 -708
- package/dist/meta/variables.json +216 -160
- 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 +4 -4
- package/scss/_variables.scss +1 -222
- 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/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/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 +5 -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/input/_variables.scss +8 -8
- 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/_variables.scss +1 -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/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/_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
|
@@ -24,7 +24,7 @@ $kendo-progressbar-line-height: 1 !default;
|
|
|
24
24
|
|
|
25
25
|
/// The background color of the ProgressBar.
|
|
26
26
|
/// @group progressbar
|
|
27
|
-
$kendo-progressbar-bg: k-try-shade( $kendo-component-bg, 1 ) !default;
|
|
27
|
+
$kendo-progressbar-bg: if($kendo-enable-color-system, k-color( base-subtle ), k-try-shade( $kendo-component-bg, 1 )) !default;
|
|
28
28
|
/// The text color of the ProgressBar.
|
|
29
29
|
/// @group progressbar
|
|
30
30
|
$kendo-progressbar-text: $kendo-component-text !default;
|
|
@@ -40,10 +40,10 @@ $kendo-progressbar-gradient: null !default;
|
|
|
40
40
|
$kendo-progressbar-value-bg: $kendo-color-primary !default;
|
|
41
41
|
/// The progress text color of the ProgressBar.
|
|
42
42
|
/// @group progressbar
|
|
43
|
-
$kendo-progressbar-value-text: k-contrast-legacy( $kendo-progressbar-value-bg ) !default;
|
|
43
|
+
$kendo-progressbar-value-text: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-legacy( $kendo-progressbar-value-bg )) !default;
|
|
44
44
|
/// The progress border color of the ProgressBar.
|
|
45
45
|
/// @group progressbar
|
|
46
|
-
$kendo-progressbar-value-border: k-try-shade( $kendo-progressbar-value-bg ) !default;
|
|
46
|
+
$kendo-progressbar-value-border: if($kendo-enable-color-system, k-color( primary-active ), k-try-shade( $kendo-progressbar-value-bg )) !default;
|
|
47
47
|
/// The progress background gradient of the ProgressBar.
|
|
48
48
|
/// @group progressbar
|
|
49
49
|
$kendo-progressbar-value-gradient: null !default;
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
|
|
68
68
|
.k-scheduler-layout td.k-selected,
|
|
69
69
|
.k-scheduler-layout .k-scheduler-cell.k-selected {
|
|
70
|
-
background-color: rgba($kendo-selected-bg, .25);
|
|
70
|
+
background-color: if($kendo-enable-color-system, rgba( k-color( primary, true ), .25 ), rgba($kendo-selected-bg, .25));
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
.k-scheduler-layout-flex {
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
&.k-event-inverse {
|
|
113
|
-
color: k-contrast-legacy( $kendo-scheduler-event-text );
|
|
113
|
+
color: if($kendo-enable-color-system, k-color( on-app-surface ), k-contrast-legacy( $kendo-scheduler-event-text ));
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
&.k-event-ongoing {
|
|
@@ -184,7 +184,7 @@
|
|
|
184
184
|
|
|
185
185
|
// Selected
|
|
186
186
|
.k-scheduler-content tr.k-selected {
|
|
187
|
-
background-color: rgba($kendo-selected-bg, .25);
|
|
187
|
+
background-color: if($kendo-enable-color-system, rgba( k-color( primary, true ), .25 ), rgba($kendo-selected-bg, .25));
|
|
188
188
|
}
|
|
189
189
|
.k-scheduler-content tr.k-selected .k-scheduler-datecolumn,
|
|
190
190
|
.k-scheduler-content tr.k-selected .k-scheduler-groupcolumn {
|
|
@@ -22,7 +22,7 @@ $kendo-scheduler-event-min-height: 25px !default;
|
|
|
22
22
|
$kendo-scheduler-event-border-radius: $kendo-border-radius-md !default;
|
|
23
23
|
$kendo-scheduler-event-line-height: calc( #{$kendo-scheduler-event-min-height} - (2 * #{$kendo-padding-md-y}) ) !default;
|
|
24
24
|
|
|
25
|
-
$kendo-scheduler-event-bg: k-color-tint( $kendo-selected-bg, 2 ) !default;
|
|
25
|
+
$kendo-scheduler-event-bg: if($kendo-enable-color-system, k-color( primary ), k-color-tint( $kendo-selected-bg, 2 )) !default;
|
|
26
26
|
$kendo-scheduler-event-text: $kendo-selected-text !default;
|
|
27
27
|
$kendo-scheduler-event-border: null !default;
|
|
28
28
|
$kendo-scheduler-event-gradient: null !default;
|
|
@@ -34,7 +34,7 @@ $kendo-scheduler-event-hover-border: null !default;
|
|
|
34
34
|
$kendo-scheduler-event-hover-gradient: null !default;
|
|
35
35
|
$kendo-scheduler-event-hover-shadow: null !default;
|
|
36
36
|
|
|
37
|
-
$kendo-scheduler-event-selected-bg: $kendo-selected-bg !default;
|
|
37
|
+
$kendo-scheduler-event-selected-bg: if($kendo-enable-color-system, k-color( primary-active ), $kendo-selected-bg) !default;
|
|
38
38
|
$kendo-scheduler-event-selected-text: $kendo-selected-text !default;
|
|
39
39
|
$kendo-scheduler-event-selected-border: null !default;
|
|
40
40
|
$kendo-scheduler-event-selected-gradient: null !default;
|
|
@@ -48,13 +48,13 @@ $kendo-scheduler-cell-height: $kendo-line-height-em !default;
|
|
|
48
48
|
$kendo-scheduler-datecolumn-width: 12em !default;
|
|
49
49
|
$kendo-scheduler-timecolumn-width: 11em !default;
|
|
50
50
|
|
|
51
|
-
$kendo-scheduler-nonwork-bg: k-try-shade( $kendo-scheduler-bg, .5 ) !default;
|
|
51
|
+
$kendo-scheduler-nonwork-bg: if($kendo-enable-color-system, k-color( base ), k-try-shade( $kendo-scheduler-bg, .5 )) !default;
|
|
52
52
|
$kendo-scheduler-nonwork-text: null !default;
|
|
53
53
|
|
|
54
54
|
$kendo-scheduler-weekend-bg: null !default;
|
|
55
55
|
$kendo-scheduler-weekend-text: null !default;
|
|
56
56
|
|
|
57
|
-
$kendo-scheduler-othermonth-bg: k-try-shade( $kendo-scheduler-bg, .5 ) !default;
|
|
57
|
+
$kendo-scheduler-othermonth-bg: if($kendo-enable-color-system, k-color( base ), k-try-shade( $kendo-scheduler-bg, .5 )) !default;
|
|
58
58
|
$kendo-scheduler-othermonth-text: null !default;
|
|
59
59
|
|
|
60
60
|
$kendo-scheduler-yearview-padding-x: k-map-get( $kendo-spacing, 3 ) !default;
|
|
@@ -18,7 +18,7 @@ $kendo-signature-lg-padding-y: $kendo-signature-lg-padding-x !default;
|
|
|
18
18
|
|
|
19
19
|
$kendo-signature-line-width: 1px !default;
|
|
20
20
|
$kendo-signature-line-style: dashed !default;
|
|
21
|
-
$kendo-signature-line-color: rgba( $kendo-color-info, .24 ) !default;
|
|
21
|
+
$kendo-signature-line-color: if($kendo-enable-color-system, rgba( k-color( info, true ), .24 ), rgba( $kendo-color-info, .24 )) !default;
|
|
22
22
|
|
|
23
23
|
$kendo-signature-line-size: calc( 100% - 2 * #{$kendo-signature-padding-x} ) !default;
|
|
24
24
|
$kendo-signature-sm-line-size: calc( 100% - 2 * #{$kendo-signature-sm-padding-x} ) !default;
|
|
@@ -15,9 +15,6 @@ $kendo-skeleton-rect-border-radius: 0 !default;
|
|
|
15
15
|
/// @group skeleton
|
|
16
16
|
$kendo-skeleton-circle-border-radius: 9999px !default;
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
$kendo-skeleton-item-bg: rgba( $kendo-color-inverse, .2 ) !default;
|
|
21
|
-
/// The background color of the Skeleton wave animation.
|
|
22
|
-
/// @group skeleton
|
|
18
|
+
$kendo-skeleton-item-bg: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .2 ), rgba( $kendo-color-inverse, .2 )) !default;
|
|
19
|
+
|
|
23
20
|
$kendo-skeleton-wave-bg: rgba( black, .04 ) !default;
|
|
@@ -23,27 +23,27 @@ $kendo-slider-draghandle-active-scale: 1 !default;
|
|
|
23
23
|
$kendo-slider-draghandle-active-size: null !default;
|
|
24
24
|
|
|
25
25
|
$kendo-slider-draghandle-bg: $kendo-color-primary !default;
|
|
26
|
-
$kendo-slider-draghandle-text: k-contrast-legacy( $kendo-color-primary ) !default;
|
|
26
|
+
$kendo-slider-draghandle-text: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-legacy( $kendo-color-primary )) !default;
|
|
27
27
|
$kendo-slider-draghandle-border: $kendo-color-primary !default;
|
|
28
28
|
$kendo-slider-draghandle-gradient: null !default;
|
|
29
29
|
|
|
30
|
-
$kendo-slider-draghandle-hover-bg: k-try-shade( $kendo-color-primary , .5 ) !default;
|
|
30
|
+
$kendo-slider-draghandle-hover-bg: if($kendo-enable-color-system, k-color( primary-hover ), k-try-shade( $kendo-color-primary , .5 )) !default;
|
|
31
31
|
$kendo-slider-draghandle-hover-text: null !default;
|
|
32
32
|
$kendo-slider-draghandle-hover-border: $kendo-color-primary !default;
|
|
33
33
|
$kendo-slider-draghandle-hover-gradient: null !default;
|
|
34
34
|
|
|
35
|
-
$kendo-slider-draghandle-pressed-bg: k-try-shade( $kendo-color-primary , 1.5 ) !default;
|
|
35
|
+
$kendo-slider-draghandle-pressed-bg: if($kendo-enable-color-system, k-color( primary-active ), k-try-shade( $kendo-color-primary , 1.5 )) !default;
|
|
36
36
|
$kendo-slider-draghandle-pressed-text: null !default;
|
|
37
|
-
$kendo-slider-draghandle-pressed-border: k-try-shade( $kendo-color-primary , 1.5 ) !default;
|
|
37
|
+
$kendo-slider-draghandle-pressed-border: if($kendo-enable-color-system, k-color( primary-active ), k-try-shade( $kendo-color-primary , 1.5 )) !default;
|
|
38
38
|
$kendo-slider-draghandle-pressed-gradient: null !default;
|
|
39
39
|
|
|
40
|
-
$kendo-slider-draghandle-focus-shadow: 0 0 0 2px rgba( $kendo-color-primary , .3 ) !default;
|
|
40
|
+
$kendo-slider-draghandle-focus-shadow: 0 0 0 2px if($kendo-enable-color-system, rgba( k-color( primary, true ), .3 ), rgba( $kendo-color-primary , .3 )) !default;
|
|
41
41
|
|
|
42
42
|
$kendo-slider-transition-speed: .3s !default;
|
|
43
43
|
$kendo-slider-transition-function: ease-out !default;
|
|
44
44
|
$kendo-slider-draghandle-transition-speed: .4s !default;
|
|
45
45
|
$kendo-slider-draghandle-transition-function: cubic-bezier(.25, .8, .25, 1) !default;
|
|
46
46
|
|
|
47
|
-
$kendo-slider-track-bg: k-try-shade( $kendo-component-bg, 1 ) !default;
|
|
47
|
+
$kendo-slider-track-bg: if($kendo-enable-color-system, k-color( base-subtle ), k-try-shade( $kendo-component-bg, 1 )) !default;
|
|
48
48
|
$kendo-slider-selection-bg: $kendo-color-primary !default;
|
|
49
49
|
$kendo-slider-disabled-opacity: null !default;
|
|
@@ -18,7 +18,7 @@ $kendo-splitter-collapse-icon-padding-y: k-map-get( $kendo-spacing, .5 ) !defaul
|
|
|
18
18
|
$kendo-splitbar-bg: $kendo-base-bg !default;
|
|
19
19
|
$kendo-splitbar-text: $kendo-base-text !default;
|
|
20
20
|
|
|
21
|
-
$kendo-splitbar-hover-bg: k-try-shade( $kendo-splitbar-bg, .5 ) !default;
|
|
21
|
+
$kendo-splitbar-hover-bg: if($kendo-enable-color-system, k-color( base-hover ), k-try-shade( $kendo-splitbar-bg, .5 )) !default;
|
|
22
22
|
$kendo-splitbar-hover-text: $kendo-splitbar-text !default;
|
|
23
23
|
|
|
24
24
|
$kendo-splitbar-selected-bg: $kendo-selected-bg !default;
|
|
@@ -37,7 +37,7 @@ $kendo-spreadsheet-formula-input-line-height: $kendo-input-line-height !default;
|
|
|
37
37
|
$kendo-spreadsheet-view-font-family: Arial, Verdana, sans-serif !default;
|
|
38
38
|
$kendo-spreadsheet-view-font-size: $kendo-spreadsheet-font-size !default;
|
|
39
39
|
|
|
40
|
-
$kendo-spreadsheet-selection-bg: rgba( $kendo-selected-bg, .25
|
|
40
|
+
$kendo-spreadsheet-selection-bg: if($kendo-enable-color-system, rgba( k-color( primary, true ), .25 ), rgba($kendo-selected-bg, .25)) !default;
|
|
41
41
|
$kendo-spreadsheet-selection-text: null !default;
|
|
42
42
|
$kendo-spreadsheet-selection-border: $kendo-selected-bg !default;
|
|
43
43
|
$kendo-spreadsheet-selection-shadow: inset 0 0 0 1px $kendo-selected-bg !default;
|
|
@@ -46,12 +46,12 @@ $kendo-spreadsheet-single-selection-bg: $kendo-selected-bg !default;
|
|
|
46
46
|
$kendo-spreadsheet-single-selection-text: null !default;
|
|
47
47
|
$kendo-spreadsheet-single-selection-border: $kendo-spreadsheet-bg !default;
|
|
48
48
|
|
|
49
|
-
$kendo-spreadsheet-partial-selection-bg: rgba( $kendo-selected-bg, .25
|
|
49
|
+
$kendo-spreadsheet-partial-selection-bg: if($kendo-enable-color-system, rgba( k-color( primary, true ), .25 ), rgba($kendo-selected-bg, .25)) !default;
|
|
50
50
|
|
|
51
51
|
$kendo-spreadsheet-active-cell-bg: $kendo-spreadsheet-bg !default;
|
|
52
52
|
$kendo-spreadsheet-active-cell-shadow: inset 0 0 0 1px $kendo-selected-bg !default;
|
|
53
53
|
|
|
54
|
-
$kendo-spreadsheet-auto-fill-bg: rgba( $kendo-selected-bg, .25
|
|
54
|
+
$kendo-spreadsheet-auto-fill-bg: if($kendo-enable-color-system, rgba( k-color( primary, true ), .25 ), rgba($kendo-selected-bg, .25)) !default;
|
|
55
55
|
$kendo-spreadsheet-auto-fill-text: null !default;
|
|
56
56
|
$kendo-spreadsheet-auto-fill-border: $kendo-selected-bg !default;
|
|
57
57
|
$kendo-spreadsheet-auto-fill-shadow: inset 0 0 0 1px $kendo-selected-bg !default;
|
|
@@ -99,7 +99,7 @@ $kendo-spreadsheet-drawing-handle-bg: $kendo-color-primary !default;
|
|
|
99
99
|
$kendo-spreadsheet-drawing-handle-border-radius: $kendo-border-radius-lg !default;
|
|
100
100
|
$kendo-spreadsheet-drawing-outline-style: solid !default;
|
|
101
101
|
$kendo-spreadsheet-drawing-outline-width: 2px !default;
|
|
102
|
-
$kendo-spreadsheet-drawing-anchor-bg: rgba( $kendo-selected-bg, .25
|
|
102
|
+
$kendo-spreadsheet-drawing-anchor-bg: if($kendo-enable-color-system, rgba( k-color( primary, true ), .25 ), rgba($kendo-selected-bg, .25)) !default;
|
|
103
103
|
|
|
104
104
|
$kendo-spreadsheet-dropzone-spacing-y: k-map-get( $kendo-spacing, 4 ) !default;
|
|
105
105
|
|
|
@@ -73,6 +73,17 @@
|
|
|
73
73
|
transition-duration: .4s;
|
|
74
74
|
transition-timing-function: ease-in-out;
|
|
75
75
|
|
|
76
|
+
&::before {
|
|
77
|
+
@include border-radius( $kendo-stepper-indicator-border-radius );
|
|
78
|
+
content: "";
|
|
79
|
+
width: 100%;
|
|
80
|
+
height: 100%;
|
|
81
|
+
position: absolute;
|
|
82
|
+
top: 0;
|
|
83
|
+
left: 0;
|
|
84
|
+
z-index: -1;
|
|
85
|
+
}
|
|
86
|
+
|
|
76
87
|
&::after {
|
|
77
88
|
@include border-radius( 100% );
|
|
78
89
|
content: "";
|
package/scss/stepper/_theme.scss
CHANGED
|
@@ -41,11 +41,23 @@
|
|
|
41
41
|
&.k-disabled,
|
|
42
42
|
&:disabled {
|
|
43
43
|
.k-step-indicator {
|
|
44
|
-
@
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
44
|
+
@if($kendo-enable-color-system) {
|
|
45
|
+
@include fill(
|
|
46
|
+
$kendo-stepper-indicator-disabled-text,
|
|
47
|
+
k-color( app-surface ),
|
|
48
|
+
$kendo-stepper-indicator-disabled-border
|
|
49
|
+
);
|
|
50
|
+
|
|
51
|
+
&::before {
|
|
52
|
+
background-color: $kendo-stepper-indicator-disabled-bg;
|
|
53
|
+
}
|
|
54
|
+
} @else {
|
|
55
|
+
@include fill(
|
|
56
|
+
$kendo-stepper-indicator-disabled-text,
|
|
57
|
+
$kendo-stepper-indicator-disabled-bg,
|
|
58
|
+
$kendo-stepper-indicator-disabled-border
|
|
59
|
+
);
|
|
60
|
+
}
|
|
49
61
|
}
|
|
50
62
|
|
|
51
63
|
.k-step-label {
|
|
@@ -103,11 +115,23 @@
|
|
|
103
115
|
&.k-disabled,
|
|
104
116
|
&:disabled {
|
|
105
117
|
.k-step-indicator {
|
|
106
|
-
@
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
118
|
+
@if($kendo-enable-color-system) {
|
|
119
|
+
@include fill(
|
|
120
|
+
$kendo-stepper-indicator-done-disabled-text,
|
|
121
|
+
k-color( app-surface ),
|
|
122
|
+
$kendo-stepper-indicator-done-disabled-border
|
|
123
|
+
);
|
|
124
|
+
|
|
125
|
+
&::before {
|
|
126
|
+
background-color: $kendo-stepper-indicator-done-disabled-bg;
|
|
127
|
+
}
|
|
128
|
+
} @else {
|
|
129
|
+
@include fill(
|
|
130
|
+
$kendo-stepper-indicator-done-disabled-text,
|
|
131
|
+
$kendo-stepper-indicator-done-disabled-bg,
|
|
132
|
+
$kendo-stepper-indicator-done-disabled-border
|
|
133
|
+
);
|
|
134
|
+
}
|
|
111
135
|
}
|
|
112
136
|
}
|
|
113
137
|
}
|
|
@@ -144,11 +168,23 @@
|
|
|
144
168
|
&.k-disabled,
|
|
145
169
|
&:disabled {
|
|
146
170
|
.k-step-indicator {
|
|
147
|
-
@
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
171
|
+
@if($kendo-enable-color-system) {
|
|
172
|
+
@include fill(
|
|
173
|
+
$kendo-stepper-indicator-current-disabled-text,
|
|
174
|
+
k-color( app-surface ),
|
|
175
|
+
$kendo-stepper-indicator-current-disabled-border
|
|
176
|
+
);
|
|
177
|
+
|
|
178
|
+
&::before {
|
|
179
|
+
background-color: $kendo-stepper-indicator-current-disabled-bg;
|
|
180
|
+
}
|
|
181
|
+
} @else {
|
|
182
|
+
@include fill(
|
|
183
|
+
$kendo-stepper-indicator-current-disabled-text,
|
|
184
|
+
$kendo-stepper-indicator-current-disabled-bg,
|
|
185
|
+
$kendo-stepper-indicator-current-disabled-border
|
|
186
|
+
);
|
|
187
|
+
}
|
|
152
188
|
}
|
|
153
189
|
}
|
|
154
190
|
}
|
|
@@ -33,24 +33,24 @@ $kendo-stepper-indicator-bg: $kendo-component-bg !default;
|
|
|
33
33
|
$kendo-stepper-indicator-text: $kendo-component-text !default;
|
|
34
34
|
$kendo-stepper-indicator-border: #cccccc !default;
|
|
35
35
|
|
|
36
|
-
$kendo-stepper-indicator-hover-bg: k-try-shade( $kendo-stepper-indicator-bg ) !default;
|
|
36
|
+
$kendo-stepper-indicator-hover-bg: if($kendo-enable-color-system, k-color( base-hover ), k-try-shade( $kendo-stepper-indicator-bg )) !default;
|
|
37
37
|
$kendo-stepper-indicator-hover-text: null !default;
|
|
38
38
|
$kendo-stepper-indicator-hover-border: null !default;
|
|
39
39
|
|
|
40
40
|
$kendo-stepper-indicator-disabled-bg: null !default;
|
|
41
|
-
$kendo-stepper-indicator-disabled-text: $kendo-disabled-text !default;
|
|
41
|
+
$kendo-stepper-indicator-disabled-text: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .6 ), $kendo-disabled-text) !default;
|
|
42
42
|
$kendo-stepper-indicator-disabled-border: null !default;
|
|
43
43
|
|
|
44
44
|
$kendo-stepper-indicator-done-bg: $kendo-color-primary !default;
|
|
45
|
-
$kendo-stepper-indicator-done-text: k-contrast-legacy( $kendo-stepper-indicator-done-bg ) !default;
|
|
45
|
+
$kendo-stepper-indicator-done-text: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-legacy( $kendo-stepper-indicator-done-bg )) !default;
|
|
46
46
|
$kendo-stepper-indicator-done-border: $kendo-stepper-indicator-done-bg !default;
|
|
47
47
|
|
|
48
|
-
$kendo-stepper-indicator-done-hover-bg: k-try-shade( $kendo-stepper-indicator-done-bg ) !default;
|
|
48
|
+
$kendo-stepper-indicator-done-hover-bg: if($kendo-enable-color-system, k-color( primary-hover ), k-try-shade( $kendo-stepper-indicator-done-bg )) !default;
|
|
49
49
|
$kendo-stepper-indicator-done-hover-text: null !default;
|
|
50
50
|
$kendo-stepper-indicator-done-hover-border: null !default;
|
|
51
51
|
|
|
52
|
-
$kendo-stepper-indicator-done-disabled-bg: k-color-mix( $kendo-stepper-indicator-done-bg, $kendo-component-bg, 60%) !default;
|
|
53
|
-
$kendo-stepper-indicator-done-disabled-text: k-contrast-legacy( $kendo-stepper-indicator-done-bg ) !default;
|
|
52
|
+
$kendo-stepper-indicator-done-disabled-bg: if($kendo-enable-color-system, rgba( k-color( primary, true ), .6 ), k-color-mix( $kendo-stepper-indicator-done-bg, $kendo-component-bg, 60%)) !default;
|
|
53
|
+
$kendo-stepper-indicator-done-disabled-text: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-legacy( $kendo-stepper-indicator-done-bg )) !default;
|
|
54
54
|
$kendo-stepper-indicator-done-disabled-border: $kendo-stepper-indicator-done-disabled-bg !default;
|
|
55
55
|
|
|
56
56
|
$kendo-stepper-indicator-current-bg: $kendo-stepper-indicator-done-bg !default;
|
|
@@ -68,8 +68,8 @@ $kendo-stepper-indicator-current-disabled-border: $kendo-stepper-indicator-done-
|
|
|
68
68
|
$kendo-stepper-label-text: null !default;
|
|
69
69
|
$kendo-stepper-label-success-text: $kendo-color-success !default;
|
|
70
70
|
$kendo-stepper-label-error-text: $kendo-color-error !default;
|
|
71
|
-
$kendo-stepper-label-hover-text: k-try-shade( $kendo-stepper-text, 2 ) !default;
|
|
72
|
-
$kendo-stepper-label-disabled-text: $kendo-disabled-text !default;
|
|
71
|
+
$kendo-stepper-label-hover-text: if($kendo-enable-color-system, k-color( on-base ), k-try-shade( $kendo-stepper-text, 2 )) !default;
|
|
72
|
+
$kendo-stepper-label-disabled-text: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .6 ), $kendo-disabled-text) !default;
|
|
73
73
|
|
|
74
74
|
$kendo-stepper-optional-label-text: $kendo-subtle-text !default;
|
|
75
75
|
$kendo-stepper-optional-label-opacity: null !default;
|
package/scss/switch/_theme.scss
CHANGED
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
$kendo-switch-off-track-focus-gradient
|
|
59
59
|
);
|
|
60
60
|
@if $kendo-enable-focus-contrast {
|
|
61
|
-
@include box-shadow( 0 0 0 2px if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black ) );
|
|
61
|
+
@include box-shadow( 0 0 0 2px if($kendo-enable-color-system, k-color( on-app-surface, true ), if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black )) );
|
|
62
62
|
} @else {
|
|
63
63
|
outline: $kendo-switch-off-track-focus-ring;
|
|
64
64
|
}
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
$kendo-switch-on-track-focus-gradient
|
|
139
139
|
);
|
|
140
140
|
@if $kendo-enable-focus-contrast {
|
|
141
|
-
@include box-shadow( 0 0 0 2px if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black ) );
|
|
141
|
+
@include box-shadow( 0 0 0 2px if($kendo-enable-color-system, k-color( on-app-surface, true ), if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black )) );
|
|
142
142
|
} @else {
|
|
143
143
|
outline: $kendo-switch-on-track-focus-ring;
|
|
144
144
|
}
|
|
@@ -36,7 +36,7 @@ $kendo-switch-off-track-bg: $kendo-component-bg !default;
|
|
|
36
36
|
$kendo-switch-off-track-text: $kendo-component-text !default;
|
|
37
37
|
/// The border color of the track when the Switch is not checked.
|
|
38
38
|
/// @group switch
|
|
39
|
-
$kendo-switch-off-track-border: k-try-shade( $kendo-switch-off-track-bg, 8% ) !default;
|
|
39
|
+
$kendo-switch-off-track-border: if($kendo-enable-color-system, k-color( border ), k-try-shade( $kendo-switch-off-track-bg, 8% )) !default;
|
|
40
40
|
/// The background gradient of the track when the Switch is not checked.
|
|
41
41
|
/// @group switch
|
|
42
42
|
$kendo-switch-off-track-gradient: null !default;
|
|
@@ -68,7 +68,7 @@ $kendo-switch-off-track-focus-border: null !default;
|
|
|
68
68
|
$kendo-switch-off-track-focus-gradient: null !default;
|
|
69
69
|
/// The ring around the track when the focused Switch is not checked.
|
|
70
70
|
/// @group switch
|
|
71
|
-
$kendo-switch-off-track-focus-ring: 2px solid rgba( if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black ) , .08 ) !default;
|
|
71
|
+
$kendo-switch-off-track-focus-ring: 2px solid if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .08 ), rgba( if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black ) , .08 )) !default;
|
|
72
72
|
|
|
73
73
|
/// The background of the track when the disabled Switch is not checked.
|
|
74
74
|
/// @group switch
|
|
@@ -115,7 +115,7 @@ $kendo-switch-off-thumb-hover-gradient: null !default;
|
|
|
115
115
|
$kendo-switch-on-track-bg: $kendo-color-primary !default;
|
|
116
116
|
/// The text color of the track when the Switch is checked.
|
|
117
117
|
/// @group switch
|
|
118
|
-
$kendo-switch-on-track-text: k-contrast-legacy( $kendo-switch-on-track-bg ) !default;
|
|
118
|
+
$kendo-switch-on-track-text: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-legacy( $kendo-switch-on-track-bg )) !default;
|
|
119
119
|
/// The border color of the track when the Switch is checked.
|
|
120
120
|
/// @group switch
|
|
121
121
|
$kendo-switch-on-track-border: $kendo-switch-on-track-bg !default;
|
|
@@ -150,7 +150,7 @@ $kendo-switch-on-track-focus-border: null !default;
|
|
|
150
150
|
$kendo-switch-on-track-focus-gradient: null !default;
|
|
151
151
|
/// The ring around the track when the focused Switch is checked.
|
|
152
152
|
/// @group switch
|
|
153
|
-
$kendo-switch-on-track-focus-ring: 2px solid rgba( $kendo-switch-on-track-border, .25 ) !default;
|
|
153
|
+
$kendo-switch-on-track-focus-ring: 2px solid if($kendo-enable-color-system, rgba( k-color( primary, true ), .25 ), rgba( $kendo-switch-on-track-border, .25 )) !default;
|
|
154
154
|
|
|
155
155
|
/// The background of the track when the disabled Switch is checked.
|
|
156
156
|
/// @group switch
|
|
@@ -108,10 +108,9 @@ $kendo-table-group-row-text: $kendo-table-header-text !default;
|
|
|
108
108
|
/// @group table
|
|
109
109
|
$kendo-table-group-row-border: $kendo-table-header-border !default;
|
|
110
110
|
|
|
111
|
-
|
|
112
111
|
/// Background color of alternating rows in table.
|
|
113
112
|
/// @group table
|
|
114
|
-
$kendo-table-alt-row-bg: rgba( k-contrast-legacy( $kendo-table-bg ), .04 ) !default;
|
|
113
|
+
$kendo-table-alt-row-bg: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .05 ), rgba( k-contrast-legacy( $kendo-table-bg ), .04 )) !default;
|
|
115
114
|
/// Text color of alternating rows in table.
|
|
116
115
|
/// @group table
|
|
117
116
|
$kendo-table-alt-row-text: null !default;
|
|
@@ -122,7 +121,7 @@ $kendo-table-alt-row-border: null !default;
|
|
|
122
121
|
|
|
123
122
|
/// Background color of hovered rows in table.
|
|
124
123
|
/// @group table
|
|
125
|
-
$kendo-table-hover-bg: k-color-darken($kendo-table-bg, 7%) !default;
|
|
124
|
+
$kendo-table-hover-bg: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .11 ), k-color-darken($kendo-table-bg, 7%)) !default;
|
|
126
125
|
/// Text color of hovered rows in table.
|
|
127
126
|
/// @group table
|
|
128
127
|
$kendo-table-hover-text: null !default;
|
|
@@ -147,7 +146,7 @@ $kendo-table-focus-shadow: $kendo-list-item-focus-shadow !default;
|
|
|
147
146
|
|
|
148
147
|
/// Background color of selected rows in table.
|
|
149
148
|
/// @group table
|
|
150
|
-
$kendo-table-selected-bg: rgba($kendo-selected-bg, .25) !default;
|
|
149
|
+
$kendo-table-selected-bg: if($kendo-enable-color-system, rgba( k-color( primary, true ), .25 ), rgba($kendo-selected-bg, .25)) !default;
|
|
151
150
|
/// Text color of selected rows in table.
|
|
152
151
|
/// @group table
|
|
153
152
|
$kendo-table-selected-text: null !default;
|
|
@@ -33,7 +33,7 @@ $kendo-taskboard-column-border: transparent !default;
|
|
|
33
33
|
|
|
34
34
|
$kendo-taskboard-column-focus-bg: null !default;
|
|
35
35
|
$kendo-taskboard-column-focus-text: null !default;
|
|
36
|
-
$kendo-taskboard-column-focus-border: k-try-shade( $kendo-base-border, 2.5 ) !default;
|
|
36
|
+
$kendo-taskboard-column-focus-border: if($kendo-enable-color-system, k-color( border-alt ), k-try-shade( $kendo-base-border, 2.5 )) !default;
|
|
37
37
|
|
|
38
38
|
$kendo-taskboard-column-header-padding-y: k-math-div( $kendo-taskboard-spacer, 2 ) !default;
|
|
39
39
|
$kendo-taskboard-column-header-padding-x: $kendo-taskboard-column-header-padding-y !default;
|
|
@@ -76,17 +76,17 @@ $kendo-taskboard-card-border: $kendo-card-border !default;
|
|
|
76
76
|
|
|
77
77
|
$kendo-taskboard-card-category-border-width: 4px !default;
|
|
78
78
|
|
|
79
|
-
$kendo-taskboard-card-
|
|
80
|
-
$kendo-taskboard-card-focus-shadow: none !default;
|
|
79
|
+
$kendo-taskboard-card-hover-border: if($kendo-enable-color-system, k-color( border-alt ), k-try-shade( $kendo-taskboard-card-border, 10% )) !default;
|
|
81
80
|
|
|
82
|
-
$kendo-taskboard-card-
|
|
81
|
+
$kendo-taskboard-card-focus-border: if($kendo-enable-color-system, k-color( border-alt ), k-try-shade( $kendo-taskboard-card-border, 18% )) !default;
|
|
82
|
+
$kendo-taskboard-card-focus-shadow: none !default;
|
|
83
83
|
|
|
84
|
-
$kendo-taskboard-card-selected-border: k-color-tint( $kendo-color-primary-lighter, 5 ) !default;
|
|
84
|
+
$kendo-taskboard-card-selected-border: if($kendo-enable-color-system, k-color( primary-emphasis ), k-color-tint( $kendo-color-primary-lighter, 5 )) !default;
|
|
85
85
|
$kendo-taskboard-card-selected-shadow: none !default;
|
|
86
86
|
|
|
87
87
|
$kendo-taskboard-card-header-text: $kendo-color-primary !default;
|
|
88
|
-
$kendo-taskboard-card-header-
|
|
89
|
-
$kendo-taskboard-card-header-
|
|
88
|
+
$kendo-taskboard-card-header-hover-text: if($kendo-enable-color-system, k-color( primary-hover ), $kendo-color-primary-darker) !default;
|
|
89
|
+
$kendo-taskboard-card-header-focus-text: if($kendo-enable-color-system, k-color( primary-hover ), $kendo-color-primary-darker) !default;
|
|
90
90
|
|
|
91
91
|
$kendo-taskboard-drag-placeholder-border-width: 1px !default;
|
|
92
92
|
$kendo-taskboard-drag-placeholder-border-radius: $kendo-taskboard-card-border-radius !default;
|
|
@@ -13,9 +13,9 @@ $kendo-timeline-mobile-spacing-y: 16px !default;
|
|
|
13
13
|
$kendo-timeline-track-arrow-width: 30px !default;
|
|
14
14
|
$kendo-timeline-track-arrow-height: 30px !default;
|
|
15
15
|
|
|
16
|
-
$kendo-timeline-track-arrow-disabled-bg: k-true-mix($kendo-button-bg, $kendo-body-bg, 65%) !default;
|
|
17
|
-
$kendo-timeline-track-arrow-disabled-text: k-true-mix($kendo-button-text, $kendo-body-bg, 65%) !default;
|
|
18
|
-
$kendo-timeline-track-arrow-disabled-border: k-true-mix(#000000, $kendo-body-bg, 4.8%) !default;
|
|
16
|
+
$kendo-timeline-track-arrow-disabled-bg: if($kendo-enable-color-system, rgba( k-color( base-subtle, true ), .6 ), k-true-mix($kendo-button-bg, $kendo-body-bg, 65%)) !default;
|
|
17
|
+
$kendo-timeline-track-arrow-disabled-text: if($kendo-enable-color-system, rgba( k-color( on-base, true ), .6 ), k-true-mix($kendo-button-text, $kendo-body-bg, 65%)) !default;
|
|
18
|
+
$kendo-timeline-track-arrow-disabled-border: if($kendo-enable-color-system, k-color( border ), k-true-mix(#000000, $kendo-body-bg, 4.8%)) !default;
|
|
19
19
|
|
|
20
20
|
$kendo-timeline-track-size: 6px !default;
|
|
21
21
|
$kendo-timeline-track-wrap-padding-bottom: k-math-div( $kendo-timeline-track-size, 2 ) !default;
|
|
@@ -39,7 +39,7 @@ $kendo-timeline-flag-max-width: calc(#{$kendo-timeline-flag-min-width} + 2 * #{$
|
|
|
39
39
|
$kendo-timeline-mobile-flag-max-width: calc(#{$kendo-timeline-flag-min-width} + 2 * #{$kendo-timeline-mobile-spacing-x}) !default;
|
|
40
40
|
$kendo-timeline-horizontal-flag-min-width: 60px !default;
|
|
41
41
|
$kendo-timeline-flag-bg: $kendo-color-primary !default;
|
|
42
|
-
$kendo-timeline-flag-text: k-contrast-legacy( $kendo-timeline-flag-bg ) !default;
|
|
42
|
+
$kendo-timeline-flag-text: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-legacy( $kendo-timeline-flag-bg )) !default;
|
|
43
43
|
|
|
44
44
|
$kendo-timeline-flag-callout-width: 10px !default;
|
|
45
45
|
$kendo-timeline-flag-callout-height: 10px !default;
|
|
@@ -36,10 +36,10 @@ $kendo-tooltip-callout-size: 6px !default;
|
|
|
36
36
|
|
|
37
37
|
/// The default background of the Tooltip.
|
|
38
38
|
/// @group tooltip
|
|
39
|
-
$kendo-tooltip-bg: rgba( k-contrast-legacy( $kendo-body-bg ), .75 ) !default;
|
|
39
|
+
$kendo-tooltip-bg: if($kendo-enable-color-system, k-color( on-app-surface ), rgba( k-contrast-legacy( $kendo-body-bg ), .75 )) !default;
|
|
40
40
|
/// The default text color of the Tooltip.
|
|
41
41
|
/// @group tooltip
|
|
42
|
-
$kendo-tooltip-text: k-contrast-legacy( $kendo-tooltip-bg ) !default;
|
|
42
|
+
$kendo-tooltip-text: if($kendo-enable-color-system, k-color( app-surface ), k-contrast-legacy( $kendo-tooltip-bg )) !default;
|
|
43
43
|
/// The default border color of the Tooltip.
|
|
44
44
|
/// @group tooltip
|
|
45
45
|
$kendo-tooltip-border: $kendo-tooltip-bg !default;
|
|
@@ -53,7 +53,7 @@ $kendo-tooltip-shadow: k-elevation(2) !default;
|
|
|
53
53
|
|
|
54
54
|
@each $name, $color in $colors {
|
|
55
55
|
$_theme: k-map-merge(( $name: (
|
|
56
|
-
color: k-contrast-legacy( $color ),
|
|
56
|
+
color: if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-legacy( $color )),
|
|
57
57
|
background-color: $color,
|
|
58
58
|
border: $color,
|
|
59
59
|
)), $_theme );
|
|
@@ -67,4 +67,4 @@ $kendo-tooltip-shadow: k-elevation(2) !default;
|
|
|
67
67
|
$kendo-tooltip-theme-colors: $kendo-theme-colors !default;
|
|
68
68
|
/// The generated theme colors map for the Tooltip.
|
|
69
69
|
/// @group tooltip
|
|
70
|
-
$kendo-tooltip-theme: tooltip-theme( $kendo-tooltip-theme-colors ) !default;
|
|
70
|
+
$kendo-tooltip-theme: tooltip-theme( $kendo-tooltip-theme-colors ) !default;
|
package/scss/window/_theme.scss
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
// Window theme colors
|
|
30
30
|
@each $name, $color in $kendo-window-theme-colors {
|
|
31
31
|
.k-window-#{$name} .k-window-titlebar {
|
|
32
|
-
color: k-contrast-legacy( $color );
|
|
32
|
+
color: if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-legacy( $color ));
|
|
33
33
|
background-color: $color;
|
|
34
34
|
}
|
|
35
35
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@import "@progress/kendo-theme-core/scss/color-system/index.import.scss";
|