😎 Give your xaringan slides some style
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

17 lines
637B

  1. #' @title Solarized Dark Theme
  2. #' @description A dark theme based around on the solarized color scheme.
  3. #' Works well with "\code{highlightStyle: solarized-dark}" or
  4. #' "\code{highlighStyle: solarized-light}".
  5. #' @references \url{https://ethanschoonover.com/solarized/}
  6. #' @examples
  7. #' # Create a xaringan style in a temporary file
  8. #' xaringan_themer_css <- tempfile("xaringan-themer-", fileext = ".css")
  9. #'
  10. #' style_solarized_dark(
  11. #' outfile = xaringan_themer_css # omit in your slides to write the
  12. #' # styles to xaringan-themer.css
  13. #' )
  14. #'
  15. #' # View the CSS:
  16. #' # file.edit(xaringan_themer_css)