Set ggplot2 geom defaults to match theme_xaringan() with
theme_xaringan_set_defaults() and restore the standard or previously-set
defaults with theme_xaringan_restore_defaults(). By default,
theme_xaringan_set_defaults() is run with theme_xaringan() or
theme_xaringan_inverse().
theme_xaringan_set_defaults(text_color = NULL, background_color = NULL, accent_color = text_color, accent_secondary_color = accent_color, text_family = NULL) xaringan_theme_restore_defaults()
| text_color | Color for text and foreground, inherits from |
|---|---|
| background_color | Color for background, inherits from
|
| accent_color | Color for titles and accents, inherits from
|
| accent_secondary_color | Color for secondary accents, inherits from
|
Invisibly returns a list of the current ggplot2 geom defaults
Invisibly returns a list of the current ggplot2 geom defaults
xaringan_theme_restore_defaults: Restore previous or standard ggplot2 geom defaults.
Other xaringanthemer ggplot2 themes: theme_xaringan_base,
theme_xaringan_inverse,
theme_xaringan