Skip to content

Commit

Permalink
Merge pull request #7922 from IgniteUI/simeonoff/fix-7920
Browse files Browse the repository at this point in the history
fix(themes): don't throw error on non-color values
  • Loading branch information
simeonoff authored Aug 3, 2020
2 parents 1a57232 + 15f0fb7 commit 03e984b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,8 @@
}
}
} @else {
@error 'Expected color for $background/$foreground but got #{$background}/#{$foreground}';
@warn 'Expected color for $background/$foreground but got #{$background}/#{$foreground}. The contrast color can\'t be calculated automatically.';
@return #fff;
}
}

Expand Down

0 comments on commit 03e984b

Please sign in to comment.