Theme creation

Tools for creating customized Bootstrap themes.

bs_theme() bs_theme_update() is_bs_theme()

Create a Bootstrap theme

bs_add_variables() bs_add_rules() bs_add_functions() bs_add_mixins() bs_bundle()

Add low-level theming customizations

font_face

Helpers for importing web fonts

Interactive theming

Interactively customize themes.

bs_theme_preview()

Preview the currently set theme

run_with_themer() bs_themer()

Theme customization UI

Create navs and navbars

Tools for creating and dynamically updating navs.

nav_item() nav_spacer() nav() nav_menu() nav_content()

Navigation items

navs_tab() navs_pill() navs_pill_list() navs_hidden() navs_bar() navs_tab_card() navs_pill_card()

Navigation containers

nav_select() nav_insert() nav_remove() nav_show() nav_hide()

Dynamically update nav containers

Create a Bootstrap page

page() page_fluid() page_fixed() page_fill() page_navbar()

Create a Bootstrap page

Dynamic theming

Create dynamically themable HTML widgets.

bs_dependency() bs_dependency_defer()

Themeable HTML components

bs_theme_dependencies()

Compile Bootstrap Sass with (optional) theming

bs_current_theme()

Obtain the currently active theme at render time

Global theme creation

Use Bootstrap themes globally.

bs_global_theme() bs_global_set() bs_global_get() bs_global_clear() bs_global_add_variables() bs_global_add_rules() bs_global_bundle() bs_global_theme_update()

Global theming

Theme subsetting

Reduce the final CSS bundle size.

bs_remove() bs_retrieve()

Remove or retrieve Sass code from a theme

Bootstrap SASS compilation

Compile themes into HTML dependencies and CSS strings.

bs_theme_dependencies()

Compile Bootstrap Sass with (optional) theming

bs_dependency() bs_dependency_defer()

Themeable HTML components

Other utility functions

bs_get_variables() bs_get_contrast()

Retrieve Sass variable values from the current theme

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.

versions() version_default()

Available Bootstrap versions