diff --git a/R/theme_ojo.R b/R/theme_ojo.R index ee2bb88..665f705 100644 --- a/R/theme_ojo.R +++ b/R/theme_ojo.R @@ -107,6 +107,7 @@ theme_ojo_base <- function(base_size = 16, legend.key.size = ggplot2::unit(10L, "pt"), legend.key.height = NULL, legend.key.width = NULL, + legend.key.spacing.x = ggplot2::unit(12L, "pt"), legend.text = ggplot2::element_text(size = base_size * 9.5 / 8.5, vjust = 0.5), diff --git a/R/theme_okpi.R b/R/theme_okpi.R index 9ced00c..23ceea9 100644 --- a/R/theme_okpi.R +++ b/R/theme_okpi.R @@ -35,6 +35,7 @@ theme_okpi_base <- function(base_size = 16, plot.background = ggplot2::element_blank(), legend.background = ggplot2::element_rect(fill = "transparent", colour = NA), legend.key = ggplot2::element_rect(fill = "transparent", colour = NA), + legend.key.spacing.x = ggplot2::unit(12L, "pt"), legend.position = "top", panel.border = ggplot2::element_blank(), panel.grid.major.x = ggplot2::element_blank(),