@progress/kendo-theme-classic 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 CHANGED
@@ -1120,7 +1120,7 @@ $light: #ebebeb !default;
1120
1120
  $inverse: if( $dark-theme, $light, $dark ) !default;
1121
1121
 
1122
1122
 
1123
- $theme-colors: (
1123
+ $kendo-theme-colors: (
1124
1124
  "primary": $primary,
1125
1125
  "secondary": $secondary,
1126
1126
  "tertiary": $tertiary,
@@ -1175,7 +1175,7 @@ $base-border: try-shade( $base-bg, 2 ) !default;
1175
1175
  $base-gradient: rgba( white, .1 ), rgba( white, 0 ) !default;
1176
1176
 
1177
1177
  /// Background color of a component.
1178
- /// Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$grid-bg: $component-bg !defualt;`.
1178
+ /// Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$grid-bg: $component-bg !default;`.
1179
1179
  /// @group component
1180
1180
  $component-bg: $body-bg !default;
1181
1181
  /// Text color of a component.
@@ -3331,7 +3331,7 @@ $utils-border-radius: (
3331
3331
  0: 0
3332
3332
  ) !default;
3333
3333
 
3334
- $utils-border-color: $theme-colors !default;
3334
+ $utils-border-color: $kendo-theme-colors !default;
3335
3335
 
3336
3336
  $utils-border-radius-sides: (
3337
3337
  default: border-radius,
@@ -4429,7 +4429,7 @@ $utils-border-radius: (
4429
4429
 
4430
4430
  .k-color-inherit { color: inherit; }
4431
4431
 
4432
- @each $name, $color in $theme-colors {
4432
+ @each $name, $color in $kendo-theme-colors {
4433
4433
  .k-text-#{$name},
4434
4434
  .k-color-#{$name} {
4435
4435
  color: $color !important;
@@ -4443,7 +4443,7 @@ $utils-border-radius: (
4443
4443
 
4444
4444
  // sass-lint:disable-block no-important
4445
4445
 
4446
- @each $name, $bg-color in $theme-colors {
4446
+ @each $name, $bg-color in $kendo-theme-colors {
4447
4447
  .k-bg-#{$name} {
4448
4448
  background-color: $bg-color !important;
4449
4449
  }
@@ -4460,7 +4460,7 @@ $utils-border-radius: (
4460
4460
 
4461
4461
  @include exports( "common/decoration/variant" ) {
4462
4462
 
4463
- @each $name, $variant in $theme-colors {
4463
+ @each $name, $variant in $kendo-theme-colors {
4464
4464
  .k-state-#{$name} {
4465
4465
  @include variant( $variant );
4466
4466
  }
@@ -5972,7 +5972,7 @@ $message-box-link-text-decoration: underline !default;
5972
5972
  // #region @import "~@progress/kendo-theme-default/scss/messagebox/_theme.scss"; -> packages/classic/node_modules/@progress/kendo-theme-default/scss/messagebox/_theme.scss
5973
5973
  @include exports("messagebox/theme") {
5974
5974
 
5975
- @each $color-name, $color in $theme-colors {
5975
+ @each $color-name, $color in $kendo-theme-colors {
5976
5976
  .k-messagebox-#{$color-name} {
5977
5977
  @include fill(
5978
5978
  color-level( $color, $message-box-text-level ),
@@ -7383,7 +7383,7 @@ $listgroup-item-border-width: 1px !default;
7383
7383
 
7384
7384
  // Component
7385
7385
  // #region @import "_variables.scss"; -> packages/classic/scss/overlay/_variables.scss
7386
- $overlay-theme-colors: $theme-colors !default;
7386
+ $overlay-theme-colors: $kendo-theme-colors !default;
7387
7387
 
7388
7388
  $overlay-bg: $black !default;
7389
7389
  $overlay-opacity: .5 !default;
@@ -7926,7 +7926,7 @@ $badge-dot-size-lg: 12px !default;
7926
7926
  @include exports( "badge/theme" ) {
7927
7927
 
7928
7928
  // Solid badges
7929
- @each $name, $color in $theme-colors {
7929
+ @each $name, $color in $kendo-theme-colors {
7930
7930
  .k-badge-solid.k-badge-#{$name} {
7931
7931
  border-color: $color;
7932
7932
  color: contrast-wcag( $color );
@@ -7940,7 +7940,7 @@ $badge-dot-size-lg: 12px !default;
7940
7940
  background-color: $component-bg;
7941
7941
  }
7942
7942
 
7943
- @each $name, $color in $theme-colors {
7943
+ @each $name, $color in $kendo-theme-colors {
7944
7944
  .k-badge-outline.k-badge-#{$name} {
7945
7945
  color: $color;
7946
7946
  }
@@ -8023,7 +8023,7 @@ $kendo-button-arrow-padding-y: $kendo-button-padding-y !default;
8023
8023
  /// Theme colors map for the button.
8024
8024
  /// @group button
8025
8025
  $kendo-button-theme-colors: map-merge(
8026
- $theme-colors,
8026
+ $kendo-theme-colors,
8027
8027
  ( "base": $base-bg )
8028
8028
  ) !default;
8029
8029
 
@@ -10773,7 +10773,7 @@ $kendo-avatar-sizes: (
10773
10773
 
10774
10774
  /// Theme colors map of the avatar.
10775
10775
  /// @group avatar
10776
- $kendo-avatar-theme-colors: $theme-colors !default;
10776
+ $kendo-avatar-theme-colors: $kendo-theme-colors !default;
10777
10777
 
10778
10778
  // #endregion
10779
10779
  // #region @import "_layout.scss"; -> packages/classic/scss/avatar/_layout.scss
@@ -10977,10 +10977,10 @@ $kendo-chip-base-bg: if( $dark-theme, contrast-wcag($kendo-button-text), $kendo-
10977
10977
  /// @group chip
10978
10978
  $kendo-chip-theme-colors: (
10979
10979
  "base": $kendo-chip-base-bg,
10980
- "error": map-get( $theme-colors, "error" ),
10981
- "info": map-get( $theme-colors, "info" ),
10982
- "warning": map-get( $theme-colors, "warning" ),
10983
- "success": map-get( $theme-colors, "success" )
10980
+ "error": map-get( $kendo-theme-colors, "error" ),
10981
+ "info": map-get( $kendo-theme-colors, "info" ),
10982
+ "warning": map-get( $kendo-theme-colors, "warning" ),
10983
+ "success": map-get( $kendo-theme-colors, "success" )
10984
10984
  ) !default;
10985
10985
 
10986
10986
  /// The base background color of solid chip.
@@ -12026,7 +12026,7 @@ $loader-container-font-size-lg: $font-size-lg !default;
12026
12026
  // #region @import "~@progress/kendo-theme-default/scss/loader/_theme.scss"; -> packages/classic/node_modules/@progress/kendo-theme-default/scss/loader/_theme.scss
12027
12027
  @include exports( "loader/theme" ) {
12028
12028
 
12029
- @each $name, $color in $theme-colors {
12029
+ @each $name, $color in $kendo-theme-colors {
12030
12030
  .k-loader-#{$name} {
12031
12031
  @if $name == "secondary" {
12032
12032
  color: $loader-secondary-bg;
@@ -21247,7 +21247,7 @@ $appbar-bottom-box-shadow: 0px -1px 1px rgba(0, 0, 0, .16) !default;
21247
21247
 
21248
21248
 
21249
21249
  // AppBar theme colors
21250
- @each $name, $color in $theme-colors {
21250
+ @each $name, $color in $kendo-theme-colors {
21251
21251
  .k-appbar-#{$name} {
21252
21252
  @if $name == "light" {
21253
21253
  color: $appbar-light-text;
@@ -21385,7 +21385,7 @@ $kendo-fab-item-icon-height: $kendo-fab-item-icon-width !default;
21385
21385
 
21386
21386
  /// Theme colors map for the FAB.
21387
21387
  /// @group floating-action-button
21388
- $kendo-fab-theme-colors: $theme-colors !default;
21388
+ $kendo-fab-theme-colors: $kendo-theme-colors !default;
21389
21389
 
21390
21390
  /// The base shadow of the FAB.
21391
21391
  /// @group floating-action-button
@@ -22851,7 +22851,7 @@ $notification-themes: () !default;
22851
22851
  // sass-lint:enable indentation
22852
22852
  }
22853
22853
 
22854
- @each $theme, $props in $theme-colors {
22854
+ @each $theme, $props in $kendo-theme-colors {
22855
22855
  $notification-themes: map-merge($notification-themes, ($theme: notification-theme($theme, $props)) );
22856
22856
  }
22857
22857
 
@@ -23565,7 +23565,7 @@ $card-focus-callout-box-shadow-w: 2px -1px 4px 0 rgba( black, .06) !default;
23565
23565
 
23566
23566
 
23567
23567
  // Card theme colors
23568
- @each $name, $color in $theme-colors {
23568
+ @each $name, $color in $kendo-theme-colors {
23569
23569
  .k-card-#{$name} {
23570
23570
  background-color: tint($color, 10);
23571
23571
  color: shade($color, 6);
@@ -24066,7 +24066,7 @@ $bottom-nav-flat-border: $component-border !default;
24066
24066
  @include exports("bottom-navigation/theme") {
24067
24067
 
24068
24068
  // Solid
24069
- @each $name, $color in $theme-colors {
24069
+ @each $name, $color in $kendo-theme-colors {
24070
24070
  .k-bottom-nav-solid.k-bottom-nav-#{$name} {
24071
24071
  @include fill(
24072
24072
  $color: true-mix( $color, contrast-wcag( $color ), 35%),
@@ -24099,7 +24099,7 @@ $bottom-nav-flat-border: $component-border !default;
24099
24099
  @include fill( $bg: rgba($bottom-nav-flat-text, .05) );
24100
24100
  }
24101
24101
 
24102
- @each $name, $color in $theme-colors {
24102
+ @each $name, $color in $kendo-theme-colors {
24103
24103
  &.k-bottom-nav-#{$name} .k-bottom-nav-item.k-state-selected {
24104
24104
  @if $name == "secondary" or $name == "light" {
24105
24105
  @include fill( $color: try-shade($color, 3) );
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-theme-classic",
3
3
  "description": "Sass port of less based themes for Kendo UI theme",
4
- "version": "5.1.0",
4
+ "version": "5.1.1",
5
5
  "author": "Progress",
6
6
  "license": "Apache-2.0",
7
7
  "keywords": [
@@ -49,7 +49,7 @@
49
49
  "postpublish": "echo 'no postpublish for classic theme'"
50
50
  },
51
51
  "dependencies": {
52
- "@progress/kendo-theme-default": "^5.1.0"
52
+ "@progress/kendo-theme-default": "^5.1.1"
53
53
  },
54
- "gitHead": "279941cb925d750fc123f66c3e15ce1e2b666191"
54
+ "gitHead": "798d6d06021f47b42f71b16530f96ab23d2b9c04"
55
55
  }
@@ -189,7 +189,7 @@ $light: #ebebeb !default;
189
189
  $inverse: if( $dark-theme, $light, $dark ) !default;
190
190
 
191
191
 
192
- $theme-colors: (
192
+ $kendo-theme-colors: (
193
193
  "primary": $primary,
194
194
  "secondary": $secondary,
195
195
  "tertiary": $tertiary,
@@ -244,7 +244,7 @@ $base-border: try-shade( $base-bg, 2 ) !default;
244
244
  $base-gradient: rgba( white, .1 ), rgba( white, 0 ) !default;
245
245
 
246
246
  /// Background color of a component.
247
- /// Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$grid-bg: $component-bg !defualt;`.
247
+ /// Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$grid-bg: $component-bg !default;`.
248
248
  /// @group component
249
249
  $component-bg: $body-bg !default;
250
250
  /// Text color of a component.
@@ -24,4 +24,4 @@ $kendo-avatar-sizes: (
24
24
 
25
25
  /// Theme colors map of the avatar.
26
26
  /// @group avatar
27
- $kendo-avatar-theme-colors: $theme-colors !default;
27
+ $kendo-avatar-theme-colors: $kendo-theme-colors !default;
@@ -54,7 +54,7 @@ $kendo-button-arrow-padding-y: $kendo-button-padding-y !default;
54
54
  /// Theme colors map for the button.
55
55
  /// @group button
56
56
  $kendo-button-theme-colors: map-merge(
57
- $theme-colors,
57
+ $kendo-theme-colors,
58
58
  ( "base": $base-bg )
59
59
  ) !default;
60
60
 
@@ -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.
@@ -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
@@ -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
  }
@@ -1,4 +1,4 @@
1
- $overlay-theme-colors: $theme-colors !default;
1
+ $overlay-theme-colors: $kendo-theme-colors !default;
2
2
 
3
3
  $overlay-bg: $black !default;
4
4
  $overlay-opacity: .5 !default;