Style a Shiny app with Mayo colors.
mayoshinytheme(theme = c("classic", "horizon"))
theme | Name of a theme. |
---|
Returns a file path reference to the Mayo Shiny CSS file, and attaches that path so shiny knows about it.
Use this as the theme =
argument to the main shiny
page-builder functions, e.g., fluidPage
.
shinytheme
if (FALSE) { shinyApp( ui = fluidPage(theme = mayoshinytheme(), ...), server = function(input, output) { } ) }