man-roxygen/style_mono_accent.R

#' @title Monotone Accent Theme
#' @description The default xaringan theme with a single color used for color
#'   accents on select elements (headers, bold text, etc.).
#' @examples
#' # Create a xaringan style in a temporary file
#' xaringan_themer_css <- tempfile("xaringan-themer-", fileext = ".css")
#'
#' style_mono_accent(
#'   base_color = "#43418A",
#'   outfile = xaringan_themer_css # omit in your slides to write the
#'                                 # styles to xaringan-themer.css
#' )
#'
#' # View the CSS:
#' # file.edit(xaringan_themer_css)
gadenbuie/xaringanthemer documentation built on Aug. 26, 2022, 12:14 p.m.