Skip to contents

This function creates a CSS file mediocre-xaringan.css to build xaringanthemer slides, based on mediocrethemes style, fonts and colors.

Usage

xaringan_mediocre(pal = "autumn", mediocre_plots = TRUE)

Arguments

pal

a string. Defines the color palette selected. Can either be either "autumn", "rainbow", "green", "hotcold", "blackandwhite", "coty", "leo", "portal" or "pem" "hotcold", "blackandwhite", "coty", "leo", "portal" or "pem"

mediocre_plots

if TRUE, sets the plots of the .Rmd document to be made with mediocrethemes (calls set_mediocre_all(pal))

Value

This function adds a CSS file to your current working directory.

Details

For more information on how to use this function, please refer to the associated vignette.

Examples

if (FALSE) {
xaringan_mediocre()

xaringan_mediocre(pal = "rainbow")
}