@progress/kendo-theme-default 5.1.0 → 5.1.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.scss +23 -23
- package/package.json +2 -2
- package/scss/_variables.scss +2 -2
- package/scss/appbar/_theme.scss +1 -1
- package/scss/avatar/_variables.scss +1 -1
- package/scss/badge/_theme.scss +2 -2
- package/scss/bottom-navigation/_theme.scss +2 -2
- package/scss/button/_variables.scss +1 -1
- package/scss/card/_theme.scss +1 -1
- package/scss/chip/_variables.scss +4 -4
- package/scss/fab/_variables.scss +1 -1
- package/scss/loader/_theme.scss +1 -1
- package/scss/messagebox/_theme.scss +1 -1
- package/scss/notification/_variables.scss +1 -1
- package/scss/overlay/_variables.scss +1 -1
- package/scss/utils/_border.scss +1 -1
- package/scss/utils/_theme-colors.scss +3 -3
package/dist/all.scss
CHANGED
|
@@ -1186,7 +1186,7 @@ $light: #ebebeb !default;
|
|
|
1186
1186
|
$inverse: if( $dark-theme, $light, $dark ) !default;
|
|
1187
1187
|
|
|
1188
1188
|
|
|
1189
|
-
$theme-colors: (
|
|
1189
|
+
$kendo-theme-colors: (
|
|
1190
1190
|
"primary": $primary,
|
|
1191
1191
|
"secondary": $secondary,
|
|
1192
1192
|
"tertiary": $tertiary,
|
|
@@ -1223,7 +1223,7 @@ $app-border: rgba( $black, .08 ) !default;
|
|
|
1223
1223
|
|
|
1224
1224
|
// Component
|
|
1225
1225
|
/// Background color of a component.
|
|
1226
|
-
/// Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$grid-bg: $component-bg !
|
|
1226
|
+
/// Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$grid-bg: $component-bg !default;`.
|
|
1227
1227
|
/// @group component
|
|
1228
1228
|
$component-bg: $body-bg !default;
|
|
1229
1229
|
/// Text color of a component.
|
|
@@ -3320,7 +3320,7 @@ $display4-letter-spacing: null !default;
|
|
|
3320
3320
|
0: 0
|
|
3321
3321
|
) !default;
|
|
3322
3322
|
|
|
3323
|
-
$utils-border-color: $theme-colors !default;
|
|
3323
|
+
$utils-border-color: $kendo-theme-colors !default;
|
|
3324
3324
|
|
|
3325
3325
|
$utils-border-radius-sides: (
|
|
3326
3326
|
default: border-radius,
|
|
@@ -4376,7 +4376,7 @@ $display4-letter-spacing: null !default;
|
|
|
4376
4376
|
|
|
4377
4377
|
.k-color-inherit { color: inherit; }
|
|
4378
4378
|
|
|
4379
|
-
@each $name, $color in $theme-colors {
|
|
4379
|
+
@each $name, $color in $kendo-theme-colors {
|
|
4380
4380
|
.k-text-#{$name},
|
|
4381
4381
|
.k-color-#{$name} {
|
|
4382
4382
|
color: $color !important;
|
|
@@ -4390,7 +4390,7 @@ $display4-letter-spacing: null !default;
|
|
|
4390
4390
|
|
|
4391
4391
|
// sass-lint:disable-block no-important
|
|
4392
4392
|
|
|
4393
|
-
@each $name, $bg-color in $theme-colors {
|
|
4393
|
+
@each $name, $bg-color in $kendo-theme-colors {
|
|
4394
4394
|
.k-bg-#{$name} {
|
|
4395
4395
|
background-color: $bg-color !important;
|
|
4396
4396
|
}
|
|
@@ -4407,7 +4407,7 @@ $display4-letter-spacing: null !default;
|
|
|
4407
4407
|
|
|
4408
4408
|
@include exports( "common/decoration/variant" ) {
|
|
4409
4409
|
|
|
4410
|
-
@each $name, $variant in $theme-colors {
|
|
4410
|
+
@each $name, $variant in $kendo-theme-colors {
|
|
4411
4411
|
.k-state-#{$name} {
|
|
4412
4412
|
@include variant( $variant );
|
|
4413
4413
|
}
|
|
@@ -5895,7 +5895,7 @@ $message-box-link-text-decoration: underline !default;
|
|
|
5895
5895
|
// #region @import "_theme.scss"; -> packages/default/scss/messagebox/_theme.scss
|
|
5896
5896
|
@include exports("messagebox/theme") {
|
|
5897
5897
|
|
|
5898
|
-
@each $color-name, $color in $theme-colors {
|
|
5898
|
+
@each $color-name, $color in $kendo-theme-colors {
|
|
5899
5899
|
.k-messagebox-#{$color-name} {
|
|
5900
5900
|
@include fill(
|
|
5901
5901
|
color-level( $color, $message-box-text-level ),
|
|
@@ -7286,7 +7286,7 @@ $listgroup-item-border-width: 1px !default;
|
|
|
7286
7286
|
|
|
7287
7287
|
// Component
|
|
7288
7288
|
// #region @import "_variables.scss"; -> packages/default/scss/overlay/_variables.scss
|
|
7289
|
-
$overlay-theme-colors: $theme-colors !default;
|
|
7289
|
+
$overlay-theme-colors: $kendo-theme-colors !default;
|
|
7290
7290
|
|
|
7291
7291
|
$overlay-bg: $black !default;
|
|
7292
7292
|
$overlay-opacity: .5 !default;
|
|
@@ -7807,7 +7807,7 @@ $badge-dot-size-lg: 12px !default;
|
|
|
7807
7807
|
@include exports( "badge/theme" ) {
|
|
7808
7808
|
|
|
7809
7809
|
// Solid badges
|
|
7810
|
-
@each $name, $color in $theme-colors {
|
|
7810
|
+
@each $name, $color in $kendo-theme-colors {
|
|
7811
7811
|
.k-badge-solid.k-badge-#{$name} {
|
|
7812
7812
|
border-color: $color;
|
|
7813
7813
|
color: contrast-wcag( $color );
|
|
@@ -7821,7 +7821,7 @@ $badge-dot-size-lg: 12px !default;
|
|
|
7821
7821
|
background-color: $component-bg;
|
|
7822
7822
|
}
|
|
7823
7823
|
|
|
7824
|
-
@each $name, $color in $theme-colors {
|
|
7824
|
+
@each $name, $color in $kendo-theme-colors {
|
|
7825
7825
|
.k-badge-outline.k-badge-#{$name} {
|
|
7826
7826
|
color: $color;
|
|
7827
7827
|
}
|
|
@@ -7903,7 +7903,7 @@ $kendo-button-arrow-padding-y: $kendo-button-padding-y !default;
|
|
|
7903
7903
|
/// Theme colors map for the button.
|
|
7904
7904
|
/// @group button
|
|
7905
7905
|
$kendo-button-theme-colors: map-merge(
|
|
7906
|
-
$theme-colors,
|
|
7906
|
+
$kendo-theme-colors,
|
|
7907
7907
|
( "base": #f5f5f5 )
|
|
7908
7908
|
) !default;
|
|
7909
7909
|
|
|
@@ -10617,7 +10617,7 @@ $kendo-avatar-sizes: (
|
|
|
10617
10617
|
|
|
10618
10618
|
/// Theme colors map of the avatar.
|
|
10619
10619
|
/// @group avatar
|
|
10620
|
-
$kendo-avatar-theme-colors: $theme-colors !default;
|
|
10620
|
+
$kendo-avatar-theme-colors: $kendo-theme-colors !default;
|
|
10621
10621
|
|
|
10622
10622
|
// #endregion
|
|
10623
10623
|
// #region @import "_layout.scss"; -> packages/default/scss/avatar/_layout.scss
|
|
@@ -10815,10 +10815,10 @@ $kendo-chip-base-bg: if( $dark-theme, contrast-wcag($kendo-button-text), $kendo-
|
|
|
10815
10815
|
/// @group chip
|
|
10816
10816
|
$kendo-chip-theme-colors: (
|
|
10817
10817
|
"base": $kendo-chip-base-bg,
|
|
10818
|
-
"error": map-get($theme-colors, "error"),
|
|
10819
|
-
"info": map-get($theme-colors, "info"),
|
|
10820
|
-
"warning": map-get($theme-colors, "warning"),
|
|
10821
|
-
"success": map-get($theme-colors, "success")
|
|
10818
|
+
"error": map-get($kendo-theme-colors, "error"),
|
|
10819
|
+
"info": map-get($kendo-theme-colors, "info"),
|
|
10820
|
+
"warning": map-get($kendo-theme-colors, "warning"),
|
|
10821
|
+
"success": map-get($kendo-theme-colors, "success")
|
|
10822
10822
|
) !default;
|
|
10823
10823
|
|
|
10824
10824
|
/// The base background color of solid chip.
|
|
@@ -11847,7 +11847,7 @@ $loader-container-font-size-lg: $font-size-lg !default;
|
|
|
11847
11847
|
// #region @import "_theme.scss"; -> packages/default/scss/loader/_theme.scss
|
|
11848
11848
|
@include exports( "loader/theme" ) {
|
|
11849
11849
|
|
|
11850
|
-
@each $name, $color in $theme-colors {
|
|
11850
|
+
@each $name, $color in $kendo-theme-colors {
|
|
11851
11851
|
.k-loader-#{$name} {
|
|
11852
11852
|
@if $name == "secondary" {
|
|
11853
11853
|
color: $loader-secondary-bg;
|
|
@@ -20832,7 +20832,7 @@ $appbar-bottom-box-shadow: 0px -1px 1px rgba(0, 0, 0, .16) !default;
|
|
|
20832
20832
|
|
|
20833
20833
|
|
|
20834
20834
|
// AppBar theme colors
|
|
20835
|
-
@each $name, $color in $theme-colors {
|
|
20835
|
+
@each $name, $color in $kendo-theme-colors {
|
|
20836
20836
|
.k-appbar-#{$name} {
|
|
20837
20837
|
@if $name == "light" {
|
|
20838
20838
|
color: $appbar-light-text;
|
|
@@ -20968,7 +20968,7 @@ $kendo-fab-item-icon-height: $kendo-fab-item-icon-width !default;
|
|
|
20968
20968
|
|
|
20969
20969
|
/// Theme colors map for the FAB.
|
|
20970
20970
|
/// @group floating-action-button
|
|
20971
|
-
$kendo-fab-theme-colors: $theme-colors !default;
|
|
20971
|
+
$kendo-fab-theme-colors: $kendo-theme-colors !default;
|
|
20972
20972
|
|
|
20973
20973
|
/// The base shadow of the FAB.
|
|
20974
20974
|
/// @group floating-action-button
|
|
@@ -22404,7 +22404,7 @@ $notification-themes: () !default;
|
|
|
22404
22404
|
// sass-lint:enable indentation
|
|
22405
22405
|
}
|
|
22406
22406
|
|
|
22407
|
-
@each $theme, $props in $theme-colors {
|
|
22407
|
+
@each $theme, $props in $kendo-theme-colors {
|
|
22408
22408
|
$notification-themes: map-merge($notification-themes, ($theme: notification-theme($theme, $props)) );
|
|
22409
22409
|
}
|
|
22410
22410
|
|
|
@@ -23105,7 +23105,7 @@ $card-focus-callout-box-shadow-w: 2px -1px 4px 0 rgba( black, .06) !default;
|
|
|
23105
23105
|
|
|
23106
23106
|
|
|
23107
23107
|
// Card theme colors
|
|
23108
|
-
@each $name, $color in $theme-colors {
|
|
23108
|
+
@each $name, $color in $kendo-theme-colors {
|
|
23109
23109
|
.k-card-#{$name} {
|
|
23110
23110
|
background-color: tint($color, 10);
|
|
23111
23111
|
color: shade($color, 6);
|
|
@@ -23593,7 +23593,7 @@ $bottom-nav-flat-border: $component-border !default;
|
|
|
23593
23593
|
@include exports("bottom-navigation/theme") {
|
|
23594
23594
|
|
|
23595
23595
|
// Solid
|
|
23596
|
-
@each $name, $color in $theme-colors {
|
|
23596
|
+
@each $name, $color in $kendo-theme-colors {
|
|
23597
23597
|
.k-bottom-nav-solid.k-bottom-nav-#{$name} {
|
|
23598
23598
|
@include fill(
|
|
23599
23599
|
$color: true-mix( $color, contrast-wcag( $color ), 35%),
|
|
@@ -23626,7 +23626,7 @@ $bottom-nav-flat-border: $component-border !default;
|
|
|
23626
23626
|
@include fill( $bg: rgba($bottom-nav-flat-text, .05) );
|
|
23627
23627
|
}
|
|
23628
23628
|
|
|
23629
|
-
@each $name, $color in $theme-colors {
|
|
23629
|
+
@each $name, $color in $kendo-theme-colors {
|
|
23630
23630
|
&.k-bottom-nav-#{$name} .k-bottom-nav-item.k-state-selected {
|
|
23631
23631
|
@if $name == "secondary" or $name == "light" {
|
|
23632
23632
|
@include fill( $color: try-shade($color, 3) );
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-theme-default",
|
|
3
3
|
"description": "SASS resources for the default Kendo UI theme",
|
|
4
|
-
"version": "5.1.
|
|
4
|
+
"version": "5.1.1",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"keywords": [
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"prepublishOnly": "echo 'no prebublish for default theme'",
|
|
48
48
|
"postpublish": "echo 'no postpublish for default theme'"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "798d6d06021f47b42f71b16530f96ab23d2b9c04"
|
|
51
51
|
}
|
package/scss/_variables.scss
CHANGED
|
@@ -203,7 +203,7 @@ $light: #ebebeb !default;
|
|
|
203
203
|
$inverse: if( $dark-theme, $light, $dark ) !default;
|
|
204
204
|
|
|
205
205
|
|
|
206
|
-
$theme-colors: (
|
|
206
|
+
$kendo-theme-colors: (
|
|
207
207
|
"primary": $primary,
|
|
208
208
|
"secondary": $secondary,
|
|
209
209
|
"tertiary": $tertiary,
|
|
@@ -240,7 +240,7 @@ $app-border: rgba( $black, .08 ) !default;
|
|
|
240
240
|
|
|
241
241
|
// Component
|
|
242
242
|
/// Background color of a component.
|
|
243
|
-
/// Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$grid-bg: $component-bg !
|
|
243
|
+
/// Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$grid-bg: $component-bg !default;`.
|
|
244
244
|
/// @group component
|
|
245
245
|
$component-bg: $body-bg !default;
|
|
246
246
|
/// Text color of a component.
|
package/scss/appbar/_theme.scss
CHANGED
package/scss/badge/_theme.scss
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@include exports( "badge/theme" ) {
|
|
2
2
|
|
|
3
3
|
// Solid badges
|
|
4
|
-
@each $name, $color in $theme-colors {
|
|
4
|
+
@each $name, $color in $kendo-theme-colors {
|
|
5
5
|
.k-badge-solid.k-badge-#{$name} {
|
|
6
6
|
border-color: $color;
|
|
7
7
|
color: contrast-wcag( $color );
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
background-color: $component-bg;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
@each $name, $color in $theme-colors {
|
|
18
|
+
@each $name, $color in $kendo-theme-colors {
|
|
19
19
|
.k-badge-outline.k-badge-#{$name} {
|
|
20
20
|
color: $color;
|
|
21
21
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@include exports("bottom-navigation/theme") {
|
|
2
2
|
|
|
3
3
|
// Solid
|
|
4
|
-
@each $name, $color in $theme-colors {
|
|
4
|
+
@each $name, $color in $kendo-theme-colors {
|
|
5
5
|
.k-bottom-nav-solid.k-bottom-nav-#{$name} {
|
|
6
6
|
@include fill(
|
|
7
7
|
$color: true-mix( $color, contrast-wcag( $color ), 35%),
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
@include fill( $bg: rgba($bottom-nav-flat-text, .05) );
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
@each $name, $color in $theme-colors {
|
|
37
|
+
@each $name, $color in $kendo-theme-colors {
|
|
38
38
|
&.k-bottom-nav-#{$name} .k-bottom-nav-item.k-state-selected {
|
|
39
39
|
@if $name == "secondary" or $name == "light" {
|
|
40
40
|
@include fill( $color: try-shade($color, 3) );
|
package/scss/card/_theme.scss
CHANGED
|
@@ -66,10 +66,10 @@ $kendo-chip-base-bg: if( $dark-theme, contrast-wcag($kendo-button-text), $kendo-
|
|
|
66
66
|
/// @group chip
|
|
67
67
|
$kendo-chip-theme-colors: (
|
|
68
68
|
"base": $kendo-chip-base-bg,
|
|
69
|
-
"error": map-get($theme-colors, "error"),
|
|
70
|
-
"info": map-get($theme-colors, "info"),
|
|
71
|
-
"warning": map-get($theme-colors, "warning"),
|
|
72
|
-
"success": map-get($theme-colors, "success")
|
|
69
|
+
"error": map-get($kendo-theme-colors, "error"),
|
|
70
|
+
"info": map-get($kendo-theme-colors, "info"),
|
|
71
|
+
"warning": map-get($kendo-theme-colors, "warning"),
|
|
72
|
+
"success": map-get($kendo-theme-colors, "success")
|
|
73
73
|
) !default;
|
|
74
74
|
|
|
75
75
|
/// The base background color of solid chip.
|
package/scss/fab/_variables.scss
CHANGED
|
@@ -88,7 +88,7 @@ $kendo-fab-item-icon-height: $kendo-fab-item-icon-width !default;
|
|
|
88
88
|
|
|
89
89
|
/// Theme colors map for the FAB.
|
|
90
90
|
/// @group floating-action-button
|
|
91
|
-
$kendo-fab-theme-colors: $theme-colors !default;
|
|
91
|
+
$kendo-fab-theme-colors: $kendo-theme-colors !default;
|
|
92
92
|
|
|
93
93
|
/// The base shadow of the FAB.
|
|
94
94
|
/// @group floating-action-button
|
package/scss/loader/_theme.scss
CHANGED
|
@@ -29,6 +29,6 @@ $notification-themes: () !default;
|
|
|
29
29
|
// sass-lint:enable indentation
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
@each $theme, $props in $theme-colors {
|
|
32
|
+
@each $theme, $props in $kendo-theme-colors {
|
|
33
33
|
$notification-themes: map-merge($notification-themes, ($theme: notification-theme($theme, $props)) );
|
|
34
34
|
}
|
package/scss/utils/_border.scss
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
.k-color-inherit { color: inherit; }
|
|
12
12
|
|
|
13
|
-
@each $name, $color in $theme-colors {
|
|
13
|
+
@each $name, $color in $kendo-theme-colors {
|
|
14
14
|
.k-text-#{$name},
|
|
15
15
|
.k-color-#{$name} {
|
|
16
16
|
color: $color !important;
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
// sass-lint:disable-block no-important
|
|
26
26
|
|
|
27
|
-
@each $name, $bg-color in $theme-colors {
|
|
27
|
+
@each $name, $bg-color in $kendo-theme-colors {
|
|
28
28
|
.k-bg-#{$name} {
|
|
29
29
|
background-color: $bg-color !important;
|
|
30
30
|
}
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
|
|
42
42
|
@include exports( "common/decoration/variant" ) {
|
|
43
43
|
|
|
44
|
-
@each $name, $variant in $theme-colors {
|
|
44
|
+
@each $name, $variant in $kendo-theme-colors {
|
|
45
45
|
.k-state-#{$name} {
|
|
46
46
|
@include variant( $variant );
|
|
47
47
|
}
|