]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
clarify now that custom is gone
authorMark Otto <markd.otto@gmail.com>
Thu, 15 Jun 2017 16:32:26 +0000 (09:32 -0700)
committerGitHub <noreply@github.com>
Thu, 15 Jun 2017 16:32:26 +0000 (09:32 -0700)
docs/4.0/getting-started/options.md

index acc7ce451cae2a9a13bbcf45c8a6740e66b4f418..7046f718947fe88590ec2909304fbde02a55f822 100644 (file)
@@ -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 %}