R/aaa_globals.R

# global variables are defined in this file. the file has been named such that
# it will be executed before any other file

# Strategy Unit Theme Colours Vector
#
# The colours that are used in the Strategy Unit Theme. Non-exported (used by
# other functions e.g. su_theme_cols)
su_theme_colours <- c(
  orange = "#f9bf07",
  charcoal = "#2c2825",
  slate = "#686f73",
  blue = "#5881c1",
  red = "#ec6555",

  light_orange = "#fcdf83",
  light_charcoal = "#9d928a",
  light_slate = "#b2b7b9",
  light_blue = "#abc0e0",
  light_red = "#f5b2aa",

  dark_orange = "#7c5f03",
  dark_charcoal = "#151412",
  dark_slate = "#343739",
  dark_blue = "#263f66",
  dark_red = "#901d10"
)

# Strategy Unit Theme Palettes Vector
#
# The palettes that are used in the Strategy Unit Theme. Non-exported (used by
# other functions e.g. su_theme_cols)
su_theme_palettes <- c(
  "main",
  "oranges",
  "charcoals",
  "slates",
  "reds",
  "blues"
)
The-Strategy-Unit/StrategyUnitTheme documentation built on July 8, 2023, 11:38 p.m.