Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaƫl Poupard <ffoodd@users.noreply.github.com>2021-06-03 19:22:47 +0300
committerGitHub <noreply@github.com>2021-06-03 19:22:47 +0300
commit08139c2280d60e4904f2bb7c7477f05cc3d34b1a (patch)
tree9402960134aa446f89d7e70018930b2f7efc76d9 /site/content/docs
parentf2b47e1c8a263f4406255991af9fd55984c22a0e (diff)
docs(customize): missed explanations for overrides (#34179)
Closes #34176 Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Diffstat (limited to 'site/content/docs')
-rw-r--r--site/content/docs/5.0/customize/sass.md4
1 files changed, 1 insertions, 3 deletions
diff --git a/site/content/docs/5.0/customize/sass.md b/site/content/docs/5.0/customize/sass.md
index adc990db7e..4039bd67cc 100644
--- a/site/content/docs/5.0/customize/sass.md
+++ b/site/content/docs/5.0/customize/sass.md
@@ -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";