@progress/kendo-theme-default 5.0.1 → 5.1.2-dev.0

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.
Files changed (39) hide show
  1. package/dist/all.css +2 -2
  2. package/dist/all.scss +63 -23
  3. package/dist/default-blue.scss +2 -2
  4. package/dist/default-green.scss +2 -2
  5. package/dist/default-main-dark.scss +2 -2
  6. package/dist/default-main.scss +2 -2
  7. package/dist/default-nordic.scss +2 -2
  8. package/dist/default-orange.scss +2 -2
  9. package/dist/default-purple.scss +2 -2
  10. package/dist/default-turquoise.scss +2 -2
  11. package/dist/default-urban.scss +2 -2
  12. package/lib/swatches/default-blue.json +2 -2
  13. package/lib/swatches/default-green.json +2 -2
  14. package/lib/swatches/default-main-dark.json +2 -2
  15. package/lib/swatches/default-main.json +2 -2
  16. package/lib/swatches/default-nordic.json +2 -2
  17. package/lib/swatches/default-orange.json +2 -2
  18. package/lib/swatches/default-purple.json +2 -2
  19. package/lib/swatches/default-turquoise.json +2 -2
  20. package/lib/swatches/default-urban.json +2 -2
  21. package/package.json +2 -2
  22. package/scss/_variables.scss +2 -2
  23. package/scss/appbar/_theme.scss +1 -1
  24. package/scss/avatar/_variables.scss +1 -1
  25. package/scss/badge/_theme.scss +2 -2
  26. package/scss/bottom-navigation/_theme.scss +2 -2
  27. package/scss/button/_variables.scss +1 -1
  28. package/scss/card/_theme.scss +1 -1
  29. package/scss/chip/_variables.scss +4 -4
  30. package/scss/fab/_variables.scss +1 -1
  31. package/scss/input/_theme.scss +26 -0
  32. package/scss/input/_variables.scss +12 -0
  33. package/scss/loader/_theme.scss +1 -1
  34. package/scss/messagebox/_theme.scss +1 -1
  35. package/scss/notification/_variables.scss +1 -1
  36. package/scss/overlay/_variables.scss +1 -1
  37. package/scss/tabstrip/_theme.scss +2 -0
  38. package/scss/utils/_border.scss +1 -1
  39. package/scss/utils/_theme-colors.scss +3 -3
package/dist/all.css CHANGED
@@ -23911,13 +23911,13 @@ kendo-card-footer {
23911
23911
  color: #d6534a;
23912
23912
  }
23913
23913
 
23914
- .k-tabstrip-items-wrapper .k-item.k-state-active, .k-tabstrip-items-wrapper .k-item.k-state-selected {
23914
+ .k-tabstrip-items-wrapper .k-item:active, .k-tabstrip-items-wrapper .k-item.k-state-active, .k-tabstrip-items-wrapper .k-item.k-state-selected {
23915
23915
  border-color: rgba(0, 0, 0, 0.08);
23916
23916
  color: #424242;
23917
23917
  background-color: #ffffff;
23918
23918
  }
23919
23919
 
23920
- .k-tabstrip-items-wrapper .k-item.k-state-focused {
23920
+ .k-tabstrip-items-wrapper .k-item:focus, .k-tabstrip-items-wrapper .k-item.k-state-focused {
23921
23921
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.12);
23922
23922
  }
23923
23923
 
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 !defualt;`.
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
 
@@ -8811,6 +8811,12 @@ $kendo-input-focus-text: null !default;
8811
8811
  $kendo-input-focus-border: $kendo-input-hover-border !default;
8812
8812
  $kendo-input-focus-shadow: 0 0 0 2px rgba( $kendo-input-focus-border, .08 ) !default;
8813
8813
 
8814
+ $kendo-input-disabled-bg: null !default;
8815
+ $kendo-input-disabled-text: null !default;
8816
+ $kendo-input-disabled-border: null !default;
8817
+ $kendo-input-disabled-gradient: null !default;
8818
+ $kendo-input-disabled-shadow: null !default;
8819
+
8814
8820
  $kendo-picker-bg: $kendo-button-bg !default;
8815
8821
  $kendo-picker-text: $kendo-button-text !default;
8816
8822
  $kendo-picker-border: $kendo-button-border !default;
@@ -8829,6 +8835,12 @@ $kendo-picker-focus-border: $kendo-button-focus-border !default;
8829
8835
  $kendo-picker-focus-gradient: $kendo-button-focus-gradient !default;
8830
8836
  $kendo-picker-focus-shadow: $kendo-button-focus-shadow !default;
8831
8837
 
8838
+ $kendo-picker-disabled-bg: null !default;
8839
+ $kendo-picker-disabled-text: null !default;
8840
+ $kendo-picker-disabled-border: null !default;
8841
+ $kendo-picker-disabled-gradient: null !default;
8842
+ $kendo-picker-disabled-shadow: null !default;
8843
+
8832
8844
  $kendo-input-placeholder-text: $subtle-text !default;
8833
8845
  $kendo-input-placeholder-opacity: 1 !default;
8834
8846
 
@@ -9318,6 +9330,19 @@ $kendo-input-invalid-shadow: $invalid-shadow !default;
9318
9330
  @include box-shadow( $kendo-input-focus-shadow );
9319
9331
  }
9320
9332
 
9333
+ //Disabled
9334
+ &:disabled,
9335
+ &[disabled],
9336
+ &.k-disabled {
9337
+ @include fill(
9338
+ $kendo-input-disabled-text,
9339
+ $kendo-input-disabled-bg,
9340
+ $kendo-input-disabled-border,
9341
+ $kendo-input-disabled-gradient
9342
+ );
9343
+ @include box-shadow( $kendo-input-disabled-shadow );
9344
+ }
9345
+
9321
9346
  // Invalid
9322
9347
  &.k-invalid,
9323
9348
  &.ng-invalid.ng-touched,
@@ -9381,6 +9406,19 @@ $kendo-input-invalid-shadow: $invalid-shadow !default;
9381
9406
  @include box-shadow( $kendo-picker-focus-shadow );
9382
9407
  }
9383
9408
 
9409
+ //Disabled
9410
+ &:disabled,
9411
+ &[disabled],
9412
+ &.k-disabled {
9413
+ @include fill(
9414
+ $kendo-picker-disabled-text,
9415
+ $kendo-picker-disabled-bg,
9416
+ $kendo-picker-disabled-border,
9417
+ $kendo-picker-disabled-gradient
9418
+ );
9419
+ @include box-shadow( $kendo-picker-disabled-shadow );
9420
+ }
9421
+
9384
9422
  // Invalid
9385
9423
  &.k-invalid,
9386
9424
  &.ng-invalid.ng-touched,
@@ -10617,7 +10655,7 @@ $kendo-avatar-sizes: (
10617
10655
 
10618
10656
  /// Theme colors map of the avatar.
10619
10657
  /// @group avatar
10620
- $kendo-avatar-theme-colors: $theme-colors !default;
10658
+ $kendo-avatar-theme-colors: $kendo-theme-colors !default;
10621
10659
 
10622
10660
  // #endregion
10623
10661
  // #region @import "_layout.scss"; -> packages/default/scss/avatar/_layout.scss
@@ -10815,10 +10853,10 @@ $kendo-chip-base-bg: if( $dark-theme, contrast-wcag($kendo-button-text), $kendo-
10815
10853
  /// @group chip
10816
10854
  $kendo-chip-theme-colors: (
10817
10855
  "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")
10856
+ "error": map-get($kendo-theme-colors, "error"),
10857
+ "info": map-get($kendo-theme-colors, "info"),
10858
+ "warning": map-get($kendo-theme-colors, "warning"),
10859
+ "success": map-get($kendo-theme-colors, "success")
10822
10860
  ) !default;
10823
10861
 
10824
10862
  /// The base background color of solid chip.
@@ -11847,7 +11885,7 @@ $loader-container-font-size-lg: $font-size-lg !default;
11847
11885
  // #region @import "_theme.scss"; -> packages/default/scss/loader/_theme.scss
11848
11886
  @include exports( "loader/theme" ) {
11849
11887
 
11850
- @each $name, $color in $theme-colors {
11888
+ @each $name, $color in $kendo-theme-colors {
11851
11889
  .k-loader-#{$name} {
11852
11890
  @if $name == "secondary" {
11853
11891
  color: $loader-secondary-bg;
@@ -20832,7 +20870,7 @@ $appbar-bottom-box-shadow: 0px -1px 1px rgba(0, 0, 0, .16) !default;
20832
20870
 
20833
20871
 
20834
20872
  // AppBar theme colors
20835
- @each $name, $color in $theme-colors {
20873
+ @each $name, $color in $kendo-theme-colors {
20836
20874
  .k-appbar-#{$name} {
20837
20875
  @if $name == "light" {
20838
20876
  color: $appbar-light-text;
@@ -20968,7 +21006,7 @@ $kendo-fab-item-icon-height: $kendo-fab-item-icon-width !default;
20968
21006
 
20969
21007
  /// Theme colors map for the FAB.
20970
21008
  /// @group floating-action-button
20971
- $kendo-fab-theme-colors: $theme-colors !default;
21009
+ $kendo-fab-theme-colors: $kendo-theme-colors !default;
20972
21010
 
20973
21011
  /// The base shadow of the FAB.
20974
21012
  /// @group floating-action-button
@@ -22404,7 +22442,7 @@ $notification-themes: () !default;
22404
22442
  // sass-lint:enable indentation
22405
22443
  }
22406
22444
 
22407
- @each $theme, $props in $theme-colors {
22445
+ @each $theme, $props in $kendo-theme-colors {
22408
22446
  $notification-themes: map-merge($notification-themes, ($theme: notification-theme($theme, $props)) );
22409
22447
  }
22410
22448
 
@@ -23105,7 +23143,7 @@ $card-focus-callout-box-shadow-w: 2px -1px 4px 0 rgba( black, .06) !default;
23105
23143
 
23106
23144
 
23107
23145
  // Card theme colors
23108
- @each $name, $color in $theme-colors {
23146
+ @each $name, $color in $kendo-theme-colors {
23109
23147
  .k-card-#{$name} {
23110
23148
  background-color: tint($color, 10);
23111
23149
  color: shade($color, 6);
@@ -23593,7 +23631,7 @@ $bottom-nav-flat-border: $component-border !default;
23593
23631
  @include exports("bottom-navigation/theme") {
23594
23632
 
23595
23633
  // Solid
23596
- @each $name, $color in $theme-colors {
23634
+ @each $name, $color in $kendo-theme-colors {
23597
23635
  .k-bottom-nav-solid.k-bottom-nav-#{$name} {
23598
23636
  @include fill(
23599
23637
  $color: true-mix( $color, contrast-wcag( $color ), 35%),
@@ -23626,7 +23664,7 @@ $bottom-nav-flat-border: $component-border !default;
23626
23664
  @include fill( $bg: rgba($bottom-nav-flat-text, .05) );
23627
23665
  }
23628
23666
 
23629
- @each $name, $color in $theme-colors {
23667
+ @each $name, $color in $kendo-theme-colors {
23630
23668
  &.k-bottom-nav-#{$name} .k-bottom-nav-item.k-state-selected {
23631
23669
  @if $name == "secondary" or $name == "light" {
23632
23670
  @include fill( $color: try-shade($color, 3) );
@@ -25589,6 +25627,7 @@ $tabstrip-content-border-focused: $component-text !default;
25589
25627
  );
25590
25628
  }
25591
25629
 
25630
+ &:active,
25592
25631
  &.k-state-active,
25593
25632
  &.k-state-selected {
25594
25633
  @include fill(
@@ -25599,6 +25638,7 @@ $tabstrip-content-border-focused: $component-text !default;
25599
25638
  );
25600
25639
  }
25601
25640
 
25641
+ &:focus,
25602
25642
  &.k-state-focused {
25603
25643
  @include box-shadow( $tabstrip-item-focused-shadow );
25604
25644
  }
@@ -18,8 +18,8 @@ $hovered-text: #424242;
18
18
  $hovered-bg: #ececec;
19
19
  $selected-text: #ffffff;
20
20
  $selected-bg: #23bde0;
21
- $button-text: #424242;
22
- $button-bg: #f5f5f5;
21
+ $kendo-button-text: #424242;
22
+ $kendo-button-bg: #f5f5f5;
23
23
  $link-text: #23bde0;
24
24
  $link-hover-text: #1d9fbc;
25
25
  $series-a: #23bde0;
@@ -18,8 +18,8 @@ $hovered-text: #424242;
18
18
  $hovered-bg: #ececec;
19
19
  $selected-text: #ffffff;
20
20
  $selected-bg: #53b827;
21
- $button-text: #424242;
22
- $button-bg: #f5f5f5;
21
+ $kendo-button-text: #424242;
22
+ $kendo-button-bg: #f5f5f5;
23
23
  $link-text: #53b827;
24
24
  $link-hover-text: #469b21;
25
25
  $series-a: #53b827;
@@ -19,8 +19,8 @@ $hovered-text: #ffffff;
19
19
  $hovered-bg: #202020;
20
20
  $selected-text: #ffffff;
21
21
  $selected-bg: #ff6358;
22
- $button-text: #ffffff;
23
- $button-bg: #404040;
22
+ $kendo-button-text: #ffffff;
23
+ $kendo-button-bg: #404040;
24
24
  $link-text: #ff6358;
25
25
  $link-hover-text: #d6534a;
26
26
  $series-a: #ff6358;
@@ -18,8 +18,8 @@ $hovered-text: #424242;
18
18
  $hovered-bg: #ececec;
19
19
  $selected-text: #ffffff;
20
20
  $selected-bg: #ff6358;
21
- $button-text: #424242;
22
- $button-bg: #f5f5f5;
21
+ $kendo-button-text: #424242;
22
+ $kendo-button-bg: #f5f5f5;
23
23
  $link-text: #ff6358;
24
24
  $link-hover-text: #d6534a;
25
25
  $series-a: #ff6358;
@@ -18,8 +18,8 @@ $hovered-text: #212529;
18
18
  $hovered-bg: #e4e7eb;
19
19
  $selected-text: #ffffff;
20
20
  $selected-bg: #e7607b;
21
- $button-text: #212529;
22
- $button-bg: #d6e5e9;
21
+ $kendo-button-text: #212529;
22
+ $kendo-button-bg: #d6e5e9;
23
23
  $link-text: #e7607b;
24
24
  $link-hover-text: #da2146;
25
25
  $series-a: #e7607b;
@@ -18,8 +18,8 @@ $hovered-text: #424242;
18
18
  $hovered-bg: #ececec;
19
19
  $selected-text: #ffffff;
20
20
  $selected-bg: #ff9411;
21
- $button-text: #424242;
22
- $button-bg: #f5f5f5;
21
+ $kendo-button-text: #424242;
22
+ $kendo-button-bg: #f5f5f5;
23
23
  $link-text: #ff9411;
24
24
  $link-hover-text: #d67c0e;
25
25
  $series-a: #ff9411;
@@ -18,8 +18,8 @@ $hovered-text: #424242;
18
18
  $hovered-bg: #ececec;
19
19
  $selected-text: #ffffff;
20
20
  $selected-bg: #bf70cc;
21
- $button-text: #424242;
22
- $button-bg: #f5f5f5;
21
+ $kendo-button-text: #424242;
22
+ $kendo-button-bg: #f5f5f5;
23
23
  $link-text: #bf70cc;
24
24
  $link-hover-text: #a05eab;
25
25
  $series-a: #bf70cc;
@@ -18,8 +18,8 @@ $hovered-text: #424242;
18
18
  $hovered-bg: #ececec;
19
19
  $selected-text: #ffffff;
20
20
  $selected-bg: #28bfba;
21
- $button-text: #424242;
22
- $button-bg: #f5f5f5;
21
+ $kendo-button-text: #424242;
22
+ $kendo-button-bg: #f5f5f5;
23
23
  $link-text: #28bfba;
24
24
  $link-hover-text: #22a09c;
25
25
  $series-a: #28bfba;
@@ -18,8 +18,8 @@ $hovered-text: #16181b;
18
18
  $hovered-bg: #cfdee6;
19
19
  $selected-text: #ffffff;
20
20
  $selected-bg: #ff5c1a;
21
- $button-text: #ffffff;
22
- $button-bg: #5798be;
21
+ $kendo-button-text: #ffffff;
22
+ $kendo-button-bg: #5798be;
23
23
  $link-text: #ff5c1a;
24
24
  $link-hover-text: #e65317;
25
25
  $series-a: #ff7943;
@@ -134,12 +134,12 @@
134
134
  {
135
135
  "name": "Button",
136
136
  "variables": {
137
- "button-text": {
137
+ "kendo-button-text": {
138
138
  "name": "Button text color",
139
139
  "type": "color",
140
140
  "value": "#424242"
141
141
  },
142
- "button-bg": {
142
+ "kendo-button-bg": {
143
143
  "name": "Button background",
144
144
  "type": "color",
145
145
  "value": "#f5f5f5"
@@ -134,12 +134,12 @@
134
134
  {
135
135
  "name": "Button",
136
136
  "variables": {
137
- "button-text": {
137
+ "kendo-button-text": {
138
138
  "name": "Button text color",
139
139
  "type": "color",
140
140
  "value": "#424242"
141
141
  },
142
- "button-bg": {
142
+ "kendo-button-bg": {
143
143
  "name": "Button background",
144
144
  "type": "color",
145
145
  "value": "#f5f5f5"
@@ -144,12 +144,12 @@
144
144
  {
145
145
  "name": "Button",
146
146
  "variables": {
147
- "button-text": {
147
+ "kendo-button-text": {
148
148
  "name": "Button text color",
149
149
  "type": "color",
150
150
  "value": "#ffffff"
151
151
  },
152
- "button-bg": {
152
+ "kendo-button-bg": {
153
153
  "name": "Button background",
154
154
  "type": "color",
155
155
  "value": "#404040"
@@ -134,12 +134,12 @@
134
134
  {
135
135
  "name": "Button",
136
136
  "variables": {
137
- "button-text": {
137
+ "kendo-button-text": {
138
138
  "name": "Button text color",
139
139
  "type": "color",
140
140
  "value": "#424242"
141
141
  },
142
- "button-bg": {
142
+ "kendo-button-bg": {
143
143
  "name": "Button background",
144
144
  "type": "color",
145
145
  "value": "#f5f5f5"
@@ -134,12 +134,12 @@
134
134
  {
135
135
  "name": "Button",
136
136
  "variables": {
137
- "button-text": {
137
+ "kendo-button-text": {
138
138
  "name": "Button text color",
139
139
  "type": "color",
140
140
  "value": "#212529"
141
141
  },
142
- "button-bg": {
142
+ "kendo-button-bg": {
143
143
  "name": "Button background",
144
144
  "type": "color",
145
145
  "value": "#d6e5e9"
@@ -134,12 +134,12 @@
134
134
  {
135
135
  "name": "Button",
136
136
  "variables": {
137
- "button-text": {
137
+ "kendo-button-text": {
138
138
  "name": "Button text color",
139
139
  "type": "color",
140
140
  "value": "#424242"
141
141
  },
142
- "button-bg": {
142
+ "kendo-button-bg": {
143
143
  "name": "Button background",
144
144
  "type": "color",
145
145
  "value": "#f5f5f5"
@@ -134,12 +134,12 @@
134
134
  {
135
135
  "name": "Button",
136
136
  "variables": {
137
- "button-text": {
137
+ "kendo-button-text": {
138
138
  "name": "Button text color",
139
139
  "type": "color",
140
140
  "value": "#424242"
141
141
  },
142
- "button-bg": {
142
+ "kendo-button-bg": {
143
143
  "name": "Button background",
144
144
  "type": "color",
145
145
  "value": "#f5f5f5"
@@ -134,12 +134,12 @@
134
134
  {
135
135
  "name": "Button",
136
136
  "variables": {
137
- "button-text": {
137
+ "kendo-button-text": {
138
138
  "name": "Button text color",
139
139
  "type": "color",
140
140
  "value": "#424242"
141
141
  },
142
- "button-bg": {
142
+ "kendo-button-bg": {
143
143
  "name": "Button background",
144
144
  "type": "color",
145
145
  "value": "#f5f5f5"
@@ -134,12 +134,12 @@
134
134
  {
135
135
  "name": "Button",
136
136
  "variables": {
137
- "button-text": {
137
+ "kendo-button-text": {
138
138
  "name": "Button text color",
139
139
  "type": "color",
140
140
  "value": "#ffffff"
141
141
  },
142
- "button-bg": {
142
+ "kendo-button-bg": {
143
143
  "name": "Button background",
144
144
  "type": "color",
145
145
  "value": "#5798be"
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.0.1",
4
+ "version": "5.1.2-dev.0",
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": "7d2371ce2d1bf6cb93c6514e6578965140837353"
50
+ "gitHead": "c492bbaeca2d104534c4b4329c41afd762bb563b"
51
51
  }
@@ -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 !defualt;`.
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.
@@ -9,7 +9,7 @@
9
9
 
10
10
 
11
11
  // AppBar theme colors
12
- @each $name, $color in $theme-colors {
12
+ @each $name, $color in $kendo-theme-colors {
13
13
  .k-appbar-#{$name} {
14
14
  @if $name == "light" {
15
15
  color: $appbar-light-text;
@@ -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;
@@ -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) );
@@ -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": #f5f5f5 )
59
59
  ) !default;
60
60
 
@@ -53,7 +53,7 @@
53
53
 
54
54
 
55
55
  // Card theme colors
56
- @each $name, $color in $theme-colors {
56
+ @each $name, $color in $kendo-theme-colors {
57
57
  .k-card-#{$name} {
58
58
  background-color: tint($color, 10);
59
59
  color: shade($color, 6);
@@ -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
@@ -37,6 +37,19 @@
37
37
  @include box-shadow( $kendo-input-focus-shadow );
38
38
  }
39
39
 
40
+ //Disabled
41
+ &:disabled,
42
+ &[disabled],
43
+ &.k-disabled {
44
+ @include fill(
45
+ $kendo-input-disabled-text,
46
+ $kendo-input-disabled-bg,
47
+ $kendo-input-disabled-border,
48
+ $kendo-input-disabled-gradient
49
+ );
50
+ @include box-shadow( $kendo-input-disabled-shadow );
51
+ }
52
+
40
53
  // Invalid
41
54
  &.k-invalid,
42
55
  &.ng-invalid.ng-touched,
@@ -100,6 +113,19 @@
100
113
  @include box-shadow( $kendo-picker-focus-shadow );
101
114
  }
102
115
 
116
+ //Disabled
117
+ &:disabled,
118
+ &[disabled],
119
+ &.k-disabled {
120
+ @include fill(
121
+ $kendo-picker-disabled-text,
122
+ $kendo-picker-disabled-bg,
123
+ $kendo-picker-disabled-border,
124
+ $kendo-picker-disabled-gradient
125
+ );
126
+ @include box-shadow( $kendo-picker-disabled-shadow );
127
+ }
128
+
103
129
  // Invalid
104
130
  &.k-invalid,
105
131
  &.ng-invalid.ng-touched,
@@ -71,6 +71,12 @@ $kendo-input-focus-text: null !default;
71
71
  $kendo-input-focus-border: $kendo-input-hover-border !default;
72
72
  $kendo-input-focus-shadow: 0 0 0 2px rgba( $kendo-input-focus-border, .08 ) !default;
73
73
 
74
+ $kendo-input-disabled-bg: null !default;
75
+ $kendo-input-disabled-text: null !default;
76
+ $kendo-input-disabled-border: null !default;
77
+ $kendo-input-disabled-gradient: null !default;
78
+ $kendo-input-disabled-shadow: null !default;
79
+
74
80
  $kendo-picker-bg: $kendo-button-bg !default;
75
81
  $kendo-picker-text: $kendo-button-text !default;
76
82
  $kendo-picker-border: $kendo-button-border !default;
@@ -89,6 +95,12 @@ $kendo-picker-focus-border: $kendo-button-focus-border !default;
89
95
  $kendo-picker-focus-gradient: $kendo-button-focus-gradient !default;
90
96
  $kendo-picker-focus-shadow: $kendo-button-focus-shadow !default;
91
97
 
98
+ $kendo-picker-disabled-bg: null !default;
99
+ $kendo-picker-disabled-text: null !default;
100
+ $kendo-picker-disabled-border: null !default;
101
+ $kendo-picker-disabled-gradient: null !default;
102
+ $kendo-picker-disabled-shadow: null !default;
103
+
92
104
  $kendo-input-placeholder-text: $subtle-text !default;
93
105
  $kendo-input-placeholder-opacity: 1 !default;
94
106
 
@@ -1,6 +1,6 @@
1
1
  @include exports( "loader/theme" ) {
2
2
 
3
- @each $name, $color in $theme-colors {
3
+ @each $name, $color in $kendo-theme-colors {
4
4
  .k-loader-#{$name} {
5
5
  @if $name == "secondary" {
6
6
  color: $loader-secondary-bg;
@@ -1,6 +1,6 @@
1
1
  @include exports("messagebox/theme") {
2
2
 
3
- @each $color-name, $color in $theme-colors {
3
+ @each $color-name, $color in $kendo-theme-colors {
4
4
  .k-messagebox-#{$color-name} {
5
5
  @include fill(
6
6
  color-level( $color, $message-box-text-level ),
@@ -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;
@@ -36,6 +36,7 @@
36
36
  );
37
37
  }
38
38
 
39
+ &:active,
39
40
  &.k-state-active,
40
41
  &.k-state-selected {
41
42
  @include fill(
@@ -46,6 +47,7 @@
46
47
  );
47
48
  }
48
49
 
50
+ &:focus,
49
51
  &.k-state-focused {
50
52
  @include box-shadow( $tabstrip-item-focused-shadow );
51
53
  }
@@ -26,7 +26,7 @@
26
26
  0: 0
27
27
  ) !default;
28
28
 
29
- $utils-border-color: $theme-colors !default;
29
+ $utils-border-color: $kendo-theme-colors !default;
30
30
 
31
31
  $utils-border-radius-sides: (
32
32
  default: border-radius,
@@ -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
  }