Skip to content

Commit 6f3b916

Browse files
authored
Merge branch 'master' into simeonoff/fix-dv-exclusion
2 parents 85a51b5 + 03e984b commit 6f3b916

File tree

1 file changed

+2
-1
lines changed
  • projects/igniteui-angular/src/lib/core/styles/base/utilities

1 file changed

+2
-1
lines changed

projects/igniteui-angular/src/lib/core/styles/base/utilities/_functions.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,8 @@
186186
}
187187
}
188188
} @else {
189-
@error 'Expected color for $background/$foreground but got #{$background}/#{$foreground}';
189+
@warn 'Expected color for $background/$foreground but got #{$background}/#{$foreground}. The contrast color can\'t be calculated automatically.';
190+
@return #fff;
190191
}
191192
}
192193

0 commit comments

Comments
 (0)