Skip to contents

A late 90s ggplot2 theme modeled on Titanic (1997), using the Vallejo Titanic Colors paint set: a hull black background, a yellow hull stripe frame and title, a canvas plot area with deck planking grid lines, antifouling red, faded yellow, stone, and wood deck marks, and a Big Caslon title.

Usage

theme_titanic(
  base_size = 15,
  base_family = register_font("Arimo"),
  title_family = register_font("Libre Caslon Display")
)

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 Libre Caslon Display, which ships with ggrewindr.

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 = "Titanic") +
  theme_titanic(base_family = "sans", title_family = "sans")