Commit d66f47d0 authored by Moris Zen Pasic's avatar Moris Zen Pasic Committed by Johann-S
Browse files

Making the customization option docs cleared about variable overrides with !default flag

parent 2693e49e
6 merge requests!28721Hot test,!27561Adds font-weight-medium to font weight classes,!25494web pack,!25326Adjust examples,!23207#22402 : modal: new autofocus & keyboardBtnNav options,!17021v4
Showing with 1 addition and 1 deletion
+1 -1
......@@ -8,7 +8,7 @@ toc: true
## Customizing variables
Every Sass variable in Bootstrap 4 includes the `!default` flag, meaning you can override that default value in your own Sass even after that original variable's been defined. Copy and paste variables as needed, modify the values, remove the `!default` flag, and recompile.
Every Sass variable in Bootstrap 4 includes the `!default` flag, meaning you can override that default value in your own Sass. Copy and paste variables as needed, modify the values, remove the !default flag, and recompile. If a variable has already been assigned, then it won't be re-assigned by the default values in Bootstrap. This means that your modified Sass variables should be called before you import Bootstrap Sass files.
For example, to change out the `background-color` and `color` for the `<body>`, you'd do the following:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment