Those variables can be used to customize global settings in shinydashboard.
adminlte_global(content_bg = NULL, box_bg = NULL, info_box_bg = NULL)
Background color of the body.
Default background color for boxes.
Default background color for info boxes.
a list
that can be used in create_theme
.
if (interactive()) {
library(shiny)
library(shinydashboard)
ui <- dashboardPage(
header = dashboardHeader(title = "My dashboard"),
sidebar = dashboardSidebar(),
body = dashboardBody(
use_theme(create_theme(
adminlte_global(
content_bg = "#FAAC58"
)
))
)
)
server <- function(input, output, session) {
}
shinyApp(ui, server)
}