Skip to content

Undefined mixin: _assert-ascending error found in node_modules\bootstrap\scss\_variables.scss #41356

Closed Answered by julien-deramond
cmllbose asked this question in Q&A
Discussion options

You must be logged in to vote

Hello there.
I've tried to replicate a part of your environment locally with different build tools. In terms of pure Sass and usage of Bootstrap, and handling only $grid-breakpoints override, you can do that for instance:

// Your main Sass file

// 1. Include functions first (so you can manipulate colors, SVGs, calc, etc)
@import "../node_modules/bootstrap/scss/functions";

// 2. Include any default variable overrides here
@import "./custom-variables";

// 3. Include remainder of required Bootstrap stylesheets (including any separate color mode stylesheets)
@import "../node_modules/bootstrap/scss/variables";
@import "../node_modules/bootstrap/scss/variables-dark";

// 4. import the rest o…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@cmllbose
Comment options

Answer selected by cmllbose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants