R-CMD-check / R CMD check (push) Successful in 3m52s
Integrate Civilytics Reveal.js slide extension, HTML/PDF/Typst document themes, and _brand.yml into the package under inst/quarto/. Three new helper functions (use_civilytics_revealjs, use_civilytics_theme, use_civilytics_brand) copy assets into a user's Quarto project. Logos are stored once in inst/img/ and distributed at install time.
55 lines
1.6 KiB
R
55 lines
1.6 KiB
R
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/civilytics-package.R
|
|
\docType{package}
|
|
\name{civilytics-package}
|
|
\alias{civilytics}
|
|
\alias{civilytics-package}
|
|
\title{civilytics: Brand Themes, Color Palettes, and Utility Functions for Civilytics}
|
|
\description{
|
|
Provides a complete ggplot2 brand theme system for Civilytics Consulting,
|
|
including editorial light, dark, and slide-optimized themes; 10 curated
|
|
color palettes; logo composition; and data-wrangling helpers for
|
|
public-sector analysis.
|
|
}
|
|
\section{Themes}{
|
|
|
|
\itemize{
|
|
\item [theme_civilytics()] -- editorial theme with warm paper background
|
|
\item [theme_civilytics_dark()] -- navy background variant
|
|
\item [theme_civilytics_slide()] -- transparent background, larger text
|
|
}
|
|
}
|
|
|
|
\section{Color palettes}{
|
|
|
|
\itemize{
|
|
\item [civilytics_colors] -- 53 named brand colors
|
|
\item [civilytics_palettes] -- 10 visualization palettes
|
|
\item [civilytics_palette()] -- extract colors by palette name
|
|
\item [scale_color_civilytics()] / [scale_fill_civilytics()] -- ggplot2 scales
|
|
}
|
|
}
|
|
|
|
\section{Quarto templates}{
|
|
|
|
\itemize{
|
|
\item [use_civilytics_revealjs()] -- install Reveal.js slide extension
|
|
\item [use_civilytics_theme()] -- install HTML/PDF/Typst document theme
|
|
\item [use_civilytics_brand()] -- install brand.yml only (Quarto 1.5+)
|
|
}
|
|
}
|
|
|
|
\seealso{
|
|
Useful links:
|
|
\itemize{
|
|
\item \url{https://gitea.civilytics.org/Civilytics/civilyticsR}
|
|
\item Report bugs at \url{https://gitea.civilytics.org/Civilytics/civilyticsR/issues}
|
|
}
|
|
|
|
}
|
|
\author{
|
|
\strong{Maintainer}: Jared E. Knowles \email{jared@civilytics.com}
|
|
|
|
}
|
|
\keyword{internal}
|