Description Usage Arguments Details Value See Also Examples
View source: R/mayoshinytheme.R
Style a Shiny app with Mayo colors.
1 | mayoshinytheme(theme = c("classic", "horizon"))
|
theme |
Name of a theme. |
Use this as the theme =
argument to the main shiny
page-builder functions, e.g., fluidPage
.
Returns a file path reference to the Mayo Shiny CSS file, and attaches that path so shiny knows about it.
1 2 3 4 5 6 7 | ## Not run:
shinyApp(
ui = fluidPage(theme = mayoshinytheme(), ...),
server = function(input, output) { }
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.