dfr_theme: Apply custom theme

Description Usage Arguments

View source: R/dfr_theme.R

Description

Apply custom theme

Usage

1
2
3
4
5
6
7
dfr_theme(
  text_size_base = 12,
  text_color_primary = "#757575",
  axis_line_color = "#E0E0E0",
  line_size_base = text_size_base/22,
  plot_margin = 0.25
)

Arguments

text_size_base

The base text size in points (pt). Defaults to 12 pts.

text_color_primary

The text color. Defaults to #757575, except for plot title and caption.

axis_line_color

The axis line color. Defaults to #E0E0E0.

line_size_base

The base size for lines.

plot_margin

The base size for plot margins on the top, right, bottom and left sides in cm. Defaults to 0.25 cm.


dzulfiqarfr/dfrtheme documentation built on Feb. 5, 2022, 1:19 p.m.