Bootstrap SASS compilation

Entry points for compiling Bootstrap Sass. bootstrap() is for adding a Bootstrap dependency and bootstrap_sass() is for compiling additional Sass rules that use Bootstrap Sass.

bootstrap() bootstrap_sass()

Compile Bootstrap 4 (or 3) SASS with (optional) theming

Theme management

Tools for creating, obtaining, and clearing themes.

bs_theme_new() bs_theme_get() bs_theme_clear() bs_theme_set()

Create a Bootstrap theme

bs_theme_get_variables()

Retrieve Sass variable values from the current theme

Theme customizers

Tools for customizing (i.e., adding to) themes.

bs_theme_base_colors()

Customize the Bootstrap theme based on two to four key colors

bs_theme_accent_colors()

Customize Bootstrap accent colors

bs_theme_fonts()

Customize Bootstrap typefaces

bs_theme_add_variables() bs_theme_add()

Add low-level theming customizations

Interactive theming

Tools for creating themes interactively.

bs_theme_preview()

Preview the currently set theme

run_with_themer() bs_themer()

Theme customization UI

Other utility functions

theme_version()

Obtain a theme's Bootstrap version

theme_bootswatch()

Obtain a theme's Bootswatch theme name

bootswatch_themes()

Obtain a list of all available bootswatch themes.

version_default()

Bootstrap major version default