theme_parksAndRec: Parks & Recreation theme

View source: R/theme_parksAndRec.R

theme_parksAndRecR Documentation

Parks & Recreation theme

Description

Parks & Recreation theme, Recommended font: "Titillium Web"

Usage

theme_parksAndRec(
  text.font = NULL,
  title.font = NULL,
  legend.font = NULL,
  title.size = 20,
  text.size = 16,
  subtitle.size = 14,
  axis.title.size = 14,
  axis.text.size = 12,
  legend.title.size = 14,
  legend.text.size = 12,
  title.color = NULL,
  subtitle.color = NULL,
  text.color = NULL,
  axis.title.color = "black",
  axis.text.color = "black",
  legend.title.color = NULL,
  legend.text.color = NULL,
  legend.position = "bottom",
  ticks = FALSE
)

Arguments

text.font

text font, Default: NULL

title.font

title font, Default: NULL

legend.font

legend font, Default: NULL

title.size

title font size, Default: 20

text.size

text font size, Default: 16

subtitle.size

subtitle font size, Default: 14

axis.title.size

axis title font size, Default: 14

axis.text.size

axis text font size, Default: 12

legend.title.size

legend title font size, Default: 14

legend.text.size

legend text font size, Default: 12

title.color

title color, Default: NULL

subtitle.color

subtitle.color, Default: NULL

text.color

text color, Default: NULL

axis.title.color

axis title color, Default: NULL

axis.text.color

axis text color, Default: NULL

legend.title.color

legend title color, Default: NULL

legend.text.color

legend text color, Default: NULL

legend.position

legend position, Default: "bottom"

ticks

add axis ticks, Default: FALSE

Details

Actual font: 'Champion HTF-Heavyweight'

See Also

[ggplot2::theme]

Examples

library(ggplot2)

ggplot(airquality, aes(x = Day, y = Temp,
     group = as.factor(Month), color = as.factor(Month))) +
     geom_point(size = 2.5) +
     scale_color_parksAndRec() +
     theme_parksAndRec()

tvthemes documentation built on May 29, 2024, 12:03 p.m.