Last active
October 26, 2018 13:48
In your custom.scss, you’ll import Bootstrap’s source Sass files. You have two options: include all of Bootstrap, or pick the parts you need. We encourage the latter, though be aware there are some requirements and dependencies across our components. You also will need to include some JavaScript for our plugins.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Custom.scss | |
// Option B: Include parts of Bootstrap | |
// Required | |
@import "node_modules/bootstrap/scss/functions"; | |
// Bootstrap default variables | |
@import "node_modules/bootstrap/scss/variables"; | |
// Your variable overrides | |
@import "./variables"; | |
@import "node_modules/bootstrap/scss/mixins"; | |
// Optional | |
@import "node_modules/bootstrap/scss/reboot"; | |
@import "node_modules/bootstrap/scss/type"; | |
@import "node_modules/bootstrap/scss/images"; | |
@import "node_modules/bootstrap/scss/code"; | |
@import "node_modules/bootstrap/scss/grid"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment