Function to get a series defined theme colors

set_colors(theme = NULL, theme_config_file = NULL,
  show_all_themes = FALSE)

Arguments

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

Value

A character

Examples

red_blue <- set_colors('red_blue') default <- set_colors('default') colors <- set_colors(show_all_themes = TRUE)