Skip to content

Commit

Permalink
Merge pull request #328 from hube12/master
Browse files Browse the repository at this point in the history
Fix warning on bg-gradient-variant mixin
  • Loading branch information
LisaFC committed Aug 19, 2020
2 parents d21040a + 3303577 commit 8ac584f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/scss/_boxes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
@include link-variant("#{$parent}--#{$color-name} p > a", $link-color, $link-hover-color, false);

@if $enable-gradients {
@include bg-gradient-variant("#{$parent}--1#{$color-name}#{$parent}--gradient", $color-value);
@include bg-gradient-variant("#{$parent}--1#{$color-name}#{$parent}--gradient", $color-value,true);
}
}

Expand Down
2 changes: 1 addition & 1 deletion assets/scss/support/_mixins.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Some simple mixins.

@mixin bg-gradient-variant($parent, $color) {
@mixin bg-gradient-variant($parent, $color,$ignore-warning: false) {
#{$parent} {
background: $color linear-gradient(180deg, mix($body-bg, $color, 15%), $color) repeat-x !important;
}
Expand Down

0 comments on commit 8ac584f

Please sign in to comment.