From 6823a175d26dbd0bda35bed1c9405909409baf57 Mon Sep 17 00:00:00 2001 From: REJack Date: Sat, 27 Jun 2020 18:30:21 +0200 Subject: [PATCH] Revert "fix: ignore warnings for deprecation and add TODO for removing dependency (#2852)" (#2858) This reverts commit 2458663439b6349224597254aa11b598a02a4fde. --- build/scss/mixins/_backgrounds.scss | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/build/scss/mixins/_backgrounds.scss b/build/scss/mixins/_backgrounds.scss index 36a80fff1..b196ea43a 100644 --- a/build/scss/mixins/_backgrounds.scss +++ b/build/scss/mixins/_backgrounds.scss @@ -33,9 +33,7 @@ // Background Gradient Variant @mixin background-gradient-variant($name, $color) { .bg-gradient-#{$name} { - // Ignore warning for Bootstrap 4 deprecation - // TODO: remove bg-gradient-variant dependencies - @include bg-gradient-variant("&", $color, true); + @include bg-gradient-variant("&", $color); color: color-yiq($color); &.btn { @@ -48,9 +46,7 @@ } &:hover { - // Ignore warning for Bootstrap 4 deprecation - // TODO: remove bg-gradient-variant dependencies - @include bg-gradient-variant("&", darken($color, 7.5%), true); + @include bg-gradient-variant("&", darken($color, 7.5%)); border-color: darken($color, 10%); color: darken(color-yiq($color), 7.5%); } @@ -59,9 +55,7 @@ &:not(:disabled):not(.disabled).active, &:active, &.active { - // Ignore warning for Bootstrap 4 deprecation - // TODO: remove bg-gradient-variant dependencies - @include bg-gradient-variant("&", darken($color, 10%), true); + @include bg-gradient-variant("&", darken($color, 10%)); border-color: darken($color, 12.5%); color: color-yiq(darken($color, 10%)); }