View source: R/theme_newRetro.R
new_retro | R Documentation |
ggplot2 plot theme based on the New Retro labels A E S T H E T I C
new_retro(
font = "SF Alien Encounters",
main.text.color = "#FA5F70FF",
sub.text.color = "#FA5F70FF",
base.size = 15,
plot.background.color = "#0F0D1A",
legend.position = "right",
panel.border.color = "#494D72",
panel.background = "#0F0D1A",
panel.grid.color = "#FFB967",
axis.text.color = "#FA5F70FF",
axis.text.size = base.size * 0.6666667,
subtitle.size = base.size * 0.8,
legend.text = base.size * 0.8,
legend.title = base.size * 0.93,
axis.title.size = base.size * 0.8,
title.size = 15
)
font |
Base text family |
main.text.color |
Color of main text |
sub.text.color |
Color of smaller text |
base.size |
Base text size |
plot.background.color |
Color of plot background, passed to 'plot.background' |
legend.position |
Position of legend |
panel.border.color |
Color of plot panel border |
panel.background |
Background panel color |
panel.grid.color |
Color of the panel grid |
axis.text.color |
Color of axis text |
axis.text.size |
Size of axis text |
subtitle.size |
Size of subtitle |
legend.text |
Size of legend |
legend.title |
Size of legend title |
axis.title.size |
Size of axis title |
title.size |
Size of title |
https://newretrowave.com/
[ggplot2::theme]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.