Skip to content

Commit

Permalink
#1352: fix deprecation warning (#1359)
Browse files Browse the repository at this point in the history
  • Loading branch information
codecalm committed Nov 11, 2022
1 parent 6a3affa commit 7a9702a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,11 @@
$active-color: null
) {
// Override bootstrap core
}

//
// TODO: remove when https://github.com/twbs/bootstrap/pull/37425/ will be released
//
@function opaque($background, $foreground) {
@return mix(rgba($foreground, 1), $background, opacity($foreground) * 100%);
}
2 changes: 1 addition & 1 deletion src/scss/_config.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
@import "mixins";

@import "bootstrap-config";
@import "mixins-override";
@import "bootstrap-override";
3 changes: 2 additions & 1 deletion src/scss/mixins/_functions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,5 @@
@error "breakpoint `#{$name}` not found in `#{$breakpoints}`";
}
@return if($n > 1, nth($breakpoint-names, $n - 1), null);
}
}

0 comments on commit 7a9702a

Please sign in to comment.