diff options
| author | Mark Otto <[email protected]> | 2017-06-15 09:32:26 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-06-15 09:32:26 -0700 |
| commit | ae6440a48057807abf2ac80233a2fc9758ca3161 (patch) | |
| tree | dbfb632f599b736328a3ff1999904f5549793bf3 /docs | |
| parent | be39742d65f8999329c515fbf9c8102e32afe271 (diff) | |
| download | bootstrap-ae6440a48057807abf2ac80233a2fc9758ca3161.tar.xz bootstrap-ae6440a48057807abf2ac80233a2fc9758ca3161.zip | |
clarify now that custom is gone
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/4.0/getting-started/options.md | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/docs/4.0/getting-started/options.md b/docs/4.0/getting-started/options.md index acc7ce451..7046f7189 100644 --- a/docs/4.0/getting-started/options.md +++ b/docs/4.0/getting-started/options.md @@ -8,16 +8,11 @@ toc: true ## Customizing variables -Bootstrap 4 ships with a `_custom.scss` file for easy overriding of default variables in `/scss/_variables.scss`. Copy and paste relevant lines from there into the `_custom.scss` file, modify the values, and recompile your Sass to change our default values. **Be sure to remove the `!default` flag from override values.** +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. For example, to change out the `background-color` and `color` for the `<body>`, you'd do the following: {% highlight scss %} -// Bootstrap overrides -// -// Copy variables from `_variables.scss` to this file to override default values -// without modifying source files. - $body-bg: $gray-dark; $body-color: $gray-light; {% endhighlight %} |
