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()


bslib documentation built on Nov. 22, 2023, 1:08 a.m.