Skip to content

Commit

Permalink
fix(material): null parameter is passed to k-color-tint when $kendo-e…
Browse files Browse the repository at this point in the history
…nable-color-system is false
  • Loading branch information
epetrow committed Jul 16, 2024
1 parent 4e14c81 commit 2e4a0c6
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions packages/material/scss/core/color-system/_swatch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -669,3 +669,18 @@ $kendo-valid-bg: null !default;
$kendo-valid-text: $kendo-color-success !default;
$kendo-valid-border: $kendo-color-success !default;
$kendo-valid-shadow: null !default;

// Disabled Styling
$kendo-disabled-bg: null !default;
$kendo-disabled-text: k-map-get( $theme, disabled-text ) !default;
$kendo-disabled-border: null!default;
$kendo-disabled-opacity: .6 !default;
$kendo-disabled-filter: grayscale(.1) !default;

$kendo-disabled-styling: (
bg: $kendo-disabled-bg,
color: $kendo-disabled-text,
border: $kendo-disabled-border,
opacity: $kendo-disabled-opacity,
filter: $kendo-disabled-filter,
) !default;

0 comments on commit 2e4a0c6

Please sign in to comment.