@progress/kendo-theme-fluent 10.6.0 → 11.0.0-dev.1
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 +1 -1
- package/dist/fluent-main-dark.css +1 -1
- package/dist/fluent-main-dark.scss +1 -1
- package/dist/fluent-main.css +1 -1
- package/dist/fluent-main.scss +1 -5
- package/dist/meta/sassdoc-data.json +5942 -5186
- package/dist/meta/sassdoc-raw-data.json +2420 -2070
- package/dist/meta/variables.json +657 -1022
- package/lib/swatches/all.json +2 -13
- package/lib/swatches/fluent-main-dark.json +1 -12
- package/lib/swatches/fluent-main.json +2 -14
- package/package.json +4 -4
- package/scss/action-sheet/_variables.scss +16 -12
- package/scss/adaptive/_theme.scss +3 -3
- package/scss/adaptive/_variables.scss +13 -13
- package/scss/appbar/_variables.scss +10 -10
- package/scss/avatar/_variables.scss +11 -11
- package/scss/badge/_layout.scss +1 -1
- package/scss/badge/_variables.scss +14 -14
- package/scss/bottom-navigation/_variables.scss +35 -35
- package/scss/breadcrumb/_variables.scss +13 -13
- package/scss/button/_layout.scss +1 -1
- package/scss/button/_variables.scss +172 -172
- package/scss/calendar/_layout.scss +2 -1
- package/scss/calendar/_theme.scss +7 -3
- package/scss/calendar/_variables.scss +39 -27
- package/scss/captcha/_variables.scss +3 -3
- package/scss/card/_layout.scss +0 -1
- package/scss/card/_theme.scss +4 -0
- package/scss/card/_variables.scss +7 -7
- package/scss/chart-wizard/_variables.scss +4 -4
- package/scss/chat/_variables.scss +15 -15
- package/scss/checkbox/_variables.scss +22 -22
- package/scss/chip/_layout.scss +1 -0
- package/scss/chip/_variables.scss +52 -48
- package/scss/color-preview/_theme.scss +1 -1
- package/scss/color-preview/_variables.scss +4 -4
- package/scss/coloreditor/_variables.scss +4 -4
- package/scss/colorgradient/_layout.scss +1 -10
- package/scss/colorgradient/_variables.scss +14 -38
- package/scss/colorpalette/_variables.scss +4 -4
- package/scss/column-menu/_variables.scss +1 -1
- package/scss/core/_index.scss +8 -5
- package/scss/core/color-system/_index.scss +0 -1
- package/scss/core/color-system/_swatch.scss +0 -4
- package/scss/dataviz/_layout.scss +8 -8
- package/scss/dataviz/_theme.scss +3 -3
- package/scss/dataviz/_variables.scss +56 -56
- package/scss/daterangepicker/_theme.scss +1 -1
- package/scss/dialog/_theme.scss +1 -0
- package/scss/dialog/_variables.scss +12 -8
- package/scss/dock-manager/_variables.scss +10 -10
- package/scss/draggable/_variables.scss +4 -4
- package/scss/drawer/_layout.scss +5 -2
- package/scss/drawer/_theme.scss +7 -0
- package/scss/drawer/_variables.scss +34 -16
- package/scss/dropzone/_variables.scss +6 -6
- package/scss/editor/_theme.scss +2 -2
- package/scss/editor/_variables.scss +15 -15
- package/scss/expansion-panel/_variables.scss +14 -14
- package/scss/fab/_theme.scss +3 -3
- package/scss/fab/_variables.scss +12 -12
- package/scss/filemanager/_variables.scss +5 -5
- package/scss/filter/_variables.scss +5 -5
- package/scss/floating-label/_variables.scss +1 -1
- package/scss/forms/_theme.scss +2 -2
- package/scss/forms/_variables.scss +4 -4
- package/scss/gantt/_theme.scss +3 -3
- package/scss/gantt/_variables.scss +36 -36
- package/scss/grid/_layout.scss +1 -1
- package/scss/grid/_theme.scss +13 -43
- package/scss/grid/_variables.scss +20 -20
- package/scss/imageeditor/_variables.scss +6 -6
- package/scss/index.scss +3 -3
- package/scss/input/_theme.scss +3 -5
- package/scss/input/_variables.scss +74 -80
- package/scss/list/_layout.scss +8 -0
- package/scss/list/_variables.scss +46 -26
- package/scss/listbox/_variables.scss +4 -4
- package/scss/listgroup/_variables.scss +3 -3
- package/scss/listview/_variables.scss +4 -4
- package/scss/loader/_variables.scss +9 -9
- package/scss/map/_variables.scss +8 -8
- package/scss/marquee/_index.scss +16 -0
- package/scss/marquee/_layout.scss +6 -0
- package/scss/marquee/_theme.scss +6 -0
- package/scss/marquee/_variables.scss +11 -0
- package/scss/mediaplayer/_variables.scss +6 -6
- package/scss/menu/_theme.scss +1 -1
- package/scss/menu/_variables.scss +11 -11
- package/scss/messagebox/_theme.scss +1 -1
- package/scss/messagebox/_variables.scss +30 -2
- package/scss/no-data/_variables.scss +1 -1
- package/scss/notification/_layout.scss +2 -0
- package/scss/notification/_variables.scss +17 -10
- package/scss/orgchart/_variables.scss +8 -8
- package/scss/pager/_variables.scss +6 -6
- package/scss/panel/_layout.scss +3 -3
- package/scss/panel/_variables.scss +3 -3
- package/scss/panelbar/_variables.scss +12 -12
- package/scss/pdf-viewer/_variables.scss +16 -16
- package/scss/pivotgrid/_theme.scss +4 -4
- package/scss/pivotgrid/_variables.scss +22 -22
- package/scss/popover/_variables.scss +3 -3
- package/scss/popup/_variables.scss +3 -3
- package/scss/progressbar/_variables.scss +13 -13
- package/scss/prompt/_variables.scss +12 -12
- package/scss/radio/_variables.scss +13 -13
- package/scss/rating/_theme.scss +2 -2
- package/scss/rating/_variables.scss +4 -4
- package/scss/scheduler/_theme.scss +5 -5
- package/scss/scheduler/_variables.scss +17 -17
- package/scss/scrollview/_variables.scss +11 -11
- 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 +12 -12
- package/scss/split-button/_variables.scss +1 -1
- package/scss/splitter/_variables.scss +8 -8
- package/scss/spreadsheet/_variables.scss +29 -29
- package/scss/stepper/_theme.scss +29 -53
- package/scss/stepper/_variables.scss +20 -20
- package/scss/switch/_variables.scss +32 -32
- package/scss/table/_theme.scss +7 -18
- package/scss/table/_variables.scss +8 -8
- package/scss/tabstrip/_variables.scss +17 -16
- package/scss/taskboard/_theme.scss +4 -4
- package/scss/taskboard/_variables.scss +13 -13
- package/scss/tilelayout/_variables.scss +2 -2
- package/scss/timeline/_variables.scss +14 -14
- package/scss/timeselector/_theme.scss +14 -11
- package/scss/timeselector/_variables.scss +13 -4
- package/scss/toolbar/_layout.scss +6 -0
- package/scss/toolbar/_variables.scss +7 -7
- package/scss/tooltip/_variables.scss +10 -10
- package/scss/treeview/_variables.scss +11 -11
- package/scss/typography/_layout.scss +2 -2
- package/scss/typography/_theme.scss +2 -2
- package/scss/typography/_variables.scss +3 -3
- package/scss/upload/_theme.scss +2 -2
- package/scss/upload/_variables.scss +14 -14
- package/scss/window/_variables.scss +11 -11
- package/scss/wizard/_variables.scss +3 -3
- package/scss/core/color-system/_swatch-legacy.scss +0 -165
|
@@ -19,13 +19,13 @@ $kendo-upload-max-height: 300px !default;
|
|
|
19
19
|
|
|
20
20
|
/// The text color of the Upload.
|
|
21
21
|
/// @group upload
|
|
22
|
-
$kendo-upload-text:
|
|
22
|
+
$kendo-upload-text: k-color(on-app-surface) !default;
|
|
23
23
|
/// The background color of the Upload.
|
|
24
24
|
/// @group upload
|
|
25
|
-
$kendo-upload-bg:
|
|
25
|
+
$kendo-upload-bg: k-color(surface-alt) !default;
|
|
26
26
|
/// The border color of the Upload.
|
|
27
27
|
/// @group upload
|
|
28
|
-
$kendo-upload-border:
|
|
28
|
+
$kendo-upload-border: color-mix(in srgb, k-color(border) 16%, transparent) !default;
|
|
29
29
|
|
|
30
30
|
/// The horizontal padding of the Upload dropzone.
|
|
31
31
|
/// @group upload
|
|
@@ -35,20 +35,20 @@ $kendo-upload-dropzone-padding-x: k-spacing(2) !default;
|
|
|
35
35
|
$kendo-upload-dropzone-padding-y: k-spacing(2) !default;
|
|
36
36
|
/// The text color of the Upload dropzone.
|
|
37
37
|
/// @group upload
|
|
38
|
-
$kendo-upload-dropzone-text:
|
|
38
|
+
$kendo-upload-dropzone-text: k-color(subtle) !default;
|
|
39
39
|
/// The background color of the Upload dropzone.
|
|
40
40
|
/// @group upload
|
|
41
|
-
$kendo-upload-dropzone-bg:
|
|
41
|
+
$kendo-upload-dropzone-bg: k-color(surface) !default;
|
|
42
42
|
/// The border color of the Upload dropzone.
|
|
43
43
|
/// @group upload
|
|
44
|
-
$kendo-upload-dropzone-border:
|
|
44
|
+
$kendo-upload-dropzone-border: color-mix(in srgb, k-color(border) 16%, transparent) !default;
|
|
45
45
|
/// The background color of the hovered Upload dropzone.
|
|
46
46
|
/// @group upload
|
|
47
|
-
$kendo-upload-dropzone-hover-bg:
|
|
47
|
+
$kendo-upload-dropzone-hover-bg: k-color(base-hover) !default;
|
|
48
48
|
|
|
49
49
|
/// The text color of the Upload status message.
|
|
50
50
|
/// @group upload
|
|
51
|
-
$kendo-upload-status-text:
|
|
51
|
+
$kendo-upload-status-text: k-color(subtle) !default;
|
|
52
52
|
/// The opacity of the Upload status message.
|
|
53
53
|
/// @group upload
|
|
54
54
|
$kendo-upload-status-text-opacity: null !default;
|
|
@@ -72,28 +72,28 @@ $kendo-upload-validation-font-size: var( --kendo-font-size-xs, inherit ) !defaul
|
|
|
72
72
|
$kendo-upload-icon-spacing: var( --kendo-icon-spacing, .5rem ) !default;
|
|
73
73
|
/// The color of the uploaded items icon.
|
|
74
74
|
/// @group upload
|
|
75
|
-
$kendo-upload-icon-color:
|
|
75
|
+
$kendo-upload-icon-color: k-color(subtle) !default;
|
|
76
76
|
|
|
77
77
|
/// The thickness of the Upload progress bar.
|
|
78
78
|
/// @group upload
|
|
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:
|
|
82
|
+
$kendo-upload-progress-bg: k-color(primary) !default;
|
|
83
83
|
|
|
84
84
|
/// The success text color of the Upload.
|
|
85
85
|
/// @group upload
|
|
86
|
-
$kendo-upload-success-text:
|
|
86
|
+
$kendo-upload-success-text: k-color(success-on-surface) !default;
|
|
87
87
|
/// The success background color of the Upload progress bar.
|
|
88
88
|
/// @group upload
|
|
89
|
-
$kendo-upload-success-bg:
|
|
89
|
+
$kendo-upload-success-bg: k-color(success-on-surface) !default;
|
|
90
90
|
|
|
91
91
|
/// The error text color of the Upload.
|
|
92
92
|
/// @group upload
|
|
93
|
-
$kendo-upload-error-text:
|
|
93
|
+
$kendo-upload-error-text: k-color(error-on-surface) !default;
|
|
94
94
|
/// The error background color of the Upload progress bar.
|
|
95
95
|
/// @group upload
|
|
96
|
-
$kendo-upload-error-bg:
|
|
96
|
+
$kendo-upload-error-bg: k-color(error-on-surface) !default;
|
|
97
97
|
|
|
98
98
|
/// The shadow of the focused Upload button, actions and uploaded items.
|
|
99
99
|
/// @group upload
|
|
@@ -72,13 +72,13 @@ $kendo-window-buttongroup-spacing: k-spacing(3) !default;
|
|
|
72
72
|
|
|
73
73
|
/// The background color of the Window.
|
|
74
74
|
/// @group window
|
|
75
|
-
$kendo-window-bg:
|
|
75
|
+
$kendo-window-bg: k-color(surface-alt) !default;
|
|
76
76
|
/// The text color of the Window.
|
|
77
77
|
/// @group window
|
|
78
|
-
$kendo-window-text:
|
|
78
|
+
$kendo-window-text: k-color(on-app-surface) !default;
|
|
79
79
|
/// The border color of the Window.
|
|
80
80
|
/// @group window
|
|
81
|
-
$kendo-window-border:
|
|
81
|
+
$kendo-window-border: k-color(primary) !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;
|
|
@@ -88,13 +88,13 @@ $kendo-window-focus-shadow: var( --kendo-box-shadow-depth-9, none ) !default;
|
|
|
88
88
|
|
|
89
89
|
/// The background color of the Window titlebar.
|
|
90
90
|
/// @group window
|
|
91
|
-
$kendo-window-titlebar-bg:
|
|
91
|
+
$kendo-window-titlebar-bg: k-color(surface-alt) !default; // $kendo-component-header-bg
|
|
92
92
|
/// The text color of the Window titlebar.
|
|
93
93
|
/// @group window
|
|
94
|
-
$kendo-window-titlebar-text:
|
|
94
|
+
$kendo-window-titlebar-text: k-color(primary) !default; // $kendo-component-header-text
|
|
95
95
|
/// The border color of the Window titlebar.
|
|
96
96
|
/// @group window
|
|
97
|
-
$kendo-window-titlebar-border:
|
|
97
|
+
$kendo-window-titlebar-border: k-color(primary) !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:
|
|
115
|
+
(normal: (color, on-color, color)),
|
|
116
116
|
) !default;
|
|
117
117
|
|
|
118
118
|
$_tc-window-dark-matrix: (
|
|
119
|
-
(normal:
|
|
119
|
+
(normal: (color, on-color, color)),
|
|
120
120
|
) !default;
|
|
121
121
|
|
|
122
122
|
$_tc-window-light-matrix: (
|
|
123
|
-
(normal:
|
|
123
|
+
(normal: (color, on-color, color)),
|
|
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,
|
|
142
|
+
k-generate-theme-variation( dark, dark, $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,
|
|
149
|
+
k-generate-theme-variation( light, light, $ui-states )
|
|
150
150
|
);
|
|
151
151
|
}
|
|
@@ -36,10 +36,10 @@ $kendo-wizard-content-padding-x: k-spacing(0) !default;
|
|
|
36
36
|
$kendo-wizard-content-padding-y: k-spacing(0) !default;
|
|
37
37
|
/// The text color of the Wizard content.
|
|
38
38
|
/// @group wizard
|
|
39
|
-
$kendo-wizard-content-text:
|
|
39
|
+
$kendo-wizard-content-text: k-color(on-app-surface) !default;
|
|
40
40
|
/// The background color of the Wizard content.
|
|
41
41
|
/// @group wizard
|
|
42
|
-
$kendo-wizard-content-bg:
|
|
42
|
+
$kendo-wizard-content-bg: k-color(surface-alt) !default;
|
|
43
43
|
|
|
44
44
|
/// The horizontal margin of the Wizard's Button container.
|
|
45
45
|
/// @group wizard
|
|
@@ -50,4 +50,4 @@ $kendo-wizard-buttons-margin-y: k-spacing(6) !default;
|
|
|
50
50
|
|
|
51
51
|
/// The outline of the focused Wizard step.
|
|
52
52
|
/// @group wizard
|
|
53
|
-
$kendo-wizard-step-focus-border:
|
|
53
|
+
$kendo-wizard-step-focus-border: k-color(base-emphasis) !default;
|
|
@@ -1,165 +0,0 @@
|
|
|
1
|
-
@use "sass:meta";
|
|
2
|
-
@use "sass:map";
|
|
3
|
-
@use "@progress/kendo-theme-core/scss/index.scss" as *;
|
|
4
|
-
|
|
5
|
-
// Legacy
|
|
6
|
-
|
|
7
|
-
// Root styles
|
|
8
|
-
$kendo-body-bg: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white ) !default;
|
|
9
|
-
$kendo-body-text: if($kendo-enable-color-system, k-color( on-app-surface ), k-get-theme-color-var(neutral-160)) !default;
|
|
10
|
-
|
|
11
|
-
// Component styles
|
|
12
|
-
$kendo-component-bg: if($kendo-enable-color-system, k-color( surface-alt ), $kendo-body-bg) !default;
|
|
13
|
-
$kendo-component-text: $kendo-body-text !default;
|
|
14
|
-
$kendo-component-border: if($kendo-enable-color-system, color-mix(in srgb, k-color( border ) 16%, transparent), k-get-theme-color-var(neutral-30)) !default;
|
|
15
|
-
|
|
16
|
-
// States styles
|
|
17
|
-
$kendo-hover-bg: if($kendo-enable-color-system, k-color( base-hover ), k-get-theme-color-var(neutral-20)) !default;
|
|
18
|
-
$kendo-hover-text: if($kendo-enable-color-system, k-color( on-base ), k-get-theme-color-var(neutral-190)) !default;
|
|
19
|
-
$kendo-hover-border: if($kendo-enable-color-system, color-mix(in srgb, k-color( border ) 10%, transparent), k-get-theme-color-var(neutral-20)) !default;
|
|
20
|
-
|
|
21
|
-
$kendo-selected-bg: if($kendo-enable-color-system, k-color( base-active ), k-get-theme-color-var(neutral-30)) !default;
|
|
22
|
-
$kendo-selected-text: if($kendo-enable-color-system, k-color( on-base ), k-get-theme-color-var(neutral-160)) !default;
|
|
23
|
-
$kendo-selected-border: if($kendo-enable-color-system, color-mix(in srgb, k-color( border-alt ) 76%, transparent), k-get-theme-color-var(neutral-130)) !default;
|
|
24
|
-
|
|
25
|
-
$kendo-selected-hover-bg: if($kendo-enable-color-system, k-color( base-subtle-active ), k-get-theme-color-var(neutral-40)) !default;
|
|
26
|
-
$kendo-selected-hover-text: if($kendo-enable-color-system, k-color( on-base ), k-get-theme-color-var(neutral-190)) !default;
|
|
27
|
-
$kendo-selected-hover-border: if($kendo-enable-color-system, $kendo-selected-border, k-get-theme-color-var(neutral-130)) !default;
|
|
28
|
-
|
|
29
|
-
$kendo-focus-outline: if($kendo-enable-color-system, k-color( base-emphasis ), k-get-theme-color-var(neutral-130)) !default;
|
|
30
|
-
|
|
31
|
-
$kendo-subtle-text: if($kendo-enable-color-system, k-color( subtle ), k-get-theme-color-var(neutral-130)) !default;
|
|
32
|
-
|
|
33
|
-
// Link
|
|
34
|
-
$kendo-link-text: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var(primary-100)) !default;
|
|
35
|
-
$kendo-link-hover-text: if($kendo-enable-color-system, k-color( primary-hover ), k-get-theme-color-var(primary-120)) !default;
|
|
36
|
-
|
|
37
|
-
// Validator
|
|
38
|
-
$kendo-invalid-bg: initial !default;
|
|
39
|
-
$kendo-invalid-text: if($kendo-enable-color-system, k-color( error-on-surface ), k-get-theme-color-var(error-190)) !default;
|
|
40
|
-
$kendo-invalid-border: if($kendo-enable-color-system, k-color( error-emphasis ), k-get-theme-color-var(error-190)) !default;
|
|
41
|
-
$kendo-invalid-shadow: null !default;
|
|
42
|
-
|
|
43
|
-
$kendo-valid-bg: if($kendo-enable-color-system, null, initial) !default;
|
|
44
|
-
$kendo-valid-text: if($kendo-enable-color-system, null, k-get-theme-color-var( success-190 )) !default;
|
|
45
|
-
$kendo-valid-border: if($kendo-enable-color-system, null, k-get-theme-color-var( success-190 )) !default;
|
|
46
|
-
$kendo-valid-shadow: null !default;
|
|
47
|
-
|
|
48
|
-
// Disabled Styling
|
|
49
|
-
$kendo-disabled-bg: if($kendo-enable-color-system, k-color( base-subtle ), k-get-theme-color-var(neutral-20)) !default;
|
|
50
|
-
$kendo-disabled-text: if($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 46%, transparent), k-get-theme-color-var(neutral-90)) !default;
|
|
51
|
-
$kendo-disabled-border: transparent !default;
|
|
52
|
-
$kendo-disabled-opacity: null !default;
|
|
53
|
-
$kendo-disabled-filter: null !default;
|
|
54
|
-
|
|
55
|
-
$kendo-disabled-styling: (
|
|
56
|
-
bg: $kendo-disabled-bg,
|
|
57
|
-
color: $kendo-disabled-text,
|
|
58
|
-
border: $kendo-disabled-border,
|
|
59
|
-
opacity: $kendo-disabled-opacity,
|
|
60
|
-
filter: $kendo-disabled-filter,
|
|
61
|
-
) !default;
|
|
62
|
-
|
|
63
|
-
$kendo-theme-colors: (
|
|
64
|
-
primary: (
|
|
65
|
-
text: if($kendo-enable-color-system, k-color( primary-emphasis ), k-get-theme-color-var(primary-130)),
|
|
66
|
-
bg: if($kendo-enable-color-system, k-color( primary-subtle ), k-get-theme-color-var(primary-20)),
|
|
67
|
-
border: if($kendo-enable-color-system, k-color( primary-subtle ), k-get-theme-color-var(primary-20)),
|
|
68
|
-
),
|
|
69
|
-
info: (
|
|
70
|
-
text: if($kendo-enable-color-system, k-color( info-on-surface ), k-get-theme-color-var(info-190)),
|
|
71
|
-
bg: if($kendo-enable-color-system, k-color( info-subtle ), k-get-theme-color-var(info-20)),
|
|
72
|
-
border: if($kendo-enable-color-system, k-color( info-subtle ), k-get-theme-color-var(info-20)),
|
|
73
|
-
),
|
|
74
|
-
success: (
|
|
75
|
-
text: if($kendo-enable-color-system, k-color( success-on-surface ), k-get-theme-color-var(success-190)),
|
|
76
|
-
bg: if($kendo-enable-color-system, k-color( success-subtle ), k-get-theme-color-var(success-20)),
|
|
77
|
-
border: if($kendo-enable-color-system, k-color( success-subtle ), k-get-theme-color-var(success-20)),
|
|
78
|
-
),
|
|
79
|
-
warning: (
|
|
80
|
-
text: if($kendo-enable-color-system, k-color( warning-on-surface ), k-get-theme-color-var(neutral-160)),
|
|
81
|
-
bg: if($kendo-enable-color-system, k-color( warning-subtle ), k-get-theme-color-var(warning-20)),
|
|
82
|
-
border: if($kendo-enable-color-system, k-color( warning-subtle ), k-get-theme-color-var(warning-20)),
|
|
83
|
-
),
|
|
84
|
-
error: (
|
|
85
|
-
text: if($kendo-enable-color-system, k-color( error-on-surface ), k-get-theme-color-var(error-190)),
|
|
86
|
-
bg: if($kendo-enable-color-system, k-color( error-subtle ), k-get-theme-color-var(error-20)),
|
|
87
|
-
border: if($kendo-enable-color-system, k-color( error-subtle ), k-get-theme-color-var(error-20)),
|
|
88
|
-
),
|
|
89
|
-
) !default;
|
|
90
|
-
|
|
91
|
-
:root {
|
|
92
|
-
--kendo-body-bg: #{$kendo-body-bg};
|
|
93
|
-
--kendo-body-text: #{$kendo-body-text};
|
|
94
|
-
|
|
95
|
-
--kendo-component-bg: #{$kendo-component-bg};
|
|
96
|
-
--kendo-component-text: #{$kendo-component-text};
|
|
97
|
-
--kendo-component-border: #{$kendo-component-border};
|
|
98
|
-
|
|
99
|
-
--kendo-link-text: #{$kendo-link-text};
|
|
100
|
-
--kendo-link-hover-text: #{$kendo-link-hover-text};
|
|
101
|
-
|
|
102
|
-
--kendo-disabled-bg: #{$kendo-disabled-bg};
|
|
103
|
-
--kendo-disabled-text: #{$kendo-disabled-text};
|
|
104
|
-
--kendo-disabled-border: #{$kendo-disabled-border};
|
|
105
|
-
--kendo-disabled-opacity: #{$kendo-disabled-opacity};
|
|
106
|
-
--kendo-disabled-filter: #{$kendo-disabled-filter};
|
|
107
|
-
|
|
108
|
-
--kendo-hover-bg: #{$kendo-hover-bg};
|
|
109
|
-
--kendo-hover-text: #{$kendo-hover-text};
|
|
110
|
-
--kendo-hover-border: #{$kendo-hover-border};
|
|
111
|
-
|
|
112
|
-
--kendo-selected-bg: #{$kendo-selected-bg};
|
|
113
|
-
--kendo-selected-text: #{$kendo-selected-text};
|
|
114
|
-
--kendo-selected-border: #{$kendo-selected-border};
|
|
115
|
-
|
|
116
|
-
--kendo-selected-hover-bg: #{$kendo-selected-hover-bg};
|
|
117
|
-
--kendo-selected-hover-text: #{$kendo-selected-hover-text};
|
|
118
|
-
--kendo-selected-hover-border: #{$kendo-selected-hover-border};
|
|
119
|
-
|
|
120
|
-
--kendo-focus-outline: #{$kendo-focus-outline};
|
|
121
|
-
|
|
122
|
-
--kendo-subtle-text: #{$kendo-subtle-text};
|
|
123
|
-
|
|
124
|
-
--kendo-invalid-bg: #{$kendo-invalid-bg};
|
|
125
|
-
--kendo-invalid-text: #{$kendo-invalid-text};
|
|
126
|
-
--kendo-invalid-border: #{$kendo-invalid-border};
|
|
127
|
-
--kendo-invalid-shadow: #{$kendo-invalid-shadow};
|
|
128
|
-
|
|
129
|
-
--kendo-hr-border: #{$kendo-component-border};
|
|
130
|
-
|
|
131
|
-
--kendo-marquee-text: #{k-get-theme-color-var(neutral-160)};
|
|
132
|
-
--kendo-marquee-bg: #{k-get-theme-color-var(primary-60)};
|
|
133
|
-
--kendo-marquee-border: #{k-get-theme-color-var(primary-100)};
|
|
134
|
-
|
|
135
|
-
--kendo-text-selection-bg: #{k-get-theme-color-var(primary-100)};
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
@mixin color-system-styles() {
|
|
139
|
-
:root {
|
|
140
|
-
@include k-css-vars($kendo-palettes);
|
|
141
|
-
@include k-css-vars($kendo-theme-colors);
|
|
142
|
-
|
|
143
|
-
// Text colors
|
|
144
|
-
@each $theme-color, $color-props in $kendo-theme-colors {
|
|
145
|
-
|
|
146
|
-
$_color: if(meta.type-of($color-props) != 'map', map.get($kendo-theme-colors, $theme-color), map.get($color-props, text));
|
|
147
|
-
|
|
148
|
-
.k-text-#{$theme-color},
|
|
149
|
-
.k-color-#{$theme-color} {
|
|
150
|
-
color: var(--kendo-text-#{$theme-color}, #{$_color});
|
|
151
|
-
}
|
|
152
|
-
.\!k-text-#{$theme-color},
|
|
153
|
-
.\!k-color-#{$theme-color} {
|
|
154
|
-
color: var(--kendo-text-#{$theme-color}, #{$_color}) !important; // stylelint-disable-line declaration-no-important
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
.k-bg-#{$theme-color} {
|
|
158
|
-
background-color: var(--kendo-bg-#{$theme-color}, #{$_color});
|
|
159
|
-
}
|
|
160
|
-
.\!k-bg-#{$theme-color} {
|
|
161
|
-
background-color: var(--kendo-bg-#{$theme-color}, #{$_color}) !important; // stylelint-disable-line declaration-no-important
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
}
|