@progress/kendo-theme-fluent 6.5.0-dev.1 → 6.5.0-dev.2
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 +13032 -12991
- package/dist/meta/sassdoc-data.json +912 -1112
- package/dist/meta/sassdoc-raw-data.json +456 -556
- package/lib/swatches/all.json +1 -1
- package/lib/swatches/fluent-main.json +1 -1
- package/package.json +4 -4
- package/scss/action-sheet/_layout.scss +7 -0
- package/scss/action-sheet/_variables.scss +4 -1
- package/scss/adaptive/_variables.scss +4 -4
- package/scss/appbar/_variables.scss +6 -6
- package/scss/avatar/_variables.scss +5 -5
- package/scss/badge/_variables.scss +5 -5
- package/scss/bottom-navigation/_variables.scss +14 -14
- package/scss/breadcrumb/_variables.scss +11 -11
- package/scss/button/_variables.scss +11 -11
- package/scss/calendar/_layout.scss +1 -1
- package/scss/calendar/_variables.scss +11 -11
- package/scss/card/_variables.scss +2 -2
- package/scss/chat/_variables.scss +8 -8
- package/scss/checkbox/_variables.scss +16 -16
- package/scss/chip/_variables.scss +12 -12
- package/scss/color-preview/_variables.scss +4 -4
- package/scss/coloreditor/_variables.scss +2 -2
- package/scss/colorgradient/_variables.scss +8 -8
- package/scss/colorpalette/_variables.scss +2 -2
- package/scss/core/_index.scss +6 -11
- package/scss/core/_variables.scss +1 -79
- package/scss/core/color-system/_index.scss +0 -2
- package/scss/core/color-system/utils/_functions.scss +4 -66
- package/scss/core/helpers/_index.scss +0 -4
- package/scss/dataviz/_layout.scss +5 -5
- package/scss/dataviz/_variables.scss +37 -37
- package/scss/daterangepicker/_theme.scss +1 -1
- package/scss/dialog/_variables.scss +3 -3
- package/scss/draggable/_variables.scss +2 -2
- package/scss/drawer/_variables.scss +9 -9
- package/scss/dropzone/_variables.scss +3 -3
- package/scss/editor/_variables.scss +3 -3
- package/scss/expansion-panel/_variables.scss +7 -7
- package/scss/fab/_theme.scss +1 -1
- package/scss/fab/_variables.scss +8 -8
- package/scss/filter/_variables.scss +3 -3
- package/scss/forms/_variables.scss +2 -2
- package/scss/gantt/_layout.scss +2 -2
- package/scss/gantt/_variables.scss +22 -22
- package/scss/grid/_theme.scss +2 -2
- package/scss/grid/_variables.scss +11 -11
- package/scss/imageeditor/_variables.scss +2 -2
- package/scss/index.scss +3 -0
- package/scss/input/_variables.scss +42 -42
- package/scss/list/_variables.scss +14 -14
- package/scss/listbox/_variables.scss +1 -1
- package/scss/listgroup/_variables.scss +1 -1
- package/scss/listview/_variables.scss +1 -1
- package/scss/loader/_variables.scss +4 -4
- package/scss/map/_variables.scss +4 -4
- package/scss/mediaplayer/_variables.scss +2 -2
- package/scss/menu/_variables.scss +3 -3
- package/scss/notification/_variables.scss +3 -3
- package/scss/orgchart/_variables.scss +5 -5
- package/scss/pager/_variables.scss +4 -4
- package/scss/panelbar/_variables.scss +3 -3
- package/scss/pdf-viewer/_variables.scss +2 -2
- package/scss/pivotgrid/_variables.scss +4 -4
- package/scss/popup/_variables.scss +1 -1
- package/scss/progressbar/_variables.scss +10 -10
- package/scss/radio/_variables.scss +10 -10
- package/scss/rating/_theme.scss +1 -1
- package/scss/rating/_variables.scss +4 -4
- package/scss/scheduler/_theme.scss +1 -1
- package/scss/scheduler/_variables.scss +9 -9
- package/scss/scrollview/_variables.scss +6 -6
- package/scss/searchbox/_variables.scss +1 -1
- package/scss/signature/_variables.scss +2 -2
- package/scss/skeleton/_variables.scss +4 -4
- 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 +17 -17
- package/scss/stepper/_variables.scss +8 -8
- package/scss/switch/_variables.scss +17 -17
- package/scss/table/_variables.scss +3 -3
- package/scss/tabstrip/_variables.scss +5 -5
- package/scss/taskboard/_variables.scss +5 -5
- package/scss/tilelayout/_variables.scss +1 -1
- package/scss/timeline/_variables.scss +7 -7
- package/scss/timeselector/_layout.scss +1 -1
- package/scss/timeselector/_theme.scss +1 -1
- package/scss/toolbar/_variables.scss +3 -3
- package/scss/tooltip/_variables.scss +4 -4
- package/scss/treeview/_variables.scss +2 -2
- package/scss/upload/_variables.scss +8 -8
- package/scss/utils/_layout.scss +6 -4
- package/scss/window/_variables.scss +7 -7
- package/scss/wizard/_variables.scss +1 -1
- package/scss/core/_layout.scss +0 -13
- package/scss/core/_theme.scss +0 -9
- package/scss/core/color-system/_variables.scss +0 -172
- package/scss/core/functions/_index.scss +0 -3
- package/scss/core/functions/_strings.scss +0 -37
- package/scss/core/helpers/_base.scss +0 -136
- package/scss/core/helpers/_layout.scss +0 -64
- package/scss/core/helpers/_loading.scss +0 -120
- package/scss/core/helpers/_selection.scss +0 -27
- package/scss/core/mixins/_border-radius.scss +0 -60
- package/scss/core/mixins/_box-shadow.scss +0 -8
- package/scss/core/mixins/_decoration.scss +0 -30
- package/scss/core/mixins/_disabled.scss +0 -10
- package/scss/core/mixins/_hide-scrollbar.scss +0 -14
- package/scss/core/mixins/_index.scss +0 -6
- package/scss/core/mixins/_typography.scss +0 -7
|
@@ -45,21 +45,21 @@ $kendo-checkbox-bg: $kendo-component-bg !default;
|
|
|
45
45
|
$kendo-checkbox-text: transparent !default;
|
|
46
46
|
/// The border color of the CheckBox.
|
|
47
47
|
/// @group checkbox
|
|
48
|
-
$kendo-checkbox-border: get-theme-color-var( neutral-160 ) !default;
|
|
48
|
+
$kendo-checkbox-border: k-get-theme-color-var( neutral-160 ) !default;
|
|
49
49
|
|
|
50
50
|
/// The background color of the hovered CheckBox.
|
|
51
51
|
/// @group checkbox
|
|
52
52
|
$kendo-checkbox-hover-bg: $kendo-checkbox-bg !default;
|
|
53
53
|
/// The text color of the hovered CheckBox.
|
|
54
54
|
/// @group checkbox
|
|
55
|
-
$kendo-checkbox-hover-text: get-theme-color( neutral, 130 ) !default;
|
|
55
|
+
$kendo-checkbox-hover-text: k-get-theme-color( neutral, 130 ) !default;
|
|
56
56
|
/// The border color of the hovered CheckBox.
|
|
57
57
|
/// @group checkbox
|
|
58
58
|
$kendo-checkbox-hover-border: $kendo-checkbox-border !default;
|
|
59
59
|
|
|
60
60
|
/// The background color of the checked CheckBox.
|
|
61
61
|
/// @group checkbox
|
|
62
|
-
$kendo-checkbox-checked-bg: get-theme-color-var( primary-100 ) !default;
|
|
62
|
+
$kendo-checkbox-checked-bg: k-get-theme-color-var( primary-100 ) !default;
|
|
63
63
|
/// The text color of the checked CheckBox.
|
|
64
64
|
/// @group checkbox
|
|
65
65
|
$kendo-checkbox-checked-text: $kendo-color-white !default;
|
|
@@ -69,7 +69,7 @@ $kendo-checkbox-checked-border: $kendo-checkbox-checked-bg !default;
|
|
|
69
69
|
|
|
70
70
|
/// The background of the hovered and checked CheckBox.
|
|
71
71
|
/// @group checkbox
|
|
72
|
-
$kendo-checkbox-hover-checked-bg: get-theme-color-var( primary-110 ) !default;
|
|
72
|
+
$kendo-checkbox-hover-checked-bg: k-get-theme-color-var( primary-110 ) !default;
|
|
73
73
|
/// The text color of the hovered and checked CheckBox.
|
|
74
74
|
/// @group checkbox
|
|
75
75
|
$kendo-checkbox-hover-checked-text: $kendo-color-white !default;
|
|
@@ -85,7 +85,7 @@ $kendo-checkbox-focus-border: null !default;
|
|
|
85
85
|
$kendo-checkbox-focus-shadow: null !default;
|
|
86
86
|
/// The outline of the focused CheckBox.
|
|
87
87
|
/// @group checkbox
|
|
88
|
-
$kendo-checkbox-focus-outline: 1px solid get-theme-color-var( neutral-130 ) !default;
|
|
88
|
+
$kendo-checkbox-focus-outline: 1px solid k-get-theme-color-var( neutral-130 ) !default;
|
|
89
89
|
$kendo-checkbox-focus-outline-offset: 2px !default;
|
|
90
90
|
|
|
91
91
|
/// The background color of the indeterminate CheckBox.
|
|
@@ -93,50 +93,50 @@ $kendo-checkbox-focus-outline-offset: 2px !default;
|
|
|
93
93
|
$kendo-checkbox-indeterminate-bg: $kendo-checkbox-bg !default;
|
|
94
94
|
/// The text color of the indeterminate CheckBox.
|
|
95
95
|
/// @group checkbox
|
|
96
|
-
$kendo-checkbox-indeterminate-text: get-theme-color( primary, 100 ) !default;
|
|
96
|
+
$kendo-checkbox-indeterminate-text: k-get-theme-color( primary, 100 ) !default;
|
|
97
97
|
/// The border color of the indeterminate CheckBox.
|
|
98
98
|
/// @group checkbox
|
|
99
|
-
$kendo-checkbox-indeterminate-border: get-theme-color-var( primary-100 ) !default;
|
|
99
|
+
$kendo-checkbox-indeterminate-border: k-get-theme-color-var( primary-100 ) !default;
|
|
100
100
|
|
|
101
101
|
/// The background color of the hovered and indeterminate CheckBox.
|
|
102
102
|
/// @group checkbox
|
|
103
103
|
$kendo-checkbox-hover-indeterminate-bg: $kendo-checkbox-bg !default;
|
|
104
104
|
/// The text color of the hovered and indeterminate CheckBox.
|
|
105
105
|
/// @group checkbox
|
|
106
|
-
$kendo-checkbox-hover-indeterminate-text: get-theme-color( primary, 110 ) !default;
|
|
106
|
+
$kendo-checkbox-hover-indeterminate-text: k-get-theme-color( primary, 110 ) !default;
|
|
107
107
|
/// The border color of the hovered and indeterminate CheckBox.
|
|
108
108
|
/// @group checkbox
|
|
109
|
-
$kendo-checkbox-hover-indeterminate-border: get-theme-color-var( primary-110 ) !default;
|
|
109
|
+
$kendo-checkbox-hover-indeterminate-border: k-get-theme-color-var( primary-110 ) !default;
|
|
110
110
|
|
|
111
111
|
/// The background color of the disabled CheckBox.
|
|
112
112
|
/// @group checkbox
|
|
113
113
|
$kendo-checkbox-disabled-bg: $kendo-checkbox-bg !default;
|
|
114
114
|
/// The text color of the disabled CheckBox.
|
|
115
115
|
/// @group checkbox
|
|
116
|
-
$kendo-checkbox-disabled-text: get-theme-color-var( neutral-60 ) !default;
|
|
116
|
+
$kendo-checkbox-disabled-text: k-get-theme-color-var( neutral-60 ) !default;
|
|
117
117
|
/// The border color of the disabled CheckBox.
|
|
118
118
|
/// @group checkbox
|
|
119
|
-
$kendo-checkbox-disabled-border: get-theme-color-var( neutral-60 ) !default;
|
|
119
|
+
$kendo-checkbox-disabled-border: k-get-theme-color-var( neutral-60 ) !default;
|
|
120
120
|
|
|
121
121
|
/// The background color of the disabled and checked CheckBox.
|
|
122
122
|
/// @group checkbox
|
|
123
|
-
$kendo-checkbox-disabled-checked-bg: get-theme-color-var( neutral-60 ) !default;
|
|
123
|
+
$kendo-checkbox-disabled-checked-bg: k-get-theme-color-var( neutral-60 ) !default;
|
|
124
124
|
/// The text color of the disabled and checked CheckBox.
|
|
125
125
|
/// @group checkbox
|
|
126
126
|
$kendo-checkbox-disabled-checked-text: $kendo-color-white !default;
|
|
127
127
|
/// The border color of the disabled and checked CheckBox.
|
|
128
128
|
/// @group checkbox
|
|
129
|
-
$kendo-checkbox-disabled-checked-border: get-theme-color-var( neutral-60 ) !default;
|
|
129
|
+
$kendo-checkbox-disabled-checked-border: k-get-theme-color-var( neutral-60 ) !default;
|
|
130
130
|
|
|
131
131
|
/// The background color of the disabled and indeterminate CheckBox.
|
|
132
132
|
/// @group checkbox
|
|
133
133
|
$kendo-checkbox-disabled-indeterminate-bg: $kendo-checkbox-bg !default;
|
|
134
134
|
/// The border color of the disabled and indeterminate CheckBox.
|
|
135
135
|
/// @group checkbox
|
|
136
|
-
$kendo-checkbox-disabled-indeterminate-text: get-theme-color( neutral, 60 ) !default;
|
|
136
|
+
$kendo-checkbox-disabled-indeterminate-text: k-get-theme-color( neutral, 60 ) !default;
|
|
137
137
|
/// The border color of the disabled and indeterminate CheckBox.
|
|
138
138
|
/// @group checkbox
|
|
139
|
-
$kendo-checkbox-disabled-indeterminate-border: get-theme-color-var( neutral-60 ) !default;
|
|
139
|
+
$kendo-checkbox-disabled-indeterminate-border: k-get-theme-color-var( neutral-60 ) !default;
|
|
140
140
|
|
|
141
141
|
/// The background color of an invalid CheckBox.
|
|
142
142
|
/// @group checkbox
|
|
@@ -212,7 +212,7 @@ $kendo-checkbox-list-item-padding-y: $kendo-list-md-item-padding-y !default;
|
|
|
212
212
|
|
|
213
213
|
/// The background color of the CheckBox' ripple.
|
|
214
214
|
/// @group checkbox
|
|
215
|
-
$kendo-checkbox-ripple-bg: get-theme-color-var( primary-100 ) !default;
|
|
215
|
+
$kendo-checkbox-ripple-bg: k-get-theme-color-var( primary-100 ) !default;
|
|
216
216
|
/// The opacity of the CheckBox' ripple.
|
|
217
217
|
/// @group checkbox
|
|
218
218
|
$kendo-checkbox-ripple-opacity: .25 !default;
|
|
@@ -37,7 +37,7 @@ $kendo-chip-solid-disabled-border: var( --kendo-disabled-border, inherit ) !defa
|
|
|
37
37
|
$kendo-chip-outline-disabled-bg: var( $kendo-component-bg, transparent ) !default;
|
|
38
38
|
/// The border color of the outline disabled Chip.
|
|
39
39
|
/// @group chip
|
|
40
|
-
$kendo-chip-outline-disabled-border: get-theme-color-var( neutral-90 ) !default;
|
|
40
|
+
$kendo-chip-outline-disabled-border: k-get-theme-color-var( neutral-90 ) !default;
|
|
41
41
|
|
|
42
42
|
/// The offset of the outline focused Chip.
|
|
43
43
|
/// @group chip
|
|
@@ -129,8 +129,8 @@ $_tc-base-matrix: (
|
|
|
129
129
|
hover: (30, 190, 30),
|
|
130
130
|
focus: (20, 160, 130),
|
|
131
131
|
focus-hover: (20, 190, 130),
|
|
132
|
-
selected: (get-theme-color-var( primary-100 ), $kendo-color-white, get-theme-color-var( primary-100 )),
|
|
133
|
-
selected-hover: (get-theme-color-var( primary-100 ), $kendo-color-white, get-theme-color-var( primary-100 )),
|
|
132
|
+
selected: (k-get-theme-color-var( primary-100 ), $kendo-color-white, k-get-theme-color-var( primary-100 )),
|
|
133
|
+
selected-hover: (k-get-theme-color-var( primary-100 ), $kendo-color-white, k-get-theme-color-var( primary-100 )),
|
|
134
134
|
disabled: (var( --kendo-disabled-bg, inherit ), var( --kendo-disabled-text, inherit ), var( --kendo-disabled-border, inherit ))
|
|
135
135
|
),
|
|
136
136
|
outline: (
|
|
@@ -169,12 +169,12 @@ $_tc-brand-matrix: (
|
|
|
169
169
|
// The color matrix for the warning Chips
|
|
170
170
|
$_tc-warning-matrix: (
|
|
171
171
|
solid: (
|
|
172
|
-
normal: (20, get-theme-color-var( grey-160 ), 20),
|
|
173
|
-
hover: (30, get-theme-color-var( grey-190 ), 30),
|
|
174
|
-
focus: (20, get-theme-color-var( grey-160 ), 160),
|
|
175
|
-
focus-hover: (20, get-theme-color-var( grey-190 ), 160),
|
|
176
|
-
selected: (40, get-theme-color-var( grey-190 ), 40),
|
|
177
|
-
selected-hover: (30, get-theme-color-var( grey-190 ), 30),
|
|
172
|
+
normal: (20, k-get-theme-color-var( grey-160 ), 20),
|
|
173
|
+
hover: (30, k-get-theme-color-var( grey-190 ), 30),
|
|
174
|
+
focus: (20, k-get-theme-color-var( grey-160 ), 160),
|
|
175
|
+
focus-hover: (20, k-get-theme-color-var( grey-190 ), 160),
|
|
176
|
+
selected: (40, k-get-theme-color-var( grey-190 ), 40),
|
|
177
|
+
selected-hover: (30, k-get-theme-color-var( grey-190 ), 30),
|
|
178
178
|
disabled: (var( --kendo-disabled-bg, inherit ), var( --kendo-disabled-text, inherit ), var( --kendo-disabled-border, inherit ))
|
|
179
179
|
),
|
|
180
180
|
outline: (
|
|
@@ -195,7 +195,7 @@ $kendo-chip-theme-colors: () !default;
|
|
|
195
195
|
@each $fill-mode, $ui-states in $_tc-base-matrix {
|
|
196
196
|
$kendo-chip-theme-colors: map.deep-merge(
|
|
197
197
|
$kendo-chip-theme-colors,
|
|
198
|
-
generate-fill-mode-theme-variation( $fill-mode, base, neutral, $ui-states )
|
|
198
|
+
k-generate-fill-mode-theme-variation( $fill-mode, base, neutral, $ui-states )
|
|
199
199
|
);
|
|
200
200
|
}
|
|
201
201
|
|
|
@@ -204,7 +204,7 @@ $kendo-chip-theme-colors: () !default;
|
|
|
204
204
|
@each $brand-color in $kendo-chip-brand-colors {
|
|
205
205
|
$kendo-chip-theme-colors: map.deep-merge(
|
|
206
206
|
$kendo-chip-theme-colors,
|
|
207
|
-
generate-fill-mode-theme-variation( $fill-mode, $brand-color, $brand-color, $ui-states )
|
|
207
|
+
k-generate-fill-mode-theme-variation( $fill-mode, $brand-color, $brand-color, $ui-states )
|
|
208
208
|
)
|
|
209
209
|
}
|
|
210
210
|
}
|
|
@@ -213,7 +213,7 @@ $kendo-chip-theme-colors: () !default;
|
|
|
213
213
|
@each $fill-mode, $ui-states in $_tc-warning-matrix {
|
|
214
214
|
$kendo-chip-theme-colors: map.deep-merge(
|
|
215
215
|
$kendo-chip-theme-colors,
|
|
216
|
-
generate-fill-mode-theme-variation( $fill-mode, warning, warning, $ui-states )
|
|
216
|
+
k-generate-fill-mode-theme-variation( $fill-mode, warning, warning, $ui-states )
|
|
217
217
|
);
|
|
218
218
|
}
|
|
219
219
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
/// Border radius of the color preview.
|
|
4
4
|
/// @group color-preview
|
|
5
|
-
$kendo-color-preview-border-radius: var( --kendo-border-radius-md,
|
|
5
|
+
$kendo-color-preview-border-radius: var( --kendo-border-radius-md, #{$kendo-border-radius-md} ) !default;
|
|
6
6
|
/// Border width of the color preview.
|
|
7
7
|
/// @group color-preview
|
|
8
8
|
$kendo-color-preview-border-width: 1px !default;
|
|
@@ -14,17 +14,17 @@ $kendo-color-preview-bg: transparent !default;
|
|
|
14
14
|
$kendo-color-preview-text: inherit !default;
|
|
15
15
|
/// Border color of the color preview.
|
|
16
16
|
/// @group color-preview
|
|
17
|
-
$kendo-color-preview-border: get-theme-color-var( neutral-60 ) !default;
|
|
17
|
+
$kendo-color-preview-border: k-get-theme-color-var( neutral-60 ) !default;
|
|
18
18
|
/// Hover Border color of the color preview.
|
|
19
19
|
/// @group color-preview
|
|
20
|
-
$kendo-color-preview-hover-border: get-theme-color-var( neutral-60 ) !default;
|
|
20
|
+
$kendo-color-preview-hover-border: k-get-theme-color-var( neutral-60 ) !default;
|
|
21
21
|
|
|
22
22
|
/// Background color of the color preview when no color is selected.
|
|
23
23
|
/// @group color-preview
|
|
24
24
|
$kendo-color-preview-no-color-bg: $kendo-color-white !default;
|
|
25
25
|
/// Text color of the color preview when no color is selected.
|
|
26
26
|
/// @group color-preview
|
|
27
|
-
$kendo-color-preview-no-color-text: get-theme-color( error, 190 ) !default;
|
|
27
|
+
$kendo-color-preview-no-color-text: k-get-theme-color( error, 190 ) !default;
|
|
28
28
|
/// Border color of the color preview when no color is selected.
|
|
29
29
|
/// @group color-preview
|
|
30
30
|
$kendo-color-preview-no-color-border: currentColor !default;
|
|
@@ -14,7 +14,7 @@ $kendo-color-editor-min-width: 260px !default;
|
|
|
14
14
|
$kendo-color-editor-border-width: 1px !default;
|
|
15
15
|
/// The border radius of the ColorEditor.
|
|
16
16
|
/// @group coloreditor
|
|
17
|
-
$kendo-color-editor-border-radius: var( --kendo-border-radius-md,
|
|
17
|
+
$kendo-color-editor-border-radius: var( --kendo-border-radius-md, #{$kendo-border-radius-md} ) !default;
|
|
18
18
|
/// The font family of the ColorEditor.
|
|
19
19
|
/// @group coloreditor
|
|
20
20
|
$kendo-color-editor-font-family: var( --kendo-font-family, inherit ) !default;
|
|
@@ -39,7 +39,7 @@ $kendo-color-editor-shadow: var( --kendo-box-shadow-depth-2, none ) !default;
|
|
|
39
39
|
|
|
40
40
|
/// The border color of the focused ColorEditor.
|
|
41
41
|
/// @group coloreditor
|
|
42
|
-
$kendo-color-editor-focus-border: get-theme-color-var( neutral-20 ) !default;
|
|
42
|
+
$kendo-color-editor-focus-border: k-get-theme-color-var( neutral-20 ) !default;
|
|
43
43
|
/// The box shadow of the focused ColorEditor.
|
|
44
44
|
/// @group coloreditor
|
|
45
45
|
$kendo-color-editor-focus-shadow: var( --kendo-box-shadow-depth-3, none ) !default;
|
|
@@ -14,7 +14,7 @@ $kendo-color-gradient-width: 260px !default;
|
|
|
14
14
|
$kendo-color-gradient-border-width: 1px !default;
|
|
15
15
|
/// The border radius of the ColorGradient.
|
|
16
16
|
/// @group cologradient
|
|
17
|
-
$kendo-color-gradient-border-radius: var( --kendo-border-radius-md,
|
|
17
|
+
$kendo-color-gradient-border-radius: var( --kendo-border-radius-md, #{$kendo-border-radius-md} ) !default;
|
|
18
18
|
/// The vertical padding of the ColorGradient.
|
|
19
19
|
/// @group cologradient
|
|
20
20
|
$kendo-color-gradient-padding-y: $kendo-color-gradient-spacer !default;
|
|
@@ -49,7 +49,7 @@ $kendo-color-gradient-shadow: var( --kendo-box-shadow-depth-2, none ) !default;
|
|
|
49
49
|
|
|
50
50
|
/// The border color of the focused ColorGradient.
|
|
51
51
|
/// @group cologradient
|
|
52
|
-
$kendo-color-gradient-focus-border: get-theme-color-var( neutral-20 ) !default;
|
|
52
|
+
$kendo-color-gradient-focus-border: k-get-theme-color-var( neutral-20 ) !default;
|
|
53
53
|
/// The box shadow of the focused ColorGradient.
|
|
54
54
|
/// @group cologradient
|
|
55
55
|
$kendo-color-gradient-focus-shadow: var( --kendo-box-shadow-depth-3, none ) !default;
|
|
@@ -59,7 +59,7 @@ $kendo-color-gradient-focus-shadow: var( --kendo-box-shadow-depth-3, none ) !def
|
|
|
59
59
|
$kendo-color-gradient-canvas-border-width: 0 !default;
|
|
60
60
|
/// The border radius of the ColorGradient canvas.
|
|
61
61
|
/// @group cologradient
|
|
62
|
-
$kendo-color-gradient-canvas-border-radius: var( --kendo-border-radius-md,
|
|
62
|
+
$kendo-color-gradient-canvas-border-radius: var( --kendo-border-radius-md, #{$kendo-border-radius-md} ) !default;
|
|
63
63
|
/// The spacing between the items of the ColorGradient canvas.
|
|
64
64
|
/// @group cologradient
|
|
65
65
|
$kendo-color-gradient-canvas-spacing: math.div( $kendo-color-gradient-spacer, 2 ) !default;
|
|
@@ -68,7 +68,7 @@ $kendo-color-gradient-canvas-spacing: math.div( $kendo-color-gradient-spacer, 2
|
|
|
68
68
|
$kendo-color-gradient-canvas-rectangle-height: 180px !default;
|
|
69
69
|
/// The border color of the ColorGradient canvas hsv rectangle.
|
|
70
70
|
/// @group cologradient
|
|
71
|
-
$kendo-color-gradient-canvas-rectangle-border: get-theme-color-var( neutral-30 ) !default;
|
|
71
|
+
$kendo-color-gradient-canvas-rectangle-border: k-get-theme-color-var( neutral-30 ) !default;
|
|
72
72
|
/// The box shadow of the ColorGradient canvas drag handle.
|
|
73
73
|
/// @group cologradient
|
|
74
74
|
$kendo-color-gradient-canvas-draghandle-shadow: 0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13), inset 0px 0px 0px 3px #FFFFFF !default;
|
|
@@ -78,13 +78,13 @@ $kendo-color-gradient-canvas-draghandle-shadow: 0px 0.6px 1.8px rgba(0, 0, 0, 0.
|
|
|
78
78
|
$kendo-color-gradient-slider-track-size: 20px !default;
|
|
79
79
|
/// The border radius of the ColorGradient slider.
|
|
80
80
|
/// @group cologradient
|
|
81
|
-
$kendo-color-gradient-slider-border-radius: var( --kendo-border-radius-md,
|
|
81
|
+
$kendo-color-gradient-slider-border-radius: var( --kendo-border-radius-md, #{$kendo-border-radius-md} ) !default;
|
|
82
82
|
/// The width of the border around the ColorGradient slider.
|
|
83
83
|
/// @group cologradient
|
|
84
84
|
$kendo-color-gradient-slider-border-width: 1px !default;
|
|
85
85
|
/// The color of the border around the ColorGradient slider.
|
|
86
86
|
/// @group cologradient
|
|
87
|
-
$kendo-color-gradient-slider-border: get-theme-color-var( neutral-30 ) !default;
|
|
87
|
+
$kendo-color-gradient-slider-border: k-get-theme-color-var( neutral-30 ) !default;
|
|
88
88
|
|
|
89
89
|
/// The height of the ColorGradient vertical slider.
|
|
90
90
|
/// @group cologradient
|
|
@@ -107,13 +107,13 @@ $kendo-color-gradient-draghandle-height: 20px !default;
|
|
|
107
107
|
$kendo-color-gradient-draghandle-border-width: 1px !default;
|
|
108
108
|
/// The color of the border around the ColorGradient canvas drag handle.
|
|
109
109
|
/// @group cologradient
|
|
110
|
-
$kendo-color-gradient-draghandle-border: get-theme-color-var( neutral-110 ) !default;
|
|
110
|
+
$kendo-color-gradient-draghandle-border: k-get-theme-color-var( neutral-110 ) !default;
|
|
111
111
|
/// The box shadow of the ColorGradient canvas drag handle.
|
|
112
112
|
/// @group cologradient
|
|
113
113
|
$kendo-color-gradient-draghandle-shadow: var( --kendo-box-shadow-depth-2, none ) !default;
|
|
114
114
|
/// The color of the border around the focused ColorGradient canvas drag handle.
|
|
115
115
|
/// @group cologradient
|
|
116
|
-
$kendo-color-gradient-draghandle-focus-border: get-theme-color-var( neutral-160 ) !default;
|
|
116
|
+
$kendo-color-gradient-draghandle-focus-border: k-get-theme-color-var( neutral-160 ) !default;
|
|
117
117
|
/// The box shadow of the focused ColorGradient canvas drag handle.
|
|
118
118
|
/// @group cologradient
|
|
119
119
|
$kendo-color-gradient-draghandle-focus-shadow: $kendo-color-gradient-draghandle-shadow !default;
|
|
@@ -28,13 +28,13 @@ $kendo-color-palette-tile-width: map.get( $kendo-spacing, 6 ) !default;
|
|
|
28
28
|
$kendo-color-palette-tile-height: $kendo-color-palette-tile-width !default;
|
|
29
29
|
/// The outline color of the ColorPalette focused tile.
|
|
30
30
|
/// @group colorpalette
|
|
31
|
-
$kendo-color-palette-tile-focus-outline: get-theme-color-var( neutral-130 ) !default;
|
|
31
|
+
$kendo-color-palette-tile-focus-outline: k-get-theme-color-var( neutral-130 ) !default;
|
|
32
32
|
/// The shadow of the ColorPalette focused tile.
|
|
33
33
|
/// @group colorpalette
|
|
34
34
|
$kendo-color-palette-tile-focus-shadow: inset 0 0 0 2px $kendo-color-white !default;
|
|
35
35
|
/// The outline color of the ColorPalette hovered tile.
|
|
36
36
|
/// @group colorpalette
|
|
37
|
-
$kendo-color-palette-tile-hover-outline: get-theme-color-var( neutral-20 ) !default;
|
|
37
|
+
$kendo-color-palette-tile-hover-outline: k-get-theme-color-var( neutral-20 ) !default;
|
|
38
38
|
/// The shadow of the ColorPalette hovered tile.
|
|
39
39
|
/// @group colorpalette
|
|
40
40
|
$kendo-color-palette-tile-hover-shadow: inset 0 0 0 2px $kendo-color-palette-tile-hover-outline, inset 0 0 0 4px $kendo-color-white !default;
|
package/scss/core/_index.scss
CHANGED
|
@@ -1,24 +1,19 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
2
|
|
|
3
|
-
//
|
|
4
|
-
@
|
|
3
|
+
// Palettes
|
|
4
|
+
@use "./color-system/palettes" as *;
|
|
5
5
|
|
|
6
6
|
// Variables
|
|
7
|
+
@use "./variables" as *;
|
|
7
8
|
@forward "./variables";
|
|
8
9
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
// Color System
|
|
13
|
-
@forward "./color-system";
|
|
10
|
+
@forward "@progress/kendo-theme-core/scss/index.import.scss" with (
|
|
11
|
+
$kendo-palettes: $kendo-fluent-palettes
|
|
12
|
+
);
|
|
14
13
|
|
|
15
14
|
// Helpers
|
|
16
15
|
@use "./helpers";
|
|
17
16
|
|
|
18
|
-
// Common styles
|
|
19
|
-
@use "./layout";
|
|
20
|
-
@use "./theme";
|
|
21
|
-
|
|
22
17
|
// Module System
|
|
23
18
|
@use "./module-system/" as module;
|
|
24
19
|
|
|
@@ -2,54 +2,10 @@
|
|
|
2
2
|
@use "sass:math";
|
|
3
3
|
@use "sass:meta";
|
|
4
4
|
|
|
5
|
-
// Options
|
|
6
|
-
$kendo-enable-shadows: true !default;
|
|
7
|
-
$kendo-enable-rounded: true !default;
|
|
8
|
-
$kendo-enable-gradients: true !default;
|
|
9
|
-
$kendo-enable-transitions: true !default;
|
|
10
|
-
|
|
11
5
|
$kendo-use-input-button-width: true !default;
|
|
12
6
|
$kendo-use-input-spinner-width: true !default;
|
|
13
7
|
$kendo-use-input-spinner-icon-offset: false !default;
|
|
14
8
|
|
|
15
|
-
$kendo-spacing: (
|
|
16
|
-
0: 0,
|
|
17
|
-
1px: 1px,
|
|
18
|
-
0.5: .125rem,
|
|
19
|
-
1: .25rem,
|
|
20
|
-
1.5: .375rem,
|
|
21
|
-
2: .5rem,
|
|
22
|
-
2.5: .625rem,
|
|
23
|
-
3: .75rem,
|
|
24
|
-
3.5: .875rem,
|
|
25
|
-
4: 1rem,
|
|
26
|
-
4.5: 1.125rem,
|
|
27
|
-
5: 1.25rem,
|
|
28
|
-
5.5: 1.375rem,
|
|
29
|
-
6: 1.5rem,
|
|
30
|
-
6.5: 1.625rem,
|
|
31
|
-
7: 1.75rem,
|
|
32
|
-
7.5: 1.875rem,
|
|
33
|
-
8: 2rem,
|
|
34
|
-
9: 2.25rem,
|
|
35
|
-
10: 2.5rem,
|
|
36
|
-
11: 2.75rem,
|
|
37
|
-
12: 3rem,
|
|
38
|
-
13: 3.25rem,
|
|
39
|
-
14: 3.5rem,
|
|
40
|
-
15: 3.75rem,
|
|
41
|
-
16: 4rem,
|
|
42
|
-
17: 4.25rem,
|
|
43
|
-
18: 4.5rem,
|
|
44
|
-
19: 4.75rem,
|
|
45
|
-
20: 5rem,
|
|
46
|
-
21: 5.25rem,
|
|
47
|
-
22: 5.5rem,
|
|
48
|
-
23: 5.75rem,
|
|
49
|
-
24: 6rem
|
|
50
|
-
) !default;
|
|
51
|
-
|
|
52
|
-
|
|
53
9
|
/// Base font size across all components.
|
|
54
10
|
$kendo-font-size: 14px !default;
|
|
55
11
|
$kendo-font-size-xs: 10px !default;
|
|
@@ -87,42 +43,11 @@ $kendo-font-weight-bold: 600 !default;
|
|
|
87
43
|
|
|
88
44
|
$kendo-letter-spacing: normal !default;
|
|
89
45
|
|
|
90
|
-
$kendo-scrollbar-width: 17px !default;
|
|
91
|
-
|
|
92
|
-
/// Border radius for all components.
|
|
93
|
-
$kendo-border-radius: map.get( $kendo-spacing, 0.5 ) !default;
|
|
94
|
-
$kendo-border-radius-sm: math.div( $kendo-border-radius, 2 ) !default;
|
|
95
|
-
$kendo-border-radius-md: $kendo-border-radius !default;
|
|
96
|
-
$kendo-border-radius-lg: ( $kendo-border-radius * 2 ) !default;
|
|
97
|
-
|
|
98
|
-
$kendo-border-radii: (
|
|
99
|
-
DEFAULT: var( --kendo-border-radius-md, $kendo-border-radius-md ),
|
|
100
|
-
0: 0,
|
|
101
|
-
sm: var( --kendo-border-radius-sm, $kendo-border-radius-sm ),
|
|
102
|
-
md: var( --kendo-border-radius-md, $kendo-border-radius-md ),
|
|
103
|
-
lg: var( --kendo-border-radius-lg, $kendo-border-radius-lg ),
|
|
104
|
-
none: 0,
|
|
105
|
-
full: 9999px
|
|
106
|
-
) !default;
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
// Metrics
|
|
110
|
-
$kendo-padding-x: map.get( $kendo-spacing, 2 ) !default;
|
|
111
|
-
$kendo-padding-y: map.get( $kendo-spacing, 1 ) !default;
|
|
112
|
-
$kendo-padding-sm-x: map.get( $kendo-spacing, 1 ) !default;
|
|
113
|
-
$kendo-padding-sm-y: map.get( $kendo-spacing, 0.5 ) !default;
|
|
114
|
-
$kendo-padding-md-x: map.get( $kendo-spacing, 2 ) !default;
|
|
115
|
-
$kendo-padding-md-y: map.get( $kendo-spacing, 1 ) !default;
|
|
116
|
-
$kendo-padding-lg-x: map.get( $kendo-spacing, 3 ) !default;
|
|
117
|
-
$kendo-padding-lg-y: map.get( $kendo-spacing, 1.5 ) !default;
|
|
46
|
+
// $kendo-scrollbar-width: 17px !default;
|
|
118
47
|
|
|
119
48
|
// Default transition
|
|
120
49
|
$kendo-transition: color .2s ease-in-out, background-color .2s ease-in-out, border-color .2s ease-in-out, box-shadow .2s ease-in-out, opacity .2s ease-in-out, width .2s ease-in-out, height .2s ease-in-out !default;
|
|
121
50
|
|
|
122
|
-
// Loading
|
|
123
|
-
$kendo-loading-opacity: .3 !default;
|
|
124
|
-
$kendo-zindex-loading: 100 !default;
|
|
125
|
-
|
|
126
51
|
@mixin core-styles() {
|
|
127
52
|
:root {
|
|
128
53
|
--kendo-font-family: #{meta.inspect($kendo-font-family)};
|
|
@@ -146,9 +71,6 @@ $kendo-zindex-loading: 100 !default;
|
|
|
146
71
|
|
|
147
72
|
--kendo-letter-spacing: #{$kendo-letter-spacing};
|
|
148
73
|
|
|
149
|
-
--kendo-border-radius-sm: #{$kendo-border-radius-sm};
|
|
150
|
-
--kendo-border-radius-md: #{$kendo-border-radius-md};
|
|
151
|
-
--kendo-border-radius-lg: #{$kendo-border-radius-lg};
|
|
152
74
|
|
|
153
75
|
--kendo-transition: #{$kendo-transition};
|
|
154
76
|
}
|
|
@@ -1,67 +1,5 @@
|
|
|
1
|
-
@use
|
|
2
|
-
@use "sass:list";
|
|
3
|
-
@use "../palettes" as *;
|
|
1
|
+
@use '../palettes' as *;
|
|
4
2
|
|
|
5
|
-
@
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
@function get-theme-color($palette, $hue) {
|
|
10
|
-
@return map.get( get-theme-palette( $palette ), $hue );
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
@function get-theme-color-var( $name, $fallback: "inherit", $prefix: "kendo") {
|
|
14
|
-
@return var( --#{$prefix}-#{$name}, #{$fallback} );
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
@function generate-theme-variation( $theme-color, $source-palette-name, $mapping ) {
|
|
18
|
-
$temp: ();
|
|
19
|
-
|
|
20
|
-
@each $ui-state, $indices in $mapping {
|
|
21
|
-
$prefix: if( $ui-state == normal, '', '#{$ui-state}-' );
|
|
22
|
-
|
|
23
|
-
$bg-prop: list.nth($indices, 1);
|
|
24
|
-
$text-prop: list.nth($indices, 2);
|
|
25
|
-
$border-prop: list.nth($indices, 3);
|
|
26
|
-
|
|
27
|
-
// Take value from the palette only if it is a number
|
|
28
|
-
$bg: if( type_of($bg-prop) == number, get-theme-color-var( #{$source-palette-name}-#{$bg-prop} ), $bg-prop );
|
|
29
|
-
$text: if( type_of($text-prop) == number, get-theme-color-var( #{$source-palette-name}-#{$text-prop} ), $text-prop );
|
|
30
|
-
$border: if( type_of($border-prop) == number, get-theme-color-var( #{$source-palette-name}-#{$border-prop} ), $border-prop );
|
|
31
|
-
|
|
32
|
-
$temp: map.deep-merge( $temp, (
|
|
33
|
-
#{$prefix}bg: $bg,
|
|
34
|
-
#{$prefix}text: $text,
|
|
35
|
-
#{$prefix}border: $border
|
|
36
|
-
));
|
|
37
|
-
|
|
38
|
-
// Add outline if provided in the map
|
|
39
|
-
@if ( list.length($indices) > 3 ) {
|
|
40
|
-
$outline-prop: list.nth($indices, 4);
|
|
41
|
-
$outline: if( type_of($outline-prop) == number, get-theme-color-var( #{$source-palette-name}-#{$outline-prop} ), $outline-prop );
|
|
42
|
-
|
|
43
|
-
$temp: map.deep-merge( $temp, (
|
|
44
|
-
#{$prefix}outline: $outline
|
|
45
|
-
));
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
$map: (
|
|
50
|
-
#{$theme-color}: $temp
|
|
51
|
-
);
|
|
52
|
-
|
|
53
|
-
@return $map;
|
|
54
|
-
|
|
55
|
-
};
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
@function generate-fill-mode-theme-variation( $fill-mode, $theme-color, $source-palette-name, $mapping ) {
|
|
59
|
-
|
|
60
|
-
$map: generate-theme-variation( $theme-color, $source-palette-name, $mapping );
|
|
61
|
-
|
|
62
|
-
$result: (
|
|
63
|
-
#{$fill-mode}: $map
|
|
64
|
-
);
|
|
65
|
-
|
|
66
|
-
@return $result;
|
|
67
|
-
}
|
|
3
|
+
@forward "@progress/kendo-theme-core/scss/color-system/functions.import.scss" with (
|
|
4
|
+
$kendo-palettes: $kendo-fluent-palettes
|
|
5
|
+
)
|
|
@@ -400,10 +400,10 @@
|
|
|
400
400
|
selected-background: $kendo-selected-bg,
|
|
401
401
|
selected-text-color: $kendo-selected-text,
|
|
402
402
|
|
|
403
|
-
success: get-theme-color( success, 100 ),
|
|
404
|
-
info: get-theme-color( info, 100 ),
|
|
405
|
-
warning: get-theme-color( warning, 100 ),
|
|
406
|
-
error: get-theme-color( error, 100 ),
|
|
403
|
+
success: k-get-theme-color( success, 100 ),
|
|
404
|
+
info: k-get-theme-color( info, 100 ),
|
|
405
|
+
warning: k-get-theme-color( warning, 100 ),
|
|
406
|
+
error: k-get-theme-color( error, 100 ),
|
|
407
407
|
|
|
408
408
|
series-a: $kendo-series-a,
|
|
409
409
|
series-b: $kendo-series-b,
|
|
@@ -444,7 +444,7 @@
|
|
|
444
444
|
series-30: $kendo-series-30,
|
|
445
445
|
|
|
446
446
|
gauge-pointer: $kendo-series-f,
|
|
447
|
-
gauge-track: get-theme-color-var( neutral-30 )
|
|
447
|
+
gauge-track: k-get-theme-color-var( neutral-30 )
|
|
448
448
|
);
|
|
449
449
|
|
|
450
450
|
@each $name, $value in $exported {
|