powered by
Function to get a series defined theme colors
set_colors(theme = NULL, theme_config_file = NULL, show_all_themes = FALSE)
Colors theme, e.g. default, red_blue
Theme configuration file, default is system.file('extdata', 'config/theme.toml', package = 'ngstk')
Wheather show all avaliable colors theme, default is FALSE
A character
# NOT RUN { red_blue <- set_colors('red_blue') default <- set_colors('default') colors <- set_colors(show_all_themes = TRUE) # }
Run the code above in your browser using DataLab