@progress/kendo-theme-default 7.1.0-dev.8 → 7.1.0-dev.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/all.css +50 -18
- package/dist/all.scss +1463 -581
- package/dist/meta/sassdoc-data.json +1450 -1504
- package/dist/meta/sassdoc-raw-data.json +683 -708
- package/dist/meta/variables.json +216 -160
- package/lib/swatches/default-blue.json +1 -1
- package/lib/swatches/default-dataviz-v4.json +1 -1
- package/lib/swatches/default-green.json +1 -1
- package/lib/swatches/default-main-dark.json +1 -1
- package/lib/swatches/default-main.json +1 -1
- package/lib/swatches/default-nordic.json +1 -1
- package/lib/swatches/default-ocean-blue-a11y.json +1 -1
- package/lib/swatches/default-ocean-blue.json +1 -1
- package/lib/swatches/default-orange.json +1 -1
- package/lib/swatches/default-purple.json +1 -1
- package/lib/swatches/default-turquoise.json +1 -1
- package/lib/swatches/default-urban.json +1 -1
- package/package.json +4 -4
- package/scss/_variables.scss +1 -222
- package/scss/adaptive/_variables.scss +1 -1
- package/scss/appbar/_theme.scss +1 -1
- package/scss/appbar/_variables.scss +2 -2
- package/scss/avatar/_theme.scss +1 -1
- package/scss/badge/_theme.scss +1 -1
- package/scss/bottom-navigation/_theme.scss +5 -5
- package/scss/button/_theme.scss +74 -30
- package/scss/button/_variables.scss +10 -10
- package/scss/calendar/_theme.scss +1 -1
- package/scss/card/_layout.scss +4 -0
- package/scss/card/_theme.scss +3 -3
- package/scss/chat/_variables.scss +1 -1
- package/scss/checkbox/_variables.scss +2 -2
- package/scss/chip/_theme.scss +24 -22
- package/scss/chip/_variables.scss +5 -5
- package/scss/core/_index.scss +6 -0
- package/scss/core/color-system/_palettes.scss +256 -0
- package/scss/core/color-system/_swatch-legacy.scss +62 -0
- package/scss/core/color-system/_swatch.scss +397 -0
- package/scss/dataviz/_layout.scss +2 -2
- package/scss/dataviz/_variables.scss +42 -42
- package/scss/dialog/_theme.scss +1 -1
- package/scss/dock-manager/_variables.scss +1 -1
- package/scss/dropzone/_variables.scss +1 -1
- package/scss/editor/_variables.scss +1 -1
- package/scss/fab/_theme.scss +15 -15
- package/scss/filemanager/_layout.scss +5 -0
- package/scss/filemanager/_variables.scss +2 -2
- package/scss/forms/_variables.scss +1 -1
- package/scss/gantt/_layout.scss +5 -5
- package/scss/gantt/_variables.scss +10 -10
- package/scss/grid/_layout.scss +10 -0
- package/scss/grid/_theme.scss +54 -6
- package/scss/grid/_variables.scss +10 -7
- package/scss/input/_variables.scss +8 -8
- package/scss/list/_theme.scss +1 -1
- package/scss/listview/_variables.scss +1 -1
- package/scss/map/_variables.scss +1 -1
- package/scss/mediaplayer/_theme.scss +1 -1
- package/scss/mediaplayer/_variables.scss +1 -1
- package/scss/messagebox/_theme.scss +13 -5
- package/scss/notification/_variables.scss +1 -1
- package/scss/panelbar/_variables.scss +4 -4
- package/scss/pivotgrid/_variables.scss +5 -5
- package/scss/progressbar/_theme.scss +1 -1
- package/scss/progressbar/_variables.scss +3 -3
- package/scss/scheduler/_theme.scss +3 -3
- package/scss/scheduler/_variables.scss +4 -4
- package/scss/signature/_variables.scss +1 -1
- package/scss/skeleton/_variables.scss +2 -5
- package/scss/slider/_variables.scss +6 -6
- package/scss/splitter/_variables.scss +1 -1
- package/scss/spreadsheet/_variables.scss +4 -4
- package/scss/stepper/_layout.scss +11 -0
- package/scss/stepper/_theme.scss +51 -15
- package/scss/stepper/_variables.scss +8 -8
- package/scss/switch/_theme.scss +2 -2
- package/scss/switch/_variables.scss +4 -4
- package/scss/table/_variables.scss +3 -4
- package/scss/taskboard/_variables.scss +7 -7
- package/scss/timeline/_variables.scss +4 -4
- package/scss/tooltip/_variables.scss +4 -4
- package/scss/window/_theme.scss +1 -1
- package/scss/core/color-system/index.import.scss +0 -1
|
@@ -81,7 +81,7 @@ $kendo-checkbox-hover-border: null !default;
|
|
|
81
81
|
$kendo-checkbox-checked-bg: $kendo-color-primary !default;
|
|
82
82
|
/// The text color of the checked CheckBox.
|
|
83
83
|
/// @group checkbox
|
|
84
|
-
$kendo-checkbox-checked-text: k-contrast-legacy( $kendo-checkbox-checked-bg ) !default;
|
|
84
|
+
$kendo-checkbox-checked-text: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-legacy( $kendo-checkbox-checked-bg )) !default;
|
|
85
85
|
/// The border color of the checked CheckBox.
|
|
86
86
|
/// @group checkbox
|
|
87
87
|
$kendo-checkbox-checked-border: $kendo-checkbox-checked-bg !default;
|
|
@@ -107,7 +107,7 @@ $kendo-checkbox-focus-shadow: 0 0 0 2px rgba(0, 0, 0, .06) !default;
|
|
|
107
107
|
$kendo-checkbox-focus-checked-border: null !default;
|
|
108
108
|
/// The box shadow of the focused and checked CheckBox.
|
|
109
109
|
/// @group checkbox
|
|
110
|
-
$kendo-checkbox-focus-checked-shadow: 0 0 0 2px rgba( $kendo-color-primary, .3 ) !default;
|
|
110
|
+
$kendo-checkbox-focus-checked-shadow: 0 0 0 2px if($kendo-enable-color-system, rgba( k-color( primary, true ), .3 ), rgba( $kendo-color-primary, .3 )) !default;
|
|
111
111
|
|
|
112
112
|
/// The background color of the disabled CheckBox.
|
|
113
113
|
/// @group checkbox
|
package/scss/chip/_theme.scss
CHANGED
|
@@ -28,24 +28,24 @@
|
|
|
28
28
|
}
|
|
29
29
|
} @else {
|
|
30
30
|
@include fill(
|
|
31
|
-
k-try-shade( $color, 65% ),
|
|
32
|
-
k-try-tint( $color, 80% ),
|
|
33
|
-
k-try-tint( $color, 25% ),
|
|
31
|
+
if($kendo-enable-color-system, k-color( #{$name}-on-subtle ), k-try-shade( $color, 65% )),
|
|
32
|
+
if($kendo-enable-color-system, k-color( #{$name}-subtle ), k-try-tint( $color, 80% )),
|
|
33
|
+
if($kendo-enable-color-system, k-color( #{$name}-emphasis ), k-try-tint( $color, 25% )),
|
|
34
34
|
$kendo-chip-solid-gradient
|
|
35
35
|
);
|
|
36
36
|
|
|
37
37
|
&:focus,
|
|
38
38
|
&.k-focus {
|
|
39
|
-
@include focus-indicator( 0 0 0 2px rgba( $color, .16 ) );
|
|
39
|
+
@include focus-indicator( 0 0 0 2px if($kendo-enable-color-system, rgba( k-color( $name, true ), .16 ), rgba( $color, .16 )) );
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
&:hover,
|
|
43
43
|
&.k-hover {
|
|
44
|
-
@include fill( $bg: k-try-tint($color, 65% ) );
|
|
44
|
+
@include fill( $bg: if($kendo-enable-color-system, k-color( #{$name}-subtle-hover ), k-try-tint($color, 65% )) );
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
&.k-selected {
|
|
48
|
-
@include fill( $bg: k-try-tint( $color, 50% ) );
|
|
48
|
+
@include fill( $bg: if($kendo-enable-color-system, k-color( #{$name}-subtle-active ), k-try-tint( $color, 50% )) );
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
}
|
|
@@ -83,54 +83,56 @@
|
|
|
83
83
|
}
|
|
84
84
|
} @else if ($name == "warning") {
|
|
85
85
|
@include fill(
|
|
86
|
-
if( $kendo-is-dark-theme, k-color-tint($color, 25%), $kendo-chip-outline-text),
|
|
87
|
-
if( $kendo-is-dark-theme, $kendo-color-black, $kendo-color-white ),
|
|
88
|
-
if( $kendo-is-dark-theme, k-color-tint($color, 25%), $color)
|
|
86
|
+
if($kendo-enable-color-system, $kendo-chip-outline-text, if( $kendo-is-dark-theme, k-color-tint($color, 25%), $kendo-chip-outline-text)),
|
|
87
|
+
if($kendo-enable-color-system, k-color( app-surface ), if( $kendo-is-dark-theme, $kendo-color-black, $kendo-color-white )),
|
|
88
|
+
if($kendo-enable-color-system, $color, if( $kendo-is-dark-theme, k-color-tint($color, 25%), $color))
|
|
89
89
|
);
|
|
90
90
|
|
|
91
91
|
&:focus,
|
|
92
92
|
&.k-focus {
|
|
93
|
-
@include focus-indicator( 0 0 0 2px if( $kendo-is-dark-theme, rgba( k-color-tint( $color, 50% ), .32 ), rgba( $color, .16 )) );
|
|
93
|
+
@include focus-indicator( 0 0 0 2px if($kendo-enable-color-system, rgba( k-color( $name, true ), .16 ), if( $kendo-is-dark-theme, rgba( k-color-tint( $color, 50% ), .32 ), rgba( $color, .16 ))) );
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
&:hover,
|
|
97
97
|
&.k-hover {
|
|
98
98
|
@include fill(
|
|
99
|
-
$color: if( $kendo-is-dark-theme, k-contrast-legacy( $color ), k-try-shade( $color, 80% ) )
|
|
100
|
-
$bg: if( $kendo-is-dark-theme, k-color-tint($color, 25%), $color)
|
|
99
|
+
$color: if($kendo-enable-color-system, k-color( on-#{$name} ), if( $kendo-is-dark-theme, k-contrast-legacy( $color ), k-try-shade( $color, 80% ) )),
|
|
100
|
+
$bg: if($kendo-enable-color-system, $color, if( $kendo-is-dark-theme, k-color-tint($color, 25%), $color))
|
|
101
101
|
);
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
&.k-selected {
|
|
105
105
|
@include fill(
|
|
106
|
-
$color: if( $kendo-is-dark-theme, k-contrast-legacy( $color ), k-try-shade( $color, 80% ) )
|
|
107
|
-
$bg: if( $kendo-is-dark-theme, k-color-tint($color, 25%), $color)
|
|
106
|
+
$color: if($kendo-enable-color-system, k-color( on-#{$name} ), if( $kendo-is-dark-theme, k-contrast-legacy( $color ), k-try-shade( $color, 80% ) )),
|
|
107
|
+
$bg: if($kendo-enable-color-system, $color, if( $kendo-is-dark-theme, k-color-tint($color, 25%), $color))
|
|
108
108
|
);
|
|
109
109
|
}
|
|
110
110
|
} @else {
|
|
111
111
|
@include fill(
|
|
112
|
-
k-try-shade( $color, 25% ),
|
|
113
|
-
if( $kendo-is-dark-theme, $kendo-color-black, $kendo-color-white ),
|
|
114
|
-
k-try-shade( $color, 25% )
|
|
112
|
+
if($kendo-enable-color-system, k-color( #{$name}-on-surface ), k-try-shade( $color, 25% )),
|
|
113
|
+
if($kendo-enable-color-system, k-color( app-surface ), if( $kendo-is-dark-theme, $kendo-color-black, $kendo-color-white )),
|
|
114
|
+
if($kendo-enable-color-system, k-color( #{$name}-on-surface ), k-try-shade( $color, 25% ))
|
|
115
115
|
);
|
|
116
116
|
|
|
117
117
|
&:focus,
|
|
118
118
|
&.k-focus {
|
|
119
|
-
@include focus-indicator( 0 0 0 2px if( $kendo-is-dark-theme, rgba( k-color-tint( $color, 50% ), .32 ), rgba( $color, .16 )) );
|
|
119
|
+
@include focus-indicator( 0 0 0 2px if($kendo-enable-color-system, rgba( k-color( $name, true ), .16 ), if( $kendo-is-dark-theme, rgba( k-color-tint( $color, 50% ), .32 ), rgba( $color, .16 ))) );
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
&:hover,
|
|
123
123
|
&.k-hover {
|
|
124
124
|
@include fill(
|
|
125
|
-
$color
|
|
126
|
-
$
|
|
125
|
+
if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-legacy( k-try-shade( $color, 25% ) )),
|
|
126
|
+
if($kendo-enable-color-system, k-color( #{$name}-hover ), k-try-shade( $color, 25% )),
|
|
127
|
+
if($kendo-enable-color-system, k-color( #{$name}-hover ), k-try-shade( $color, 25% ))
|
|
127
128
|
);
|
|
128
129
|
}
|
|
129
130
|
|
|
130
131
|
&.k-selected {
|
|
131
132
|
@include fill(
|
|
132
|
-
$color
|
|
133
|
-
$
|
|
133
|
+
if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-legacy( k-try-shade( $color, 25% ) )),
|
|
134
|
+
if($kendo-enable-color-system, k-color( #{$name}-active ), k-try-shade( $color, 25% )),
|
|
135
|
+
if($kendo-enable-color-system, k-color( #{$name}-active ), k-try-shade( $color, 25% ))
|
|
134
136
|
);
|
|
135
137
|
}
|
|
136
138
|
}
|
|
@@ -92,7 +92,7 @@ $kendo-chip-sizes: (
|
|
|
92
92
|
|
|
93
93
|
/// The base background of the Chip.
|
|
94
94
|
/// @group chip
|
|
95
|
-
$kendo-chip-base-bg: $kendo-button-bg !default;
|
|
95
|
+
$kendo-chip-base-bg: if($kendo-enable-color-system, k-color( base-subtle ), $kendo-button-bg) !default;
|
|
96
96
|
|
|
97
97
|
/// The theme colors map for the Chip.
|
|
98
98
|
/// @group chip
|
|
@@ -115,7 +115,7 @@ $kendo-chip-solid-text: $kendo-button-text !default;
|
|
|
115
115
|
$kendo-chip-solid-border: $kendo-button-border !default;
|
|
116
116
|
/// The base shadow of the solid Chip.
|
|
117
117
|
/// @group chip
|
|
118
|
-
$kendo-chip-solid-shadow: 0 0 0 2px if( $kendo-is-dark-theme, rgba( $kendo-color-white, .16 ), rgba( $kendo-color-black, .08 ) ) !default;
|
|
118
|
+
$kendo-chip-solid-shadow: 0 0 0 2px if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .08 ), if( $kendo-is-dark-theme, rgba( $kendo-color-white, .16 ), rgba( $kendo-color-black, .08 ) )) !default;
|
|
119
119
|
/// The base gradient of the solid Chip.
|
|
120
120
|
/// @group chip
|
|
121
121
|
$kendo-chip-solid-gradient: $kendo-button-gradient !default;
|
|
@@ -129,7 +129,7 @@ $kendo-chip-solid-focus-text: null !default;
|
|
|
129
129
|
|
|
130
130
|
/// The base background color of the hovered solid Chip.
|
|
131
131
|
/// @group chip
|
|
132
|
-
$kendo-chip-solid-hover-bg: $kendo-button-hover-bg !default;
|
|
132
|
+
$kendo-chip-solid-hover-bg: if($kendo-enable-color-system, k-color( base-subtle-hover ), $kendo-button-hover-bg) !default;
|
|
133
133
|
/// The base text color of the hovered solid Chip.
|
|
134
134
|
/// @group chip
|
|
135
135
|
$kendo-chip-solid-hover-text: null !default;
|
|
@@ -152,14 +152,14 @@ $kendo-chip-outline-text: $kendo-chip-solid-text !default;
|
|
|
152
152
|
$kendo-chip-outline-border: $kendo-chip-outline-text !default;
|
|
153
153
|
/// The base shadow of the outline Chip.
|
|
154
154
|
/// @group chip
|
|
155
|
-
$kendo-chip-outline-shadow: 0 0 0 2px if( $kendo-is-dark-theme, rgba( $kendo-color-white, .16 ), rgba( $kendo-color-black, .08 ) ) !default;
|
|
155
|
+
$kendo-chip-outline-shadow: 0 0 0 2px if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .08 ), if( $kendo-is-dark-theme, rgba( $kendo-color-white, .16 ), rgba( $kendo-color-black, .08 ) )) !default;
|
|
156
156
|
|
|
157
157
|
/// The base background color of the hovered outline Chip.
|
|
158
158
|
/// @group chip
|
|
159
159
|
$kendo-chip-outline-hover-bg: $kendo-chip-outline-text !default;
|
|
160
160
|
/// The base text color of the hovered outline Chip.
|
|
161
161
|
/// @group chip
|
|
162
|
-
$kendo-chip-outline-hover-text: k-contrast-legacy( $kendo-chip-outline-hover-bg ) !default;
|
|
162
|
+
$kendo-chip-outline-hover-text: if($kendo-enable-color-system, k-color( base ), k-contrast-legacy( $kendo-chip-outline-hover-bg )) !default;
|
|
163
163
|
|
|
164
164
|
/// The base background color of the selected outline Chip.
|
|
165
165
|
/// @group chip
|
package/scss/core/_index.scss
CHANGED
|
@@ -3,8 +3,14 @@ $wcag-min-contrast-ratio: 4.5 !default;
|
|
|
3
3
|
// Variables
|
|
4
4
|
@import "../_variables.scss";
|
|
5
5
|
|
|
6
|
+
// Color System
|
|
7
|
+
@import "./color-system/_swatch.scss";
|
|
8
|
+
|
|
6
9
|
@import "@progress/kendo-theme-core/scss/index.import.scss";
|
|
7
10
|
|
|
11
|
+
// Backward compatibility
|
|
12
|
+
@import "./color-system/_swatch-legacy.scss";
|
|
13
|
+
|
|
8
14
|
// Expose
|
|
9
15
|
@include exports("kendo-core-styles") {
|
|
10
16
|
@include kendo-core--styles();
|
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
$_default-palette-gray: (
|
|
2
|
+
white: #ffffff,
|
|
3
|
+
1: #fafafa,
|
|
4
|
+
2: #f5f5f5,
|
|
5
|
+
3: #ebebeb,
|
|
6
|
+
4: #e0e0e0,
|
|
7
|
+
5: #d6d6d6,
|
|
8
|
+
6: #c2c2c2,
|
|
9
|
+
7: #adadad,
|
|
10
|
+
8: #999999,
|
|
11
|
+
9: #808080,
|
|
12
|
+
10: #666666,
|
|
13
|
+
11: #525252,
|
|
14
|
+
12: #3d3d3d,
|
|
15
|
+
13: #292929,
|
|
16
|
+
14: #1f1f1f,
|
|
17
|
+
15: #141414,
|
|
18
|
+
black: #000000,
|
|
19
|
+
);
|
|
20
|
+
|
|
21
|
+
$_default-palette-coral: (
|
|
22
|
+
1: #fff6f5,
|
|
23
|
+
2: #ffeceb,
|
|
24
|
+
3: #ffdedb,
|
|
25
|
+
4: #ffc8c4,
|
|
26
|
+
5: #ffb1ac,
|
|
27
|
+
6: #ff9d97,
|
|
28
|
+
7: #ff8a82,
|
|
29
|
+
8: #ff766d,
|
|
30
|
+
9: #ff6358,
|
|
31
|
+
10: #ea5a51,
|
|
32
|
+
11: #d45349,
|
|
33
|
+
12: #bf4a42,
|
|
34
|
+
13: #a33f38,
|
|
35
|
+
14: #80322c,
|
|
36
|
+
15: #5c201c,
|
|
37
|
+
);
|
|
38
|
+
|
|
39
|
+
$_default-palette-sky-blue: (
|
|
40
|
+
1: #ebf8fe,
|
|
41
|
+
2: #d8f1fd,
|
|
42
|
+
3: #c5eafc,
|
|
43
|
+
4: #a3dffb,
|
|
44
|
+
5: #81d4fA,
|
|
45
|
+
6: #61c9f9,
|
|
46
|
+
7: #42bff7,
|
|
47
|
+
8: #22b3f5,
|
|
48
|
+
9: #03a9f4,
|
|
49
|
+
10: #039ae0,
|
|
50
|
+
11: #028ccb,
|
|
51
|
+
12: #027fb7,
|
|
52
|
+
13: #026999,
|
|
53
|
+
14: #02557a,
|
|
54
|
+
15: #023f5c,
|
|
55
|
+
);
|
|
56
|
+
|
|
57
|
+
$_default-palette-green: (
|
|
58
|
+
1: #edf8e9,
|
|
59
|
+
2: #dcf0d3,
|
|
60
|
+
3: #cbe9bf,
|
|
61
|
+
4: #b7e1a5,
|
|
62
|
+
5: #9bda80,
|
|
63
|
+
6: #81d15f,
|
|
64
|
+
7: #69c740,
|
|
65
|
+
8: #4ebe1f,
|
|
66
|
+
9: #37b400,
|
|
67
|
+
10: #32a500,
|
|
68
|
+
11: #2d9600,
|
|
69
|
+
12: #298700,
|
|
70
|
+
13: #227100,
|
|
71
|
+
14: #1c5a00,
|
|
72
|
+
15: #1c5a00,
|
|
73
|
+
);
|
|
74
|
+
|
|
75
|
+
$_default-palette-blue: (
|
|
76
|
+
1: #e9f0fd,
|
|
77
|
+
2: #d2e2fb,
|
|
78
|
+
3: #bdd4f8,
|
|
79
|
+
4: #9ec0f6,
|
|
80
|
+
5: #80acf4,
|
|
81
|
+
6: #6098f2,
|
|
82
|
+
7: #4082ef,
|
|
83
|
+
8: #206eec,
|
|
84
|
+
9: #0058e9,
|
|
85
|
+
10: #0052d6,
|
|
86
|
+
11: #004ac2,
|
|
87
|
+
12: #0042af,
|
|
88
|
+
13: #003892,
|
|
89
|
+
14: #002c75,
|
|
90
|
+
15: #002259,
|
|
91
|
+
);
|
|
92
|
+
|
|
93
|
+
$_default-palette-yellow: (
|
|
94
|
+
1: #fffae9,
|
|
95
|
+
2: #fff4d3,
|
|
96
|
+
3: #ffeebd,
|
|
97
|
+
4: #ffe79e,
|
|
98
|
+
5: #ffe080,
|
|
99
|
+
6: #ffd760,
|
|
100
|
+
7: #ffd040,
|
|
101
|
+
8: #ffc720,
|
|
102
|
+
9: #ffc000,
|
|
103
|
+
10: #eaaf00,
|
|
104
|
+
11: #d49f00,
|
|
105
|
+
12: #bf9000,
|
|
106
|
+
13: #a07800,
|
|
107
|
+
14: #806000,
|
|
108
|
+
15: #5e4700,
|
|
109
|
+
);
|
|
110
|
+
|
|
111
|
+
$_default-palette-red: (
|
|
112
|
+
1: #feeeed,
|
|
113
|
+
2: #fcddda,
|
|
114
|
+
3: #fbc8c3,
|
|
115
|
+
4: #faaaa2,
|
|
116
|
+
5: #f98b80,
|
|
117
|
+
6: #f76f60,
|
|
118
|
+
7: #f65140,
|
|
119
|
+
8: #f43520,
|
|
120
|
+
9: #f31700,
|
|
121
|
+
10: #df1600,
|
|
122
|
+
11: #ca1400,
|
|
123
|
+
12: #b61100,
|
|
124
|
+
13: #980f00,
|
|
125
|
+
14: #7a0c00,
|
|
126
|
+
15: #7a0c00,
|
|
127
|
+
);
|
|
128
|
+
|
|
129
|
+
$_default-palette-lemon-yellow: (
|
|
130
|
+
1: #fffcf1,
|
|
131
|
+
2: #fffae2,
|
|
132
|
+
3: #fff7d4,
|
|
133
|
+
4: #fff4c2,
|
|
134
|
+
5: #fff0b1,
|
|
135
|
+
6: #ffed9d,
|
|
136
|
+
7: #ffe989,
|
|
137
|
+
8: #ffe676,
|
|
138
|
+
9: #ffe162,
|
|
139
|
+
10: #ead05a,
|
|
140
|
+
11: #d4bc52,
|
|
141
|
+
12: #bfa94a,
|
|
142
|
+
13: #a3913f,
|
|
143
|
+
14: #807131,
|
|
144
|
+
15: #5c5223,
|
|
145
|
+
);
|
|
146
|
+
|
|
147
|
+
$_default-palette-spring-green: (
|
|
148
|
+
1: #effaf3,
|
|
149
|
+
2: #e0f6e8,
|
|
150
|
+
3: #d1f1dd,
|
|
151
|
+
4: #c0edd1,
|
|
152
|
+
5: #a6e8c0,
|
|
153
|
+
6: #8fe2af,
|
|
154
|
+
7: #79dda0,
|
|
155
|
+
8: #62d78f,
|
|
156
|
+
9: #4cd180,
|
|
157
|
+
10: #46c074,
|
|
158
|
+
11: #3fae6a,
|
|
159
|
+
12: #399d60,
|
|
160
|
+
13: #2f834f,
|
|
161
|
+
14: #266940,
|
|
162
|
+
15: #1c4f30,
|
|
163
|
+
);
|
|
164
|
+
|
|
165
|
+
$_default-palette-royal-blue: (
|
|
166
|
+
1: #f0f2ff,
|
|
167
|
+
2: #e1e4fe,
|
|
168
|
+
3: #d2d7fe,
|
|
169
|
+
4: #bbc3fd,
|
|
170
|
+
5: #a5affd,
|
|
171
|
+
6: #8e9bfc,
|
|
172
|
+
7: #7887fb,
|
|
173
|
+
8: #6173fb,
|
|
174
|
+
9: #4b5ffa,
|
|
175
|
+
10: #4558e5,
|
|
176
|
+
11: #3f50d1,
|
|
177
|
+
12: #3847bc,
|
|
178
|
+
13: #2f3c9d,
|
|
179
|
+
14: #26307d,
|
|
180
|
+
15: #1c245e,
|
|
181
|
+
);
|
|
182
|
+
|
|
183
|
+
$_default-palette-lavender-purple: (
|
|
184
|
+
1: #f7f0ff,
|
|
185
|
+
2: #f0e0ff,
|
|
186
|
+
3: #e8d1ff,
|
|
187
|
+
4: #dfbfff,
|
|
188
|
+
5: #d6acff,
|
|
189
|
+
6: #cc97ff,
|
|
190
|
+
7: #c182ff,
|
|
191
|
+
8: #b76dff,
|
|
192
|
+
9: #ac58ff,
|
|
193
|
+
10: #9e51ea,
|
|
194
|
+
11: #8f49d4,
|
|
195
|
+
12: #8142bf,
|
|
196
|
+
13: #6b37a0,
|
|
197
|
+
14: #562c80,
|
|
198
|
+
15: #3f205e,
|
|
199
|
+
);
|
|
200
|
+
|
|
201
|
+
$_default-palette-flamingo-pink: (
|
|
202
|
+
1: #fff0f5,
|
|
203
|
+
2: #ffe1eb,
|
|
204
|
+
3: #ffd1e1,
|
|
205
|
+
4: #ffbfd6,
|
|
206
|
+
5: #ffacc9,
|
|
207
|
+
6: #ff97bb,
|
|
208
|
+
7: #ff82ae,
|
|
209
|
+
8: #ff6da0,
|
|
210
|
+
9: #ff5892,
|
|
211
|
+
10: #ea5186,
|
|
212
|
+
11: #d4497a,
|
|
213
|
+
12: #bf426e,
|
|
214
|
+
13: #a0375c,
|
|
215
|
+
14: #802c49,
|
|
216
|
+
15: #5e2036,
|
|
217
|
+
);
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
// stylelint-disable scss/no-global-function-names
|
|
221
|
+
$kendo-palette-gray: $_default-palette-gray !default;
|
|
222
|
+
$kendo-palette-gray: map-merge($_default-palette-gray, $kendo-palette-gray);
|
|
223
|
+
|
|
224
|
+
$kendo-palette-coral: $_default-palette-coral !default;
|
|
225
|
+
$kendo-palette-coral: map-merge($_default-palette-coral, $kendo-palette-coral);
|
|
226
|
+
|
|
227
|
+
$kendo-palette-sky-blue: $_default-palette-sky-blue !default;
|
|
228
|
+
$kendo-palette-sky-blue: map-merge($_default-palette-sky-blue, $kendo-palette-sky-blue);
|
|
229
|
+
|
|
230
|
+
$kendo-palette-green: $_default-palette-green !default;
|
|
231
|
+
$kendo-palette-green: map-merge($_default-palette-green, $kendo-palette-green);
|
|
232
|
+
|
|
233
|
+
$kendo-palette-blue: $_default-palette-blue !default;
|
|
234
|
+
$kendo-palette-blue: map-merge($_default-palette-blue, $kendo-palette-blue);
|
|
235
|
+
|
|
236
|
+
$kendo-palette-yellow: $_default-palette-yellow !default;
|
|
237
|
+
$kendo-palette-yellow: map-merge($_default-palette-yellow, $kendo-palette-yellow);
|
|
238
|
+
|
|
239
|
+
$kendo-palette-red: $_default-palette-red !default;
|
|
240
|
+
$kendo-palette-red: map-merge($_default-palette-red, $kendo-palette-red);
|
|
241
|
+
|
|
242
|
+
$kendo-palette-lemon-yellow: $_default-palette-lemon-yellow !default;
|
|
243
|
+
$kendo-palette-lemon-yellow: map-merge($_default-palette-lemon-yellow, $kendo-palette-lemon-yellow);
|
|
244
|
+
|
|
245
|
+
$kendo-palette-spring-green: $_default-palette-spring-green !default;
|
|
246
|
+
$kendo-palette-spring-green: map-merge($_default-palette-spring-green, $kendo-palette-spring-green);
|
|
247
|
+
|
|
248
|
+
$kendo-palette-royal-blue: $_default-palette-royal-blue !default;
|
|
249
|
+
$kendo-palette-royal-blue: map-merge($_default-palette-royal-blue, $kendo-palette-royal-blue);
|
|
250
|
+
|
|
251
|
+
$kendo-palette-lavender-purple: $_default-palette-lavender-purple !default;
|
|
252
|
+
$kendo-palette-lavender-purple: map-merge($_default-palette-lavender-purple, $kendo-palette-lavender-purple);
|
|
253
|
+
|
|
254
|
+
$kendo-palette-flamingo-pink: $_default-palette-flamingo-pink !default;
|
|
255
|
+
$kendo-palette-flamingo-pink: map-merge($_default-palette-flamingo-pink, $kendo-palette-flamingo-pink);
|
|
256
|
+
// stylelint-enable scss/no-global-function-names
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
@if ($kendo-enable-color-system) {
|
|
2
|
+
$kendo-color-primary: k-color( primary );
|
|
3
|
+
$kendo-color-primary-contrast: k-color( on-primary );
|
|
4
|
+
$kendo-color-secondary: k-color( secondary );
|
|
5
|
+
$kendo-color-tertiary: k-color( tertiary );
|
|
6
|
+
$kendo-color-info: k-color( info );
|
|
7
|
+
$kendo-color-success: k-color( success );
|
|
8
|
+
$kendo-color-warning: k-color( warning );
|
|
9
|
+
$kendo-color-error: k-color( error );
|
|
10
|
+
$kendo-color-dark: k-color( dark );
|
|
11
|
+
$kendo-color-light: k-color( light );
|
|
12
|
+
$kendo-color-inverse: $kendo-color-dark;
|
|
13
|
+
$kendo-body-bg: k-color( app-surface );
|
|
14
|
+
$kendo-body-text: k-color( on-app-surface );
|
|
15
|
+
$kendo-subtle-text: k-color( subtle );
|
|
16
|
+
$kendo-app-bg: k-color( surface );
|
|
17
|
+
$kendo-app-text: $kendo-body-text;
|
|
18
|
+
$kendo-app-border: k-color( border );
|
|
19
|
+
$kendo-link-text: $kendo-color-primary;
|
|
20
|
+
$kendo-link-hover-text: k-color( primary-hover );
|
|
21
|
+
$kendo-component-bg: $kendo-body-bg;
|
|
22
|
+
$kendo-component-text: $kendo-body-text;
|
|
23
|
+
$kendo-component-border: $kendo-app-border;
|
|
24
|
+
$kendo-base-bg: k-color( surface );
|
|
25
|
+
$kendo-base-text: $kendo-body-text;
|
|
26
|
+
$kendo-base-border: $kendo-app-border;
|
|
27
|
+
$kendo-base-gradient: null;
|
|
28
|
+
$kendo-hover-bg: k-color( base-hover );
|
|
29
|
+
$kendo-hover-text: $kendo-base-text;
|
|
30
|
+
$kendo-hover-border: $kendo-base-border;
|
|
31
|
+
$kendo-hover-gradient: null;
|
|
32
|
+
$kendo-selected-bg: $kendo-color-primary;
|
|
33
|
+
$kendo-selected-text: $kendo-color-primary-contrast;
|
|
34
|
+
$kendo-selected-border: $kendo-base-border;
|
|
35
|
+
$kendo-selected-gradient: $kendo-base-gradient;
|
|
36
|
+
$kendo-selected-hover-bg: k-color( primary-hover );
|
|
37
|
+
$kendo-selected-hover-text: $kendo-selected-text;
|
|
38
|
+
$kendo-selected-hover-border: $kendo-base-border;
|
|
39
|
+
$kendo-selected-hover-gradient: $kendo-base-gradient;
|
|
40
|
+
$kendo-disabled-text: k-color( on-app-surface );
|
|
41
|
+
$kendo-component-header-bg: $kendo-base-bg;
|
|
42
|
+
$kendo-component-header-text: $kendo-base-text;
|
|
43
|
+
$kendo-component-header-border: $kendo-base-border;
|
|
44
|
+
$kendo-component-header-gradient: null;
|
|
45
|
+
$kendo-invalid-bg: null;
|
|
46
|
+
$kendo-invalid-text: $kendo-color-error;
|
|
47
|
+
$kendo-invalid-border: $kendo-color-error;
|
|
48
|
+
$kendo-invalid-shadow: null;
|
|
49
|
+
|
|
50
|
+
$kendo-theme-colors: (
|
|
51
|
+
"primary": $kendo-color-primary,
|
|
52
|
+
"secondary": $kendo-color-secondary,
|
|
53
|
+
"tertiary": $kendo-color-tertiary,
|
|
54
|
+
"info": $kendo-color-info,
|
|
55
|
+
"success": $kendo-color-success,
|
|
56
|
+
"warning": $kendo-color-warning,
|
|
57
|
+
"error": $kendo-color-error,
|
|
58
|
+
"dark": $kendo-color-dark,
|
|
59
|
+
"light": $kendo-color-light,
|
|
60
|
+
"inverse": $kendo-color-inverse,
|
|
61
|
+
);
|
|
62
|
+
}
|