Skip to contents

A late 90s ggplot2 theme modeled on the Sony Sports Walkman: a sports yellow body with a blue button frame, a silver plot area, a charcoal title and text, blue, charcoal, orange, gold, and silver marks, and a DIN Condensed title.

Usage

theme_walkman(
  base_size = 15,
  base_family = register_font("Arial", "Arial.ttf", "Arial Bold.ttf"),
  title_family = register_font("DIN Condensed", "DIN Condensed Bold.ttf")
)

Arguments

base_size

Base font size. Defaults to 15.

base_family

Base font family. Defaults to Arial when it's available on the system, otherwise "sans".

title_family

Title font family. Defaults to DIN Condensed when it's available on the system, otherwise "sans".

Value

A ggplot2 theme object.

Examples

library(ggplot2)
ggplot(data.frame(x = c(3, 5), y = c("a", "b")), aes(x = x, y = y)) +
  geom_point(size = 3) +
  labs(title = "Walkman") +
  theme_walkman(base_family = "sans", title_family = "sans")