Update and fix font family
This commit is contained in:
parent
c7d5a2405c
commit
97b74dc343
1 changed files with 2 additions and 2 deletions
|
|
@ -4,7 +4,7 @@
|
||||||
#' @param palette Palette name from 'pal_reach()'.
|
#' @param palette Palette name from 'pal_reach()'.
|
||||||
#' @param discrete Boolean indicating whether color aesthetic is discrete or not.
|
#' @param discrete Boolean indicating whether color aesthetic is discrete or not.
|
||||||
#' @param reverse Boolean indicating whether the palette should be reversed.
|
#' @param reverse Boolean indicating whether the palette should be reversed.
|
||||||
#' @param font_family The font family for all plot's texts. Default to "Leelawadee".
|
#' @param font_family The font family for all plot's texts. Default to "Segoe UI".
|
||||||
#' @param title_size The size of the title. Defaults to 12.
|
#' @param title_size The size of the title. Defaults to 12.
|
||||||
#' @param title_color Title color.
|
#' @param title_color Title color.
|
||||||
#' @param title_font_face Title font face. Default to "bold". Font face ("plain", "italic", "bold", "bold.italic").
|
#' @param title_font_face Title font face. Default to "bold". Font face ("plain", "italic", "bold", "bold.italic").
|
||||||
|
|
@ -63,7 +63,7 @@ theme_reach <- function(
|
||||||
palette = "main",
|
palette = "main",
|
||||||
discrete = TRUE,
|
discrete = TRUE,
|
||||||
reverse = FALSE,
|
reverse = FALSE,
|
||||||
font_family = "segoeui",
|
font_family = "Segoe UI",
|
||||||
title_size = 12,
|
title_size = 12,
|
||||||
title_color = cols_reach("main_grey"),
|
title_color = cols_reach("main_grey"),
|
||||||
title_font_face = "bold",
|
title_font_face = "bold",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue