-
-
Notifications
You must be signed in to change notification settings - Fork 78.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting "No mixin named -assert-ascending error" in bootstrap/scss/_variables.scss #23451
Comments
Make sure you're including |
I've same error |
I added following
in my main scss file to overcome this issue. |
...and add the include before your variables ;) |
For anyone landing here while having that problem: /*
* This is a manifest file that'll be compiled into application.css, which will include all the files
* listed below.
*
* Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
* vendor/assets/stylesheets directory can be referenced here using a relative path.
*
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
* compiled file so the styles you add here take precedence over styles defined in any other CSS
* files in this directory. Styles in this file should be added after the last require_* statement.
* It is generally better to create a new file per style scope.
*
*/
@import "bootstrap/functions";
@import "bootstrap/variables";
@import "bootstrap/variables_dark";
// here my customizations
$body-bg: $black;
@import "bootstrap"; |
Getting this error when directly importing bootstrap/scss/_variables.scss -
@include _assert-ascending($grid-breakpoints, "$grid-breakpoints"); ^ No mixin named -assert-ascending
The text was updated successfully, but these errors were encountered: