man-roxygen/style_solarized_light.R

#' @title Solarized Light Theme
#' @description A light theme based around on the solarized color scheme.
#'   Works well with "\code{highlightStyle: solarized-dark}" or
#'   "\code{highlighStyle: solarized-light}".
#' @references \url{https://ethanschoonover.com/solarized/}
#' @examples
#' # Create a xaringan style in a temporary file
#' xaringan_themer_css <- tempfile("xaringan-themer-", fileext = ".css")
#'
#' style_solarized_light(
#'   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 Sept. 18, 2024, 10:53 p.m.