View source: R/theme_parksAndRec.R
theme_parksAndRecLight | R Documentation |
Parks & Recreation light theme, Recommended font: "Titillium Web"
theme_parksAndRecLight(
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 = "grey20",
subtitle.color = "grey20",
text.color = "grey20",
axis.title.color = "grey20",
axis.text.color = "grey20",
legend.title.color = "grey20",
legend.text.color = "grey20",
legend.position = "bottom",
ticks = FALSE
)
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: "grey20" |
subtitle.color |
subtitle.color, Default: "grey20" |
text.color |
text color, Default: "grey20" |
axis.title.color |
axis title color, Default: "grey20" |
axis.text.color |
axis text color, Default: "grey20" |
legend.title.color |
legend title color, Default: "grey20" |
legend.text.color |
legend text color, Default: "grey20" |
legend.position |
legend position, Default: "bottom" |
ticks |
add axis ticks, Default: FALSE |
Actual font: 'Champion HTF-Heavyweight'
[ggplot2::theme]
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_parksAndRecLight()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.