theme_flother: A ggplot2 theme in the style used on https://flother.is/

Description Usage Arguments Value Examples

View source: R/theme_flother.R

Description

A ggplot2 theme in the style used on https://flother.is/

Usage

1
theme_flother(font_family = "Valkyrie T4", font_size = 12)

Arguments

font_family

Font family for all text, by default Matthew Butterick's Valkyrie (see https://practicaltypography.com/valkyrie.html).

font_size

Base size of font. The size of all text, lines, and margins is relative to this.

Value

A complete ggplot2 theme.

Examples

1
2
3
4
library(ggplot2)
ggplot(USArrests, aes(Murder, UrbanPop)) +
  geom_point() +
  theme_flother()

flother/ggflother documentation built on Feb. 8, 2022, 10:25 a.m.