bs_vars: Bootstrap custom variables

Description Usage Arguments Value Note Examples

View source: R/vars-bootstrap.R

Description

Use any Bootstrap variables to customize a {shiny} theme.

Usage

1

Arguments

...

Variables to use, under the form body_bg = "#FFF" or "body-bg" = "#FFF".

Value

a list that can be used in create_theme.

Note

For a full list of available variables, use search_vars_bs.

Examples

1
2
3
bs_vars(body_bg = "#FFF")

bs_vars("body-bg" = "#FFF")

Example output

$`body-bg`
[1] "#FFF"

attr(,"class")
[1] "fresh_sass_vars" "bootstrap_vars"  "list"           
$`body-bg`
[1] "#FFF"

attr(,"class")
[1] "fresh_sass_vars" "bootstrap_vars"  "list"           

fresh documentation built on July 2, 2020, 1:59 a.m.