Explorar el Código

Document the CSS property accepted by the various arguments

Closes #33
tags/v0.3.0
Garrick Aden-Buie hace 6 años
padre
commit
e883552cd2
Se han modificado 25 ficheros con 1294 adiciones y 634 borrados
  1. +62
    -31
      R/style_duo.R
  2. +62
    -31
      R/style_duo_accent.R
  3. +62
    -31
      R/style_duo_accent_inverse.R
  4. +62
    -31
      R/style_mono_accent.R
  5. +62
    -31
      R/style_mono_accent_inverse.R
  6. +62
    -31
      R/style_mono_dark.R
  7. +62
    -31
      R/style_mono_light.R
  8. +62
    -31
      R/style_solarized_dark.R
  9. +62
    -31
      R/style_solarized_light.R
  10. +62
    -31
      R/style_xaringan.R
  11. BIN
      R/sysdata.rda
  12. +9
    -0
      R/utils_theme-gen.R
  13. +31
    -2
      data-raw/theme_template_variables.R
  14. +1
    -0
      inst/scripts/generate_theme_functions.R
  15. +63
    -32
      man/style_duo.Rd
  16. +63
    -32
      man/style_duo_accent.Rd
  17. +63
    -32
      man/style_duo_accent_inverse.Rd
  18. +63
    -32
      man/style_mono_accent.Rd
  19. +63
    -32
      man/style_mono_accent_inverse.Rd
  20. +63
    -32
      man/style_mono_dark.Rd
  21. +63
    -32
      man/style_mono_light.Rd
  22. +63
    -32
      man/style_solarized_dark.Rd
  23. +63
    -32
      man/style_solarized_light.Rd
  24. +63
    -32
      man/style_xaringan.Rd
  25. +3
    -2
      vignettes/template-variables.Rmd

+ 62
- 31
R/style_duo.R Ver fichero

@@ -34,6 +34,9 @@
#' Modifies the `.remark-slide-number` class.
#' @param padding Slide Padding in `top right [bottom left]` format. Defaults
#' to 16px 64px 16px 64px. Modifies the `.remark-slide-content` class.
#' Accepts CSS
#' [padding](https://developer.mozilla.org/en-US/docs/Web/CSS/padding)
#' property values.
#' @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
@@ -42,11 +45,15 @@
#' 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.
#' `NULL`. Modifies the `.remark-slide-content` class. Accepts CSS
#' [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)
#' property values.
#' @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.
#' `.remark-slide-content` class. Accepts CSS
#' [background-position](https://developer.mozilla.org/en-US/docs/Web/CSS/background-position)
#' property values.
#' @param code_highlight_color Code Line Highlight. Defaults to
#' rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class.
#' The value of this variable is also stored as a CSS variable that can be
@@ -57,10 +64,11 @@
#' @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. The value of this variable is
#' also stored as a CSS variable that can be referenced with
#' `var(--code-inline-font-size)` in any argument of a style function or in
#' custom CSS.
#' Modifies the `.remark-inline-code` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--code-inline-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param inverse_background_color Inverse Background Color. Defaults to
#' `secondary_color`. Modifies the `.inverse` class. The value of this
#' variable is also stored as a CSS variable that can be referenced with
@@ -91,16 +99,25 @@
#' 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.
#' Modifies the `.title-slide` class. Accepts CSS
#' [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)
#' property values.
#' @param title_slide_background_position Title Slide Background Image
#' Position. Defaults to `NULL`. Modifies the `.title-slide` class.
#' Position. Defaults to `NULL`. Modifies the `.title-slide` class. Accepts
#' CSS
#' [background-position](https://developer.mozilla.org/en-US/docs/Web/CSS/background-position)
#' property values.
#' @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.
#' the `.footnote` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values.
#' @param footnote_position_bottom Footnote location from bottom of screen.
#' Defaults to 60px. Modifies the `.footnote` class.
#' Defaults to 60px. Modifies the `.footnote` class. Accepts CSS
#' [position](https://developer.mozilla.org/en-US/docs/Web/CSS/position_value)
#' property values.
#' @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.
@@ -122,25 +139,29 @@
#' `var(--base-font-size)` in any argument of a style function or in custom
#' CSS.
#' @param text_font_size Slide Body Text Font Size. Defaults to 1rem. Modifies
#' the `.remark-slide-content` class. The value of this variable is also
#' stored as a CSS variable that can be referenced with
#' `var(--text-font-size)` in any argument of a style function or in custom
#' CSS.
#' the `.remark-slide-content` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--text-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param header_h1_font_size h1 Header Text Font Size. Defaults to 2.75rem.
#' Modifies the `.remark-slide-content h1` class. The value of this variable
#' is also stored as a CSS variable that can be referenced with
#' `var(--header-h1-font-size)` in any argument of a style function or in
#' custom CSS.
#' Modifies the `.remark-slide-content h1` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--header-h1-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param header_h2_font_size h2 Header Text Font Size. Defaults to 2.25rem.
#' Modifies the `.remark-slide-content h2` class. The value of this variable
#' is also stored as a CSS variable that can be referenced with
#' `var(--header-h2-font-size)` in any argument of a style function or in
#' custom CSS.
#' Modifies the `.remark-slide-content h2` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--header-h2-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param header_h3_font_size h3 Header Text Font Size. Defaults to 1.75rem.
#' Modifies the `.remark-slide-content h3` class. The value of this variable
#' is also stored as a CSS variable that can be referenced with
#' `var(--header-h3-font-size)` in any argument of a style function or in
#' custom CSS.
#' Modifies the `.remark-slide-content h3` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--header-h3-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param header_background_auto Add background under slide title automatically
#' for h1 header elements. If not enabled, use `class: header_background` to
#' enable. Defaults to `FALSE`.
@@ -157,7 +178,9 @@
#' `var(--header-background-text-color)` in any argument of a style function
#' or in custom CSS.
#' @param header_background_padding Padding for h1 Header with Background.
#' Defaults to `NULL`. Modifies the `.remark-slide-content h1` class.
#' Defaults to `NULL`. Modifies the `.remark-slide-content h1` class. Accepts
#' CSS [padding](https://developer.mozilla.org/en-US/docs/Web/CSS/padding)
#' property values.
#' @param header_background_content_padding_top Top Padding for Content in
#' Slide with Header with Background. Defaults to 7rem. Modifies the
#' `.remark-slide-content` class.
@@ -166,7 +189,9 @@
#' `c('normal', 'inverse', 'title', 'middle', 'bottom')`. Modifies the
#' `.remark-slide-content` class.
#' @param text_slide_number_font_size Slide Number Text Font Size. Defaults to
#' 0.9em. Modifies the `.remark-slide-number` class.
#' 0.9em. Modifies the `.remark-slide-number` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values.
#' @param text_font_google Use `google_font()` to specify body font. Defaults
#' to `NULL`. Modifies the `body` element.
#' @param text_font_family Body Text Font Family (xaringan default is
@@ -175,7 +200,9 @@
#' referenced with `var(--text-font-family)` in any argument of a style
#' function or in custom CSS.
#' @param text_font_weight Body Text Font Weight. Defaults to normal. Modifies
#' the `body` element.
#' the `body` element. Accepts CSS
#' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)
#' property values.
#' @param text_font_url Body Text Font URL(s). Defaults to
#' https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap.
#' Modifies the `@import url()` elements.
@@ -198,7 +225,9 @@
#' can be referenced with `var(--header-font-family)` in any argument of a
#' style function or in custom CSS.
#' @param header_font_weight Header Font Weight. Defaults to 600. Modifies the
#' `h1, h2, h3` elements.
#' `h1, h2, h3` elements. Accepts CSS
#' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)
#' property values.
#' @param header_font_url Header Font URL. Defaults to
#' https://fonts.googleapis.com/css?family=Cabin:600,600i&display=swap.
#' Modifies the `@import url` elements.
@@ -210,7 +239,9 @@
#' `var(--code-font-family)` in any argument of a style function or in custom
#' CSS.
#' @param code_font_size Code Text Font Size. Defaults to 0.9rem. Modifies the
#' `.remark-inline` class. The value of this variable is also stored as a CSS
#' `.remark-inline` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--code-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param code_font_url Code Font URL. Defaults to

+ 62
- 31
R/style_duo_accent.R Ver fichero

@@ -43,6 +43,9 @@
#' `primary_color`. Modifies the `.remark-slide-number` class.
#' @param padding Slide Padding in `top right [bottom left]` format. Defaults
#' to 16px 64px 16px 64px. Modifies the `.remark-slide-content` class.
#' Accepts CSS
#' [padding](https://developer.mozilla.org/en-US/docs/Web/CSS/padding)
#' property values.
#' @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
@@ -51,11 +54,15 @@
#' 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.
#' `NULL`. Modifies the `.remark-slide-content` class. Accepts CSS
#' [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)
#' property values.
#' @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.
#' `.remark-slide-content` class. Accepts CSS
#' [background-position](https://developer.mozilla.org/en-US/docs/Web/CSS/background-position)
#' property values.
#' @param code_highlight_color Code Line Highlight. Defaults to
#' rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class.
#' The value of this variable is also stored as a CSS variable that can be
@@ -67,10 +74,11 @@
#' @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. The value of this variable is
#' also stored as a CSS variable that can be referenced with
#' `var(--code-inline-font-size)` in any argument of a style function or in
#' custom CSS.
#' Modifies the `.remark-inline-code` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--code-inline-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param inverse_background_color Inverse Background Color. Defaults to
#' `secondary_color`. Modifies the `.inverse` class. The value of this
#' variable is also stored as a CSS variable that can be referenced with
@@ -103,16 +111,25 @@
#' 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.
#' Modifies the `.title-slide` class. Accepts CSS
#' [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)
#' property values.
#' @param title_slide_background_position Title Slide Background Image
#' Position. Defaults to `NULL`. Modifies the `.title-slide` class.
#' Position. Defaults to `NULL`. Modifies the `.title-slide` class. Accepts
#' CSS
#' [background-position](https://developer.mozilla.org/en-US/docs/Web/CSS/background-position)
#' property values.
#' @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.
#' the `.footnote` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values.
#' @param footnote_position_bottom Footnote location from bottom of screen.
#' Defaults to 60px. Modifies the `.footnote` class.
#' Defaults to 60px. Modifies the `.footnote` class. Accepts CSS
#' [position](https://developer.mozilla.org/en-US/docs/Web/CSS/position_value)
#' property values.
#' @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.
@@ -134,25 +151,29 @@
#' `var(--base-font-size)` in any argument of a style function or in custom
#' CSS.
#' @param text_font_size Slide Body Text Font Size. Defaults to 1rem. Modifies
#' the `.remark-slide-content` class. The value of this variable is also
#' stored as a CSS variable that can be referenced with
#' `var(--text-font-size)` in any argument of a style function or in custom
#' CSS.
#' the `.remark-slide-content` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--text-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param header_h1_font_size h1 Header Text Font Size. Defaults to 2.75rem.
#' Modifies the `.remark-slide-content h1` class. The value of this variable
#' is also stored as a CSS variable that can be referenced with
#' `var(--header-h1-font-size)` in any argument of a style function or in
#' custom CSS.
#' Modifies the `.remark-slide-content h1` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--header-h1-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param header_h2_font_size h2 Header Text Font Size. Defaults to 2.25rem.
#' Modifies the `.remark-slide-content h2` class. The value of this variable
#' is also stored as a CSS variable that can be referenced with
#' `var(--header-h2-font-size)` in any argument of a style function or in
#' custom CSS.
#' Modifies the `.remark-slide-content h2` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--header-h2-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param header_h3_font_size h3 Header Text Font Size. Defaults to 1.75rem.
#' Modifies the `.remark-slide-content h3` class. The value of this variable
#' is also stored as a CSS variable that can be referenced with
#' `var(--header-h3-font-size)` in any argument of a style function or in
#' custom CSS.
#' Modifies the `.remark-slide-content h3` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--header-h3-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param header_background_auto Add background under slide title automatically
#' for h1 header elements. If not enabled, use `class: header_background` to
#' enable. Defaults to `FALSE`.
@@ -169,7 +190,9 @@
#' `var(--header-background-text-color)` in any argument of a style function
#' or in custom CSS.
#' @param header_background_padding Padding for h1 Header with Background.
#' Defaults to `NULL`. Modifies the `.remark-slide-content h1` class.
#' Defaults to `NULL`. Modifies the `.remark-slide-content h1` class. Accepts
#' CSS [padding](https://developer.mozilla.org/en-US/docs/Web/CSS/padding)
#' property values.
#' @param header_background_content_padding_top Top Padding for Content in
#' Slide with Header with Background. Defaults to 7rem. Modifies the
#' `.remark-slide-content` class.
@@ -178,7 +201,9 @@
#' `c('normal', 'inverse', 'title', 'middle', 'bottom')`. Modifies the
#' `.remark-slide-content` class.
#' @param text_slide_number_font_size Slide Number Text Font Size. Defaults to
#' 0.9em. Modifies the `.remark-slide-number` class.
#' 0.9em. Modifies the `.remark-slide-number` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values.
#' @param text_font_google Use `google_font()` to specify body font. Defaults
#' to `NULL`. Modifies the `body` element.
#' @param text_font_family Body Text Font Family (xaringan default is
@@ -187,7 +212,9 @@
#' referenced with `var(--text-font-family)` in any argument of a style
#' function or in custom CSS.
#' @param text_font_weight Body Text Font Weight. Defaults to normal. Modifies
#' the `body` element.
#' the `body` element. Accepts CSS
#' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)
#' property values.
#' @param text_font_url Body Text Font URL(s). Defaults to
#' https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap.
#' Modifies the `@import url()` elements.
@@ -210,7 +237,9 @@
#' can be referenced with `var(--header-font-family)` in any argument of a
#' style function or in custom CSS.
#' @param header_font_weight Header Font Weight. Defaults to 600. Modifies the
#' `h1, h2, h3` elements.
#' `h1, h2, h3` elements. Accepts CSS
#' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)
#' property values.
#' @param header_font_url Header Font URL. Defaults to
#' https://fonts.googleapis.com/css?family=Cabin:600,600i&display=swap.
#' Modifies the `@import url` elements.
@@ -222,7 +251,9 @@
#' `var(--code-font-family)` in any argument of a style function or in custom
#' CSS.
#' @param code_font_size Code Text Font Size. Defaults to 0.9rem. Modifies the
#' `.remark-inline` class. The value of this variable is also stored as a CSS
#' `.remark-inline` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--code-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param code_font_url Code Font URL. Defaults to

+ 62
- 31
R/style_duo_accent_inverse.R Ver fichero

@@ -43,6 +43,9 @@
#' `primary_color`. Modifies the `.remark-slide-number` class.
#' @param padding Slide Padding in `top right [bottom left]` format. Defaults
#' to 16px 64px 16px 64px. Modifies the `.remark-slide-content` class.
#' Accepts CSS
#' [padding](https://developer.mozilla.org/en-US/docs/Web/CSS/padding)
#' property values.
#' @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
@@ -51,11 +54,15 @@
#' 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.
#' `NULL`. Modifies the `.remark-slide-content` class. Accepts CSS
#' [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)
#' property values.
#' @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.
#' `.remark-slide-content` class. Accepts CSS
#' [background-position](https://developer.mozilla.org/en-US/docs/Web/CSS/background-position)
#' property values.
#' @param code_highlight_color Code Line Highlight. Defaults to
#' rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class.
#' The value of this variable is also stored as a CSS variable that can be
@@ -67,10 +74,11 @@
#' @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. The value of this variable is
#' also stored as a CSS variable that can be referenced with
#' `var(--code-inline-font-size)` in any argument of a style function or in
#' custom CSS.
#' Modifies the `.remark-inline-code` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--code-inline-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param inverse_background_color Inverse Background Color. Defaults to
#' `secondary_color`. Modifies the `.inverse` class. The value of this
#' variable is also stored as a CSS variable that can be referenced with
@@ -103,16 +111,25 @@
#' 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.
#' Modifies the `.title-slide` class. Accepts CSS
#' [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)
#' property values.
#' @param title_slide_background_position Title Slide Background Image
#' Position. Defaults to `NULL`. Modifies the `.title-slide` class.
#' Position. Defaults to `NULL`. Modifies the `.title-slide` class. Accepts
#' CSS
#' [background-position](https://developer.mozilla.org/en-US/docs/Web/CSS/background-position)
#' property values.
#' @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.
#' the `.footnote` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values.
#' @param footnote_position_bottom Footnote location from bottom of screen.
#' Defaults to 60px. Modifies the `.footnote` class.
#' Defaults to 60px. Modifies the `.footnote` class. Accepts CSS
#' [position](https://developer.mozilla.org/en-US/docs/Web/CSS/position_value)
#' property values.
#' @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.
@@ -135,25 +152,29 @@
#' `var(--base-font-size)` in any argument of a style function or in custom
#' CSS.
#' @param text_font_size Slide Body Text Font Size. Defaults to 1rem. Modifies
#' the `.remark-slide-content` class. The value of this variable is also
#' stored as a CSS variable that can be referenced with
#' `var(--text-font-size)` in any argument of a style function or in custom
#' CSS.
#' the `.remark-slide-content` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--text-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param header_h1_font_size h1 Header Text Font Size. Defaults to 2.75rem.
#' Modifies the `.remark-slide-content h1` class. The value of this variable
#' is also stored as a CSS variable that can be referenced with
#' `var(--header-h1-font-size)` in any argument of a style function or in
#' custom CSS.
#' Modifies the `.remark-slide-content h1` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--header-h1-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param header_h2_font_size h2 Header Text Font Size. Defaults to 2.25rem.
#' Modifies the `.remark-slide-content h2` class. The value of this variable
#' is also stored as a CSS variable that can be referenced with
#' `var(--header-h2-font-size)` in any argument of a style function or in
#' custom CSS.
#' Modifies the `.remark-slide-content h2` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--header-h2-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param header_h3_font_size h3 Header Text Font Size. Defaults to 1.75rem.
#' Modifies the `.remark-slide-content h3` class. The value of this variable
#' is also stored as a CSS variable that can be referenced with
#' `var(--header-h3-font-size)` in any argument of a style function or in
#' custom CSS.
#' Modifies the `.remark-slide-content h3` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--header-h3-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param header_background_auto Add background under slide title automatically
#' for h1 header elements. If not enabled, use `class: header_background` to
#' enable. Defaults to `FALSE`.
@@ -170,7 +191,9 @@
#' `var(--header-background-text-color)` in any argument of a style function
#' or in custom CSS.
#' @param header_background_padding Padding for h1 Header with Background.
#' Defaults to `NULL`. Modifies the `.remark-slide-content h1` class.
#' Defaults to `NULL`. Modifies the `.remark-slide-content h1` class. Accepts
#' CSS [padding](https://developer.mozilla.org/en-US/docs/Web/CSS/padding)
#' property values.
#' @param header_background_content_padding_top Top Padding for Content in
#' Slide with Header with Background. Defaults to 7rem. Modifies the
#' `.remark-slide-content` class.
@@ -179,7 +202,9 @@
#' `c('normal', 'inverse', 'title', 'middle', 'bottom')`. Modifies the
#' `.remark-slide-content` class.
#' @param text_slide_number_font_size Slide Number Text Font Size. Defaults to
#' 0.9em. Modifies the `.remark-slide-number` class.
#' 0.9em. Modifies the `.remark-slide-number` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values.
#' @param text_font_google Use `google_font()` to specify body font. Defaults
#' to `NULL`. Modifies the `body` element.
#' @param text_font_family Body Text Font Family (xaringan default is
@@ -188,7 +213,9 @@
#' referenced with `var(--text-font-family)` in any argument of a style
#' function or in custom CSS.
#' @param text_font_weight Body Text Font Weight. Defaults to normal. Modifies
#' the `body` element.
#' the `body` element. Accepts CSS
#' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)
#' property values.
#' @param text_font_url Body Text Font URL(s). Defaults to
#' https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap.
#' Modifies the `@import url()` elements.
@@ -211,7 +238,9 @@
#' can be referenced with `var(--header-font-family)` in any argument of a
#' style function or in custom CSS.
#' @param header_font_weight Header Font Weight. Defaults to 600. Modifies the
#' `h1, h2, h3` elements.
#' `h1, h2, h3` elements. Accepts CSS
#' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)
#' property values.
#' @param header_font_url Header Font URL. Defaults to
#' https://fonts.googleapis.com/css?family=Cabin:600,600i&display=swap.
#' Modifies the `@import url` elements.
@@ -223,7 +252,9 @@
#' `var(--code-font-family)` in any argument of a style function or in custom
#' CSS.
#' @param code_font_size Code Text Font Size. Defaults to 0.9rem. Modifies the
#' `.remark-inline` class. The value of this variable is also stored as a CSS
#' `.remark-inline` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--code-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param code_font_url Code Font URL. Defaults to

+ 62
- 31
R/style_mono_accent.R Ver fichero

@@ -37,6 +37,9 @@
#' Modifies the `.remark-slide-number` class.
#' @param padding Slide Padding in `top right [bottom left]` format. Defaults
#' to 16px 64px 16px 64px. Modifies the `.remark-slide-content` class.
#' Accepts CSS
#' [padding](https://developer.mozilla.org/en-US/docs/Web/CSS/padding)
#' property values.
#' @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
@@ -45,11 +48,15 @@
#' 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.
#' `NULL`. Modifies the `.remark-slide-content` class. Accepts CSS
#' [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)
#' property values.
#' @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.
#' `.remark-slide-content` class. Accepts CSS
#' [background-position](https://developer.mozilla.org/en-US/docs/Web/CSS/background-position)
#' property values.
#' @param code_highlight_color Code Line Highlight. Defaults to
#' rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class.
#' The value of this variable is also stored as a CSS variable that can be
@@ -60,10 +67,11 @@
#' @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. The value of this variable is
#' also stored as a CSS variable that can be referenced with
#' `var(--code-inline-font-size)` in any argument of a style function or in
#' custom CSS.
#' Modifies the `.remark-inline-code` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--code-inline-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param inverse_background_color Inverse Background Color. Defaults to
#' `base_color`. Modifies the `.inverse` class. The value of this variable is
#' also stored as a CSS variable that can be referenced with
@@ -94,16 +102,25 @@
#' 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.
#' Modifies the `.title-slide` class. Accepts CSS
#' [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)
#' property values.
#' @param title_slide_background_position Title Slide Background Image
#' Position. Defaults to `NULL`. Modifies the `.title-slide` class.
#' Position. Defaults to `NULL`. Modifies the `.title-slide` class. Accepts
#' CSS
#' [background-position](https://developer.mozilla.org/en-US/docs/Web/CSS/background-position)
#' property values.
#' @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.
#' the `.footnote` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values.
#' @param footnote_position_bottom Footnote location from bottom of screen.
#' Defaults to 60px. Modifies the `.footnote` class.
#' Defaults to 60px. Modifies the `.footnote` class. Accepts CSS
#' [position](https://developer.mozilla.org/en-US/docs/Web/CSS/position_value)
#' property values.
#' @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.
@@ -125,25 +142,29 @@
#' `var(--base-font-size)` in any argument of a style function or in custom
#' CSS.
#' @param text_font_size Slide Body Text Font Size. Defaults to 1rem. Modifies
#' the `.remark-slide-content` class. The value of this variable is also
#' stored as a CSS variable that can be referenced with
#' `var(--text-font-size)` in any argument of a style function or in custom
#' CSS.
#' the `.remark-slide-content` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--text-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param header_h1_font_size h1 Header Text Font Size. Defaults to 2.75rem.
#' Modifies the `.remark-slide-content h1` class. The value of this variable
#' is also stored as a CSS variable that can be referenced with
#' `var(--header-h1-font-size)` in any argument of a style function or in
#' custom CSS.
#' Modifies the `.remark-slide-content h1` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--header-h1-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param header_h2_font_size h2 Header Text Font Size. Defaults to 2.25rem.
#' Modifies the `.remark-slide-content h2` class. The value of this variable
#' is also stored as a CSS variable that can be referenced with
#' `var(--header-h2-font-size)` in any argument of a style function or in
#' custom CSS.
#' Modifies the `.remark-slide-content h2` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--header-h2-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param header_h3_font_size h3 Header Text Font Size. Defaults to 1.75rem.
#' Modifies the `.remark-slide-content h3` class. The value of this variable
#' is also stored as a CSS variable that can be referenced with
#' `var(--header-h3-font-size)` in any argument of a style function or in
#' custom CSS.
#' Modifies the `.remark-slide-content h3` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--header-h3-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param header_background_auto Add background under slide title automatically
#' for h1 header elements. If not enabled, use `class: header_background` to
#' enable. Defaults to `FALSE`.
@@ -160,7 +181,9 @@
#' `var(--header-background-text-color)` in any argument of a style function
#' or in custom CSS.
#' @param header_background_padding Padding for h1 Header with Background.
#' Defaults to `NULL`. Modifies the `.remark-slide-content h1` class.
#' Defaults to `NULL`. Modifies the `.remark-slide-content h1` class. Accepts
#' CSS [padding](https://developer.mozilla.org/en-US/docs/Web/CSS/padding)
#' property values.
#' @param header_background_content_padding_top Top Padding for Content in
#' Slide with Header with Background. Defaults to 7rem. Modifies the
#' `.remark-slide-content` class.
@@ -169,7 +192,9 @@
#' `c('normal', 'inverse', 'title', 'middle', 'bottom')`. Modifies the
#' `.remark-slide-content` class.
#' @param text_slide_number_font_size Slide Number Text Font Size. Defaults to
#' 0.9em. Modifies the `.remark-slide-number` class.
#' 0.9em. Modifies the `.remark-slide-number` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values.
#' @param text_font_google Use `google_font()` to specify body font. Defaults
#' to `NULL`. Modifies the `body` element.
#' @param text_font_family Body Text Font Family (xaringan default is
@@ -178,7 +203,9 @@
#' referenced with `var(--text-font-family)` in any argument of a style
#' function or in custom CSS.
#' @param text_font_weight Body Text Font Weight. Defaults to normal. Modifies
#' the `body` element.
#' the `body` element. Accepts CSS
#' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)
#' property values.
#' @param text_font_url Body Text Font URL(s). Defaults to
#' https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap.
#' Modifies the `@import url()` elements.
@@ -201,7 +228,9 @@
#' can be referenced with `var(--header-font-family)` in any argument of a
#' style function or in custom CSS.
#' @param header_font_weight Header Font Weight. Defaults to 600. Modifies the
#' `h1, h2, h3` elements.
#' `h1, h2, h3` elements. Accepts CSS
#' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)
#' property values.
#' @param header_font_url Header Font URL. Defaults to
#' https://fonts.googleapis.com/css?family=Cabin:600,600i&display=swap.
#' Modifies the `@import url` elements.
@@ -213,7 +242,9 @@
#' `var(--code-font-family)` in any argument of a style function or in custom
#' CSS.
#' @param code_font_size Code Text Font Size. Defaults to 0.9rem. Modifies the
#' `.remark-inline` class. The value of this variable is also stored as a CSS
#' `.remark-inline` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--code-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param code_font_url Code Font URL. Defaults to

+ 62
- 31
R/style_mono_accent_inverse.R Ver fichero

@@ -38,6 +38,9 @@
#' Modifies the `.remark-slide-number` class.
#' @param padding Slide Padding in `top right [bottom left]` format. Defaults
#' to 16px 64px 16px 64px. Modifies the `.remark-slide-content` class.
#' Accepts CSS
#' [padding](https://developer.mozilla.org/en-US/docs/Web/CSS/padding)
#' property values.
#' @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
@@ -46,11 +49,15 @@
#' 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.
#' `NULL`. Modifies the `.remark-slide-content` class. Accepts CSS
#' [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)
#' property values.
#' @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.
#' `.remark-slide-content` class. Accepts CSS
#' [background-position](https://developer.mozilla.org/en-US/docs/Web/CSS/background-position)
#' property values.
#' @param code_highlight_color Code Line Highlight. Defaults to
#' rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class.
#' The value of this variable is also stored as a CSS variable that can be
@@ -61,10 +68,11 @@
#' @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. The value of this variable is
#' also stored as a CSS variable that can be referenced with
#' `var(--code-inline-font-size)` in any argument of a style function or in
#' custom CSS.
#' Modifies the `.remark-inline-code` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--code-inline-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param inverse_background_color Inverse Background Color. Defaults to
#' `base_color`. Modifies the `.inverse` class. The value of this variable is
#' also stored as a CSS variable that can be referenced with
@@ -95,16 +103,25 @@
#' 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.
#' Modifies the `.title-slide` class. Accepts CSS
#' [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)
#' property values.
#' @param title_slide_background_position Title Slide Background Image
#' Position. Defaults to `NULL`. Modifies the `.title-slide` class.
#' Position. Defaults to `NULL`. Modifies the `.title-slide` class. Accepts
#' CSS
#' [background-position](https://developer.mozilla.org/en-US/docs/Web/CSS/background-position)
#' property values.
#' @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.
#' the `.footnote` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values.
#' @param footnote_position_bottom Footnote location from bottom of screen.
#' Defaults to 60px. Modifies the `.footnote` class.
#' Defaults to 60px. Modifies the `.footnote` class. Accepts CSS
#' [position](https://developer.mozilla.org/en-US/docs/Web/CSS/position_value)
#' property values.
#' @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.
@@ -126,25 +143,29 @@
#' `var(--base-font-size)` in any argument of a style function or in custom
#' CSS.
#' @param text_font_size Slide Body Text Font Size. Defaults to 1rem. Modifies
#' the `.remark-slide-content` class. The value of this variable is also
#' stored as a CSS variable that can be referenced with
#' `var(--text-font-size)` in any argument of a style function or in custom
#' CSS.
#' the `.remark-slide-content` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--text-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param header_h1_font_size h1 Header Text Font Size. Defaults to 2.75rem.
#' Modifies the `.remark-slide-content h1` class. The value of this variable
#' is also stored as a CSS variable that can be referenced with
#' `var(--header-h1-font-size)` in any argument of a style function or in
#' custom CSS.
#' Modifies the `.remark-slide-content h1` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--header-h1-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param header_h2_font_size h2 Header Text Font Size. Defaults to 2.25rem.
#' Modifies the `.remark-slide-content h2` class. The value of this variable
#' is also stored as a CSS variable that can be referenced with
#' `var(--header-h2-font-size)` in any argument of a style function or in
#' custom CSS.
#' Modifies the `.remark-slide-content h2` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--header-h2-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param header_h3_font_size h3 Header Text Font Size. Defaults to 1.75rem.
#' Modifies the `.remark-slide-content h3` class. The value of this variable
#' is also stored as a CSS variable that can be referenced with
#' `var(--header-h3-font-size)` in any argument of a style function or in
#' custom CSS.
#' Modifies the `.remark-slide-content h3` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--header-h3-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param header_background_auto Add background under slide title automatically
#' for h1 header elements. If not enabled, use `class: header_background` to
#' enable. Defaults to `FALSE`.
@@ -161,7 +182,9 @@
#' `var(--header-background-text-color)` in any argument of a style function
#' or in custom CSS.
#' @param header_background_padding Padding for h1 Header with Background.
#' Defaults to `NULL`. Modifies the `.remark-slide-content h1` class.
#' Defaults to `NULL`. Modifies the `.remark-slide-content h1` class. Accepts
#' CSS [padding](https://developer.mozilla.org/en-US/docs/Web/CSS/padding)
#' property values.
#' @param header_background_content_padding_top Top Padding for Content in
#' Slide with Header with Background. Defaults to 7rem. Modifies the
#' `.remark-slide-content` class.
@@ -170,7 +193,9 @@
#' `c('normal', 'inverse', 'title', 'middle', 'bottom')`. Modifies the
#' `.remark-slide-content` class.
#' @param text_slide_number_font_size Slide Number Text Font Size. Defaults to
#' 0.9em. Modifies the `.remark-slide-number` class.
#' 0.9em. Modifies the `.remark-slide-number` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values.
#' @param text_font_google Use `google_font()` to specify body font. Defaults
#' to `NULL`. Modifies the `body` element.
#' @param text_font_family Body Text Font Family (xaringan default is
@@ -179,7 +204,9 @@
#' referenced with `var(--text-font-family)` in any argument of a style
#' function or in custom CSS.
#' @param text_font_weight Body Text Font Weight. Defaults to normal. Modifies
#' the `body` element.
#' the `body` element. Accepts CSS
#' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)
#' property values.
#' @param text_font_url Body Text Font URL(s). Defaults to
#' https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap.
#' Modifies the `@import url()` elements.
@@ -202,7 +229,9 @@
#' can be referenced with `var(--header-font-family)` in any argument of a
#' style function or in custom CSS.
#' @param header_font_weight Header Font Weight. Defaults to 600. Modifies the
#' `h1, h2, h3` elements.
#' `h1, h2, h3` elements. Accepts CSS
#' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)
#' property values.
#' @param header_font_url Header Font URL. Defaults to
#' https://fonts.googleapis.com/css?family=Cabin:600,600i&display=swap.
#' Modifies the `@import url` elements.
@@ -214,7 +243,9 @@
#' `var(--code-font-family)` in any argument of a style function or in custom
#' CSS.
#' @param code_font_size Code Text Font Size. Defaults to 0.9rem. Modifies the
#' `.remark-inline` class. The value of this variable is also stored as a CSS
#' `.remark-inline` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--code-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param code_font_url Code Font URL. Defaults to

+ 62
- 31
R/style_mono_dark.R Ver fichero

@@ -39,6 +39,9 @@
#' Modifies the `.remark-slide-number` class.
#' @param padding Slide Padding in `top right [bottom left]` format. Defaults
#' to 16px 64px 16px 64px. Modifies the `.remark-slide-content` class.
#' Accepts CSS
#' [padding](https://developer.mozilla.org/en-US/docs/Web/CSS/padding)
#' property values.
#' @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
@@ -47,11 +50,15 @@
#' 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.
#' `NULL`. Modifies the `.remark-slide-content` class. Accepts CSS
#' [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)
#' property values.
#' @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.
#' `.remark-slide-content` class. Accepts CSS
#' [background-position](https://developer.mozilla.org/en-US/docs/Web/CSS/background-position)
#' property values.
#' @param code_highlight_color Code Line Highlight. Defaults to
#' rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class.
#' The value of this variable is also stored as a CSS variable that can be
@@ -62,10 +69,11 @@
#' @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. The value of this variable is
#' also stored as a CSS variable that can be referenced with
#' `var(--code-inline-font-size)` in any argument of a style function or in
#' custom CSS.
#' Modifies the `.remark-inline-code` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--code-inline-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param inverse_background_color Inverse Background Color. Defaults to
#' `base_color`. Modifies the `.inverse` class. The value of this variable is
#' also stored as a CSS variable that can be referenced with
@@ -96,16 +104,25 @@
#' 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.
#' Modifies the `.title-slide` class. Accepts CSS
#' [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)
#' property values.
#' @param title_slide_background_position Title Slide Background Image
#' Position. Defaults to `NULL`. Modifies the `.title-slide` class.
#' Position. Defaults to `NULL`. Modifies the `.title-slide` class. Accepts
#' CSS
#' [background-position](https://developer.mozilla.org/en-US/docs/Web/CSS/background-position)
#' property values.
#' @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.
#' the `.footnote` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values.
#' @param footnote_position_bottom Footnote location from bottom of screen.
#' Defaults to 60px. Modifies the `.footnote` class.
#' Defaults to 60px. Modifies the `.footnote` class. Accepts CSS
#' [position](https://developer.mozilla.org/en-US/docs/Web/CSS/position_value)
#' property values.
#' @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.
@@ -127,25 +144,29 @@
#' `var(--base-font-size)` in any argument of a style function or in custom
#' CSS.
#' @param text_font_size Slide Body Text Font Size. Defaults to 1rem. Modifies
#' the `.remark-slide-content` class. The value of this variable is also
#' stored as a CSS variable that can be referenced with
#' `var(--text-font-size)` in any argument of a style function or in custom
#' CSS.
#' the `.remark-slide-content` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--text-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param header_h1_font_size h1 Header Text Font Size. Defaults to 2.75rem.
#' Modifies the `.remark-slide-content h1` class. The value of this variable
#' is also stored as a CSS variable that can be referenced with
#' `var(--header-h1-font-size)` in any argument of a style function or in
#' custom CSS.
#' Modifies the `.remark-slide-content h1` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--header-h1-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param header_h2_font_size h2 Header Text Font Size. Defaults to 2.25rem.
#' Modifies the `.remark-slide-content h2` class. The value of this variable
#' is also stored as a CSS variable that can be referenced with
#' `var(--header-h2-font-size)` in any argument of a style function or in
#' custom CSS.
#' Modifies the `.remark-slide-content h2` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--header-h2-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param header_h3_font_size h3 Header Text Font Size. Defaults to 1.75rem.
#' Modifies the `.remark-slide-content h3` class. The value of this variable
#' is also stored as a CSS variable that can be referenced with
#' `var(--header-h3-font-size)` in any argument of a style function or in
#' custom CSS.
#' Modifies the `.remark-slide-content h3` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--header-h3-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param header_background_auto Add background under slide title automatically
#' for h1 header elements. If not enabled, use `class: header_background` to
#' enable. Defaults to `FALSE`.
@@ -162,7 +183,9 @@
#' `var(--header-background-text-color)` in any argument of a style function
#' or in custom CSS.
#' @param header_background_padding Padding for h1 Header with Background.
#' Defaults to `NULL`. Modifies the `.remark-slide-content h1` class.
#' Defaults to `NULL`. Modifies the `.remark-slide-content h1` class. Accepts
#' CSS [padding](https://developer.mozilla.org/en-US/docs/Web/CSS/padding)
#' property values.
#' @param header_background_content_padding_top Top Padding for Content in
#' Slide with Header with Background. Defaults to 7rem. Modifies the
#' `.remark-slide-content` class.
@@ -171,7 +194,9 @@
#' `c('normal', 'inverse', 'title', 'middle', 'bottom')`. Modifies the
#' `.remark-slide-content` class.
#' @param text_slide_number_font_size Slide Number Text Font Size. Defaults to
#' 0.9em. Modifies the `.remark-slide-number` class.
#' 0.9em. Modifies the `.remark-slide-number` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values.
#' @param text_font_google Use `google_font()` to specify body font. Defaults
#' to `NULL`. Modifies the `body` element.
#' @param text_font_family Body Text Font Family (xaringan default is
@@ -180,7 +205,9 @@
#' referenced with `var(--text-font-family)` in any argument of a style
#' function or in custom CSS.
#' @param text_font_weight Body Text Font Weight. Defaults to normal. Modifies
#' the `body` element.
#' the `body` element. Accepts CSS
#' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)
#' property values.
#' @param text_font_url Body Text Font URL(s). Defaults to
#' https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap.
#' Modifies the `@import url()` elements.
@@ -203,7 +230,9 @@
#' can be referenced with `var(--header-font-family)` in any argument of a
#' style function or in custom CSS.
#' @param header_font_weight Header Font Weight. Defaults to 600. Modifies the
#' `h1, h2, h3` elements.
#' `h1, h2, h3` elements. Accepts CSS
#' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)
#' property values.
#' @param header_font_url Header Font URL. Defaults to
#' https://fonts.googleapis.com/css?family=Cabin:600,600i&display=swap.
#' Modifies the `@import url` elements.
@@ -215,7 +244,9 @@
#' `var(--code-font-family)` in any argument of a style function or in custom
#' CSS.
#' @param code_font_size Code Text Font Size. Defaults to 0.9rem. Modifies the
#' `.remark-inline` class. The value of this variable is also stored as a CSS
#' `.remark-inline` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--code-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param code_font_url Code Font URL. Defaults to

+ 62
- 31
R/style_mono_light.R Ver fichero

@@ -39,6 +39,9 @@
#' Modifies the `.remark-slide-number` class.
#' @param padding Slide Padding in `top right [bottom left]` format. Defaults
#' to 16px 64px 16px 64px. Modifies the `.remark-slide-content` class.
#' Accepts CSS
#' [padding](https://developer.mozilla.org/en-US/docs/Web/CSS/padding)
#' property values.
#' @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
@@ -47,11 +50,15 @@
#' 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.
#' `NULL`. Modifies the `.remark-slide-content` class. Accepts CSS
#' [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)
#' property values.
#' @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.
#' `.remark-slide-content` class. Accepts CSS
#' [background-position](https://developer.mozilla.org/en-US/docs/Web/CSS/background-position)
#' property values.
#' @param code_highlight_color Code Line Highlight. Defaults to
#' rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class.
#' The value of this variable is also stored as a CSS variable that can be
@@ -62,10 +69,11 @@
#' @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. The value of this variable is
#' also stored as a CSS variable that can be referenced with
#' `var(--code-inline-font-size)` in any argument of a style function or in
#' custom CSS.
#' Modifies the `.remark-inline-code` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--code-inline-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param inverse_background_color Inverse Background Color. Defaults to
#' `base_color`. Modifies the `.inverse` class. The value of this variable is
#' also stored as a CSS variable that can be referenced with
@@ -96,16 +104,25 @@
#' 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.
#' Modifies the `.title-slide` class. Accepts CSS
#' [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)
#' property values.
#' @param title_slide_background_position Title Slide Background Image
#' Position. Defaults to `NULL`. Modifies the `.title-slide` class.
#' Position. Defaults to `NULL`. Modifies the `.title-slide` class. Accepts
#' CSS
#' [background-position](https://developer.mozilla.org/en-US/docs/Web/CSS/background-position)
#' property values.
#' @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.
#' the `.footnote` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values.
#' @param footnote_position_bottom Footnote location from bottom of screen.
#' Defaults to 60px. Modifies the `.footnote` class.
#' Defaults to 60px. Modifies the `.footnote` class. Accepts CSS
#' [position](https://developer.mozilla.org/en-US/docs/Web/CSS/position_value)
#' property values.
#' @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.
@@ -127,25 +144,29 @@
#' `var(--base-font-size)` in any argument of a style function or in custom
#' CSS.
#' @param text_font_size Slide Body Text Font Size. Defaults to 1rem. Modifies
#' the `.remark-slide-content` class. The value of this variable is also
#' stored as a CSS variable that can be referenced with
#' `var(--text-font-size)` in any argument of a style function or in custom
#' CSS.
#' the `.remark-slide-content` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--text-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param header_h1_font_size h1 Header Text Font Size. Defaults to 2.75rem.
#' Modifies the `.remark-slide-content h1` class. The value of this variable
#' is also stored as a CSS variable that can be referenced with
#' `var(--header-h1-font-size)` in any argument of a style function or in
#' custom CSS.
#' Modifies the `.remark-slide-content h1` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--header-h1-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param header_h2_font_size h2 Header Text Font Size. Defaults to 2.25rem.
#' Modifies the `.remark-slide-content h2` class. The value of this variable
#' is also stored as a CSS variable that can be referenced with
#' `var(--header-h2-font-size)` in any argument of a style function or in
#' custom CSS.
#' Modifies the `.remark-slide-content h2` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--header-h2-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param header_h3_font_size h3 Header Text Font Size. Defaults to 1.75rem.
#' Modifies the `.remark-slide-content h3` class. The value of this variable
#' is also stored as a CSS variable that can be referenced with
#' `var(--header-h3-font-size)` in any argument of a style function or in
#' custom CSS.
#' Modifies the `.remark-slide-content h3` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--header-h3-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param header_background_auto Add background under slide title automatically
#' for h1 header elements. If not enabled, use `class: header_background` to
#' enable. Defaults to `FALSE`.
@@ -162,7 +183,9 @@
#' `var(--header-background-text-color)` in any argument of a style function
#' or in custom CSS.
#' @param header_background_padding Padding for h1 Header with Background.
#' Defaults to `NULL`. Modifies the `.remark-slide-content h1` class.
#' Defaults to `NULL`. Modifies the `.remark-slide-content h1` class. Accepts
#' CSS [padding](https://developer.mozilla.org/en-US/docs/Web/CSS/padding)
#' property values.
#' @param header_background_content_padding_top Top Padding for Content in
#' Slide with Header with Background. Defaults to 7rem. Modifies the
#' `.remark-slide-content` class.
@@ -171,7 +194,9 @@
#' `c('normal', 'inverse', 'title', 'middle', 'bottom')`. Modifies the
#' `.remark-slide-content` class.
#' @param text_slide_number_font_size Slide Number Text Font Size. Defaults to
#' 0.9em. Modifies the `.remark-slide-number` class.
#' 0.9em. Modifies the `.remark-slide-number` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values.
#' @param text_font_google Use `google_font()` to specify body font. Defaults
#' to `NULL`. Modifies the `body` element.
#' @param text_font_family Body Text Font Family (xaringan default is
@@ -180,7 +205,9 @@
#' referenced with `var(--text-font-family)` in any argument of a style
#' function or in custom CSS.
#' @param text_font_weight Body Text Font Weight. Defaults to normal. Modifies
#' the `body` element.
#' the `body` element. Accepts CSS
#' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)
#' property values.
#' @param text_font_url Body Text Font URL(s). Defaults to
#' https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap.
#' Modifies the `@import url()` elements.
@@ -203,7 +230,9 @@
#' can be referenced with `var(--header-font-family)` in any argument of a
#' style function or in custom CSS.
#' @param header_font_weight Header Font Weight. Defaults to 600. Modifies the
#' `h1, h2, h3` elements.
#' `h1, h2, h3` elements. Accepts CSS
#' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)
#' property values.
#' @param header_font_url Header Font URL. Defaults to
#' https://fonts.googleapis.com/css?family=Cabin:600,600i&display=swap.
#' Modifies the `@import url` elements.
@@ -215,7 +244,9 @@
#' `var(--code-font-family)` in any argument of a style function or in custom
#' CSS.
#' @param code_font_size Code Text Font Size. Defaults to 0.9rem. Modifies the
#' `.remark-inline` class. The value of this variable is also stored as a CSS
#' `.remark-inline` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--code-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param code_font_url Code Font URL. Defaults to

+ 62
- 31
R/style_solarized_dark.R Ver fichero

@@ -25,6 +25,9 @@
#' Modifies the `.remark-slide-number` class.
#' @param padding Slide Padding in `top right [bottom left]` format. Defaults
#' to 16px 64px 16px 64px. Modifies the `.remark-slide-content` class.
#' Accepts CSS
#' [padding](https://developer.mozilla.org/en-US/docs/Web/CSS/padding)
#' property values.
#' @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
@@ -33,11 +36,15 @@
#' 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.
#' `NULL`. Modifies the `.remark-slide-content` class. Accepts CSS
#' [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)
#' property values.
#' @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.
#' `.remark-slide-content` class. Accepts CSS
#' [background-position](https://developer.mozilla.org/en-US/docs/Web/CSS/background-position)
#' property values.
#' @param code_highlight_color Code Line Highlight. Defaults to #268bd240.
#' Modifies the `.remark-code-line-highlighted` class. The value of this
#' variable is also stored as a CSS variable that can be referenced with
@@ -48,10 +55,11 @@
#' @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. The value of this variable is
#' also stored as a CSS variable that can be referenced with
#' `var(--code-inline-font-size)` in any argument of a style function or in
#' custom CSS.
#' Modifies the `.remark-inline-code` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--code-inline-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param inverse_background_color Inverse Background Color. Defaults to
#' #fdf6e3. Modifies the `.inverse` class. The value of this variable is also
#' stored as a CSS variable that can be referenced with
@@ -82,16 +90,25 @@
#' 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.
#' Modifies the `.title-slide` class. Accepts CSS
#' [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)
#' property values.
#' @param title_slide_background_position Title Slide Background Image
#' Position. Defaults to `NULL`. Modifies the `.title-slide` class.
#' Position. Defaults to `NULL`. Modifies the `.title-slide` class. Accepts
#' CSS
#' [background-position](https://developer.mozilla.org/en-US/docs/Web/CSS/background-position)
#' property values.
#' @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.
#' the `.footnote` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values.
#' @param footnote_position_bottom Footnote location from bottom of screen.
#' Defaults to 60px. Modifies the `.footnote` class.
#' Defaults to 60px. Modifies the `.footnote` class. Accepts CSS
#' [position](https://developer.mozilla.org/en-US/docs/Web/CSS/position_value)
#' property values.
#' @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_selected_color Left Column Current Selection. Defaults to
@@ -112,25 +129,29 @@
#' `var(--base-font-size)` in any argument of a style function or in custom
#' CSS.
#' @param text_font_size Slide Body Text Font Size. Defaults to 1rem. Modifies
#' the `.remark-slide-content` class. The value of this variable is also
#' stored as a CSS variable that can be referenced with
#' `var(--text-font-size)` in any argument of a style function or in custom
#' CSS.
#' the `.remark-slide-content` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--text-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param header_h1_font_size h1 Header Text Font Size. Defaults to 2.75rem.
#' Modifies the `.remark-slide-content h1` class. The value of this variable
#' is also stored as a CSS variable that can be referenced with
#' `var(--header-h1-font-size)` in any argument of a style function or in
#' custom CSS.
#' Modifies the `.remark-slide-content h1` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--header-h1-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param header_h2_font_size h2 Header Text Font Size. Defaults to 2.25rem.
#' Modifies the `.remark-slide-content h2` class. The value of this variable
#' is also stored as a CSS variable that can be referenced with
#' `var(--header-h2-font-size)` in any argument of a style function or in
#' custom CSS.
#' Modifies the `.remark-slide-content h2` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--header-h2-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param header_h3_font_size h3 Header Text Font Size. Defaults to 1.75rem.
#' Modifies the `.remark-slide-content h3` class. The value of this variable
#' is also stored as a CSS variable that can be referenced with
#' `var(--header-h3-font-size)` in any argument of a style function or in
#' custom CSS.
#' Modifies the `.remark-slide-content h3` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--header-h3-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param header_background_auto Add background under slide title automatically
#' for h1 header elements. If not enabled, use `class: header_background` to
#' enable. Defaults to `FALSE`.
@@ -147,7 +168,9 @@
#' `var(--header-background-text-color)` in any argument of a style function
#' or in custom CSS.
#' @param header_background_padding Padding for h1 Header with Background.
#' Defaults to `NULL`. Modifies the `.remark-slide-content h1` class.
#' Defaults to `NULL`. Modifies the `.remark-slide-content h1` class. Accepts
#' CSS [padding](https://developer.mozilla.org/en-US/docs/Web/CSS/padding)
#' property values.
#' @param header_background_content_padding_top Top Padding for Content in
#' Slide with Header with Background. Defaults to 7rem. Modifies the
#' `.remark-slide-content` class.
@@ -156,7 +179,9 @@
#' `c('normal', 'inverse', 'title', 'middle', 'bottom')`. Modifies the
#' `.remark-slide-content` class.
#' @param text_slide_number_font_size Slide Number Text Font Size. Defaults to
#' 0.9em. Modifies the `.remark-slide-number` class.
#' 0.9em. Modifies the `.remark-slide-number` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values.
#' @param text_font_google Use `google_font()` to specify body font. Defaults
#' to `NULL`. Modifies the `body` element.
#' @param text_font_family Body Text Font Family (xaringan default is
@@ -165,7 +190,9 @@
#' referenced with `var(--text-font-family)` in any argument of a style
#' function or in custom CSS.
#' @param text_font_weight Body Text Font Weight. Defaults to normal. Modifies
#' the `body` element.
#' the `body` element. Accepts CSS
#' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)
#' property values.
#' @param text_font_url Body Text Font URL(s). Defaults to
#' https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap.
#' Modifies the `@import url()` elements.
@@ -188,7 +215,9 @@
#' can be referenced with `var(--header-font-family)` in any argument of a
#' style function or in custom CSS.
#' @param header_font_weight Header Font Weight. Defaults to 600. Modifies the
#' `h1, h2, h3` elements.
#' `h1, h2, h3` elements. Accepts CSS
#' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)
#' property values.
#' @param header_font_url Header Font URL. Defaults to
#' https://fonts.googleapis.com/css?family=Cabin:600,600i&display=swap.
#' Modifies the `@import url` elements.
@@ -200,7 +229,9 @@
#' `var(--code-font-family)` in any argument of a style function or in custom
#' CSS.
#' @param code_font_size Code Text Font Size. Defaults to 0.9rem. Modifies the
#' `.remark-inline` class. The value of this variable is also stored as a CSS
#' `.remark-inline` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--code-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param code_font_url Code Font URL. Defaults to

+ 62
- 31
R/style_solarized_light.R Ver fichero

@@ -25,6 +25,9 @@
#' Modifies the `.remark-slide-number` class.
#' @param padding Slide Padding in `top right [bottom left]` format. Defaults
#' to 16px 64px 16px 64px. Modifies the `.remark-slide-content` class.
#' Accepts CSS
#' [padding](https://developer.mozilla.org/en-US/docs/Web/CSS/padding)
#' property values.
#' @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
@@ -33,11 +36,15 @@
#' 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.
#' `NULL`. Modifies the `.remark-slide-content` class. Accepts CSS
#' [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)
#' property values.
#' @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.
#' `.remark-slide-content` class. Accepts CSS
#' [background-position](https://developer.mozilla.org/en-US/docs/Web/CSS/background-position)
#' property values.
#' @param code_highlight_color Code Line Highlight. Defaults to #268bd240.
#' Modifies the `.remark-code-line-highlighted` class. The value of this
#' variable is also stored as a CSS variable that can be referenced with
@@ -48,10 +55,11 @@
#' @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. The value of this variable is
#' also stored as a CSS variable that can be referenced with
#' `var(--code-inline-font-size)` in any argument of a style function or in
#' custom CSS.
#' Modifies the `.remark-inline-code` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--code-inline-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param inverse_background_color Inverse Background Color. Defaults to
#' #002b36. Modifies the `.inverse` class. The value of this variable is also
#' stored as a CSS variable that can be referenced with
@@ -82,16 +90,25 @@
#' 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.
#' Modifies the `.title-slide` class. Accepts CSS
#' [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)
#' property values.
#' @param title_slide_background_position Title Slide Background Image
#' Position. Defaults to `NULL`. Modifies the `.title-slide` class.
#' Position. Defaults to `NULL`. Modifies the `.title-slide` class. Accepts
#' CSS
#' [background-position](https://developer.mozilla.org/en-US/docs/Web/CSS/background-position)
#' property values.
#' @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.
#' the `.footnote` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values.
#' @param footnote_position_bottom Footnote location from bottom of screen.
#' Defaults to 60px. Modifies the `.footnote` class.
#' Defaults to 60px. Modifies the `.footnote` class. Accepts CSS
#' [position](https://developer.mozilla.org/en-US/docs/Web/CSS/position_value)
#' property values.
#' @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_selected_color Left Column Current Selection. Defaults to
@@ -112,25 +129,29 @@
#' `var(--base-font-size)` in any argument of a style function or in custom
#' CSS.
#' @param text_font_size Slide Body Text Font Size. Defaults to 1rem. Modifies
#' the `.remark-slide-content` class. The value of this variable is also
#' stored as a CSS variable that can be referenced with
#' `var(--text-font-size)` in any argument of a style function or in custom
#' CSS.
#' the `.remark-slide-content` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--text-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param header_h1_font_size h1 Header Text Font Size. Defaults to 2.75rem.
#' Modifies the `.remark-slide-content h1` class. The value of this variable
#' is also stored as a CSS variable that can be referenced with
#' `var(--header-h1-font-size)` in any argument of a style function or in
#' custom CSS.
#' Modifies the `.remark-slide-content h1` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--header-h1-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param header_h2_font_size h2 Header Text Font Size. Defaults to 2.25rem.
#' Modifies the `.remark-slide-content h2` class. The value of this variable
#' is also stored as a CSS variable that can be referenced with
#' `var(--header-h2-font-size)` in any argument of a style function or in
#' custom CSS.
#' Modifies the `.remark-slide-content h2` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--header-h2-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param header_h3_font_size h3 Header Text Font Size. Defaults to 1.75rem.
#' Modifies the `.remark-slide-content h3` class. The value of this variable
#' is also stored as a CSS variable that can be referenced with
#' `var(--header-h3-font-size)` in any argument of a style function or in
#' custom CSS.
#' Modifies the `.remark-slide-content h3` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--header-h3-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param header_background_auto Add background under slide title automatically
#' for h1 header elements. If not enabled, use `class: header_background` to
#' enable. Defaults to `FALSE`.
@@ -147,7 +168,9 @@
#' `var(--header-background-text-color)` in any argument of a style function
#' or in custom CSS.
#' @param header_background_padding Padding for h1 Header with Background.
#' Defaults to `NULL`. Modifies the `.remark-slide-content h1` class.
#' Defaults to `NULL`. Modifies the `.remark-slide-content h1` class. Accepts
#' CSS [padding](https://developer.mozilla.org/en-US/docs/Web/CSS/padding)
#' property values.
#' @param header_background_content_padding_top Top Padding for Content in
#' Slide with Header with Background. Defaults to 7rem. Modifies the
#' `.remark-slide-content` class.
@@ -156,7 +179,9 @@
#' `c('normal', 'inverse', 'title', 'middle', 'bottom')`. Modifies the
#' `.remark-slide-content` class.
#' @param text_slide_number_font_size Slide Number Text Font Size. Defaults to
#' 0.9em. Modifies the `.remark-slide-number` class.
#' 0.9em. Modifies the `.remark-slide-number` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values.
#' @param text_font_google Use `google_font()` to specify body font. Defaults
#' to `NULL`. Modifies the `body` element.
#' @param text_font_family Body Text Font Family (xaringan default is
@@ -165,7 +190,9 @@
#' referenced with `var(--text-font-family)` in any argument of a style
#' function or in custom CSS.
#' @param text_font_weight Body Text Font Weight. Defaults to normal. Modifies
#' the `body` element.
#' the `body` element. Accepts CSS
#' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)
#' property values.
#' @param text_font_url Body Text Font URL(s). Defaults to
#' https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap.
#' Modifies the `@import url()` elements.
@@ -188,7 +215,9 @@
#' can be referenced with `var(--header-font-family)` in any argument of a
#' style function or in custom CSS.
#' @param header_font_weight Header Font Weight. Defaults to 600. Modifies the
#' `h1, h2, h3` elements.
#' `h1, h2, h3` elements. Accepts CSS
#' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)
#' property values.
#' @param header_font_url Header Font URL. Defaults to
#' https://fonts.googleapis.com/css?family=Cabin:600,600i&display=swap.
#' Modifies the `@import url` elements.
@@ -200,7 +229,9 @@
#' `var(--code-font-family)` in any argument of a style function or in custom
#' CSS.
#' @param code_font_size Code Text Font Size. Defaults to 0.9rem. Modifies the
#' `.remark-inline` class. The value of this variable is also stored as a CSS
#' `.remark-inline` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--code-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param code_font_url Code Font URL. Defaults to

+ 62
- 31
R/style_xaringan.R Ver fichero

@@ -25,6 +25,9 @@
#' `inverse_background_color`. Modifies the `.remark-slide-number` class.
#' @param padding Slide Padding in `top right [bottom left]` format. Defaults
#' to 16px 64px 16px 64px. Modifies the `.remark-slide-content` class.
#' Accepts CSS
#' [padding](https://developer.mozilla.org/en-US/docs/Web/CSS/padding)
#' property values.
#' @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
@@ -33,11 +36,15 @@
#' 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.
#' `NULL`. Modifies the `.remark-slide-content` class. Accepts CSS
#' [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)
#' property values.
#' @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.
#' `.remark-slide-content` class. Accepts CSS
#' [background-position](https://developer.mozilla.org/en-US/docs/Web/CSS/background-position)
#' property values.
#' @param code_highlight_color Code Line Highlight. Defaults to
#' rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class.
#' The value of this variable is also stored as a CSS variable that can be
@@ -48,10 +55,11 @@
#' @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. The value of this variable is
#' also stored as a CSS variable that can be referenced with
#' `var(--code-inline-font-size)` in any argument of a style function or in
#' custom CSS.
#' Modifies the `.remark-inline-code` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--code-inline-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param inverse_background_color Inverse Background Color. Defaults to
#' #272822. Modifies the `.inverse` class. The value of this variable is also
#' stored as a CSS variable that can be referenced with
@@ -82,16 +90,25 @@
#' 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.
#' Modifies the `.title-slide` class. Accepts CSS
#' [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)
#' property values.
#' @param title_slide_background_position Title Slide Background Image
#' Position. Defaults to `NULL`. Modifies the `.title-slide` class.
#' Position. Defaults to `NULL`. Modifies the `.title-slide` class. Accepts
#' CSS
#' [background-position](https://developer.mozilla.org/en-US/docs/Web/CSS/background-position)
#' property values.
#' @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.
#' the `.footnote` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values.
#' @param footnote_position_bottom Footnote location from bottom of screen.
#' Defaults to 60px. Modifies the `.footnote` class.
#' Defaults to 60px. Modifies the `.footnote` class. Accepts CSS
#' [position](https://developer.mozilla.org/en-US/docs/Web/CSS/position_value)
#' property values.
#' @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_selected_color Left Column Current Selection. Defaults to
@@ -112,25 +129,29 @@
#' `var(--base-font-size)` in any argument of a style function or in custom
#' CSS.
#' @param text_font_size Slide Body Text Font Size. Defaults to 1rem. Modifies
#' the `.remark-slide-content` class. The value of this variable is also
#' stored as a CSS variable that can be referenced with
#' `var(--text-font-size)` in any argument of a style function or in custom
#' CSS.
#' the `.remark-slide-content` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--text-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param header_h1_font_size h1 Header Text Font Size. Defaults to 2.75rem.
#' Modifies the `.remark-slide-content h1` class. The value of this variable
#' is also stored as a CSS variable that can be referenced with
#' `var(--header-h1-font-size)` in any argument of a style function or in
#' custom CSS.
#' Modifies the `.remark-slide-content h1` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--header-h1-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param header_h2_font_size h2 Header Text Font Size. Defaults to 2.25rem.
#' Modifies the `.remark-slide-content h2` class. The value of this variable
#' is also stored as a CSS variable that can be referenced with
#' `var(--header-h2-font-size)` in any argument of a style function or in
#' custom CSS.
#' Modifies the `.remark-slide-content h2` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--header-h2-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param header_h3_font_size h3 Header Text Font Size. Defaults to 1.75rem.
#' Modifies the `.remark-slide-content h3` class. The value of this variable
#' is also stored as a CSS variable that can be referenced with
#' `var(--header-h3-font-size)` in any argument of a style function or in
#' custom CSS.
#' Modifies the `.remark-slide-content h3` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--header-h3-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param header_background_auto Add background under slide title automatically
#' for h1 header elements. If not enabled, use `class: header_background` to
#' enable. Defaults to `FALSE`.
@@ -147,7 +168,9 @@
#' `var(--header-background-text-color)` in any argument of a style function
#' or in custom CSS.
#' @param header_background_padding Padding for h1 Header with Background.
#' Defaults to `NULL`. Modifies the `.remark-slide-content h1` class.
#' Defaults to `NULL`. Modifies the `.remark-slide-content h1` class. Accepts
#' CSS [padding](https://developer.mozilla.org/en-US/docs/Web/CSS/padding)
#' property values.
#' @param header_background_content_padding_top Top Padding for Content in
#' Slide with Header with Background. Defaults to 7rem. Modifies the
#' `.remark-slide-content` class.
@@ -156,7 +179,9 @@
#' `c('normal', 'inverse', 'title', 'middle', 'bottom')`. Modifies the
#' `.remark-slide-content` class.
#' @param text_slide_number_font_size Slide Number Text Font Size. Defaults to
#' 0.9em. Modifies the `.remark-slide-number` class.
#' 0.9em. Modifies the `.remark-slide-number` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values.
#' @param text_font_google Use `google_font()` to specify body font. Defaults
#' to `NULL`. Modifies the `body` element.
#' @param text_font_family Body Text Font Family (xaringan default is
@@ -165,7 +190,9 @@
#' referenced with `var(--text-font-family)` in any argument of a style
#' function or in custom CSS.
#' @param text_font_weight Body Text Font Weight. Defaults to normal. Modifies
#' the `body` element.
#' the `body` element. Accepts CSS
#' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)
#' property values.
#' @param text_font_url Body Text Font URL(s). Defaults to
#' https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap.
#' Modifies the `@import url()` elements.
@@ -188,7 +215,9 @@
#' can be referenced with `var(--header-font-family)` in any argument of a
#' style function or in custom CSS.
#' @param header_font_weight Header Font Weight. Defaults to 600. Modifies the
#' `h1, h2, h3` elements.
#' `h1, h2, h3` elements. Accepts CSS
#' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)
#' property values.
#' @param header_font_url Header Font URL. Defaults to
#' https://fonts.googleapis.com/css?family=Cabin:600,600i&display=swap.
#' Modifies the `@import url` elements.
@@ -200,7 +229,9 @@
#' `var(--code-font-family)` in any argument of a style function or in custom
#' CSS.
#' @param code_font_size Code Text Font Size. Defaults to 0.9rem. Modifies the
#' `.remark-inline` class. The value of this variable is also stored as a CSS
#' `.remark-inline` class. Accepts CSS
#' [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)
#' property values. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--code-font-size)` in any
#' argument of a style function or in custom CSS.
#' @param code_font_url Code Font URL. Defaults to

BIN
R/sysdata.rda Ver fichero


+ 9
- 0
R/utils_theme-gen.R Ver fichero

@@ -35,4 +35,13 @@ describe_css_variable <- function(css_variable = NULL) {
)
}

describe_css_property <- function(css_property = NULL) {
if (is.null(css_property)) return("")
ifelse(
is.na(css_property),
"",
glue::glue(" Accepts CSS {css_property} property values.")
)
}

# nocov end

+ 31
- 2
data-raw/theme_template_variables.R Ver fichero

@@ -62,14 +62,43 @@ template_variables <- tibble::tribble(
, "code_font_family_fallback", "Menlo, Consolas, Monaco, Liberation Mono, Lucida Console", ".remark-code, .remark-inline-code", "Code Font Fallback", NA_character_
)

set_default <- function(tv, ...) {
set_default <- function(tv, ..., set_var = "default") {
vars <- c(...)
for (var in names(vars)) {
tv[tv$variable == var, 'default'] <- vars[var]
tv[tv$variable == var, set_var] <- vars[var]
}
tv
}

template_variables$css_property <- NA_character_
mdn_font_size <- "[font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)"
mdn_font_weight <- "[font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)"
mdn_background_size <- "[background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)"
mdn_background_position <- "[background-position](https://developer.mozilla.org/en-US/docs/Web/CSS/background-position)"
mdn_padding <- "[padding](https://developer.mozilla.org/en-US/docs/Web/CSS/padding)"

template_variables <- set_default(
template_variables,
set_var = "css_property",
padding = mdn_padding,
background_size = mdn_background_size,
background_position = mdn_background_position,
code_inline_font_size = mdn_font_size,
title_slide_background_position = mdn_background_position,
title_slide_background_size = mdn_background_size,
footnote_font_size = mdn_font_size,
footnote_position_bottom = "[position](https://developer.mozilla.org/en-US/docs/Web/CSS/position_value)",
text_font_size = mdn_font_size,
header_h1_font_size = mdn_font_size,
header_h2_font_size = mdn_font_size,
header_h3_font_size = mdn_font_size,
header_background_padding = mdn_padding,
text_slide_number_font_size = mdn_font_size,
text_font_weight = mdn_font_weight,
header_font_weight = mdn_font_weight,
code_font_size = mdn_font_size
)

template_mono_light <- tibble::tribble(
~ variable, ~ default, ~ element, ~ description, ~ css_variable
, "base_color", "#23395b", "multiple", "Monotone base color, works best with a strong color", "--base"

+ 1
- 0
inst/scripts/generate_theme_functions.R Ver fichero

@@ -26,6 +26,7 @@ setup_theme_function <- function(
"#' @param {variable} {description}. ",
"Defaults to {gsub('[{{}}]', '`', default)}. ",
"{element_description(element)}",
"{describe_css_property(css_property)}",
"{describe_css_variable(css_variable)}"
)
),

+ 63
- 32
man/style_duo.Rd Ver fichero

@@ -119,7 +119,10 @@ any argument of a style function or in custom CSS.}
Modifies the \code{.remark-slide-number} class.}

\item{padding}{Slide Padding in \verb{top right [bottom left]} format. Defaults
to 16px 64px 16px 64px. Modifies the \code{.remark-slide-content} class.}
to 16px 64px 16px 64px. Modifies the \code{.remark-slide-content} class.
Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/padding}{padding}
property values.}

\item{background_image}{Background image applied to each \emph{and every} slide.
Set \code{title_slide_background_image = "none"} to remove the background image
@@ -130,12 +133,16 @@ from the title slide. Defaults to \code{NULL}. Modifies the
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.}
\code{NULL}. Modifies the \code{.remark-slide-content} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}
property values.}

\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.}
\code{.remark-slide-content} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-position}{background-position}
property values.}

\item{code_highlight_color}{Code Line Highlight. Defaults to
rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.
@@ -150,10 +157,11 @@ Modifies the \code{.remark-inline-code} class.}
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. The value of this variable is
also stored as a CSS variable that can be referenced with
\code{var(--code-inline-font-size)} in any argument of a style function or in
custom CSS.}
Modifies the \code{.remark-inline-code} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--code-inline-font-size)} in any
argument of a style function or in custom CSS.}

\item{inverse_background_color}{Inverse Background Color. Defaults to
\code{secondary_color}. Modifies the \code{.inverse} class. The value of this
@@ -192,20 +200,29 @@ 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 \code{NULL}.
Modifies the \code{.title-slide} class.}
Modifies the \code{.title-slide} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}
property values.}

\item{title_slide_background_position}{Title Slide Background Image
Position. Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}
Position. Defaults to \code{NULL}. Modifies the \code{.title-slide} class. Accepts
CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-position}{background-position}
property values.}

\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.}
the \code{.footnote} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values.}

\item{footnote_position_bottom}{Footnote location from bottom of screen.
Defaults to 60px. Modifies the \code{.footnote} class.}
Defaults to 60px. Modifies the \code{.footnote} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/position_value}{position}
property values.}

\item{left_column_subtle_color}{Left Column Text (not last). Defaults to
\code{apply_alpha(secondary_color, 0.6)}. Modifies the
@@ -235,28 +252,32 @@ is also stored as a CSS variable that can be referenced with
CSS.}

\item{text_font_size}{Slide Body Text Font Size. Defaults to 1rem. Modifies
the \code{.remark-slide-content} class. The value of this variable is also
stored as a CSS variable that can be referenced with
\code{var(--text-font-size)} in any argument of a style function or in custom
CSS.}
the \code{.remark-slide-content} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--text-font-size)} in any
argument of a style function or in custom CSS.}

\item{header_h1_font_size}{h1 Header Text Font Size. Defaults to 2.75rem.
Modifies the \verb{.remark-slide-content h1} class. The value of this variable
is also stored as a CSS variable that can be referenced with
\code{var(--header-h1-font-size)} in any argument of a style function or in
custom CSS.}
Modifies the \verb{.remark-slide-content h1} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--header-h1-font-size)} in any
argument of a style function or in custom CSS.}

\item{header_h2_font_size}{h2 Header Text Font Size. Defaults to 2.25rem.
Modifies the \verb{.remark-slide-content h2} class. The value of this variable
is also stored as a CSS variable that can be referenced with
\code{var(--header-h2-font-size)} in any argument of a style function or in
custom CSS.}
Modifies the \verb{.remark-slide-content h2} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--header-h2-font-size)} in any
argument of a style function or in custom CSS.}

\item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 1.75rem.
Modifies the \verb{.remark-slide-content h3} class. The value of this variable
is also stored as a CSS variable that can be referenced with
\code{var(--header-h3-font-size)} in any argument of a style function or in
custom CSS.}
Modifies the \verb{.remark-slide-content h3} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--header-h3-font-size)} in any
argument of a style function or in custom CSS.}

\item{header_background_auto}{Add background under slide title automatically
for h1 header elements. If not enabled, use \code{class: header_background} to
@@ -277,7 +298,9 @@ stored as a CSS variable that can be referenced with
or in custom CSS.}

\item{header_background_padding}{Padding for h1 Header with Background.
Defaults to \code{NULL}. Modifies the \verb{.remark-slide-content h1} class.}
Defaults to \code{NULL}. Modifies the \verb{.remark-slide-content h1} class. Accepts
CSS \href{https://developer.mozilla.org/en-US/docs/Web/CSS/padding}{padding}
property values.}

\item{header_background_content_padding_top}{Top Padding for Content in
Slide with Header with Background. Defaults to 7rem. Modifies the
@@ -289,7 +312,9 @@ Background will not be Applied. Defaults to
\code{.remark-slide-content} class.}

\item{text_slide_number_font_size}{Slide Number Text Font Size. Defaults to
0.9em. Modifies the \code{.remark-slide-number} class.}
0.9em. Modifies the \code{.remark-slide-number} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values.}

\item{text_font_google}{Use \code{google_font()} to specify body font. Defaults
to \code{NULL}. Modifies the \code{body} element.}
@@ -301,7 +326,9 @@ referenced with \code{var(--text-font-family)} in any argument of a style
function or in custom CSS.}

\item{text_font_weight}{Body Text Font Weight. Defaults to normal. Modifies
the \code{body} element.}
the \code{body} element. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}
property values.}

\item{text_font_url}{Body Text Font URL(s). Defaults to
https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap.
@@ -330,7 +357,9 @@ can be referenced with \code{var(--header-font-family)} in any argument of a
style function or in custom CSS.}

\item{header_font_weight}{Header Font Weight. Defaults to 600. Modifies the
\verb{h1, h2, h3} elements.}
\verb{h1, h2, h3} elements. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}
property values.}

\item{header_font_url}{Header Font URL. Defaults to
https://fonts.googleapis.com/css?family=Cabin:600,600i&display=swap.
@@ -346,7 +375,9 @@ this variable is also stored as a CSS variable that can be referenced with
CSS.}

\item{code_font_size}{Code Text Font Size. Defaults to 0.9rem. Modifies the
\code{.remark-inline} class. The value of this variable is also stored as a CSS
\code{.remark-inline} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--code-font-size)} in any
argument of a style function or in custom CSS.}


+ 63
- 32
man/style_duo_accent.Rd Ver fichero

@@ -133,7 +133,10 @@ any argument of a style function or in custom CSS.}
\code{primary_color}. Modifies the \code{.remark-slide-number} class.}

\item{padding}{Slide Padding in \verb{top right [bottom left]} format. Defaults
to 16px 64px 16px 64px. Modifies the \code{.remark-slide-content} class.}
to 16px 64px 16px 64px. Modifies the \code{.remark-slide-content} class.
Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/padding}{padding}
property values.}

\item{background_image}{Background image applied to each \emph{and every} slide.
Set \code{title_slide_background_image = "none"} to remove the background image
@@ -144,12 +147,16 @@ from the title slide. Defaults to \code{NULL}. Modifies the
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.}
\code{NULL}. Modifies the \code{.remark-slide-content} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}
property values.}

\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.}
\code{.remark-slide-content} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-position}{background-position}
property values.}

\item{code_highlight_color}{Code Line Highlight. Defaults to
rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.
@@ -165,10 +172,11 @@ Modifies the \code{.remark-inline-code} class.}
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. The value of this variable is
also stored as a CSS variable that can be referenced with
\code{var(--code-inline-font-size)} in any argument of a style function or in
custom CSS.}
Modifies the \code{.remark-inline-code} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--code-inline-font-size)} in any
argument of a style function or in custom CSS.}

\item{inverse_background_color}{Inverse Background Color. Defaults to
\code{secondary_color}. Modifies the \code{.inverse} class. The value of this
@@ -209,20 +217,29 @@ 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 \code{NULL}.
Modifies the \code{.title-slide} class.}
Modifies the \code{.title-slide} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}
property values.}

\item{title_slide_background_position}{Title Slide Background Image
Position. Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}
Position. Defaults to \code{NULL}. Modifies the \code{.title-slide} class. Accepts
CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-position}{background-position}
property values.}

\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.}
the \code{.footnote} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values.}

\item{footnote_position_bottom}{Footnote location from bottom of screen.
Defaults to 60px. Modifies the \code{.footnote} class.}
Defaults to 60px. Modifies the \code{.footnote} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/position_value}{position}
property values.}

\item{left_column_subtle_color}{Left Column Text (not last). Defaults to
\code{apply_alpha(primary_color, 0.6)}. Modifies the
@@ -252,28 +269,32 @@ is also stored as a CSS variable that can be referenced with
CSS.}

\item{text_font_size}{Slide Body Text Font Size. Defaults to 1rem. Modifies
the \code{.remark-slide-content} class. The value of this variable is also
stored as a CSS variable that can be referenced with
\code{var(--text-font-size)} in any argument of a style function or in custom
CSS.}
the \code{.remark-slide-content} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--text-font-size)} in any
argument of a style function or in custom CSS.}

\item{header_h1_font_size}{h1 Header Text Font Size. Defaults to 2.75rem.
Modifies the \verb{.remark-slide-content h1} class. The value of this variable
is also stored as a CSS variable that can be referenced with
\code{var(--header-h1-font-size)} in any argument of a style function or in
custom CSS.}
Modifies the \verb{.remark-slide-content h1} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--header-h1-font-size)} in any
argument of a style function or in custom CSS.}

\item{header_h2_font_size}{h2 Header Text Font Size. Defaults to 2.25rem.
Modifies the \verb{.remark-slide-content h2} class. The value of this variable
is also stored as a CSS variable that can be referenced with
\code{var(--header-h2-font-size)} in any argument of a style function or in
custom CSS.}
Modifies the \verb{.remark-slide-content h2} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--header-h2-font-size)} in any
argument of a style function or in custom CSS.}

\item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 1.75rem.
Modifies the \verb{.remark-slide-content h3} class. The value of this variable
is also stored as a CSS variable that can be referenced with
\code{var(--header-h3-font-size)} in any argument of a style function or in
custom CSS.}
Modifies the \verb{.remark-slide-content h3} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--header-h3-font-size)} in any
argument of a style function or in custom CSS.}

\item{header_background_auto}{Add background under slide title automatically
for h1 header elements. If not enabled, use \code{class: header_background} to
@@ -294,7 +315,9 @@ stored as a CSS variable that can be referenced with
or in custom CSS.}

\item{header_background_padding}{Padding for h1 Header with Background.
Defaults to \code{NULL}. Modifies the \verb{.remark-slide-content h1} class.}
Defaults to \code{NULL}. Modifies the \verb{.remark-slide-content h1} class. Accepts
CSS \href{https://developer.mozilla.org/en-US/docs/Web/CSS/padding}{padding}
property values.}

\item{header_background_content_padding_top}{Top Padding for Content in
Slide with Header with Background. Defaults to 7rem. Modifies the
@@ -306,7 +329,9 @@ Background will not be Applied. Defaults to
\code{.remark-slide-content} class.}

\item{text_slide_number_font_size}{Slide Number Text Font Size. Defaults to
0.9em. Modifies the \code{.remark-slide-number} class.}
0.9em. Modifies the \code{.remark-slide-number} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values.}

\item{text_font_google}{Use \code{google_font()} to specify body font. Defaults
to \code{NULL}. Modifies the \code{body} element.}
@@ -318,7 +343,9 @@ referenced with \code{var(--text-font-family)} in any argument of a style
function or in custom CSS.}

\item{text_font_weight}{Body Text Font Weight. Defaults to normal. Modifies
the \code{body} element.}
the \code{body} element. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}
property values.}

\item{text_font_url}{Body Text Font URL(s). Defaults to
https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap.
@@ -347,7 +374,9 @@ can be referenced with \code{var(--header-font-family)} in any argument of a
style function or in custom CSS.}

\item{header_font_weight}{Header Font Weight. Defaults to 600. Modifies the
\verb{h1, h2, h3} elements.}
\verb{h1, h2, h3} elements. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}
property values.}

\item{header_font_url}{Header Font URL. Defaults to
https://fonts.googleapis.com/css?family=Cabin:600,600i&display=swap.
@@ -363,7 +392,9 @@ this variable is also stored as a CSS variable that can be referenced with
CSS.}

\item{code_font_size}{Code Text Font Size. Defaults to 0.9rem. Modifies the
\code{.remark-inline} class. The value of this variable is also stored as a CSS
\code{.remark-inline} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--code-font-size)} in any
argument of a style function or in custom CSS.}


+ 63
- 32
man/style_duo_accent_inverse.Rd Ver fichero

@@ -134,7 +134,10 @@ any argument of a style function or in custom CSS.}
\code{primary_color}. Modifies the \code{.remark-slide-number} class.}

\item{padding}{Slide Padding in \verb{top right [bottom left]} format. Defaults
to 16px 64px 16px 64px. Modifies the \code{.remark-slide-content} class.}
to 16px 64px 16px 64px. Modifies the \code{.remark-slide-content} class.
Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/padding}{padding}
property values.}

\item{background_image}{Background image applied to each \emph{and every} slide.
Set \code{title_slide_background_image = "none"} to remove the background image
@@ -145,12 +148,16 @@ from the title slide. Defaults to \code{NULL}. Modifies the
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.}
\code{NULL}. Modifies the \code{.remark-slide-content} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}
property values.}

\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.}
\code{.remark-slide-content} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-position}{background-position}
property values.}

\item{code_highlight_color}{Code Line Highlight. Defaults to
rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.
@@ -166,10 +173,11 @@ Modifies the \code{.remark-inline-code} class.}
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. The value of this variable is
also stored as a CSS variable that can be referenced with
\code{var(--code-inline-font-size)} in any argument of a style function or in
custom CSS.}
Modifies the \code{.remark-inline-code} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--code-inline-font-size)} in any
argument of a style function or in custom CSS.}

\item{inverse_background_color}{Inverse Background Color. Defaults to
\code{secondary_color}. Modifies the \code{.inverse} class. The value of this
@@ -210,20 +218,29 @@ 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 \code{NULL}.
Modifies the \code{.title-slide} class.}
Modifies the \code{.title-slide} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}
property values.}

\item{title_slide_background_position}{Title Slide Background Image
Position. Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}
Position. Defaults to \code{NULL}. Modifies the \code{.title-slide} class. Accepts
CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-position}{background-position}
property values.}

\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.}
the \code{.footnote} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values.}

\item{footnote_position_bottom}{Footnote location from bottom of screen.
Defaults to 60px. Modifies the \code{.footnote} class.}
Defaults to 60px. Modifies the \code{.footnote} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/position_value}{position}
property values.}

\item{left_column_subtle_color}{Left Column Text (not last). Defaults to
\code{apply_alpha(primary_color, 0.6)}. Modifies the
@@ -254,28 +271,32 @@ is also stored as a CSS variable that can be referenced with
CSS.}

\item{text_font_size}{Slide Body Text Font Size. Defaults to 1rem. Modifies
the \code{.remark-slide-content} class. The value of this variable is also
stored as a CSS variable that can be referenced with
\code{var(--text-font-size)} in any argument of a style function or in custom
CSS.}
the \code{.remark-slide-content} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--text-font-size)} in any
argument of a style function or in custom CSS.}

\item{header_h1_font_size}{h1 Header Text Font Size. Defaults to 2.75rem.
Modifies the \verb{.remark-slide-content h1} class. The value of this variable
is also stored as a CSS variable that can be referenced with
\code{var(--header-h1-font-size)} in any argument of a style function or in
custom CSS.}
Modifies the \verb{.remark-slide-content h1} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--header-h1-font-size)} in any
argument of a style function or in custom CSS.}

\item{header_h2_font_size}{h2 Header Text Font Size. Defaults to 2.25rem.
Modifies the \verb{.remark-slide-content h2} class. The value of this variable
is also stored as a CSS variable that can be referenced with
\code{var(--header-h2-font-size)} in any argument of a style function or in
custom CSS.}
Modifies the \verb{.remark-slide-content h2} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--header-h2-font-size)} in any
argument of a style function or in custom CSS.}

\item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 1.75rem.
Modifies the \verb{.remark-slide-content h3} class. The value of this variable
is also stored as a CSS variable that can be referenced with
\code{var(--header-h3-font-size)} in any argument of a style function or in
custom CSS.}
Modifies the \verb{.remark-slide-content h3} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--header-h3-font-size)} in any
argument of a style function or in custom CSS.}

\item{header_background_auto}{Add background under slide title automatically
for h1 header elements. If not enabled, use \code{class: header_background} to
@@ -296,7 +317,9 @@ stored as a CSS variable that can be referenced with
or in custom CSS.}

\item{header_background_padding}{Padding for h1 Header with Background.
Defaults to \code{NULL}. Modifies the \verb{.remark-slide-content h1} class.}
Defaults to \code{NULL}. Modifies the \verb{.remark-slide-content h1} class. Accepts
CSS \href{https://developer.mozilla.org/en-US/docs/Web/CSS/padding}{padding}
property values.}

\item{header_background_content_padding_top}{Top Padding for Content in
Slide with Header with Background. Defaults to 7rem. Modifies the
@@ -308,7 +331,9 @@ Background will not be Applied. Defaults to
\code{.remark-slide-content} class.}

\item{text_slide_number_font_size}{Slide Number Text Font Size. Defaults to
0.9em. Modifies the \code{.remark-slide-number} class.}
0.9em. Modifies the \code{.remark-slide-number} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values.}

\item{text_font_google}{Use \code{google_font()} to specify body font. Defaults
to \code{NULL}. Modifies the \code{body} element.}
@@ -320,7 +345,9 @@ referenced with \code{var(--text-font-family)} in any argument of a style
function or in custom CSS.}

\item{text_font_weight}{Body Text Font Weight. Defaults to normal. Modifies
the \code{body} element.}
the \code{body} element. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}
property values.}

\item{text_font_url}{Body Text Font URL(s). Defaults to
https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap.
@@ -349,7 +376,9 @@ can be referenced with \code{var(--header-font-family)} in any argument of a
style function or in custom CSS.}

\item{header_font_weight}{Header Font Weight. Defaults to 600. Modifies the
\verb{h1, h2, h3} elements.}
\verb{h1, h2, h3} elements. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}
property values.}

\item{header_font_url}{Header Font URL. Defaults to
https://fonts.googleapis.com/css?family=Cabin:600,600i&display=swap.
@@ -365,7 +394,9 @@ this variable is also stored as a CSS variable that can be referenced with
CSS.}

\item{code_font_size}{Code Text Font Size. Defaults to 0.9rem. Modifies the
\code{.remark-inline} class. The value of this variable is also stored as a CSS
\code{.remark-inline} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--code-font-size)} in any
argument of a style function or in custom CSS.}


+ 63
- 32
man/style_mono_accent.Rd Ver fichero

@@ -123,7 +123,10 @@ argument of a style function or in custom CSS.}
Modifies the \code{.remark-slide-number} class.}

\item{padding}{Slide Padding in \verb{top right [bottom left]} format. Defaults
to 16px 64px 16px 64px. Modifies the \code{.remark-slide-content} class.}
to 16px 64px 16px 64px. Modifies the \code{.remark-slide-content} class.
Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/padding}{padding}
property values.}

\item{background_image}{Background image applied to each \emph{and every} slide.
Set \code{title_slide_background_image = "none"} to remove the background image
@@ -134,12 +137,16 @@ from the title slide. Defaults to \code{NULL}. Modifies the
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.}
\code{NULL}. Modifies the \code{.remark-slide-content} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}
property values.}

\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.}
\code{.remark-slide-content} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-position}{background-position}
property values.}

\item{code_highlight_color}{Code Line Highlight. Defaults to
rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.
@@ -154,10 +161,11 @@ Modifies the \code{.remark-inline-code} class.}
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. The value of this variable is
also stored as a CSS variable that can be referenced with
\code{var(--code-inline-font-size)} in any argument of a style function or in
custom CSS.}
Modifies the \code{.remark-inline-code} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--code-inline-font-size)} in any
argument of a style function or in custom CSS.}

\item{inverse_background_color}{Inverse Background Color. Defaults to
\code{base_color}. Modifies the \code{.inverse} class. The value of this variable is
@@ -196,20 +204,29 @@ 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 \code{NULL}.
Modifies the \code{.title-slide} class.}
Modifies the \code{.title-slide} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}
property values.}

\item{title_slide_background_position}{Title Slide Background Image
Position. Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}
Position. Defaults to \code{NULL}. Modifies the \code{.title-slide} class. Accepts
CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-position}{background-position}
property values.}

\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.}
the \code{.footnote} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values.}

\item{footnote_position_bottom}{Footnote location from bottom of screen.
Defaults to 60px. Modifies the \code{.footnote} class.}
Defaults to 60px. Modifies the \code{.footnote} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/position_value}{position}
property values.}

\item{left_column_subtle_color}{Left Column Text (not last). Defaults to
\code{apply_alpha(base_color, 0.6)}. Modifies the
@@ -239,28 +256,32 @@ is also stored as a CSS variable that can be referenced with
CSS.}

\item{text_font_size}{Slide Body Text Font Size. Defaults to 1rem. Modifies
the \code{.remark-slide-content} class. The value of this variable is also
stored as a CSS variable that can be referenced with
\code{var(--text-font-size)} in any argument of a style function or in custom
CSS.}
the \code{.remark-slide-content} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--text-font-size)} in any
argument of a style function or in custom CSS.}

\item{header_h1_font_size}{h1 Header Text Font Size. Defaults to 2.75rem.
Modifies the \verb{.remark-slide-content h1} class. The value of this variable
is also stored as a CSS variable that can be referenced with
\code{var(--header-h1-font-size)} in any argument of a style function or in
custom CSS.}
Modifies the \verb{.remark-slide-content h1} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--header-h1-font-size)} in any
argument of a style function or in custom CSS.}

\item{header_h2_font_size}{h2 Header Text Font Size. Defaults to 2.25rem.
Modifies the \verb{.remark-slide-content h2} class. The value of this variable
is also stored as a CSS variable that can be referenced with
\code{var(--header-h2-font-size)} in any argument of a style function or in
custom CSS.}
Modifies the \verb{.remark-slide-content h2} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--header-h2-font-size)} in any
argument of a style function or in custom CSS.}

\item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 1.75rem.
Modifies the \verb{.remark-slide-content h3} class. The value of this variable
is also stored as a CSS variable that can be referenced with
\code{var(--header-h3-font-size)} in any argument of a style function or in
custom CSS.}
Modifies the \verb{.remark-slide-content h3} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--header-h3-font-size)} in any
argument of a style function or in custom CSS.}

\item{header_background_auto}{Add background under slide title automatically
for h1 header elements. If not enabled, use \code{class: header_background} to
@@ -281,7 +302,9 @@ stored as a CSS variable that can be referenced with
or in custom CSS.}

\item{header_background_padding}{Padding for h1 Header with Background.
Defaults to \code{NULL}. Modifies the \verb{.remark-slide-content h1} class.}
Defaults to \code{NULL}. Modifies the \verb{.remark-slide-content h1} class. Accepts
CSS \href{https://developer.mozilla.org/en-US/docs/Web/CSS/padding}{padding}
property values.}

\item{header_background_content_padding_top}{Top Padding for Content in
Slide with Header with Background. Defaults to 7rem. Modifies the
@@ -293,7 +316,9 @@ Background will not be Applied. Defaults to
\code{.remark-slide-content} class.}

\item{text_slide_number_font_size}{Slide Number Text Font Size. Defaults to
0.9em. Modifies the \code{.remark-slide-number} class.}
0.9em. Modifies the \code{.remark-slide-number} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values.}

\item{text_font_google}{Use \code{google_font()} to specify body font. Defaults
to \code{NULL}. Modifies the \code{body} element.}
@@ -305,7 +330,9 @@ referenced with \code{var(--text-font-family)} in any argument of a style
function or in custom CSS.}

\item{text_font_weight}{Body Text Font Weight. Defaults to normal. Modifies
the \code{body} element.}
the \code{body} element. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}
property values.}

\item{text_font_url}{Body Text Font URL(s). Defaults to
https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap.
@@ -334,7 +361,9 @@ can be referenced with \code{var(--header-font-family)} in any argument of a
style function or in custom CSS.}

\item{header_font_weight}{Header Font Weight. Defaults to 600. Modifies the
\verb{h1, h2, h3} elements.}
\verb{h1, h2, h3} elements. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}
property values.}

\item{header_font_url}{Header Font URL. Defaults to
https://fonts.googleapis.com/css?family=Cabin:600,600i&display=swap.
@@ -350,7 +379,9 @@ this variable is also stored as a CSS variable that can be referenced with
CSS.}

\item{code_font_size}{Code Text Font Size. Defaults to 0.9rem. Modifies the
\code{.remark-inline} class. The value of this variable is also stored as a CSS
\code{.remark-inline} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--code-font-size)} in any
argument of a style function or in custom CSS.}


+ 63
- 32
man/style_mono_accent_inverse.Rd Ver fichero

@@ -124,7 +124,10 @@ argument of a style function or in custom CSS.}
Modifies the \code{.remark-slide-number} class.}

\item{padding}{Slide Padding in \verb{top right [bottom left]} format. Defaults
to 16px 64px 16px 64px. Modifies the \code{.remark-slide-content} class.}
to 16px 64px 16px 64px. Modifies the \code{.remark-slide-content} class.
Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/padding}{padding}
property values.}

\item{background_image}{Background image applied to each \emph{and every} slide.
Set \code{title_slide_background_image = "none"} to remove the background image
@@ -135,12 +138,16 @@ from the title slide. Defaults to \code{NULL}. Modifies the
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.}
\code{NULL}. Modifies the \code{.remark-slide-content} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}
property values.}

\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.}
\code{.remark-slide-content} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-position}{background-position}
property values.}

\item{code_highlight_color}{Code Line Highlight. Defaults to
rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.
@@ -155,10 +162,11 @@ Modifies the \code{.remark-inline-code} class.}
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. The value of this variable is
also stored as a CSS variable that can be referenced with
\code{var(--code-inline-font-size)} in any argument of a style function or in
custom CSS.}
Modifies the \code{.remark-inline-code} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--code-inline-font-size)} in any
argument of a style function or in custom CSS.}

\item{inverse_background_color}{Inverse Background Color. Defaults to
\code{base_color}. Modifies the \code{.inverse} class. The value of this variable is
@@ -197,20 +205,29 @@ 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 \code{NULL}.
Modifies the \code{.title-slide} class.}
Modifies the \code{.title-slide} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}
property values.}

\item{title_slide_background_position}{Title Slide Background Image
Position. Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}
Position. Defaults to \code{NULL}. Modifies the \code{.title-slide} class. Accepts
CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-position}{background-position}
property values.}

\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.}
the \code{.footnote} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values.}

\item{footnote_position_bottom}{Footnote location from bottom of screen.
Defaults to 60px. Modifies the \code{.footnote} class.}
Defaults to 60px. Modifies the \code{.footnote} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/position_value}{position}
property values.}

\item{left_column_subtle_color}{Left Column Text (not last). Defaults to
\code{apply_alpha(base_color, 0.6)}. Modifies the
@@ -240,28 +257,32 @@ is also stored as a CSS variable that can be referenced with
CSS.}

\item{text_font_size}{Slide Body Text Font Size. Defaults to 1rem. Modifies
the \code{.remark-slide-content} class. The value of this variable is also
stored as a CSS variable that can be referenced with
\code{var(--text-font-size)} in any argument of a style function or in custom
CSS.}
the \code{.remark-slide-content} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--text-font-size)} in any
argument of a style function or in custom CSS.}

\item{header_h1_font_size}{h1 Header Text Font Size. Defaults to 2.75rem.
Modifies the \verb{.remark-slide-content h1} class. The value of this variable
is also stored as a CSS variable that can be referenced with
\code{var(--header-h1-font-size)} in any argument of a style function or in
custom CSS.}
Modifies the \verb{.remark-slide-content h1} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--header-h1-font-size)} in any
argument of a style function or in custom CSS.}

\item{header_h2_font_size}{h2 Header Text Font Size. Defaults to 2.25rem.
Modifies the \verb{.remark-slide-content h2} class. The value of this variable
is also stored as a CSS variable that can be referenced with
\code{var(--header-h2-font-size)} in any argument of a style function or in
custom CSS.}
Modifies the \verb{.remark-slide-content h2} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--header-h2-font-size)} in any
argument of a style function or in custom CSS.}

\item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 1.75rem.
Modifies the \verb{.remark-slide-content h3} class. The value of this variable
is also stored as a CSS variable that can be referenced with
\code{var(--header-h3-font-size)} in any argument of a style function or in
custom CSS.}
Modifies the \verb{.remark-slide-content h3} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--header-h3-font-size)} in any
argument of a style function or in custom CSS.}

\item{header_background_auto}{Add background under slide title automatically
for h1 header elements. If not enabled, use \code{class: header_background} to
@@ -282,7 +303,9 @@ stored as a CSS variable that can be referenced with
or in custom CSS.}

\item{header_background_padding}{Padding for h1 Header with Background.
Defaults to \code{NULL}. Modifies the \verb{.remark-slide-content h1} class.}
Defaults to \code{NULL}. Modifies the \verb{.remark-slide-content h1} class. Accepts
CSS \href{https://developer.mozilla.org/en-US/docs/Web/CSS/padding}{padding}
property values.}

\item{header_background_content_padding_top}{Top Padding for Content in
Slide with Header with Background. Defaults to 7rem. Modifies the
@@ -294,7 +317,9 @@ Background will not be Applied. Defaults to
\code{.remark-slide-content} class.}

\item{text_slide_number_font_size}{Slide Number Text Font Size. Defaults to
0.9em. Modifies the \code{.remark-slide-number} class.}
0.9em. Modifies the \code{.remark-slide-number} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values.}

\item{text_font_google}{Use \code{google_font()} to specify body font. Defaults
to \code{NULL}. Modifies the \code{body} element.}
@@ -306,7 +331,9 @@ referenced with \code{var(--text-font-family)} in any argument of a style
function or in custom CSS.}

\item{text_font_weight}{Body Text Font Weight. Defaults to normal. Modifies
the \code{body} element.}
the \code{body} element. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}
property values.}

\item{text_font_url}{Body Text Font URL(s). Defaults to
https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap.
@@ -335,7 +362,9 @@ can be referenced with \code{var(--header-font-family)} in any argument of a
style function or in custom CSS.}

\item{header_font_weight}{Header Font Weight. Defaults to 600. Modifies the
\verb{h1, h2, h3} elements.}
\verb{h1, h2, h3} elements. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}
property values.}

\item{header_font_url}{Header Font URL. Defaults to
https://fonts.googleapis.com/css?family=Cabin:600,600i&display=swap.
@@ -351,7 +380,9 @@ this variable is also stored as a CSS variable that can be referenced with
CSS.}

\item{code_font_size}{Code Text Font Size. Defaults to 0.9rem. Modifies the
\code{.remark-inline} class. The value of this variable is also stored as a CSS
\code{.remark-inline} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--code-font-size)} in any
argument of a style function or in custom CSS.}


+ 63
- 32
man/style_mono_dark.Rd Ver fichero

@@ -125,7 +125,10 @@ argument of a style function or in custom CSS.}
Modifies the \code{.remark-slide-number} class.}

\item{padding}{Slide Padding in \verb{top right [bottom left]} format. Defaults
to 16px 64px 16px 64px. Modifies the \code{.remark-slide-content} class.}
to 16px 64px 16px 64px. Modifies the \code{.remark-slide-content} class.
Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/padding}{padding}
property values.}

\item{background_image}{Background image applied to each \emph{and every} slide.
Set \code{title_slide_background_image = "none"} to remove the background image
@@ -136,12 +139,16 @@ from the title slide. Defaults to \code{NULL}. Modifies the
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.}
\code{NULL}. Modifies the \code{.remark-slide-content} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}
property values.}

\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.}
\code{.remark-slide-content} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-position}{background-position}
property values.}

\item{code_highlight_color}{Code Line Highlight. Defaults to
rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.
@@ -156,10 +163,11 @@ Modifies the \code{.remark-inline-code} class.}
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. The value of this variable is
also stored as a CSS variable that can be referenced with
\code{var(--code-inline-font-size)} in any argument of a style function or in
custom CSS.}
Modifies the \code{.remark-inline-code} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--code-inline-font-size)} in any
argument of a style function or in custom CSS.}

\item{inverse_background_color}{Inverse Background Color. Defaults to
\code{base_color}. Modifies the \code{.inverse} class. The value of this variable is
@@ -198,20 +206,29 @@ 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 \code{NULL}.
Modifies the \code{.title-slide} class.}
Modifies the \code{.title-slide} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}
property values.}

\item{title_slide_background_position}{Title Slide Background Image
Position. Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}
Position. Defaults to \code{NULL}. Modifies the \code{.title-slide} class. Accepts
CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-position}{background-position}
property values.}

\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.}
the \code{.footnote} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values.}

\item{footnote_position_bottom}{Footnote location from bottom of screen.
Defaults to 60px. Modifies the \code{.footnote} class.}
Defaults to 60px. Modifies the \code{.footnote} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/position_value}{position}
property values.}

\item{left_column_subtle_color}{Left Column Text (not last). Defaults to
\code{apply_alpha(base_color, 0.6)}. Modifies the
@@ -241,28 +258,32 @@ is also stored as a CSS variable that can be referenced with
CSS.}

\item{text_font_size}{Slide Body Text Font Size. Defaults to 1rem. Modifies
the \code{.remark-slide-content} class. The value of this variable is also
stored as a CSS variable that can be referenced with
\code{var(--text-font-size)} in any argument of a style function or in custom
CSS.}
the \code{.remark-slide-content} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--text-font-size)} in any
argument of a style function or in custom CSS.}

\item{header_h1_font_size}{h1 Header Text Font Size. Defaults to 2.75rem.
Modifies the \verb{.remark-slide-content h1} class. The value of this variable
is also stored as a CSS variable that can be referenced with
\code{var(--header-h1-font-size)} in any argument of a style function or in
custom CSS.}
Modifies the \verb{.remark-slide-content h1} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--header-h1-font-size)} in any
argument of a style function or in custom CSS.}

\item{header_h2_font_size}{h2 Header Text Font Size. Defaults to 2.25rem.
Modifies the \verb{.remark-slide-content h2} class. The value of this variable
is also stored as a CSS variable that can be referenced with
\code{var(--header-h2-font-size)} in any argument of a style function or in
custom CSS.}
Modifies the \verb{.remark-slide-content h2} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--header-h2-font-size)} in any
argument of a style function or in custom CSS.}

\item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 1.75rem.
Modifies the \verb{.remark-slide-content h3} class. The value of this variable
is also stored as a CSS variable that can be referenced with
\code{var(--header-h3-font-size)} in any argument of a style function or in
custom CSS.}
Modifies the \verb{.remark-slide-content h3} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--header-h3-font-size)} in any
argument of a style function or in custom CSS.}

\item{header_background_auto}{Add background under slide title automatically
for h1 header elements. If not enabled, use \code{class: header_background} to
@@ -283,7 +304,9 @@ stored as a CSS variable that can be referenced with
or in custom CSS.}

\item{header_background_padding}{Padding for h1 Header with Background.
Defaults to \code{NULL}. Modifies the \verb{.remark-slide-content h1} class.}
Defaults to \code{NULL}. Modifies the \verb{.remark-slide-content h1} class. Accepts
CSS \href{https://developer.mozilla.org/en-US/docs/Web/CSS/padding}{padding}
property values.}

\item{header_background_content_padding_top}{Top Padding for Content in
Slide with Header with Background. Defaults to 7rem. Modifies the
@@ -295,7 +318,9 @@ Background will not be Applied. Defaults to
\code{.remark-slide-content} class.}

\item{text_slide_number_font_size}{Slide Number Text Font Size. Defaults to
0.9em. Modifies the \code{.remark-slide-number} class.}
0.9em. Modifies the \code{.remark-slide-number} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values.}

\item{text_font_google}{Use \code{google_font()} to specify body font. Defaults
to \code{NULL}. Modifies the \code{body} element.}
@@ -307,7 +332,9 @@ referenced with \code{var(--text-font-family)} in any argument of a style
function or in custom CSS.}

\item{text_font_weight}{Body Text Font Weight. Defaults to normal. Modifies
the \code{body} element.}
the \code{body} element. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}
property values.}

\item{text_font_url}{Body Text Font URL(s). Defaults to
https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap.
@@ -336,7 +363,9 @@ can be referenced with \code{var(--header-font-family)} in any argument of a
style function or in custom CSS.}

\item{header_font_weight}{Header Font Weight. Defaults to 600. Modifies the
\verb{h1, h2, h3} elements.}
\verb{h1, h2, h3} elements. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}
property values.}

\item{header_font_url}{Header Font URL. Defaults to
https://fonts.googleapis.com/css?family=Cabin:600,600i&display=swap.
@@ -352,7 +381,9 @@ this variable is also stored as a CSS variable that can be referenced with
CSS.}

\item{code_font_size}{Code Text Font Size. Defaults to 0.9rem. Modifies the
\code{.remark-inline} class. The value of this variable is also stored as a CSS
\code{.remark-inline} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--code-font-size)} in any
argument of a style function or in custom CSS.}


+ 63
- 32
man/style_mono_light.Rd Ver fichero

@@ -125,7 +125,10 @@ argument of a style function or in custom CSS.}
Modifies the \code{.remark-slide-number} class.}

\item{padding}{Slide Padding in \verb{top right [bottom left]} format. Defaults
to 16px 64px 16px 64px. Modifies the \code{.remark-slide-content} class.}
to 16px 64px 16px 64px. Modifies the \code{.remark-slide-content} class.
Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/padding}{padding}
property values.}

\item{background_image}{Background image applied to each \emph{and every} slide.
Set \code{title_slide_background_image = "none"} to remove the background image
@@ -136,12 +139,16 @@ from the title slide. Defaults to \code{NULL}. Modifies the
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.}
\code{NULL}. Modifies the \code{.remark-slide-content} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}
property values.}

\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.}
\code{.remark-slide-content} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-position}{background-position}
property values.}

\item{code_highlight_color}{Code Line Highlight. Defaults to
rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.
@@ -156,10 +163,11 @@ Modifies the \code{.remark-inline-code} class.}
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. The value of this variable is
also stored as a CSS variable that can be referenced with
\code{var(--code-inline-font-size)} in any argument of a style function or in
custom CSS.}
Modifies the \code{.remark-inline-code} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--code-inline-font-size)} in any
argument of a style function or in custom CSS.}

\item{inverse_background_color}{Inverse Background Color. Defaults to
\code{base_color}. Modifies the \code{.inverse} class. The value of this variable is
@@ -198,20 +206,29 @@ 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 \code{NULL}.
Modifies the \code{.title-slide} class.}
Modifies the \code{.title-slide} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}
property values.}

\item{title_slide_background_position}{Title Slide Background Image
Position. Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}
Position. Defaults to \code{NULL}. Modifies the \code{.title-slide} class. Accepts
CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-position}{background-position}
property values.}

\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.}
the \code{.footnote} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values.}

\item{footnote_position_bottom}{Footnote location from bottom of screen.
Defaults to 60px. Modifies the \code{.footnote} class.}
Defaults to 60px. Modifies the \code{.footnote} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/position_value}{position}
property values.}

\item{left_column_subtle_color}{Left Column Text (not last). Defaults to
\code{apply_alpha(base_color, 0.6)}. Modifies the
@@ -241,28 +258,32 @@ is also stored as a CSS variable that can be referenced with
CSS.}

\item{text_font_size}{Slide Body Text Font Size. Defaults to 1rem. Modifies
the \code{.remark-slide-content} class. The value of this variable is also
stored as a CSS variable that can be referenced with
\code{var(--text-font-size)} in any argument of a style function or in custom
CSS.}
the \code{.remark-slide-content} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--text-font-size)} in any
argument of a style function or in custom CSS.}

\item{header_h1_font_size}{h1 Header Text Font Size. Defaults to 2.75rem.
Modifies the \verb{.remark-slide-content h1} class. The value of this variable
is also stored as a CSS variable that can be referenced with
\code{var(--header-h1-font-size)} in any argument of a style function or in
custom CSS.}
Modifies the \verb{.remark-slide-content h1} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--header-h1-font-size)} in any
argument of a style function or in custom CSS.}

\item{header_h2_font_size}{h2 Header Text Font Size. Defaults to 2.25rem.
Modifies the \verb{.remark-slide-content h2} class. The value of this variable
is also stored as a CSS variable that can be referenced with
\code{var(--header-h2-font-size)} in any argument of a style function or in
custom CSS.}
Modifies the \verb{.remark-slide-content h2} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--header-h2-font-size)} in any
argument of a style function or in custom CSS.}

\item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 1.75rem.
Modifies the \verb{.remark-slide-content h3} class. The value of this variable
is also stored as a CSS variable that can be referenced with
\code{var(--header-h3-font-size)} in any argument of a style function or in
custom CSS.}
Modifies the \verb{.remark-slide-content h3} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--header-h3-font-size)} in any
argument of a style function or in custom CSS.}

\item{header_background_auto}{Add background under slide title automatically
for h1 header elements. If not enabled, use \code{class: header_background} to
@@ -283,7 +304,9 @@ stored as a CSS variable that can be referenced with
or in custom CSS.}

\item{header_background_padding}{Padding for h1 Header with Background.
Defaults to \code{NULL}. Modifies the \verb{.remark-slide-content h1} class.}
Defaults to \code{NULL}. Modifies the \verb{.remark-slide-content h1} class. Accepts
CSS \href{https://developer.mozilla.org/en-US/docs/Web/CSS/padding}{padding}
property values.}

\item{header_background_content_padding_top}{Top Padding for Content in
Slide with Header with Background. Defaults to 7rem. Modifies the
@@ -295,7 +318,9 @@ Background will not be Applied. Defaults to
\code{.remark-slide-content} class.}

\item{text_slide_number_font_size}{Slide Number Text Font Size. Defaults to
0.9em. Modifies the \code{.remark-slide-number} class.}
0.9em. Modifies the \code{.remark-slide-number} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values.}

\item{text_font_google}{Use \code{google_font()} to specify body font. Defaults
to \code{NULL}. Modifies the \code{body} element.}
@@ -307,7 +332,9 @@ referenced with \code{var(--text-font-family)} in any argument of a style
function or in custom CSS.}

\item{text_font_weight}{Body Text Font Weight. Defaults to normal. Modifies
the \code{body} element.}
the \code{body} element. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}
property values.}

\item{text_font_url}{Body Text Font URL(s). Defaults to
https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap.
@@ -336,7 +363,9 @@ can be referenced with \code{var(--header-font-family)} in any argument of a
style function or in custom CSS.}

\item{header_font_weight}{Header Font Weight. Defaults to 600. Modifies the
\verb{h1, h2, h3} elements.}
\verb{h1, h2, h3} elements. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}
property values.}

\item{header_font_url}{Header Font URL. Defaults to
https://fonts.googleapis.com/css?family=Cabin:600,600i&display=swap.
@@ -352,7 +381,9 @@ this variable is also stored as a CSS variable that can be referenced with
CSS.}

\item{code_font_size}{Code Text Font Size. Defaults to 0.9rem. Modifies the
\code{.remark-inline} class. The value of this variable is also stored as a CSS
\code{.remark-inline} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--code-font-size)} in any
argument of a style function or in custom CSS.}


+ 63
- 32
man/style_solarized_dark.Rd Ver fichero

@@ -105,7 +105,10 @@ argument of a style function or in custom CSS.}
Modifies the \code{.remark-slide-number} class.}

\item{padding}{Slide Padding in \verb{top right [bottom left]} format. Defaults
to 16px 64px 16px 64px. Modifies the \code{.remark-slide-content} class.}
to 16px 64px 16px 64px. Modifies the \code{.remark-slide-content} class.
Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/padding}{padding}
property values.}

\item{background_image}{Background image applied to each \emph{and every} slide.
Set \code{title_slide_background_image = "none"} to remove the background image
@@ -116,12 +119,16 @@ from the title slide. Defaults to \code{NULL}. Modifies the
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.}
\code{NULL}. Modifies the \code{.remark-slide-content} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}
property values.}

\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.}
\code{.remark-slide-content} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-position}{background-position}
property values.}

\item{code_highlight_color}{Code Line Highlight. Defaults to #268bd240.
Modifies the \code{.remark-code-line-highlighted} class. The value of this
@@ -136,10 +143,11 @@ the \code{.remark-inline-code} class.}
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. The value of this variable is
also stored as a CSS variable that can be referenced with
\code{var(--code-inline-font-size)} in any argument of a style function or in
custom CSS.}
Modifies the \code{.remark-inline-code} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--code-inline-font-size)} in any
argument of a style function or in custom CSS.}

\item{inverse_background_color}{Inverse Background Color. Defaults to
#fdf6e3. Modifies the \code{.inverse} class. The value of this variable is also
@@ -178,20 +186,29 @@ 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 \code{NULL}.
Modifies the \code{.title-slide} class.}
Modifies the \code{.title-slide} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}
property values.}

\item{title_slide_background_position}{Title Slide Background Image
Position. Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}
Position. Defaults to \code{NULL}. Modifies the \code{.title-slide} class. Accepts
CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-position}{background-position}
property values.}

\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.}
the \code{.footnote} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values.}

\item{footnote_position_bottom}{Footnote location from bottom of screen.
Defaults to 60px. Modifies the \code{.footnote} class.}
Defaults to 60px. Modifies the \code{.footnote} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/position_value}{position}
property values.}

\item{left_column_subtle_color}{Left Column Text (not last). Defaults to
#586e75. Modifies the \verb{.left-column h2, .left-column h3} classes.}
@@ -220,28 +237,32 @@ is also stored as a CSS variable that can be referenced with
CSS.}

\item{text_font_size}{Slide Body Text Font Size. Defaults to 1rem. Modifies
the \code{.remark-slide-content} class. The value of this variable is also
stored as a CSS variable that can be referenced with
\code{var(--text-font-size)} in any argument of a style function or in custom
CSS.}
the \code{.remark-slide-content} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--text-font-size)} in any
argument of a style function or in custom CSS.}

\item{header_h1_font_size}{h1 Header Text Font Size. Defaults to 2.75rem.
Modifies the \verb{.remark-slide-content h1} class. The value of this variable
is also stored as a CSS variable that can be referenced with
\code{var(--header-h1-font-size)} in any argument of a style function or in
custom CSS.}
Modifies the \verb{.remark-slide-content h1} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--header-h1-font-size)} in any
argument of a style function or in custom CSS.}

\item{header_h2_font_size}{h2 Header Text Font Size. Defaults to 2.25rem.
Modifies the \verb{.remark-slide-content h2} class. The value of this variable
is also stored as a CSS variable that can be referenced with
\code{var(--header-h2-font-size)} in any argument of a style function or in
custom CSS.}
Modifies the \verb{.remark-slide-content h2} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--header-h2-font-size)} in any
argument of a style function or in custom CSS.}

\item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 1.75rem.
Modifies the \verb{.remark-slide-content h3} class. The value of this variable
is also stored as a CSS variable that can be referenced with
\code{var(--header-h3-font-size)} in any argument of a style function or in
custom CSS.}
Modifies the \verb{.remark-slide-content h3} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--header-h3-font-size)} in any
argument of a style function or in custom CSS.}

\item{header_background_auto}{Add background under slide title automatically
for h1 header elements. If not enabled, use \code{class: header_background} to
@@ -262,7 +283,9 @@ stored as a CSS variable that can be referenced with
or in custom CSS.}

\item{header_background_padding}{Padding for h1 Header with Background.
Defaults to \code{NULL}. Modifies the \verb{.remark-slide-content h1} class.}
Defaults to \code{NULL}. Modifies the \verb{.remark-slide-content h1} class. Accepts
CSS \href{https://developer.mozilla.org/en-US/docs/Web/CSS/padding}{padding}
property values.}

\item{header_background_content_padding_top}{Top Padding for Content in
Slide with Header with Background. Defaults to 7rem. Modifies the
@@ -274,7 +297,9 @@ Background will not be Applied. Defaults to
\code{.remark-slide-content} class.}

\item{text_slide_number_font_size}{Slide Number Text Font Size. Defaults to
0.9em. Modifies the \code{.remark-slide-number} class.}
0.9em. Modifies the \code{.remark-slide-number} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values.}

\item{text_font_google}{Use \code{google_font()} to specify body font. Defaults
to \code{NULL}. Modifies the \code{body} element.}
@@ -286,7 +311,9 @@ referenced with \code{var(--text-font-family)} in any argument of a style
function or in custom CSS.}

\item{text_font_weight}{Body Text Font Weight. Defaults to normal. Modifies
the \code{body} element.}
the \code{body} element. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}
property values.}

\item{text_font_url}{Body Text Font URL(s). Defaults to
https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap.
@@ -315,7 +342,9 @@ can be referenced with \code{var(--header-font-family)} in any argument of a
style function or in custom CSS.}

\item{header_font_weight}{Header Font Weight. Defaults to 600. Modifies the
\verb{h1, h2, h3} elements.}
\verb{h1, h2, h3} elements. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}
property values.}

\item{header_font_url}{Header Font URL. Defaults to
https://fonts.googleapis.com/css?family=Cabin:600,600i&display=swap.
@@ -331,7 +360,9 @@ this variable is also stored as a CSS variable that can be referenced with
CSS.}

\item{code_font_size}{Code Text Font Size. Defaults to 0.9rem. Modifies the
\code{.remark-inline} class. The value of this variable is also stored as a CSS
\code{.remark-inline} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--code-font-size)} in any
argument of a style function or in custom CSS.}


+ 63
- 32
man/style_solarized_light.Rd Ver fichero

@@ -105,7 +105,10 @@ argument of a style function or in custom CSS.}
Modifies the \code{.remark-slide-number} class.}

\item{padding}{Slide Padding in \verb{top right [bottom left]} format. Defaults
to 16px 64px 16px 64px. Modifies the \code{.remark-slide-content} class.}
to 16px 64px 16px 64px. Modifies the \code{.remark-slide-content} class.
Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/padding}{padding}
property values.}

\item{background_image}{Background image applied to each \emph{and every} slide.
Set \code{title_slide_background_image = "none"} to remove the background image
@@ -116,12 +119,16 @@ from the title slide. Defaults to \code{NULL}. Modifies the
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.}
\code{NULL}. Modifies the \code{.remark-slide-content} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}
property values.}

\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.}
\code{.remark-slide-content} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-position}{background-position}
property values.}

\item{code_highlight_color}{Code Line Highlight. Defaults to #268bd240.
Modifies the \code{.remark-code-line-highlighted} class. The value of this
@@ -136,10 +143,11 @@ the \code{.remark-inline-code} class.}
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. The value of this variable is
also stored as a CSS variable that can be referenced with
\code{var(--code-inline-font-size)} in any argument of a style function or in
custom CSS.}
Modifies the \code{.remark-inline-code} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--code-inline-font-size)} in any
argument of a style function or in custom CSS.}

\item{inverse_background_color}{Inverse Background Color. Defaults to
#002b36. Modifies the \code{.inverse} class. The value of this variable is also
@@ -178,20 +186,29 @@ 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 \code{NULL}.
Modifies the \code{.title-slide} class.}
Modifies the \code{.title-slide} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}
property values.}

\item{title_slide_background_position}{Title Slide Background Image
Position. Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}
Position. Defaults to \code{NULL}. Modifies the \code{.title-slide} class. Accepts
CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-position}{background-position}
property values.}

\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.}
the \code{.footnote} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values.}

\item{footnote_position_bottom}{Footnote location from bottom of screen.
Defaults to 60px. Modifies the \code{.footnote} class.}
Defaults to 60px. Modifies the \code{.footnote} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/position_value}{position}
property values.}

\item{left_column_subtle_color}{Left Column Text (not last). Defaults to
#93a1a1. Modifies the \verb{.left-column h2, .left-column h3} classes.}
@@ -220,28 +237,32 @@ is also stored as a CSS variable that can be referenced with
CSS.}

\item{text_font_size}{Slide Body Text Font Size. Defaults to 1rem. Modifies
the \code{.remark-slide-content} class. The value of this variable is also
stored as a CSS variable that can be referenced with
\code{var(--text-font-size)} in any argument of a style function or in custom
CSS.}
the \code{.remark-slide-content} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--text-font-size)} in any
argument of a style function or in custom CSS.}

\item{header_h1_font_size}{h1 Header Text Font Size. Defaults to 2.75rem.
Modifies the \verb{.remark-slide-content h1} class. The value of this variable
is also stored as a CSS variable that can be referenced with
\code{var(--header-h1-font-size)} in any argument of a style function or in
custom CSS.}
Modifies the \verb{.remark-slide-content h1} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--header-h1-font-size)} in any
argument of a style function or in custom CSS.}

\item{header_h2_font_size}{h2 Header Text Font Size. Defaults to 2.25rem.
Modifies the \verb{.remark-slide-content h2} class. The value of this variable
is also stored as a CSS variable that can be referenced with
\code{var(--header-h2-font-size)} in any argument of a style function or in
custom CSS.}
Modifies the \verb{.remark-slide-content h2} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--header-h2-font-size)} in any
argument of a style function or in custom CSS.}

\item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 1.75rem.
Modifies the \verb{.remark-slide-content h3} class. The value of this variable
is also stored as a CSS variable that can be referenced with
\code{var(--header-h3-font-size)} in any argument of a style function or in
custom CSS.}
Modifies the \verb{.remark-slide-content h3} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--header-h3-font-size)} in any
argument of a style function or in custom CSS.}

\item{header_background_auto}{Add background under slide title automatically
for h1 header elements. If not enabled, use \code{class: header_background} to
@@ -262,7 +283,9 @@ stored as a CSS variable that can be referenced with
or in custom CSS.}

\item{header_background_padding}{Padding for h1 Header with Background.
Defaults to \code{NULL}. Modifies the \verb{.remark-slide-content h1} class.}
Defaults to \code{NULL}. Modifies the \verb{.remark-slide-content h1} class. Accepts
CSS \href{https://developer.mozilla.org/en-US/docs/Web/CSS/padding}{padding}
property values.}

\item{header_background_content_padding_top}{Top Padding for Content in
Slide with Header with Background. Defaults to 7rem. Modifies the
@@ -274,7 +297,9 @@ Background will not be Applied. Defaults to
\code{.remark-slide-content} class.}

\item{text_slide_number_font_size}{Slide Number Text Font Size. Defaults to
0.9em. Modifies the \code{.remark-slide-number} class.}
0.9em. Modifies the \code{.remark-slide-number} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values.}

\item{text_font_google}{Use \code{google_font()} to specify body font. Defaults
to \code{NULL}. Modifies the \code{body} element.}
@@ -286,7 +311,9 @@ referenced with \code{var(--text-font-family)} in any argument of a style
function or in custom CSS.}

\item{text_font_weight}{Body Text Font Weight. Defaults to normal. Modifies
the \code{body} element.}
the \code{body} element. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}
property values.}

\item{text_font_url}{Body Text Font URL(s). Defaults to
https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap.
@@ -315,7 +342,9 @@ can be referenced with \code{var(--header-font-family)} in any argument of a
style function or in custom CSS.}

\item{header_font_weight}{Header Font Weight. Defaults to 600. Modifies the
\verb{h1, h2, h3} elements.}
\verb{h1, h2, h3} elements. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}
property values.}

\item{header_font_url}{Header Font URL. Defaults to
https://fonts.googleapis.com/css?family=Cabin:600,600i&display=swap.
@@ -331,7 +360,9 @@ this variable is also stored as a CSS variable that can be referenced with
CSS.}

\item{code_font_size}{Code Text Font Size. Defaults to 0.9rem. Modifies the
\code{.remark-inline} class. The value of this variable is also stored as a CSS
\code{.remark-inline} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--code-font-size)} in any
argument of a style function or in custom CSS.}


+ 63
- 32
man/style_xaringan.Rd Ver fichero

@@ -105,7 +105,10 @@ argument of a style function or in custom CSS.}
\code{inverse_background_color}. Modifies the \code{.remark-slide-number} class.}

\item{padding}{Slide Padding in \verb{top right [bottom left]} format. Defaults
to 16px 64px 16px 64px. Modifies the \code{.remark-slide-content} class.}
to 16px 64px 16px 64px. Modifies the \code{.remark-slide-content} class.
Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/padding}{padding}
property values.}

\item{background_image}{Background image applied to each \emph{and every} slide.
Set \code{title_slide_background_image = "none"} to remove the background image
@@ -116,12 +119,16 @@ from the title slide. Defaults to \code{NULL}. Modifies the
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.}
\code{NULL}. Modifies the \code{.remark-slide-content} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}
property values.}

\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.}
\code{.remark-slide-content} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-position}{background-position}
property values.}

\item{code_highlight_color}{Code Line Highlight. Defaults to
rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.
@@ -136,10 +143,11 @@ function or in custom CSS.}
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. The value of this variable is
also stored as a CSS variable that can be referenced with
\code{var(--code-inline-font-size)} in any argument of a style function or in
custom CSS.}
Modifies the \code{.remark-inline-code} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--code-inline-font-size)} in any
argument of a style function or in custom CSS.}

\item{inverse_background_color}{Inverse Background Color. Defaults to
#272822. Modifies the \code{.inverse} class. The value of this variable is also
@@ -178,20 +186,29 @@ 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 \code{NULL}.
Modifies the \code{.title-slide} class.}
Modifies the \code{.title-slide} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}
property values.}

\item{title_slide_background_position}{Title Slide Background Image
Position. Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}
Position. Defaults to \code{NULL}. Modifies the \code{.title-slide} class. Accepts
CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-position}{background-position}
property values.}

\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.}
the \code{.footnote} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values.}

\item{footnote_position_bottom}{Footnote location from bottom of screen.
Defaults to 60px. Modifies the \code{.footnote} class.}
Defaults to 60px. Modifies the \code{.footnote} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/position_value}{position}
property values.}

\item{left_column_subtle_color}{Left Column Text (not last). Defaults to
#777. Modifies the \verb{.left-column h2, .left-column h3} classes.}
@@ -220,28 +237,32 @@ is also stored as a CSS variable that can be referenced with
CSS.}

\item{text_font_size}{Slide Body Text Font Size. Defaults to 1rem. Modifies
the \code{.remark-slide-content} class. The value of this variable is also
stored as a CSS variable that can be referenced with
\code{var(--text-font-size)} in any argument of a style function or in custom
CSS.}
the \code{.remark-slide-content} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--text-font-size)} in any
argument of a style function or in custom CSS.}

\item{header_h1_font_size}{h1 Header Text Font Size. Defaults to 2.75rem.
Modifies the \verb{.remark-slide-content h1} class. The value of this variable
is also stored as a CSS variable that can be referenced with
\code{var(--header-h1-font-size)} in any argument of a style function or in
custom CSS.}
Modifies the \verb{.remark-slide-content h1} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--header-h1-font-size)} in any
argument of a style function or in custom CSS.}

\item{header_h2_font_size}{h2 Header Text Font Size. Defaults to 2.25rem.
Modifies the \verb{.remark-slide-content h2} class. The value of this variable
is also stored as a CSS variable that can be referenced with
\code{var(--header-h2-font-size)} in any argument of a style function or in
custom CSS.}
Modifies the \verb{.remark-slide-content h2} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--header-h2-font-size)} in any
argument of a style function or in custom CSS.}

\item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 1.75rem.
Modifies the \verb{.remark-slide-content h3} class. The value of this variable
is also stored as a CSS variable that can be referenced with
\code{var(--header-h3-font-size)} in any argument of a style function or in
custom CSS.}
Modifies the \verb{.remark-slide-content h3} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--header-h3-font-size)} in any
argument of a style function or in custom CSS.}

\item{header_background_auto}{Add background under slide title automatically
for h1 header elements. If not enabled, use \code{class: header_background} to
@@ -262,7 +283,9 @@ stored as a CSS variable that can be referenced with
or in custom CSS.}

\item{header_background_padding}{Padding for h1 Header with Background.
Defaults to \code{NULL}. Modifies the \verb{.remark-slide-content h1} class.}
Defaults to \code{NULL}. Modifies the \verb{.remark-slide-content h1} class. Accepts
CSS \href{https://developer.mozilla.org/en-US/docs/Web/CSS/padding}{padding}
property values.}

\item{header_background_content_padding_top}{Top Padding for Content in
Slide with Header with Background. Defaults to 7rem. Modifies the
@@ -274,7 +297,9 @@ Background will not be Applied. Defaults to
\code{.remark-slide-content} class.}

\item{text_slide_number_font_size}{Slide Number Text Font Size. Defaults to
0.9em. Modifies the \code{.remark-slide-number} class.}
0.9em. Modifies the \code{.remark-slide-number} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values.}

\item{text_font_google}{Use \code{google_font()} to specify body font. Defaults
to \code{NULL}. Modifies the \code{body} element.}
@@ -286,7 +311,9 @@ referenced with \code{var(--text-font-family)} in any argument of a style
function or in custom CSS.}

\item{text_font_weight}{Body Text Font Weight. Defaults to normal. Modifies
the \code{body} element.}
the \code{body} element. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}
property values.}

\item{text_font_url}{Body Text Font URL(s). Defaults to
https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap.
@@ -315,7 +342,9 @@ can be referenced with \code{var(--header-font-family)} in any argument of a
style function or in custom CSS.}

\item{header_font_weight}{Header Font Weight. Defaults to 600. Modifies the
\verb{h1, h2, h3} elements.}
\verb{h1, h2, h3} elements. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}
property values.}

\item{header_font_url}{Header Font URL. Defaults to
https://fonts.googleapis.com/css?family=Cabin:600,600i&display=swap.
@@ -331,7 +360,9 @@ this variable is also stored as a CSS variable that can be referenced with
CSS.}

\item{code_font_size}{Code Text Font Size. Defaults to 0.9rem. Modifies the
\code{.remark-inline} class. The value of this variable is also stored as a CSS
\code{.remark-inline} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}
property values. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--code-font-size)} in any
argument of a style function or in custom CSS.}


+ 3
- 2
vignettes/template-variables.Rmd Ver fichero

@@ -48,13 +48,14 @@ tv <- xaringanthemer:::template_variables
tv$variable <- glue::glue_data(tv, "`{variable}`")
tv[!is.na(tv$css_variable), "css_variable"] <- glue::glue("`{tv$css_variable[!is.na(tv$css_variable)]}`")
tv[is.na(tv$css_variable), "css_variable"] <- ""
tv[is.na(tv$css_property), "css_property"] <- ""
tv$default <- gsub("[{}]", "", tv$default)
tv <- tv[, c(
"variable", "description", "element", "default", "css_variable"
"variable", "description", "element", "css_property", "default", "css_variable"
)]
knitr::kable(
tv,
col.names = c("Variable", "Description", "Element", "Default", "CSS Variable")
col.names = c("Variable", "Description", "Element", "CSS Property", "Default", "CSS Variable")
)
```


Cargando…
Cancelar
Guardar