theme_eafit_dark.Rd
Darker version
theme_eafit_dark( text.font = NULL, title.font = NULL, legend.font = NULL, title.size = 18, text.size = 14, subtitle.size = 12, axis.title.size = 14, axis.text.size = 12, legend.title.size = 10, legend.text.size = 9, title.color = "#FFFFFF", subtitle.color = "#FFFFFF", text.color = "#FFFFFF", axis.title.color = "#FFFFFF", axis.text.color = "#FFFFFF", legend.title.color = "#FFFFFF", legend.text.color = "#FFFFFF", legend.position = "bottom" )
text.font | font, Default: NULL |
---|---|
title.font | font, Default: NULL |
legend.font | font, Default: NULL |
title.size | title font size, Default: 18 |
text.size | text font size, Default: 14 |
subtitle.size | subtitle font size, Default: 12 |
axis.title.size | title font size, Default: 14 |
axis.text.size | text font size, Default: 12 |
legend.title.size | title font size, Default: 10 |
legend.text.size | text font size, Default: 9 |
title.color | title color, Default: '#FFFFFF' |
subtitle.color | subtitle color, Default: '#FFFFFF' |
text.color | text color, Default: '#FFFFFF' |
axis.title.color | axis title color, Default: '#FFFFFF' |
axis.text.color | axis text color, Default: '#FFFFFF' |
legend.title.color | legend title color, Default: '#FFFFFF' |
legend.text.color | legend text color, Default: '#FFFFFF' |
legend.position | legend position, Default: 'bottom' |
library(ggplot2) library(palmerpenguins) library(eafithemer) ggplot(penguins,aes(bill_length_mm, flipper_length_mm)) + geom_point(aes(color = species, shape = species)) + labs( title = "Little title", subtitle = "Testing the subtitle", caption = "First attempt on package creation" ) + eafithemer::theme_eafit_dark() + scale_color_brewer() + theme( legend.title = element_blank() )#> Warning: Removed 2 rows containing missing values (geom_point).