R/palette_reason.R

#' The Reason Foundation [ggplot2] theme
#'
#' Data used by the palettes in the reasontheme package.
#'
#' @format A \code{list}.
#' @export
palette_reason <- {

  palette <- list(
    categorical = list(
      c("#FF6633"),
      c("#FF6633", "#333333"),
      c("#FF6633", "#333333", "#6699CC"),
      c("#FF6633", "#333333", "#6699CC", "#FFCC33"),
      c("#FF6633", "#333333", "#6699CC", "#FFCC33", "#3399CC"),
      c("#FF6633", "#333333", "#6699CC", "#FFCC33", "#3399CC", "#3366CC")
    ),

    pos_neg = list(
      c("#669933", "#990000")
    )
  )

  palette
}
ReasonFoundation/reasontheme documentation built on July 16, 2020, 2:36 p.m.