Skip to content

Commit

Permalink
Revert "fix: ignore warnings for deprecation and add TODO for removin…
Browse files Browse the repository at this point in the history
…g dependency (ColorlibHQ#2852)" (ColorlibHQ#2858)

This reverts commit 2458663.
  • Loading branch information
REJack authored Jun 27, 2020
1 parent 2458663 commit 6823a17
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions build/scss/mixins/_backgrounds.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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%);
}
Expand All @@ -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%));
}
Expand Down

0 comments on commit 6823a17

Please sign in to comment.