Skip to content

Commit

Permalink
fix #1352: fix deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
codecalm committed Nov 11, 2022
1 parent 1e9f8f1 commit 4753d07
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions src/scss/_mixins-override.scss
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%);
}
3 changes: 2 additions & 1 deletion src/scss/mixins/_functions.scss
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 4753d07

Please sign in to comment.