Skip to content

Commit

Permalink
Merge pull request #83 from OxfordIHTM/dev
Browse files Browse the repository at this point in the history
reset plot_title_size and plot_title_face
  • Loading branch information
ernestguevarra authored Mar 27, 2024
2 parents b297367 + 7854dc5 commit 204bbe6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions R/oxford_theme_ggplot2.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#' `base_family`.
#' @param plot_title_face Font face ("plain", "italic", "bold", "bold.italic")
#' for plot title. Default is "bold".
#' @param plot_title_size Plot title text size in pts. Default is 18.
#' @param plot_title_size Plot title text size in pts. Default is 16.
#' @param plot_title_margin Margin at the bottom of the plot title. Default
#' set at 10.
#' @param plot_title_colour Colour of the plot title text. Default
Expand All @@ -32,7 +32,7 @@
#' `base_family`.
#' @param strip_text_face Font face ("plain", "italic", "bold", "bold.italic")
#' for facet label. Default is "plain".
#' @param strip_text_size Facet label text size in pts. Default is 12.
#' @param strip_text_size Facet label text size in pts. Default is 10.
#' @param caption_family Font family to use for the caption text. Default is
#' `base_family`.
#' @param caption_face Font face ("plain", "italic", "bold", "bold.italic") for
Expand Down Expand Up @@ -79,7 +79,7 @@
theme_oxford <- function(base_family = "Roboto",
base_size = 11.5,
plot_title_family = base_family,
plot_title_size = 18,
plot_title_size = 16,
plot_title_face = "bold",
plot_title_colour = get_oxford_colour("Oxford blue"),
plot_title_margin = 10,
Expand All @@ -89,7 +89,7 @@ theme_oxford <- function(base_family = "Roboto",
subtitle_colour = get_oxford_colour("ash"),
subtitle_margin = 15,
strip_text_family = base_family,
strip_text_size = 12,
strip_text_size = 10,
strip_text_face = "plain",
caption_family = base_family,
caption_size = 9,
Expand Down
8 changes: 4 additions & 4 deletions man/oxford_theme.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 204bbe6

Please sign in to comment.