Those variables can be used to customize
wells panel (e.g. shiny::wellPanel
or
shiny::sidebarPanel
) in Bootstrap and Bootswatch themes.
bs_vars_wells(bg = NULL, border = NULL)
bg | Background color (default in Shiny is gray). |
---|---|
border | Border color. |
a list
that can be used in create_theme
.
See default parameters for Bootstrap: https://getbootstrap.com/docs/3.4/customize/.
#> $`well-bg` #> [1] "#CEECF5" #> #> attr(,"class") #> [1] "fresh_sass_vars" "bootstrap_vars" "list"if (interactive()) { library(shiny) ui <- fluidPage( use_theme(create_theme( theme = "default", bs_vars_wells( bg = "#CEECF5" ) )), wellPanel( "This is a wellPanel" ) ) server <- function(input, output, session) { } shinyApp(ui, server) }