Skip to contents

A late 90s ggplot2 theme modeled on the Jurassic Park (1993) Post Office souvenir stamp sheet: a black sheet with a logo red frame, a dark jungle plot area, stamp yellow titles, red, yellow, sunset orange, cream, and tan marks, and a Macondo title.

Usage

theme_jurassic(
  base_size = 15,
  base_family = register_font("Arimo"),
  title_family = register_font("Macondo"),
  mode = c("dark", "light")
)

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 Macondo, which ships with ggrewindr.

mode

"dark" (the default) or "light".

Value

A ggplot2 theme object.

Details

Use mode = "light" for a light background with darker text and marks.

Examples

library(ggplot2)
ggplot(data.frame(x = c("a", "b"), y = c(3, 5)), aes(x = x, y = y)) +
  geom_col() +
  labs(title = "Jurassic Park") +
  theme_jurassic(base_family = "sans", title_family = "sans")