Revert "fix: ignore warnings for deprecation and add TODO for removing dependency (#2852)" (#2858)

This reverts commit 2458663439.
pull/2851/head
REJack 2020-06-27 18:30:21 +02:00 committed by GitHub
parent 2458663439
commit 6823a175d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 9 deletions

View File

@ -33,9 +33,7 @@
// Background Gradient Variant // Background Gradient Variant
@mixin background-gradient-variant($name, $color) { @mixin background-gradient-variant($name, $color) {
.bg-gradient-#{$name} { .bg-gradient-#{$name} {
// Ignore warning for Bootstrap 4 deprecation @include bg-gradient-variant("&", $color);
// TODO: remove bg-gradient-variant dependencies
@include bg-gradient-variant("&", $color, true);
color: color-yiq($color); color: color-yiq($color);
&.btn { &.btn {
@ -48,9 +46,7 @@
} }
&:hover { &:hover {
// Ignore warning for Bootstrap 4 deprecation @include bg-gradient-variant("&", darken($color, 7.5%));
// TODO: remove bg-gradient-variant dependencies
@include bg-gradient-variant("&", darken($color, 7.5%), true);
border-color: darken($color, 10%); border-color: darken($color, 10%);
color: darken(color-yiq($color), 7.5%); color: darken(color-yiq($color), 7.5%);
} }
@ -59,9 +55,7 @@
&:not(:disabled):not(.disabled).active, &:not(:disabled):not(.disabled).active,
&:active, &:active,
&.active { &.active {
// Ignore warning for Bootstrap 4 deprecation @include bg-gradient-variant("&", darken($color, 10%));
// TODO: remove bg-gradient-variant dependencies
@include bg-gradient-variant("&", darken($color, 10%), true);
border-color: darken($color, 12.5%); border-color: darken($color, 12.5%);
color: color-yiq(darken($color, 10%)); color: color-yiq(darken($color, 10%));
} }