cc_palette <- c(
students1 = '#38b0e3',
students2 = '#50a3cd',
students3 = '#e8f3f9',
partners1 = '#fad350',
data1 = '#e9415e',
psd_blue1 = '#1b3445',
partners2 = '#e3c375',
data2 = '#fef0f2',
psd_blue2 = '#0f252f'
)
usethis::use_data(cc_palette, overwrite = TRUE)
# Documention -------------------------------------------------------------
#' CC corporate colour palette
#'
#' There seems to be some confusion over students 1 and 2, and partners 1 and 2.
#' My understanding is that v1 are the new ones.
#'
#' Colours students3, data2 and dark_blue2 are mostly best used sparingly.
#' @format Length 8 named vector
#'
#' @examples
#'
#' scales::show_col(cc_palette)
#'
'cc_palette'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.