theme_version: Obtain a theme's Bootstrap version

View source: R/bs-theme-preset-bootswatch.R

theme_versionR Documentation

Obtain a theme's Bootstrap version

Description

Obtain a theme's Bootstrap version

Usage

theme_version(theme)

Arguments

theme

A bs_theme() object.

Value

Returns the major version of Bootstrap used in the theme.

See Also

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


rstudio/bootstraplib documentation built on June 17, 2024, 9:42 a.m.