Description Usage Arguments Value Examples
Function to get a series defined theme colors
1 2 | set_colors(theme = NULL, theme_config_file = NULL,
show_all_themes = FALSE)
|
theme |
Colors theme, e.g. default, red_blue |
theme_config_file |
Theme configuration file, default is system.file('extdata', 'config/theme.toml', package = 'ngstk') |
show_all_themes |
Wheather show all avaliable colors theme, default is FALSE |
A character
1 2 3 | red_blue <- set_colors('red_blue')
default <- set_colors('default')
colors <- set_colors(show_all_themes = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.