mayoshinytheme: Use a Mayo Shiny Theme

Description Usage Arguments Details Value See Also Examples

View source: R/mayoshinytheme.R

Description

Style a Shiny app with Mayo colors.

Usage

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

Arguments

theme

Name of a theme.

Details

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

Value

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

See Also

shinytheme

Examples

1
2
3
4
5
6
7
## Not run: 
shinyApp(
  ui = fluidPage(theme = mayoshinytheme(), ...),
  server = function(input, output) { }
)

## End(Not run)

eheinzen/mayoshiny documentation built on Aug. 16, 2021, 9:59 a.m.