theme_primary | R Documentation |
Theme color functions.
theme_primary()
theme_secondary()
theme_success()
theme_danger()
theme_warning()
theme_info()
theme_light()
theme_dark()
A character string.
library(htmltools)
div(
.style %>%
background_color("primary")
)
div(
.style %>%
background_color(theme_primary())
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.