Style a Shiny app with Mayo colors.

mayoshinytheme(theme = c("classic", "horizon"))

Arguments

theme

Name of a theme.

Value

Returns a file path reference to the Mayo Shiny CSS file, and attaches that path so shiny knows about it.

Details

Use this as the theme = argument to the main shiny page-builder functions, e.g., fluidPage.

See also

shinytheme

Examples

if (FALSE) { shinyApp( ui = fluidPage(theme = mayoshinytheme(), ...), server = function(input, output) { } ) }