😎 Give your xaringan slides some style
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
570B

  1. #' @title Write A Customized Xaringan Theme
  2. #' @description Creates a customized Xaringan theme CSS file.
  3. #' @examples
  4. #' # Create a xaringan style in a temporary file
  5. #' xaringan_themer_css <- tempfile("xaringan-themer-", fileext = ".css")
  6. #'
  7. #' style_xaringan(
  8. #' text_color = "#002b3",
  9. #' inverse_background_color = "#31b09e",
  10. #' inverse_text_color = "#002b3",
  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)