R-CMD-check / R CMD check (push) Successful in 2m39s
- Replace old civilytics_logo.png/white.png/jpg/pdf with new rebrand
assets: civilytics-wordmark.png, civilytics-wordmark-reverse.png,
civilytics-mark.png, civilytics-mark-reverse.png (all transparent bg)
- make_logo_grob() now accepts type = c("wordmark", "mark") alongside
variant = c("light", "dark") for 4 combinations
- New civilytics_logo() pipe-friendly convenience function:
ggplot(df, aes(x, y)) + geom_point() + theme_civilytics() |>
civilytics_logo()
R's |> has lower precedence than +, so the full ggplot chain pipes
through without parentheses
- Remove old icon/favicon assets no longer used
- Wrap showtext-dependent examples in \dontrun{} to prevent R CMD check
failures in headless PostScript environments
22 lines
526 B
R
22 lines
526 B
R
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/colors.R
|
|
\docType{data}
|
|
\name{civilytics_colors}
|
|
\alias{civilytics_colors}
|
|
\title{Civilytics brand colors}
|
|
\format{
|
|
A named character vector of hex color codes.
|
|
}
|
|
\usage{
|
|
civilytics_colors
|
|
}
|
|
\description{
|
|
A named character vector of all Civilytics brand colors, matching the CSS
|
|
custom properties defined on www.civilytics.com (`--cv-*` variables).
|
|
}
|
|
\examples{
|
|
civilytics_colors["accent"]
|
|
civilytics_colors[c("ink", "paper")]
|
|
}
|
|
\keyword{datasets}
|