Skip to contents

Theme for a shinydashboard application with UNHCR Brand https://www.unhcr.org/brand

Usage

theme_shinydashboard_unhcr()

Value

CSS code customized with UNHCR Brand

Details

The function inject a custom css within the head of the page See also https://rstudio.github.io/shinydashboard/appearance.html

Examples

# library(shiny)
# library(shinydashboard)
#
# ui <- dashboardPage(
#          dashboardHeader( title = "UNHCR Dashboard"),
#         dashboardSidebar(
#            sidebarMenu(
#               menuItem(  "welcome", tabName = "welcome", icon = icon("house")),
#               menuItem(  "upload", tabName = "upload", icon = icon("upload"))
#            )
#         ),
#        dashboardBody(
#        ## Get the theme here!!
#        theme_shinydashboard_unhcr(),
#        h1("Title 1"),
#        h2("Title 2"),
#        h3("Title 3"),
#        p("Text"))
#  )
#
#  server <- function(input, output) { }
#
#  shinyApp(ui, server)