Learn R Programming

bslib (version 0.8.0)

theme_version: Obtain a theme's Bootstrap version

Description

Obtain a theme's Bootstrap version

Usage

theme_version(theme)

Value

Returns the major version of Bootstrap used in the theme.

Arguments

theme

A bs_theme() object.

See Also

Other Bootstrap theme utility functions: bootswatch_themes(), bs_get_variables(), builtin_themes(), theme_bootswatch(), versions()