@progress/kendo-theme-fluent 7.1.0-dev.7 → 7.1.0-dev.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/all.css +119 -115
- package/dist/meta/sassdoc-data.json +1252 -1196
- package/dist/meta/sassdoc-raw-data.json +623 -598
- package/lib/swatches/all.json +1 -1
- package/lib/swatches/fluent-main.json +1 -1
- package/package.json +4 -4
- package/scss/action-sheet/_variables.scss +1 -1
- package/scss/adaptive/_variables.scss +5 -5
- package/scss/appbar/_variables.scss +8 -8
- package/scss/avatar/_variables.scss +11 -11
- package/scss/badge/_variables.scss +11 -11
- package/scss/bottom-navigation/_variables.scss +35 -35
- package/scss/breadcrumb/_variables.scss +5 -5
- package/scss/button/_variables.scss +172 -172
- package/scss/calendar/_variables.scss +12 -12
- package/scss/card/_layout.scss +4 -0
- package/scss/card/_variables.scss +2 -2
- package/scss/chat/_variables.scss +8 -8
- package/scss/checkbox/_variables.scss +19 -19
- package/scss/chip/_variables.scss +44 -44
- package/scss/color-preview/_variables.scss +4 -4
- package/scss/coloreditor/_variables.scss +1 -1
- package/scss/colorgradient/_variables.scss +9 -9
- package/scss/colorpalette/_variables.scss +4 -4
- package/scss/core/_index.scss +40 -6
- package/scss/core/color-system/_index.scss +2 -0
- package/scss/core/color-system/_palettes.scss +293 -15
- package/scss/core/color-system/_swatch-legacy.scss +100 -0
- package/scss/core/color-system/_swatch.scss +261 -0
- package/scss/dataviz/_layout.scss +6 -6
- package/scss/dataviz/_variables.scss +41 -41
- package/scss/dialog/_variables.scss +5 -5
- package/scss/dock-manager/_variables.scss +7 -7
- package/scss/draggable/_variables.scss +1 -1
- package/scss/drawer/_variables.scss +10 -10
- package/scss/dropzone/_variables.scss +5 -5
- package/scss/editor/_variables.scss +6 -6
- package/scss/expansion-panel/_variables.scss +7 -7
- package/scss/fab/_variables.scss +6 -6
- package/scss/filemanager/_layout.scss +5 -0
- package/scss/filter/_variables.scss +3 -3
- package/scss/forms/_variables.scss +2 -2
- package/scss/gantt/_layout.scss +3 -3
- package/scss/gantt/_variables.scss +32 -32
- package/scss/grid/_layout.scss +10 -0
- package/scss/grid/_theme.scss +82 -32
- package/scss/grid/_variables.scss +11 -11
- package/scss/imageeditor/_variables.scss +3 -4
- package/scss/index.scss +0 -1
- package/scss/input/_layout.scss +0 -2
- package/scss/input/_theme.scss +11 -6
- package/scss/input/_variables.scss +62 -56
- package/scss/list/_variables.scss +19 -19
- package/scss/listbox/_variables.scss +1 -1
- package/scss/listview/_variables.scss +1 -1
- package/scss/loader/_variables.scss +7 -7
- package/scss/map/_variables.scss +6 -6
- package/scss/mediaplayer/_variables.scss +3 -3
- package/scss/menu/_variables.scss +2 -2
- package/scss/notification/_variables.scss +6 -6
- package/scss/orgchart/_variables.scss +4 -4
- package/scss/pager/_variables.scss +4 -4
- package/scss/panelbar/_variables.scss +5 -5
- package/scss/pdf-viewer/_variables.scss +2 -2
- package/scss/pivotgrid/_variables.scss +3 -3
- package/scss/progressbar/_variables.scss +10 -10
- package/scss/radio/_variables.scss +10 -10
- package/scss/rating/_variables.scss +4 -4
- package/scss/scheduler/_theme.scss +1 -1
- package/scss/scheduler/_variables.scss +11 -11
- package/scss/scrollview/_variables.scss +8 -8
- package/scss/searchbox/_variables.scss +1 -1
- package/scss/signature/_variables.scss +2 -2
- package/scss/skeleton/_variables.scss +2 -2
- package/scss/slider/_variables.scss +11 -11
- package/scss/split-button/_variables.scss +1 -1
- package/scss/splitter/_variables.scss +3 -3
- package/scss/spreadsheet/_variables.scss +23 -23
- package/scss/stepper/_layout.scss +17 -2
- package/scss/stepper/_theme.scss +51 -15
- package/scss/stepper/_variables.scss +9 -9
- package/scss/switch/_variables.scss +24 -24
- package/scss/table/_theme.scss +18 -7
- package/scss/table/_variables.scss +3 -3
- package/scss/tabstrip/_variables.scss +4 -4
- package/scss/taskboard/_variables.scss +4 -4
- package/scss/tilelayout/_variables.scss +1 -1
- package/scss/timeline/_variables.scss +6 -6
- package/scss/timeselector/_theme.scss +1 -1
- package/scss/toolbar/_variables.scss +3 -3
- package/scss/tooltip/_variables.scss +9 -9
- package/scss/treeview/_variables.scss +1 -1
- package/scss/upload/_variables.scss +8 -8
- package/scss/window/_variables.scss +8 -8
- package/scss/wizard/_variables.scss +1 -1
|
@@ -38,10 +38,10 @@ $kendo-signature-line-width: 1px !default;
|
|
|
38
38
|
$kendo-signature-line-style: dashed !default;
|
|
39
39
|
/// The color of the row line of the signature component.
|
|
40
40
|
/// @group signature
|
|
41
|
-
$kendo-signature-line-color: rgba( k-get-theme-color( info, 100 ), .4 ) !default;
|
|
41
|
+
$kendo-signature-line-color: rgba( if($kendo-enable-color-system, k-color( info, true ), k-get-theme-color( info, 100 )), .4 ) !default;
|
|
42
42
|
/// The color of the row line of the disabled signature component.
|
|
43
43
|
/// @group signature
|
|
44
|
-
$kendo-signature-line-disabled-color: k-get-theme-color-var( neutral-60 ) !default;
|
|
44
|
+
$kendo-signature-line-disabled-color: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .28 ), k-get-theme-color-var( neutral-60 )) !default;
|
|
45
45
|
/// The width of the row line of the signature component.
|
|
46
46
|
/// @group signature
|
|
47
47
|
$kendo-signature-line-size: calc( 100% - 2 * #{$kendo-signature-padding-x} ) !default;
|
|
@@ -17,7 +17,7 @@ $kendo-skeleton-circle-border-radius: 9999px !default;
|
|
|
17
17
|
|
|
18
18
|
/// The background color of the Skeleton item.
|
|
19
19
|
/// @group skeleton
|
|
20
|
-
$kendo-skeleton-item-bg: k-get-theme-color-var( neutral-50 ) !default;
|
|
20
|
+
$kendo-skeleton-item-bg: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .23 ), k-get-theme-color-var( neutral-50 )) !default;
|
|
21
21
|
/// The background color of the Skeleton wave animation.
|
|
22
22
|
/// @group skeleton
|
|
23
|
-
$kendo-skeleton-wave-bg: k-get-theme-color-var( neutral-20 ) !default;
|
|
23
|
+
$kendo-skeleton-wave-bg: if($kendo-enable-color-system, k-color( base ), k-get-theme-color-var( neutral-20 )) !default;
|
|
@@ -33,26 +33,26 @@ $kendo-slider-track-size: map.get( $kendo-spacing, 1 ) !default;
|
|
|
33
33
|
$kendo-slider-track-border-radius: map.get( $kendo-spacing, 0.5 ) !default;
|
|
34
34
|
/// The background color of the slider track.
|
|
35
35
|
/// @group slider
|
|
36
|
-
$kendo-slider-track-bg: k-get-theme-color-var( neutral-60 ) !default;
|
|
36
|
+
$kendo-slider-track-bg: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .28 ), k-get-theme-color-var( neutral-60 )) !default;
|
|
37
37
|
/// The border color of the slider track.
|
|
38
38
|
/// @group slider
|
|
39
39
|
$kendo-slider-track-border: inherit !default;
|
|
40
40
|
/// The hover background color of the slider track.
|
|
41
41
|
/// @group slider
|
|
42
|
-
$kendo-slider-track-hover-bg: k-get-theme-color-var( neutral-60 ) !default;
|
|
42
|
+
$kendo-slider-track-hover-bg: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .28 ), k-get-theme-color-var( neutral-60 )) !default;
|
|
43
43
|
/// The hover border color of the slider track.
|
|
44
44
|
/// @group slider
|
|
45
45
|
$kendo-slider-track-hover-border: inherit !default;
|
|
46
46
|
/// The focus background color of the slider track.
|
|
47
47
|
/// @group slider
|
|
48
|
-
$kendo-slider-track-focus-bg: k-get-theme-color-var( neutral-60 ) !default;
|
|
48
|
+
$kendo-slider-track-focus-bg: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .28 ), k-get-theme-color-var( neutral-60 )) !default;
|
|
49
49
|
/// The focus border color of the slider track.
|
|
50
50
|
/// @group slider
|
|
51
51
|
$kendo-slider-track-focus-border: inherit !default;
|
|
52
52
|
|
|
53
53
|
/// The selection background color of the slider track.
|
|
54
54
|
/// @group slider
|
|
55
|
-
$kendo-slider-selection-bg: k-get-theme-color-var( primary-100 ) !default;
|
|
55
|
+
$kendo-slider-selection-bg: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
|
|
56
56
|
|
|
57
57
|
/// The default size of the slider thumb.
|
|
58
58
|
/// @group slider
|
|
@@ -78,7 +78,7 @@ $kendo-slider-thumb-bg: var( --kendo-component-bg, transparent ) !default;
|
|
|
78
78
|
$kendo-slider-thumb-text: inherit !default;
|
|
79
79
|
/// The border color of the slider thumb.
|
|
80
80
|
/// @group slider
|
|
81
|
-
$kendo-slider-thumb-border: k-get-theme-color-var( primary-100 ) !default;
|
|
81
|
+
$kendo-slider-thumb-border: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
|
|
82
82
|
/// The gradient of the slider thumb.
|
|
83
83
|
/// @group slider
|
|
84
84
|
$kendo-slider-thumb-gradient: transparent !default;
|
|
@@ -91,7 +91,7 @@ $kendo-slider-thumb-hover-bg: $kendo-slider-thumb-bg !default;
|
|
|
91
91
|
$kendo-slider-thumb-hover-text: inherit !default;
|
|
92
92
|
/// The hover border color of the slider thumb.
|
|
93
93
|
/// @group slider
|
|
94
|
-
$kendo-slider-thumb-hover-border: k-get-theme-color-var( primary-120 ) !default;
|
|
94
|
+
$kendo-slider-thumb-hover-border: if($kendo-enable-color-system, k-color( primary-hover ), k-get-theme-color-var( primary-120 )) !default;
|
|
95
95
|
/// The hover gradient of the slider thumb.
|
|
96
96
|
/// @group slider
|
|
97
97
|
$kendo-slider-thumb-hover-gradient: transparent !default;
|
|
@@ -104,7 +104,7 @@ $kendo-slider-thumb-active-bg: $kendo-slider-thumb-hover-bg !default;
|
|
|
104
104
|
$kendo-slider-thumb-active-text: inherit !default;
|
|
105
105
|
/// The active border color of the slider thumb.
|
|
106
106
|
/// @group slider
|
|
107
|
-
$kendo-slider-thumb-active-border: k-get-theme-color-var( primary-130 ) !default;
|
|
107
|
+
$kendo-slider-thumb-active-border: if($kendo-enable-color-system, k-color( primary-active ), k-get-theme-color-var( primary-130 )) !default;
|
|
108
108
|
/// The active gradient of the slider thumb.
|
|
109
109
|
/// @group slider
|
|
110
110
|
$kendo-slider-thumb-active-gradient: transparent !default;
|
|
@@ -124,16 +124,16 @@ $kendo-slider-thumb-focus-gradient: transparent !default;
|
|
|
124
124
|
|
|
125
125
|
/// The text color of the disabled slider.
|
|
126
126
|
/// @group slider
|
|
127
|
-
$kendo-slider-disabled-text: k-get-theme-color-var( neutral-130 ) !default;
|
|
127
|
+
$kendo-slider-disabled-text: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .7 ), k-get-theme-color-var( neutral-130 )) !default;
|
|
128
128
|
/// The background color of the disabled slider track.
|
|
129
129
|
/// @group slider
|
|
130
|
-
$kendo-slider-track-disabled-bg: k-get-theme-color-var( neutral-20 ) !default;
|
|
130
|
+
$kendo-slider-track-disabled-bg: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .06 ), k-get-theme-color-var( neutral-20 )) !default;
|
|
131
131
|
/// The selection background color of the disabled slider track.
|
|
132
132
|
/// @group slider
|
|
133
|
-
$kendo-slider-selection-disabled-bg: k-get-theme-color-var( neutral-90 ) !default;
|
|
133
|
+
$kendo-slider-selection-disabled-bg: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .46 ), k-get-theme-color-var( neutral-90 )) !default;
|
|
134
134
|
/// The background color of the disabled slider thumb.
|
|
135
135
|
/// @group slider
|
|
136
|
-
$kendo-slider-thumb-disabled-border: k-get-theme-color-var( neutral-60 ) !default;
|
|
136
|
+
$kendo-slider-thumb-disabled-border: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .28 ), k-get-theme-color-var( neutral-60 )) !default;
|
|
137
137
|
|
|
138
138
|
|
|
139
139
|
/// The transition speed of the slider.
|
|
@@ -29,7 +29,7 @@ $kendo-split-button-arrow-delimiter-size: calc( #{$kendo-button-inner-calc-size}
|
|
|
29
29
|
$kendo-split-button-arrow-delimiter-line-size: 1px !default;
|
|
30
30
|
/// The background color of the SplitButton arrow delimiter.
|
|
31
31
|
/// @group split-button
|
|
32
|
-
$kendo-split-button-arrow-delimiter-bg: k-get-theme-color-var( neutral-60 ) !default;
|
|
32
|
+
$kendo-split-button-arrow-delimiter-bg: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .28 ), k-get-theme-color-var( neutral-60 )) !default;
|
|
33
33
|
|
|
34
34
|
/// The sizes map for the SplitButton.
|
|
35
35
|
/// @group split-button
|
|
@@ -46,21 +46,21 @@ $kendo-splitter-collapse-icon-padding-y: map.get( $kendo-spacing, .5 ) !default;
|
|
|
46
46
|
|
|
47
47
|
/// Background color of the splitter splitbar.
|
|
48
48
|
/// @group splitter
|
|
49
|
-
$kendo-splitbar-bg: k-get-theme-color-var( neutral-10 ) !default;
|
|
49
|
+
$kendo-splitbar-bg: if($kendo-enable-color-system, k-color( surface ), k-get-theme-color-var( neutral-10 )) !default;
|
|
50
50
|
/// Text color of the splitter splitbar.
|
|
51
51
|
/// @group splitter
|
|
52
52
|
$kendo-splitbar-text: var( --kendo-component-text, initial ) !default;
|
|
53
53
|
|
|
54
54
|
/// Hover background color of the splitter splitbar.
|
|
55
55
|
/// @group splitter
|
|
56
|
-
$kendo-splitbar-hover-bg: k-get-theme-color-var( neutral-20 ) !default;
|
|
56
|
+
$kendo-splitbar-hover-bg: if($kendo-enable-color-system, k-color( base-hover ), k-get-theme-color-var( neutral-20 )) !default;
|
|
57
57
|
/// Hover text color of the splitter splitbar.
|
|
58
58
|
/// @group splitter
|
|
59
59
|
$kendo-splitbar-hover-text: $kendo-splitbar-text !default;
|
|
60
60
|
|
|
61
61
|
/// Selected background color of the splitter splitbar.
|
|
62
62
|
/// @group splitter
|
|
63
|
-
$kendo-splitbar-selected-bg: k-get-theme-color-var( primary-100 ) !default;
|
|
63
|
+
$kendo-splitbar-selected-bg: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
|
|
64
64
|
/// Selected text color of the splitter splitbar.
|
|
65
65
|
/// @group splitter
|
|
66
66
|
$kendo-splitbar-selected-text: var( --kendo-component-bg, inherit ) !default;
|
|
@@ -27,14 +27,14 @@ $kendo-spreadsheet-text: var( --kendo-component-text, initial ) !default;
|
|
|
27
27
|
$kendo-spreadsheet-border: var( --kendo-component-border, initial ) !default;
|
|
28
28
|
/// Primary border color of the spreadsheet.
|
|
29
29
|
/// @group spreadsheet
|
|
30
|
-
$kendo-spreadsheet-primary-border: k-get-theme-color-var( primary-100 ) !default;
|
|
30
|
+
$kendo-spreadsheet-primary-border: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
|
|
31
31
|
/// Primary background color of the spreadsheet.
|
|
32
32
|
/// @group spreadsheet
|
|
33
|
-
$kendo-spreadsheet-primary-bg: k-get-theme-color-var( primary-100 ) !default;
|
|
33
|
+
$kendo-spreadsheet-primary-bg: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
|
|
34
34
|
|
|
35
35
|
/// Background color of the spreadsheet header.
|
|
36
36
|
/// @group spreadsheet
|
|
37
|
-
$kendo-spreadsheet-header-bg: k-get-theme-color-var( neutral-10 ) !default;
|
|
37
|
+
$kendo-spreadsheet-header-bg: if($kendo-enable-color-system, k-color( surface ), k-get-theme-color-var( neutral-10 )) !default;
|
|
38
38
|
/// Text color of the spreadsheet header.
|
|
39
39
|
/// @group spreadsheet
|
|
40
40
|
$kendo-spreadsheet-header-text: $kendo-table-header-text !default;
|
|
@@ -44,7 +44,7 @@ $kendo-spreadsheet-header-border: $kendo-table-header-border !default;
|
|
|
44
44
|
|
|
45
45
|
/// Text color of the spreadsheet table headers.
|
|
46
46
|
/// @group spreadsheet
|
|
47
|
-
$kendo-spreadsheet-table-header-bg: k-get-theme-color-var( neutral-10 ) !default;
|
|
47
|
+
$kendo-spreadsheet-table-header-bg: if($kendo-enable-color-system, k-color( surface ), k-get-theme-color-var( neutral-10 )) !default;
|
|
48
48
|
/// Background color of the spreadsheet table headers.
|
|
49
49
|
/// @group spreadsheet
|
|
50
50
|
$kendo-spreadsheet-table-header-text: $kendo-spreadsheet-header-text !default;
|
|
@@ -54,13 +54,13 @@ $kendo-spreadsheet-table-header-border: $kendo-spreadsheet-header-border !defaul
|
|
|
54
54
|
|
|
55
55
|
/// Selected text color of the spreadsheet.
|
|
56
56
|
/// @group spreadsheet
|
|
57
|
-
$kendo-spreadsheet-selected-text: k-get-theme-color-var( primary-160 ) !default;
|
|
57
|
+
$kendo-spreadsheet-selected-text: if($kendo-enable-color-system, k-color( primary-on-subtle ), k-get-theme-color-var( primary-160 )) !default;
|
|
58
58
|
/// Selected background color of the spreadsheet.
|
|
59
59
|
/// @group spreadsheet
|
|
60
|
-
$kendo-spreadsheet-selected-bg: k-get-theme-color-var( primary-30 ) !default;
|
|
60
|
+
$kendo-spreadsheet-selected-bg: if($kendo-enable-color-system, k-color( primary-subtle-active ), k-get-theme-color-var( primary-30 )) !default;
|
|
61
61
|
/// Selected border color of the spreadsheet.
|
|
62
62
|
/// @group spreadsheet
|
|
63
|
-
$kendo-spreadsheet-selected-border: k-get-theme-color-var( primary-100 ) !default;
|
|
63
|
+
$kendo-spreadsheet-selected-border: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
|
|
64
64
|
|
|
65
65
|
/// Horizontal padding of the spreadsheet popup menu.
|
|
66
66
|
/// @group spreadsheet
|
|
@@ -186,15 +186,15 @@ $kendo-spreadsheet-cell-editor-border: null !default;
|
|
|
186
186
|
|
|
187
187
|
/// Background color of the spreadsheet resize handle.
|
|
188
188
|
/// @group spreadsheet
|
|
189
|
-
$kendo-spreadsheet-resize-handle-bg: k-get-theme-color-var( primary-100 ) !default;
|
|
189
|
+
$kendo-spreadsheet-resize-handle-bg: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
|
|
190
190
|
|
|
191
191
|
/// Border color of the spreadsheet cell comment indicator.
|
|
192
192
|
/// @group spreadsheet
|
|
193
|
-
$kendo-spreadsheet-cell-comment-border: k-get-theme-color-var( primary-100 ) !default;
|
|
193
|
+
$kendo-spreadsheet-cell-comment-border: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
|
|
194
194
|
|
|
195
195
|
/// Border color of the spreadsheet cell comment indicator.
|
|
196
196
|
/// @group spreadsheet
|
|
197
|
-
$kendo-spreadsheet-cell-dirty-border: k-get-theme-color-var( error-100 ) !default;
|
|
197
|
+
$kendo-spreadsheet-cell-dirty-border: if($kendo-enable-color-system, k-color( error ), k-get-theme-color-var( error-100 )) !default;
|
|
198
198
|
|
|
199
199
|
/// Horizontal padding of the spreadsheet cell dirty indicator.
|
|
200
200
|
/// @group spreadsheet
|
|
@@ -219,41 +219,41 @@ $kendo-filter-menu-padding-left: calc( var( --kendo-icon-size, 1rem ) + 2 * var(
|
|
|
219
219
|
|
|
220
220
|
/// Text color of the spreadsheet filter button.
|
|
221
221
|
/// @group spreadsheet
|
|
222
|
-
$kendo-spreadsheet-filter-button-text: k-get-theme-color-var( neutral-160 ) !default;
|
|
222
|
+
$kendo-spreadsheet-filter-button-text: if($kendo-enable-color-system, k-color( on-app-surface ), k-get-theme-color-var( neutral-160 )) !default;
|
|
223
223
|
/// Background color of the spreadsheet filter button.
|
|
224
224
|
/// @group spreadsheet
|
|
225
|
-
$kendo-spreadsheet-filter-button-bg: $kendo-color-white !default;
|
|
225
|
+
$kendo-spreadsheet-filter-button-bg: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) !default;
|
|
226
226
|
/// Border color of the spreadsheet filter button.
|
|
227
227
|
/// @group spreadsheet
|
|
228
|
-
$kendo-spreadsheet-filter-button-border: k-get-theme-color-var( neutral-110 ) !default;
|
|
228
|
+
$kendo-spreadsheet-filter-button-border: if($kendo-enable-color-system, k-color( border ), k-get-theme-color-var( neutral-110 )) !default;
|
|
229
229
|
|
|
230
230
|
/// Hover text color of the spreadsheet filter button.
|
|
231
231
|
/// @group spreadsheet
|
|
232
|
-
$kendo-spreadsheet-filter-button-hover-text: k-get-theme-color-var( neutral-190 ) !default;
|
|
232
|
+
$kendo-spreadsheet-filter-button-hover-text: if($kendo-enable-color-system, k-color( on-app-surface ), k-get-theme-color-var( neutral-190 )) !default;
|
|
233
233
|
/// Hover background color of the spreadsheet filter button.
|
|
234
234
|
/// @group spreadsheet
|
|
235
|
-
$kendo-spreadsheet-filter-button-hover-bg: k-get-theme-color-var( neutral-20 ) !default;
|
|
235
|
+
$kendo-spreadsheet-filter-button-hover-bg: if($kendo-enable-color-system, k-color( base-hover ), k-get-theme-color-var( neutral-20 )) !default;
|
|
236
236
|
/// Hover border color of the spreadsheet filter button.
|
|
237
237
|
/// @group spreadsheet
|
|
238
|
-
$kendo-spreadsheet-filter-button-hover-border: k-get-theme-color-var( neutral-110 ) !default;
|
|
238
|
+
$kendo-spreadsheet-filter-button-hover-border: if($kendo-enable-color-system, k-color( border ), k-get-theme-color-var( neutral-110 )) !default;
|
|
239
239
|
|
|
240
240
|
/// Active text color of the spreadsheet filter button.
|
|
241
241
|
/// @group spreadsheet
|
|
242
|
-
$kendo-spreadsheet-filter-button-active-text: k-get-theme-color-var( neutral-190 ) !default;
|
|
242
|
+
$kendo-spreadsheet-filter-button-active-text: if($kendo-enable-color-system, k-color( on-app-surface ), k-get-theme-color-var( neutral-190 )) !default;
|
|
243
243
|
/// Active background color of the spreadsheet filter button.
|
|
244
244
|
/// @group spreadsheet
|
|
245
|
-
$kendo-spreadsheet-filter-button-active-bg: k-get-theme-color-var( neutral-30 ) !default;
|
|
245
|
+
$kendo-spreadsheet-filter-button-active-bg: f($kendo-enable-color-system, k-color( base-active ), k-get-theme-color-var( neutral-30 )) !default;
|
|
246
246
|
/// Active border color of the spreadsheet filter button.
|
|
247
247
|
/// @group spreadsheet
|
|
248
|
-
$kendo-spreadsheet-filter-button-active-border: k-get-theme-color-var( neutral-110 ) !default;
|
|
248
|
+
$kendo-spreadsheet-filter-button-active-border: if($kendo-enable-color-system, k-color( border ), k-get-theme-color-var( neutral-110 )) !default;
|
|
249
249
|
|
|
250
250
|
/// Color of the spreadsheet menu icon.
|
|
251
251
|
/// @group spreadsheet
|
|
252
|
-
$kendo-spreadsheet-filter-menu-icon-color: k-get-theme-color-var( primary-100 ) !default;
|
|
252
|
+
$kendo-spreadsheet-filter-menu-icon-color: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
|
|
253
253
|
|
|
254
254
|
/// Border color of the spreadsheet error.
|
|
255
255
|
/// @group spreadsheet
|
|
256
|
-
$kendo-spreadsheet-error-border: k-get-theme-color-var( error-190 ) !default;
|
|
256
|
+
$kendo-spreadsheet-error-border: if($kendo-enable-color-system, k-color( error-on-subtle ), k-get-theme-color-var( error-190 )) !default;
|
|
257
257
|
|
|
258
258
|
/// Border style of the spreadsheet image dialog.
|
|
259
259
|
/// @group spreadsheet
|
|
@@ -306,10 +306,10 @@ $kendo-spreadsheet-drawing-handle-border-width: 1px !default;
|
|
|
306
306
|
$kendo-spreadsheet-drawing-handle-border-color: var( --kendo-selected-bg, initial ) !default;
|
|
307
307
|
/// Outline color of the spreadsheet drawing handle.
|
|
308
308
|
/// @group spreadsheet
|
|
309
|
-
$kendo-spreadsheet-drawing-handle-outline-color: k-get-theme-color-var( primary-100 ) !default;
|
|
309
|
+
$kendo-spreadsheet-drawing-handle-outline-color: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
|
|
310
310
|
/// Border color of the spreadsheet drawing handle.
|
|
311
311
|
/// @group spreadsheet
|
|
312
|
-
$kendo-spreadsheet-drawing-handle-bg: k-get-theme-color-var( primary-100 ) !default;
|
|
312
|
+
$kendo-spreadsheet-drawing-handle-bg: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
|
|
313
313
|
/// Border radius of the spreadsheet drawing handle.
|
|
314
314
|
/// @group spreadsheet
|
|
315
315
|
$kendo-spreadsheet-drawing-handle-border-radius: var( --kendo-border-radius-lg, initial ) !default;
|
|
@@ -75,6 +75,17 @@
|
|
|
75
75
|
transition-duration: .4s;
|
|
76
76
|
transition-timing-function: ease-in-out;
|
|
77
77
|
|
|
78
|
+
&::before {
|
|
79
|
+
@include border-radius( var( --kendo-stepper-indicator-border-radius, #{$kendo-stepper-indicator-border-radius} ) );
|
|
80
|
+
content: "";
|
|
81
|
+
width: 100%;
|
|
82
|
+
height: 100%;
|
|
83
|
+
position: absolute;
|
|
84
|
+
top: 0;
|
|
85
|
+
left: 0;
|
|
86
|
+
z-index: -1;
|
|
87
|
+
}
|
|
88
|
+
|
|
78
89
|
&::after {
|
|
79
90
|
@include border-radius( 100% );
|
|
80
91
|
content: "";
|
|
@@ -97,8 +108,12 @@
|
|
|
97
108
|
}
|
|
98
109
|
|
|
99
110
|
.k-step.k-disabled {
|
|
100
|
-
.k-step-indicator
|
|
101
|
-
|
|
111
|
+
.k-step-indicator {
|
|
112
|
+
border: 0;
|
|
113
|
+
|
|
114
|
+
&::after {
|
|
115
|
+
display: none;
|
|
116
|
+
}
|
|
102
117
|
}
|
|
103
118
|
}
|
|
104
119
|
|
package/scss/stepper/_theme.scss
CHANGED
|
@@ -42,11 +42,23 @@
|
|
|
42
42
|
&:disabled,
|
|
43
43
|
&.k-disabled {
|
|
44
44
|
.k-step-indicator {
|
|
45
|
-
@
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
45
|
+
@if($kendo-enable-color-system) {
|
|
46
|
+
@include fill(
|
|
47
|
+
var( --kendo-stepper-indicator-disabled-text, #{$kendo-stepper-indicator-disabled-text} ),
|
|
48
|
+
k-color( app-surface ),
|
|
49
|
+
var( --kendo-stepper-indicator-disabled-border, #{$kendo-stepper-indicator-disabled-border} )
|
|
50
|
+
);
|
|
51
|
+
|
|
52
|
+
&::before {
|
|
53
|
+
background-color: var( --kendo-stepper-indicator-disabled-bg, #{$kendo-stepper-indicator-disabled-bg} );
|
|
54
|
+
}
|
|
55
|
+
} @else {
|
|
56
|
+
@include fill(
|
|
57
|
+
var( --kendo-stepper-indicator-disabled-text, #{$kendo-stepper-indicator-disabled-text} ),
|
|
58
|
+
var( --kendo-stepper-indicator-disabled-bg, #{$kendo-stepper-indicator-disabled-bg} ),
|
|
59
|
+
var( --kendo-stepper-indicator-disabled-border, #{$kendo-stepper-indicator-disabled-border} )
|
|
60
|
+
);
|
|
61
|
+
}
|
|
50
62
|
}
|
|
51
63
|
|
|
52
64
|
.k-step-label {
|
|
@@ -104,11 +116,23 @@
|
|
|
104
116
|
&.k-disabled,
|
|
105
117
|
&:disabled {
|
|
106
118
|
.k-step-indicator {
|
|
107
|
-
@
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
119
|
+
@if($kendo-enable-color-system) {
|
|
120
|
+
@include fill(
|
|
121
|
+
var( --kendo-stepper-indicator-done-disabled-text, #{$kendo-stepper-indicator-done-disabled-text} ),
|
|
122
|
+
k-color( app-surface ),
|
|
123
|
+
var( --kendo-stepper-indicator-done-disabled-border, #{$kendo-stepper-indicator-done-disabled-border} )
|
|
124
|
+
);
|
|
125
|
+
|
|
126
|
+
&::before {
|
|
127
|
+
background-color: var( --kendo-stepper-indicator-done-disabled-bg, #{$kendo-stepper-indicator-done-disabled-bg} );
|
|
128
|
+
}
|
|
129
|
+
} @else {
|
|
130
|
+
@include fill(
|
|
131
|
+
var( --kendo-stepper-indicator-done-disabled-text, #{$kendo-stepper-indicator-done-disabled-text} ),
|
|
132
|
+
var( --kendo-stepper-indicator-done-disabled-bg, #{$kendo-stepper-indicator-done-disabled-bg} ),
|
|
133
|
+
var( --kendo-stepper-indicator-done-disabled-border, #{$kendo-stepper-indicator-done-disabled-border} )
|
|
134
|
+
);
|
|
135
|
+
}
|
|
112
136
|
}
|
|
113
137
|
|
|
114
138
|
.k-step-label {
|
|
@@ -149,11 +173,23 @@
|
|
|
149
173
|
&.k-disabled,
|
|
150
174
|
&:disabled {
|
|
151
175
|
.k-step-indicator {
|
|
152
|
-
@
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
176
|
+
@if($kendo-enable-color-system) {
|
|
177
|
+
@include fill(
|
|
178
|
+
var( --kendo-stepper-indicator-current-disabled-text, #{$kendo-stepper-indicator-current-disabled-text} ),
|
|
179
|
+
k-color( app-surface ),
|
|
180
|
+
var( --kendo-stepper-indicator-current-disabled-border, #{$kendo-stepper-indicator-current-disabled-border} )
|
|
181
|
+
);
|
|
182
|
+
|
|
183
|
+
&::before {
|
|
184
|
+
background-color: var( --kendo-stepper-indicator-current-disabled-bg, #{$kendo-stepper-indicator-current-disabled-bg} );
|
|
185
|
+
}
|
|
186
|
+
} @else {
|
|
187
|
+
@include fill(
|
|
188
|
+
var( --kendo-stepper-indicator-current-disabled-text, #{$kendo-stepper-indicator-current-disabled-text} ),
|
|
189
|
+
var( --kendo-stepper-indicator-current-disabled-bg, #{$kendo-stepper-indicator-current-disabled-bg} ),
|
|
190
|
+
var( --kendo-stepper-indicator-current-disabled-border, #{$kendo-stepper-indicator-current-disabled-border} )
|
|
191
|
+
);
|
|
192
|
+
}
|
|
157
193
|
}
|
|
158
194
|
}
|
|
159
195
|
}
|
|
@@ -75,7 +75,7 @@ $kendo-stepper-indicator-bg: var( --kendo-component-bg, initial ) !default;
|
|
|
75
75
|
$kendo-stepper-indicator-text: var( --kendo-component-text, initial ) !default;
|
|
76
76
|
/// Border color of the stepper indicator.
|
|
77
77
|
/// @group stepper
|
|
78
|
-
$kendo-stepper-indicator-border: k-get-theme-color-var( neutral-110 ) !default;
|
|
78
|
+
$kendo-stepper-indicator-border: if($kendo-enable-color-system, k-color( border ), k-get-theme-color-var( neutral-110 )) !default;
|
|
79
79
|
|
|
80
80
|
/// The hover background color of the stepper indicator.
|
|
81
81
|
/// @group stepper
|
|
@@ -99,17 +99,17 @@ $kendo-stepper-indicator-disabled-border: var( --kendo-disabled-border, initial
|
|
|
99
99
|
|
|
100
100
|
/// Background color of the stepper done indicator.
|
|
101
101
|
/// @group stepper
|
|
102
|
-
$kendo-stepper-indicator-done-bg: k-get-theme-color-var( primary-100 ) !default;
|
|
102
|
+
$kendo-stepper-indicator-done-bg: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
|
|
103
103
|
/// Text color of the stepper done indicator.
|
|
104
104
|
/// @group stepper
|
|
105
|
-
$kendo-stepper-indicator-done-text: $kendo-color-white !default;
|
|
105
|
+
$kendo-stepper-indicator-done-text: if($kendo-enable-color-system, k-color( on-primary ), $kendo-color-white) !default;
|
|
106
106
|
/// Border color of the stepper done indicator.
|
|
107
107
|
/// @group stepper
|
|
108
108
|
$kendo-stepper-indicator-done-border: $kendo-stepper-indicator-done-bg !default;
|
|
109
109
|
|
|
110
110
|
/// The hover background color of the stepper done indicator.
|
|
111
111
|
/// @group stepper
|
|
112
|
-
$kendo-stepper-indicator-done-hover-bg: k-get-theme-color-var( primary-110 ) !default;
|
|
112
|
+
$kendo-stepper-indicator-done-hover-bg: if($kendo-enable-color-system, k-color( primary-hover ), k-get-theme-color-var( primary-110 )) !default;
|
|
113
113
|
/// The hover text color of the stepper done indicator.
|
|
114
114
|
/// @group stepper
|
|
115
115
|
$kendo-stepper-indicator-done-hover-text: $kendo-stepper-indicator-done-text !default;
|
|
@@ -119,7 +119,7 @@ $kendo-stepper-indicator-done-hover-border: $kendo-stepper-indicator-done-hover-
|
|
|
119
119
|
|
|
120
120
|
/// The disabled background color of the stepper done indicator.
|
|
121
121
|
/// @group stepper
|
|
122
|
-
$kendo-stepper-indicator-done-disabled-bg: k-get-theme-color-var( primary-30 ) !default;
|
|
122
|
+
$kendo-stepper-indicator-done-disabled-bg: if($kendo-enable-color-system, rgba( k-color( primary, true ), .22 ), k-get-theme-color-var( primary-30 )) !default;
|
|
123
123
|
/// The disabled text color of the stepper done indicator.
|
|
124
124
|
/// @group stepper
|
|
125
125
|
$kendo-stepper-indicator-done-disabled-text: var( --kendo-disabled-text, initial ) !default;
|
|
@@ -129,7 +129,7 @@ $kendo-stepper-indicator-done-disabled-border: var( --kendo-disabled-border, ini
|
|
|
129
129
|
|
|
130
130
|
/// The background color of the stepper current indicator.
|
|
131
131
|
/// @group stepper
|
|
132
|
-
$kendo-stepper-indicator-current-bg: k-get-theme-color-var( primary-120 ) !default;
|
|
132
|
+
$kendo-stepper-indicator-current-bg: if($kendo-enable-color-system, k-color( primary-active ), k-get-theme-color-var( primary-120 )) !default;
|
|
133
133
|
/// The text color of the stepper current indicator.
|
|
134
134
|
/// @group stepper
|
|
135
135
|
$kendo-stepper-indicator-current-text: $kendo-stepper-indicator-done-text !default;
|
|
@@ -162,10 +162,10 @@ $kendo-stepper-indicator-current-disabled-border: $kendo-stepper-indicator-done-
|
|
|
162
162
|
$kendo-stepper-label-text: inherit !default;
|
|
163
163
|
/// The success text color of the stepper label.
|
|
164
164
|
/// @group stepper
|
|
165
|
-
$kendo-stepper-label-success-text: k-get-theme-color-var( success-190 ) !default;
|
|
165
|
+
$kendo-stepper-label-success-text: if($kendo-enable-color-system, k-color( success-on-surface ), k-get-theme-color-var( success-190 )) !default;
|
|
166
166
|
/// The error text color of the stepper label.
|
|
167
167
|
/// @group stepper
|
|
168
|
-
$kendo-stepper-label-error-text: k-get-theme-color-var( error-190 ) !default;
|
|
168
|
+
$kendo-stepper-label-error-text: if($kendo-enable-color-system, k-color( error-on-surface ), k-get-theme-color-var( error-190 )) !default;
|
|
169
169
|
/// The hover text color of the stepper label.
|
|
170
170
|
/// @group stepper
|
|
171
171
|
$kendo-stepper-label-hover-text: $kendo-stepper-text !default;
|
|
@@ -178,7 +178,7 @@ $kendo-stepper-current-label-font-weight: var( --kendo-font-weight-bold, bold )
|
|
|
178
178
|
|
|
179
179
|
/// The text color of the stepper optional label.
|
|
180
180
|
/// @group stepper
|
|
181
|
-
$kendo-stepper-optional-label-text: k-get-theme-color-var( neutral-130 ) !default;
|
|
181
|
+
$kendo-stepper-optional-label-text: if($kendo-enable-color-system, k-color( subtle ), k-get-theme-color-var( neutral-130 )) !default;
|
|
182
182
|
/// The font size of the stepper optional label.
|
|
183
183
|
/// @group stepper
|
|
184
184
|
$kendo-stepper-optional-label-font-size: inherit !default;
|
|
@@ -30,7 +30,7 @@ $kendo-switch-sizes: (
|
|
|
30
30
|
|
|
31
31
|
/// The ring around the focused Switch.
|
|
32
32
|
/// @group switch
|
|
33
|
-
$kendo-switch-focus-ring: 1px solid k-get-theme-color-var( neutral-130 ) !default;
|
|
33
|
+
$kendo-switch-focus-ring: 1px solid if($kendo-enable-color-system, k-color( base-emphasis ), k-get-theme-color-var( neutral-130 )) !default;
|
|
34
34
|
|
|
35
35
|
/// The background of the track when the Switch is not checked.
|
|
36
36
|
/// @group switch
|
|
@@ -40,7 +40,7 @@ $kendo-switch-off-track-bg: var( --kendo-component-bg, transparent ) !default;
|
|
|
40
40
|
$kendo-switch-off-track-text: var( --kendo-component-text, inherit ) !default;
|
|
41
41
|
/// The border color of the track when the Switch is not checked.
|
|
42
42
|
/// @group switch
|
|
43
|
-
$kendo-switch-off-track-border: k-get-theme-color-var( neutral-110 ) !default;
|
|
43
|
+
$kendo-switch-off-track-border: if($kendo-enable-color-system, k-color( border ), k-get-theme-color-var( neutral-110 )) !default;
|
|
44
44
|
|
|
45
45
|
/// The background of the track when the hovered Switch is not checked.
|
|
46
46
|
/// @group switch
|
|
@@ -50,7 +50,7 @@ $kendo-switch-off-track-hover-bg: var( --kendo-component-bg, transparent ) !defa
|
|
|
50
50
|
$kendo-switch-off-track-hover-text: var( --kendo-component-text, inherit ) !default;
|
|
51
51
|
/// The border color of the track when the hovered Switch is not checked.
|
|
52
52
|
/// @group switch
|
|
53
|
-
$kendo-switch-off-track-hover-border: k-get-theme-color-var( neutral-160 ) !default;
|
|
53
|
+
$kendo-switch-off-track-hover-border: if($kendo-enable-color-system, k-color( border-alt ), k-get-theme-color-var( neutral-160 )) !default;
|
|
54
54
|
|
|
55
55
|
/// The background of the track when the focused Switch is not checked.
|
|
56
56
|
/// @group switch
|
|
@@ -60,7 +60,7 @@ $kendo-switch-off-track-focus-bg: var( --kendo-component-bg, transparent ) !defa
|
|
|
60
60
|
$kendo-switch-off-track-focus-text: var( --kendo-component-text, inherit ) !default;
|
|
61
61
|
/// The border color of the track when the focused Switch is not checked.
|
|
62
62
|
/// @group switch
|
|
63
|
-
$kendo-switch-off-track-focus-border: k-get-theme-color-var( neutral-110 ) !default;
|
|
63
|
+
$kendo-switch-off-track-focus-border: if($kendo-enable-color-system, k-color( border ), k-get-theme-color-var( neutral-110 )) !default;
|
|
64
64
|
|
|
65
65
|
/// The background of the track when the disabled Switch is not checked.
|
|
66
66
|
/// @group switch
|
|
@@ -70,82 +70,82 @@ $kendo-switch-off-track-disabled-bg: var( --kendo-component-bg, transparent ) !d
|
|
|
70
70
|
$kendo-switch-off-track-disabled-text: var( --kendo-component-text, inherit ) !default;
|
|
71
71
|
/// The border color of the track when the disabled Switch is not checked.
|
|
72
72
|
/// @group switch
|
|
73
|
-
$kendo-switch-off-track-disabled-border: k-get-theme-color-var( neutral-60 ) !default;
|
|
73
|
+
$kendo-switch-off-track-disabled-border: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .28 ), k-get-theme-color-var( neutral-60 )) !default;
|
|
74
74
|
|
|
75
75
|
/// The background of the thumb when the Switch is not checked.
|
|
76
76
|
/// @group switch
|
|
77
|
-
$kendo-switch-off-thumb-bg: k-get-theme-color-var( neutral-130 ) !default;
|
|
77
|
+
$kendo-switch-off-thumb-bg: if($kendo-enable-color-system, k-color( subtle ), k-get-theme-color-var( neutral-130 )) !default;
|
|
78
78
|
/// The text color of the thumb when the Switch is not checked.
|
|
79
79
|
/// @group switch
|
|
80
80
|
$kendo-switch-off-thumb-text: inherit !default;
|
|
81
81
|
/// The border color of the thumb when the Switch is not checked.
|
|
82
82
|
/// @group switch
|
|
83
|
-
$kendo-switch-off-thumb-border: k-get-theme-color-var( neutral-130 ) !default;
|
|
83
|
+
$kendo-switch-off-thumb-border: if($kendo-enable-color-system, k-color( border ), k-get-theme-color-var( neutral-130 )) !default;
|
|
84
84
|
|
|
85
85
|
/// The background of the thumb when the hovered Switch is not checked.
|
|
86
86
|
/// @group switch
|
|
87
|
-
$kendo-switch-off-thumb-hover-bg: k-get-theme-color-var( neutral-160 ) !default;
|
|
87
|
+
$kendo-switch-off-thumb-hover-bg: if($kendo-enable-color-system, k-color( on-app-surface ), k-get-theme-color-var( neutral-160 )) !default;
|
|
88
88
|
/// The text color of the thumb when the hovered Switch is not checked.
|
|
89
89
|
/// @group switch
|
|
90
90
|
$kendo-switch-off-thumb-hover-text: inherit !default;
|
|
91
91
|
/// The border color of the thumb when the hovered Switch is not checked.
|
|
92
92
|
/// @group switch
|
|
93
|
-
$kendo-switch-off-thumb-hover-border: k-get-theme-color-var( neutral-160 ) !default;
|
|
93
|
+
$kendo-switch-off-thumb-hover-border: if($kendo-enable-color-system, k-color( border-alt ), k-get-theme-color-var( neutral-160 )) !default;
|
|
94
94
|
|
|
95
95
|
/// The background of the thumb when the disabled Switch is not checked.
|
|
96
96
|
/// @group switch
|
|
97
|
-
$kendo-switch-off-thumb-disabled-bg: k-get-theme-color-var( neutral-60 ) !default;
|
|
97
|
+
$kendo-switch-off-thumb-disabled-bg: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .28 ), k-get-theme-color-var( neutral-60 )) !default;
|
|
98
98
|
/// The text color of the thumb when the disabled Switch is not checked.
|
|
99
99
|
/// @group switch
|
|
100
100
|
$kendo-switch-off-thumb-disabled-text: inherit !default;
|
|
101
101
|
/// The border color of the thumb when the disabled Switch is not checked.
|
|
102
102
|
/// @group switch
|
|
103
|
-
$kendo-switch-off-thumb-disabled-border: k-get-theme-color-var( neutral-60 ) !default;
|
|
103
|
+
$kendo-switch-off-thumb-disabled-border: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .28 ), k-get-theme-color-var( neutral-60 )) !default;
|
|
104
104
|
|
|
105
105
|
|
|
106
106
|
/// The background of the track when the Switch is checked.
|
|
107
107
|
/// @group switch
|
|
108
|
-
$kendo-switch-on-track-bg: k-get-theme-color-var( primary-100 ) !default;
|
|
108
|
+
$kendo-switch-on-track-bg: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
|
|
109
109
|
/// The text color of the track when the Switch is checked.
|
|
110
110
|
/// @group switch
|
|
111
|
-
$kendo-switch-on-track-text: $kendo-color-white !default;
|
|
111
|
+
$kendo-switch-on-track-text: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) !default;
|
|
112
112
|
/// The border color of the track when the Switch is checked.
|
|
113
113
|
/// @group switch
|
|
114
114
|
$kendo-switch-on-track-border: $kendo-switch-on-track-bg !default;
|
|
115
115
|
|
|
116
116
|
/// The background of the track when the hovered Switch is checked.
|
|
117
117
|
/// @group switch
|
|
118
|
-
$kendo-switch-on-track-hover-bg: k-get-theme-color-var( primary-110 ) !default;
|
|
118
|
+
$kendo-switch-on-track-hover-bg: if($kendo-enable-color-system, k-color( primary-hover ), k-get-theme-color-var( primary-110 )) !default;
|
|
119
119
|
/// The text color of the track when the hovered Switch is checked.
|
|
120
120
|
/// @group switch
|
|
121
|
-
$kendo-switch-on-track-hover-text: $kendo-color-white !default;
|
|
121
|
+
$kendo-switch-on-track-hover-text: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) !default;
|
|
122
122
|
/// The border color of the track when the hovered Switch is checked.
|
|
123
123
|
/// @group switch
|
|
124
124
|
$kendo-switch-on-track-hover-border: $kendo-switch-on-track-hover-bg !default;
|
|
125
125
|
|
|
126
126
|
/// The background of the track when the focused Switch is checked.
|
|
127
127
|
/// @group switch
|
|
128
|
-
$kendo-switch-on-track-focus-bg: k-get-theme-color-var( primary-100 ) !default;
|
|
128
|
+
$kendo-switch-on-track-focus-bg: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
|
|
129
129
|
/// The text color of the track when the focused Switch is checked.
|
|
130
130
|
/// @group switch
|
|
131
|
-
$kendo-switch-on-track-focus-text: $kendo-color-white !default;
|
|
131
|
+
$kendo-switch-on-track-focus-text: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) !default;
|
|
132
132
|
/// The border color of the track when the focused Switch is checked.
|
|
133
133
|
/// @group switch
|
|
134
134
|
$kendo-switch-on-track-focus-border: $kendo-switch-on-track-focus-bg !default;
|
|
135
135
|
|
|
136
136
|
/// The background of the track when the disabled Switch is checked.
|
|
137
137
|
/// @group switch
|
|
138
|
-
$kendo-switch-on-track-disabled-bg: k-get-theme-color-var( neutral-60 ) !default;
|
|
138
|
+
$kendo-switch-on-track-disabled-bg: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .28 ), k-get-theme-color-var( neutral-60 )) !default;
|
|
139
139
|
/// The text color of the track when the disabled Switch is checked.
|
|
140
140
|
/// @group switch
|
|
141
|
-
$kendo-switch-on-track-disabled-text: $kendo-color-white !default;
|
|
141
|
+
$kendo-switch-on-track-disabled-text: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) !default;
|
|
142
142
|
/// The border color of the track when the disabled Switch is checked.
|
|
143
143
|
/// @group switch
|
|
144
|
-
$kendo-switch-on-track-disabled-border: $kendo-switch-on-track-disabled-bg !default;
|
|
144
|
+
$kendo-switch-on-track-disabled-border: if($kendo-enable-color-system, transparent, $kendo-switch-on-track-disabled-bg) !default;
|
|
145
145
|
|
|
146
146
|
/// The background of the thumb when the Switch is checked.
|
|
147
147
|
/// @group switch
|
|
148
|
-
$kendo-switch-on-thumb-bg: $kendo-color-white !default;
|
|
148
|
+
$kendo-switch-on-thumb-bg: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) !default;
|
|
149
149
|
/// The text color of the thumb when the Switch is checked.
|
|
150
150
|
/// @group switch
|
|
151
151
|
$kendo-switch-on-thumb-text: inherit !default;
|
|
@@ -155,7 +155,7 @@ $kendo-switch-on-thumb-border: inherit !default;
|
|
|
155
155
|
|
|
156
156
|
/// The background of the thumb when the hovered Switch is checked.
|
|
157
157
|
/// @group switch
|
|
158
|
-
$kendo-switch-on-thumb-hover-bg: $kendo-color-white !default;
|
|
158
|
+
$kendo-switch-on-thumb-hover-bg: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) !default;
|
|
159
159
|
/// The text color of the thumb when the hovered Switch is checked.
|
|
160
160
|
/// @group switch
|
|
161
161
|
$kendo-switch-on-thumb-hover-text: inherit !default;
|
|
@@ -165,10 +165,10 @@ $kendo-switch-on-thumb-hover-border: inherit !default;
|
|
|
165
165
|
|
|
166
166
|
/// The background of the thumb when the disabled Switch is checked.
|
|
167
167
|
/// @group switch
|
|
168
|
-
$kendo-switch-on-thumb-disabled-bg: k-get-theme-color-var( neutral-20 ) !default;
|
|
168
|
+
$kendo-switch-on-thumb-disabled-bg: if($kendo-enable-color-system, k-color( surface ), k-get-theme-color-var( neutral-20 )) !default;
|
|
169
169
|
/// The text color of the thumb when the disabled Switch is checked.
|
|
170
170
|
/// @group switch
|
|
171
171
|
$kendo-switch-on-thumb-disabled-text: inherit !default;
|
|
172
172
|
/// The border color of the thumb when the disabled Switch is checked.
|
|
173
173
|
/// @group switch
|
|
174
|
-
$kendo-switch-on-thumb-disabled-border: k-get-theme-color-var( neutral-20 ) !default;
|
|
174
|
+
$kendo-switch-on-thumb-disabled-border: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .06 ), k-get-theme-color-var( neutral-20 )) !default;
|