Axis and legend titles in medium contrast
and add margin between y axis title and labels
Change-Id: I0c3b8832d8fd479918129fef401f341dce27e776
diff --git a/R/ggplot-theme.R b/R/ggplot-theme.R
index aa68c42..a5f297c 100644
--- a/R/ggplot-theme.R
+++ b/R/ggplot-theme.R
@@ -45,9 +45,12 @@
plot.title = element_text(hjust = 0.5),
plot.subtitle = element_text(hjust = 0.5, size = 13, colour = mediumContrastColor),
title = element_text(hjust = 0.5),
- axis.title.x = element_text(hjust = 0.5, size=11),
- axis.title.y = element_text(hjust = 0.5, size=11),
- legend.title = element_text(size=11),
+ axis.title.x = element_text(hjust = 0.5, size = 11,
+ colour = mediumContrastColor),
+ axis.title.y = element_text(hjust = 0.5, size = 11,
+ margin = margin(r = 10),
+ colour = mediumContrastColor),
+ legend.title = element_text(size=11, colour = mediumContrastColor),
panel.grid.major.x = element_line(linetype = "dotted", colour = lowContrastColor),
panel.grid.major.y = element_line(colour = lowContrastColor),
panel.grid.minor.y = element_blank(),