Learn R Programming

dashboardthemes (version 1.1.6)

shinyDashboardThemes: shinyDashboardThemes

Description

Calls a custom theme object created using shinyDashboardThemeDIY

Usage

shinyDashboardThemes(theme)

Value

CSS code. Theme for shinydashboard.

Arguments

theme

String. Name of theme to be used

Available themes

  • blue_gradient: Demonstrates use of gradients, shadows and rounded corners.

  • flat_red: Flat colour theme with red highlights.

  • grey_light: Lightweight grey theme.

  • grey_dark: Demonstrates use of inverted dark colour schemes.

  • onenote: Styled similarly to the OneNote application.

  • poor_mans_flatly: Poor man`s version of the Flatly theme.

  • purple_gradient: Demonstrates use of dark gradients and rounded corners.

See Also

shinyDashboardThemeDIY, shinyDashboardLogo

Examples

Run this code
# \donttest{
#...
### ui body
#dashboardBody(

  ### changing theme
  shinyDashboardThemes(
    theme = "blue_gradient"
  )

  ### ui tabs
  #,tabItems(
  #  tabItem(
  #    ...
# }

Run the code above in your browser using DataLab