0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-28 10:24:19 +01:00

Ignore the bg-variant deprecation warning in our files.

This commit is contained in:
Martijn Cuppens 2019-06-27 11:46:42 +03:00 committed by XhmikosR
parent 23d7dd6dbd
commit e61d609bc0
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
// Contextual backgrounds
@mixin bg-variant($parent, $color) {
@mixin bg-variant($parent, $color, $ignore-warning: false) {
#{$parent} {
background-color: $color !important;
}
@ -12,7 +12,7 @@
background-color: darken($color, 10%) !important;
}
}
@include deprecate("The `bg-variant` mixin", "v4.3.2", "v5");
@include deprecate("The `bg-variant` mixin", "v4.3.2", "v5", $ignore-warning);
}
@mixin bg-gradient-variant($parent, $color) {

View File

@ -1,7 +1,7 @@
// stylelint-disable declaration-no-important
@each $color, $value in $theme-colors {
@include bg-variant(".bg-#{$color}", $value);
@include bg-variant(".bg-#{$color}", $value, true);
}
@if $enable-gradients {