Skip to contents

A ggplot2 theme built from Fruit Gushers: a white plate background, a red frame and title, red, green, teal, orange, and pink fruit snack marks, and a Patrick Hand title.

Usage

theme_gushers(
  base_size = 15,
  base_family = register_font("Arimo"),
  title_family = register_font("Patrick Hand")
)

Arguments

base_size

Base font size. Defaults to 15.

base_family

Base font family. Defaults to Arimo, which ships with ggrewindr.

title_family

Title font family. Defaults to Patrick Hand when it's available, otherwise "sans".

Value

A ggplot2 theme object.

Examples

library(ggplot2)
ggplot(data.frame(x = c("a", "b", "b")), aes(x = x, fill = x)) +
  geom_bar() +
  labs(title = "Gushers") +
  theme_gushers(base_family = "sans", title_family = "sans")