R/palettes-wom.R

#' WoM color palettes
#'
#' Bootstrap-based color palettes used in WoM-themed graphics.
#'
#' These palettes are based on Bootstrap's standard and semantic color naming.
#'
#' @format A named list of character vectors (hex color codes).
#' @keywords internal
#' @export
wom_palettes <- list(
  full = c(
    "#007bff", # blue
    "#6610f2", # indigo
    "#6f42c1", # purple
    "#e83e8c", # pink
    "#dc3545", # red
    "#fd7e14", # orange
    "#ffc107", # yellow
    "#28a745", # green
    "#20c997", # teal
    "#17a2b8", # cyan
    "#ffffff", # white
    "#6c757d", # gray
    "#343a40"  # graydark
  ),
  full2 = c(
    "#007bff", # primary
    "#6c757d", # secondary
    "#28a745", # success
    "#17a2b8", # info
    "#ffc107", # warning
    "#dc3545", # danger
    "#f8f9fa", # light
    "#343a40"  # dark
  ),
  main = c(
    "#007bff", # blue
    "#6610f2", # indigo
    "#6f42c1", # purple
    "#e83e8c", # pink
    "#dc3545", # red
    "#fd7e14", # orange
    "#ffc107", # yellow
    "#28a745", # green
    "#20c997", # teal
    "#17a2b8"  # cyan
  ),
  cool = c(
    "#007bff", # blue
    "#6610f2", # indigo
    "#6f42c1", # purple
    "#28a745", # green
    "#20c997", # teal
    "#17a2b8"  # cyan
  ),
  hot = c(
    "#e83e8c", # pink
    "#dc3545", # red
    "#fd7e14", # orange
    "#ffc107"  # yellow
  ),
  mixed = c(
    "#007bff", # blue
    "#28a745", # green
    "#ffc107", # yellow
    "#fd7e14", # orange
    "#dc3545"  # red
  ),
  grey = c(
    "#6c757d", # gray
    "#343a40"  # graydark
  )
)
emilelatour/laviz documentation built on June 13, 2025, 9:41 a.m.