R/cori_cols.R

Defines functions cori_cols

Documented in cori_cols

#' Function to extract cori_ctg7 colors as hex codes
#'
#' @param ... Character names of cori_ctg7 colors 
#'
#' @examples
#' cori_cols("Emerald")
#'
#' @export
#' 
cori_cols <- function(...) {
  cols <- c(...)

  if (is.null(cols))
    return (cori_colors)

  cori_colors[cols]
}
muwizayeon/CORITheme documentation built on March 17, 2022, 5:17 p.m.