]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
docs(customize): missed explanations for overrides (#34179)
authorGaël Poupard <ffoodd@users.noreply.github.com>
Thu, 3 Jun 2021 16:22:47 +0000 (18:22 +0200)
committerGitHub <noreply@github.com>
Thu, 3 Jun 2021 16:22:47 +0000 (19:22 +0300)
Closes #34176

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
site/content/docs/5.0/customize/sass.md

index adc990db7efa3c5e7854efc2323a817c172d6f85..4039bd67cc150ad386e4c22373f1ff2f37e8b52d 100644 (file)
@@ -80,7 +80,7 @@ Every Sass variable in Bootstrap includes the `!default` flag allowing you to ov
 
 You will find the complete list of Bootstrap's variables in `scss/_variables.scss`. Some variables are set to `null`, these variables don't output the property unless they are overridden in your configuration.
 
-Variable overrides must come after our functions, variables, and mixins are imported, but before the rest of the imports.
+Variable overrides must come after our functions are imported, but before the rest of the imports.
 
 Here's an example that changes the `background-color` and `color` for the `<body>` when importing and compiling Bootstrap via npm:
 
@@ -96,8 +96,6 @@ $body-color: #111;
 @import "../node_modules/bootstrap/scss/variables";
 @import "../node_modules/bootstrap/scss/mixins";
 
-// Bootstrap and its default variables
-
 // Optional Bootstrap components here
 @import "../node_modules/bootstrap/scss/root";
 @import "../node_modules/bootstrap/scss/reboot";