😎 Give your xaringan slides some style
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

49 lines
1.7KB

  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. \value{
  23. Invisibly returns a list of the current ggplot2 geom defaults
  24. Invisibly returns a list of the current ggplot2 geom defaults
  25. }
  26. \description{
  27. Set \link{ggplot2} \emph{geom} defaults to match \code{\link[=theme_xaringan]{theme_xaringan()}} with
  28. \code{theme_xaringan_set_defaults()} and restore the standard or previously-set
  29. defaults with \code{theme_xaringan_restore_defaults()}. By default,
  30. \code{theme_xaringan_set_defaults()} is run with \code{\link[=theme_xaringan]{theme_xaringan()}} or
  31. \code{\link[=theme_xaringan_inverse]{theme_xaringan_inverse()}}.
  32. }
  33. \section{Functions}{
  34. \itemize{
  35. \item \code{xaringan_theme_restore_defaults}: Restore previous or standard \link{ggplot2} \emph{geom} defaults.
  36. }}
  37. \seealso{
  38. Other xaringanthemer ggplot2 themes: \code{\link{theme_xaringan_base}},
  39. \code{\link{theme_xaringan_inverse}},
  40. \code{\link{theme_xaringan}}
  41. }
  42. \concept{xaringanthemer ggplot2 themes}