Skip to contents

A minimalist ggplot2 theme which removes most background elements and lines.

Usage

theme_risk(
  base_size = 12,
  base_family = NULL,
  base_color = "black",
  base_line_size = base_size/12,
  base_rect_size = base_size/12
)

Arguments

base_size

A numeric. Base font size.

base_family

A numeric. Base font family.

base_color

A character. Base color for lines and text.

base_line_size

A numeric. Base line element size.

base_rect_size

A numeric. Base rectangle element size.

Note

Recommend exporting as PNG or TIFF to preserve background transparency.

See also