😎 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.

18 satır
1.1KB

  1. #' @param extra_css A named list of CSS definitions each containing a named list
  2. #' of CSS property-value pairs, i.e.
  3. #' \code{list(".class-id" = list("css-property" = "value"))}.
  4. #' @param extra_fonts A list of additional fonts to import, each list element
  5. #' can be either a URL as a character string or a call to
  6. #' \code{\link{google_font}()}. To use a font imported in `extra_fonts`, you
  7. #' will need to write custom CSS rules that apply the font to an element or
  8. #' class with the `font-family` property. See the **Fonts** section of
  9. #' `vignette("xaringanthemer")` for an example.
  10. #' @param colors A named vector of custom colors. The names of the colors
  11. #' become CSS variables and classes that can be used within your slides.
  12. #' For example, `colors = c(blue = "#bad4ed")` adds a CSS variable
  13. #' `--blue`, a `.blue` CSS class that applies the color to the text or
  14. #' foreground color, and a `.bg-blue` CSS class that applies the color
  15. #' to the background.
  16. #' @param outfile Customized xaringan CSS output file name, default is "xaringan-themer.css"
  17. #' @family themes