😎 Give your xaringan slides some style
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

44 lines
1.6KB

  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/ggplot2.R
  3. \name{theme_xaringan_set_defaults}
  4. \alias{theme_xaringan_set_defaults}
  5. \alias{xaringan_theme_restore_defaults}
  6. \title{Set and Restore ggplot2 geom Defaults}
  7. \usage{
  8. theme_xaringan_set_defaults(text_color = NULL, background_color = NULL,
  9. accent_color = text_color, accent_secondary_color = accent_color,
  10. text_family = NULL)
  11. xaringan_theme_restore_defaults()
  12. }
  13. \arguments{
  14. \item{text_color}{Color for text and foreground, inherits from \code{text_color}}
  15. \item{background_color}{Color for background, inherits from
  16. \code{background_color}}
  17. \item{accent_color}{Color for titles and accents, inherits from
  18. \code{header_color}}
  19. \item{accent_secondary_color}{Color for secondary accents, inherits from
  20. \code{text_bold_color}}
  21. }
  22. \description{
  23. Set \link{ggplot2} \emph{geom} defaults to match \code{\link[=theme_xaringan]{theme_xaringan()}} with
  24. \code{theme_xaringan_set_defaults()} and restore the standard or previously-set
  25. defaults with \code{theme_xaringan_restore_defaults()}. By default,
  26. \code{theme_xaringan_set_defaults()} is run with \code{\link[=theme_xaringan]{theme_xaringan()}} or
  27. \code{\link[=theme_xaringan_inverse]{theme_xaringan_inverse()}}.
  28. }
  29. \section{Functions}{
  30. \itemize{
  31. \item \code{xaringan_theme_restore_defaults}: Restore previous or standard \link{ggplot2} \emph{geom} defaults.
  32. }}
  33. \seealso{
  34. Other xaringanthemer ggplot2 themes: \code{\link{theme_xaringan_base}},
  35. \code{\link{theme_xaringan_inverse}},
  36. \code{\link{theme_xaringan}}
  37. }
  38. \concept{xaringanthemer ggplot2 themes}