sakuraTheme | R Documentation |
Creates the dependency required for Sakura to be included in the HTML of a page.
sakuraTheme( theme = NULL, sass_options = sass::sass_options_get(output_style = "compressed"), cache = sass::sass_cache_get() )
theme |
One of the following:
|
sass_options |
A |
cache |
This can be a directory to use for the cache, a |
An htmlDependency
to the relevant Sakura style file
library(htmltools) library(classless) ui <- tags$html() ui <- htmltools::attachDependencies( ui, sakuraTheme() )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.