Drupal Bootstrap Styles (SASS)
These files are intended to be used within a Drupal Bootstrap based sub-theme.
The _default-variables.scss
file is generally where you will spend the
majority of your time providing any default variables that should be
used by the Bootstrap Framework instead of its own.
WARNING: It is highly recommended that you only put the default variables you intend to override in this file. Copying and pasting the entire
_variables.scss
file provided by the Bootstrap Framework is redundant and only makes it more difficult to determine which variable has been overridden when the need to update or upgrade to newer versions in the future arises.
The _drupal-bootstrap.scss
file contains various styles to properly integrate
Drupal Bootstrap with the Bootstrap Framework.
The style.scss
file is the main compiling entry point. It is the glue that
combines: _default-variables.scss
, Bootstrap Framework Source Files and the
_drupal-bootstrap.scss
files together. Generally, you will not need to modify
this file unless you need to add or remove files to be imported.
Your Sass compiler should use this file as it's "source" and its compiled
output "destination" should be ../css/style.css
(overwrites the file provided
by the base-theme starterkit).