Explorar el Código

Rewrite template in mustache and use whisker

Also allow NULL or NA for template arguments but change default to NULL
tags/v0.3.0
Garrick Aden-Buie hace 7 años
padre
commit
bceb3d404e
Se han modificado 25 ficheros con 379 adiciones y 340 borrados
  1. +2
    -1
      DESCRIPTION
  2. +16
    -16
      R/duo.R
  3. +16
    -16
      R/duo_accent.R
  4. +16
    -16
      R/duo_accent_inverse.R
  5. +16
    -16
      R/mono_accent.R
  6. +16
    -16
      R/mono_accent_inverse.R
  7. +16
    -16
      R/mono_dark.R
  8. +16
    -16
      R/mono_light.R
  9. +16
    -16
      R/solarized_dark.R
  10. +16
    -16
      R/solarized_light.R
  11. +9
    -9
      R/theme_settings.R
  12. +2
    -0
      R/utils.R
  13. +34
    -27
      R/write_theme.R
  14. +30
    -18
      inst/resources/template.css
  15. +16
    -9
      inst/scripts/write_xaringan_theme_body.R
  16. +14
    -13
      man/duo.Rd
  17. +14
    -13
      man/duo_accent.Rd
  18. +14
    -13
      man/duo_accent_inverse.Rd
  19. +14
    -13
      man/mono_accent.Rd
  20. +14
    -13
      man/mono_accent_inverse.Rd
  21. +14
    -13
      man/mono_dark.Rd
  22. +14
    -13
      man/mono_light.Rd
  23. +14
    -13
      man/solarized_dark.Rd
  24. +14
    -13
      man/solarized_light.Rd
  25. +16
    -15
      man/write_xaringan_theme.Rd

+ 2
- 1
DESCRIPTION Ver fichero

purrr, purrr,
tibble, tibble,
glue, glue,
stringr
stringr,
whisker
VignetteBuilder: knitr VignetteBuilder: knitr

+ 16
- 16
R/duo.R Ver fichero

#' @param text_bold_color Bold Text Color. Defaults to `secondary_color`. Modifies the `strong` element. #' @param text_bold_color Bold Text Color. Defaults to `secondary_color`. Modifies the `strong` element.
#' @param text_slide_number_color Slide Number Color. Defaults to `text_color`. Modifies the `.remark-slide-number` class. #' @param text_slide_number_color Slide Number Color. Defaults to `text_color`. Modifies the `.remark-slide-number` class.
#' @param padding Slide Padding in `top right [bottom left]` format. Defaults to 1em 4em 1em 4em. Modifies the `.remark-slide-content` class. #' @param padding Slide Padding in `top right [bottom left]` format. Defaults to 1em 4em 1em 4em. Modifies the `.remark-slide-content` class.
#' @param background_image Background image applied to each *and every* slide. Set `title_slide_background_image = "none"` to remove the background image from the title slide.. Defaults to NA. Modifies the `.remark-slide-content` class.
#' @param background_size Background image size, requires `background_image` to be set. If `background_image` is set, `background_size` will default to `cover` so the backround fills the screen. If both `background_image` and `background_position` are set, will default to 100 percent.. Defaults to NA. Modifies the `.remark-slide-content` class.
#' @param background_position Background image position, requires `background_image` to be set, and it is recommended to adjust `background_size`.. Defaults to NA. Modifies the `.remark-slide-content` class.
#' @param background_image Background image applied to each *and every* slide. Set `title_slide_background_image = "none"` to remove the background image from the title slide.. Defaults to `NULL`. Modifies the `.remark-slide-content` class.
#' @param background_size Background image size, requires `background_image` to be set. If `background_image` is set, `background_size` will default to `cover` so the backround fills the screen. If both `background_image` and `background_position` are set, will default to 100 percent.. Defaults to `NULL`. Modifies the `.remark-slide-content` class.
#' @param background_position Background image position, requires `background_image` to be set, and it is recommended to adjust `background_size`.. Defaults to `NULL`. Modifies the `.remark-slide-content` class.
#' @param code_highlight_color Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class. #' @param code_highlight_color Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class.
#' @param code_inline_color Inline Code Color. Defaults to `secondary_color`. Modifies the `.remark-inline-code` class. #' @param code_inline_color Inline Code Color. Defaults to `secondary_color`. Modifies the `.remark-inline-code` class.
#' @param code_inline_background_color Inline Code Background Color. Defaults to NA. Modifies the `.remark-inline-code` class.
#' @param code_inline_background_color Inline Code Background Color. Defaults to `NULL`. Modifies the `.remark-inline-code` class.
#' @param code_inline_font_size Inline Code Text Font Size. Defaults to 1em. Modifies the `.remark-inline-code` class. #' @param code_inline_font_size Inline Code Text Font Size. Defaults to 1em. Modifies the `.remark-inline-code` class.
#' @param inverse_background_color Inverse Background Color. Defaults to `secondary_color`. Modifies the `.inverse` class. #' @param inverse_background_color Inverse Background Color. Defaults to `secondary_color`. Modifies the `.inverse` class.
#' @param inverse_text_color Inverse Text Color. Defaults to `primary_color`. Modifies the `.inverse` class. #' @param inverse_text_color Inverse Text Color. Defaults to `primary_color`. Modifies the `.inverse` class.
#' @param inverse_header_color Inverse Header Color. Defaults to `primary_color`. Modifies the `.inverse h1, .inverse h2, .inverse h3` classes. #' @param inverse_header_color Inverse Header Color. Defaults to `primary_color`. Modifies the `.inverse h1, .inverse h2, .inverse h3` classes.
#' @param title_slide_text_color Title Slide Text Color. Defaults to `secondary_color`. Modifies the `.title-slide` class. #' @param title_slide_text_color Title Slide Text Color. Defaults to `secondary_color`. Modifies the `.title-slide` class.
#' @param title_slide_background_color Title Slide Background Color. Defaults to `primary_color`. Modifies the `.title-slide` class. #' @param title_slide_background_color Title Slide Background Color. Defaults to `primary_color`. Modifies the `.title-slide` class.
#' @param title_slide_background_image Title Slide Background Image URL. Defaults to NA. Modifies the `.title-slide` class.
#' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the `.title-slide` class.
#' @param title_slide_background_position Title Slide Background Image Position. Defaults to NA. Modifies the `.title-slide` class.
#' @param footnote_color Footnote text color (if `NA`, then it will be the same color as `text_color`). Defaults to NA. Modifies the `.footnote` class.
#' @param title_slide_background_image Title Slide Background Image URL. Defaults to `NULL`. Modifies the `.title-slide` class.
#' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to `NULL`. Modifies the `.title-slide` class.
#' @param title_slide_background_position Title Slide Background Image Position. Defaults to `NULL`. Modifies the `.title-slide` class.
#' @param footnote_color Footnote text color (if `NA`, then it will be the same color as `text_color`). Defaults to `NULL`. Modifies the `.footnote` class.
#' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies the `.footnote` class. #' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies the `.footnote` class.
#' @param footnote_position_bottom Footnote location from bottom of screen. Defaults to 3em. Modifies the `.footnote` class. #' @param footnote_position_bottom Footnote location from bottom of screen. Defaults to 3em. Modifies the `.footnote` class.
#' @param left_column_subtle_color Left Column Text (not last). Defaults to `apply_alpha(secondary_color, 0.6)`. Modifies the `.left-column h2, .left-column h3` classes. #' @param left_column_subtle_color Left Column Text (not last). Defaults to `apply_alpha(secondary_color, 0.6)`. Modifies the `.left-column h2, .left-column h3` classes.
text_bold_color = secondary_color, text_bold_color = secondary_color,
text_slide_number_color = text_color, text_slide_number_color = text_color,
padding = "1em 4em 1em 4em", padding = "1em 4em 1em 4em",
background_image = NA,
background_size = NA,
background_position = NA,
background_image = NULL,
background_size = NULL,
background_position = NULL,
code_highlight_color = "rgba(255,255,0,0.5)", code_highlight_color = "rgba(255,255,0,0.5)",
code_inline_color = secondary_color, code_inline_color = secondary_color,
code_inline_background_color = NA,
code_inline_background_color = NULL,
code_inline_font_size = "1em", code_inline_font_size = "1em",
inverse_background_color = secondary_color, inverse_background_color = secondary_color,
inverse_text_color = primary_color, inverse_text_color = primary_color,
inverse_header_color = primary_color, inverse_header_color = primary_color,
title_slide_text_color = secondary_color, title_slide_text_color = secondary_color,
title_slide_background_color = primary_color, title_slide_background_color = primary_color,
title_slide_background_image = NA,
title_slide_background_size = NA,
title_slide_background_position = NA,
footnote_color = NA,
title_slide_background_image = NULL,
title_slide_background_size = NULL,
title_slide_background_position = NULL,
footnote_color = NULL,
footnote_font_size = "0.9em", footnote_font_size = "0.9em",
footnote_position_bottom = "3em", footnote_position_bottom = "3em",
left_column_subtle_color = apply_alpha(secondary_color, 0.6), left_column_subtle_color = apply_alpha(secondary_color, 0.6),

+ 16
- 16
R/duo_accent.R Ver fichero

#' @param text_bold_color Bold Text Color. Defaults to `choose_dark_or_light(secondary_color, primary_color, secondary_color)`. Modifies the `strong` element. #' @param text_bold_color Bold Text Color. Defaults to `choose_dark_or_light(secondary_color, primary_color, secondary_color)`. Modifies the `strong` element.
#' @param text_slide_number_color Slide Number Color. Defaults to `primary_color`. Modifies the `.remark-slide-number` class. #' @param text_slide_number_color Slide Number Color. Defaults to `primary_color`. Modifies the `.remark-slide-number` class.
#' @param padding Slide Padding in `top right [bottom left]` format. Defaults to 1em 4em 1em 4em. Modifies the `.remark-slide-content` class. #' @param padding Slide Padding in `top right [bottom left]` format. Defaults to 1em 4em 1em 4em. Modifies the `.remark-slide-content` class.
#' @param background_image Background image applied to each *and every* slide. Set `title_slide_background_image = "none"` to remove the background image from the title slide.. Defaults to NA. Modifies the `.remark-slide-content` class.
#' @param background_size Background image size, requires `background_image` to be set. If `background_image` is set, `background_size` will default to `cover` so the backround fills the screen. If both `background_image` and `background_position` are set, will default to 100 percent.. Defaults to NA. Modifies the `.remark-slide-content` class.
#' @param background_position Background image position, requires `background_image` to be set, and it is recommended to adjust `background_size`.. Defaults to NA. Modifies the `.remark-slide-content` class.
#' @param background_image Background image applied to each *and every* slide. Set `title_slide_background_image = "none"` to remove the background image from the title slide.. Defaults to `NULL`. Modifies the `.remark-slide-content` class.
#' @param background_size Background image size, requires `background_image` to be set. If `background_image` is set, `background_size` will default to `cover` so the backround fills the screen. If both `background_image` and `background_position` are set, will default to 100 percent.. Defaults to `NULL`. Modifies the `.remark-slide-content` class.
#' @param background_position Background image position, requires `background_image` to be set, and it is recommended to adjust `background_size`.. Defaults to `NULL`. Modifies the `.remark-slide-content` class.
#' @param code_highlight_color Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class. #' @param code_highlight_color Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class.
#' @param code_inline_color Inline Code Color. Defaults to `choose_dark_or_light(secondary_color, primary_color, secondary_color)`. Modifies the `.remark-inline-code` class. #' @param code_inline_color Inline Code Color. Defaults to `choose_dark_or_light(secondary_color, primary_color, secondary_color)`. Modifies the `.remark-inline-code` class.
#' @param code_inline_background_color Inline Code Background Color. Defaults to NA. Modifies the `.remark-inline-code` class.
#' @param code_inline_background_color Inline Code Background Color. Defaults to `NULL`. Modifies the `.remark-inline-code` class.
#' @param code_inline_font_size Inline Code Text Font Size. Defaults to 1em. Modifies the `.remark-inline-code` class. #' @param code_inline_font_size Inline Code Text Font Size. Defaults to 1em. Modifies the `.remark-inline-code` class.
#' @param inverse_background_color Inverse Background Color. Defaults to `secondary_color`. Modifies the `.inverse` class. #' @param inverse_background_color Inverse Background Color. Defaults to `secondary_color`. Modifies the `.inverse` class.
#' @param inverse_text_color Inverse Text Color. Defaults to `choose_dark_or_light(secondary_color, black_color, white_color)`. Modifies the `.inverse` class. #' @param inverse_text_color Inverse Text Color. Defaults to `choose_dark_or_light(secondary_color, black_color, white_color)`. Modifies the `.inverse` class.
#' @param inverse_header_color Inverse Header Color. Defaults to `choose_dark_or_light(secondary_color, black_color, white_color)`. Modifies the `.inverse h1, .inverse h2, .inverse h3` classes. #' @param inverse_header_color Inverse Header Color. Defaults to `choose_dark_or_light(secondary_color, black_color, white_color)`. Modifies the `.inverse h1, .inverse h2, .inverse h3` classes.
#' @param title_slide_text_color Title Slide Text Color. Defaults to `choose_dark_or_light(primary_color, black_color, white_color)`. Modifies the `.title-slide` class. #' @param title_slide_text_color Title Slide Text Color. Defaults to `choose_dark_or_light(primary_color, black_color, white_color)`. Modifies the `.title-slide` class.
#' @param title_slide_background_color Title Slide Background Color. Defaults to `primary_color`. Modifies the `.title-slide` class. #' @param title_slide_background_color Title Slide Background Color. Defaults to `primary_color`. Modifies the `.title-slide` class.
#' @param title_slide_background_image Title Slide Background Image URL. Defaults to NA. Modifies the `.title-slide` class.
#' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the `.title-slide` class.
#' @param title_slide_background_position Title Slide Background Image Position. Defaults to NA. Modifies the `.title-slide` class.
#' @param footnote_color Footnote text color (if `NA`, then it will be the same color as `text_color`). Defaults to NA. Modifies the `.footnote` class.
#' @param title_slide_background_image Title Slide Background Image URL. Defaults to `NULL`. Modifies the `.title-slide` class.
#' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to `NULL`. Modifies the `.title-slide` class.
#' @param title_slide_background_position Title Slide Background Image Position. Defaults to `NULL`. Modifies the `.title-slide` class.
#' @param footnote_color Footnote text color (if `NA`, then it will be the same color as `text_color`). Defaults to `NULL`. Modifies the `.footnote` class.
#' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies the `.footnote` class. #' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies the `.footnote` class.
#' @param footnote_position_bottom Footnote location from bottom of screen. Defaults to 3em. Modifies the `.footnote` class. #' @param footnote_position_bottom Footnote location from bottom of screen. Defaults to 3em. Modifies the `.footnote` class.
#' @param left_column_subtle_color Left Column Text (not last). Defaults to `apply_alpha(primary_color, 0.6)`. Modifies the `.left-column h2, .left-column h3` classes. #' @param left_column_subtle_color Left Column Text (not last). Defaults to `apply_alpha(primary_color, 0.6)`. Modifies the `.left-column h2, .left-column h3` classes.
text_bold_color = choose_dark_or_light(secondary_color, primary_color, secondary_color), text_bold_color = choose_dark_or_light(secondary_color, primary_color, secondary_color),
text_slide_number_color = primary_color, text_slide_number_color = primary_color,
padding = "1em 4em 1em 4em", padding = "1em 4em 1em 4em",
background_image = NA,
background_size = NA,
background_position = NA,
background_image = NULL,
background_size = NULL,
background_position = NULL,
code_highlight_color = "rgba(255,255,0,0.5)", code_highlight_color = "rgba(255,255,0,0.5)",
code_inline_color = choose_dark_or_light(secondary_color, primary_color, secondary_color), code_inline_color = choose_dark_or_light(secondary_color, primary_color, secondary_color),
code_inline_background_color = NA,
code_inline_background_color = NULL,
code_inline_font_size = "1em", code_inline_font_size = "1em",
inverse_background_color = secondary_color, inverse_background_color = secondary_color,
inverse_text_color = choose_dark_or_light(secondary_color, black_color, white_color), inverse_text_color = choose_dark_or_light(secondary_color, black_color, white_color),
inverse_header_color = choose_dark_or_light(secondary_color, black_color, white_color), inverse_header_color = choose_dark_or_light(secondary_color, black_color, white_color),
title_slide_text_color = choose_dark_or_light(primary_color, black_color, white_color), title_slide_text_color = choose_dark_or_light(primary_color, black_color, white_color),
title_slide_background_color = primary_color, title_slide_background_color = primary_color,
title_slide_background_image = NA,
title_slide_background_size = NA,
title_slide_background_position = NA,
footnote_color = NA,
title_slide_background_image = NULL,
title_slide_background_size = NULL,
title_slide_background_position = NULL,
footnote_color = NULL,
footnote_font_size = "0.9em", footnote_font_size = "0.9em",
footnote_position_bottom = "3em", footnote_position_bottom = "3em",
left_column_subtle_color = apply_alpha(primary_color, 0.6), left_column_subtle_color = apply_alpha(primary_color, 0.6),

+ 16
- 16
R/duo_accent_inverse.R Ver fichero

#' @param text_bold_color Bold Text Color. Defaults to `choose_dark_or_light(secondary_color, secondary_color, primary_color)`. Modifies the `strong` element. #' @param text_bold_color Bold Text Color. Defaults to `choose_dark_or_light(secondary_color, secondary_color, primary_color)`. Modifies the `strong` element.
#' @param text_slide_number_color Slide Number Color. Defaults to `primary_color`. Modifies the `.remark-slide-number` class. #' @param text_slide_number_color Slide Number Color. Defaults to `primary_color`. Modifies the `.remark-slide-number` class.
#' @param padding Slide Padding in `top right [bottom left]` format. Defaults to 1em 4em 1em 4em. Modifies the `.remark-slide-content` class. #' @param padding Slide Padding in `top right [bottom left]` format. Defaults to 1em 4em 1em 4em. Modifies the `.remark-slide-content` class.
#' @param background_image Background image applied to each *and every* slide. Set `title_slide_background_image = "none"` to remove the background image from the title slide.. Defaults to NA. Modifies the `.remark-slide-content` class.
#' @param background_size Background image size, requires `background_image` to be set. If `background_image` is set, `background_size` will default to `cover` so the backround fills the screen. If both `background_image` and `background_position` are set, will default to 100 percent.. Defaults to NA. Modifies the `.remark-slide-content` class.
#' @param background_position Background image position, requires `background_image` to be set, and it is recommended to adjust `background_size`.. Defaults to NA. Modifies the `.remark-slide-content` class.
#' @param background_image Background image applied to each *and every* slide. Set `title_slide_background_image = "none"` to remove the background image from the title slide.. Defaults to `NULL`. Modifies the `.remark-slide-content` class.
#' @param background_size Background image size, requires `background_image` to be set. If `background_image` is set, `background_size` will default to `cover` so the backround fills the screen. If both `background_image` and `background_position` are set, will default to 100 percent.. Defaults to `NULL`. Modifies the `.remark-slide-content` class.
#' @param background_position Background image position, requires `background_image` to be set, and it is recommended to adjust `background_size`.. Defaults to `NULL`. Modifies the `.remark-slide-content` class.
#' @param code_highlight_color Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class. #' @param code_highlight_color Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class.
#' @param code_inline_color Inline Code Color. Defaults to `choose_dark_or_light(secondary_color, secondary_color, primary_color)`. Modifies the `.remark-inline-code` class. #' @param code_inline_color Inline Code Color. Defaults to `choose_dark_or_light(secondary_color, secondary_color, primary_color)`. Modifies the `.remark-inline-code` class.
#' @param code_inline_background_color Inline Code Background Color. Defaults to NA. Modifies the `.remark-inline-code` class.
#' @param code_inline_background_color Inline Code Background Color. Defaults to `NULL`. Modifies the `.remark-inline-code` class.
#' @param code_inline_font_size Inline Code Text Font Size. Defaults to 1em. Modifies the `.remark-inline-code` class. #' @param code_inline_font_size Inline Code Text Font Size. Defaults to 1em. Modifies the `.remark-inline-code` class.
#' @param inverse_background_color Inverse Background Color. Defaults to `secondary_color`. Modifies the `.inverse` class. #' @param inverse_background_color Inverse Background Color. Defaults to `secondary_color`. Modifies the `.inverse` class.
#' @param inverse_text_color Inverse Text Color. Defaults to `choose_dark_or_light(secondary_color, black_color, white_color)`. Modifies the `.inverse` class. #' @param inverse_text_color Inverse Text Color. Defaults to `choose_dark_or_light(secondary_color, black_color, white_color)`. Modifies the `.inverse` class.
#' @param inverse_header_color Inverse Header Color. Defaults to `choose_dark_or_light(secondary_color, black_color, white_color)`. Modifies the `.inverse h1, .inverse h2, .inverse h3` classes. #' @param inverse_header_color Inverse Header Color. Defaults to `choose_dark_or_light(secondary_color, black_color, white_color)`. Modifies the `.inverse h1, .inverse h2, .inverse h3` classes.
#' @param title_slide_text_color Title Slide Text Color. Defaults to `choose_dark_or_light(primary_color, black_color, white_color)`. Modifies the `.title-slide` class. #' @param title_slide_text_color Title Slide Text Color. Defaults to `choose_dark_or_light(primary_color, black_color, white_color)`. Modifies the `.title-slide` class.
#' @param title_slide_background_color Title Slide Background Color. Defaults to `primary_color`. Modifies the `.title-slide` class. #' @param title_slide_background_color Title Slide Background Color. Defaults to `primary_color`. Modifies the `.title-slide` class.
#' @param title_slide_background_image Title Slide Background Image URL. Defaults to NA. Modifies the `.title-slide` class.
#' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the `.title-slide` class.
#' @param title_slide_background_position Title Slide Background Image Position. Defaults to NA. Modifies the `.title-slide` class.
#' @param footnote_color Footnote text color (if `NA`, then it will be the same color as `text_color`). Defaults to NA. Modifies the `.footnote` class.
#' @param title_slide_background_image Title Slide Background Image URL. Defaults to `NULL`. Modifies the `.title-slide` class.
#' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to `NULL`. Modifies the `.title-slide` class.
#' @param title_slide_background_position Title Slide Background Image Position. Defaults to `NULL`. Modifies the `.title-slide` class.
#' @param footnote_color Footnote text color (if `NA`, then it will be the same color as `text_color`). Defaults to `NULL`. Modifies the `.footnote` class.
#' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies the `.footnote` class. #' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies the `.footnote` class.
#' @param footnote_position_bottom Footnote location from bottom of screen. Defaults to 3em. Modifies the `.footnote` class. #' @param footnote_position_bottom Footnote location from bottom of screen. Defaults to 3em. Modifies the `.footnote` class.
#' @param left_column_subtle_color Left Column Text (not last). Defaults to `apply_alpha(primary_color, 0.6)`. Modifies the `.left-column h2, .left-column h3` classes. #' @param left_column_subtle_color Left Column Text (not last). Defaults to `apply_alpha(primary_color, 0.6)`. Modifies the `.left-column h2, .left-column h3` classes.
text_bold_color = choose_dark_or_light(secondary_color, secondary_color, primary_color), text_bold_color = choose_dark_or_light(secondary_color, secondary_color, primary_color),
text_slide_number_color = primary_color, text_slide_number_color = primary_color,
padding = "1em 4em 1em 4em", padding = "1em 4em 1em 4em",
background_image = NA,
background_size = NA,
background_position = NA,
background_image = NULL,
background_size = NULL,
background_position = NULL,
code_highlight_color = "rgba(255,255,0,0.5)", code_highlight_color = "rgba(255,255,0,0.5)",
code_inline_color = choose_dark_or_light(secondary_color, secondary_color, primary_color), code_inline_color = choose_dark_or_light(secondary_color, secondary_color, primary_color),
code_inline_background_color = NA,
code_inline_background_color = NULL,
code_inline_font_size = "1em", code_inline_font_size = "1em",
inverse_background_color = secondary_color, inverse_background_color = secondary_color,
inverse_text_color = choose_dark_or_light(secondary_color, black_color, white_color), inverse_text_color = choose_dark_or_light(secondary_color, black_color, white_color),
inverse_header_color = choose_dark_or_light(secondary_color, black_color, white_color), inverse_header_color = choose_dark_or_light(secondary_color, black_color, white_color),
title_slide_text_color = choose_dark_or_light(primary_color, black_color, white_color), title_slide_text_color = choose_dark_or_light(primary_color, black_color, white_color),
title_slide_background_color = primary_color, title_slide_background_color = primary_color,
title_slide_background_image = NA,
title_slide_background_size = NA,
title_slide_background_position = NA,
footnote_color = NA,
title_slide_background_image = NULL,
title_slide_background_size = NULL,
title_slide_background_position = NULL,
footnote_color = NULL,
footnote_font_size = "0.9em", footnote_font_size = "0.9em",
footnote_position_bottom = "3em", footnote_position_bottom = "3em",
left_column_subtle_color = apply_alpha(primary_color, 0.6), left_column_subtle_color = apply_alpha(primary_color, 0.6),

+ 16
- 16
R/mono_accent.R Ver fichero

#' @param text_bold_color Bold Text Color. Defaults to `base_color`. Modifies the `strong` element. #' @param text_bold_color Bold Text Color. Defaults to `base_color`. Modifies the `strong` element.
#' @param text_slide_number_color Slide Number Color. Defaults to `base_color`. Modifies the `.remark-slide-number` class. #' @param text_slide_number_color Slide Number Color. Defaults to `base_color`. Modifies the `.remark-slide-number` class.
#' @param padding Slide Padding in `top right [bottom left]` format. Defaults to 1em 4em 1em 4em. Modifies the `.remark-slide-content` class. #' @param padding Slide Padding in `top right [bottom left]` format. Defaults to 1em 4em 1em 4em. Modifies the `.remark-slide-content` class.
#' @param background_image Background image applied to each *and every* slide. Set `title_slide_background_image = "none"` to remove the background image from the title slide.. Defaults to NA. Modifies the `.remark-slide-content` class.
#' @param background_size Background image size, requires `background_image` to be set. If `background_image` is set, `background_size` will default to `cover` so the backround fills the screen. If both `background_image` and `background_position` are set, will default to 100 percent.. Defaults to NA. Modifies the `.remark-slide-content` class.
#' @param background_position Background image position, requires `background_image` to be set, and it is recommended to adjust `background_size`.. Defaults to NA. Modifies the `.remark-slide-content` class.
#' @param background_image Background image applied to each *and every* slide. Set `title_slide_background_image = "none"` to remove the background image from the title slide.. Defaults to `NULL`. Modifies the `.remark-slide-content` class.
#' @param background_size Background image size, requires `background_image` to be set. If `background_image` is set, `background_size` will default to `cover` so the backround fills the screen. If both `background_image` and `background_position` are set, will default to 100 percent.. Defaults to `NULL`. Modifies the `.remark-slide-content` class.
#' @param background_position Background image position, requires `background_image` to be set, and it is recommended to adjust `background_size`.. Defaults to `NULL`. Modifies the `.remark-slide-content` class.
#' @param code_highlight_color Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class. #' @param code_highlight_color Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class.
#' @param code_inline_color Inline Code Color. Defaults to `base_color`. Modifies the `.remark-inline-code` class. #' @param code_inline_color Inline Code Color. Defaults to `base_color`. Modifies the `.remark-inline-code` class.
#' @param code_inline_background_color Inline Code Background Color. Defaults to NA. Modifies the `.remark-inline-code` class.
#' @param code_inline_background_color Inline Code Background Color. Defaults to `NULL`. Modifies the `.remark-inline-code` class.
#' @param code_inline_font_size Inline Code Text Font Size. Defaults to 1em. Modifies the `.remark-inline-code` class. #' @param code_inline_font_size Inline Code Text Font Size. Defaults to 1em. Modifies the `.remark-inline-code` class.
#' @param inverse_background_color Inverse Background Color. Defaults to `base_color`. Modifies the `.inverse` class. #' @param inverse_background_color Inverse Background Color. Defaults to `base_color`. Modifies the `.inverse` class.
#' @param inverse_text_color Inverse Text Color. Defaults to `white_color`. Modifies the `.inverse` class. #' @param inverse_text_color Inverse Text Color. Defaults to `white_color`. Modifies the `.inverse` class.
#' @param inverse_header_color Inverse Header Color. Defaults to `white_color`. Modifies the `.inverse h1, .inverse h2, .inverse h3` classes. #' @param inverse_header_color Inverse Header Color. Defaults to `white_color`. Modifies the `.inverse h1, .inverse h2, .inverse h3` classes.
#' @param title_slide_text_color Title Slide Text Color. Defaults to `inverse_text_color`. Modifies the `.title-slide` class. #' @param title_slide_text_color Title Slide Text Color. Defaults to `inverse_text_color`. Modifies the `.title-slide` class.
#' @param title_slide_background_color Title Slide Background Color. Defaults to `inverse_background_color`. Modifies the `.title-slide` class. #' @param title_slide_background_color Title Slide Background Color. Defaults to `inverse_background_color`. Modifies the `.title-slide` class.
#' @param title_slide_background_image Title Slide Background Image URL. Defaults to NA. Modifies the `.title-slide` class.
#' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the `.title-slide` class.
#' @param title_slide_background_position Title Slide Background Image Position. Defaults to NA. Modifies the `.title-slide` class.
#' @param footnote_color Footnote text color (if `NA`, then it will be the same color as `text_color`). Defaults to NA. Modifies the `.footnote` class.
#' @param title_slide_background_image Title Slide Background Image URL. Defaults to `NULL`. Modifies the `.title-slide` class.
#' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to `NULL`. Modifies the `.title-slide` class.
#' @param title_slide_background_position Title Slide Background Image Position. Defaults to `NULL`. Modifies the `.title-slide` class.
#' @param footnote_color Footnote text color (if `NA`, then it will be the same color as `text_color`). Defaults to `NULL`. Modifies the `.footnote` class.
#' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies the `.footnote` class. #' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies the `.footnote` class.
#' @param footnote_position_bottom Footnote location from bottom of screen. Defaults to 3em. Modifies the `.footnote` class. #' @param footnote_position_bottom Footnote location from bottom of screen. Defaults to 3em. Modifies the `.footnote` class.
#' @param left_column_subtle_color Left Column Text (not last). Defaults to `apply_alpha(base_color, 0.6)`. Modifies the `.left-column h2, .left-column h3` classes. #' @param left_column_subtle_color Left Column Text (not last). Defaults to `apply_alpha(base_color, 0.6)`. Modifies the `.left-column h2, .left-column h3` classes.
text_bold_color = base_color, text_bold_color = base_color,
text_slide_number_color = base_color, text_slide_number_color = base_color,
padding = "1em 4em 1em 4em", padding = "1em 4em 1em 4em",
background_image = NA,
background_size = NA,
background_position = NA,
background_image = NULL,
background_size = NULL,
background_position = NULL,
code_highlight_color = "rgba(255,255,0,0.5)", code_highlight_color = "rgba(255,255,0,0.5)",
code_inline_color = base_color, code_inline_color = base_color,
code_inline_background_color = NA,
code_inline_background_color = NULL,
code_inline_font_size = "1em", code_inline_font_size = "1em",
inverse_background_color = base_color, inverse_background_color = base_color,
inverse_text_color = white_color, inverse_text_color = white_color,
inverse_header_color = white_color, inverse_header_color = white_color,
title_slide_text_color = inverse_text_color, title_slide_text_color = inverse_text_color,
title_slide_background_color = inverse_background_color, title_slide_background_color = inverse_background_color,
title_slide_background_image = NA,
title_slide_background_size = NA,
title_slide_background_position = NA,
footnote_color = NA,
title_slide_background_image = NULL,
title_slide_background_size = NULL,
title_slide_background_position = NULL,
footnote_color = NULL,
footnote_font_size = "0.9em", footnote_font_size = "0.9em",
footnote_position_bottom = "3em", footnote_position_bottom = "3em",
left_column_subtle_color = apply_alpha(base_color, 0.6), left_column_subtle_color = apply_alpha(base_color, 0.6),

+ 16
- 16
R/mono_accent_inverse.R Ver fichero

#' @param text_bold_color Bold Text Color. Defaults to `base_color`. Modifies the `strong` element. #' @param text_bold_color Bold Text Color. Defaults to `base_color`. Modifies the `strong` element.
#' @param text_slide_number_color Slide Number Color. Defaults to `base_color`. Modifies the `.remark-slide-number` class. #' @param text_slide_number_color Slide Number Color. Defaults to `base_color`. Modifies the `.remark-slide-number` class.
#' @param padding Slide Padding in `top right [bottom left]` format. Defaults to 1em 4em 1em 4em. Modifies the `.remark-slide-content` class. #' @param padding Slide Padding in `top right [bottom left]` format. Defaults to 1em 4em 1em 4em. Modifies the `.remark-slide-content` class.
#' @param background_image Background image applied to each *and every* slide. Set `title_slide_background_image = "none"` to remove the background image from the title slide.. Defaults to NA. Modifies the `.remark-slide-content` class.
#' @param background_size Background image size, requires `background_image` to be set. If `background_image` is set, `background_size` will default to `cover` so the backround fills the screen. If both `background_image` and `background_position` are set, will default to 100 percent.. Defaults to NA. Modifies the `.remark-slide-content` class.
#' @param background_position Background image position, requires `background_image` to be set, and it is recommended to adjust `background_size`.. Defaults to NA. Modifies the `.remark-slide-content` class.
#' @param background_image Background image applied to each *and every* slide. Set `title_slide_background_image = "none"` to remove the background image from the title slide.. Defaults to `NULL`. Modifies the `.remark-slide-content` class.
#' @param background_size Background image size, requires `background_image` to be set. If `background_image` is set, `background_size` will default to `cover` so the backround fills the screen. If both `background_image` and `background_position` are set, will default to 100 percent.. Defaults to `NULL`. Modifies the `.remark-slide-content` class.
#' @param background_position Background image position, requires `background_image` to be set, and it is recommended to adjust `background_size`.. Defaults to `NULL`. Modifies the `.remark-slide-content` class.
#' @param code_highlight_color Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class. #' @param code_highlight_color Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class.
#' @param code_inline_color Inline Code Color. Defaults to `base_color`. Modifies the `.remark-inline-code` class. #' @param code_inline_color Inline Code Color. Defaults to `base_color`. Modifies the `.remark-inline-code` class.
#' @param code_inline_background_color Inline Code Background Color. Defaults to NA. Modifies the `.remark-inline-code` class.
#' @param code_inline_background_color Inline Code Background Color. Defaults to `NULL`. Modifies the `.remark-inline-code` class.
#' @param code_inline_font_size Inline Code Text Font Size. Defaults to 1em. Modifies the `.remark-inline-code` class. #' @param code_inline_font_size Inline Code Text Font Size. Defaults to 1em. Modifies the `.remark-inline-code` class.
#' @param inverse_background_color Inverse Background Color. Defaults to `base_color`. Modifies the `.inverse` class. #' @param inverse_background_color Inverse Background Color. Defaults to `base_color`. Modifies the `.inverse` class.
#' @param inverse_text_color Inverse Text Color. Defaults to `black_color`. Modifies the `.inverse` class. #' @param inverse_text_color Inverse Text Color. Defaults to `black_color`. Modifies the `.inverse` class.
#' @param inverse_header_color Inverse Header Color. Defaults to `black_color`. Modifies the `.inverse h1, .inverse h2, .inverse h3` classes. #' @param inverse_header_color Inverse Header Color. Defaults to `black_color`. Modifies the `.inverse h1, .inverse h2, .inverse h3` classes.
#' @param title_slide_text_color Title Slide Text Color. Defaults to `inverse_text_color`. Modifies the `.title-slide` class. #' @param title_slide_text_color Title Slide Text Color. Defaults to `inverse_text_color`. Modifies the `.title-slide` class.
#' @param title_slide_background_color Title Slide Background Color. Defaults to `inverse_background_color`. Modifies the `.title-slide` class. #' @param title_slide_background_color Title Slide Background Color. Defaults to `inverse_background_color`. Modifies the `.title-slide` class.
#' @param title_slide_background_image Title Slide Background Image URL. Defaults to NA. Modifies the `.title-slide` class.
#' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the `.title-slide` class.
#' @param title_slide_background_position Title Slide Background Image Position. Defaults to NA. Modifies the `.title-slide` class.
#' @param footnote_color Footnote text color (if `NA`, then it will be the same color as `text_color`). Defaults to NA. Modifies the `.footnote` class.
#' @param title_slide_background_image Title Slide Background Image URL. Defaults to `NULL`. Modifies the `.title-slide` class.
#' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to `NULL`. Modifies the `.title-slide` class.
#' @param title_slide_background_position Title Slide Background Image Position. Defaults to `NULL`. Modifies the `.title-slide` class.
#' @param footnote_color Footnote text color (if `NA`, then it will be the same color as `text_color`). Defaults to `NULL`. Modifies the `.footnote` class.
#' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies the `.footnote` class. #' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies the `.footnote` class.
#' @param footnote_position_bottom Footnote location from bottom of screen. Defaults to 3em. Modifies the `.footnote` class. #' @param footnote_position_bottom Footnote location from bottom of screen. Defaults to 3em. Modifies the `.footnote` class.
#' @param left_column_subtle_color Left Column Text (not last). Defaults to `apply_alpha(base_color, 0.6)`. Modifies the `.left-column h2, .left-column h3` classes. #' @param left_column_subtle_color Left Column Text (not last). Defaults to `apply_alpha(base_color, 0.6)`. Modifies the `.left-column h2, .left-column h3` classes.
text_bold_color = base_color, text_bold_color = base_color,
text_slide_number_color = base_color, text_slide_number_color = base_color,
padding = "1em 4em 1em 4em", padding = "1em 4em 1em 4em",
background_image = NA,
background_size = NA,
background_position = NA,
background_image = NULL,
background_size = NULL,
background_position = NULL,
code_highlight_color = "rgba(255,255,0,0.5)", code_highlight_color = "rgba(255,255,0,0.5)",
code_inline_color = base_color, code_inline_color = base_color,
code_inline_background_color = NA,
code_inline_background_color = NULL,
code_inline_font_size = "1em", code_inline_font_size = "1em",
inverse_background_color = base_color, inverse_background_color = base_color,
inverse_text_color = black_color, inverse_text_color = black_color,
inverse_header_color = black_color, inverse_header_color = black_color,
title_slide_text_color = inverse_text_color, title_slide_text_color = inverse_text_color,
title_slide_background_color = inverse_background_color, title_slide_background_color = inverse_background_color,
title_slide_background_image = NA,
title_slide_background_size = NA,
title_slide_background_position = NA,
footnote_color = NA,
title_slide_background_image = NULL,
title_slide_background_size = NULL,
title_slide_background_position = NULL,
footnote_color = NULL,
footnote_font_size = "0.9em", footnote_font_size = "0.9em",
footnote_position_bottom = "3em", footnote_position_bottom = "3em",
left_column_subtle_color = apply_alpha(base_color, 0.6), left_column_subtle_color = apply_alpha(base_color, 0.6),

+ 16
- 16
R/mono_dark.R Ver fichero

#' @param text_bold_color Bold Text Color. Defaults to `base_color`. Modifies the `strong` element. #' @param text_bold_color Bold Text Color. Defaults to `base_color`. Modifies the `strong` element.
#' @param text_slide_number_color Slide Number Color. Defaults to `base_color`. Modifies the `.remark-slide-number` class. #' @param text_slide_number_color Slide Number Color. Defaults to `base_color`. Modifies the `.remark-slide-number` class.
#' @param padding Slide Padding in `top right [bottom left]` format. Defaults to 1em 4em 1em 4em. Modifies the `.remark-slide-content` class. #' @param padding Slide Padding in `top right [bottom left]` format. Defaults to 1em 4em 1em 4em. Modifies the `.remark-slide-content` class.
#' @param background_image Background image applied to each *and every* slide. Set `title_slide_background_image = "none"` to remove the background image from the title slide.. Defaults to NA. Modifies the `.remark-slide-content` class.
#' @param background_size Background image size, requires `background_image` to be set. If `background_image` is set, `background_size` will default to `cover` so the backround fills the screen. If both `background_image` and `background_position` are set, will default to 100 percent.. Defaults to NA. Modifies the `.remark-slide-content` class.
#' @param background_position Background image position, requires `background_image` to be set, and it is recommended to adjust `background_size`.. Defaults to NA. Modifies the `.remark-slide-content` class.
#' @param background_image Background image applied to each *and every* slide. Set `title_slide_background_image = "none"` to remove the background image from the title slide.. Defaults to `NULL`. Modifies the `.remark-slide-content` class.
#' @param background_size Background image size, requires `background_image` to be set. If `background_image` is set, `background_size` will default to `cover` so the backround fills the screen. If both `background_image` and `background_position` are set, will default to 100 percent.. Defaults to `NULL`. Modifies the `.remark-slide-content` class.
#' @param background_position Background image position, requires `background_image` to be set, and it is recommended to adjust `background_size`.. Defaults to `NULL`. Modifies the `.remark-slide-content` class.
#' @param code_highlight_color Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class. #' @param code_highlight_color Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class.
#' @param code_inline_color Inline Code Color. Defaults to `base_color`. Modifies the `.remark-inline-code` class. #' @param code_inline_color Inline Code Color. Defaults to `base_color`. Modifies the `.remark-inline-code` class.
#' @param code_inline_background_color Inline Code Background Color. Defaults to NA. Modifies the `.remark-inline-code` class.
#' @param code_inline_background_color Inline Code Background Color. Defaults to `NULL`. Modifies the `.remark-inline-code` class.
#' @param code_inline_font_size Inline Code Text Font Size. Defaults to 1em. Modifies the `.remark-inline-code` class. #' @param code_inline_font_size Inline Code Text Font Size. Defaults to 1em. Modifies the `.remark-inline-code` class.
#' @param inverse_background_color Inverse Background Color. Defaults to `base_color`. Modifies the `.inverse` class. #' @param inverse_background_color Inverse Background Color. Defaults to `base_color`. Modifies the `.inverse` class.
#' @param inverse_text_color Inverse Text Color. Defaults to `black_color`. Modifies the `.inverse` class. #' @param inverse_text_color Inverse Text Color. Defaults to `black_color`. Modifies the `.inverse` class.
#' @param inverse_header_color Inverse Header Color. Defaults to `black_color`. Modifies the `.inverse h1, .inverse h2, .inverse h3` classes. #' @param inverse_header_color Inverse Header Color. Defaults to `black_color`. Modifies the `.inverse h1, .inverse h2, .inverse h3` classes.
#' @param title_slide_text_color Title Slide Text Color. Defaults to `inverse_text_color`. Modifies the `.title-slide` class. #' @param title_slide_text_color Title Slide Text Color. Defaults to `inverse_text_color`. Modifies the `.title-slide` class.
#' @param title_slide_background_color Title Slide Background Color. Defaults to `inverse_background_color`. Modifies the `.title-slide` class. #' @param title_slide_background_color Title Slide Background Color. Defaults to `inverse_background_color`. Modifies the `.title-slide` class.
#' @param title_slide_background_image Title Slide Background Image URL. Defaults to NA. Modifies the `.title-slide` class.
#' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the `.title-slide` class.
#' @param title_slide_background_position Title Slide Background Image Position. Defaults to NA. Modifies the `.title-slide` class.
#' @param footnote_color Footnote text color (if `NA`, then it will be the same color as `text_color`). Defaults to NA. Modifies the `.footnote` class.
#' @param title_slide_background_image Title Slide Background Image URL. Defaults to `NULL`. Modifies the `.title-slide` class.
#' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to `NULL`. Modifies the `.title-slide` class.
#' @param title_slide_background_position Title Slide Background Image Position. Defaults to `NULL`. Modifies the `.title-slide` class.
#' @param footnote_color Footnote text color (if `NA`, then it will be the same color as `text_color`). Defaults to `NULL`. Modifies the `.footnote` class.
#' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies the `.footnote` class. #' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies the `.footnote` class.
#' @param footnote_position_bottom Footnote location from bottom of screen. Defaults to 3em. Modifies the `.footnote` class. #' @param footnote_position_bottom Footnote location from bottom of screen. Defaults to 3em. Modifies the `.footnote` class.
#' @param left_column_subtle_color Left Column Text (not last). Defaults to `apply_alpha(base_color, 0.6)`. Modifies the `.left-column h2, .left-column h3` classes. #' @param left_column_subtle_color Left Column Text (not last). Defaults to `apply_alpha(base_color, 0.6)`. Modifies the `.left-column h2, .left-column h3` classes.
text_bold_color = base_color, text_bold_color = base_color,
text_slide_number_color = base_color, text_slide_number_color = base_color,
padding = "1em 4em 1em 4em", padding = "1em 4em 1em 4em",
background_image = NA,
background_size = NA,
background_position = NA,
background_image = NULL,
background_size = NULL,
background_position = NULL,
code_highlight_color = "rgba(255,255,0,0.5)", code_highlight_color = "rgba(255,255,0,0.5)",
code_inline_color = base_color, code_inline_color = base_color,
code_inline_background_color = NA,
code_inline_background_color = NULL,
code_inline_font_size = "1em", code_inline_font_size = "1em",
inverse_background_color = base_color, inverse_background_color = base_color,
inverse_text_color = black_color, inverse_text_color = black_color,
inverse_header_color = black_color, inverse_header_color = black_color,
title_slide_text_color = inverse_text_color, title_slide_text_color = inverse_text_color,
title_slide_background_color = inverse_background_color, title_slide_background_color = inverse_background_color,
title_slide_background_image = NA,
title_slide_background_size = NA,
title_slide_background_position = NA,
footnote_color = NA,
title_slide_background_image = NULL,
title_slide_background_size = NULL,
title_slide_background_position = NULL,
footnote_color = NULL,
footnote_font_size = "0.9em", footnote_font_size = "0.9em",
footnote_position_bottom = "3em", footnote_position_bottom = "3em",
left_column_subtle_color = apply_alpha(base_color, 0.6), left_column_subtle_color = apply_alpha(base_color, 0.6),

+ 16
- 16
R/mono_light.R Ver fichero

#' @param text_bold_color Bold Text Color. Defaults to `base_color`. Modifies the `strong` element. #' @param text_bold_color Bold Text Color. Defaults to `base_color`. Modifies the `strong` element.
#' @param text_slide_number_color Slide Number Color. Defaults to `base_color`. Modifies the `.remark-slide-number` class. #' @param text_slide_number_color Slide Number Color. Defaults to `base_color`. Modifies the `.remark-slide-number` class.
#' @param padding Slide Padding in `top right [bottom left]` format. Defaults to 1em 4em 1em 4em. Modifies the `.remark-slide-content` class. #' @param padding Slide Padding in `top right [bottom left]` format. Defaults to 1em 4em 1em 4em. Modifies the `.remark-slide-content` class.
#' @param background_image Background image applied to each *and every* slide. Set `title_slide_background_image = "none"` to remove the background image from the title slide.. Defaults to NA. Modifies the `.remark-slide-content` class.
#' @param background_size Background image size, requires `background_image` to be set. If `background_image` is set, `background_size` will default to `cover` so the backround fills the screen. If both `background_image` and `background_position` are set, will default to 100 percent.. Defaults to NA. Modifies the `.remark-slide-content` class.
#' @param background_position Background image position, requires `background_image` to be set, and it is recommended to adjust `background_size`.. Defaults to NA. Modifies the `.remark-slide-content` class.
#' @param background_image Background image applied to each *and every* slide. Set `title_slide_background_image = "none"` to remove the background image from the title slide.. Defaults to `NULL`. Modifies the `.remark-slide-content` class.
#' @param background_size Background image size, requires `background_image` to be set. If `background_image` is set, `background_size` will default to `cover` so the backround fills the screen. If both `background_image` and `background_position` are set, will default to 100 percent.. Defaults to `NULL`. Modifies the `.remark-slide-content` class.
#' @param background_position Background image position, requires `background_image` to be set, and it is recommended to adjust `background_size`.. Defaults to `NULL`. Modifies the `.remark-slide-content` class.
#' @param code_highlight_color Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class. #' @param code_highlight_color Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class.
#' @param code_inline_color Inline Code Color. Defaults to `base_color`. Modifies the `.remark-inline-code` class. #' @param code_inline_color Inline Code Color. Defaults to `base_color`. Modifies the `.remark-inline-code` class.
#' @param code_inline_background_color Inline Code Background Color. Defaults to NA. Modifies the `.remark-inline-code` class.
#' @param code_inline_background_color Inline Code Background Color. Defaults to `NULL`. Modifies the `.remark-inline-code` class.
#' @param code_inline_font_size Inline Code Text Font Size. Defaults to 1em. Modifies the `.remark-inline-code` class. #' @param code_inline_font_size Inline Code Text Font Size. Defaults to 1em. Modifies the `.remark-inline-code` class.
#' @param inverse_background_color Inverse Background Color. Defaults to `base_color`. Modifies the `.inverse` class. #' @param inverse_background_color Inverse Background Color. Defaults to `base_color`. Modifies the `.inverse` class.
#' @param inverse_text_color Inverse Text Color. Defaults to `white_color`. Modifies the `.inverse` class. #' @param inverse_text_color Inverse Text Color. Defaults to `white_color`. Modifies the `.inverse` class.
#' @param inverse_header_color Inverse Header Color. Defaults to `white_color`. Modifies the `.inverse h1, .inverse h2, .inverse h3` classes. #' @param inverse_header_color Inverse Header Color. Defaults to `white_color`. Modifies the `.inverse h1, .inverse h2, .inverse h3` classes.
#' @param title_slide_text_color Title Slide Text Color. Defaults to `inverse_text_color`. Modifies the `.title-slide` class. #' @param title_slide_text_color Title Slide Text Color. Defaults to `inverse_text_color`. Modifies the `.title-slide` class.
#' @param title_slide_background_color Title Slide Background Color. Defaults to `inverse_background_color`. Modifies the `.title-slide` class. #' @param title_slide_background_color Title Slide Background Color. Defaults to `inverse_background_color`. Modifies the `.title-slide` class.
#' @param title_slide_background_image Title Slide Background Image URL. Defaults to NA. Modifies the `.title-slide` class.
#' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the `.title-slide` class.
#' @param title_slide_background_position Title Slide Background Image Position. Defaults to NA. Modifies the `.title-slide` class.
#' @param footnote_color Footnote text color (if `NA`, then it will be the same color as `text_color`). Defaults to NA. Modifies the `.footnote` class.
#' @param title_slide_background_image Title Slide Background Image URL. Defaults to `NULL`. Modifies the `.title-slide` class.
#' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to `NULL`. Modifies the `.title-slide` class.
#' @param title_slide_background_position Title Slide Background Image Position. Defaults to `NULL`. Modifies the `.title-slide` class.
#' @param footnote_color Footnote text color (if `NA`, then it will be the same color as `text_color`). Defaults to `NULL`. Modifies the `.footnote` class.
#' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies the `.footnote` class. #' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies the `.footnote` class.
#' @param footnote_position_bottom Footnote location from bottom of screen. Defaults to 3em. Modifies the `.footnote` class. #' @param footnote_position_bottom Footnote location from bottom of screen. Defaults to 3em. Modifies the `.footnote` class.
#' @param left_column_subtle_color Left Column Text (not last). Defaults to `apply_alpha(base_color, 0.6)`. Modifies the `.left-column h2, .left-column h3` classes. #' @param left_column_subtle_color Left Column Text (not last). Defaults to `apply_alpha(base_color, 0.6)`. Modifies the `.left-column h2, .left-column h3` classes.
text_bold_color = base_color, text_bold_color = base_color,
text_slide_number_color = base_color, text_slide_number_color = base_color,
padding = "1em 4em 1em 4em", padding = "1em 4em 1em 4em",
background_image = NA,
background_size = NA,
background_position = NA,
background_image = NULL,
background_size = NULL,
background_position = NULL,
code_highlight_color = "rgba(255,255,0,0.5)", code_highlight_color = "rgba(255,255,0,0.5)",
code_inline_color = base_color, code_inline_color = base_color,
code_inline_background_color = NA,
code_inline_background_color = NULL,
code_inline_font_size = "1em", code_inline_font_size = "1em",
inverse_background_color = base_color, inverse_background_color = base_color,
inverse_text_color = white_color, inverse_text_color = white_color,
inverse_header_color = white_color, inverse_header_color = white_color,
title_slide_text_color = inverse_text_color, title_slide_text_color = inverse_text_color,
title_slide_background_color = inverse_background_color, title_slide_background_color = inverse_background_color,
title_slide_background_image = NA,
title_slide_background_size = NA,
title_slide_background_position = NA,
footnote_color = NA,
title_slide_background_image = NULL,
title_slide_background_size = NULL,
title_slide_background_position = NULL,
footnote_color = NULL,
footnote_font_size = "0.9em", footnote_font_size = "0.9em",
footnote_position_bottom = "3em", footnote_position_bottom = "3em",
left_column_subtle_color = apply_alpha(base_color, 0.6), left_column_subtle_color = apply_alpha(base_color, 0.6),

+ 16
- 16
R/solarized_dark.R Ver fichero

#' @param text_bold_color Bold Text Color. Defaults to #d33682. Modifies the `strong` element. #' @param text_bold_color Bold Text Color. Defaults to #d33682. Modifies the `strong` element.
#' @param text_slide_number_color Slide Number Color. Defaults to #586e75. Modifies the `.remark-slide-number` class. #' @param text_slide_number_color Slide Number Color. Defaults to #586e75. Modifies the `.remark-slide-number` class.
#' @param padding Slide Padding in `top right [bottom left]` format. Defaults to 1em 4em 1em 4em. Modifies the `.remark-slide-content` class. #' @param padding Slide Padding in `top right [bottom left]` format. Defaults to 1em 4em 1em 4em. Modifies the `.remark-slide-content` class.
#' @param background_image Background image applied to each *and every* slide. Set `title_slide_background_image = "none"` to remove the background image from the title slide.. Defaults to NA. Modifies the `.remark-slide-content` class.
#' @param background_size Background image size, requires `background_image` to be set. If `background_image` is set, `background_size` will default to `cover` so the backround fills the screen. If both `background_image` and `background_position` are set, will default to 100 percent.. Defaults to NA. Modifies the `.remark-slide-content` class.
#' @param background_position Background image position, requires `background_image` to be set, and it is recommended to adjust `background_size`.. Defaults to NA. Modifies the `.remark-slide-content` class.
#' @param background_image Background image applied to each *and every* slide. Set `title_slide_background_image = "none"` to remove the background image from the title slide.. Defaults to `NULL`. Modifies the `.remark-slide-content` class.
#' @param background_size Background image size, requires `background_image` to be set. If `background_image` is set, `background_size` will default to `cover` so the backround fills the screen. If both `background_image` and `background_position` are set, will default to 100 percent.. Defaults to `NULL`. Modifies the `.remark-slide-content` class.
#' @param background_position Background image position, requires `background_image` to be set, and it is recommended to adjust `background_size`.. Defaults to `NULL`. Modifies the `.remark-slide-content` class.
#' @param code_highlight_color Code Line Highlight. Defaults to #268bd240. Modifies the `.remark-code-line-highlighted` class. #' @param code_highlight_color Code Line Highlight. Defaults to #268bd240. Modifies the `.remark-code-line-highlighted` class.
#' @param code_inline_color Inline Code Color. Defaults to #6c71c4. Modifies the `.remark-inline-code` class. #' @param code_inline_color Inline Code Color. Defaults to #6c71c4. Modifies the `.remark-inline-code` class.
#' @param code_inline_background_color Inline Code Background Color. Defaults to NA. Modifies the `.remark-inline-code` class.
#' @param code_inline_background_color Inline Code Background Color. Defaults to `NULL`. Modifies the `.remark-inline-code` class.
#' @param code_inline_font_size Inline Code Text Font Size. Defaults to 1em. Modifies the `.remark-inline-code` class. #' @param code_inline_font_size Inline Code Text Font Size. Defaults to 1em. Modifies the `.remark-inline-code` class.
#' @param inverse_background_color Inverse Background Color. Defaults to #fdf6e3. Modifies the `.inverse` class. #' @param inverse_background_color Inverse Background Color. Defaults to #fdf6e3. Modifies the `.inverse` class.
#' @param inverse_text_color Inverse Text Color. Defaults to #002b36. Modifies the `.inverse` class. #' @param inverse_text_color Inverse Text Color. Defaults to #002b36. Modifies the `.inverse` class.
#' @param inverse_header_color Inverse Header Color. Defaults to `inverse_text_color`. Modifies the `.inverse h1, .inverse h2, .inverse h3` classes. #' @param inverse_header_color Inverse Header Color. Defaults to `inverse_text_color`. Modifies the `.inverse h1, .inverse h2, .inverse h3` classes.
#' @param title_slide_text_color Title Slide Text Color. Defaults to `inverse_text_color`. Modifies the `.title-slide` class. #' @param title_slide_text_color Title Slide Text Color. Defaults to `inverse_text_color`. Modifies the `.title-slide` class.
#' @param title_slide_background_color Title Slide Background Color. Defaults to `inverse_background_color`. Modifies the `.title-slide` class. #' @param title_slide_background_color Title Slide Background Color. Defaults to `inverse_background_color`. Modifies the `.title-slide` class.
#' @param title_slide_background_image Title Slide Background Image URL. Defaults to NA. Modifies the `.title-slide` class.
#' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the `.title-slide` class.
#' @param title_slide_background_position Title Slide Background Image Position. Defaults to NA. Modifies the `.title-slide` class.
#' @param footnote_color Footnote text color (if `NA`, then it will be the same color as `text_color`). Defaults to NA. Modifies the `.footnote` class.
#' @param title_slide_background_image Title Slide Background Image URL. Defaults to `NULL`. Modifies the `.title-slide` class.
#' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to `NULL`. Modifies the `.title-slide` class.
#' @param title_slide_background_position Title Slide Background Image Position. Defaults to `NULL`. Modifies the `.title-slide` class.
#' @param footnote_color Footnote text color (if `NA`, then it will be the same color as `text_color`). Defaults to `NULL`. Modifies the `.footnote` class.
#' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies the `.footnote` class. #' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies the `.footnote` class.
#' @param footnote_position_bottom Footnote location from bottom of screen. Defaults to 3em. Modifies the `.footnote` class. #' @param footnote_position_bottom Footnote location from bottom of screen. Defaults to 3em. Modifies the `.footnote` class.
#' @param left_column_subtle_color Left Column Text (not last). Defaults to #586e75. Modifies the `.left-column h2, .left-column h3` classes. #' @param left_column_subtle_color Left Column Text (not last). Defaults to #586e75. Modifies the `.left-column h2, .left-column h3` classes.
text_bold_color = "#d33682", text_bold_color = "#d33682",
text_slide_number_color = "#586e75", text_slide_number_color = "#586e75",
padding = "1em 4em 1em 4em", padding = "1em 4em 1em 4em",
background_image = NA,
background_size = NA,
background_position = NA,
background_image = NULL,
background_size = NULL,
background_position = NULL,
code_highlight_color = "#268bd240", code_highlight_color = "#268bd240",
code_inline_color = "#6c71c4", code_inline_color = "#6c71c4",
code_inline_background_color = NA,
code_inline_background_color = NULL,
code_inline_font_size = "1em", code_inline_font_size = "1em",
inverse_background_color = "#fdf6e3", inverse_background_color = "#fdf6e3",
inverse_text_color = "#002b36", inverse_text_color = "#002b36",
inverse_header_color = inverse_text_color, inverse_header_color = inverse_text_color,
title_slide_text_color = inverse_text_color, title_slide_text_color = inverse_text_color,
title_slide_background_color = inverse_background_color, title_slide_background_color = inverse_background_color,
title_slide_background_image = NA,
title_slide_background_size = NA,
title_slide_background_position = NA,
footnote_color = NA,
title_slide_background_image = NULL,
title_slide_background_size = NULL,
title_slide_background_position = NULL,
footnote_color = NULL,
footnote_font_size = "0.9em", footnote_font_size = "0.9em",
footnote_position_bottom = "3em", footnote_position_bottom = "3em",
left_column_subtle_color = "#586e75", left_column_subtle_color = "#586e75",

+ 16
- 16
R/solarized_light.R Ver fichero

#' @param text_bold_color Bold Text Color. Defaults to #d33682. Modifies the `strong` element. #' @param text_bold_color Bold Text Color. Defaults to #d33682. Modifies the `strong` element.
#' @param text_slide_number_color Slide Number Color. Defaults to #93a1a1. Modifies the `.remark-slide-number` class. #' @param text_slide_number_color Slide Number Color. Defaults to #93a1a1. Modifies the `.remark-slide-number` class.
#' @param padding Slide Padding in `top right [bottom left]` format. Defaults to 1em 4em 1em 4em. Modifies the `.remark-slide-content` class. #' @param padding Slide Padding in `top right [bottom left]` format. Defaults to 1em 4em 1em 4em. Modifies the `.remark-slide-content` class.
#' @param background_image Background image applied to each *and every* slide. Set `title_slide_background_image = "none"` to remove the background image from the title slide.. Defaults to NA. Modifies the `.remark-slide-content` class.
#' @param background_size Background image size, requires `background_image` to be set. If `background_image` is set, `background_size` will default to `cover` so the backround fills the screen. If both `background_image` and `background_position` are set, will default to 100 percent.. Defaults to NA. Modifies the `.remark-slide-content` class.
#' @param background_position Background image position, requires `background_image` to be set, and it is recommended to adjust `background_size`.. Defaults to NA. Modifies the `.remark-slide-content` class.
#' @param background_image Background image applied to each *and every* slide. Set `title_slide_background_image = "none"` to remove the background image from the title slide.. Defaults to `NULL`. Modifies the `.remark-slide-content` class.
#' @param background_size Background image size, requires `background_image` to be set. If `background_image` is set, `background_size` will default to `cover` so the backround fills the screen. If both `background_image` and `background_position` are set, will default to 100 percent.. Defaults to `NULL`. Modifies the `.remark-slide-content` class.
#' @param background_position Background image position, requires `background_image` to be set, and it is recommended to adjust `background_size`.. Defaults to `NULL`. Modifies the `.remark-slide-content` class.
#' @param code_highlight_color Code Line Highlight. Defaults to #268bd240. Modifies the `.remark-code-line-highlighted` class. #' @param code_highlight_color Code Line Highlight. Defaults to #268bd240. Modifies the `.remark-code-line-highlighted` class.
#' @param code_inline_color Inline Code Color. Defaults to #6c71c4. Modifies the `.remark-inline-code` class. #' @param code_inline_color Inline Code Color. Defaults to #6c71c4. Modifies the `.remark-inline-code` class.
#' @param code_inline_background_color Inline Code Background Color. Defaults to NA. Modifies the `.remark-inline-code` class.
#' @param code_inline_background_color Inline Code Background Color. Defaults to `NULL`. Modifies the `.remark-inline-code` class.
#' @param code_inline_font_size Inline Code Text Font Size. Defaults to 1em. Modifies the `.remark-inline-code` class. #' @param code_inline_font_size Inline Code Text Font Size. Defaults to 1em. Modifies the `.remark-inline-code` class.
#' @param inverse_background_color Inverse Background Color. Defaults to #002b36. Modifies the `.inverse` class. #' @param inverse_background_color Inverse Background Color. Defaults to #002b36. Modifies the `.inverse` class.
#' @param inverse_text_color Inverse Text Color. Defaults to #fdf6e3. Modifies the `.inverse` class. #' @param inverse_text_color Inverse Text Color. Defaults to #fdf6e3. Modifies the `.inverse` class.
#' @param inverse_header_color Inverse Header Color. Defaults to `inverse_text_color`. Modifies the `.inverse h1, .inverse h2, .inverse h3` classes. #' @param inverse_header_color Inverse Header Color. Defaults to `inverse_text_color`. Modifies the `.inverse h1, .inverse h2, .inverse h3` classes.
#' @param title_slide_text_color Title Slide Text Color. Defaults to `inverse_text_color`. Modifies the `.title-slide` class. #' @param title_slide_text_color Title Slide Text Color. Defaults to `inverse_text_color`. Modifies the `.title-slide` class.
#' @param title_slide_background_color Title Slide Background Color. Defaults to `inverse_background_color`. Modifies the `.title-slide` class. #' @param title_slide_background_color Title Slide Background Color. Defaults to `inverse_background_color`. Modifies the `.title-slide` class.
#' @param title_slide_background_image Title Slide Background Image URL. Defaults to NA. Modifies the `.title-slide` class.
#' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the `.title-slide` class.
#' @param title_slide_background_position Title Slide Background Image Position. Defaults to NA. Modifies the `.title-slide` class.
#' @param footnote_color Footnote text color (if `NA`, then it will be the same color as `text_color`). Defaults to NA. Modifies the `.footnote` class.
#' @param title_slide_background_image Title Slide Background Image URL. Defaults to `NULL`. Modifies the `.title-slide` class.
#' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to `NULL`. Modifies the `.title-slide` class.
#' @param title_slide_background_position Title Slide Background Image Position. Defaults to `NULL`. Modifies the `.title-slide` class.
#' @param footnote_color Footnote text color (if `NA`, then it will be the same color as `text_color`). Defaults to `NULL`. Modifies the `.footnote` class.
#' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies the `.footnote` class. #' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies the `.footnote` class.
#' @param footnote_position_bottom Footnote location from bottom of screen. Defaults to 3em. Modifies the `.footnote` class. #' @param footnote_position_bottom Footnote location from bottom of screen. Defaults to 3em. Modifies the `.footnote` class.
#' @param left_column_subtle_color Left Column Text (not last). Defaults to #93a1a1. Modifies the `.left-column h2, .left-column h3` classes. #' @param left_column_subtle_color Left Column Text (not last). Defaults to #93a1a1. Modifies the `.left-column h2, .left-column h3` classes.
text_bold_color = "#d33682", text_bold_color = "#d33682",
text_slide_number_color = "#93a1a1", text_slide_number_color = "#93a1a1",
padding = "1em 4em 1em 4em", padding = "1em 4em 1em 4em",
background_image = NA,
background_size = NA,
background_position = NA,
background_image = NULL,
background_size = NULL,
background_position = NULL,
code_highlight_color = "#268bd240", code_highlight_color = "#268bd240",
code_inline_color = "#6c71c4", code_inline_color = "#6c71c4",
code_inline_background_color = NA,
code_inline_background_color = NULL,
code_inline_font_size = "1em", code_inline_font_size = "1em",
inverse_background_color = "#002b36", inverse_background_color = "#002b36",
inverse_text_color = "#fdf6e3", inverse_text_color = "#fdf6e3",
inverse_header_color = inverse_text_color, inverse_header_color = inverse_text_color,
title_slide_text_color = inverse_text_color, title_slide_text_color = inverse_text_color,
title_slide_background_color = inverse_background_color, title_slide_background_color = inverse_background_color,
title_slide_background_image = NA,
title_slide_background_size = NA,
title_slide_background_position = NA,
footnote_color = NA,
title_slide_background_image = NULL,
title_slide_background_size = NULL,
title_slide_background_position = NULL,
footnote_color = NULL,
footnote_font_size = "0.9em", footnote_font_size = "0.9em",
footnote_position_bottom = "3em", footnote_position_bottom = "3em",
left_column_subtle_color = "#93a1a1", left_column_subtle_color = "#93a1a1",

+ 9
- 9
R/theme_settings.R Ver fichero

, "header_color", "#000", "h1, h2, h3", "Header Color" , "header_color", "#000", "h1, h2, h3", "Header Color"
, "background_color", "#FFF", ".remark-slide-content", "Slide Background Color" , "background_color", "#FFF", ".remark-slide-content", "Slide Background Color"
, "link_color", "rgb(249, 38, 114)", "a, a > code", "Link Color" , "link_color", "rgb(249, 38, 114)", "a, a > code", "Link Color"
, "text_bold_color", NA_character_, "strong", "Bold Text Color"
, "text_bold_color", NULL, "strong", "Bold Text Color"
, "text_slide_number_color", "{inverse_background_color}", ".remark-slide-number", "Slide Number Color" , "text_slide_number_color", "{inverse_background_color}", ".remark-slide-number", "Slide Number Color"
, "padding", "1em 4em 1em 4em", ".remark-slide-content", "Slide Padding in `top right [bottom left]` format" , "padding", "1em 4em 1em 4em", ".remark-slide-content", "Slide Padding in `top right [bottom left]` format"
, "background_image", NA_character_, ".remark-slide-content", "Background image applied to each *and every* slide. Set `title_slide_background_image = \"none\"` to remove the background image from the title slide."
, "background_size", NA_character_, ".remark-slide-content", "Background image size, requires `background_image` to be set. If `background_image` is set, `background_size` will default to `cover` so the backround fills the screen. If both `background_image` and `background_position` are set, will default to 100 percent."
, "background_position", NA_character_, ".remark-slide-content", "Background image position, requires `background_image` to be set, and it is recommended to adjust `background_size`."
, "background_image", NULL, ".remark-slide-content", "Background image applied to each *and every* slide. Set `title_slide_background_image = \"none\"` to remove the background image from the title slide."
, "background_size", NULL, ".remark-slide-content", "Background image size, requires `background_image` to be set. If `background_image` is set, `background_size` will default to `cover` so the backround fills the screen. If both `background_image` and `background_position` are set, will default to 100 percent."
, "background_position", NULL, ".remark-slide-content", "Background image position, requires `background_image` to be set, and it is recommended to adjust `background_size`."
, "code_highlight_color", "rgba(255,255,0,0.5)", ".remark-code-line-highlighted", "Code Line Highlight" , "code_highlight_color", "rgba(255,255,0,0.5)", ".remark-code-line-highlighted", "Code Line Highlight"
, "code_inline_color", "#000", ".remark-inline-code", "Inline Code Color" , "code_inline_color", "#000", ".remark-inline-code", "Inline Code Color"
, "code_inline_background_color", NA_character_, ".remark-inline-code", "Inline Code Background Color"
, "code_inline_background_color", NULL, ".remark-inline-code", "Inline Code Background Color"
, "code_inline_font_size", "1em", ".remark-inline-code", "Inline Code Text Font Size" , "code_inline_font_size", "1em", ".remark-inline-code", "Inline Code Text Font Size"
, "inverse_background_color", "#272822", ".inverse", "Inverse Background Color" , "inverse_background_color", "#272822", ".inverse", "Inverse Background Color"
, "inverse_text_color", "#d6d6d6", ".inverse", "Inverse Text Color" , "inverse_text_color", "#d6d6d6", ".inverse", "Inverse Text Color"
, "inverse_header_color", "#f3f3f3", ".inverse h1, .inverse h2, .inverse h3", "Inverse Header Color" , "inverse_header_color", "#f3f3f3", ".inverse h1, .inverse h2, .inverse h3", "Inverse Header Color"
, "title_slide_text_color", "{inverse_text_color}", ".title-slide", "Title Slide Text Color" , "title_slide_text_color", "{inverse_text_color}", ".title-slide", "Title Slide Text Color"
, "title_slide_background_color", "{inverse_background_color}", ".title-slide", "Title Slide Background Color" , "title_slide_background_color", "{inverse_background_color}", ".title-slide", "Title Slide Background Color"
, "title_slide_background_image", NA_character_, ".title-slide", "Title Slide Background Image URL"
, "title_slide_background_size", NA_character_, ".title-slide", "Title Slide Background Image Size, defaults to \"cover\" if background image is set"
, "title_slide_background_position", NA_character_, ".title-slide", "Title Slide Background Image Position"
, "footnote_color", NA_character_, ".footnote", "Footnote text color (if `NA`, then it will be the same color as `text_color`)"
, "title_slide_background_image", NULL, ".title-slide", "Title Slide Background Image URL"
, "title_slide_background_size", NULL, ".title-slide", "Title Slide Background Image Size, defaults to \"cover\" if background image is set"
, "title_slide_background_position", NULL, ".title-slide", "Title Slide Background Image Position"
, "footnote_color", NULL, ".footnote", "Footnote text color (if `NA`, then it will be the same color as `text_color`)"
, "footnote_font_size", "0.9em", ".footnote", "Footnote font size" , "footnote_font_size", "0.9em", ".footnote", "Footnote font size"
, "footnote_position_bottom", "3em", ".footnote", "Footnote location from bottom of screen" , "footnote_position_bottom", "3em", ".footnote", "Footnote location from bottom of screen"
, "left_column_subtle_color", "#777", ".left-column h2, .left-column h3", "Left Column Text (not last)" , "left_column_subtle_color", "#777", ".left-column h2, .left-column h3", "Left Column Text (not last)"

+ 2
- 0
R/utils.R Ver fichero

`%||%` <- function(x, y) if (is.null(x)) y else x `%||%` <- function(x, y) if (is.null(x)) y else x


`%??%` <- function(x, y) if (!is.null(x)) y else NULL

#' @title Generate lighter or darker version of a color #' @title Generate lighter or darker version of a color
#' @description Produces a linear blend of the color with white or black. #' @description Produces a linear blend of the color with white or black.
#' @param color_hex A character string representing a hex color #' @param color_hex A character string representing a hex color

+ 34
- 27
R/write_theme.R Ver fichero

#' @param header_color Header Color. Defaults to #000. Modifies the `h1, h2, h3` elements. #' @param header_color Header Color. Defaults to #000. Modifies the `h1, h2, h3` elements.
#' @param background_color Slide Background Color. Defaults to #FFF. Modifies the `.remark-slide-content` class. #' @param background_color Slide Background Color. Defaults to #FFF. Modifies the `.remark-slide-content` class.
#' @param link_color Link Color. Defaults to rgb(249, 38, 114). Modifies the `a, a > code` elements. #' @param link_color Link Color. Defaults to rgb(249, 38, 114). Modifies the `a, a > code` elements.
#' @param text_bold_color Bold Text Color. Defaults to NA. Modifies the `strong` element.
#' @param text_bold_color Bold Text Color. Defaults to `NULL`. Modifies the `strong` element.
#' @param text_slide_number_color Slide Number Color. Defaults to `inverse_background_color`. Modifies the `.remark-slide-number` class. #' @param text_slide_number_color Slide Number Color. Defaults to `inverse_background_color`. Modifies the `.remark-slide-number` class.
#' @param padding Slide Padding in `top right [bottom left]` format. Defaults to 1em 4em 1em 4em. Modifies the `.remark-slide-content` class. #' @param padding Slide Padding in `top right [bottom left]` format. Defaults to 1em 4em 1em 4em. Modifies the `.remark-slide-content` class.
#' @param background_image Background image applied to each *and every* slide. Set `title_slide_background_image = "none"` to remove the background image from the title slide.. Defaults to NA. Modifies the `.remark-slide-content` class.
#' @param background_size Background image size, requires `background_image` to be set. If `background_image` is set, `background_size` will default to `cover` so the backround fills the screen. If both `background_image` and `background_position` are set, will default to 100 percent.. Defaults to NA. Modifies the `.remark-slide-content` class.
#' @param background_position Background image position, requires `background_image` to be set, and it is recommended to adjust `background_size`.. Defaults to NA. Modifies the `.remark-slide-content` class.
#' @param background_image Background image applied to each *and every* slide. Set `title_slide_background_image = "none"` to remove the background image from the title slide.. Defaults to `NULL`. Modifies the `.remark-slide-content` class.
#' @param background_size Background image size, requires `background_image` to be set. If `background_image` is set, `background_size` will default to `cover` so the backround fills the screen. If both `background_image` and `background_position` are set, will default to 100 percent.. Defaults to `NULL`. Modifies the `.remark-slide-content` class.
#' @param background_position Background image position, requires `background_image` to be set, and it is recommended to adjust `background_size`.. Defaults to `NULL`. Modifies the `.remark-slide-content` class.
#' @param code_highlight_color Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class. #' @param code_highlight_color Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class.
#' @param code_inline_color Inline Code Color. Defaults to #000. Modifies the `.remark-inline-code` class. #' @param code_inline_color Inline Code Color. Defaults to #000. Modifies the `.remark-inline-code` class.
#' @param code_inline_background_color Inline Code Background Color. Defaults to NA. Modifies the `.remark-inline-code` class.
#' @param code_inline_background_color Inline Code Background Color. Defaults to `NULL`. Modifies the `.remark-inline-code` class.
#' @param code_inline_font_size Inline Code Text Font Size. Defaults to 1em. Modifies the `.remark-inline-code` class. #' @param code_inline_font_size Inline Code Text Font Size. Defaults to 1em. Modifies the `.remark-inline-code` class.
#' @param inverse_background_color Inverse Background Color. Defaults to #272822. Modifies the `.inverse` class. #' @param inverse_background_color Inverse Background Color. Defaults to #272822. Modifies the `.inverse` class.
#' @param inverse_text_color Inverse Text Color. Defaults to #d6d6d6. Modifies the `.inverse` class. #' @param inverse_text_color Inverse Text Color. Defaults to #d6d6d6. Modifies the `.inverse` class.
#' @param inverse_header_color Inverse Header Color. Defaults to #f3f3f3. Modifies the `.inverse h1, .inverse h2, .inverse h3` classes. #' @param inverse_header_color Inverse Header Color. Defaults to #f3f3f3. Modifies the `.inverse h1, .inverse h2, .inverse h3` classes.
#' @param title_slide_text_color Title Slide Text Color. Defaults to `inverse_text_color`. Modifies the `.title-slide` class. #' @param title_slide_text_color Title Slide Text Color. Defaults to `inverse_text_color`. Modifies the `.title-slide` class.
#' @param title_slide_background_color Title Slide Background Color. Defaults to `inverse_background_color`. Modifies the `.title-slide` class. #' @param title_slide_background_color Title Slide Background Color. Defaults to `inverse_background_color`. Modifies the `.title-slide` class.
#' @param title_slide_background_image Title Slide Background Image URL. Defaults to NA. Modifies the `.title-slide` class.
#' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the `.title-slide` class.
#' @param title_slide_background_position Title Slide Background Image Position. Defaults to NA. Modifies the `.title-slide` class.
#' @param footnote_color Footnote text color (if `NA`, then it will be the same color as `text_color`). Defaults to NA. Modifies the `.footnote` class.
#' @param title_slide_background_image Title Slide Background Image URL. Defaults to `NULL`. Modifies the `.title-slide` class.
#' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to `NULL`. Modifies the `.title-slide` class.
#' @param title_slide_background_position Title Slide Background Image Position. Defaults to `NULL`. Modifies the `.title-slide` class.
#' @param footnote_color Footnote text color (if `NA`, then it will be the same color as `text_color`). Defaults to `NULL`. Modifies the `.footnote` class.
#' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies the `.footnote` class. #' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies the `.footnote` class.
#' @param footnote_position_bottom Footnote location from bottom of screen. Defaults to 3em. Modifies the `.footnote` class. #' @param footnote_position_bottom Footnote location from bottom of screen. Defaults to 3em. Modifies the `.footnote` class.
#' @param left_column_subtle_color Left Column Text (not last). Defaults to #777. Modifies the `.left-column h2, .left-column h3` classes. #' @param left_column_subtle_color Left Column Text (not last). Defaults to #777. Modifies the `.left-column h2, .left-column h3` classes.
header_color = "#000", header_color = "#000",
background_color = "#FFF", background_color = "#FFF",
link_color = "rgb(249, 38, 114)", link_color = "rgb(249, 38, 114)",
text_bold_color = NA,
text_bold_color = NULL,
text_slide_number_color = inverse_background_color, text_slide_number_color = inverse_background_color,
padding = "1em 4em 1em 4em", padding = "1em 4em 1em 4em",
background_image = NA,
background_size = NA,
background_position = NA,
background_image = NULL,
background_size = NULL,
background_position = NULL,
code_highlight_color = "rgba(255,255,0,0.5)", code_highlight_color = "rgba(255,255,0,0.5)",
code_inline_color = "#000", code_inline_color = "#000",
code_inline_background_color = NA,
code_inline_background_color = NULL,
code_inline_font_size = "1em", code_inline_font_size = "1em",
inverse_background_color = "#272822", inverse_background_color = "#272822",
inverse_text_color = "#d6d6d6", inverse_text_color = "#d6d6d6",
inverse_header_color = "#f3f3f3", inverse_header_color = "#f3f3f3",
title_slide_text_color = inverse_text_color, title_slide_text_color = inverse_text_color,
title_slide_background_color = inverse_background_color, title_slide_background_color = inverse_background_color,
title_slide_background_image = NA,
title_slide_background_size = NA,
title_slide_background_position = NA,
footnote_color = NA,
title_slide_background_image = NULL,
title_slide_background_size = NULL,
title_slide_background_position = NULL,
footnote_color = NULL,
footnote_font_size = "0.9em", footnote_font_size = "0.9em",
footnote_position_bottom = "3em", footnote_position_bottom = "3em",
left_column_subtle_color = "#777", left_column_subtle_color = "#777",
} }
} }
# Handle background-image defaults
if (!is.na(background_image)) {
if (is.na(background_size)) background_size <- ifelse(
is.na(background_position),
"cover",
"100%"
)
extra_font_imports <- if (is.null(extra_fonts)) "" else list2fonts(extra_fonts)
# convert NA arguments to NULL
for (var in f_args) {
val <- eval(parse(text = var))
if (is.null(val)) next
is_na <- is.na(val)
if (is_na) assign(var, NULL)
} }
extra_font_imports <- if (is.null(extra_fonts)) "" else list2fonts(extra_fonts)
# prepare variables for template
backround_size_fallback <- if (is.null(background_position)) "cover" else "100%"
background_size <- background_image %??% (background_size %||% background_size_fallback)
title_slide_background_size <- title_slide_background_size %||% (
title_slide_background_image %??% "cover"
)
table_row_even_background_color <- table_row_even_background_color %||% background_color
tf <- system.file("resources", "template.css", package = "xaringanthemer") tf <- system.file("resources", "template.css", package = "xaringanthemer")
template <- readLines(tf, warn = FALSE) template <- readLines(tf, warn = FALSE)
template <- paste(template, collapse = "\n") template <- paste(template, collapse = "\n")
x <- glue::glue(template, .open = "{{", .close = "}}")
x <- whisker::whisker.render(template)
writeLines(x, con = outfile) writeLines(x, con = outfile)
if (!is.null(extra_css)) write_extra_css(extra_css, outfile) if (!is.null(extra_css)) write_extra_css(extra_css, outfile)
outfile outfile

+ 30
- 18
inst/resources/template.css Ver fichero

@import url({{text_font_url}}); @import url({{text_font_url}});
@import url({{header_font_url}}); @import url({{header_font_url}});
@import url({{code_font_url}}); @import url({{code_font_url}});
{{extra_font_imports}}
{{#extra_font_imports}}{{extra_font_imports}}{{/extra_font_imports}}


body { body {
font-family: {{paste(text_font_family, text_font_family_fallback, text_font_base, sep = ", ")}};
font-family: {{body_font_family}};
font-weight: {{text_font_weight}}; font-weight: {{text_font_weight}};
color: {{text_color}}; color: {{text_color}};
} }
.remark-slide-content { .remark-slide-content {
background-color: {{background_color}}; background-color: {{background_color}};
font-size: {{text_font_size}}; font-size: {{text_font_size}};
{{ifelse(!is.na(background_image), paste0("background-image: url(", background_image, ");"), "")}}
{{ifelse(!is.na(background_image) && !is.na(background_size), paste0("background-size: ", background_size, ";"), "")}}
{{ifelse(!is.na(background_image) && !is.na(background_position), paste0("background-position: ", background_position, ";"), "")}}
{{#background_image}}
background-image: url({{background_image}});
{{#background_size}}background-size: {{background_size}};{{/background_size}}
{{#background_position}}background-position: {{background_position}};{{/background_position}}
{{/background_image}}
padding: {{padding}}; padding: {{padding}};
} }
.remark-slide-content h1 { .remark-slide-content h1 {
font-size: {{code_font_size}}; font-size: {{code_font_size}};
} }
.remark-inline-code { .remark-inline-code {
{{#code_inline_color}}color: {{code_inline_color}};{{/code_inline_color}}
{{#code_inline_background_color}}
background-color: {{code_inline_background_color}};
padding: 2px;
{{/code_inline_background_color}}
font-size: {{code_inline_font_size}}; font-size: {{code_inline_font_size}};
{{ifelse(!is.na(code_inline_color), paste0("color: ", code_inline_color, ";"), "")}}
{{ifelse(!is.na(code_inline_background_color), paste0("background-color: ", code_inline_background_color, ";"), "")}}
{{ifelse(!is.na(code_inline_background_color), "padding: 2px;", "")}}
} }
.remark-slide-number { .remark-slide-number {
color: {{text_slide_number_color}}; color: {{text_slide_number_color}};
opacity: 1; opacity: 1;
font-size: {{text_slide_number_font_size}}; font-size: {{text_slide_number_font_size}};
} }
{{ifelse(!is.na(text_bold_color), paste0("strong{color:", text_bold_color,";}"), "")}}
{{#text_bold_color}}
strong { color: {{text_bold_color}}; }
{{/text_bold_color}}
a, a > code { a, a > code {
color: {{link_color}}; color: {{link_color}};
text-decoration: none; text-decoration: none;
} }
.footnote { .footnote {
{{ifelse(!is.na(footnote_color), paste0("color: ", footnote_color, ";"), "")}}
{{#footnote_color}}color: {{footnote_color}};{{/footnote_color}}
position: absolute; position: absolute;
bottom: {{footnote_position_bottom}}; bottom: {{footnote_position_bottom}};
padding-right: 4em; padding-right: 4em;
.inverse { .inverse {
background-color: {{inverse_background_color}}; background-color: {{inverse_background_color}};
color: {{inverse_text_color}}; color: {{inverse_text_color}};
{{ifelse(inverse_text_shadow, "text-shadow: 0 0 20px #333;", "")}}
{{#inverse_text_shadow}}text-shadow: 0 0 20px #333;{{/inverse_text_shadow}}
} }
.inverse h1, .inverse h2, .inverse h3 { .inverse h1, .inverse h2, .inverse h3 {
color: {{inverse_header_color}}; color: {{inverse_header_color}};
} }
.title-slide { .title-slide {
background-color: {{title_slide_background_color}}; background-color: {{title_slide_background_color}};
{{ifelse(!is.na(title_slide_background_image), paste0("background-image: url(", title_slide_background_image, ");"), "")}}
{{ifelse(!is.na(title_slide_background_size), paste0("background-size: ", title_slide_background_size, ";"), ifelse(!is.na(title_slide_background_image), "background-size: cover;", ""))}}
{{ifelse(!is.na(title_slide_background_position), paste0("background-position: ", title_slide_background_position, ";"), "")}}
{{#title_slide_background_image}}background-image: url("{{title_slide_background_image}}");{{/title_slide_background_image}}
{{#title_slide_background_size}}background-size: {{title_slide_background_size}};{{/title_slide_background_size}}
{{#title_slide_background_position}}background-position: {{title_slide_background_position}};{{/title_slide_background_position}}
} }
.title-slide .remark-slide-number { .title-slide .remark-slide-number {
display: none; display: none;
border-top: 1px solid {{table_border_color}}; border-top: 1px solid {{table_border_color}};
border-bottom: 1px solid {{table_border_color}}; border-bottom: 1px solid {{table_border_color}};
} }
.remark-slide table thead th { border-bottom: 1px solid {{table_row_border_color}}; }
th, td { padding: 5px; }
.remark-slide thead, .remark-slide tfoot, .remark-slide tr:nth-child(even) { background: {{table_row_even_background_color}} }
.remark-slide table thead th {
border-bottom: 1px solid {{table_row_border_color}};
}
th, td {
padding: 5px;
}
.remark-slide thead, .remark-slide tfoot, .remark-slide tr:nth-child(even) {
background: {{table_row_even_background_color}}
}
table.dataTable tbody { table.dataTable tbody {
background-color: {{background_color}}; background-color: {{background_color}};
color: {{text_color}}; color: {{text_color}};
background-color: {{background_color}}; background-color: {{background_color}};
} }
table.dataTable.display tbody tr.even { table.dataTable.display tbody tr.even {
background-color: {{ifelse(!is.na(table_row_even_background_color), table_row_even_background_color, background_color)}};
background-color: {{table_row_even_background_color}}
} }
table.dataTable.hover tbody tr:hover, table.dataTable.display tbody tr:hover { table.dataTable.hover tbody tr:hover, table.dataTable.display tbody tr:hover {
background-color: rgba(255, 255, 255, 0.5); background-color: rgba(255, 255, 255, 0.5);

+ 16
- 9
inst/scripts/write_xaringan_theme_body.R Ver fichero

} }
} }


# Handle background-image defaults
if (!is.na(background_image)) {
if (is.na(background_size)) background_size <- ifelse(
is.na(background_position),
"cover",
"100%"
)
extra_font_imports <- if (is.null(extra_fonts)) "" else list2fonts(extra_fonts)

# convert NA arguments to NULL
for (var in f_args) {
val <- eval(parse(text = var))
if (is.null(val)) next
is_na <- is.na(val)
if (is_na) assign(var, NULL)
} }


extra_font_imports <- if (is.null(extra_fonts)) "" else list2fonts(extra_fonts)
# prepare variables for template
backround_size_fallback <- if (is.null(background_position)) "cover" else "100%"
background_size <- background_image %??% (background_size %||% background_size_fallback)
title_slide_background_size <- title_slide_background_size %||% (
title_slide_background_image %??% "cover"
)
table_row_even_background_color <- table_row_even_background_color %||% background_color


tf <- system.file("resources", "template.css", package = "xaringanthemer") tf <- system.file("resources", "template.css", package = "xaringanthemer")
template <- readLines(tf, warn = FALSE) template <- readLines(tf, warn = FALSE)
template <- paste(template, collapse = "\n") template <- paste(template, collapse = "\n")
x <- glue::glue(template, .open = "{{", .close = "}}")
x <- whisker::whisker.render(template)
writeLines(x, con = outfile) writeLines(x, con = outfile)
if (!is.null(extra_css)) write_extra_css(extra_css, outfile) if (!is.null(extra_css)) write_extra_css(extra_css, outfile)
outfile outfile

+ 14
- 13
man/duo.Rd Ver fichero

header_color = secondary_color, background_color = primary_color, header_color = secondary_color, background_color = primary_color,
link_color = secondary_color, text_bold_color = secondary_color, link_color = secondary_color, text_bold_color = secondary_color,
text_slide_number_color = text_color, padding = "1em 4em 1em 4em", text_slide_number_color = text_color, padding = "1em 4em 1em 4em",
background_image = NA, background_size = NA,
background_position = NA,
background_image = NULL, background_size = NULL,
background_position = NULL,
code_highlight_color = "rgba(255,255,0,0.5)", code_highlight_color = "rgba(255,255,0,0.5)",
code_inline_color = secondary_color, code_inline_color = secondary_color,
code_inline_background_color = NA, code_inline_font_size = "1em",
code_inline_background_color = NULL, code_inline_font_size = "1em",
inverse_background_color = secondary_color, inverse_background_color = secondary_color,
inverse_text_color = primary_color, inverse_text_shadow = FALSE, inverse_text_color = primary_color, inverse_text_shadow = FALSE,
inverse_header_color = primary_color, inverse_header_color = primary_color,
title_slide_text_color = secondary_color, title_slide_text_color = secondary_color,
title_slide_background_color = primary_color, title_slide_background_color = primary_color,
title_slide_background_image = NA, title_slide_background_size = NA,
title_slide_background_position = NA, footnote_color = NA,
title_slide_background_image = NULL,
title_slide_background_size = NULL,
title_slide_background_position = NULL, footnote_color = NULL,
footnote_font_size = "0.9em", footnote_position_bottom = "3em", footnote_font_size = "0.9em", footnote_position_bottom = "3em",
left_column_subtle_color = apply_alpha(secondary_color, 0.6), left_column_subtle_color = apply_alpha(secondary_color, 0.6),
left_column_selected_color = secondary_color, left_column_selected_color = secondary_color,


\item{padding}{Slide Padding in \code{top right [bottom left]} format. Defaults to 1em 4em 1em 4em. Modifies the \code{.remark-slide-content} class.} \item{padding}{Slide Padding in \code{top right [bottom left]} format. Defaults to 1em 4em 1em 4em. Modifies the \code{.remark-slide-content} class.}


\item{background_image}{Background image applied to each \emph{and every} slide. Set \code{title_slide_background_image = "none"} to remove the background image from the title slide.. Defaults to NA. Modifies the \code{.remark-slide-content} class.}
\item{background_image}{Background image applied to each \emph{and every} slide. Set \code{title_slide_background_image = "none"} to remove the background image from the title slide.. Defaults to \code{NULL}. Modifies the \code{.remark-slide-content} class.}


\item{background_size}{Background image size, requires \code{background_image} to be set. If \code{background_image} is set, \code{background_size} will default to \code{cover} so the backround fills the screen. If both \code{background_image} and \code{background_position} are set, will default to 100 percent.. Defaults to NA. Modifies the \code{.remark-slide-content} class.}
\item{background_size}{Background image size, requires \code{background_image} to be set. If \code{background_image} is set, \code{background_size} will default to \code{cover} so the backround fills the screen. If both \code{background_image} and \code{background_position} are set, will default to 100 percent.. Defaults to \code{NULL}. Modifies the \code{.remark-slide-content} class.}


\item{background_position}{Background image position, requires \code{background_image} to be set, and it is recommended to adjust \code{background_size}.. Defaults to NA. Modifies the \code{.remark-slide-content} class.}
\item{background_position}{Background image position, requires \code{background_image} to be set, and it is recommended to adjust \code{background_size}.. Defaults to \code{NULL}. Modifies the \code{.remark-slide-content} class.}


\item{code_highlight_color}{Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.} \item{code_highlight_color}{Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.}


\item{code_inline_color}{Inline Code Color. Defaults to \code{secondary_color}. Modifies the \code{.remark-inline-code} class.} \item{code_inline_color}{Inline Code Color. Defaults to \code{secondary_color}. Modifies the \code{.remark-inline-code} class.}


\item{code_inline_background_color}{Inline Code Background Color. Defaults to NA. Modifies the \code{.remark-inline-code} class.}
\item{code_inline_background_color}{Inline Code Background Color. Defaults to \code{NULL}. Modifies the \code{.remark-inline-code} class.}


\item{code_inline_font_size}{Inline Code Text Font Size. Defaults to 1em. Modifies the \code{.remark-inline-code} class.} \item{code_inline_font_size}{Inline Code Text Font Size. Defaults to 1em. Modifies the \code{.remark-inline-code} class.}




\item{title_slide_background_color}{Title Slide Background Color. Defaults to \code{primary_color}. Modifies the \code{.title-slide} class.} \item{title_slide_background_color}{Title Slide Background Color. Defaults to \code{primary_color}. Modifies the \code{.title-slide} class.}


\item{title_slide_background_image}{Title Slide Background Image URL. Defaults to NA. Modifies the \code{.title-slide} class.}
\item{title_slide_background_image}{Title Slide Background Image URL. Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}


\item{title_slide_background_size}{Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the \code{.title-slide} class.}
\item{title_slide_background_size}{Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}


\item{title_slide_background_position}{Title Slide Background Image Position. Defaults to NA. Modifies the \code{.title-slide} class.}
\item{title_slide_background_position}{Title Slide Background Image Position. Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}


\item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}). Defaults to NA. Modifies the \code{.footnote} class.}
\item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}). Defaults to \code{NULL}. Modifies the \code{.footnote} class.}


\item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies the \code{.footnote} class.} \item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies the \code{.footnote} class.}



+ 14
- 13
man/duo_accent.Rd Ver fichero

secondary_color), secondary_color),
text_bold_color = choose_dark_or_light(secondary_color, primary_color, text_bold_color = choose_dark_or_light(secondary_color, primary_color,
secondary_color), text_slide_number_color = primary_color, secondary_color), text_slide_number_color = primary_color,
padding = "1em 4em 1em 4em", background_image = NA,
background_size = NA, background_position = NA,
padding = "1em 4em 1em 4em", background_image = NULL,
background_size = NULL, background_position = NULL,
code_highlight_color = "rgba(255,255,0,0.5)", code_highlight_color = "rgba(255,255,0,0.5)",
code_inline_color = choose_dark_or_light(secondary_color, code_inline_color = choose_dark_or_light(secondary_color,
primary_color, secondary_color), code_inline_background_color = NA,
primary_color, secondary_color), code_inline_background_color = NULL,
code_inline_font_size = "1em", code_inline_font_size = "1em",
inverse_background_color = secondary_color, inverse_background_color = secondary_color,
inverse_text_color = choose_dark_or_light(secondary_color, black_color, inverse_text_color = choose_dark_or_light(secondary_color, black_color,
title_slide_text_color = choose_dark_or_light(primary_color, title_slide_text_color = choose_dark_or_light(primary_color,
black_color, white_color), black_color, white_color),
title_slide_background_color = primary_color, title_slide_background_color = primary_color,
title_slide_background_image = NA, title_slide_background_size = NA,
title_slide_background_position = NA, footnote_color = NA,
title_slide_background_image = NULL,
title_slide_background_size = NULL,
title_slide_background_position = NULL, footnote_color = NULL,
footnote_font_size = "0.9em", footnote_position_bottom = "3em", footnote_font_size = "0.9em", footnote_position_bottom = "3em",
left_column_subtle_color = apply_alpha(primary_color, 0.6), left_column_subtle_color = apply_alpha(primary_color, 0.6),
left_column_selected_color = primary_color, left_column_selected_color = primary_color,


\item{padding}{Slide Padding in \code{top right [bottom left]} format. Defaults to 1em 4em 1em 4em. Modifies the \code{.remark-slide-content} class.} \item{padding}{Slide Padding in \code{top right [bottom left]} format. Defaults to 1em 4em 1em 4em. Modifies the \code{.remark-slide-content} class.}


\item{background_image}{Background image applied to each \emph{and every} slide. Set \code{title_slide_background_image = "none"} to remove the background image from the title slide.. Defaults to NA. Modifies the \code{.remark-slide-content} class.}
\item{background_image}{Background image applied to each \emph{and every} slide. Set \code{title_slide_background_image = "none"} to remove the background image from the title slide.. Defaults to \code{NULL}. Modifies the \code{.remark-slide-content} class.}


\item{background_size}{Background image size, requires \code{background_image} to be set. If \code{background_image} is set, \code{background_size} will default to \code{cover} so the backround fills the screen. If both \code{background_image} and \code{background_position} are set, will default to 100 percent.. Defaults to NA. Modifies the \code{.remark-slide-content} class.}
\item{background_size}{Background image size, requires \code{background_image} to be set. If \code{background_image} is set, \code{background_size} will default to \code{cover} so the backround fills the screen. If both \code{background_image} and \code{background_position} are set, will default to 100 percent.. Defaults to \code{NULL}. Modifies the \code{.remark-slide-content} class.}


\item{background_position}{Background image position, requires \code{background_image} to be set, and it is recommended to adjust \code{background_size}.. Defaults to NA. Modifies the \code{.remark-slide-content} class.}
\item{background_position}{Background image position, requires \code{background_image} to be set, and it is recommended to adjust \code{background_size}.. Defaults to \code{NULL}. Modifies the \code{.remark-slide-content} class.}


\item{code_highlight_color}{Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.} \item{code_highlight_color}{Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.}


\item{code_inline_color}{Inline Code Color. Defaults to \code{choose_dark_or_light(secondary_color, primary_color, secondary_color)}. Modifies the \code{.remark-inline-code} class.} \item{code_inline_color}{Inline Code Color. Defaults to \code{choose_dark_or_light(secondary_color, primary_color, secondary_color)}. Modifies the \code{.remark-inline-code} class.}


\item{code_inline_background_color}{Inline Code Background Color. Defaults to NA. Modifies the \code{.remark-inline-code} class.}
\item{code_inline_background_color}{Inline Code Background Color. Defaults to \code{NULL}. Modifies the \code{.remark-inline-code} class.}


\item{code_inline_font_size}{Inline Code Text Font Size. Defaults to 1em. Modifies the \code{.remark-inline-code} class.} \item{code_inline_font_size}{Inline Code Text Font Size. Defaults to 1em. Modifies the \code{.remark-inline-code} class.}




\item{title_slide_background_color}{Title Slide Background Color. Defaults to \code{primary_color}. Modifies the \code{.title-slide} class.} \item{title_slide_background_color}{Title Slide Background Color. Defaults to \code{primary_color}. Modifies the \code{.title-slide} class.}


\item{title_slide_background_image}{Title Slide Background Image URL. Defaults to NA. Modifies the \code{.title-slide} class.}
\item{title_slide_background_image}{Title Slide Background Image URL. Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}


\item{title_slide_background_size}{Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the \code{.title-slide} class.}
\item{title_slide_background_size}{Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}


\item{title_slide_background_position}{Title Slide Background Image Position. Defaults to NA. Modifies the \code{.title-slide} class.}
\item{title_slide_background_position}{Title Slide Background Image Position. Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}


\item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}). Defaults to NA. Modifies the \code{.footnote} class.}
\item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}). Defaults to \code{NULL}. Modifies the \code{.footnote} class.}


\item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies the \code{.footnote} class.} \item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies the \code{.footnote} class.}



+ 14
- 13
man/duo_accent_inverse.Rd Ver fichero

primary_color), text_bold_color = choose_dark_or_light(secondary_color, primary_color), text_bold_color = choose_dark_or_light(secondary_color,
secondary_color, primary_color), secondary_color, primary_color),
text_slide_number_color = primary_color, padding = "1em 4em 1em 4em", text_slide_number_color = primary_color, padding = "1em 4em 1em 4em",
background_image = NA, background_size = NA,
background_position = NA,
background_image = NULL, background_size = NULL,
background_position = NULL,
code_highlight_color = "rgba(255,255,0,0.5)", code_highlight_color = "rgba(255,255,0,0.5)",
code_inline_color = choose_dark_or_light(secondary_color, code_inline_color = choose_dark_or_light(secondary_color,
secondary_color, primary_color), code_inline_background_color = NA,
secondary_color, primary_color), code_inline_background_color = NULL,
code_inline_font_size = "1em", code_inline_font_size = "1em",
inverse_background_color = secondary_color, inverse_background_color = secondary_color,
inverse_text_color = choose_dark_or_light(secondary_color, black_color, inverse_text_color = choose_dark_or_light(secondary_color, black_color,
title_slide_text_color = choose_dark_or_light(primary_color, title_slide_text_color = choose_dark_or_light(primary_color,
black_color, white_color), black_color, white_color),
title_slide_background_color = primary_color, title_slide_background_color = primary_color,
title_slide_background_image = NA, title_slide_background_size = NA,
title_slide_background_position = NA, footnote_color = NA,
title_slide_background_image = NULL,
title_slide_background_size = NULL,
title_slide_background_position = NULL, footnote_color = NULL,
footnote_font_size = "0.9em", footnote_position_bottom = "3em", footnote_font_size = "0.9em", footnote_position_bottom = "3em",
left_column_subtle_color = apply_alpha(primary_color, 0.6), left_column_subtle_color = apply_alpha(primary_color, 0.6),
left_column_selected_color = primary_color, left_column_selected_color = primary_color,


\item{padding}{Slide Padding in \code{top right [bottom left]} format. Defaults to 1em 4em 1em 4em. Modifies the \code{.remark-slide-content} class.} \item{padding}{Slide Padding in \code{top right [bottom left]} format. Defaults to 1em 4em 1em 4em. Modifies the \code{.remark-slide-content} class.}


\item{background_image}{Background image applied to each \emph{and every} slide. Set \code{title_slide_background_image = "none"} to remove the background image from the title slide.. Defaults to NA. Modifies the \code{.remark-slide-content} class.}
\item{background_image}{Background image applied to each \emph{and every} slide. Set \code{title_slide_background_image = "none"} to remove the background image from the title slide.. Defaults to \code{NULL}. Modifies the \code{.remark-slide-content} class.}


\item{background_size}{Background image size, requires \code{background_image} to be set. If \code{background_image} is set, \code{background_size} will default to \code{cover} so the backround fills the screen. If both \code{background_image} and \code{background_position} are set, will default to 100 percent.. Defaults to NA. Modifies the \code{.remark-slide-content} class.}
\item{background_size}{Background image size, requires \code{background_image} to be set. If \code{background_image} is set, \code{background_size} will default to \code{cover} so the backround fills the screen. If both \code{background_image} and \code{background_position} are set, will default to 100 percent.. Defaults to \code{NULL}. Modifies the \code{.remark-slide-content} class.}


\item{background_position}{Background image position, requires \code{background_image} to be set, and it is recommended to adjust \code{background_size}.. Defaults to NA. Modifies the \code{.remark-slide-content} class.}
\item{background_position}{Background image position, requires \code{background_image} to be set, and it is recommended to adjust \code{background_size}.. Defaults to \code{NULL}. Modifies the \code{.remark-slide-content} class.}


\item{code_highlight_color}{Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.} \item{code_highlight_color}{Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.}


\item{code_inline_color}{Inline Code Color. Defaults to \code{choose_dark_or_light(secondary_color, secondary_color, primary_color)}. Modifies the \code{.remark-inline-code} class.} \item{code_inline_color}{Inline Code Color. Defaults to \code{choose_dark_or_light(secondary_color, secondary_color, primary_color)}. Modifies the \code{.remark-inline-code} class.}


\item{code_inline_background_color}{Inline Code Background Color. Defaults to NA. Modifies the \code{.remark-inline-code} class.}
\item{code_inline_background_color}{Inline Code Background Color. Defaults to \code{NULL}. Modifies the \code{.remark-inline-code} class.}


\item{code_inline_font_size}{Inline Code Text Font Size. Defaults to 1em. Modifies the \code{.remark-inline-code} class.} \item{code_inline_font_size}{Inline Code Text Font Size. Defaults to 1em. Modifies the \code{.remark-inline-code} class.}




\item{title_slide_background_color}{Title Slide Background Color. Defaults to \code{primary_color}. Modifies the \code{.title-slide} class.} \item{title_slide_background_color}{Title Slide Background Color. Defaults to \code{primary_color}. Modifies the \code{.title-slide} class.}


\item{title_slide_background_image}{Title Slide Background Image URL. Defaults to NA. Modifies the \code{.title-slide} class.}
\item{title_slide_background_image}{Title Slide Background Image URL. Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}


\item{title_slide_background_size}{Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the \code{.title-slide} class.}
\item{title_slide_background_size}{Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}


\item{title_slide_background_position}{Title Slide Background Image Position. Defaults to NA. Modifies the \code{.title-slide} class.}
\item{title_slide_background_position}{Title Slide Background Image Position. Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}


\item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}). Defaults to NA. Modifies the \code{.footnote} class.}
\item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}). Defaults to \code{NULL}. Modifies the \code{.footnote} class.}


\item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies the \code{.footnote} class.} \item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies the \code{.footnote} class.}



+ 14
- 13
man/mono_accent.Rd Ver fichero

header_color = base_color, background_color = white_color, header_color = base_color, background_color = white_color,
link_color = base_color, text_bold_color = base_color, link_color = base_color, text_bold_color = base_color,
text_slide_number_color = base_color, padding = "1em 4em 1em 4em", text_slide_number_color = base_color, padding = "1em 4em 1em 4em",
background_image = NA, background_size = NA,
background_position = NA,
background_image = NULL, background_size = NULL,
background_position = NULL,
code_highlight_color = "rgba(255,255,0,0.5)", code_highlight_color = "rgba(255,255,0,0.5)",
code_inline_color = base_color, code_inline_background_color = NA,
code_inline_color = base_color, code_inline_background_color = NULL,
code_inline_font_size = "1em", inverse_background_color = base_color, code_inline_font_size = "1em", inverse_background_color = base_color,
inverse_text_color = white_color, inverse_text_shadow = FALSE, inverse_text_color = white_color, inverse_text_shadow = FALSE,
inverse_header_color = white_color, inverse_header_color = white_color,
title_slide_text_color = inverse_text_color, title_slide_text_color = inverse_text_color,
title_slide_background_color = inverse_background_color, title_slide_background_color = inverse_background_color,
title_slide_background_image = NA, title_slide_background_size = NA,
title_slide_background_position = NA, footnote_color = NA,
title_slide_background_image = NULL,
title_slide_background_size = NULL,
title_slide_background_position = NULL, footnote_color = NULL,
footnote_font_size = "0.9em", footnote_position_bottom = "3em", footnote_font_size = "0.9em", footnote_position_bottom = "3em",
left_column_subtle_color = apply_alpha(base_color, 0.6), left_column_subtle_color = apply_alpha(base_color, 0.6),
left_column_selected_color = base_color, left_column_selected_color = base_color,


\item{padding}{Slide Padding in \code{top right [bottom left]} format. Defaults to 1em 4em 1em 4em. Modifies the \code{.remark-slide-content} class.} \item{padding}{Slide Padding in \code{top right [bottom left]} format. Defaults to 1em 4em 1em 4em. Modifies the \code{.remark-slide-content} class.}


\item{background_image}{Background image applied to each \emph{and every} slide. Set \code{title_slide_background_image = "none"} to remove the background image from the title slide.. Defaults to NA. Modifies the \code{.remark-slide-content} class.}
\item{background_image}{Background image applied to each \emph{and every} slide. Set \code{title_slide_background_image = "none"} to remove the background image from the title slide.. Defaults to \code{NULL}. Modifies the \code{.remark-slide-content} class.}


\item{background_size}{Background image size, requires \code{background_image} to be set. If \code{background_image} is set, \code{background_size} will default to \code{cover} so the backround fills the screen. If both \code{background_image} and \code{background_position} are set, will default to 100 percent.. Defaults to NA. Modifies the \code{.remark-slide-content} class.}
\item{background_size}{Background image size, requires \code{background_image} to be set. If \code{background_image} is set, \code{background_size} will default to \code{cover} so the backround fills the screen. If both \code{background_image} and \code{background_position} are set, will default to 100 percent.. Defaults to \code{NULL}. Modifies the \code{.remark-slide-content} class.}


\item{background_position}{Background image position, requires \code{background_image} to be set, and it is recommended to adjust \code{background_size}.. Defaults to NA. Modifies the \code{.remark-slide-content} class.}
\item{background_position}{Background image position, requires \code{background_image} to be set, and it is recommended to adjust \code{background_size}.. Defaults to \code{NULL}. Modifies the \code{.remark-slide-content} class.}


\item{code_highlight_color}{Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.} \item{code_highlight_color}{Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.}


\item{code_inline_color}{Inline Code Color. Defaults to \code{base_color}. Modifies the \code{.remark-inline-code} class.} \item{code_inline_color}{Inline Code Color. Defaults to \code{base_color}. Modifies the \code{.remark-inline-code} class.}


\item{code_inline_background_color}{Inline Code Background Color. Defaults to NA. Modifies the \code{.remark-inline-code} class.}
\item{code_inline_background_color}{Inline Code Background Color. Defaults to \code{NULL}. Modifies the \code{.remark-inline-code} class.}


\item{code_inline_font_size}{Inline Code Text Font Size. Defaults to 1em. Modifies the \code{.remark-inline-code} class.} \item{code_inline_font_size}{Inline Code Text Font Size. Defaults to 1em. Modifies the \code{.remark-inline-code} class.}




\item{title_slide_background_color}{Title Slide Background Color. Defaults to \code{inverse_background_color}. Modifies the \code{.title-slide} class.} \item{title_slide_background_color}{Title Slide Background Color. Defaults to \code{inverse_background_color}. Modifies the \code{.title-slide} class.}


\item{title_slide_background_image}{Title Slide Background Image URL. Defaults to NA. Modifies the \code{.title-slide} class.}
\item{title_slide_background_image}{Title Slide Background Image URL. Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}


\item{title_slide_background_size}{Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the \code{.title-slide} class.}
\item{title_slide_background_size}{Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}


\item{title_slide_background_position}{Title Slide Background Image Position. Defaults to NA. Modifies the \code{.title-slide} class.}
\item{title_slide_background_position}{Title Slide Background Image Position. Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}


\item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}). Defaults to NA. Modifies the \code{.footnote} class.}
\item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}). Defaults to \code{NULL}. Modifies the \code{.footnote} class.}


\item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies the \code{.footnote} class.} \item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies the \code{.footnote} class.}



+ 14
- 13
man/mono_accent_inverse.Rd Ver fichero

text_color = white_color, header_color = base_color, text_color = white_color, header_color = base_color,
background_color = black_color, link_color = base_color, background_color = black_color, link_color = base_color,
text_bold_color = base_color, text_slide_number_color = base_color, text_bold_color = base_color, text_slide_number_color = base_color,
padding = "1em 4em 1em 4em", background_image = NA,
background_size = NA, background_position = NA,
padding = "1em 4em 1em 4em", background_image = NULL,
background_size = NULL, background_position = NULL,
code_highlight_color = "rgba(255,255,0,0.5)", code_highlight_color = "rgba(255,255,0,0.5)",
code_inline_color = base_color, code_inline_background_color = NA,
code_inline_color = base_color, code_inline_background_color = NULL,
code_inline_font_size = "1em", inverse_background_color = base_color, code_inline_font_size = "1em", inverse_background_color = base_color,
inverse_text_color = black_color, inverse_text_shadow = FALSE, inverse_text_color = black_color, inverse_text_shadow = FALSE,
inverse_header_color = black_color, inverse_header_color = black_color,
title_slide_text_color = inverse_text_color, title_slide_text_color = inverse_text_color,
title_slide_background_color = inverse_background_color, title_slide_background_color = inverse_background_color,
title_slide_background_image = NA, title_slide_background_size = NA,
title_slide_background_position = NA, footnote_color = NA,
title_slide_background_image = NULL,
title_slide_background_size = NULL,
title_slide_background_position = NULL, footnote_color = NULL,
footnote_font_size = "0.9em", footnote_position_bottom = "3em", footnote_font_size = "0.9em", footnote_position_bottom = "3em",
left_column_subtle_color = apply_alpha(base_color, 0.6), left_column_subtle_color = apply_alpha(base_color, 0.6),
left_column_selected_color = base_color, left_column_selected_color = base_color,


\item{padding}{Slide Padding in \code{top right [bottom left]} format. Defaults to 1em 4em 1em 4em. Modifies the \code{.remark-slide-content} class.} \item{padding}{Slide Padding in \code{top right [bottom left]} format. Defaults to 1em 4em 1em 4em. Modifies the \code{.remark-slide-content} class.}


\item{background_image}{Background image applied to each \emph{and every} slide. Set \code{title_slide_background_image = "none"} to remove the background image from the title slide.. Defaults to NA. Modifies the \code{.remark-slide-content} class.}
\item{background_image}{Background image applied to each \emph{and every} slide. Set \code{title_slide_background_image = "none"} to remove the background image from the title slide.. Defaults to \code{NULL}. Modifies the \code{.remark-slide-content} class.}


\item{background_size}{Background image size, requires \code{background_image} to be set. If \code{background_image} is set, \code{background_size} will default to \code{cover} so the backround fills the screen. If both \code{background_image} and \code{background_position} are set, will default to 100 percent.. Defaults to NA. Modifies the \code{.remark-slide-content} class.}
\item{background_size}{Background image size, requires \code{background_image} to be set. If \code{background_image} is set, \code{background_size} will default to \code{cover} so the backround fills the screen. If both \code{background_image} and \code{background_position} are set, will default to 100 percent.. Defaults to \code{NULL}. Modifies the \code{.remark-slide-content} class.}


\item{background_position}{Background image position, requires \code{background_image} to be set, and it is recommended to adjust \code{background_size}.. Defaults to NA. Modifies the \code{.remark-slide-content} class.}
\item{background_position}{Background image position, requires \code{background_image} to be set, and it is recommended to adjust \code{background_size}.. Defaults to \code{NULL}. Modifies the \code{.remark-slide-content} class.}


\item{code_highlight_color}{Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.} \item{code_highlight_color}{Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.}


\item{code_inline_color}{Inline Code Color. Defaults to \code{base_color}. Modifies the \code{.remark-inline-code} class.} \item{code_inline_color}{Inline Code Color. Defaults to \code{base_color}. Modifies the \code{.remark-inline-code} class.}


\item{code_inline_background_color}{Inline Code Background Color. Defaults to NA. Modifies the \code{.remark-inline-code} class.}
\item{code_inline_background_color}{Inline Code Background Color. Defaults to \code{NULL}. Modifies the \code{.remark-inline-code} class.}


\item{code_inline_font_size}{Inline Code Text Font Size. Defaults to 1em. Modifies the \code{.remark-inline-code} class.} \item{code_inline_font_size}{Inline Code Text Font Size. Defaults to 1em. Modifies the \code{.remark-inline-code} class.}




\item{title_slide_background_color}{Title Slide Background Color. Defaults to \code{inverse_background_color}. Modifies the \code{.title-slide} class.} \item{title_slide_background_color}{Title Slide Background Color. Defaults to \code{inverse_background_color}. Modifies the \code{.title-slide} class.}


\item{title_slide_background_image}{Title Slide Background Image URL. Defaults to NA. Modifies the \code{.title-slide} class.}
\item{title_slide_background_image}{Title Slide Background Image URL. Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}


\item{title_slide_background_size}{Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the \code{.title-slide} class.}
\item{title_slide_background_size}{Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}


\item{title_slide_background_position}{Title Slide Background Image Position. Defaults to NA. Modifies the \code{.title-slide} class.}
\item{title_slide_background_position}{Title Slide Background Image Position. Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}


\item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}). Defaults to NA. Modifies the \code{.footnote} class.}
\item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}). Defaults to \code{NULL}. Modifies the \code{.footnote} class.}


\item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies the \code{.footnote} class.} \item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies the \code{.footnote} class.}



+ 14
- 13
man/mono_dark.Rd Ver fichero

text_color = white_color, header_color = base_color, text_color = white_color, header_color = base_color,
background_color = black_color, link_color = base_color, background_color = black_color, link_color = base_color,
text_bold_color = base_color, text_slide_number_color = base_color, text_bold_color = base_color, text_slide_number_color = base_color,
padding = "1em 4em 1em 4em", background_image = NA,
background_size = NA, background_position = NA,
padding = "1em 4em 1em 4em", background_image = NULL,
background_size = NULL, background_position = NULL,
code_highlight_color = "rgba(255,255,0,0.5)", code_highlight_color = "rgba(255,255,0,0.5)",
code_inline_color = base_color, code_inline_background_color = NA,
code_inline_color = base_color, code_inline_background_color = NULL,
code_inline_font_size = "1em", inverse_background_color = base_color, code_inline_font_size = "1em", inverse_background_color = base_color,
inverse_text_color = black_color, inverse_text_shadow = FALSE, inverse_text_color = black_color, inverse_text_shadow = FALSE,
inverse_header_color = black_color, inverse_header_color = black_color,
title_slide_text_color = inverse_text_color, title_slide_text_color = inverse_text_color,
title_slide_background_color = inverse_background_color, title_slide_background_color = inverse_background_color,
title_slide_background_image = NA, title_slide_background_size = NA,
title_slide_background_position = NA, footnote_color = NA,
title_slide_background_image = NULL,
title_slide_background_size = NULL,
title_slide_background_position = NULL, footnote_color = NULL,
footnote_font_size = "0.9em", footnote_position_bottom = "3em", footnote_font_size = "0.9em", footnote_position_bottom = "3em",
left_column_subtle_color = apply_alpha(base_color, 0.6), left_column_subtle_color = apply_alpha(base_color, 0.6),
left_column_selected_color = base_color, left_column_selected_color = base_color,


\item{padding}{Slide Padding in \code{top right [bottom left]} format. Defaults to 1em 4em 1em 4em. Modifies the \code{.remark-slide-content} class.} \item{padding}{Slide Padding in \code{top right [bottom left]} format. Defaults to 1em 4em 1em 4em. Modifies the \code{.remark-slide-content} class.}


\item{background_image}{Background image applied to each \emph{and every} slide. Set \code{title_slide_background_image = "none"} to remove the background image from the title slide.. Defaults to NA. Modifies the \code{.remark-slide-content} class.}
\item{background_image}{Background image applied to each \emph{and every} slide. Set \code{title_slide_background_image = "none"} to remove the background image from the title slide.. Defaults to \code{NULL}. Modifies the \code{.remark-slide-content} class.}


\item{background_size}{Background image size, requires \code{background_image} to be set. If \code{background_image} is set, \code{background_size} will default to \code{cover} so the backround fills the screen. If both \code{background_image} and \code{background_position} are set, will default to 100 percent.. Defaults to NA. Modifies the \code{.remark-slide-content} class.}
\item{background_size}{Background image size, requires \code{background_image} to be set. If \code{background_image} is set, \code{background_size} will default to \code{cover} so the backround fills the screen. If both \code{background_image} and \code{background_position} are set, will default to 100 percent.. Defaults to \code{NULL}. Modifies the \code{.remark-slide-content} class.}


\item{background_position}{Background image position, requires \code{background_image} to be set, and it is recommended to adjust \code{background_size}.. Defaults to NA. Modifies the \code{.remark-slide-content} class.}
\item{background_position}{Background image position, requires \code{background_image} to be set, and it is recommended to adjust \code{background_size}.. Defaults to \code{NULL}. Modifies the \code{.remark-slide-content} class.}


\item{code_highlight_color}{Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.} \item{code_highlight_color}{Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.}


\item{code_inline_color}{Inline Code Color. Defaults to \code{base_color}. Modifies the \code{.remark-inline-code} class.} \item{code_inline_color}{Inline Code Color. Defaults to \code{base_color}. Modifies the \code{.remark-inline-code} class.}


\item{code_inline_background_color}{Inline Code Background Color. Defaults to NA. Modifies the \code{.remark-inline-code} class.}
\item{code_inline_background_color}{Inline Code Background Color. Defaults to \code{NULL}. Modifies the \code{.remark-inline-code} class.}


\item{code_inline_font_size}{Inline Code Text Font Size. Defaults to 1em. Modifies the \code{.remark-inline-code} class.} \item{code_inline_font_size}{Inline Code Text Font Size. Defaults to 1em. Modifies the \code{.remark-inline-code} class.}




\item{title_slide_background_color}{Title Slide Background Color. Defaults to \code{inverse_background_color}. Modifies the \code{.title-slide} class.} \item{title_slide_background_color}{Title Slide Background Color. Defaults to \code{inverse_background_color}. Modifies the \code{.title-slide} class.}


\item{title_slide_background_image}{Title Slide Background Image URL. Defaults to NA. Modifies the \code{.title-slide} class.}
\item{title_slide_background_image}{Title Slide Background Image URL. Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}


\item{title_slide_background_size}{Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the \code{.title-slide} class.}
\item{title_slide_background_size}{Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}


\item{title_slide_background_position}{Title Slide Background Image Position. Defaults to NA. Modifies the \code{.title-slide} class.}
\item{title_slide_background_position}{Title Slide Background Image Position. Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}


\item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}). Defaults to NA. Modifies the \code{.footnote} class.}
\item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}). Defaults to \code{NULL}. Modifies the \code{.footnote} class.}


\item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies the \code{.footnote} class.} \item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies the \code{.footnote} class.}



+ 14
- 13
man/mono_light.Rd Ver fichero

text_color = black_color, header_color = base_color, text_color = black_color, header_color = base_color,
background_color = white_color, link_color = base_color, background_color = white_color, link_color = base_color,
text_bold_color = base_color, text_slide_number_color = base_color, text_bold_color = base_color, text_slide_number_color = base_color,
padding = "1em 4em 1em 4em", background_image = NA,
background_size = NA, background_position = NA,
padding = "1em 4em 1em 4em", background_image = NULL,
background_size = NULL, background_position = NULL,
code_highlight_color = "rgba(255,255,0,0.5)", code_highlight_color = "rgba(255,255,0,0.5)",
code_inline_color = base_color, code_inline_background_color = NA,
code_inline_color = base_color, code_inline_background_color = NULL,
code_inline_font_size = "1em", inverse_background_color = base_color, code_inline_font_size = "1em", inverse_background_color = base_color,
inverse_text_color = white_color, inverse_text_shadow = FALSE, inverse_text_color = white_color, inverse_text_shadow = FALSE,
inverse_header_color = white_color, inverse_header_color = white_color,
title_slide_text_color = inverse_text_color, title_slide_text_color = inverse_text_color,
title_slide_background_color = inverse_background_color, title_slide_background_color = inverse_background_color,
title_slide_background_image = NA, title_slide_background_size = NA,
title_slide_background_position = NA, footnote_color = NA,
title_slide_background_image = NULL,
title_slide_background_size = NULL,
title_slide_background_position = NULL, footnote_color = NULL,
footnote_font_size = "0.9em", footnote_position_bottom = "3em", footnote_font_size = "0.9em", footnote_position_bottom = "3em",
left_column_subtle_color = apply_alpha(base_color, 0.6), left_column_subtle_color = apply_alpha(base_color, 0.6),
left_column_selected_color = base_color, left_column_selected_color = base_color,


\item{padding}{Slide Padding in \code{top right [bottom left]} format. Defaults to 1em 4em 1em 4em. Modifies the \code{.remark-slide-content} class.} \item{padding}{Slide Padding in \code{top right [bottom left]} format. Defaults to 1em 4em 1em 4em. Modifies the \code{.remark-slide-content} class.}


\item{background_image}{Background image applied to each \emph{and every} slide. Set \code{title_slide_background_image = "none"} to remove the background image from the title slide.. Defaults to NA. Modifies the \code{.remark-slide-content} class.}
\item{background_image}{Background image applied to each \emph{and every} slide. Set \code{title_slide_background_image = "none"} to remove the background image from the title slide.. Defaults to \code{NULL}. Modifies the \code{.remark-slide-content} class.}


\item{background_size}{Background image size, requires \code{background_image} to be set. If \code{background_image} is set, \code{background_size} will default to \code{cover} so the backround fills the screen. If both \code{background_image} and \code{background_position} are set, will default to 100 percent.. Defaults to NA. Modifies the \code{.remark-slide-content} class.}
\item{background_size}{Background image size, requires \code{background_image} to be set. If \code{background_image} is set, \code{background_size} will default to \code{cover} so the backround fills the screen. If both \code{background_image} and \code{background_position} are set, will default to 100 percent.. Defaults to \code{NULL}. Modifies the \code{.remark-slide-content} class.}


\item{background_position}{Background image position, requires \code{background_image} to be set, and it is recommended to adjust \code{background_size}.. Defaults to NA. Modifies the \code{.remark-slide-content} class.}
\item{background_position}{Background image position, requires \code{background_image} to be set, and it is recommended to adjust \code{background_size}.. Defaults to \code{NULL}. Modifies the \code{.remark-slide-content} class.}


\item{code_highlight_color}{Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.} \item{code_highlight_color}{Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.}


\item{code_inline_color}{Inline Code Color. Defaults to \code{base_color}. Modifies the \code{.remark-inline-code} class.} \item{code_inline_color}{Inline Code Color. Defaults to \code{base_color}. Modifies the \code{.remark-inline-code} class.}


\item{code_inline_background_color}{Inline Code Background Color. Defaults to NA. Modifies the \code{.remark-inline-code} class.}
\item{code_inline_background_color}{Inline Code Background Color. Defaults to \code{NULL}. Modifies the \code{.remark-inline-code} class.}


\item{code_inline_font_size}{Inline Code Text Font Size. Defaults to 1em. Modifies the \code{.remark-inline-code} class.} \item{code_inline_font_size}{Inline Code Text Font Size. Defaults to 1em. Modifies the \code{.remark-inline-code} class.}




\item{title_slide_background_color}{Title Slide Background Color. Defaults to \code{inverse_background_color}. Modifies the \code{.title-slide} class.} \item{title_slide_background_color}{Title Slide Background Color. Defaults to \code{inverse_background_color}. Modifies the \code{.title-slide} class.}


\item{title_slide_background_image}{Title Slide Background Image URL. Defaults to NA. Modifies the \code{.title-slide} class.}
\item{title_slide_background_image}{Title Slide Background Image URL. Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}


\item{title_slide_background_size}{Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the \code{.title-slide} class.}
\item{title_slide_background_size}{Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}


\item{title_slide_background_position}{Title Slide Background Image Position. Defaults to NA. Modifies the \code{.title-slide} class.}
\item{title_slide_background_position}{Title Slide Background Image Position. Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}


\item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}). Defaults to NA. Modifies the \code{.footnote} class.}
\item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}). Defaults to \code{NULL}. Modifies the \code{.footnote} class.}


\item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies the \code{.footnote} class.} \item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies the \code{.footnote} class.}



+ 14
- 13
man/solarized_dark.Rd Ver fichero

solarized_dark(text_color = "#839496", header_color = "#dc322f", solarized_dark(text_color = "#839496", header_color = "#dc322f",
background_color = "#002b36", link_color = "#b58900", background_color = "#002b36", link_color = "#b58900",
text_bold_color = "#d33682", text_slide_number_color = "#586e75", text_bold_color = "#d33682", text_slide_number_color = "#586e75",
padding = "1em 4em 1em 4em", background_image = NA,
background_size = NA, background_position = NA,
padding = "1em 4em 1em 4em", background_image = NULL,
background_size = NULL, background_position = NULL,
code_highlight_color = "#268bd240", code_inline_color = "#6c71c4", code_highlight_color = "#268bd240", code_inline_color = "#6c71c4",
code_inline_background_color = NA, code_inline_font_size = "1em",
code_inline_background_color = NULL, code_inline_font_size = "1em",
inverse_background_color = "#fdf6e3", inverse_text_color = "#002b36", inverse_background_color = "#fdf6e3", inverse_text_color = "#002b36",
inverse_text_shadow = FALSE, inverse_text_shadow = FALSE,
inverse_header_color = inverse_text_color, inverse_header_color = inverse_text_color,
title_slide_text_color = inverse_text_color, title_slide_text_color = inverse_text_color,
title_slide_background_color = inverse_background_color, title_slide_background_color = inverse_background_color,
title_slide_background_image = NA, title_slide_background_size = NA,
title_slide_background_position = NA, footnote_color = NA,
title_slide_background_image = NULL,
title_slide_background_size = NULL,
title_slide_background_position = NULL, footnote_color = NULL,
footnote_font_size = "0.9em", footnote_position_bottom = "3em", footnote_font_size = "0.9em", footnote_position_bottom = "3em",
left_column_subtle_color = "#586e75", left_column_subtle_color = "#586e75",
left_column_selected_color = "#93a1a1", left_column_selected_color = "#93a1a1",


\item{padding}{Slide Padding in \code{top right [bottom left]} format. Defaults to 1em 4em 1em 4em. Modifies the \code{.remark-slide-content} class.} \item{padding}{Slide Padding in \code{top right [bottom left]} format. Defaults to 1em 4em 1em 4em. Modifies the \code{.remark-slide-content} class.}


\item{background_image}{Background image applied to each \emph{and every} slide. Set \code{title_slide_background_image = "none"} to remove the background image from the title slide.. Defaults to NA. Modifies the \code{.remark-slide-content} class.}
\item{background_image}{Background image applied to each \emph{and every} slide. Set \code{title_slide_background_image = "none"} to remove the background image from the title slide.. Defaults to \code{NULL}. Modifies the \code{.remark-slide-content} class.}


\item{background_size}{Background image size, requires \code{background_image} to be set. If \code{background_image} is set, \code{background_size} will default to \code{cover} so the backround fills the screen. If both \code{background_image} and \code{background_position} are set, will default to 100 percent.. Defaults to NA. Modifies the \code{.remark-slide-content} class.}
\item{background_size}{Background image size, requires \code{background_image} to be set. If \code{background_image} is set, \code{background_size} will default to \code{cover} so the backround fills the screen. If both \code{background_image} and \code{background_position} are set, will default to 100 percent.. Defaults to \code{NULL}. Modifies the \code{.remark-slide-content} class.}


\item{background_position}{Background image position, requires \code{background_image} to be set, and it is recommended to adjust \code{background_size}.. Defaults to NA. Modifies the \code{.remark-slide-content} class.}
\item{background_position}{Background image position, requires \code{background_image} to be set, and it is recommended to adjust \code{background_size}.. Defaults to \code{NULL}. Modifies the \code{.remark-slide-content} class.}


\item{code_highlight_color}{Code Line Highlight. Defaults to #268bd240. Modifies the \code{.remark-code-line-highlighted} class.} \item{code_highlight_color}{Code Line Highlight. Defaults to #268bd240. Modifies the \code{.remark-code-line-highlighted} class.}


\item{code_inline_color}{Inline Code Color. Defaults to #6c71c4. Modifies the \code{.remark-inline-code} class.} \item{code_inline_color}{Inline Code Color. Defaults to #6c71c4. Modifies the \code{.remark-inline-code} class.}


\item{code_inline_background_color}{Inline Code Background Color. Defaults to NA. Modifies the \code{.remark-inline-code} class.}
\item{code_inline_background_color}{Inline Code Background Color. Defaults to \code{NULL}. Modifies the \code{.remark-inline-code} class.}


\item{code_inline_font_size}{Inline Code Text Font Size. Defaults to 1em. Modifies the \code{.remark-inline-code} class.} \item{code_inline_font_size}{Inline Code Text Font Size. Defaults to 1em. Modifies the \code{.remark-inline-code} class.}




\item{title_slide_background_color}{Title Slide Background Color. Defaults to \code{inverse_background_color}. Modifies the \code{.title-slide} class.} \item{title_slide_background_color}{Title Slide Background Color. Defaults to \code{inverse_background_color}. Modifies the \code{.title-slide} class.}


\item{title_slide_background_image}{Title Slide Background Image URL. Defaults to NA. Modifies the \code{.title-slide} class.}
\item{title_slide_background_image}{Title Slide Background Image URL. Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}


\item{title_slide_background_size}{Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the \code{.title-slide} class.}
\item{title_slide_background_size}{Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}


\item{title_slide_background_position}{Title Slide Background Image Position. Defaults to NA. Modifies the \code{.title-slide} class.}
\item{title_slide_background_position}{Title Slide Background Image Position. Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}


\item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}). Defaults to NA. Modifies the \code{.footnote} class.}
\item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}). Defaults to \code{NULL}. Modifies the \code{.footnote} class.}


\item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies the \code{.footnote} class.} \item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies the \code{.footnote} class.}



+ 14
- 13
man/solarized_light.Rd Ver fichero

solarized_light(text_color = "#657b83", header_color = "#dc322f", solarized_light(text_color = "#657b83", header_color = "#dc322f",
background_color = "#fdf6e3", link_color = "#b58900", background_color = "#fdf6e3", link_color = "#b58900",
text_bold_color = "#d33682", text_slide_number_color = "#93a1a1", text_bold_color = "#d33682", text_slide_number_color = "#93a1a1",
padding = "1em 4em 1em 4em", background_image = NA,
background_size = NA, background_position = NA,
padding = "1em 4em 1em 4em", background_image = NULL,
background_size = NULL, background_position = NULL,
code_highlight_color = "#268bd240", code_inline_color = "#6c71c4", code_highlight_color = "#268bd240", code_inline_color = "#6c71c4",
code_inline_background_color = NA, code_inline_font_size = "1em",
code_inline_background_color = NULL, code_inline_font_size = "1em",
inverse_background_color = "#002b36", inverse_text_color = "#fdf6e3", inverse_background_color = "#002b36", inverse_text_color = "#fdf6e3",
inverse_text_shadow = FALSE, inverse_text_shadow = FALSE,
inverse_header_color = inverse_text_color, inverse_header_color = inverse_text_color,
title_slide_text_color = inverse_text_color, title_slide_text_color = inverse_text_color,
title_slide_background_color = inverse_background_color, title_slide_background_color = inverse_background_color,
title_slide_background_image = NA, title_slide_background_size = NA,
title_slide_background_position = NA, footnote_color = NA,
title_slide_background_image = NULL,
title_slide_background_size = NULL,
title_slide_background_position = NULL, footnote_color = NULL,
footnote_font_size = "0.9em", footnote_position_bottom = "3em", footnote_font_size = "0.9em", footnote_position_bottom = "3em",
left_column_subtle_color = "#93a1a1", left_column_subtle_color = "#93a1a1",
left_column_selected_color = "#586e75", left_column_selected_color = "#586e75",


\item{padding}{Slide Padding in \code{top right [bottom left]} format. Defaults to 1em 4em 1em 4em. Modifies the \code{.remark-slide-content} class.} \item{padding}{Slide Padding in \code{top right [bottom left]} format. Defaults to 1em 4em 1em 4em. Modifies the \code{.remark-slide-content} class.}


\item{background_image}{Background image applied to each \emph{and every} slide. Set \code{title_slide_background_image = "none"} to remove the background image from the title slide.. Defaults to NA. Modifies the \code{.remark-slide-content} class.}
\item{background_image}{Background image applied to each \emph{and every} slide. Set \code{title_slide_background_image = "none"} to remove the background image from the title slide.. Defaults to \code{NULL}. Modifies the \code{.remark-slide-content} class.}


\item{background_size}{Background image size, requires \code{background_image} to be set. If \code{background_image} is set, \code{background_size} will default to \code{cover} so the backround fills the screen. If both \code{background_image} and \code{background_position} are set, will default to 100 percent.. Defaults to NA. Modifies the \code{.remark-slide-content} class.}
\item{background_size}{Background image size, requires \code{background_image} to be set. If \code{background_image} is set, \code{background_size} will default to \code{cover} so the backround fills the screen. If both \code{background_image} and \code{background_position} are set, will default to 100 percent.. Defaults to \code{NULL}. Modifies the \code{.remark-slide-content} class.}


\item{background_position}{Background image position, requires \code{background_image} to be set, and it is recommended to adjust \code{background_size}.. Defaults to NA. Modifies the \code{.remark-slide-content} class.}
\item{background_position}{Background image position, requires \code{background_image} to be set, and it is recommended to adjust \code{background_size}.. Defaults to \code{NULL}. Modifies the \code{.remark-slide-content} class.}


\item{code_highlight_color}{Code Line Highlight. Defaults to #268bd240. Modifies the \code{.remark-code-line-highlighted} class.} \item{code_highlight_color}{Code Line Highlight. Defaults to #268bd240. Modifies the \code{.remark-code-line-highlighted} class.}


\item{code_inline_color}{Inline Code Color. Defaults to #6c71c4. Modifies the \code{.remark-inline-code} class.} \item{code_inline_color}{Inline Code Color. Defaults to #6c71c4. Modifies the \code{.remark-inline-code} class.}


\item{code_inline_background_color}{Inline Code Background Color. Defaults to NA. Modifies the \code{.remark-inline-code} class.}
\item{code_inline_background_color}{Inline Code Background Color. Defaults to \code{NULL}. Modifies the \code{.remark-inline-code} class.}


\item{code_inline_font_size}{Inline Code Text Font Size. Defaults to 1em. Modifies the \code{.remark-inline-code} class.} \item{code_inline_font_size}{Inline Code Text Font Size. Defaults to 1em. Modifies the \code{.remark-inline-code} class.}




\item{title_slide_background_color}{Title Slide Background Color. Defaults to \code{inverse_background_color}. Modifies the \code{.title-slide} class.} \item{title_slide_background_color}{Title Slide Background Color. Defaults to \code{inverse_background_color}. Modifies the \code{.title-slide} class.}


\item{title_slide_background_image}{Title Slide Background Image URL. Defaults to NA. Modifies the \code{.title-slide} class.}
\item{title_slide_background_image}{Title Slide Background Image URL. Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}


\item{title_slide_background_size}{Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the \code{.title-slide} class.}
\item{title_slide_background_size}{Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}


\item{title_slide_background_position}{Title Slide Background Image Position. Defaults to NA. Modifies the \code{.title-slide} class.}
\item{title_slide_background_position}{Title Slide Background Image Position. Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}


\item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}). Defaults to NA. Modifies the \code{.footnote} class.}
\item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}). Defaults to \code{NULL}. Modifies the \code{.footnote} class.}


\item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies the \code{.footnote} class.} \item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies the \code{.footnote} class.}



+ 16
- 15
man/write_xaringan_theme.Rd Ver fichero

\usage{ \usage{
write_xaringan_theme(text_color = "#000", header_color = "#000", write_xaringan_theme(text_color = "#000", header_color = "#000",
background_color = "#FFF", link_color = "rgb(249, 38, 114)", background_color = "#FFF", link_color = "rgb(249, 38, 114)",
text_bold_color = NA,
text_bold_color = NULL,
text_slide_number_color = inverse_background_color, text_slide_number_color = inverse_background_color,
padding = "1em 4em 1em 4em", background_image = NA,
background_size = NA, background_position = NA,
padding = "1em 4em 1em 4em", background_image = NULL,
background_size = NULL, background_position = NULL,
code_highlight_color = "rgba(255,255,0,0.5)", code_highlight_color = "rgba(255,255,0,0.5)",
code_inline_color = "#000", code_inline_background_color = NA,
code_inline_color = "#000", code_inline_background_color = NULL,
code_inline_font_size = "1em", inverse_background_color = "#272822", code_inline_font_size = "1em", inverse_background_color = "#272822",
inverse_text_color = "#d6d6d6", inverse_text_shadow = FALSE, inverse_text_color = "#d6d6d6", inverse_text_shadow = FALSE,
inverse_header_color = "#f3f3f3", inverse_header_color = "#f3f3f3",
title_slide_text_color = inverse_text_color, title_slide_text_color = inverse_text_color,
title_slide_background_color = inverse_background_color, title_slide_background_color = inverse_background_color,
title_slide_background_image = NA, title_slide_background_size = NA,
title_slide_background_position = NA, footnote_color = NA,
title_slide_background_image = NULL,
title_slide_background_size = NULL,
title_slide_background_position = NULL, footnote_color = NULL,
footnote_font_size = "0.9em", footnote_position_bottom = "3em", footnote_font_size = "0.9em", footnote_position_bottom = "3em",
left_column_subtle_color = "#777", left_column_subtle_color = "#777",
left_column_selected_color = "#000", left_column_selected_color = "#000",


\item{link_color}{Link Color. Defaults to rgb(249, 38, 114). Modifies the \code{a, a > code} elements.} \item{link_color}{Link Color. Defaults to rgb(249, 38, 114). Modifies the \code{a, a > code} elements.}


\item{text_bold_color}{Bold Text Color. Defaults to NA. Modifies the \code{strong} element.}
\item{text_bold_color}{Bold Text Color. Defaults to \code{NULL}. Modifies the \code{strong} element.}


\item{text_slide_number_color}{Slide Number Color. Defaults to \code{inverse_background_color}. Modifies the \code{.remark-slide-number} class.} \item{text_slide_number_color}{Slide Number Color. Defaults to \code{inverse_background_color}. Modifies the \code{.remark-slide-number} class.}


\item{padding}{Slide Padding in \code{top right [bottom left]} format. Defaults to 1em 4em 1em 4em. Modifies the \code{.remark-slide-content} class.} \item{padding}{Slide Padding in \code{top right [bottom left]} format. Defaults to 1em 4em 1em 4em. Modifies the \code{.remark-slide-content} class.}


\item{background_image}{Background image applied to each \emph{and every} slide. Set \code{title_slide_background_image = "none"} to remove the background image from the title slide.. Defaults to NA. Modifies the \code{.remark-slide-content} class.}
\item{background_image}{Background image applied to each \emph{and every} slide. Set \code{title_slide_background_image = "none"} to remove the background image from the title slide.. Defaults to \code{NULL}. Modifies the \code{.remark-slide-content} class.}


\item{background_size}{Background image size, requires \code{background_image} to be set. If \code{background_image} is set, \code{background_size} will default to \code{cover} so the backround fills the screen. If both \code{background_image} and \code{background_position} are set, will default to 100 percent.. Defaults to NA. Modifies the \code{.remark-slide-content} class.}
\item{background_size}{Background image size, requires \code{background_image} to be set. If \code{background_image} is set, \code{background_size} will default to \code{cover} so the backround fills the screen. If both \code{background_image} and \code{background_position} are set, will default to 100 percent.. Defaults to \code{NULL}. Modifies the \code{.remark-slide-content} class.}


\item{background_position}{Background image position, requires \code{background_image} to be set, and it is recommended to adjust \code{background_size}.. Defaults to NA. Modifies the \code{.remark-slide-content} class.}
\item{background_position}{Background image position, requires \code{background_image} to be set, and it is recommended to adjust \code{background_size}.. Defaults to \code{NULL}. Modifies the \code{.remark-slide-content} class.}


\item{code_highlight_color}{Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.} \item{code_highlight_color}{Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.}


\item{code_inline_color}{Inline Code Color. Defaults to #000. Modifies the \code{.remark-inline-code} class.} \item{code_inline_color}{Inline Code Color. Defaults to #000. Modifies the \code{.remark-inline-code} class.}


\item{code_inline_background_color}{Inline Code Background Color. Defaults to NA. Modifies the \code{.remark-inline-code} class.}
\item{code_inline_background_color}{Inline Code Background Color. Defaults to \code{NULL}. Modifies the \code{.remark-inline-code} class.}


\item{code_inline_font_size}{Inline Code Text Font Size. Defaults to 1em. Modifies the \code{.remark-inline-code} class.} \item{code_inline_font_size}{Inline Code Text Font Size. Defaults to 1em. Modifies the \code{.remark-inline-code} class.}




\item{title_slide_background_color}{Title Slide Background Color. Defaults to \code{inverse_background_color}. Modifies the \code{.title-slide} class.} \item{title_slide_background_color}{Title Slide Background Color. Defaults to \code{inverse_background_color}. Modifies the \code{.title-slide} class.}


\item{title_slide_background_image}{Title Slide Background Image URL. Defaults to NA. Modifies the \code{.title-slide} class.}
\item{title_slide_background_image}{Title Slide Background Image URL. Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}


\item{title_slide_background_size}{Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the \code{.title-slide} class.}
\item{title_slide_background_size}{Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}


\item{title_slide_background_position}{Title Slide Background Image Position. Defaults to NA. Modifies the \code{.title-slide} class.}
\item{title_slide_background_position}{Title Slide Background Image Position. Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}


\item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}). Defaults to NA. Modifies the \code{.footnote} class.}
\item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}). Defaults to \code{NULL}. Modifies the \code{.footnote} class.}


\item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies the \code{.footnote} class.} \item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies the \code{.footnote} class.}



Cargando…
Cancelar
Guardar