@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
package/scss/table/_theme.scss
CHANGED
|
@@ -94,13 +94,24 @@
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
// Selected state
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
97
|
+
@if($kendo-enable-color-system) {
|
|
98
|
+
.k-table-tbody .k-table-row.k-selected > .k-table-td,
|
|
99
|
+
.k-table-list .k-table-row.k-selected {
|
|
100
|
+
@include fill (
|
|
101
|
+
var( --kendo-table-selected-text, #{$kendo-table-selected-text} ),
|
|
102
|
+
var( --kendo-table-selected-bg, #{$kendo-table-selected-bg} ),
|
|
103
|
+
var( --kendo-table-selected-border, #{$kendo-table-selected-border} )
|
|
104
|
+
);
|
|
105
|
+
}
|
|
106
|
+
} @else {
|
|
107
|
+
.k-table-tbody .k-table-row.k-selected,
|
|
108
|
+
.k-table-list .k-table-row.k-selected {
|
|
109
|
+
@include fill (
|
|
110
|
+
var( --kendo-table-selected-text, #{$kendo-table-selected-text} ),
|
|
111
|
+
var( --kendo-table-selected-bg, #{$kendo-table-selected-bg} ),
|
|
112
|
+
var( --kendo-table-selected-border, #{$kendo-table-selected-border} )
|
|
113
|
+
);
|
|
114
|
+
}
|
|
104
115
|
}
|
|
105
116
|
|
|
106
117
|
}
|
|
@@ -88,7 +88,7 @@ $kendo-table-border: var( --kendo-component-border, initial ) !default;
|
|
|
88
88
|
$kendo-table-header-bg: $kendo-table-bg !default;
|
|
89
89
|
/// Text color of table headers.
|
|
90
90
|
/// @group table
|
|
91
|
-
$kendo-table-header-text: k-get-theme-color-var( neutral-190 ) !default;
|
|
91
|
+
$kendo-table-header-text: if($kendo-enable-color-system, k-color( on-app-surface ), k-get-theme-color-var( neutral-190 )) !default;
|
|
92
92
|
/// Border color of table headers.
|
|
93
93
|
/// @group table
|
|
94
94
|
$kendo-table-header-border: $kendo-table-border !default;
|
|
@@ -168,7 +168,7 @@ $kendo-table-focus-shadow: $kendo-list-item-focus-shadow !default;
|
|
|
168
168
|
|
|
169
169
|
/// Background color of selected rows in table.
|
|
170
170
|
/// @group table
|
|
171
|
-
$kendo-table-selected-bg: k-get-theme-color-var( primary-20 ) !default;
|
|
171
|
+
$kendo-table-selected-bg: if($kendo-enable-color-system, rgba( k-color( primary, true ), .13 ), k-get-theme-color-var( primary-20 )) !default;
|
|
172
172
|
/// Text color of selected rows in table.
|
|
173
173
|
/// @group table
|
|
174
174
|
$kendo-table-selected-text: $kendo-table-text !default;
|
|
@@ -178,7 +178,7 @@ $kendo-table-selected-border: $kendo-table-border !default;
|
|
|
178
178
|
|
|
179
179
|
/// Hover background color of selected rows in table.
|
|
180
180
|
/// @group table
|
|
181
|
-
$kendo-table-selected-hover-bg: k-get-theme-color-var( primary-30 ) !default;
|
|
181
|
+
$kendo-table-selected-hover-bg: if($kendo-enable-color-system, rgba( k-color( primary, true ), .26 ), k-get-theme-color-var( primary-30 )) !default;
|
|
182
182
|
/// Hover text color of selected rows in table.
|
|
183
183
|
/// @group table
|
|
184
184
|
$kendo-table-selected-hover-text: $kendo-table-selected-text !default;
|
|
@@ -93,10 +93,10 @@ $kendo-tabstrip-item-hover-border: var( --kendo-hover-bg, inherit ) !default;
|
|
|
93
93
|
$kendo-tabstrip-item-selected-bg: var( --kendo-component-bg, transparent ) !default;
|
|
94
94
|
/// The text color of selected tabs
|
|
95
95
|
/// @group tabstrip
|
|
96
|
-
$kendo-tabstrip-item-selected-text: k-get-theme-color-var( neutral-190 ) !default;
|
|
96
|
+
$kendo-tabstrip-item-selected-text: if($kendo-enable-color-system, k-color( on-app-surface ), k-get-theme-color-var( neutral-190 )) !default;
|
|
97
97
|
/// The border color of selected tabs
|
|
98
98
|
/// @group tabstrip
|
|
99
|
-
$kendo-tabstrip-item-selected-border: k-get-theme-color-var( primary-100 ) !default;
|
|
99
|
+
$kendo-tabstrip-item-selected-border: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
|
|
100
100
|
/// The background gradient of selected tabs
|
|
101
101
|
/// @group tabstrip
|
|
102
102
|
$kendo-tabstrip-item-selected-font-weight: var( --kendo-font-weight-bold, normal ) !default;
|
|
@@ -105,7 +105,7 @@ $kendo-tabstrip-item-selected-font-weight: var( --kendo-font-weight-bold, normal
|
|
|
105
105
|
$kendo-tabstrip-item-focus-shadow: $kendo-list-item-focus-shadow !default;
|
|
106
106
|
/// The text color of the sortable tabstrip item
|
|
107
107
|
/// @group tabstrip
|
|
108
|
-
$kendo-tabstrip-item-dragging-text: k-get-theme-color-var( primary-100 ) !default;
|
|
108
|
+
$kendo-tabstrip-item-dragging-text: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
|
|
109
109
|
|
|
110
110
|
// Indicator
|
|
111
111
|
/// The border width of the tabstrip indicator
|
|
@@ -113,7 +113,7 @@ $kendo-tabstrip-item-dragging-text: k-get-theme-color-var( primary-100 ) !defaul
|
|
|
113
113
|
$kendo-tabstrip-indicator-size: map.get( $kendo-spacing, 0.5 ) !default;
|
|
114
114
|
/// The border color of the tabstrip ripple
|
|
115
115
|
/// @group tabstrip
|
|
116
|
-
$kendo-tabstrip-indicator-color: k-get-theme-color-var( primary-100 ) !default;
|
|
116
|
+
$kendo-tabstrip-indicator-color: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
|
|
117
117
|
|
|
118
118
|
/// The horizontal padding of tabstrip content
|
|
119
119
|
/// @group tabstrip
|
|
@@ -69,7 +69,7 @@ $kendo-taskboard-column-border-width: 1px !default;
|
|
|
69
69
|
$kendo-taskboard-column-border-radius: var( --kendo-border-radius-md, #{$kendo-border-radius-md} ) !default;
|
|
70
70
|
/// Background color of the task board column.
|
|
71
71
|
/// @group taskboard
|
|
72
|
-
$kendo-taskboard-column-bg: k-get-theme-color-var( neutral-10 ) !default;
|
|
72
|
+
$kendo-taskboard-column-bg: if($kendo-enable-color-system, k-color( surface ), k-get-theme-color-var( neutral-10 )) !default;
|
|
73
73
|
/// Text color of the task board column.
|
|
74
74
|
/// @group taskboard
|
|
75
75
|
$kendo-taskboard-column-text: var( --kendo-component-text, inherit ) !default;
|
|
@@ -84,7 +84,7 @@ $kendo-taskboard-column-focus-bg: $kendo-taskboard-column-bg !default;
|
|
|
84
84
|
$kendo-taskboard-column-focus-text: $kendo-taskboard-column-text !default;
|
|
85
85
|
/// Focus border color of the task board column.
|
|
86
86
|
/// @group taskboard
|
|
87
|
-
$kendo-taskboard-column-focus-border: k-get-theme-color-var( neutral-130 ) !default;
|
|
87
|
+
$kendo-taskboard-column-focus-border: if($kendo-enable-color-system, k-color( border ), k-get-theme-color-var( neutral-130 )) !default;
|
|
88
88
|
|
|
89
89
|
/// Vertical padding of the task board column header.
|
|
90
90
|
/// @group taskboard
|
|
@@ -182,7 +182,7 @@ $kendo-taskboard-card-category-border-width: 4px !default;
|
|
|
182
182
|
$kendo-taskboard-card-focus-shadow: none !default;
|
|
183
183
|
/// Selected border of the task board card.
|
|
184
184
|
/// @group taskboard
|
|
185
|
-
$kendo-taskboard-card-selected-border: k-get-theme-color-var( primary-100 ) !default;
|
|
185
|
+
$kendo-taskboard-card-selected-border: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
|
|
186
186
|
/// Selected shadow of the task board card.
|
|
187
187
|
/// @group taskboard
|
|
188
188
|
$kendo-taskboard-card-selected-shadow: var( --kendo-box-shadow-depth-3, none ) !default;
|
|
@@ -202,7 +202,7 @@ $kendo-taskboard-drag-placeholder-border-width: 1px !default;
|
|
|
202
202
|
$kendo-taskboard-drag-placeholder-border-radius: $kendo-card-border-radius !default;
|
|
203
203
|
/// Background color of the task board card placeholder.
|
|
204
204
|
/// @group taskboard
|
|
205
|
-
$kendo-taskboard-drag-placeholder-bg: k-get-theme-color-var( neutral-50 ) !default;
|
|
205
|
+
$kendo-taskboard-drag-placeholder-bg: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .23 ), k-get-theme-color-var( neutral-50 )) !default;
|
|
206
206
|
/// Border color of the task board card placeholder.
|
|
207
207
|
/// @group taskboard
|
|
208
208
|
$kendo-taskboard-drag-placeholder-border: var( --kendo-component-border, inherit ) !default;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
$kendo-tile-layout-border-width: 0px !default;
|
|
9
9
|
/// The background color of the TileLayout.
|
|
10
10
|
/// @group tilelayout
|
|
11
|
-
$kendo-tile-layout-bg: k-get-theme-color-var( neutral-10 ) !default;
|
|
11
|
+
$kendo-tile-layout-bg: if($kendo-enable-color-system, k-color( surface ), k-get-theme-color-var( neutral-10 )) !default;
|
|
12
12
|
|
|
13
13
|
/// The horizontal padding of the TileLayout.
|
|
14
14
|
/// @group tilelayout
|
|
@@ -62,10 +62,10 @@ $kendo-timeline-track-start-calc: calc( #{ $kendo-timeline-track-arrow-width } -
|
|
|
62
62
|
$kendo-timeline-track-end-calc: calc( #{ $kendo-timeline-track-arrow-width } - 2 * #{ $kendo-timeline-track-border-width } ) !default;
|
|
63
63
|
/// The background of the track in the timeline.
|
|
64
64
|
/// @group timeline
|
|
65
|
-
$kendo-timeline-track-bg: k-get-theme-color-var( neutral-10 ) !default;
|
|
65
|
+
$kendo-timeline-track-bg: if($kendo-enable-color-system, k-color( surface ), k-get-theme-color-var( neutral-10 )) !default;
|
|
66
66
|
/// The border color of the track in the timeline.
|
|
67
67
|
/// @group timeline
|
|
68
|
-
$kendo-timeline-track-border-color: k-get-theme-color-var( neutral-30 ) !default;
|
|
68
|
+
$kendo-timeline-track-border-color: if($kendo-enable-color-system, rgba( k-color( border, true ), .16 ), k-get-theme-color-var( neutral-30 )) !default;
|
|
69
69
|
|
|
70
70
|
/// The inset block end of the arrow in the timeline.
|
|
71
71
|
/// @group timeline
|
|
@@ -113,7 +113,7 @@ $kendo-timeline-mobile-flag-max-width: calc( #{ $kendo-timeline-flag-min-width }
|
|
|
113
113
|
$kendo-timeline-horizontal-flag-min-width: map.get( $kendo-spacing, 15 ) !default;
|
|
114
114
|
/// The background of the flag in the timeline.
|
|
115
115
|
/// @group timeline
|
|
116
|
-
$kendo-timeline-flag-bg: k-get-theme-color-var( primary-100 ) !default;
|
|
116
|
+
$kendo-timeline-flag-bg: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
|
|
117
117
|
/// The text of the flag in the timeline.
|
|
118
118
|
/// @group timeline
|
|
119
119
|
$kendo-timeline-flag-text: var( --kendo-component-bg, initial ) !default;
|
|
@@ -135,10 +135,10 @@ $kendo-timeline-flag-margin-bottom-calc: calc( #{ $kendo-timeline-track-size } +
|
|
|
135
135
|
$kendo-timeline-card-header-bg: var( --kendo-component-bg, initial ) !default;
|
|
136
136
|
/// The text of the card header in the timeline.
|
|
137
137
|
/// @group timeline
|
|
138
|
-
$kendo-timeline-card-header-text: k-get-theme-color-var( neutral-160 ) !default;
|
|
138
|
+
$kendo-timeline-card-header-text: if($kendo-enable-color-system, k-color( on-app-surface ), k-get-theme-color-var( neutral-160 )) !default;
|
|
139
139
|
/// The border of the card body scroll in the timeline.
|
|
140
140
|
/// @group timeline
|
|
141
|
-
$kendo-timeline-card-body-scroll-border: k-get-theme-color-var( neutral-30 ) !default;
|
|
141
|
+
$kendo-timeline-card-body-scroll-border: if($kendo-enable-color-system, rgba( k-color( border, true ), .16 ), k-get-theme-color-var( neutral-30 )) !default;
|
|
142
142
|
/// The background of the card body scroll of the timeline.
|
|
143
143
|
/// @group timeline
|
|
144
144
|
$kendo-timeline-card-body-scroll-bg: var( --kendo-component-bg, initial ) !default;
|
|
@@ -180,7 +180,7 @@ $kendo-timeline-circle-width: map.get( $kendo-spacing, 4 ) !default;
|
|
|
180
180
|
$kendo-timeline-circle-height: map.get( $kendo-spacing, 4 ) !default;
|
|
181
181
|
/// The background of the circle in the timeline.
|
|
182
182
|
/// @group timeline
|
|
183
|
-
$kendo-timeline-circle-bg: k-get-theme-color-var( primary-100 ) !default;
|
|
183
|
+
$kendo-timeline-circle-bg: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
|
|
184
184
|
|
|
185
185
|
/// The width of the events in the timeline.
|
|
186
186
|
/// @group timeline
|
|
@@ -47,7 +47,7 @@ $kendo-toolbar-line-height: var( --kendo-line-height, normal ) !default;
|
|
|
47
47
|
|
|
48
48
|
/// The background color of the Toolbar.
|
|
49
49
|
/// @group toolbar
|
|
50
|
-
$kendo-toolbar-bg: k-get-theme-color-var( neutral-10 ) !default;
|
|
50
|
+
$kendo-toolbar-bg: if($kendo-enable-color-system, k-color( surface ), k-get-theme-color-var( neutral-10 )) !default;
|
|
51
51
|
/// The text color of the Toolbar.
|
|
52
52
|
/// @group toolbar
|
|
53
53
|
$kendo-toolbar-text: var( --kendo-component-text, inherit ) !default;
|
|
@@ -57,7 +57,7 @@ $kendo-toolbar-border: var( --kendo-component-border, initial ) !default;
|
|
|
57
57
|
|
|
58
58
|
/// The color of the separator border of the Toolbar.
|
|
59
59
|
/// @group toolbar
|
|
60
|
-
$kendo-toolbar-separator-border: k-get-theme-color-var( neutral-60 ) !default;
|
|
60
|
+
$kendo-toolbar-separator-border: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .28 ), k-get-theme-color-var( neutral-60 )) !default;
|
|
61
61
|
|
|
62
62
|
/// The width of the input in the Toolbar.
|
|
63
63
|
/// @group toolbar
|
|
@@ -71,7 +71,7 @@ $kendo-toolbar-item-focus-outline-width: 1px !default;
|
|
|
71
71
|
$kendo-toolbar-item-focus-outline-style: solid !default;
|
|
72
72
|
/// The border color of the focused Toolbar item.
|
|
73
73
|
/// @group toolbar
|
|
74
|
-
$kendo-toolbar-item-focus-outline-color: k-get-theme-color-var( neutral-130 ) !default;
|
|
74
|
+
$kendo-toolbar-item-focus-outline-color: if($kendo-enable-color-system, k-color( base-emphasis ), k-get-theme-color-var( neutral-130 )) !default;
|
|
75
75
|
|
|
76
76
|
/// Border width of the flat Toolbar.
|
|
77
77
|
/// @group toolbar
|
|
@@ -39,7 +39,7 @@ $kendo-tooltip-callout-size: map.get( $kendo-spacing, 2 ) !default;
|
|
|
39
39
|
|
|
40
40
|
/// The default background of the Tooltip.
|
|
41
41
|
/// @group tooltip
|
|
42
|
-
$kendo-tooltip-bg: $kendo-color-white !default;
|
|
42
|
+
$kendo-tooltip-bg: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) !default;
|
|
43
43
|
/// The default text color of the Tooltip.
|
|
44
44
|
/// @group tooltip
|
|
45
45
|
$kendo-tooltip-text: var( --kendo-component-text, initial ) !default;
|
|
@@ -52,11 +52,11 @@ $kendo-tooltip-shadow: var( --kendo-box-shadow-depth-2, none ) !default;
|
|
|
52
52
|
|
|
53
53
|
/// The text color of the Tooltip button.
|
|
54
54
|
/// @group tooltip
|
|
55
|
-
$kendo-tooltip-button-text: k-get-theme-color-var( neutral-130, initial ) !default;
|
|
55
|
+
$kendo-tooltip-button-text: if($kendo-enable-color-system, k-color( subtle ), k-get-theme-color-var( neutral-130, initial )) !default;
|
|
56
56
|
|
|
57
57
|
/// Theme variations for the tooltip.
|
|
58
58
|
$kendo-tooltip-brand-colors: (
|
|
59
|
-
secondary: neutral,
|
|
59
|
+
secondary: if($kendo-enable-color-system, secondary, neutral),
|
|
60
60
|
tertiary: tertiary,
|
|
61
61
|
success: success,
|
|
62
62
|
warning: warning,
|
|
@@ -66,19 +66,19 @@ $kendo-tooltip-brand-colors: (
|
|
|
66
66
|
|
|
67
67
|
// Matrix with tooltip theme colors in the order: bg, color, border
|
|
68
68
|
$_tc-tooltip-matrix: (
|
|
69
|
-
(normal: (20, 160, 20)),
|
|
69
|
+
(normal: if($kendo-enable-color-system, (color-subtle, color-on-subtle, color-subtle), (20, 160, 20))),
|
|
70
70
|
) !default;
|
|
71
71
|
|
|
72
72
|
$_tc-tooltip-primary-matrix: (
|
|
73
|
-
(normal: (100, $kendo-color-white, 100)),
|
|
73
|
+
(normal: if($kendo-enable-color-system, (color, on-color, color), (100, $kendo-color-white, 100))),
|
|
74
74
|
) !default;
|
|
75
75
|
|
|
76
76
|
$_tc-tooltip-dark-matrix: (
|
|
77
|
-
(normal: (160, $kendo-color-white, 160)),
|
|
77
|
+
(normal: if($kendo-enable-color-system, (color, on-color, color), (160, $kendo-color-white, 160))),
|
|
78
78
|
) !default;
|
|
79
79
|
|
|
80
80
|
$_tc-tooltip-light-matrix: (
|
|
81
|
-
(normal: (50, 160, 50)),
|
|
81
|
+
(normal: if($kendo-enable-color-system, (color, on-color, color), (50, 160, 50))),
|
|
82
82
|
) !default;
|
|
83
83
|
|
|
84
84
|
/// Theme colors map for the tooltip variations.
|
|
@@ -103,13 +103,13 @@ $kendo-tooltip-theme-colors: () !default;
|
|
|
103
103
|
@each $ui-states in $_tc-tooltip-dark-matrix {
|
|
104
104
|
$kendo-tooltip-theme-colors: map.deep-merge(
|
|
105
105
|
$kendo-tooltip-theme-colors,
|
|
106
|
-
k-generate-theme-variation( dark, neutral, $ui-states )
|
|
106
|
+
k-generate-theme-variation( dark, if($kendo-enable-color-system, dark, neutral), $ui-states )
|
|
107
107
|
);
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
@each $ui-states in $_tc-tooltip-light-matrix {
|
|
111
111
|
$kendo-tooltip-theme-colors: map.deep-merge(
|
|
112
112
|
$kendo-tooltip-theme-colors,
|
|
113
|
-
k-generate-theme-variation( light, neutral, $ui-states )
|
|
113
|
+
k-generate-theme-variation( light, if($kendo-enable-color-system, light, neutral), $ui-states )
|
|
114
114
|
);
|
|
115
115
|
}
|
|
@@ -124,7 +124,7 @@ $kendo-treeview-item-focus-text: $kendo-treeview-item-text !default;
|
|
|
124
124
|
$kendo-treeview-item-focus-border: $kendo-treeview-item-border !default;
|
|
125
125
|
/// The box shadow of focused TreeView items.
|
|
126
126
|
/// @group treeview
|
|
127
|
-
$kendo-treeview-item-focus-shadow: inset 0 0 0 1px k-get-theme-color-var( neutral-130 ) !default;
|
|
127
|
+
$kendo-treeview-item-focus-shadow: inset 0 0 0 1px if($kendo-enable-color-system, k-color( base-emphasis ), k-get-theme-color-var( neutral-130 )) !default;
|
|
128
128
|
|
|
129
129
|
/// The background color of selected TreeView items.
|
|
130
130
|
/// @group treeview
|
|
@@ -35,13 +35,13 @@ $kendo-upload-dropzone-padding-x: map.get( $kendo-spacing, 2 ) !default;
|
|
|
35
35
|
$kendo-upload-dropzone-padding-y: map.get( $kendo-spacing, 2 ) !default;
|
|
36
36
|
/// The text color of the Upload dropzone.
|
|
37
37
|
/// @group upload
|
|
38
|
-
$kendo-upload-dropzone-text: k-get-theme-color-var( neutral-130 ) !default;
|
|
38
|
+
$kendo-upload-dropzone-text: if($kendo-enable-color-system, k-color( subtle ), k-get-theme-color-var( neutral-130 )) !default;
|
|
39
39
|
/// The background color of the Upload dropzone.
|
|
40
40
|
/// @group upload
|
|
41
|
-
$kendo-upload-dropzone-bg: k-get-theme-color-var( neutral-10 ) !default;
|
|
41
|
+
$kendo-upload-dropzone-bg: if($kendo-enable-color-system, k-color( surface ), k-get-theme-color-var( neutral-10 )) !default;
|
|
42
42
|
/// The border color of the Upload dropzone.
|
|
43
43
|
/// @group upload
|
|
44
|
-
$kendo-upload-dropzone-border: k-get-theme-color-var( neutral-30 ) !default;
|
|
44
|
+
$kendo-upload-dropzone-border: if($kendo-enable-color-system, rgba( k-color( border, true ), .16 ), k-get-theme-color-var( neutral-30 )) !default;
|
|
45
45
|
/// The background color of the hovered Upload dropzone.
|
|
46
46
|
/// @group upload
|
|
47
47
|
$kendo-upload-dropzone-hover-bg: var( --kendo-hover-bg, inherit ) !default;
|
|
@@ -79,21 +79,21 @@ $kendo-upload-icon-color: var( --kendo-subtle-text, inherit ) !default;
|
|
|
79
79
|
$kendo-upload-progress-thickness: 2px !default;
|
|
80
80
|
/// The background color of the Upload progress bar.
|
|
81
81
|
/// @group upload
|
|
82
|
-
$kendo-upload-progress-bg: k-get-theme-color-var( primary-100 ) !default;
|
|
82
|
+
$kendo-upload-progress-bg: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
|
|
83
83
|
|
|
84
84
|
/// The success text color of the Upload.
|
|
85
85
|
/// @group upload
|
|
86
|
-
$kendo-upload-success-text: k-get-theme-color-var( success-190 ) !default;
|
|
86
|
+
$kendo-upload-success-text: if($kendo-enable-color-system, k-color( success-on-surface ), k-get-theme-color-var( success-190 )) !default;
|
|
87
87
|
/// The success background color of the Upload progress bar.
|
|
88
88
|
/// @group upload
|
|
89
|
-
$kendo-upload-success-bg: k-get-theme-color-var( success-190 ) !default;
|
|
89
|
+
$kendo-upload-success-bg: if($kendo-enable-color-system, k-color( success-on-surface ), k-get-theme-color-var( success-190 )) !default;
|
|
90
90
|
|
|
91
91
|
/// The error text color of the Upload.
|
|
92
92
|
/// @group upload
|
|
93
|
-
$kendo-upload-error-text: k-get-theme-color-var( error-190 ) !default;
|
|
93
|
+
$kendo-upload-error-text: if($kendo-enable-color-system, k-color( error-on-surface ), k-get-theme-color-var( error-190 )) !default;
|
|
94
94
|
/// The error background color of the Upload progress bar.
|
|
95
95
|
/// @group upload
|
|
96
|
-
$kendo-upload-error-bg: k-get-theme-color-var( error-190 ) !default;
|
|
96
|
+
$kendo-upload-error-bg: if($kendo-enable-color-system, k-color( error-on-surface ), k-get-theme-color-var( error-190 )) !default;
|
|
97
97
|
|
|
98
98
|
/// The shadow of the focused Upload button, actions and uploaded items.
|
|
99
99
|
/// @group upload
|
|
@@ -78,7 +78,7 @@ $kendo-window-bg: var( --kendo-component-bg, initial ) !default;
|
|
|
78
78
|
$kendo-window-text: var( --kendo-component-text, initial ) !default;
|
|
79
79
|
/// The border color of the Window.
|
|
80
80
|
/// @group window
|
|
81
|
-
$kendo-window-border: k-get-theme-color-var( primary-100 ) !default;
|
|
81
|
+
$kendo-window-border: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
|
|
82
82
|
/// The box shadow of the Window.
|
|
83
83
|
/// @group window
|
|
84
84
|
$kendo-window-shadow: var( --kendo-box-shadow-depth-8, none ) !default;
|
|
@@ -91,10 +91,10 @@ $kendo-window-focus-shadow: var( --kendo-box-shadow-depth-9, none ) !default;
|
|
|
91
91
|
$kendo-window-titlebar-bg: var( --kendo-component-bg, initial ) !default; // $kendo-component-header-bg
|
|
92
92
|
/// The text color of the Window titlebar.
|
|
93
93
|
/// @group window
|
|
94
|
-
$kendo-window-titlebar-text: k-get-theme-color-var( primary-100 ) !default; // $kendo-component-header-text
|
|
94
|
+
$kendo-window-titlebar-text: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default; // $kendo-component-header-text
|
|
95
95
|
/// The border color of the Window titlebar.
|
|
96
96
|
/// @group window
|
|
97
|
-
$kendo-window-titlebar-border: k-get-theme-color-var( primary-100 ) !default;
|
|
97
|
+
$kendo-window-titlebar-border: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
|
|
98
98
|
|
|
99
99
|
/// The map of the width of the different Window sizes.
|
|
100
100
|
/// @group window
|
|
@@ -112,15 +112,15 @@ $kendo-window-brand-colors: (
|
|
|
112
112
|
|
|
113
113
|
// Matrix with window theme colors in the order: bg, color, border
|
|
114
114
|
$_tc-window-matrix: (
|
|
115
|
-
(normal: (100, $kendo-color-white, 100)),
|
|
115
|
+
(normal: if($kendo-enable-color-system, (color, on-color, color), (100, $kendo-color-white, 100))),
|
|
116
116
|
) !default;
|
|
117
117
|
|
|
118
118
|
$_tc-window-dark-matrix: (
|
|
119
|
-
(normal: (160, $kendo-color-white, 160)),
|
|
119
|
+
(normal: if($kendo-enable-color-system, (color, on-color, color), (160, $kendo-color-white, 160))),
|
|
120
120
|
) !default;
|
|
121
121
|
|
|
122
122
|
$_tc-window-light-matrix: (
|
|
123
|
-
(normal: (50, 160, 50)),
|
|
123
|
+
(normal: if($kendo-enable-color-system, (color, on-color, color), (50, 160, 50))),
|
|
124
124
|
) !default;
|
|
125
125
|
|
|
126
126
|
/// The theme colors map for the Window.
|
|
@@ -139,13 +139,13 @@ $kendo-window-theme-colors: () !default;
|
|
|
139
139
|
@each $ui-states in $_tc-window-dark-matrix {
|
|
140
140
|
$kendo-window-theme-colors: map.deep-merge(
|
|
141
141
|
$kendo-window-theme-colors,
|
|
142
|
-
k-generate-theme-variation( dark, neutral, $ui-states )
|
|
142
|
+
k-generate-theme-variation( dark, if($kendo-enable-color-system, dark, neutral), $ui-states )
|
|
143
143
|
);
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
@each $ui-states in $_tc-window-light-matrix {
|
|
147
147
|
$kendo-window-theme-colors: map.deep-merge(
|
|
148
148
|
$kendo-window-theme-colors,
|
|
149
|
-
k-generate-theme-variation( light, neutral, $ui-states )
|
|
149
|
+
k-generate-theme-variation( light, if($kendo-enable-color-system, light, neutral), $ui-states )
|
|
150
150
|
);
|
|
151
151
|
}
|
|
@@ -50,4 +50,4 @@ $kendo-wizard-buttons-margin-y: map.get( $kendo-spacing, 6 ) !default;
|
|
|
50
50
|
|
|
51
51
|
/// Outline of the focused wizard step.
|
|
52
52
|
/// @group wizard
|
|
53
|
-
$kendo-wizard-step-focus-border: k-get-theme-color-var( neutral-130 ) !default;
|
|
53
|
+
$kendo-wizard-step-focus-border: if($kendo-enable-color-system, k-color( base-emphasis ), k-get-theme-color-var( neutral-130 )) !default;
|