Skip to contents

Internal helper that generates the shared theme argument list used by both theme_ggforge and theme_ggforge_grid.

Usage

.build_common_theme_args(
  aspect.ratio,
  text_size_scale,
  font_family,
  legend_text_size = NULL
)

Arguments

aspect.ratio

Aspect ratio

text_size_scale

Font size multiplier

font_family

Font family

legend_text_size

Legend text size (before scaling)

Value

A named list of theme arguments