Skip to contents

theme_creel() applies a light, publication-friendly theme aligned with the package website colours. It is designed to be a stable default for tidycreel examples, vignettes, and autoplot() methods.

Usage

theme_creel(base_size = 11, base_family = "sans")

Arguments

base_size

Base text size. Default 11.

base_family

Base font family. Default "sans".

Value

A ggplot2 theme object.

Examples

if (requireNamespace("ggplot2", quietly = TRUE)) {
  ggplot2::ggplot(mtcars, ggplot2::aes(wt, mpg)) +
    ggplot2::geom_point(colour = creel_palette()[["primary"]]) +
    theme_creel()
}