fresh (version 0.1.0)

adminlte_global: AdminLTE CSS global variables

Description

Those variables can be used to customize global settings in shinydashboard.

Usage

adminlte_global(content_bg = NULL)

Arguments

content_bg

Background color of the body.

Value

a list that can be used in create_theme.

Examples

Run this code
# NOT RUN {
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)
}
# }

Run the code above in your browser using DataLab