Explorar el Código

Fix description of css variables in argument documentation

tags/v0.3.0
Garrick Aden-Buie hace 6 años
padre
commit
254bb0802c
Se han modificado 21 ficheros con 1488 adiciones y 984 borrados
  1. +90
    -24
      R/style_duo.R
  2. +90
    -24
      R/style_duo_accent.R
  3. +90
    -24
      R/style_duo_accent_inverse.R
  4. +91
    -24
      R/style_mono_accent.R
  5. +91
    -24
      R/style_mono_accent_inverse.R
  6. +91
    -24
      R/style_mono_dark.R
  7. +91
    -24
      R/style_mono_light.R
  8. +34
    -106
      R/style_solarized_dark.R
  9. +34
    -106
      R/style_solarized_light.R
  10. +34
    -106
      R/style_xaringan.R
  11. +9
    -5
      R/utils_theme-gen.R
  12. +91
    -25
      man/style_duo.Rd
  13. +91
    -25
      man/style_duo_accent.Rd
  14. +91
    -25
      man/style_duo_accent_inverse.Rd
  15. +92
    -25
      man/style_mono_accent.Rd
  16. +92
    -25
      man/style_mono_accent_inverse.Rd
  17. +92
    -25
      man/style_mono_dark.Rd
  18. +92
    -25
      man/style_mono_light.Rd
  19. +34
    -106
      man/style_solarized_dark.Rd
  20. +34
    -106
      man/style_solarized_light.Rd
  21. +34
    -106
      man/style_xaringan.Rd

+ 90
- 24
R/style_duo.R Ver fichero

@@ -6,15 +6,26 @@
#' multiple CSS rules.
#' @param text_color Text Color. Defaults to
#' `choose_dark_or_light(primary_color, darken_color(primary_color, 0.9), lighten_color(secondary_color, 0.99))`.
#' Modifies the `body` element.
#' Modifies the `body` element. The value of this variable is also stored as
#' a CSS variable that can be referenced with `var(--text_color)` in any
#' argument of a style function or in custom CSS.
#' @param header_color Header Color. Defaults to `secondary_color`. Modifies
#' the `h1, h2, h3` elements.
#' the `h1, h2, h3` elements. The value of this variable is also stored as a
#' CSS variable that can be referenced with `var(--header-color)` in any
#' argument of a style function or in custom CSS.
#' @param background_color Slide Background Color. Defaults to `primary_color`.
#' Modifies the `.remark-slide-content` class.
#' Modifies the `.remark-slide-content` class. The value of this variable is
#' also stored as a CSS variable that can be referenced with
#' `var(--background-color)` in any argument of a style function or in custom
#' CSS.
#' @param link_color Link Color. Defaults to `secondary_color`. Modifies the
#' `a, a > code` elements.
#' `a, a > code` elements. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--link-color)` in any argument
#' of a style function or in custom CSS.
#' @param text_bold_color Bold Text Color. Defaults to `secondary_color`.
#' Modifies the `strong` element.
#' Modifies the `strong` element. The value of this variable is also stored
#' as a CSS variable that can be referenced with `var(--text-bold-color)` in
#' any argument of a style function or in custom CSS.
#' @param text_slide_number_color Slide Number Color. Defaults to `text_color`.
#' Modifies the `.remark-slide-number` class.
#' @param padding Slide Padding in `top right [bottom left]` format. Defaults
@@ -34,25 +45,44 @@
#' `.remark-slide-content` class.
#' @param code_highlight_color Code Line Highlight. Defaults to
#' rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class.
#' The value of this variable is also stored as a CSS variable that can be
#' referenced with `var(--code-highlight-color)` in any argument of a style
#' function or in custom CSS.
#' @param code_inline_color Inline Code Color. Defaults to `secondary_color`.
#' Modifies the `.remark-inline-code` class.
#' @param code_inline_background_color Inline Code Background Color. Defaults
#' to `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.
#' 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.
#' @param inverse_background_color Inverse Background Color. Defaults to
#' `secondary_color`. Modifies the `.inverse` class.
#' `secondary_color`. Modifies the `.inverse` class. The value of this
#' variable is also stored as a CSS variable that can be referenced with
#' `var(--inverse-background-color)` in any argument of a style function or
#' in custom CSS.
#' @param inverse_text_color Inverse Text Color. Defaults to `primary_color`.
#' Modifies the `.inverse` class.
#' Modifies the `.inverse` class. The value of this variable is also stored
#' as a CSS variable that can be referenced with `var(--inverse-text-color)`
#' in any argument of a style function or in custom CSS.
#' @param inverse_text_shadow Enables Shadow on text of inverse slides.
#' Defaults to `FALSE`. Modifies the `.inverse` class.
#' @param inverse_header_color Inverse Header Color. Defaults to
#' `primary_color`. Modifies the `.inverse h1, .inverse h2, .inverse h3`
#' classes.
#' classes. The value of this variable is also stored as a CSS variable that
#' can be referenced with `var(--inverse-header-color)` in any argument of a
#' style function or in custom CSS.
#' @param title_slide_text_color Title Slide Text Color. Defaults to
#' `secondary_color`. Modifies the `.title-slide` class.
#' `secondary_color`. Modifies the `.title-slide` class. The value of this
#' variable is also stored as a CSS variable that can be referenced with
#' `var(--title-slide-text-color)` in any argument of a style function or in
#' custom CSS.
#' @param title_slide_background_color Title Slide Background Color. Defaults
#' to `primary_color`. Modifies the `.title-slide` class.
#' to `primary_color`. Modifies the `.title-slide` class. The value of this
#' variable is also stored as a CSS variable that can be referenced with
#' `var(--title-slide-background-color)` in any argument of a style function
#' or in custom CSS.
#' @param title_slide_background_image Title Slide Background Image URL.
#' Defaults to `NULL`. Modifies the `.title-slide` class.
#' @param title_slide_background_size Title Slide Background Image Size,
@@ -83,24 +113,45 @@
#' Defaults to `lighten_color(primary_color, 0.9)`. Modifies the
#' `thead, tfoot, tr:nth-child(even)` elements.
#' @param base_font_size Base Font Size for All Slide Elements (must be `px`).
#' Defaults to 20px. Modifies the `html` element.
#' Defaults to 20px. Modifies the `html` element. The value of this variable
#' is also stored as a CSS variable that can be referenced with
#' `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 `.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.
#' @param header_h1_font_size h1 Header Text Font Size. Defaults to 2.75rem.
#' Modifies the `.remark-slide-content h1` class.
#' 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.
#' @param header_h2_font_size h2 Header Text Font Size. Defaults to 2.25rem.
#' Modifies the `.remark-slide-content h2` class.
#' 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.
#' @param header_h3_font_size h3 Header Text Font Size. Defaults to 1.75rem.
#' Modifies the `.remark-slide-content h3` class.
#' 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.
#' @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`.
#' @param header_background_color Background Color for h1 Header with
#' Background. Defaults to `header_color`. Modifies the
#' `.remark-slide-content h1` class.
#' `.remark-slide-content h1` class. The value of this variable is also
#' stored as a CSS variable that can be referenced with
#' `var(--header-background-color)` in any argument of a style function or in
#' custom CSS.
#' @param header_background_text_color Text Color for h1 Header with
#' Background. Defaults to `background_color`. Modifies the
#' `.remark-slide-content h1` class.
#' `.remark-slide-content h1` class. The value of this variable is also
#' stored as a CSS variable that can be referenced with
#' `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.
#' @param header_background_content_padding_top Top Padding for Content in
@@ -115,7 +166,10 @@
#' @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
#' `'Droid Serif'`). Defaults to Noto Sans. Modifies the `body` element.
#' `'Droid Serif'`). Defaults to Noto Sans. Modifies the `body` element. The
#' value of this variable is also stored as a CSS variable that can be
#' 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.
#' @param text_font_url Body Text Font URL(s). Defaults to
@@ -124,14 +178,21 @@
#' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to
#' -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue,
#' helvetica, Ubuntu, roboto, noto, segoe ui, arial. Modifies the `body`
#' element.
#' element. The value of this variable is also stored as a CSS variable that
#' can be referenced with `var(--text-font-family-fallback)` in any argument
#' of a style function or in custom CSS.
#' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults
#' to sans-serif. Modifies the `body` element.
#' to sans-serif. Modifies the `body` element. The value of this variable is
#' also stored as a CSS variable that can be referenced with
#' `var(--text-font-base)` in any argument of a style function or in custom
#' CSS.
#' @param header_font_google Use `google_font()` to specify header font.
#' Defaults to `NULL`. Modifies the `body` element.
#' @param header_font_family Header Font Family (xaringan default is
#' `'Yanone Kaffeesatz'`). Defaults to Cabin. Modifies the `h1, h2, h3`
#' elements.
#' elements. The value of this variable is also stored as a CSS variable that
#' 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.
#' @param header_font_url Header Font URL. Defaults to
@@ -140,9 +201,14 @@
#' @param code_font_google Use `google_font()` to specify code font. Defaults
#' to `NULL`. Modifies the `body` element.
#' @param code_font_family Code Font Family. Defaults to Source Code Pro.
#' Modifies the `.remark-code, .remark-inline-code` classes.
#' Modifies the `.remark-code, .remark-inline-code` classes. The value of
#' this variable is also stored as a CSS variable that can be referenced with
#' `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.
#' `.remark-inline` class. 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
#' https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap.
#' Modifies the `@import url` elements.

+ 90
- 24
R/style_duo_accent.R Ver fichero

@@ -9,17 +9,28 @@
#' @param black_color Darkest color used. Defaults to #000000. Used in multiple
#' CSS rules.
#' @param text_color Text Color. Defaults to `black_color`. Modifies the `body`
#' element.
#' element. The value of this variable is also stored as a CSS variable that
#' can be referenced with `var(--text_color)` in any argument of a style
#' function or in custom CSS.
#' @param header_color Header Color. Defaults to `primary_color`. Modifies the
#' `h1, h2, h3` elements.
#' `h1, h2, h3` elements. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--header-color)` in any argument
#' of a style function or in custom CSS.
#' @param background_color Slide Background Color. Defaults to `white_color`.
#' Modifies the `.remark-slide-content` class.
#' Modifies the `.remark-slide-content` class. The value of this variable is
#' also stored as a CSS variable that can be referenced with
#' `var(--background-color)` in any argument of a style function or in custom
#' CSS.
#' @param link_color Link Color. Defaults to
#' `choose_dark_or_light(secondary_color, primary_color, secondary_color)`.
#' Modifies the `a, a > code` elements.
#' Modifies the `a, a > code` elements. The value of this variable is also
#' stored as a CSS variable that can be referenced with `var(--link-color)`
#' in any argument of a style function or in custom CSS.
#' @param text_bold_color Bold Text Color. Defaults to
#' `choose_dark_or_light(secondary_color, primary_color, secondary_color)`.
#' Modifies the `strong` element.
#' Modifies the `strong` element. The value of this variable is also stored
#' as a CSS variable that can be referenced with `var(--text-bold-color)` in
#' any argument of a style function or in custom CSS.
#' @param text_slide_number_color Slide Number Color. Defaults to
#' `primary_color`. Modifies the `.remark-slide-number` class.
#' @param padding Slide Padding in `top right [bottom left]` format. Defaults
@@ -39,28 +50,47 @@
#' `.remark-slide-content` class.
#' @param code_highlight_color Code Line Highlight. Defaults to
#' rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class.
#' The value of this variable is also stored as a CSS variable that can be
#' referenced with `var(--code-highlight-color)` in any argument of a style
#' function or in custom CSS.
#' @param code_inline_color Inline Code Color. Defaults to
#' `choose_dark_or_light(secondary_color, primary_color, secondary_color)`.
#' Modifies the `.remark-inline-code` class.
#' @param code_inline_background_color Inline Code Background Color. Defaults
#' to `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.
#' 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.
#' @param inverse_background_color Inverse Background Color. Defaults to
#' `secondary_color`. Modifies the `.inverse` class.
#' `secondary_color`. Modifies the `.inverse` class. The value of this
#' variable is also stored as a CSS variable that can be referenced with
#' `var(--inverse-background-color)` in any argument of a style function or
#' in custom CSS.
#' @param inverse_text_color Inverse Text Color. Defaults to
#' `choose_dark_or_light(secondary_color, black_color, white_color)`.
#' Modifies the `.inverse` class.
#' Modifies the `.inverse` class. The value of this variable is also stored
#' as a CSS variable that can be referenced with `var(--inverse-text-color)`
#' in any argument of a style function or in custom CSS.
#' @param inverse_text_shadow Enables Shadow on text of inverse slides.
#' Defaults to `FALSE`. Modifies the `.inverse` class.
#' @param inverse_header_color Inverse Header Color. Defaults to
#' `choose_dark_or_light(secondary_color, black_color, white_color)`.
#' Modifies the `.inverse h1, .inverse h2, .inverse h3` classes.
#' Modifies the `.inverse h1, .inverse h2, .inverse h3` classes. The value of
#' this variable is also stored as a CSS variable that can be referenced with
#' `var(--inverse-header-color)` in any argument of a style function or in
#' custom CSS.
#' @param title_slide_text_color Title Slide Text Color. Defaults to
#' `choose_dark_or_light(primary_color, black_color, white_color)`. Modifies
#' the `.title-slide` class.
#' the `.title-slide` class. The value of this variable is also stored as a
#' CSS variable that can be referenced with `var(--title-slide-text-color)`
#' in any argument of a style function or in custom CSS.
#' @param title_slide_background_color Title Slide Background Color. Defaults
#' to `primary_color`. Modifies the `.title-slide` class.
#' to `primary_color`. Modifies the `.title-slide` class. The value of this
#' variable is also stored as a CSS variable that can be referenced with
#' `var(--title-slide-background-color)` in any argument of a style function
#' or in custom CSS.
#' @param title_slide_background_image Title Slide Background Image URL.
#' Defaults to `NULL`. Modifies the `.title-slide` class.
#' @param title_slide_background_size Title Slide Background Image Size,
@@ -91,24 +121,45 @@
#' Defaults to `lighten_color(secondary_color, 0.8)`. Modifies the
#' `thead, tfoot, tr:nth-child(even)` elements.
#' @param base_font_size Base Font Size for All Slide Elements (must be `px`).
#' Defaults to 20px. Modifies the `html` element.
#' Defaults to 20px. Modifies the `html` element. The value of this variable
#' is also stored as a CSS variable that can be referenced with
#' `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 `.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.
#' @param header_h1_font_size h1 Header Text Font Size. Defaults to 2.75rem.
#' Modifies the `.remark-slide-content h1` class.
#' 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.
#' @param header_h2_font_size h2 Header Text Font Size. Defaults to 2.25rem.
#' Modifies the `.remark-slide-content h2` class.
#' 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.
#' @param header_h3_font_size h3 Header Text Font Size. Defaults to 1.75rem.
#' Modifies the `.remark-slide-content h3` class.
#' 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.
#' @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`.
#' @param header_background_color Background Color for h1 Header with
#' Background. Defaults to `header_color`. Modifies the
#' `.remark-slide-content h1` class.
#' `.remark-slide-content h1` class. The value of this variable is also
#' stored as a CSS variable that can be referenced with
#' `var(--header-background-color)` in any argument of a style function or in
#' custom CSS.
#' @param header_background_text_color Text Color for h1 Header with
#' Background. Defaults to `background_color`. Modifies the
#' `.remark-slide-content h1` class.
#' `.remark-slide-content h1` class. The value of this variable is also
#' stored as a CSS variable that can be referenced with
#' `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.
#' @param header_background_content_padding_top Top Padding for Content in
@@ -123,7 +174,10 @@
#' @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
#' `'Droid Serif'`). Defaults to Noto Sans. Modifies the `body` element.
#' `'Droid Serif'`). Defaults to Noto Sans. Modifies the `body` element. The
#' value of this variable is also stored as a CSS variable that can be
#' 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.
#' @param text_font_url Body Text Font URL(s). Defaults to
@@ -132,14 +186,21 @@
#' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to
#' -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue,
#' helvetica, Ubuntu, roboto, noto, segoe ui, arial. Modifies the `body`
#' element.
#' element. The value of this variable is also stored as a CSS variable that
#' can be referenced with `var(--text-font-family-fallback)` in any argument
#' of a style function or in custom CSS.
#' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults
#' to sans-serif. Modifies the `body` element.
#' to sans-serif. Modifies the `body` element. The value of this variable is
#' also stored as a CSS variable that can be referenced with
#' `var(--text-font-base)` in any argument of a style function or in custom
#' CSS.
#' @param header_font_google Use `google_font()` to specify header font.
#' Defaults to `NULL`. Modifies the `body` element.
#' @param header_font_family Header Font Family (xaringan default is
#' `'Yanone Kaffeesatz'`). Defaults to Cabin. Modifies the `h1, h2, h3`
#' elements.
#' elements. The value of this variable is also stored as a CSS variable that
#' 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.
#' @param header_font_url Header Font URL. Defaults to
@@ -148,9 +209,14 @@
#' @param code_font_google Use `google_font()` to specify code font. Defaults
#' to `NULL`. Modifies the `body` element.
#' @param code_font_family Code Font Family. Defaults to Source Code Pro.
#' Modifies the `.remark-code, .remark-inline-code` classes.
#' Modifies the `.remark-code, .remark-inline-code` classes. The value of
#' this variable is also stored as a CSS variable that can be referenced with
#' `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.
#' `.remark-inline` class. 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
#' https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap.
#' Modifies the `@import url` elements.

+ 90
- 24
R/style_duo_accent_inverse.R Ver fichero

@@ -9,17 +9,28 @@
#' @param black_color Darkest color used. Defaults to #000000. Used in multiple
#' CSS rules.
#' @param text_color Text Color. Defaults to `white_color`. Modifies the `body`
#' element.
#' element. The value of this variable is also stored as a CSS variable that
#' can be referenced with `var(--text_color)` in any argument of a style
#' function or in custom CSS.
#' @param header_color Header Color. Defaults to `primary_color`. Modifies the
#' `h1, h2, h3` elements.
#' `h1, h2, h3` elements. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--header-color)` in any argument
#' of a style function or in custom CSS.
#' @param background_color Slide Background Color. Defaults to `black_color`.
#' Modifies the `.remark-slide-content` class.
#' Modifies the `.remark-slide-content` class. The value of this variable is
#' also stored as a CSS variable that can be referenced with
#' `var(--background-color)` in any argument of a style function or in custom
#' CSS.
#' @param link_color Link Color. Defaults to
#' `choose_dark_or_light(secondary_color, secondary_color, primary_color)`.
#' Modifies the `a, a > code` elements.
#' Modifies the `a, a > code` elements. The value of this variable is also
#' stored as a CSS variable that can be referenced with `var(--link-color)`
#' in any argument of a style function or in custom CSS.
#' @param text_bold_color Bold Text Color. Defaults to
#' `choose_dark_or_light(secondary_color, secondary_color, primary_color)`.
#' Modifies the `strong` element.
#' Modifies the `strong` element. The value of this variable is also stored
#' as a CSS variable that can be referenced with `var(--text-bold-color)` in
#' any argument of a style function or in custom CSS.
#' @param text_slide_number_color Slide Number Color. Defaults to
#' `primary_color`. Modifies the `.remark-slide-number` class.
#' @param padding Slide Padding in `top right [bottom left]` format. Defaults
@@ -39,28 +50,47 @@
#' `.remark-slide-content` class.
#' @param code_highlight_color Code Line Highlight. Defaults to
#' rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class.
#' The value of this variable is also stored as a CSS variable that can be
#' referenced with `var(--code-highlight-color)` in any argument of a style
#' function or in custom CSS.
#' @param code_inline_color Inline Code Color. Defaults to
#' `choose_dark_or_light(secondary_color, secondary_color, primary_color)`.
#' Modifies the `.remark-inline-code` class.
#' @param code_inline_background_color Inline Code Background Color. Defaults
#' to `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.
#' 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.
#' @param inverse_background_color Inverse Background Color. Defaults to
#' `secondary_color`. Modifies the `.inverse` class.
#' `secondary_color`. Modifies the `.inverse` class. The value of this
#' variable is also stored as a CSS variable that can be referenced with
#' `var(--inverse-background-color)` in any argument of a style function or
#' in custom CSS.
#' @param inverse_text_color Inverse Text Color. Defaults to
#' `choose_dark_or_light(secondary_color, black_color, white_color)`.
#' Modifies the `.inverse` class.
#' Modifies the `.inverse` class. The value of this variable is also stored
#' as a CSS variable that can be referenced with `var(--inverse-text-color)`
#' in any argument of a style function or in custom CSS.
#' @param inverse_text_shadow Enables Shadow on text of inverse slides.
#' Defaults to `FALSE`. Modifies the `.inverse` class.
#' @param inverse_header_color Inverse Header Color. Defaults to
#' `choose_dark_or_light(secondary_color, black_color, white_color)`.
#' Modifies the `.inverse h1, .inverse h2, .inverse h3` classes.
#' Modifies the `.inverse h1, .inverse h2, .inverse h3` classes. The value of
#' this variable is also stored as a CSS variable that can be referenced with
#' `var(--inverse-header-color)` in any argument of a style function or in
#' custom CSS.
#' @param title_slide_text_color Title Slide Text Color. Defaults to
#' `choose_dark_or_light(primary_color, black_color, white_color)`. Modifies
#' the `.title-slide` class.
#' the `.title-slide` class. The value of this variable is also stored as a
#' CSS variable that can be referenced with `var(--title-slide-text-color)`
#' in any argument of a style function or in custom CSS.
#' @param title_slide_background_color Title Slide Background Color. Defaults
#' to `primary_color`. Modifies the `.title-slide` class.
#' to `primary_color`. Modifies the `.title-slide` class. The value of this
#' variable is also stored as a CSS variable that can be referenced with
#' `var(--title-slide-background-color)` in any argument of a style function
#' or in custom CSS.
#' @param title_slide_background_image Title Slide Background Image URL.
#' Defaults to `NULL`. Modifies the `.title-slide` class.
#' @param title_slide_background_size Title Slide Background Image Size,
@@ -92,24 +122,45 @@
#' `darken_color(choose_dark_or_light(primary_color, secondary_color, primary_color), 0.2)`.
#' Modifies the `thead, tfoot, tr:nth-child(even)` elements.
#' @param base_font_size Base Font Size for All Slide Elements (must be `px`).
#' Defaults to 20px. Modifies the `html` element.
#' Defaults to 20px. Modifies the `html` element. The value of this variable
#' is also stored as a CSS variable that can be referenced with
#' `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 `.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.
#' @param header_h1_font_size h1 Header Text Font Size. Defaults to 2.75rem.
#' Modifies the `.remark-slide-content h1` class.
#' 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.
#' @param header_h2_font_size h2 Header Text Font Size. Defaults to 2.25rem.
#' Modifies the `.remark-slide-content h2` class.
#' 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.
#' @param header_h3_font_size h3 Header Text Font Size. Defaults to 1.75rem.
#' Modifies the `.remark-slide-content h3` class.
#' 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.
#' @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`.
#' @param header_background_color Background Color for h1 Header with
#' Background. Defaults to `header_color`. Modifies the
#' `.remark-slide-content h1` class.
#' `.remark-slide-content h1` class. The value of this variable is also
#' stored as a CSS variable that can be referenced with
#' `var(--header-background-color)` in any argument of a style function or in
#' custom CSS.
#' @param header_background_text_color Text Color for h1 Header with
#' Background. Defaults to `background_color`. Modifies the
#' `.remark-slide-content h1` class.
#' `.remark-slide-content h1` class. The value of this variable is also
#' stored as a CSS variable that can be referenced with
#' `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.
#' @param header_background_content_padding_top Top Padding for Content in
@@ -124,7 +175,10 @@
#' @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
#' `'Droid Serif'`). Defaults to Noto Sans. Modifies the `body` element.
#' `'Droid Serif'`). Defaults to Noto Sans. Modifies the `body` element. The
#' value of this variable is also stored as a CSS variable that can be
#' 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.
#' @param text_font_url Body Text Font URL(s). Defaults to
@@ -133,14 +187,21 @@
#' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to
#' -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue,
#' helvetica, Ubuntu, roboto, noto, segoe ui, arial. Modifies the `body`
#' element.
#' element. The value of this variable is also stored as a CSS variable that
#' can be referenced with `var(--text-font-family-fallback)` in any argument
#' of a style function or in custom CSS.
#' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults
#' to sans-serif. Modifies the `body` element.
#' to sans-serif. Modifies the `body` element. The value of this variable is
#' also stored as a CSS variable that can be referenced with
#' `var(--text-font-base)` in any argument of a style function or in custom
#' CSS.
#' @param header_font_google Use `google_font()` to specify header font.
#' Defaults to `NULL`. Modifies the `body` element.
#' @param header_font_family Header Font Family (xaringan default is
#' `'Yanone Kaffeesatz'`). Defaults to Cabin. Modifies the `h1, h2, h3`
#' elements.
#' elements. The value of this variable is also stored as a CSS variable that
#' 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.
#' @param header_font_url Header Font URL. Defaults to
@@ -149,9 +210,14 @@
#' @param code_font_google Use `google_font()` to specify code font. Defaults
#' to `NULL`. Modifies the `body` element.
#' @param code_font_family Code Font Family. Defaults to Source Code Pro.
#' Modifies the `.remark-code, .remark-inline-code` classes.
#' Modifies the `.remark-code, .remark-inline-code` classes. The value of
#' this variable is also stored as a CSS variable that can be referenced with
#' `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.
#' `.remark-inline` class. 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
#' https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap.
#' Modifies the `@import url` elements.

+ 91
- 24
R/style_mono_accent.R Ver fichero

@@ -7,15 +7,26 @@
#' @param black_color Darkest color used. Defaults to #272822. Used in multiple
#' CSS rules.
#' @param text_color Text Color. Defaults to `black_color`. Modifies the `body`
#' element.
#' element. The value of this variable is also stored as a CSS variable that
#' can be referenced with `var(--text_color)` in any argument of a style
#' function or in custom CSS.
#' @param header_color Header Color. Defaults to `base_color`. Modifies the
#' `h1, h2, h3` elements.
#' `h1, h2, h3` elements. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--header-color)` in any argument
#' of a style function or in custom CSS.
#' @param background_color Slide Background Color. Defaults to `white_color`.
#' Modifies the `.remark-slide-content` class.
#' Modifies the `.remark-slide-content` class. The value of this variable is
#' also stored as a CSS variable that can be referenced with
#' `var(--background-color)` in any argument of a style function or in custom
#' CSS.
#' @param link_color Link Color. Defaults to `base_color`. Modifies the
#' `a, a > code` elements.
#' `a, a > code` elements. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--link-color)` in any argument
#' of a style function or in custom CSS.
#' @param text_bold_color Bold Text Color. Defaults to `base_color`. Modifies
#' the `strong` element.
#' the `strong` element. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--text-bold-color)` in any
#' argument of a style function or in custom CSS.
#' @param text_slide_number_color Slide Number Color. Defaults to `base_color`.
#' Modifies the `.remark-slide-number` class.
#' @param padding Slide Padding in `top right [bottom left]` format. Defaults
@@ -35,24 +46,44 @@
#' `.remark-slide-content` class.
#' @param code_highlight_color Code Line Highlight. Defaults to
#' rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class.
#' The value of this variable is also stored as a CSS variable that can be
#' referenced with `var(--code-highlight-color)` in any argument of a style
#' function or in custom CSS.
#' @param code_inline_color Inline Code Color. Defaults to `base_color`.
#' Modifies the `.remark-inline-code` class.
#' @param code_inline_background_color Inline Code Background Color. Defaults
#' to `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.
#' 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.
#' @param inverse_background_color Inverse Background Color. Defaults to
#' `base_color`. Modifies the `.inverse` class.
#' `base_color`. Modifies the `.inverse` class. The value of this variable is
#' also stored as a CSS variable that can be referenced with
#' `var(--inverse-background-color)` in any argument of a style function or
#' in custom CSS.
#' @param inverse_text_color Inverse Text Color. Defaults to `white_color`.
#' Modifies the `.inverse` class.
#' Modifies the `.inverse` class. The value of this variable is also stored
#' as a CSS variable that can be referenced with `var(--inverse-text-color)`
#' in any argument of a style function or in custom CSS.
#' @param inverse_text_shadow Enables Shadow on text of inverse slides.
#' Defaults to `FALSE`. Modifies the `.inverse` class.
#' @param inverse_header_color Inverse Header Color. Defaults to `white_color`.
#' Modifies the `.inverse h1, .inverse h2, .inverse h3` classes.
#' Modifies the `.inverse h1, .inverse h2, .inverse h3` classes. The value of
#' this variable is also stored as a CSS variable that can be referenced with
#' `var(--inverse-header-color)` in any argument of a style function or in
#' custom CSS.
#' @param title_slide_text_color Title Slide Text Color. Defaults to
#' `inverse_text_color`. Modifies the `.title-slide` class.
#' `inverse_text_color`. Modifies the `.title-slide` class. The value of this
#' variable is also stored as a CSS variable that can be referenced with
#' `var(--title-slide-text-color)` in any argument of a style function or in
#' custom CSS.
#' @param title_slide_background_color Title Slide Background Color. Defaults
#' to `inverse_background_color`. Modifies the `.title-slide` class.
#' to `inverse_background_color`. Modifies the `.title-slide` class. The
#' value of this variable is also stored as a CSS variable that can be
#' referenced with `var(--title-slide-background-color)` in any argument of a
#' style function or in custom CSS.
#' @param title_slide_background_image Title Slide Background Image URL.
#' Defaults to `NULL`. Modifies the `.title-slide` class.
#' @param title_slide_background_size Title Slide Background Image Size,
@@ -83,24 +114,45 @@
#' Defaults to `lighten_color(base_color, 0.8)`. Modifies the
#' `thead, tfoot, tr:nth-child(even)` elements.
#' @param base_font_size Base Font Size for All Slide Elements (must be `px`).
#' Defaults to 20px. Modifies the `html` element.
#' Defaults to 20px. Modifies the `html` element. The value of this variable
#' is also stored as a CSS variable that can be referenced with
#' `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 `.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.
#' @param header_h1_font_size h1 Header Text Font Size. Defaults to 2.75rem.
#' Modifies the `.remark-slide-content h1` class.
#' 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.
#' @param header_h2_font_size h2 Header Text Font Size. Defaults to 2.25rem.
#' Modifies the `.remark-slide-content h2` class.
#' 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.
#' @param header_h3_font_size h3 Header Text Font Size. Defaults to 1.75rem.
#' Modifies the `.remark-slide-content h3` class.
#' 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.
#' @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`.
#' @param header_background_color Background Color for h1 Header with
#' Background. Defaults to `header_color`. Modifies the
#' `.remark-slide-content h1` class.
#' `.remark-slide-content h1` class. The value of this variable is also
#' stored as a CSS variable that can be referenced with
#' `var(--header-background-color)` in any argument of a style function or in
#' custom CSS.
#' @param header_background_text_color Text Color for h1 Header with
#' Background. Defaults to `background_color`. Modifies the
#' `.remark-slide-content h1` class.
#' `.remark-slide-content h1` class. The value of this variable is also
#' stored as a CSS variable that can be referenced with
#' `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.
#' @param header_background_content_padding_top Top Padding for Content in
@@ -115,7 +167,10 @@
#' @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
#' `'Droid Serif'`). Defaults to Noto Sans. Modifies the `body` element.
#' `'Droid Serif'`). Defaults to Noto Sans. Modifies the `body` element. The
#' value of this variable is also stored as a CSS variable that can be
#' 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.
#' @param text_font_url Body Text Font URL(s). Defaults to
@@ -124,14 +179,21 @@
#' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to
#' -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue,
#' helvetica, Ubuntu, roboto, noto, segoe ui, arial. Modifies the `body`
#' element.
#' element. The value of this variable is also stored as a CSS variable that
#' can be referenced with `var(--text-font-family-fallback)` in any argument
#' of a style function or in custom CSS.
#' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults
#' to sans-serif. Modifies the `body` element.
#' to sans-serif. Modifies the `body` element. The value of this variable is
#' also stored as a CSS variable that can be referenced with
#' `var(--text-font-base)` in any argument of a style function or in custom
#' CSS.
#' @param header_font_google Use `google_font()` to specify header font.
#' Defaults to `NULL`. Modifies the `body` element.
#' @param header_font_family Header Font Family (xaringan default is
#' `'Yanone Kaffeesatz'`). Defaults to Cabin. Modifies the `h1, h2, h3`
#' elements.
#' elements. The value of this variable is also stored as a CSS variable that
#' 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.
#' @param header_font_url Header Font URL. Defaults to
@@ -140,9 +202,14 @@
#' @param code_font_google Use `google_font()` to specify code font. Defaults
#' to `NULL`. Modifies the `body` element.
#' @param code_font_family Code Font Family. Defaults to Source Code Pro.
#' Modifies the `.remark-code, .remark-inline-code` classes.
#' Modifies the `.remark-code, .remark-inline-code` classes. The value of
#' this variable is also stored as a CSS variable that can be referenced with
#' `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.
#' `.remark-inline` class. 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
#' https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap.
#' Modifies the `@import url` elements.

+ 91
- 24
R/style_mono_accent_inverse.R Ver fichero

@@ -8,15 +8,26 @@
#' `base_color`. Defaults to `darken_color(base_color, 0.9)`. Used in
#' multiple CSS rules.
#' @param text_color Text Color. Defaults to `white_color`. Modifies the `body`
#' element.
#' element. The value of this variable is also stored as a CSS variable that
#' can be referenced with `var(--text_color)` in any argument of a style
#' function or in custom CSS.
#' @param header_color Header Color. Defaults to `base_color`. Modifies the
#' `h1, h2, h3` elements.
#' `h1, h2, h3` elements. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--header-color)` in any argument
#' of a style function or in custom CSS.
#' @param background_color Slide Background Color. Defaults to `black_color`.
#' Modifies the `.remark-slide-content` class.
#' Modifies the `.remark-slide-content` class. The value of this variable is
#' also stored as a CSS variable that can be referenced with
#' `var(--background-color)` in any argument of a style function or in custom
#' CSS.
#' @param link_color Link Color. Defaults to `base_color`. Modifies the
#' `a, a > code` elements.
#' `a, a > code` elements. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--link-color)` in any argument
#' of a style function or in custom CSS.
#' @param text_bold_color Bold Text Color. Defaults to `base_color`. Modifies
#' the `strong` element.
#' the `strong` element. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--text-bold-color)` in any
#' argument of a style function or in custom CSS.
#' @param text_slide_number_color Slide Number Color. Defaults to `base_color`.
#' Modifies the `.remark-slide-number` class.
#' @param padding Slide Padding in `top right [bottom left]` format. Defaults
@@ -36,24 +47,44 @@
#' `.remark-slide-content` class.
#' @param code_highlight_color Code Line Highlight. Defaults to
#' rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class.
#' The value of this variable is also stored as a CSS variable that can be
#' referenced with `var(--code-highlight-color)` in any argument of a style
#' function or in custom CSS.
#' @param code_inline_color Inline Code Color. Defaults to `base_color`.
#' Modifies the `.remark-inline-code` class.
#' @param code_inline_background_color Inline Code Background Color. Defaults
#' to `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.
#' 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.
#' @param inverse_background_color Inverse Background Color. Defaults to
#' `base_color`. Modifies the `.inverse` class.
#' `base_color`. Modifies the `.inverse` class. The value of this variable is
#' also stored as a CSS variable that can be referenced with
#' `var(--inverse-background-color)` in any argument of a style function or
#' in custom CSS.
#' @param inverse_text_color Inverse Text Color. Defaults to `black_color`.
#' Modifies the `.inverse` class.
#' Modifies the `.inverse` class. The value of this variable is also stored
#' as a CSS variable that can be referenced with `var(--inverse-text-color)`
#' in any argument of a style function or in custom CSS.
#' @param inverse_text_shadow Enables Shadow on text of inverse slides.
#' Defaults to `FALSE`. Modifies the `.inverse` class.
#' @param inverse_header_color Inverse Header Color. Defaults to `black_color`.
#' Modifies the `.inverse h1, .inverse h2, .inverse h3` classes.
#' Modifies the `.inverse h1, .inverse h2, .inverse h3` classes. The value of
#' this variable is also stored as a CSS variable that can be referenced with
#' `var(--inverse-header-color)` in any argument of a style function or in
#' custom CSS.
#' @param title_slide_text_color Title Slide Text Color. Defaults to
#' `inverse_text_color`. Modifies the `.title-slide` class.
#' `inverse_text_color`. Modifies the `.title-slide` class. The value of this
#' variable is also stored as a CSS variable that can be referenced with
#' `var(--title-slide-text-color)` in any argument of a style function or in
#' custom CSS.
#' @param title_slide_background_color Title Slide Background Color. Defaults
#' to `inverse_background_color`. Modifies the `.title-slide` class.
#' to `inverse_background_color`. Modifies the `.title-slide` class. The
#' value of this variable is also stored as a CSS variable that can be
#' referenced with `var(--title-slide-background-color)` in any argument of a
#' style function or in custom CSS.
#' @param title_slide_background_image Title Slide Background Image URL.
#' Defaults to `NULL`. Modifies the `.title-slide` class.
#' @param title_slide_background_size Title Slide Background Image Size,
@@ -84,24 +115,45 @@
#' Defaults to `darken_color(base_color, 0.8)`. Modifies the
#' `thead, tfoot, tr:nth-child(even)` elements.
#' @param base_font_size Base Font Size for All Slide Elements (must be `px`).
#' Defaults to 20px. Modifies the `html` element.
#' Defaults to 20px. Modifies the `html` element. The value of this variable
#' is also stored as a CSS variable that can be referenced with
#' `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 `.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.
#' @param header_h1_font_size h1 Header Text Font Size. Defaults to 2.75rem.
#' Modifies the `.remark-slide-content h1` class.
#' 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.
#' @param header_h2_font_size h2 Header Text Font Size. Defaults to 2.25rem.
#' Modifies the `.remark-slide-content h2` class.
#' 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.
#' @param header_h3_font_size h3 Header Text Font Size. Defaults to 1.75rem.
#' Modifies the `.remark-slide-content h3` class.
#' 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.
#' @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`.
#' @param header_background_color Background Color for h1 Header with
#' Background. Defaults to `header_color`. Modifies the
#' `.remark-slide-content h1` class.
#' `.remark-slide-content h1` class. The value of this variable is also
#' stored as a CSS variable that can be referenced with
#' `var(--header-background-color)` in any argument of a style function or in
#' custom CSS.
#' @param header_background_text_color Text Color for h1 Header with
#' Background. Defaults to `background_color`. Modifies the
#' `.remark-slide-content h1` class.
#' `.remark-slide-content h1` class. The value of this variable is also
#' stored as a CSS variable that can be referenced with
#' `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.
#' @param header_background_content_padding_top Top Padding for Content in
@@ -116,7 +168,10 @@
#' @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
#' `'Droid Serif'`). Defaults to Noto Sans. Modifies the `body` element.
#' `'Droid Serif'`). Defaults to Noto Sans. Modifies the `body` element. The
#' value of this variable is also stored as a CSS variable that can be
#' 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.
#' @param text_font_url Body Text Font URL(s). Defaults to
@@ -125,14 +180,21 @@
#' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to
#' -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue,
#' helvetica, Ubuntu, roboto, noto, segoe ui, arial. Modifies the `body`
#' element.
#' element. The value of this variable is also stored as a CSS variable that
#' can be referenced with `var(--text-font-family-fallback)` in any argument
#' of a style function or in custom CSS.
#' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults
#' to sans-serif. Modifies the `body` element.
#' to sans-serif. Modifies the `body` element. The value of this variable is
#' also stored as a CSS variable that can be referenced with
#' `var(--text-font-base)` in any argument of a style function or in custom
#' CSS.
#' @param header_font_google Use `google_font()` to specify header font.
#' Defaults to `NULL`. Modifies the `body` element.
#' @param header_font_family Header Font Family (xaringan default is
#' `'Yanone Kaffeesatz'`). Defaults to Cabin. Modifies the `h1, h2, h3`
#' elements.
#' elements. The value of this variable is also stored as a CSS variable that
#' 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.
#' @param header_font_url Header Font URL. Defaults to
@@ -141,9 +203,14 @@
#' @param code_font_google Use `google_font()` to specify code font. Defaults
#' to `NULL`. Modifies the `body` element.
#' @param code_font_family Code Font Family. Defaults to Source Code Pro.
#' Modifies the `.remark-code, .remark-inline-code` classes.
#' Modifies the `.remark-code, .remark-inline-code` classes. The value of
#' this variable is also stored as a CSS variable that can be referenced with
#' `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.
#' `.remark-inline` class. 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
#' https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap.
#' Modifies the `@import url` elements.

+ 91
- 24
R/style_mono_dark.R Ver fichero

@@ -9,15 +9,26 @@
#' `base_color`. Defaults to `darken_color(base_color, 0.85)`. Used in
#' multiple CSS rules.
#' @param text_color Text Color. Defaults to `white_color`. Modifies the `body`
#' element.
#' element. The value of this variable is also stored as a CSS variable that
#' can be referenced with `var(--text_color)` in any argument of a style
#' function or in custom CSS.
#' @param header_color Header Color. Defaults to `base_color`. Modifies the
#' `h1, h2, h3` elements.
#' `h1, h2, h3` elements. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--header-color)` in any argument
#' of a style function or in custom CSS.
#' @param background_color Slide Background Color. Defaults to `black_color`.
#' Modifies the `.remark-slide-content` class.
#' Modifies the `.remark-slide-content` class. The value of this variable is
#' also stored as a CSS variable that can be referenced with
#' `var(--background-color)` in any argument of a style function or in custom
#' CSS.
#' @param link_color Link Color. Defaults to `base_color`. Modifies the
#' `a, a > code` elements.
#' `a, a > code` elements. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--link-color)` in any argument
#' of a style function or in custom CSS.
#' @param text_bold_color Bold Text Color. Defaults to `base_color`. Modifies
#' the `strong` element.
#' the `strong` element. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--text-bold-color)` in any
#' argument of a style function or in custom CSS.
#' @param text_slide_number_color Slide Number Color. Defaults to `base_color`.
#' Modifies the `.remark-slide-number` class.
#' @param padding Slide Padding in `top right [bottom left]` format. Defaults
@@ -37,24 +48,44 @@
#' `.remark-slide-content` class.
#' @param code_highlight_color Code Line Highlight. Defaults to
#' rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class.
#' The value of this variable is also stored as a CSS variable that can be
#' referenced with `var(--code-highlight-color)` in any argument of a style
#' function or in custom CSS.
#' @param code_inline_color Inline Code Color. Defaults to `base_color`.
#' Modifies the `.remark-inline-code` class.
#' @param code_inline_background_color Inline Code Background Color. Defaults
#' to `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.
#' 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.
#' @param inverse_background_color Inverse Background Color. Defaults to
#' `base_color`. Modifies the `.inverse` class.
#' `base_color`. Modifies the `.inverse` class. The value of this variable is
#' also stored as a CSS variable that can be referenced with
#' `var(--inverse-background-color)` in any argument of a style function or
#' in custom CSS.
#' @param inverse_text_color Inverse Text Color. Defaults to `black_color`.
#' Modifies the `.inverse` class.
#' Modifies the `.inverse` class. The value of this variable is also stored
#' as a CSS variable that can be referenced with `var(--inverse-text-color)`
#' in any argument of a style function or in custom CSS.
#' @param inverse_text_shadow Enables Shadow on text of inverse slides.
#' Defaults to `FALSE`. Modifies the `.inverse` class.
#' @param inverse_header_color Inverse Header Color. Defaults to `black_color`.
#' Modifies the `.inverse h1, .inverse h2, .inverse h3` classes.
#' Modifies the `.inverse h1, .inverse h2, .inverse h3` classes. The value of
#' this variable is also stored as a CSS variable that can be referenced with
#' `var(--inverse-header-color)` in any argument of a style function or in
#' custom CSS.
#' @param title_slide_text_color Title Slide Text Color. Defaults to
#' `inverse_text_color`. Modifies the `.title-slide` class.
#' `inverse_text_color`. Modifies the `.title-slide` class. The value of this
#' variable is also stored as a CSS variable that can be referenced with
#' `var(--title-slide-text-color)` in any argument of a style function or in
#' custom CSS.
#' @param title_slide_background_color Title Slide Background Color. Defaults
#' to `inverse_background_color`. Modifies the `.title-slide` class.
#' to `inverse_background_color`. Modifies the `.title-slide` class. The
#' value of this variable is also stored as a CSS variable that can be
#' referenced with `var(--title-slide-background-color)` in any argument of a
#' style function or in custom CSS.
#' @param title_slide_background_image Title Slide Background Image URL.
#' Defaults to `NULL`. Modifies the `.title-slide` class.
#' @param title_slide_background_size Title Slide Background Image Size,
@@ -85,24 +116,45 @@
#' Defaults to `darken_color(base_color, 0.7)`. Modifies the
#' `thead, tfoot, tr:nth-child(even)` elements.
#' @param base_font_size Base Font Size for All Slide Elements (must be `px`).
#' Defaults to 20px. Modifies the `html` element.
#' Defaults to 20px. Modifies the `html` element. The value of this variable
#' is also stored as a CSS variable that can be referenced with
#' `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 `.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.
#' @param header_h1_font_size h1 Header Text Font Size. Defaults to 2.75rem.
#' Modifies the `.remark-slide-content h1` class.
#' 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.
#' @param header_h2_font_size h2 Header Text Font Size. Defaults to 2.25rem.
#' Modifies the `.remark-slide-content h2` class.
#' 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.
#' @param header_h3_font_size h3 Header Text Font Size. Defaults to 1.75rem.
#' Modifies the `.remark-slide-content h3` class.
#' 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.
#' @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`.
#' @param header_background_color Background Color for h1 Header with
#' Background. Defaults to `header_color`. Modifies the
#' `.remark-slide-content h1` class.
#' `.remark-slide-content h1` class. The value of this variable is also
#' stored as a CSS variable that can be referenced with
#' `var(--header-background-color)` in any argument of a style function or in
#' custom CSS.
#' @param header_background_text_color Text Color for h1 Header with
#' Background. Defaults to `background_color`. Modifies the
#' `.remark-slide-content h1` class.
#' `.remark-slide-content h1` class. The value of this variable is also
#' stored as a CSS variable that can be referenced with
#' `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.
#' @param header_background_content_padding_top Top Padding for Content in
@@ -117,7 +169,10 @@
#' @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
#' `'Droid Serif'`). Defaults to Noto Sans. Modifies the `body` element.
#' `'Droid Serif'`). Defaults to Noto Sans. Modifies the `body` element. The
#' value of this variable is also stored as a CSS variable that can be
#' 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.
#' @param text_font_url Body Text Font URL(s). Defaults to
@@ -126,14 +181,21 @@
#' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to
#' -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue,
#' helvetica, Ubuntu, roboto, noto, segoe ui, arial. Modifies the `body`
#' element.
#' element. The value of this variable is also stored as a CSS variable that
#' can be referenced with `var(--text-font-family-fallback)` in any argument
#' of a style function or in custom CSS.
#' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults
#' to sans-serif. Modifies the `body` element.
#' to sans-serif. Modifies the `body` element. The value of this variable is
#' also stored as a CSS variable that can be referenced with
#' `var(--text-font-base)` in any argument of a style function or in custom
#' CSS.
#' @param header_font_google Use `google_font()` to specify header font.
#' Defaults to `NULL`. Modifies the `body` element.
#' @param header_font_family Header Font Family (xaringan default is
#' `'Yanone Kaffeesatz'`). Defaults to Cabin. Modifies the `h1, h2, h3`
#' elements.
#' elements. The value of this variable is also stored as a CSS variable that
#' 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.
#' @param header_font_url Header Font URL. Defaults to
@@ -142,9 +204,14 @@
#' @param code_font_google Use `google_font()` to specify code font. Defaults
#' to `NULL`. Modifies the `body` element.
#' @param code_font_family Code Font Family. Defaults to Source Code Pro.
#' Modifies the `.remark-code, .remark-inline-code` classes.
#' Modifies the `.remark-code, .remark-inline-code` classes. The value of
#' this variable is also stored as a CSS variable that can be referenced with
#' `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.
#' `.remark-inline` class. 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
#' https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap.
#' Modifies the `@import url` elements.

+ 91
- 24
R/style_mono_light.R Ver fichero

@@ -9,15 +9,26 @@
#' `base_color`. Defaults to `darken_color(base_color, 0.3)`. Used in
#' multiple CSS rules.
#' @param text_color Text Color. Defaults to `black_color`. Modifies the `body`
#' element.
#' element. The value of this variable is also stored as a CSS variable that
#' can be referenced with `var(--text_color)` in any argument of a style
#' function or in custom CSS.
#' @param header_color Header Color. Defaults to `base_color`. Modifies the
#' `h1, h2, h3` elements.
#' `h1, h2, h3` elements. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--header-color)` in any argument
#' of a style function or in custom CSS.
#' @param background_color Slide Background Color. Defaults to `white_color`.
#' Modifies the `.remark-slide-content` class.
#' Modifies the `.remark-slide-content` class. The value of this variable is
#' also stored as a CSS variable that can be referenced with
#' `var(--background-color)` in any argument of a style function or in custom
#' CSS.
#' @param link_color Link Color. Defaults to `base_color`. Modifies the
#' `a, a > code` elements.
#' `a, a > code` elements. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--link-color)` in any argument
#' of a style function or in custom CSS.
#' @param text_bold_color Bold Text Color. Defaults to `base_color`. Modifies
#' the `strong` element.
#' the `strong` element. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(--text-bold-color)` in any
#' argument of a style function or in custom CSS.
#' @param text_slide_number_color Slide Number Color. Defaults to `base_color`.
#' Modifies the `.remark-slide-number` class.
#' @param padding Slide Padding in `top right [bottom left]` format. Defaults
@@ -37,24 +48,44 @@
#' `.remark-slide-content` class.
#' @param code_highlight_color Code Line Highlight. Defaults to
#' rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class.
#' The value of this variable is also stored as a CSS variable that can be
#' referenced with `var(--code-highlight-color)` in any argument of a style
#' function or in custom CSS.
#' @param code_inline_color Inline Code Color. Defaults to `base_color`.
#' Modifies the `.remark-inline-code` class.
#' @param code_inline_background_color Inline Code Background Color. Defaults
#' to `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.
#' 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.
#' @param inverse_background_color Inverse Background Color. Defaults to
#' `base_color`. Modifies the `.inverse` class.
#' `base_color`. Modifies the `.inverse` class. The value of this variable is
#' also stored as a CSS variable that can be referenced with
#' `var(--inverse-background-color)` in any argument of a style function or
#' in custom CSS.
#' @param inverse_text_color Inverse Text Color. Defaults to `white_color`.
#' Modifies the `.inverse` class.
#' Modifies the `.inverse` class. The value of this variable is also stored
#' as a CSS variable that can be referenced with `var(--inverse-text-color)`
#' in any argument of a style function or in custom CSS.
#' @param inverse_text_shadow Enables Shadow on text of inverse slides.
#' Defaults to `FALSE`. Modifies the `.inverse` class.
#' @param inverse_header_color Inverse Header Color. Defaults to `white_color`.
#' Modifies the `.inverse h1, .inverse h2, .inverse h3` classes.
#' Modifies the `.inverse h1, .inverse h2, .inverse h3` classes. The value of
#' this variable is also stored as a CSS variable that can be referenced with
#' `var(--inverse-header-color)` in any argument of a style function or in
#' custom CSS.
#' @param title_slide_text_color Title Slide Text Color. Defaults to
#' `inverse_text_color`. Modifies the `.title-slide` class.
#' `inverse_text_color`. Modifies the `.title-slide` class. The value of this
#' variable is also stored as a CSS variable that can be referenced with
#' `var(--title-slide-text-color)` in any argument of a style function or in
#' custom CSS.
#' @param title_slide_background_color Title Slide Background Color. Defaults
#' to `inverse_background_color`. Modifies the `.title-slide` class.
#' to `inverse_background_color`. Modifies the `.title-slide` class. The
#' value of this variable is also stored as a CSS variable that can be
#' referenced with `var(--title-slide-background-color)` in any argument of a
#' style function or in custom CSS.
#' @param title_slide_background_image Title Slide Background Image URL.
#' Defaults to `NULL`. Modifies the `.title-slide` class.
#' @param title_slide_background_size Title Slide Background Image Size,
@@ -85,24 +116,45 @@
#' Defaults to `lighten_color(base_color, 0.8)`. Modifies the
#' `thead, tfoot, tr:nth-child(even)` elements.
#' @param base_font_size Base Font Size for All Slide Elements (must be `px`).
#' Defaults to 20px. Modifies the `html` element.
#' Defaults to 20px. Modifies the `html` element. The value of this variable
#' is also stored as a CSS variable that can be referenced with
#' `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 `.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.
#' @param header_h1_font_size h1 Header Text Font Size. Defaults to 2.75rem.
#' Modifies the `.remark-slide-content h1` class.
#' 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.
#' @param header_h2_font_size h2 Header Text Font Size. Defaults to 2.25rem.
#' Modifies the `.remark-slide-content h2` class.
#' 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.
#' @param header_h3_font_size h3 Header Text Font Size. Defaults to 1.75rem.
#' Modifies the `.remark-slide-content h3` class.
#' 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.
#' @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`.
#' @param header_background_color Background Color for h1 Header with
#' Background. Defaults to `header_color`. Modifies the
#' `.remark-slide-content h1` class.
#' `.remark-slide-content h1` class. The value of this variable is also
#' stored as a CSS variable that can be referenced with
#' `var(--header-background-color)` in any argument of a style function or in
#' custom CSS.
#' @param header_background_text_color Text Color for h1 Header with
#' Background. Defaults to `background_color`. Modifies the
#' `.remark-slide-content h1` class.
#' `.remark-slide-content h1` class. The value of this variable is also
#' stored as a CSS variable that can be referenced with
#' `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.
#' @param header_background_content_padding_top Top Padding for Content in
@@ -117,7 +169,10 @@
#' @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
#' `'Droid Serif'`). Defaults to Noto Sans. Modifies the `body` element.
#' `'Droid Serif'`). Defaults to Noto Sans. Modifies the `body` element. The
#' value of this variable is also stored as a CSS variable that can be
#' 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.
#' @param text_font_url Body Text Font URL(s). Defaults to
@@ -126,14 +181,21 @@
#' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to
#' -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue,
#' helvetica, Ubuntu, roboto, noto, segoe ui, arial. Modifies the `body`
#' element.
#' element. The value of this variable is also stored as a CSS variable that
#' can be referenced with `var(--text-font-family-fallback)` in any argument
#' of a style function or in custom CSS.
#' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults
#' to sans-serif. Modifies the `body` element.
#' to sans-serif. Modifies the `body` element. The value of this variable is
#' also stored as a CSS variable that can be referenced with
#' `var(--text-font-base)` in any argument of a style function or in custom
#' CSS.
#' @param header_font_google Use `google_font()` to specify header font.
#' Defaults to `NULL`. Modifies the `body` element.
#' @param header_font_family Header Font Family (xaringan default is
#' `'Yanone Kaffeesatz'`). Defaults to Cabin. Modifies the `h1, h2, h3`
#' elements.
#' elements. The value of this variable is also stored as a CSS variable that
#' 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.
#' @param header_font_url Header Font URL. Defaults to
@@ -142,9 +204,14 @@
#' @param code_font_google Use `google_font()` to specify code font. Defaults
#' to `NULL`. Modifies the `body` element.
#' @param code_font_family Code Font Family. Defaults to Source Code Pro.
#' Modifies the `.remark-code, .remark-inline-code` classes.
#' Modifies the `.remark-code, .remark-inline-code` classes. The value of
#' this variable is also stored as a CSS variable that can be referenced with
#' `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.
#' `.remark-inline` class. 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
#' https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap.
#' Modifies the `@import url` elements.

+ 34
- 106
R/style_solarized_dark.R Ver fichero

@@ -22,46 +22,31 @@
#' variable that can be referenced with `var(--text-bold-color)` in any
#' argument of a style function or in custom CSS.
#' @param text_slide_number_color Slide Number Color. Defaults to #586e75.
#' Modifies the `.remark-slide-number` class. The value of this variable is
#' also stored as a CSS variable that can be referenced with `var(NA)` in any
#' argument of a style function or in custom CSS.
#' 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. The
#' value of this variable is also stored as a CSS variable that can be
#' referenced with `var(NA)` in any argument of a style function or in custom
#' CSS.
#' to 16px 64px 16px 64px. Modifies the `.remark-slide-content` class.
#' @param background_image Background image applied to each *and every* slide.
#' Set `title_slide_background_image = "none"` to remove the background image
#' from the title slide. Defaults to `NULL`. Modifies the
#' `.remark-slide-content` class. The value of this variable is also stored
#' as a CSS variable that can be referenced with `var(NA)` in any argument of
#' a style function or in custom CSS.
#' `.remark-slide-content` class.
#' @param background_size Background image size, requires `background_image` to
#' be set. If `background_image` is set, `background_size` will default to
#' `cover` so the backround fills the screen. If both `background_image` and
#' `background_position` are set, will default to 100 percent. Defaults to
#' `NULL`. Modifies the `.remark-slide-content` class. The value of this
#' variable is also stored as a CSS variable that can be referenced with
#' `var(NA)` in any argument of a style function or in custom CSS.
#' `NULL`. Modifies the `.remark-slide-content` class.
#' @param background_position Background image position, requires
#' `background_image` to be set, and it is recommended to adjust
#' `background_size`. Defaults to `NULL`. Modifies the
#' `.remark-slide-content` class. The value of this variable is also stored
#' as a CSS variable that can be referenced with `var(NA)` in any argument of
#' a style function or in custom CSS.
#' `.remark-slide-content` class.
#' @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
#' `var(--code-highlight-color)` in any argument of a style function or in
#' custom CSS.
#' @param code_inline_color Inline Code Color. Defaults to #6c71c4. Modifies
#' the `.remark-inline-code` class. The value of this variable is also stored
#' as a CSS variable that can be referenced with `var(NA)` in any argument of
#' a style function or in custom CSS.
#' the `.remark-inline-code` class.
#' @param code_inline_background_color Inline Code Background Color. Defaults
#' to `NULL`. Modifies the `.remark-inline-code` class. The value of this
#' variable is also stored as a CSS variable that can be referenced with
#' `var(NA)` in any argument of a style function or in custom CSS.
#' 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
@@ -77,9 +62,7 @@
#' variable that can be referenced with `var(--inverse-text-color)` in any
#' argument of a style function or in custom CSS.
#' @param inverse_text_shadow Enables Shadow on text of inverse slides.
#' Defaults to `FALSE`. Modifies the `.inverse` class. The value of this
#' variable is also stored as a CSS variable that can be referenced with
#' `var(NA)` in any argument of a style function or in custom CSS.
#' Defaults to `FALSE`. Modifies the `.inverse` class.
#' @param inverse_header_color Inverse Header Color. Defaults to
#' `inverse_text_color`. Modifies the `.inverse h1, .inverse h2, .inverse h3`
#' classes. The value of this variable is also stored as a CSS variable that
@@ -96,59 +79,33 @@
#' referenced with `var(--title-slide-background-color)` in any argument of a
#' style function or in custom CSS.
#' @param title_slide_background_image Title Slide Background Image URL.
#' Defaults to `NULL`. Modifies the `.title-slide` class. The value of this
#' variable is also stored as a CSS variable that can be referenced with
#' `var(NA)` in any argument of a style function or in custom CSS.
#' 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. The value of this variable is also
#' stored as a CSS variable that can be referenced with `var(NA)` in any
#' argument of a style function or in custom CSS.
#' Modifies the `.title-slide` class.
#' @param title_slide_background_position Title Slide Background Image
#' Position. Defaults to `NULL`. Modifies the `.title-slide` class. The value
#' of this variable is also stored as a CSS variable that can be referenced
#' with `var(NA)` in any argument of a style function or in custom CSS.
#' Position. Defaults to `NULL`. Modifies the `.title-slide` class.
#' @param footnote_color Footnote text color (if `NA`, then it will be the same
#' color as `text_color`). Defaults to `NULL`. Modifies the `.footnote`
#' class. The value of this variable is also stored as a CSS variable that
#' can be referenced with `var(NA)` in any argument of a style function or in
#' custom CSS.
#' class.
#' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies
#' the `.footnote` class. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(NA)` in any argument of a style
#' function or in custom CSS.
#' the `.footnote` class.
#' @param footnote_position_bottom Footnote location from bottom of screen.
#' Defaults to 60px. Modifies the `.footnote` class. The value of this
#' variable is also stored as a CSS variable that can be referenced with
#' `var(NA)` in any argument of a style function or in custom CSS.
#' Defaults to 60px. Modifies the `.footnote` class.
#' @param left_column_subtle_color Left Column Text (not last). Defaults to
#' #586e75. Modifies the `.left-column h2, .left-column h3` classes. The
#' value of this variable is also stored as a CSS variable that can be
#' referenced with `var(NA)` in any argument of a style function or in custom
#' CSS.
#' #586e75. Modifies the `.left-column h2, .left-column h3` classes.
#' @param left_column_selected_color Left Column Current Selection. Defaults to
#' #93a1a1. Modifies the
#' `.left-column h2:last-of-type, .left-column h3:last-child` classes. The
#' value of this variable is also stored as a CSS variable that can be
#' referenced with `var(NA)` in any argument of a style function or in custom
#' CSS.
#' `.left-column h2:last-of-type, .left-column h3:last-child` classes.
#' @param blockquote_left_border_color Blockquote Left Border Color. Defaults
#' to #cb4b16. Modifies the `blockquote` element. The value of this variable
#' is also stored as a CSS variable that can be referenced with `var(NA)` in
#' any argument of a style function or in custom CSS.
#' to #cb4b16. Modifies the `blockquote` element.
#' @param table_border_color Table top/bottom border. Defaults to #657b83.
#' Modifies the `table: border-top, border-bottom` elements. The value of
#' this variable is also stored as a CSS variable that can be referenced with
#' `var(NA)` in any argument of a style function or in custom CSS.
#' Modifies the `table: border-top, border-bottom` elements.
#' @param table_row_border_color Table row inner bottom border. Defaults to
#' #657b83. Modifies the `table thead th: border-bottom` elements. The value
#' of this variable is also stored as a CSS variable that can be referenced
#' with `var(NA)` in any argument of a style function or in custom CSS.
#' #657b83. Modifies the `table thead th: border-bottom` elements.
#' @param table_row_even_background_color Table Even Row Background Color.
#' Defaults to #073642. Modifies the `thead, tfoot, tr:nth-child(even)`
#' elements. The value of this variable is also stored as a CSS variable that
#' can be referenced with `var(NA)` in any argument of a style function or in
#' custom CSS.
#' elements.
#' @param base_font_size Base Font Size for All Slide Elements (must be `px`).
#' Defaults to 20px. Modifies the `html` element. The value of this variable
#' is also stored as a CSS variable that can be referenced with
@@ -176,9 +133,7 @@
#' 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`. The value of this variable is also stored as
#' a CSS variable that can be referenced with `var(NA)` in any argument of a
#' style function or in custom CSS.
#' enable. Defaults to `FALSE`.
#' @param header_background_color Background Color for h1 Header with
#' Background. Defaults to `header_color`. Modifies the
#' `.remark-slide-content h1` class. The value of this variable is also
@@ -192,43 +147,28 @@
#' `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. The
#' value of this variable is also stored as a CSS variable that can be
#' referenced with `var(NA)` in any argument of a style function or in custom
#' CSS.
#' Defaults to `NULL`. Modifies the `.remark-slide-content h1` class.
#' @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. The value of this variable is also stored
#' as a CSS variable that can be referenced with `var(NA)` in any argument of
#' a style function or in custom CSS.
#' `.remark-slide-content` class.
#' @param header_background_ignore_classes Slide Classes Where Header with
#' Background will not be Applied. Defaults to
#' `c('normal', 'inverse', 'title', 'middle', 'bottom')`. Modifies the
#' `.remark-slide-content` class. The value of this variable is also stored
#' as a CSS variable that can be referenced with `var(NA)` in any argument of
#' a style function or in custom CSS.
#' `.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. The value of this
#' variable is also stored as a CSS variable that can be referenced with
#' `var(NA)` in any argument of a style function or in custom CSS.
#' 0.9em. Modifies the `.remark-slide-number` class.
#' @param text_font_google Use `google_font()` to specify body font. Defaults
#' to `NULL`. Modifies the `body` element. The value of this variable is also
#' stored as a CSS variable that can be referenced with `var(NA)` in any
#' argument of a style function or in custom CSS.
#' to `NULL`. Modifies the `body` element.
#' @param text_font_family Body Text Font Family (xaringan default is
#' `'Droid Serif'`). Defaults to Noto Sans. Modifies the `body` element. The
#' value of this variable is also stored as a CSS variable that can be
#' 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 value of this variable is also stored as a CSS
#' variable that can be referenced with `var(NA)` in any argument of a style
#' function or in custom CSS.
#' the `body` element.
#' @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. The value of this variable is also
#' stored as a CSS variable that can be referenced with `var(NA)` in any
#' argument of a style function or in custom CSS.
#' Modifies the `@import url()` elements.
#' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to
#' -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue,
#' helvetica, Ubuntu, roboto, noto, segoe ui, arial. Modifies the `body`
@@ -241,27 +181,19 @@
#' `var(--text-font-base)` in any argument of a style function or in custom
#' CSS.
#' @param header_font_google Use `google_font()` to specify header font.
#' Defaults to `NULL`. Modifies the `body` element. The value of this
#' variable is also stored as a CSS variable that can be referenced with
#' `var(NA)` in any argument of a style function or in custom CSS.
#' Defaults to `NULL`. Modifies the `body` element.
#' @param header_font_family Header Font Family (xaringan default is
#' `'Yanone Kaffeesatz'`). Defaults to Cabin. Modifies the `h1, h2, h3`
#' elements. The value of this variable is also stored as a CSS variable that
#' 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. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(NA)` in any argument of a style
#' function or in custom CSS.
#' `h1, h2, h3` elements.
#' @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. The value of this variable is also
#' stored as a CSS variable that can be referenced with `var(NA)` in any
#' argument of a style function or in custom CSS.
#' Modifies the `@import url` elements.
#' @param code_font_google Use `google_font()` to specify code font. Defaults
#' to `NULL`. Modifies the `body` element. The value of this variable is also
#' stored as a CSS variable that can be referenced with `var(NA)` in any
#' argument of a style function or in custom CSS.
#' to `NULL`. Modifies the `body` element.
#' @param code_font_family Code Font Family. Defaults to Source Code Pro.
#' Modifies the `.remark-code, .remark-inline-code` classes. The value of
#' this variable is also stored as a CSS variable that can be referenced with
@@ -273,14 +205,10 @@
#' argument of a style function or in custom CSS.
#' @param code_font_url Code Font URL. Defaults to
#' https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap.
#' Modifies the `@import url` elements. The value of this variable is also
#' stored as a CSS variable that can be referenced with `var(NA)` in any
#' argument of a style function or in custom CSS.
#' Modifies the `@import url` elements.
#' @param code_font_family_fallback Code Font Fallback. Defaults to Menlo,
#' Consolas, Monaco, Liberation Mono, Lucida Console. Modifies the
#' `.remark-code, .remark-inline-code` classes. The value of this variable is
#' also stored as a CSS variable that can be referenced with `var(NA)` in any
#' argument of a style function or in custom CSS.
#' `.remark-code, .remark-inline-code` classes.
#' @template theme_params
#' @template style_solarized_dark
#' @family Solarized themes

+ 34
- 106
R/style_solarized_light.R Ver fichero

@@ -22,46 +22,31 @@
#' variable that can be referenced with `var(--text-bold-color)` in any
#' argument of a style function or in custom CSS.
#' @param text_slide_number_color Slide Number Color. Defaults to #93a1a1.
#' Modifies the `.remark-slide-number` class. The value of this variable is
#' also stored as a CSS variable that can be referenced with `var(NA)` in any
#' argument of a style function or in custom CSS.
#' 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. The
#' value of this variable is also stored as a CSS variable that can be
#' referenced with `var(NA)` in any argument of a style function or in custom
#' CSS.
#' to 16px 64px 16px 64px. Modifies the `.remark-slide-content` class.
#' @param background_image Background image applied to each *and every* slide.
#' Set `title_slide_background_image = "none"` to remove the background image
#' from the title slide. Defaults to `NULL`. Modifies the
#' `.remark-slide-content` class. The value of this variable is also stored
#' as a CSS variable that can be referenced with `var(NA)` in any argument of
#' a style function or in custom CSS.
#' `.remark-slide-content` class.
#' @param background_size Background image size, requires `background_image` to
#' be set. If `background_image` is set, `background_size` will default to
#' `cover` so the backround fills the screen. If both `background_image` and
#' `background_position` are set, will default to 100 percent. Defaults to
#' `NULL`. Modifies the `.remark-slide-content` class. The value of this
#' variable is also stored as a CSS variable that can be referenced with
#' `var(NA)` in any argument of a style function or in custom CSS.
#' `NULL`. Modifies the `.remark-slide-content` class.
#' @param background_position Background image position, requires
#' `background_image` to be set, and it is recommended to adjust
#' `background_size`. Defaults to `NULL`. Modifies the
#' `.remark-slide-content` class. The value of this variable is also stored
#' as a CSS variable that can be referenced with `var(NA)` in any argument of
#' a style function or in custom CSS.
#' `.remark-slide-content` class.
#' @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
#' `var(--code-highlight-color)` in any argument of a style function or in
#' custom CSS.
#' @param code_inline_color Inline Code Color. Defaults to #6c71c4. Modifies
#' the `.remark-inline-code` class. The value of this variable is also stored
#' as a CSS variable that can be referenced with `var(NA)` in any argument of
#' a style function or in custom CSS.
#' the `.remark-inline-code` class.
#' @param code_inline_background_color Inline Code Background Color. Defaults
#' to `NULL`. Modifies the `.remark-inline-code` class. The value of this
#' variable is also stored as a CSS variable that can be referenced with
#' `var(NA)` in any argument of a style function or in custom CSS.
#' 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
@@ -77,9 +62,7 @@
#' variable that can be referenced with `var(--inverse-text-color)` in any
#' argument of a style function or in custom CSS.
#' @param inverse_text_shadow Enables Shadow on text of inverse slides.
#' Defaults to `FALSE`. Modifies the `.inverse` class. The value of this
#' variable is also stored as a CSS variable that can be referenced with
#' `var(NA)` in any argument of a style function or in custom CSS.
#' Defaults to `FALSE`. Modifies the `.inverse` class.
#' @param inverse_header_color Inverse Header Color. Defaults to
#' `inverse_text_color`. Modifies the `.inverse h1, .inverse h2, .inverse h3`
#' classes. The value of this variable is also stored as a CSS variable that
@@ -96,59 +79,33 @@
#' referenced with `var(--title-slide-background-color)` in any argument of a
#' style function or in custom CSS.
#' @param title_slide_background_image Title Slide Background Image URL.
#' Defaults to `NULL`. Modifies the `.title-slide` class. The value of this
#' variable is also stored as a CSS variable that can be referenced with
#' `var(NA)` in any argument of a style function or in custom CSS.
#' 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. The value of this variable is also
#' stored as a CSS variable that can be referenced with `var(NA)` in any
#' argument of a style function or in custom CSS.
#' Modifies the `.title-slide` class.
#' @param title_slide_background_position Title Slide Background Image
#' Position. Defaults to `NULL`. Modifies the `.title-slide` class. The value
#' of this variable is also stored as a CSS variable that can be referenced
#' with `var(NA)` in any argument of a style function or in custom CSS.
#' Position. Defaults to `NULL`. Modifies the `.title-slide` class.
#' @param footnote_color Footnote text color (if `NA`, then it will be the same
#' color as `text_color`). Defaults to `NULL`. Modifies the `.footnote`
#' class. The value of this variable is also stored as a CSS variable that
#' can be referenced with `var(NA)` in any argument of a style function or in
#' custom CSS.
#' class.
#' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies
#' the `.footnote` class. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(NA)` in any argument of a style
#' function or in custom CSS.
#' the `.footnote` class.
#' @param footnote_position_bottom Footnote location from bottom of screen.
#' Defaults to 60px. Modifies the `.footnote` class. The value of this
#' variable is also stored as a CSS variable that can be referenced with
#' `var(NA)` in any argument of a style function or in custom CSS.
#' Defaults to 60px. Modifies the `.footnote` class.
#' @param left_column_subtle_color Left Column Text (not last). Defaults to
#' #93a1a1. Modifies the `.left-column h2, .left-column h3` classes. The
#' value of this variable is also stored as a CSS variable that can be
#' referenced with `var(NA)` in any argument of a style function or in custom
#' CSS.
#' #93a1a1. Modifies the `.left-column h2, .left-column h3` classes.
#' @param left_column_selected_color Left Column Current Selection. Defaults to
#' #586e75. Modifies the
#' `.left-column h2:last-of-type, .left-column h3:last-child` classes. The
#' value of this variable is also stored as a CSS variable that can be
#' referenced with `var(NA)` in any argument of a style function or in custom
#' CSS.
#' `.left-column h2:last-of-type, .left-column h3:last-child` classes.
#' @param blockquote_left_border_color Blockquote Left Border Color. Defaults
#' to #cb4b16. Modifies the `blockquote` element. The value of this variable
#' is also stored as a CSS variable that can be referenced with `var(NA)` in
#' any argument of a style function or in custom CSS.
#' to #cb4b16. Modifies the `blockquote` element.
#' @param table_border_color Table top/bottom border. Defaults to #839496.
#' Modifies the `table: border-top, border-bottom` elements. The value of
#' this variable is also stored as a CSS variable that can be referenced with
#' `var(NA)` in any argument of a style function or in custom CSS.
#' Modifies the `table: border-top, border-bottom` elements.
#' @param table_row_border_color Table row inner bottom border. Defaults to
#' #839496. Modifies the `table thead th: border-bottom` elements. The value
#' of this variable is also stored as a CSS variable that can be referenced
#' with `var(NA)` in any argument of a style function or in custom CSS.
#' #839496. Modifies the `table thead th: border-bottom` elements.
#' @param table_row_even_background_color Table Even Row Background Color.
#' Defaults to #eee8d5. Modifies the `thead, tfoot, tr:nth-child(even)`
#' elements. The value of this variable is also stored as a CSS variable that
#' can be referenced with `var(NA)` in any argument of a style function or in
#' custom CSS.
#' elements.
#' @param base_font_size Base Font Size for All Slide Elements (must be `px`).
#' Defaults to 20px. Modifies the `html` element. The value of this variable
#' is also stored as a CSS variable that can be referenced with
@@ -176,9 +133,7 @@
#' 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`. The value of this variable is also stored as
#' a CSS variable that can be referenced with `var(NA)` in any argument of a
#' style function or in custom CSS.
#' enable. Defaults to `FALSE`.
#' @param header_background_color Background Color for h1 Header with
#' Background. Defaults to `header_color`. Modifies the
#' `.remark-slide-content h1` class. The value of this variable is also
@@ -192,43 +147,28 @@
#' `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. The
#' value of this variable is also stored as a CSS variable that can be
#' referenced with `var(NA)` in any argument of a style function or in custom
#' CSS.
#' Defaults to `NULL`. Modifies the `.remark-slide-content h1` class.
#' @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. The value of this variable is also stored
#' as a CSS variable that can be referenced with `var(NA)` in any argument of
#' a style function or in custom CSS.
#' `.remark-slide-content` class.
#' @param header_background_ignore_classes Slide Classes Where Header with
#' Background will not be Applied. Defaults to
#' `c('normal', 'inverse', 'title', 'middle', 'bottom')`. Modifies the
#' `.remark-slide-content` class. The value of this variable is also stored
#' as a CSS variable that can be referenced with `var(NA)` in any argument of
#' a style function or in custom CSS.
#' `.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. The value of this
#' variable is also stored as a CSS variable that can be referenced with
#' `var(NA)` in any argument of a style function or in custom CSS.
#' 0.9em. Modifies the `.remark-slide-number` class.
#' @param text_font_google Use `google_font()` to specify body font. Defaults
#' to `NULL`. Modifies the `body` element. The value of this variable is also
#' stored as a CSS variable that can be referenced with `var(NA)` in any
#' argument of a style function or in custom CSS.
#' to `NULL`. Modifies the `body` element.
#' @param text_font_family Body Text Font Family (xaringan default is
#' `'Droid Serif'`). Defaults to Noto Sans. Modifies the `body` element. The
#' value of this variable is also stored as a CSS variable that can be
#' 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 value of this variable is also stored as a CSS
#' variable that can be referenced with `var(NA)` in any argument of a style
#' function or in custom CSS.
#' the `body` element.
#' @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. The value of this variable is also
#' stored as a CSS variable that can be referenced with `var(NA)` in any
#' argument of a style function or in custom CSS.
#' Modifies the `@import url()` elements.
#' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to
#' -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue,
#' helvetica, Ubuntu, roboto, noto, segoe ui, arial. Modifies the `body`
@@ -241,27 +181,19 @@
#' `var(--text-font-base)` in any argument of a style function or in custom
#' CSS.
#' @param header_font_google Use `google_font()` to specify header font.
#' Defaults to `NULL`. Modifies the `body` element. The value of this
#' variable is also stored as a CSS variable that can be referenced with
#' `var(NA)` in any argument of a style function or in custom CSS.
#' Defaults to `NULL`. Modifies the `body` element.
#' @param header_font_family Header Font Family (xaringan default is
#' `'Yanone Kaffeesatz'`). Defaults to Cabin. Modifies the `h1, h2, h3`
#' elements. The value of this variable is also stored as a CSS variable that
#' 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. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(NA)` in any argument of a style
#' function or in custom CSS.
#' `h1, h2, h3` elements.
#' @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. The value of this variable is also
#' stored as a CSS variable that can be referenced with `var(NA)` in any
#' argument of a style function or in custom CSS.
#' Modifies the `@import url` elements.
#' @param code_font_google Use `google_font()` to specify code font. Defaults
#' to `NULL`. Modifies the `body` element. The value of this variable is also
#' stored as a CSS variable that can be referenced with `var(NA)` in any
#' argument of a style function or in custom CSS.
#' to `NULL`. Modifies the `body` element.
#' @param code_font_family Code Font Family. Defaults to Source Code Pro.
#' Modifies the `.remark-code, .remark-inline-code` classes. The value of
#' this variable is also stored as a CSS variable that can be referenced with
@@ -273,14 +205,10 @@
#' argument of a style function or in custom CSS.
#' @param code_font_url Code Font URL. Defaults to
#' https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap.
#' Modifies the `@import url` elements. The value of this variable is also
#' stored as a CSS variable that can be referenced with `var(NA)` in any
#' argument of a style function or in custom CSS.
#' Modifies the `@import url` elements.
#' @param code_font_family_fallback Code Font Fallback. Defaults to Menlo,
#' Consolas, Monaco, Liberation Mono, Lucida Console. Modifies the
#' `.remark-code, .remark-inline-code` classes. The value of this variable is
#' also stored as a CSS variable that can be referenced with `var(NA)` in any
#' argument of a style function or in custom CSS.
#' `.remark-code, .remark-inline-code` classes.
#' @template theme_params
#' @template style_solarized_light
#' @family Solarized themes

+ 34
- 106
R/style_xaringan.R Ver fichero

@@ -22,47 +22,31 @@
#' variable that can be referenced with `var(--text-bold-color)` in any
#' argument of a style function or in custom CSS.
#' @param text_slide_number_color Slide Number Color. Defaults to
#' `inverse_background_color`. Modifies the `.remark-slide-number` class. The
#' value of this variable is also stored as a CSS variable that can be
#' referenced with `var(NA)` in any argument of a style function or in custom
#' CSS.
#' `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. The
#' value of this variable is also stored as a CSS variable that can be
#' referenced with `var(NA)` in any argument of a style function or in custom
#' CSS.
#' to 16px 64px 16px 64px. Modifies the `.remark-slide-content` class.
#' @param background_image Background image applied to each *and every* slide.
#' Set `title_slide_background_image = "none"` to remove the background image
#' from the title slide. Defaults to `NULL`. Modifies the
#' `.remark-slide-content` class. The value of this variable is also stored
#' as a CSS variable that can be referenced with `var(NA)` in any argument of
#' a style function or in custom CSS.
#' `.remark-slide-content` class.
#' @param background_size Background image size, requires `background_image` to
#' be set. If `background_image` is set, `background_size` will default to
#' `cover` so the backround fills the screen. If both `background_image` and
#' `background_position` are set, will default to 100 percent. Defaults to
#' `NULL`. Modifies the `.remark-slide-content` class. The value of this
#' variable is also stored as a CSS variable that can be referenced with
#' `var(NA)` in any argument of a style function or in custom CSS.
#' `NULL`. Modifies the `.remark-slide-content` class.
#' @param background_position Background image position, requires
#' `background_image` to be set, and it is recommended to adjust
#' `background_size`. Defaults to `NULL`. Modifies the
#' `.remark-slide-content` class. The value of this variable is also stored
#' as a CSS variable that can be referenced with `var(NA)` in any argument of
#' a style function or in custom CSS.
#' `.remark-slide-content` class.
#' @param code_highlight_color Code Line Highlight. Defaults to
#' rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class.
#' The value of this variable is also stored as a CSS variable that can be
#' referenced with `var(--code-highlight-color)` in any argument of a style
#' function or in custom CSS.
#' @param code_inline_color Inline Code Color. Defaults to #000. Modifies the
#' `.remark-inline-code` class. The value of this variable is also stored as
#' a CSS variable that can be referenced with `var(NA)` in any argument of a
#' style function or in custom CSS.
#' `.remark-inline-code` class.
#' @param code_inline_background_color Inline Code Background Color. Defaults
#' to `NULL`. Modifies the `.remark-inline-code` class. The value of this
#' variable is also stored as a CSS variable that can be referenced with
#' `var(NA)` in any argument of a style function or in custom CSS.
#' 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
@@ -78,9 +62,7 @@
#' variable that can be referenced with `var(--inverse-text-color)` in any
#' argument of a style function or in custom CSS.
#' @param inverse_text_shadow Enables Shadow on text of inverse slides.
#' Defaults to `FALSE`. Modifies the `.inverse` class. The value of this
#' variable is also stored as a CSS variable that can be referenced with
#' `var(NA)` in any argument of a style function or in custom CSS.
#' Defaults to `FALSE`. Modifies the `.inverse` class.
#' @param inverse_header_color Inverse Header Color. Defaults to #f3f3f3.
#' Modifies the `.inverse h1, .inverse h2, .inverse h3` classes. The value of
#' this variable is also stored as a CSS variable that can be referenced with
@@ -97,58 +79,33 @@
#' referenced with `var(--title-slide-background-color)` in any argument of a
#' style function or in custom CSS.
#' @param title_slide_background_image Title Slide Background Image URL.
#' Defaults to `NULL`. Modifies the `.title-slide` class. The value of this
#' variable is also stored as a CSS variable that can be referenced with
#' `var(NA)` in any argument of a style function or in custom CSS.
#' 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. The value of this variable is also
#' stored as a CSS variable that can be referenced with `var(NA)` in any
#' argument of a style function or in custom CSS.
#' Modifies the `.title-slide` class.
#' @param title_slide_background_position Title Slide Background Image
#' Position. Defaults to `NULL`. Modifies the `.title-slide` class. The value
#' of this variable is also stored as a CSS variable that can be referenced
#' with `var(NA)` in any argument of a style function or in custom CSS.
#' Position. Defaults to `NULL`. Modifies the `.title-slide` class.
#' @param footnote_color Footnote text color (if `NA`, then it will be the same
#' color as `text_color`). Defaults to `NULL`. Modifies the `.footnote`
#' class. The value of this variable is also stored as a CSS variable that
#' can be referenced with `var(NA)` in any argument of a style function or in
#' custom CSS.
#' class.
#' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies
#' the `.footnote` class. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(NA)` in any argument of a style
#' function or in custom CSS.
#' the `.footnote` class.
#' @param footnote_position_bottom Footnote location from bottom of screen.
#' Defaults to 60px. Modifies the `.footnote` class. The value of this
#' variable is also stored as a CSS variable that can be referenced with
#' `var(NA)` in any argument of a style function or in custom CSS.
#' Defaults to 60px. Modifies the `.footnote` class.
#' @param left_column_subtle_color Left Column Text (not last). Defaults to
#' #777. Modifies the `.left-column h2, .left-column h3` classes. The value
#' of this variable is also stored as a CSS variable that can be referenced
#' with `var(NA)` in any argument of a style function or in custom CSS.
#' #777. Modifies the `.left-column h2, .left-column h3` classes.
#' @param left_column_selected_color Left Column Current Selection. Defaults to
#' #000. Modifies the
#' `.left-column h2:last-of-type, .left-column h3:last-child` classes. The
#' value of this variable is also stored as a CSS variable that can be
#' referenced with `var(NA)` in any argument of a style function or in custom
#' CSS.
#' `.left-column h2:last-of-type, .left-column h3:last-child` classes.
#' @param blockquote_left_border_color Blockquote Left Border Color. Defaults
#' to lightgray. Modifies the `blockquote` element. The value of this
#' variable is also stored as a CSS variable that can be referenced with
#' `var(NA)` in any argument of a style function or in custom CSS.
#' to lightgray. Modifies the `blockquote` element.
#' @param table_border_color Table top/bottom border. Defaults to #666.
#' Modifies the `table: border-top, border-bottom` elements. The value of
#' this variable is also stored as a CSS variable that can be referenced with
#' `var(NA)` in any argument of a style function or in custom CSS.
#' Modifies the `table: border-top, border-bottom` elements.
#' @param table_row_border_color Table row inner bottom border. Defaults to
#' #ddd. Modifies the `table thead th: border-bottom` elements. The value of
#' this variable is also stored as a CSS variable that can be referenced with
#' `var(NA)` in any argument of a style function or in custom CSS.
#' #ddd. Modifies the `table thead th: border-bottom` elements.
#' @param table_row_even_background_color Table Even Row Background Color.
#' Defaults to #eee. Modifies the `thead, tfoot, tr:nth-child(even)`
#' elements. The value of this variable is also stored as a CSS variable that
#' can be referenced with `var(NA)` in any argument of a style function or in
#' custom CSS.
#' elements.
#' @param base_font_size Base Font Size for All Slide Elements (must be `px`).
#' Defaults to 20px. Modifies the `html` element. The value of this variable
#' is also stored as a CSS variable that can be referenced with
@@ -176,9 +133,7 @@
#' 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`. The value of this variable is also stored as
#' a CSS variable that can be referenced with `var(NA)` in any argument of a
#' style function or in custom CSS.
#' enable. Defaults to `FALSE`.
#' @param header_background_color Background Color for h1 Header with
#' Background. Defaults to `header_color`. Modifies the
#' `.remark-slide-content h1` class. The value of this variable is also
@@ -192,43 +147,28 @@
#' `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. The
#' value of this variable is also stored as a CSS variable that can be
#' referenced with `var(NA)` in any argument of a style function or in custom
#' CSS.
#' Defaults to `NULL`. Modifies the `.remark-slide-content h1` class.
#' @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. The value of this variable is also stored
#' as a CSS variable that can be referenced with `var(NA)` in any argument of
#' a style function or in custom CSS.
#' `.remark-slide-content` class.
#' @param header_background_ignore_classes Slide Classes Where Header with
#' Background will not be Applied. Defaults to
#' `c('normal', 'inverse', 'title', 'middle', 'bottom')`. Modifies the
#' `.remark-slide-content` class. The value of this variable is also stored
#' as a CSS variable that can be referenced with `var(NA)` in any argument of
#' a style function or in custom CSS.
#' `.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. The value of this
#' variable is also stored as a CSS variable that can be referenced with
#' `var(NA)` in any argument of a style function or in custom CSS.
#' 0.9em. Modifies the `.remark-slide-number` class.
#' @param text_font_google Use `google_font()` to specify body font. Defaults
#' to `NULL`. Modifies the `body` element. The value of this variable is also
#' stored as a CSS variable that can be referenced with `var(NA)` in any
#' argument of a style function or in custom CSS.
#' to `NULL`. Modifies the `body` element.
#' @param text_font_family Body Text Font Family (xaringan default is
#' `'Droid Serif'`). Defaults to Noto Sans. Modifies the `body` element. The
#' value of this variable is also stored as a CSS variable that can be
#' 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 value of this variable is also stored as a CSS
#' variable that can be referenced with `var(NA)` in any argument of a style
#' function or in custom CSS.
#' the `body` element.
#' @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. The value of this variable is also
#' stored as a CSS variable that can be referenced with `var(NA)` in any
#' argument of a style function or in custom CSS.
#' Modifies the `@import url()` elements.
#' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to
#' -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue,
#' helvetica, Ubuntu, roboto, noto, segoe ui, arial. Modifies the `body`
@@ -241,27 +181,19 @@
#' `var(--text-font-base)` in any argument of a style function or in custom
#' CSS.
#' @param header_font_google Use `google_font()` to specify header font.
#' Defaults to `NULL`. Modifies the `body` element. The value of this
#' variable is also stored as a CSS variable that can be referenced with
#' `var(NA)` in any argument of a style function or in custom CSS.
#' Defaults to `NULL`. Modifies the `body` element.
#' @param header_font_family Header Font Family (xaringan default is
#' `'Yanone Kaffeesatz'`). Defaults to Cabin. Modifies the `h1, h2, h3`
#' elements. The value of this variable is also stored as a CSS variable that
#' 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. The value of this variable is also stored as a CSS
#' variable that can be referenced with `var(NA)` in any argument of a style
#' function or in custom CSS.
#' `h1, h2, h3` elements.
#' @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. The value of this variable is also
#' stored as a CSS variable that can be referenced with `var(NA)` in any
#' argument of a style function or in custom CSS.
#' Modifies the `@import url` elements.
#' @param code_font_google Use `google_font()` to specify code font. Defaults
#' to `NULL`. Modifies the `body` element. The value of this variable is also
#' stored as a CSS variable that can be referenced with `var(NA)` in any
#' argument of a style function or in custom CSS.
#' to `NULL`. Modifies the `body` element.
#' @param code_font_family Code Font Family. Defaults to Source Code Pro.
#' Modifies the `.remark-code, .remark-inline-code` classes. The value of
#' this variable is also stored as a CSS variable that can be referenced with
@@ -273,14 +205,10 @@
#' argument of a style function or in custom CSS.
#' @param code_font_url Code Font URL. Defaults to
#' https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap.
#' Modifies the `@import url` elements. The value of this variable is also
#' stored as a CSS variable that can be referenced with `var(NA)` in any
#' argument of a style function or in custom CSS.
#' Modifies the `@import url` elements.
#' @param code_font_family_fallback Code Font Fallback. Defaults to Menlo,
#' Consolas, Monaco, Liberation Mono, Lucida Console. Modifies the
#' `.remark-code, .remark-inline-code` classes. The value of this variable is
#' also stored as a CSS variable that can be referenced with `var(NA)` in any
#' argument of a style function or in custom CSS.
#' `.remark-code, .remark-inline-code` classes.
#' @template theme_params
#' @template style_xaringan
#' @export

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

@@ -23,11 +23,15 @@ element_description <- function(element) {
}

describe_css_variable <- function(css_variable = NULL) {
if (is.null(css_variable) || is.na(css_variable)) return("")
glue::glue(
" The value of this variable is also stored as a CSS variable that can be ",
"referenced with `var({css_variable})` in any argument of a style ",
"function or in custom CSS."
if (is.null(css_variable)) return("")
ifelse(
is.na(css_variable),
"",
glue::glue(
" The value of this variable is also stored as a CSS variable that can be ",
"referenced with `var({css_variable})` in any argument of a style ",
"function or in custom CSS."
)
)
}


+ 91
- 25
man/style_duo.Rd Ver fichero

@@ -86,19 +86,30 @@ multiple CSS rules.}

\item{text_color}{Text Color. Defaults to
\code{choose_dark_or_light(primary_color, darken_color(primary_color, 0.9), lighten_color(secondary_color, 0.99))}.
Modifies the \code{body} element.}
Modifies the \code{body} element. The value of this variable is also stored as
a CSS variable that can be referenced with \code{var(--text_color)} in any
argument of a style function or in custom CSS.}

\item{header_color}{Header Color. Defaults to \code{secondary_color}. Modifies
the \verb{h1, h2, h3} elements.}
the \verb{h1, h2, h3} elements. The value of this variable is also stored as a
CSS variable that can be referenced with \code{var(--header-color)} in any
argument of a style function or in custom CSS.}

\item{background_color}{Slide Background Color. Defaults to \code{primary_color}.
Modifies the \code{.remark-slide-content} class.}
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(--background-color)} in any argument of a style function or in custom
CSS.}

\item{link_color}{Link Color. Defaults to \code{secondary_color}. Modifies the
\verb{a, a > code} elements.}
\verb{a, a > code} elements. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--link-color)} in any argument
of a style function or in custom CSS.}

\item{text_bold_color}{Bold Text Color. Defaults to \code{secondary_color}.
Modifies the \code{strong} element.}
Modifies the \code{strong} element. The value of this variable is also stored
as a CSS variable that can be referenced with \code{var(--text-bold-color)} in
any argument of a style function or in custom CSS.}

\item{text_slide_number_color}{Slide Number Color. Defaults to \code{text_color}.
Modifies the \code{.remark-slide-number} class.}
@@ -123,7 +134,10 @@ be set. If \code{background_image} is set, \code{background_size} will default t
\code{.remark-slide-content} class.}

\item{code_highlight_color}{Code Line Highlight. Defaults to
rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.}
rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.
The value of this variable is also stored as a CSS variable that can be
referenced with \code{var(--code-highlight-color)} in any argument of a style
function or in custom CSS.}

\item{code_inline_color}{Inline Code Color. Defaults to \code{secondary_color}.
Modifies the \code{.remark-inline-code} class.}
@@ -132,26 +146,42 @@ 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.}
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.}

\item{inverse_background_color}{Inverse Background Color. Defaults to
\code{secondary_color}. Modifies the \code{.inverse} class.}
\code{secondary_color}. Modifies the \code{.inverse} class. The value of this
variable is also stored as a CSS variable that can be referenced with
\code{var(--inverse-background-color)} in any argument of a style function or
in custom CSS.}

\item{inverse_text_color}{Inverse Text Color. Defaults to \code{primary_color}.
Modifies the \code{.inverse} class.}
Modifies the \code{.inverse} class. The value of this variable is also stored
as a CSS variable that can be referenced with \code{var(--inverse-text-color)}
in any argument of a style function or in custom CSS.}

\item{inverse_text_shadow}{Enables Shadow on text of inverse slides.
Defaults to \code{FALSE}. Modifies the \code{.inverse} class.}

\item{inverse_header_color}{Inverse Header Color. Defaults to
\code{primary_color}. Modifies the \verb{.inverse h1, .inverse h2, .inverse h3}
classes.}
classes. The value of this variable is also stored as a CSS variable that
can be referenced with \code{var(--inverse-header-color)} in any argument of a
style function or in custom CSS.}

\item{title_slide_text_color}{Title Slide Text Color. Defaults to
\code{secondary_color}. Modifies the \code{.title-slide} class.}
\code{secondary_color}. Modifies the \code{.title-slide} class. The value of this
variable is also stored as a CSS variable that can be referenced with
\code{var(--title-slide-text-color)} in any argument of a style function or in
custom CSS.}

\item{title_slide_background_color}{Title Slide Background Color. Defaults
to \code{primary_color}. Modifies the \code{.title-slide} class.}
to \code{primary_color}. Modifies the \code{.title-slide} class. The value of this
variable is also stored as a CSS variable that can be referenced with
\code{var(--title-slide-background-color)} in any argument of a style function
or in custom CSS.}

\item{title_slide_background_image}{Title Slide Background Image URL.
Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}
@@ -195,19 +225,34 @@ Defaults to \code{lighten_color(primary_color, 0.9)}. Modifies the
\verb{thead, tfoot, tr:nth-child(even)} elements.}

\item{base_font_size}{Base Font Size for All Slide Elements (must be \code{px}).
Defaults to 20px. Modifies the \code{html} element.}
Defaults to 20px. Modifies the \code{html} element. The value of this variable
is also stored as a CSS variable that can be referenced with
\code{var(--base-font-size)} in any argument of a style function or in custom
CSS.}

\item{text_font_size}{Slide Body Text Font Size. Defaults to 1rem. Modifies
the \code{.remark-slide-content} class.}
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.}

\item{header_h1_font_size}{h1 Header Text Font Size. Defaults to 2.75rem.
Modifies the \verb{.remark-slide-content h1} class.}
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.}

\item{header_h2_font_size}{h2 Header Text Font Size. Defaults to 2.25rem.
Modifies the \verb{.remark-slide-content h2} class.}
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.}

\item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 1.75rem.
Modifies the \verb{.remark-slide-content h3} class.}
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.}

\item{header_background_auto}{Add background under slide title automatically
for h1 header elements. If not enabled, use \code{class: header_background} to
@@ -215,11 +260,17 @@ enable. Defaults to \code{FALSE}.}

\item{header_background_color}{Background Color for h1 Header with
Background. Defaults to \code{header_color}. Modifies the
\verb{.remark-slide-content h1} class.}
\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-background-color)} in any argument of a style function or in
custom CSS.}

\item{header_background_text_color}{Text Color for h1 Header with
Background. Defaults to \code{background_color}. Modifies the
\verb{.remark-slide-content h1} class.}
\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-background-text-color)} in any argument of a style function
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.}
@@ -240,7 +291,10 @@ Background will not be Applied. Defaults to
to \code{NULL}. Modifies the \code{body} element.}

\item{text_font_family}{Body Text Font Family (xaringan default is
\code{'Droid Serif'}). Defaults to Noto Sans. Modifies the \code{body} element.}
\code{'Droid Serif'}). Defaults to Noto Sans. Modifies the \code{body} element. The
value of this variable is also stored as a CSS variable that can be
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.}
@@ -252,17 +306,24 @@ Modifies the \verb{@import url()} elements.}
\item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to
-apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue,
helvetica, Ubuntu, roboto, noto, segoe ui, arial. Modifies the \code{body}
element.}
element. The value of this variable is also stored as a CSS variable that
can be referenced with \code{var(--text-font-family-fallback)} in any argument
of a style function or in custom CSS.}

\item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults
to sans-serif. Modifies the \code{body} element.}
to sans-serif. Modifies the \code{body} element. The value of this variable is
also stored as a CSS variable that can be referenced with
\code{var(--text-font-base)} in any argument of a style function or in custom
CSS.}

\item{header_font_google}{Use \code{google_font()} to specify header font.
Defaults to \code{NULL}. Modifies the \code{body} element.}

\item{header_font_family}{Header Font Family (xaringan default is
\code{'Yanone Kaffeesatz'}). Defaults to Cabin. Modifies the \verb{h1, h2, h3}
elements.}
elements. The value of this variable is also stored as a CSS variable that
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.}
@@ -275,10 +336,15 @@ Modifies the \verb{@import url} elements.}
to \code{NULL}. Modifies the \code{body} element.}

\item{code_font_family}{Code Font Family. Defaults to Source Code Pro.
Modifies the \verb{.remark-code, .remark-inline-code} classes.}
Modifies the \verb{.remark-code, .remark-inline-code} classes. The value of
this variable is also stored as a CSS variable that can be referenced with
\code{var(--code-font-family)} in any argument of a style function or in custom
CSS.}

\item{code_font_size}{Code Text Font Size. Defaults to 0.9rem. Modifies the
\code{.remark-inline} class.}
\code{.remark-inline} class. 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.}

\item{code_font_url}{Code Font URL. Defaults to
https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap.

+ 91
- 25
man/style_duo_accent.Rd Ver fichero

@@ -94,21 +94,32 @@ multiple CSS rules.}
CSS rules.}

\item{text_color}{Text Color. Defaults to \code{black_color}. Modifies the \code{body}
element.}
element. The value of this variable is also stored as a CSS variable that
can be referenced with \code{var(--text_color)} in any argument of a style
function or in custom CSS.}

\item{header_color}{Header Color. Defaults to \code{primary_color}. Modifies the
\verb{h1, h2, h3} elements.}
\verb{h1, h2, h3} elements. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--header-color)} in any argument
of a style function or in custom CSS.}

\item{background_color}{Slide Background Color. Defaults to \code{white_color}.
Modifies the \code{.remark-slide-content} class.}
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(--background-color)} in any argument of a style function or in custom
CSS.}

\item{link_color}{Link Color. Defaults to
\code{choose_dark_or_light(secondary_color, primary_color, secondary_color)}.
Modifies the \verb{a, a > code} elements.}
Modifies the \verb{a, a > code} elements. The value of this variable is also
stored as a CSS variable that can be referenced with \code{var(--link-color)}
in any argument of a style function or in custom CSS.}

\item{text_bold_color}{Bold Text Color. Defaults to
\code{choose_dark_or_light(secondary_color, primary_color, secondary_color)}.
Modifies the \code{strong} element.}
Modifies the \code{strong} element. The value of this variable is also stored
as a CSS variable that can be referenced with \code{var(--text-bold-color)} in
any argument of a style function or in custom CSS.}

\item{text_slide_number_color}{Slide Number Color. Defaults to
\code{primary_color}. Modifies the \code{.remark-slide-number} class.}
@@ -133,7 +144,10 @@ be set. If \code{background_image} is set, \code{background_size} will default t
\code{.remark-slide-content} class.}

\item{code_highlight_color}{Code Line Highlight. Defaults to
rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.}
rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.
The value of this variable is also stored as a CSS variable that can be
referenced with \code{var(--code-highlight-color)} in any argument of a style
function or in custom CSS.}

\item{code_inline_color}{Inline Code Color. Defaults to
\code{choose_dark_or_light(secondary_color, primary_color, secondary_color)}.
@@ -143,28 +157,44 @@ 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.}
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.}

\item{inverse_background_color}{Inverse Background Color. Defaults to
\code{secondary_color}. Modifies the \code{.inverse} class.}
\code{secondary_color}. Modifies the \code{.inverse} class. The value of this
variable is also stored as a CSS variable that can be referenced with
\code{var(--inverse-background-color)} in any argument of a style function or
in custom CSS.}

\item{inverse_text_color}{Inverse Text Color. Defaults to
\code{choose_dark_or_light(secondary_color, black_color, white_color)}.
Modifies the \code{.inverse} class.}
Modifies the \code{.inverse} class. The value of this variable is also stored
as a CSS variable that can be referenced with \code{var(--inverse-text-color)}
in any argument of a style function or in custom CSS.}

\item{inverse_text_shadow}{Enables Shadow on text of inverse slides.
Defaults to \code{FALSE}. Modifies the \code{.inverse} class.}

\item{inverse_header_color}{Inverse Header Color. Defaults to
\code{choose_dark_or_light(secondary_color, black_color, white_color)}.
Modifies the \verb{.inverse h1, .inverse h2, .inverse h3} classes.}
Modifies the \verb{.inverse h1, .inverse h2, .inverse h3} classes. The value of
this variable is also stored as a CSS variable that can be referenced with
\code{var(--inverse-header-color)} in any argument of a style function or in
custom CSS.}

\item{title_slide_text_color}{Title Slide Text Color. Defaults to
\code{choose_dark_or_light(primary_color, black_color, white_color)}. Modifies
the \code{.title-slide} class.}
the \code{.title-slide} class. The value of this variable is also stored as a
CSS variable that can be referenced with \code{var(--title-slide-text-color)}
in any argument of a style function or in custom CSS.}

\item{title_slide_background_color}{Title Slide Background Color. Defaults
to \code{primary_color}. Modifies the \code{.title-slide} class.}
to \code{primary_color}. Modifies the \code{.title-slide} class. The value of this
variable is also stored as a CSS variable that can be referenced with
\code{var(--title-slide-background-color)} in any argument of a style function
or in custom CSS.}

\item{title_slide_background_image}{Title Slide Background Image URL.
Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}
@@ -208,19 +238,34 @@ Defaults to \code{lighten_color(secondary_color, 0.8)}. Modifies the
\verb{thead, tfoot, tr:nth-child(even)} elements.}

\item{base_font_size}{Base Font Size for All Slide Elements (must be \code{px}).
Defaults to 20px. Modifies the \code{html} element.}
Defaults to 20px. Modifies the \code{html} element. The value of this variable
is also stored as a CSS variable that can be referenced with
\code{var(--base-font-size)} in any argument of a style function or in custom
CSS.}

\item{text_font_size}{Slide Body Text Font Size. Defaults to 1rem. Modifies
the \code{.remark-slide-content} class.}
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.}

\item{header_h1_font_size}{h1 Header Text Font Size. Defaults to 2.75rem.
Modifies the \verb{.remark-slide-content h1} class.}
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.}

\item{header_h2_font_size}{h2 Header Text Font Size. Defaults to 2.25rem.
Modifies the \verb{.remark-slide-content h2} class.}
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.}

\item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 1.75rem.
Modifies the \verb{.remark-slide-content h3} class.}
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.}

\item{header_background_auto}{Add background under slide title automatically
for h1 header elements. If not enabled, use \code{class: header_background} to
@@ -228,11 +273,17 @@ enable. Defaults to \code{FALSE}.}

\item{header_background_color}{Background Color for h1 Header with
Background. Defaults to \code{header_color}. Modifies the
\verb{.remark-slide-content h1} class.}
\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-background-color)} in any argument of a style function or in
custom CSS.}

\item{header_background_text_color}{Text Color for h1 Header with
Background. Defaults to \code{background_color}. Modifies the
\verb{.remark-slide-content h1} class.}
\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-background-text-color)} in any argument of a style function
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.}
@@ -253,7 +304,10 @@ Background will not be Applied. Defaults to
to \code{NULL}. Modifies the \code{body} element.}

\item{text_font_family}{Body Text Font Family (xaringan default is
\code{'Droid Serif'}). Defaults to Noto Sans. Modifies the \code{body} element.}
\code{'Droid Serif'}). Defaults to Noto Sans. Modifies the \code{body} element. The
value of this variable is also stored as a CSS variable that can be
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.}
@@ -265,17 +319,24 @@ Modifies the \verb{@import url()} elements.}
\item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to
-apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue,
helvetica, Ubuntu, roboto, noto, segoe ui, arial. Modifies the \code{body}
element.}
element. The value of this variable is also stored as a CSS variable that
can be referenced with \code{var(--text-font-family-fallback)} in any argument
of a style function or in custom CSS.}

\item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults
to sans-serif. Modifies the \code{body} element.}
to sans-serif. Modifies the \code{body} element. The value of this variable is
also stored as a CSS variable that can be referenced with
\code{var(--text-font-base)} in any argument of a style function or in custom
CSS.}

\item{header_font_google}{Use \code{google_font()} to specify header font.
Defaults to \code{NULL}. Modifies the \code{body} element.}

\item{header_font_family}{Header Font Family (xaringan default is
\code{'Yanone Kaffeesatz'}). Defaults to Cabin. Modifies the \verb{h1, h2, h3}
elements.}
elements. The value of this variable is also stored as a CSS variable that
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.}
@@ -288,10 +349,15 @@ Modifies the \verb{@import url} elements.}
to \code{NULL}. Modifies the \code{body} element.}

\item{code_font_family}{Code Font Family. Defaults to Source Code Pro.
Modifies the \verb{.remark-code, .remark-inline-code} classes.}
Modifies the \verb{.remark-code, .remark-inline-code} classes. The value of
this variable is also stored as a CSS variable that can be referenced with
\code{var(--code-font-family)} in any argument of a style function or in custom
CSS.}

\item{code_font_size}{Code Text Font Size. Defaults to 0.9rem. Modifies the
\code{.remark-inline} class.}
\code{.remark-inline} class. 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.}

\item{code_font_url}{Code Font URL. Defaults to
https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap.

+ 91
- 25
man/style_duo_accent_inverse.Rd Ver fichero

@@ -95,21 +95,32 @@ multiple CSS rules.}
CSS rules.}

\item{text_color}{Text Color. Defaults to \code{white_color}. Modifies the \code{body}
element.}
element. The value of this variable is also stored as a CSS variable that
can be referenced with \code{var(--text_color)} in any argument of a style
function or in custom CSS.}

\item{header_color}{Header Color. Defaults to \code{primary_color}. Modifies the
\verb{h1, h2, h3} elements.}
\verb{h1, h2, h3} elements. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--header-color)} in any argument
of a style function or in custom CSS.}

\item{background_color}{Slide Background Color. Defaults to \code{black_color}.
Modifies the \code{.remark-slide-content} class.}
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(--background-color)} in any argument of a style function or in custom
CSS.}

\item{link_color}{Link Color. Defaults to
\code{choose_dark_or_light(secondary_color, secondary_color, primary_color)}.
Modifies the \verb{a, a > code} elements.}
Modifies the \verb{a, a > code} elements. The value of this variable is also
stored as a CSS variable that can be referenced with \code{var(--link-color)}
in any argument of a style function or in custom CSS.}

\item{text_bold_color}{Bold Text Color. Defaults to
\code{choose_dark_or_light(secondary_color, secondary_color, primary_color)}.
Modifies the \code{strong} element.}
Modifies the \code{strong} element. The value of this variable is also stored
as a CSS variable that can be referenced with \code{var(--text-bold-color)} in
any argument of a style function or in custom CSS.}

\item{text_slide_number_color}{Slide Number Color. Defaults to
\code{primary_color}. Modifies the \code{.remark-slide-number} class.}
@@ -134,7 +145,10 @@ be set. If \code{background_image} is set, \code{background_size} will default t
\code{.remark-slide-content} class.}

\item{code_highlight_color}{Code Line Highlight. Defaults to
rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.}
rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.
The value of this variable is also stored as a CSS variable that can be
referenced with \code{var(--code-highlight-color)} in any argument of a style
function or in custom CSS.}

\item{code_inline_color}{Inline Code Color. Defaults to
\code{choose_dark_or_light(secondary_color, secondary_color, primary_color)}.
@@ -144,28 +158,44 @@ 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.}
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.}

\item{inverse_background_color}{Inverse Background Color. Defaults to
\code{secondary_color}. Modifies the \code{.inverse} class.}
\code{secondary_color}. Modifies the \code{.inverse} class. The value of this
variable is also stored as a CSS variable that can be referenced with
\code{var(--inverse-background-color)} in any argument of a style function or
in custom CSS.}

\item{inverse_text_color}{Inverse Text Color. Defaults to
\code{choose_dark_or_light(secondary_color, black_color, white_color)}.
Modifies the \code{.inverse} class.}
Modifies the \code{.inverse} class. The value of this variable is also stored
as a CSS variable that can be referenced with \code{var(--inverse-text-color)}
in any argument of a style function or in custom CSS.}

\item{inverse_text_shadow}{Enables Shadow on text of inverse slides.
Defaults to \code{FALSE}. Modifies the \code{.inverse} class.}

\item{inverse_header_color}{Inverse Header Color. Defaults to
\code{choose_dark_or_light(secondary_color, black_color, white_color)}.
Modifies the \verb{.inverse h1, .inverse h2, .inverse h3} classes.}
Modifies the \verb{.inverse h1, .inverse h2, .inverse h3} classes. The value of
this variable is also stored as a CSS variable that can be referenced with
\code{var(--inverse-header-color)} in any argument of a style function or in
custom CSS.}

\item{title_slide_text_color}{Title Slide Text Color. Defaults to
\code{choose_dark_or_light(primary_color, black_color, white_color)}. Modifies
the \code{.title-slide} class.}
the \code{.title-slide} class. The value of this variable is also stored as a
CSS variable that can be referenced with \code{var(--title-slide-text-color)}
in any argument of a style function or in custom CSS.}

\item{title_slide_background_color}{Title Slide Background Color. Defaults
to \code{primary_color}. Modifies the \code{.title-slide} class.}
to \code{primary_color}. Modifies the \code{.title-slide} class. The value of this
variable is also stored as a CSS variable that can be referenced with
\code{var(--title-slide-background-color)} in any argument of a style function
or in custom CSS.}

\item{title_slide_background_image}{Title Slide Background Image URL.
Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}
@@ -210,19 +240,34 @@ Defaults to
Modifies the \verb{thead, tfoot, tr:nth-child(even)} elements.}

\item{base_font_size}{Base Font Size for All Slide Elements (must be \code{px}).
Defaults to 20px. Modifies the \code{html} element.}
Defaults to 20px. Modifies the \code{html} element. The value of this variable
is also stored as a CSS variable that can be referenced with
\code{var(--base-font-size)} in any argument of a style function or in custom
CSS.}

\item{text_font_size}{Slide Body Text Font Size. Defaults to 1rem. Modifies
the \code{.remark-slide-content} class.}
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.}

\item{header_h1_font_size}{h1 Header Text Font Size. Defaults to 2.75rem.
Modifies the \verb{.remark-slide-content h1} class.}
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.}

\item{header_h2_font_size}{h2 Header Text Font Size. Defaults to 2.25rem.
Modifies the \verb{.remark-slide-content h2} class.}
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.}

\item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 1.75rem.
Modifies the \verb{.remark-slide-content h3} class.}
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.}

\item{header_background_auto}{Add background under slide title automatically
for h1 header elements. If not enabled, use \code{class: header_background} to
@@ -230,11 +275,17 @@ enable. Defaults to \code{FALSE}.}

\item{header_background_color}{Background Color for h1 Header with
Background. Defaults to \code{header_color}. Modifies the
\verb{.remark-slide-content h1} class.}
\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-background-color)} in any argument of a style function or in
custom CSS.}

\item{header_background_text_color}{Text Color for h1 Header with
Background. Defaults to \code{background_color}. Modifies the
\verb{.remark-slide-content h1} class.}
\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-background-text-color)} in any argument of a style function
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.}
@@ -255,7 +306,10 @@ Background will not be Applied. Defaults to
to \code{NULL}. Modifies the \code{body} element.}

\item{text_font_family}{Body Text Font Family (xaringan default is
\code{'Droid Serif'}). Defaults to Noto Sans. Modifies the \code{body} element.}
\code{'Droid Serif'}). Defaults to Noto Sans. Modifies the \code{body} element. The
value of this variable is also stored as a CSS variable that can be
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.}
@@ -267,17 +321,24 @@ Modifies the \verb{@import url()} elements.}
\item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to
-apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue,
helvetica, Ubuntu, roboto, noto, segoe ui, arial. Modifies the \code{body}
element.}
element. The value of this variable is also stored as a CSS variable that
can be referenced with \code{var(--text-font-family-fallback)} in any argument
of a style function or in custom CSS.}

\item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults
to sans-serif. Modifies the \code{body} element.}
to sans-serif. Modifies the \code{body} element. The value of this variable is
also stored as a CSS variable that can be referenced with
\code{var(--text-font-base)} in any argument of a style function or in custom
CSS.}

\item{header_font_google}{Use \code{google_font()} to specify header font.
Defaults to \code{NULL}. Modifies the \code{body} element.}

\item{header_font_family}{Header Font Family (xaringan default is
\code{'Yanone Kaffeesatz'}). Defaults to Cabin. Modifies the \verb{h1, h2, h3}
elements.}
elements. The value of this variable is also stored as a CSS variable that
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.}
@@ -290,10 +351,15 @@ Modifies the \verb{@import url} elements.}
to \code{NULL}. Modifies the \code{body} element.}

\item{code_font_family}{Code Font Family. Defaults to Source Code Pro.
Modifies the \verb{.remark-code, .remark-inline-code} classes.}
Modifies the \verb{.remark-code, .remark-inline-code} classes. The value of
this variable is also stored as a CSS variable that can be referenced with
\code{var(--code-font-family)} in any argument of a style function or in custom
CSS.}

\item{code_font_size}{Code Text Font Size. Defaults to 0.9rem. Modifies the
\code{.remark-inline} class.}
\code{.remark-inline} class. 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.}

\item{code_font_url}{Code Font URL. Defaults to
https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap.

+ 92
- 25
man/style_mono_accent.Rd Ver fichero

@@ -88,19 +88,30 @@ multiple CSS rules.}
CSS rules.}

\item{text_color}{Text Color. Defaults to \code{black_color}. Modifies the \code{body}
element.}
element. The value of this variable is also stored as a CSS variable that
can be referenced with \code{var(--text_color)} in any argument of a style
function or in custom CSS.}

\item{header_color}{Header Color. Defaults to \code{base_color}. Modifies the
\verb{h1, h2, h3} elements.}
\verb{h1, h2, h3} elements. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--header-color)} in any argument
of a style function or in custom CSS.}

\item{background_color}{Slide Background Color. Defaults to \code{white_color}.
Modifies the \code{.remark-slide-content} class.}
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(--background-color)} in any argument of a style function or in custom
CSS.}

\item{link_color}{Link Color. Defaults to \code{base_color}. Modifies the
\verb{a, a > code} elements.}
\verb{a, a > code} elements. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--link-color)} in any argument
of a style function or in custom CSS.}

\item{text_bold_color}{Bold Text Color. Defaults to \code{base_color}. Modifies
the \code{strong} element.}
the \code{strong} element. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--text-bold-color)} in any
argument of a style function or in custom CSS.}

\item{text_slide_number_color}{Slide Number Color. Defaults to \code{base_color}.
Modifies the \code{.remark-slide-number} class.}
@@ -125,7 +136,10 @@ be set. If \code{background_image} is set, \code{background_size} will default t
\code{.remark-slide-content} class.}

\item{code_highlight_color}{Code Line Highlight. Defaults to
rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.}
rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.
The value of this variable is also stored as a CSS variable that can be
referenced with \code{var(--code-highlight-color)} in any argument of a style
function or in custom CSS.}

\item{code_inline_color}{Inline Code Color. Defaults to \code{base_color}.
Modifies the \code{.remark-inline-code} class.}
@@ -134,25 +148,42 @@ 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.}
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.}

\item{inverse_background_color}{Inverse Background Color. Defaults to
\code{base_color}. Modifies the \code{.inverse} class.}
\code{base_color}. Modifies the \code{.inverse} class. The value of this variable is
also stored as a CSS variable that can be referenced with
\code{var(--inverse-background-color)} in any argument of a style function or
in custom CSS.}

\item{inverse_text_color}{Inverse Text Color. Defaults to \code{white_color}.
Modifies the \code{.inverse} class.}
Modifies the \code{.inverse} class. The value of this variable is also stored
as a CSS variable that can be referenced with \code{var(--inverse-text-color)}
in any argument of a style function or in custom CSS.}

\item{inverse_text_shadow}{Enables Shadow on text of inverse slides.
Defaults to \code{FALSE}. Modifies the \code{.inverse} class.}

\item{inverse_header_color}{Inverse Header Color. Defaults to \code{white_color}.
Modifies the \verb{.inverse h1, .inverse h2, .inverse h3} classes.}
Modifies the \verb{.inverse h1, .inverse h2, .inverse h3} classes. The value of
this variable is also stored as a CSS variable that can be referenced with
\code{var(--inverse-header-color)} in any argument of a style function or in
custom CSS.}

\item{title_slide_text_color}{Title Slide Text Color. Defaults to
\code{inverse_text_color}. Modifies the \code{.title-slide} class.}
\code{inverse_text_color}. Modifies the \code{.title-slide} class. The value of this
variable is also stored as a CSS variable that can be referenced with
\code{var(--title-slide-text-color)} in any argument of a style function or in
custom CSS.}

\item{title_slide_background_color}{Title Slide Background Color. Defaults
to \code{inverse_background_color}. Modifies the \code{.title-slide} class.}
to \code{inverse_background_color}. Modifies the \code{.title-slide} class. The
value of this variable is also stored as a CSS variable that can be
referenced with \code{var(--title-slide-background-color)} in any argument of a
style function or in custom CSS.}

\item{title_slide_background_image}{Title Slide Background Image URL.
Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}
@@ -196,19 +227,34 @@ Defaults to \code{lighten_color(base_color, 0.8)}. Modifies the
\verb{thead, tfoot, tr:nth-child(even)} elements.}

\item{base_font_size}{Base Font Size for All Slide Elements (must be \code{px}).
Defaults to 20px. Modifies the \code{html} element.}
Defaults to 20px. Modifies the \code{html} element. The value of this variable
is also stored as a CSS variable that can be referenced with
\code{var(--base-font-size)} in any argument of a style function or in custom
CSS.}

\item{text_font_size}{Slide Body Text Font Size. Defaults to 1rem. Modifies
the \code{.remark-slide-content} class.}
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.}

\item{header_h1_font_size}{h1 Header Text Font Size. Defaults to 2.75rem.
Modifies the \verb{.remark-slide-content h1} class.}
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.}

\item{header_h2_font_size}{h2 Header Text Font Size. Defaults to 2.25rem.
Modifies the \verb{.remark-slide-content h2} class.}
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.}

\item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 1.75rem.
Modifies the \verb{.remark-slide-content h3} class.}
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.}

\item{header_background_auto}{Add background under slide title automatically
for h1 header elements. If not enabled, use \code{class: header_background} to
@@ -216,11 +262,17 @@ enable. Defaults to \code{FALSE}.}

\item{header_background_color}{Background Color for h1 Header with
Background. Defaults to \code{header_color}. Modifies the
\verb{.remark-slide-content h1} class.}
\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-background-color)} in any argument of a style function or in
custom CSS.}

\item{header_background_text_color}{Text Color for h1 Header with
Background. Defaults to \code{background_color}. Modifies the
\verb{.remark-slide-content h1} class.}
\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-background-text-color)} in any argument of a style function
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.}
@@ -241,7 +293,10 @@ Background will not be Applied. Defaults to
to \code{NULL}. Modifies the \code{body} element.}

\item{text_font_family}{Body Text Font Family (xaringan default is
\code{'Droid Serif'}). Defaults to Noto Sans. Modifies the \code{body} element.}
\code{'Droid Serif'}). Defaults to Noto Sans. Modifies the \code{body} element. The
value of this variable is also stored as a CSS variable that can be
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.}
@@ -253,17 +308,24 @@ Modifies the \verb{@import url()} elements.}
\item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to
-apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue,
helvetica, Ubuntu, roboto, noto, segoe ui, arial. Modifies the \code{body}
element.}
element. The value of this variable is also stored as a CSS variable that
can be referenced with \code{var(--text-font-family-fallback)} in any argument
of a style function or in custom CSS.}

\item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults
to sans-serif. Modifies the \code{body} element.}
to sans-serif. Modifies the \code{body} element. The value of this variable is
also stored as a CSS variable that can be referenced with
\code{var(--text-font-base)} in any argument of a style function or in custom
CSS.}

\item{header_font_google}{Use \code{google_font()} to specify header font.
Defaults to \code{NULL}. Modifies the \code{body} element.}

\item{header_font_family}{Header Font Family (xaringan default is
\code{'Yanone Kaffeesatz'}). Defaults to Cabin. Modifies the \verb{h1, h2, h3}
elements.}
elements. The value of this variable is also stored as a CSS variable that
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.}
@@ -276,10 +338,15 @@ Modifies the \verb{@import url} elements.}
to \code{NULL}. Modifies the \code{body} element.}

\item{code_font_family}{Code Font Family. Defaults to Source Code Pro.
Modifies the \verb{.remark-code, .remark-inline-code} classes.}
Modifies the \verb{.remark-code, .remark-inline-code} classes. The value of
this variable is also stored as a CSS variable that can be referenced with
\code{var(--code-font-family)} in any argument of a style function or in custom
CSS.}

\item{code_font_size}{Code Text Font Size. Defaults to 0.9rem. Modifies the
\code{.remark-inline} class.}
\code{.remark-inline} class. 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.}

\item{code_font_url}{Code Font URL. Defaults to
https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap.

+ 92
- 25
man/style_mono_accent_inverse.Rd Ver fichero

@@ -89,19 +89,30 @@ Defaults to #3C989E. Used in multiple CSS rules.}
multiple CSS rules.}

\item{text_color}{Text Color. Defaults to \code{white_color}. Modifies the \code{body}
element.}
element. The value of this variable is also stored as a CSS variable that
can be referenced with \code{var(--text_color)} in any argument of a style
function or in custom CSS.}

\item{header_color}{Header Color. Defaults to \code{base_color}. Modifies the
\verb{h1, h2, h3} elements.}
\verb{h1, h2, h3} elements. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--header-color)} in any argument
of a style function or in custom CSS.}

\item{background_color}{Slide Background Color. Defaults to \code{black_color}.
Modifies the \code{.remark-slide-content} class.}
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(--background-color)} in any argument of a style function or in custom
CSS.}

\item{link_color}{Link Color. Defaults to \code{base_color}. Modifies the
\verb{a, a > code} elements.}
\verb{a, a > code} elements. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--link-color)} in any argument
of a style function or in custom CSS.}

\item{text_bold_color}{Bold Text Color. Defaults to \code{base_color}. Modifies
the \code{strong} element.}
the \code{strong} element. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--text-bold-color)} in any
argument of a style function or in custom CSS.}

\item{text_slide_number_color}{Slide Number Color. Defaults to \code{base_color}.
Modifies the \code{.remark-slide-number} class.}
@@ -126,7 +137,10 @@ be set. If \code{background_image} is set, \code{background_size} will default t
\code{.remark-slide-content} class.}

\item{code_highlight_color}{Code Line Highlight. Defaults to
rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.}
rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.
The value of this variable is also stored as a CSS variable that can be
referenced with \code{var(--code-highlight-color)} in any argument of a style
function or in custom CSS.}

\item{code_inline_color}{Inline Code Color. Defaults to \code{base_color}.
Modifies the \code{.remark-inline-code} class.}
@@ -135,25 +149,42 @@ 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.}
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.}

\item{inverse_background_color}{Inverse Background Color. Defaults to
\code{base_color}. Modifies the \code{.inverse} class.}
\code{base_color}. Modifies the \code{.inverse} class. The value of this variable is
also stored as a CSS variable that can be referenced with
\code{var(--inverse-background-color)} in any argument of a style function or
in custom CSS.}

\item{inverse_text_color}{Inverse Text Color. Defaults to \code{black_color}.
Modifies the \code{.inverse} class.}
Modifies the \code{.inverse} class. The value of this variable is also stored
as a CSS variable that can be referenced with \code{var(--inverse-text-color)}
in any argument of a style function or in custom CSS.}

\item{inverse_text_shadow}{Enables Shadow on text of inverse slides.
Defaults to \code{FALSE}. Modifies the \code{.inverse} class.}

\item{inverse_header_color}{Inverse Header Color. Defaults to \code{black_color}.
Modifies the \verb{.inverse h1, .inverse h2, .inverse h3} classes.}
Modifies the \verb{.inverse h1, .inverse h2, .inverse h3} classes. The value of
this variable is also stored as a CSS variable that can be referenced with
\code{var(--inverse-header-color)} in any argument of a style function or in
custom CSS.}

\item{title_slide_text_color}{Title Slide Text Color. Defaults to
\code{inverse_text_color}. Modifies the \code{.title-slide} class.}
\code{inverse_text_color}. Modifies the \code{.title-slide} class. The value of this
variable is also stored as a CSS variable that can be referenced with
\code{var(--title-slide-text-color)} in any argument of a style function or in
custom CSS.}

\item{title_slide_background_color}{Title Slide Background Color. Defaults
to \code{inverse_background_color}. Modifies the \code{.title-slide} class.}
to \code{inverse_background_color}. Modifies the \code{.title-slide} class. The
value of this variable is also stored as a CSS variable that can be
referenced with \code{var(--title-slide-background-color)} in any argument of a
style function or in custom CSS.}

\item{title_slide_background_image}{Title Slide Background Image URL.
Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}
@@ -197,19 +228,34 @@ Defaults to \code{darken_color(base_color, 0.8)}. Modifies the
\verb{thead, tfoot, tr:nth-child(even)} elements.}

\item{base_font_size}{Base Font Size for All Slide Elements (must be \code{px}).
Defaults to 20px. Modifies the \code{html} element.}
Defaults to 20px. Modifies the \code{html} element. The value of this variable
is also stored as a CSS variable that can be referenced with
\code{var(--base-font-size)} in any argument of a style function or in custom
CSS.}

\item{text_font_size}{Slide Body Text Font Size. Defaults to 1rem. Modifies
the \code{.remark-slide-content} class.}
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.}

\item{header_h1_font_size}{h1 Header Text Font Size. Defaults to 2.75rem.
Modifies the \verb{.remark-slide-content h1} class.}
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.}

\item{header_h2_font_size}{h2 Header Text Font Size. Defaults to 2.25rem.
Modifies the \verb{.remark-slide-content h2} class.}
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.}

\item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 1.75rem.
Modifies the \verb{.remark-slide-content h3} class.}
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.}

\item{header_background_auto}{Add background under slide title automatically
for h1 header elements. If not enabled, use \code{class: header_background} to
@@ -217,11 +263,17 @@ enable. Defaults to \code{FALSE}.}

\item{header_background_color}{Background Color for h1 Header with
Background. Defaults to \code{header_color}. Modifies the
\verb{.remark-slide-content h1} class.}
\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-background-color)} in any argument of a style function or in
custom CSS.}

\item{header_background_text_color}{Text Color for h1 Header with
Background. Defaults to \code{background_color}. Modifies the
\verb{.remark-slide-content h1} class.}
\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-background-text-color)} in any argument of a style function
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.}
@@ -242,7 +294,10 @@ Background will not be Applied. Defaults to
to \code{NULL}. Modifies the \code{body} element.}

\item{text_font_family}{Body Text Font Family (xaringan default is
\code{'Droid Serif'}). Defaults to Noto Sans. Modifies the \code{body} element.}
\code{'Droid Serif'}). Defaults to Noto Sans. Modifies the \code{body} element. The
value of this variable is also stored as a CSS variable that can be
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.}
@@ -254,17 +309,24 @@ Modifies the \verb{@import url()} elements.}
\item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to
-apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue,
helvetica, Ubuntu, roboto, noto, segoe ui, arial. Modifies the \code{body}
element.}
element. The value of this variable is also stored as a CSS variable that
can be referenced with \code{var(--text-font-family-fallback)} in any argument
of a style function or in custom CSS.}

\item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults
to sans-serif. Modifies the \code{body} element.}
to sans-serif. Modifies the \code{body} element. The value of this variable is
also stored as a CSS variable that can be referenced with
\code{var(--text-font-base)} in any argument of a style function or in custom
CSS.}

\item{header_font_google}{Use \code{google_font()} to specify header font.
Defaults to \code{NULL}. Modifies the \code{body} element.}

\item{header_font_family}{Header Font Family (xaringan default is
\code{'Yanone Kaffeesatz'}). Defaults to Cabin. Modifies the \verb{h1, h2, h3}
elements.}
elements. The value of this variable is also stored as a CSS variable that
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.}
@@ -277,10 +339,15 @@ Modifies the \verb{@import url} elements.}
to \code{NULL}. Modifies the \code{body} element.}

\item{code_font_family}{Code Font Family. Defaults to Source Code Pro.
Modifies the \verb{.remark-code, .remark-inline-code} classes.}
Modifies the \verb{.remark-code, .remark-inline-code} classes. The value of
this variable is also stored as a CSS variable that can be referenced with
\code{var(--code-font-family)} in any argument of a style function or in custom
CSS.}

\item{code_font_size}{Code Text Font Size. Defaults to 0.9rem. Modifies the
\code{.remark-inline} class.}
\code{.remark-inline} class. 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.}

\item{code_font_url}{Code Font URL. Defaults to
https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap.

+ 92
- 25
man/style_mono_dark.Rd Ver fichero

@@ -90,19 +90,30 @@ multiple CSS rules.}
multiple CSS rules.}

\item{text_color}{Text Color. Defaults to \code{white_color}. Modifies the \code{body}
element.}
element. The value of this variable is also stored as a CSS variable that
can be referenced with \code{var(--text_color)} in any argument of a style
function or in custom CSS.}

\item{header_color}{Header Color. Defaults to \code{base_color}. Modifies the
\verb{h1, h2, h3} elements.}
\verb{h1, h2, h3} elements. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--header-color)} in any argument
of a style function or in custom CSS.}

\item{background_color}{Slide Background Color. Defaults to \code{black_color}.
Modifies the \code{.remark-slide-content} class.}
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(--background-color)} in any argument of a style function or in custom
CSS.}

\item{link_color}{Link Color. Defaults to \code{base_color}. Modifies the
\verb{a, a > code} elements.}
\verb{a, a > code} elements. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--link-color)} in any argument
of a style function or in custom CSS.}

\item{text_bold_color}{Bold Text Color. Defaults to \code{base_color}. Modifies
the \code{strong} element.}
the \code{strong} element. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--text-bold-color)} in any
argument of a style function or in custom CSS.}

\item{text_slide_number_color}{Slide Number Color. Defaults to \code{base_color}.
Modifies the \code{.remark-slide-number} class.}
@@ -127,7 +138,10 @@ be set. If \code{background_image} is set, \code{background_size} will default t
\code{.remark-slide-content} class.}

\item{code_highlight_color}{Code Line Highlight. Defaults to
rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.}
rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.
The value of this variable is also stored as a CSS variable that can be
referenced with \code{var(--code-highlight-color)} in any argument of a style
function or in custom CSS.}

\item{code_inline_color}{Inline Code Color. Defaults to \code{base_color}.
Modifies the \code{.remark-inline-code} class.}
@@ -136,25 +150,42 @@ 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.}
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.}

\item{inverse_background_color}{Inverse Background Color. Defaults to
\code{base_color}. Modifies the \code{.inverse} class.}
\code{base_color}. Modifies the \code{.inverse} class. The value of this variable is
also stored as a CSS variable that can be referenced with
\code{var(--inverse-background-color)} in any argument of a style function or
in custom CSS.}

\item{inverse_text_color}{Inverse Text Color. Defaults to \code{black_color}.
Modifies the \code{.inverse} class.}
Modifies the \code{.inverse} class. The value of this variable is also stored
as a CSS variable that can be referenced with \code{var(--inverse-text-color)}
in any argument of a style function or in custom CSS.}

\item{inverse_text_shadow}{Enables Shadow on text of inverse slides.
Defaults to \code{FALSE}. Modifies the \code{.inverse} class.}

\item{inverse_header_color}{Inverse Header Color. Defaults to \code{black_color}.
Modifies the \verb{.inverse h1, .inverse h2, .inverse h3} classes.}
Modifies the \verb{.inverse h1, .inverse h2, .inverse h3} classes. The value of
this variable is also stored as a CSS variable that can be referenced with
\code{var(--inverse-header-color)} in any argument of a style function or in
custom CSS.}

\item{title_slide_text_color}{Title Slide Text Color. Defaults to
\code{inverse_text_color}. Modifies the \code{.title-slide} class.}
\code{inverse_text_color}. Modifies the \code{.title-slide} class. The value of this
variable is also stored as a CSS variable that can be referenced with
\code{var(--title-slide-text-color)} in any argument of a style function or in
custom CSS.}

\item{title_slide_background_color}{Title Slide Background Color. Defaults
to \code{inverse_background_color}. Modifies the \code{.title-slide} class.}
to \code{inverse_background_color}. Modifies the \code{.title-slide} class. The
value of this variable is also stored as a CSS variable that can be
referenced with \code{var(--title-slide-background-color)} in any argument of a
style function or in custom CSS.}

\item{title_slide_background_image}{Title Slide Background Image URL.
Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}
@@ -198,19 +229,34 @@ Defaults to \code{darken_color(base_color, 0.7)}. Modifies the
\verb{thead, tfoot, tr:nth-child(even)} elements.}

\item{base_font_size}{Base Font Size for All Slide Elements (must be \code{px}).
Defaults to 20px. Modifies the \code{html} element.}
Defaults to 20px. Modifies the \code{html} element. The value of this variable
is also stored as a CSS variable that can be referenced with
\code{var(--base-font-size)} in any argument of a style function or in custom
CSS.}

\item{text_font_size}{Slide Body Text Font Size. Defaults to 1rem. Modifies
the \code{.remark-slide-content} class.}
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.}

\item{header_h1_font_size}{h1 Header Text Font Size. Defaults to 2.75rem.
Modifies the \verb{.remark-slide-content h1} class.}
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.}

\item{header_h2_font_size}{h2 Header Text Font Size. Defaults to 2.25rem.
Modifies the \verb{.remark-slide-content h2} class.}
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.}

\item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 1.75rem.
Modifies the \verb{.remark-slide-content h3} class.}
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.}

\item{header_background_auto}{Add background under slide title automatically
for h1 header elements. If not enabled, use \code{class: header_background} to
@@ -218,11 +264,17 @@ enable. Defaults to \code{FALSE}.}

\item{header_background_color}{Background Color for h1 Header with
Background. Defaults to \code{header_color}. Modifies the
\verb{.remark-slide-content h1} class.}
\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-background-color)} in any argument of a style function or in
custom CSS.}

\item{header_background_text_color}{Text Color for h1 Header with
Background. Defaults to \code{background_color}. Modifies the
\verb{.remark-slide-content h1} class.}
\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-background-text-color)} in any argument of a style function
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.}
@@ -243,7 +295,10 @@ Background will not be Applied. Defaults to
to \code{NULL}. Modifies the \code{body} element.}

\item{text_font_family}{Body Text Font Family (xaringan default is
\code{'Droid Serif'}). Defaults to Noto Sans. Modifies the \code{body} element.}
\code{'Droid Serif'}). Defaults to Noto Sans. Modifies the \code{body} element. The
value of this variable is also stored as a CSS variable that can be
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.}
@@ -255,17 +310,24 @@ Modifies the \verb{@import url()} elements.}
\item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to
-apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue,
helvetica, Ubuntu, roboto, noto, segoe ui, arial. Modifies the \code{body}
element.}
element. The value of this variable is also stored as a CSS variable that
can be referenced with \code{var(--text-font-family-fallback)} in any argument
of a style function or in custom CSS.}

\item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults
to sans-serif. Modifies the \code{body} element.}
to sans-serif. Modifies the \code{body} element. The value of this variable is
also stored as a CSS variable that can be referenced with
\code{var(--text-font-base)} in any argument of a style function or in custom
CSS.}

\item{header_font_google}{Use \code{google_font()} to specify header font.
Defaults to \code{NULL}. Modifies the \code{body} element.}

\item{header_font_family}{Header Font Family (xaringan default is
\code{'Yanone Kaffeesatz'}). Defaults to Cabin. Modifies the \verb{h1, h2, h3}
elements.}
elements. The value of this variable is also stored as a CSS variable that
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.}
@@ -278,10 +340,15 @@ Modifies the \verb{@import url} elements.}
to \code{NULL}. Modifies the \code{body} element.}

\item{code_font_family}{Code Font Family. Defaults to Source Code Pro.
Modifies the \verb{.remark-code, .remark-inline-code} classes.}
Modifies the \verb{.remark-code, .remark-inline-code} classes. The value of
this variable is also stored as a CSS variable that can be referenced with
\code{var(--code-font-family)} in any argument of a style function or in custom
CSS.}

\item{code_font_size}{Code Text Font Size. Defaults to 0.9rem. Modifies the
\code{.remark-inline} class.}
\code{.remark-inline} class. 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.}

\item{code_font_url}{Code Font URL. Defaults to
https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap.

+ 92
- 25
man/style_mono_light.Rd Ver fichero

@@ -90,19 +90,30 @@ multiple CSS rules.}
multiple CSS rules.}

\item{text_color}{Text Color. Defaults to \code{black_color}. Modifies the \code{body}
element.}
element. The value of this variable is also stored as a CSS variable that
can be referenced with \code{var(--text_color)} in any argument of a style
function or in custom CSS.}

\item{header_color}{Header Color. Defaults to \code{base_color}. Modifies the
\verb{h1, h2, h3} elements.}
\verb{h1, h2, h3} elements. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--header-color)} in any argument
of a style function or in custom CSS.}

\item{background_color}{Slide Background Color. Defaults to \code{white_color}.
Modifies the \code{.remark-slide-content} class.}
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(--background-color)} in any argument of a style function or in custom
CSS.}

\item{link_color}{Link Color. Defaults to \code{base_color}. Modifies the
\verb{a, a > code} elements.}
\verb{a, a > code} elements. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--link-color)} in any argument
of a style function or in custom CSS.}

\item{text_bold_color}{Bold Text Color. Defaults to \code{base_color}. Modifies
the \code{strong} element.}
the \code{strong} element. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(--text-bold-color)} in any
argument of a style function or in custom CSS.}

\item{text_slide_number_color}{Slide Number Color. Defaults to \code{base_color}.
Modifies the \code{.remark-slide-number} class.}
@@ -127,7 +138,10 @@ be set. If \code{background_image} is set, \code{background_size} will default t
\code{.remark-slide-content} class.}

\item{code_highlight_color}{Code Line Highlight. Defaults to
rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.}
rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.
The value of this variable is also stored as a CSS variable that can be
referenced with \code{var(--code-highlight-color)} in any argument of a style
function or in custom CSS.}

\item{code_inline_color}{Inline Code Color. Defaults to \code{base_color}.
Modifies the \code{.remark-inline-code} class.}
@@ -136,25 +150,42 @@ 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.}
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.}

\item{inverse_background_color}{Inverse Background Color. Defaults to
\code{base_color}. Modifies the \code{.inverse} class.}
\code{base_color}. Modifies the \code{.inverse} class. The value of this variable is
also stored as a CSS variable that can be referenced with
\code{var(--inverse-background-color)} in any argument of a style function or
in custom CSS.}

\item{inverse_text_color}{Inverse Text Color. Defaults to \code{white_color}.
Modifies the \code{.inverse} class.}
Modifies the \code{.inverse} class. The value of this variable is also stored
as a CSS variable that can be referenced with \code{var(--inverse-text-color)}
in any argument of a style function or in custom CSS.}

\item{inverse_text_shadow}{Enables Shadow on text of inverse slides.
Defaults to \code{FALSE}. Modifies the \code{.inverse} class.}

\item{inverse_header_color}{Inverse Header Color. Defaults to \code{white_color}.
Modifies the \verb{.inverse h1, .inverse h2, .inverse h3} classes.}
Modifies the \verb{.inverse h1, .inverse h2, .inverse h3} classes. The value of
this variable is also stored as a CSS variable that can be referenced with
\code{var(--inverse-header-color)} in any argument of a style function or in
custom CSS.}

\item{title_slide_text_color}{Title Slide Text Color. Defaults to
\code{inverse_text_color}. Modifies the \code{.title-slide} class.}
\code{inverse_text_color}. Modifies the \code{.title-slide} class. The value of this
variable is also stored as a CSS variable that can be referenced with
\code{var(--title-slide-text-color)} in any argument of a style function or in
custom CSS.}

\item{title_slide_background_color}{Title Slide Background Color. Defaults
to \code{inverse_background_color}. Modifies the \code{.title-slide} class.}
to \code{inverse_background_color}. Modifies the \code{.title-slide} class. The
value of this variable is also stored as a CSS variable that can be
referenced with \code{var(--title-slide-background-color)} in any argument of a
style function or in custom CSS.}

\item{title_slide_background_image}{Title Slide Background Image URL.
Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}
@@ -198,19 +229,34 @@ Defaults to \code{lighten_color(base_color, 0.8)}. Modifies the
\verb{thead, tfoot, tr:nth-child(even)} elements.}

\item{base_font_size}{Base Font Size for All Slide Elements (must be \code{px}).
Defaults to 20px. Modifies the \code{html} element.}
Defaults to 20px. Modifies the \code{html} element. The value of this variable
is also stored as a CSS variable that can be referenced with
\code{var(--base-font-size)} in any argument of a style function or in custom
CSS.}

\item{text_font_size}{Slide Body Text Font Size. Defaults to 1rem. Modifies
the \code{.remark-slide-content} class.}
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.}

\item{header_h1_font_size}{h1 Header Text Font Size. Defaults to 2.75rem.
Modifies the \verb{.remark-slide-content h1} class.}
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.}

\item{header_h2_font_size}{h2 Header Text Font Size. Defaults to 2.25rem.
Modifies the \verb{.remark-slide-content h2} class.}
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.}

\item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 1.75rem.
Modifies the \verb{.remark-slide-content h3} class.}
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.}

\item{header_background_auto}{Add background under slide title automatically
for h1 header elements. If not enabled, use \code{class: header_background} to
@@ -218,11 +264,17 @@ enable. Defaults to \code{FALSE}.}

\item{header_background_color}{Background Color for h1 Header with
Background. Defaults to \code{header_color}. Modifies the
\verb{.remark-slide-content h1} class.}
\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-background-color)} in any argument of a style function or in
custom CSS.}

\item{header_background_text_color}{Text Color for h1 Header with
Background. Defaults to \code{background_color}. Modifies the
\verb{.remark-slide-content h1} class.}
\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-background-text-color)} in any argument of a style function
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.}
@@ -243,7 +295,10 @@ Background will not be Applied. Defaults to
to \code{NULL}. Modifies the \code{body} element.}

\item{text_font_family}{Body Text Font Family (xaringan default is
\code{'Droid Serif'}). Defaults to Noto Sans. Modifies the \code{body} element.}
\code{'Droid Serif'}). Defaults to Noto Sans. Modifies the \code{body} element. The
value of this variable is also stored as a CSS variable that can be
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.}
@@ -255,17 +310,24 @@ Modifies the \verb{@import url()} elements.}
\item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to
-apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue,
helvetica, Ubuntu, roboto, noto, segoe ui, arial. Modifies the \code{body}
element.}
element. The value of this variable is also stored as a CSS variable that
can be referenced with \code{var(--text-font-family-fallback)} in any argument
of a style function or in custom CSS.}

\item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults
to sans-serif. Modifies the \code{body} element.}
to sans-serif. Modifies the \code{body} element. The value of this variable is
also stored as a CSS variable that can be referenced with
\code{var(--text-font-base)} in any argument of a style function or in custom
CSS.}

\item{header_font_google}{Use \code{google_font()} to specify header font.
Defaults to \code{NULL}. Modifies the \code{body} element.}

\item{header_font_family}{Header Font Family (xaringan default is
\code{'Yanone Kaffeesatz'}). Defaults to Cabin. Modifies the \verb{h1, h2, h3}
elements.}
elements. The value of this variable is also stored as a CSS variable that
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.}
@@ -278,10 +340,15 @@ Modifies the \verb{@import url} elements.}
to \code{NULL}. Modifies the \code{body} element.}

\item{code_font_family}{Code Font Family. Defaults to Source Code Pro.
Modifies the \verb{.remark-code, .remark-inline-code} classes.}
Modifies the \verb{.remark-code, .remark-inline-code} classes. The value of
this variable is also stored as a CSS variable that can be referenced with
\code{var(--code-font-family)} in any argument of a style function or in custom
CSS.}

\item{code_font_size}{Code Text Font Size. Defaults to 0.9rem. Modifies the
\code{.remark-inline} class.}
\code{.remark-inline} class. 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.}

\item{code_font_url}{Code Font URL. Defaults to
https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap.

+ 34
- 106
man/style_solarized_dark.Rd Ver fichero

@@ -102,37 +102,26 @@ variable that can be referenced with \code{var(--text-bold-color)} in any
argument of a style function or in custom CSS.}

\item{text_slide_number_color}{Slide Number Color. Defaults to #586e75.
Modifies the \code{.remark-slide-number} class. The value of this variable is
also stored as a CSS variable that can be referenced with \code{var(NA)} in 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. The
value of this variable is also stored as a CSS variable that can be
referenced with \code{var(NA)} in any argument of a style function or in custom
CSS.}
to 16px 64px 16px 64px. Modifies the \code{.remark-slide-content} class.}

\item{background_image}{Background image applied to each \emph{and every} slide.
Set \code{title_slide_background_image = "none"} to remove the background image
from the title slide. Defaults to \code{NULL}. Modifies the
\code{.remark-slide-content} class. The value of this variable is also stored
as a CSS variable that can be referenced with \code{var(NA)} in any argument of
a style function or in custom CSS.}
\code{.remark-slide-content} class.}

\item{background_size}{Background image size, requires \code{background_image} to
be set. If \code{background_image} is set, \code{background_size} will default to
\code{cover} so the backround fills the screen. If both \code{background_image} and
\code{background_position} are set, will default to 100 percent. Defaults to
\code{NULL}. Modifies the \code{.remark-slide-content} class. The value of this
variable is also stored as a CSS variable that can be referenced with
\code{var(NA)} in any argument of a style function or in custom CSS.}
\code{NULL}. Modifies the \code{.remark-slide-content} class.}

\item{background_position}{Background image position, requires
\code{background_image} to be set, and it is recommended to adjust
\code{background_size}. Defaults to \code{NULL}. 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(NA)} in any argument of
a style function or in custom CSS.}
\code{.remark-slide-content} class.}

\item{code_highlight_color}{Code Line Highlight. Defaults to #268bd240.
Modifies the \code{.remark-code-line-highlighted} class. The value of this
@@ -141,14 +130,10 @@ variable is also stored as a CSS variable that can be referenced with
custom CSS.}

\item{code_inline_color}{Inline Code Color. Defaults to #6c71c4. 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(NA)} in any argument of
a style function or in custom CSS.}
the \code{.remark-inline-code} class.}

\item{code_inline_background_color}{Inline Code Background Color. Defaults
to \code{NULL}. Modifies the \code{.remark-inline-code} class. The value of this
variable is also stored as a CSS variable that can be referenced with
\code{var(NA)} in any argument of a style 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
@@ -168,9 +153,7 @@ variable that can be referenced with \code{var(--inverse-text-color)} in any
argument of a style function or in custom CSS.}

\item{inverse_text_shadow}{Enables Shadow on text of inverse slides.
Defaults to \code{FALSE}. Modifies the \code{.inverse} class. The value of this
variable is also stored as a CSS variable that can be referenced with
\code{var(NA)} in any argument of a style function or in custom CSS.}
Defaults to \code{FALSE}. Modifies the \code{.inverse} class.}

\item{inverse_header_color}{Inverse Header Color. Defaults to
\code{inverse_text_color}. Modifies the \verb{.inverse h1, .inverse h2, .inverse h3}
@@ -191,70 +174,44 @@ referenced with \code{var(--title-slide-background-color)} in any argument of a
style function or in custom CSS.}

\item{title_slide_background_image}{Title Slide Background Image URL.
Defaults to \code{NULL}. Modifies the \code{.title-slide} class. The value of this
variable is also stored as a CSS variable that can be referenced with
\code{var(NA)} in any argument of a style function or in custom CSS.}
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. The value of this variable is also
stored as a CSS variable that can be referenced with \code{var(NA)} in any
argument of a style function or in custom CSS.}
Modifies the \code{.title-slide} class.}

\item{title_slide_background_position}{Title Slide Background Image
Position. Defaults to \code{NULL}. Modifies the \code{.title-slide} class. The value
of this variable is also stored as a CSS variable that can be referenced
with \code{var(NA)} in any argument of a style function or in custom CSS.}
Position. Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}

\item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same
color as \code{text_color}). Defaults to \code{NULL}. Modifies the \code{.footnote}
class. The value of this variable is also stored as a CSS variable that
can be referenced with \code{var(NA)} in any argument of a style function or in
custom CSS.}
class.}

\item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies
the \code{.footnote} class. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(NA)} in any argument of a style
function or in custom CSS.}
the \code{.footnote} class.}

\item{footnote_position_bottom}{Footnote location from bottom of screen.
Defaults to 60px. Modifies the \code{.footnote} class. The value of this
variable is also stored as a CSS variable that can be referenced with
\code{var(NA)} in any argument of a style function or in custom CSS.}
Defaults to 60px. Modifies the \code{.footnote} class.}

\item{left_column_subtle_color}{Left Column Text (not last). Defaults to
#586e75. Modifies the \verb{.left-column h2, .left-column h3} classes. The
value of this variable is also stored as a CSS variable that can be
referenced with \code{var(NA)} in any argument of a style function or in custom
CSS.}
#586e75. Modifies the \verb{.left-column h2, .left-column h3} classes.}

\item{left_column_selected_color}{Left Column Current Selection. Defaults to
#93a1a1. Modifies the
\verb{.left-column h2:last-of-type, .left-column h3:last-child} classes. The
value of this variable is also stored as a CSS variable that can be
referenced with \code{var(NA)} in any argument of a style function or in custom
CSS.}
\verb{.left-column h2:last-of-type, .left-column h3:last-child} classes.}

\item{blockquote_left_border_color}{Blockquote Left Border Color. Defaults
to #cb4b16. Modifies the \code{blockquote} element. The value of this variable
is also stored as a CSS variable that can be referenced with \code{var(NA)} in
any argument of a style function or in custom CSS.}
to #cb4b16. Modifies the \code{blockquote} element.}

\item{table_border_color}{Table top/bottom border. Defaults to #657b83.
Modifies the \verb{table: border-top, border-bottom} elements. The value of
this variable is also stored as a CSS variable that can be referenced with
\code{var(NA)} in any argument of a style function or in custom CSS.}
Modifies the \verb{table: border-top, border-bottom} elements.}

\item{table_row_border_color}{Table row inner bottom border. Defaults to
#657b83. Modifies the \verb{table thead th: border-bottom} elements. The value
of this variable is also stored as a CSS variable that can be referenced
with \code{var(NA)} in any argument of a style function or in custom CSS.}
#657b83. Modifies the \verb{table thead th: border-bottom} elements.}

\item{table_row_even_background_color}{Table Even Row Background Color.
Defaults to #073642. Modifies the \verb{thead, tfoot, tr:nth-child(even)}
elements. The value of this variable is also stored as a CSS variable that
can be referenced with \code{var(NA)} in any argument of a style function or in
custom CSS.}
elements.}

\item{base_font_size}{Base Font Size for All Slide Elements (must be \code{px}).
Defaults to 20px. Modifies the \code{html} element. The value of this variable
@@ -288,9 +245,7 @@ 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
enable. Defaults to \code{FALSE}. The value of this variable is also stored as
a CSS variable that can be referenced with \code{var(NA)} in any argument of a
style function or in custom CSS.}
enable. Defaults to \code{FALSE}.}

\item{header_background_color}{Background Color for h1 Header with
Background. Defaults to \code{header_color}. Modifies the
@@ -307,33 +262,22 @@ 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. The
value of this variable is also stored as a CSS variable that can be
referenced with \code{var(NA)} in any argument of a style function or in custom
CSS.}
Defaults to \code{NULL}. Modifies the \verb{.remark-slide-content h1} class.}

\item{header_background_content_padding_top}{Top Padding for Content in
Slide with Header with Background. Defaults to 7rem. 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(NA)} in any argument of
a style function or in custom CSS.}
\code{.remark-slide-content} class.}

\item{header_background_ignore_classes}{Slide Classes Where Header with
Background will not be Applied. Defaults to
\code{c('normal', 'inverse', 'title', 'middle', 'bottom')}. 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(NA)} in any argument of
a style function or in custom CSS.}
\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. The value of this
variable is also stored as a CSS variable that can be referenced with
\code{var(NA)} in any argument of a style function or in custom CSS.}
0.9em. Modifies the \code{.remark-slide-number} class.}

\item{text_font_google}{Use \code{google_font()} to specify body font. Defaults
to \code{NULL}. Modifies the \code{body} element. The value of this variable is also
stored as a CSS variable that can be referenced with \code{var(NA)} in any
argument of a style function or in custom CSS.}
to \code{NULL}. Modifies the \code{body} element.}

\item{text_font_family}{Body Text Font Family (xaringan default is
\code{'Droid Serif'}). Defaults to Noto Sans. Modifies the \code{body} element. The
@@ -342,15 +286,11 @@ 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 value of this variable is also stored as a CSS
variable that can be referenced with \code{var(NA)} in any argument of a style
function or in custom CSS.}
the \code{body} element.}

\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.
Modifies the \verb{@import url()} elements. The value of this variable is also
stored as a CSS variable that can be referenced with \code{var(NA)} in any
argument of a style function or in custom CSS.}
Modifies the \verb{@import url()} elements.}

\item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to
-apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue,
@@ -366,9 +306,7 @@ also stored as a CSS variable that can be referenced with
CSS.}

\item{header_font_google}{Use \code{google_font()} to specify header font.
Defaults to \code{NULL}. Modifies the \code{body} element. The value of this
variable is also stored as a CSS variable that can be referenced with
\code{var(NA)} in any argument of a style function or in custom CSS.}
Defaults to \code{NULL}. Modifies the \code{body} element.}

\item{header_font_family}{Header Font Family (xaringan default is
\code{'Yanone Kaffeesatz'}). Defaults to Cabin. Modifies the \verb{h1, h2, h3}
@@ -377,20 +315,14 @@ 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. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(NA)} in any argument of a style
function or in custom CSS.}
\verb{h1, h2, h3} elements.}

\item{header_font_url}{Header Font URL. Defaults to
https://fonts.googleapis.com/css?family=Cabin:600,600i&display=swap.
Modifies the \verb{@import url} elements. The value of this variable is also
stored as a CSS variable that can be referenced with \code{var(NA)} in any
argument of a style function or in custom CSS.}
Modifies the \verb{@import url} elements.}

\item{code_font_google}{Use \code{google_font()} to specify code font. Defaults
to \code{NULL}. Modifies the \code{body} element. The value of this variable is also
stored as a CSS variable that can be referenced with \code{var(NA)} in any
argument of a style function or in custom CSS.}
to \code{NULL}. Modifies the \code{body} element.}

\item{code_font_family}{Code Font Family. Defaults to Source Code Pro.
Modifies the \verb{.remark-code, .remark-inline-code} classes. The value of
@@ -405,15 +337,11 @@ argument of a style function or in custom CSS.}

\item{code_font_url}{Code Font URL. Defaults to
https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap.
Modifies the \verb{@import url} elements. The value of this variable is also
stored as a CSS variable that can be referenced with \code{var(NA)} in any
argument of a style function or in custom CSS.}
Modifies the \verb{@import url} elements.}

\item{code_font_family_fallback}{Code Font Fallback. Defaults to Menlo,
Consolas, Monaco, Liberation Mono, Lucida Console. Modifies the
\verb{.remark-code, .remark-inline-code} classes. The value of this variable is
also stored as a CSS variable that can be referenced with \code{var(NA)} in any
argument of a style function or in custom CSS.}
\verb{.remark-code, .remark-inline-code} classes.}

\item{colors}{A named vector of custom colors. The names of the colors
become CSS variables and classes that can be used within your slides.

+ 34
- 106
man/style_solarized_light.Rd Ver fichero

@@ -102,37 +102,26 @@ variable that can be referenced with \code{var(--text-bold-color)} in any
argument of a style function or in custom CSS.}

\item{text_slide_number_color}{Slide Number Color. Defaults to #93a1a1.
Modifies the \code{.remark-slide-number} class. The value of this variable is
also stored as a CSS variable that can be referenced with \code{var(NA)} in 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. The
value of this variable is also stored as a CSS variable that can be
referenced with \code{var(NA)} in any argument of a style function or in custom
CSS.}
to 16px 64px 16px 64px. Modifies the \code{.remark-slide-content} class.}

\item{background_image}{Background image applied to each \emph{and every} slide.
Set \code{title_slide_background_image = "none"} to remove the background image
from the title slide. Defaults to \code{NULL}. Modifies the
\code{.remark-slide-content} class. The value of this variable is also stored
as a CSS variable that can be referenced with \code{var(NA)} in any argument of
a style function or in custom CSS.}
\code{.remark-slide-content} class.}

\item{background_size}{Background image size, requires \code{background_image} to
be set. If \code{background_image} is set, \code{background_size} will default to
\code{cover} so the backround fills the screen. If both \code{background_image} and
\code{background_position} are set, will default to 100 percent. Defaults to
\code{NULL}. Modifies the \code{.remark-slide-content} class. The value of this
variable is also stored as a CSS variable that can be referenced with
\code{var(NA)} in any argument of a style function or in custom CSS.}
\code{NULL}. Modifies the \code{.remark-slide-content} class.}

\item{background_position}{Background image position, requires
\code{background_image} to be set, and it is recommended to adjust
\code{background_size}. Defaults to \code{NULL}. 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(NA)} in any argument of
a style function or in custom CSS.}
\code{.remark-slide-content} class.}

\item{code_highlight_color}{Code Line Highlight. Defaults to #268bd240.
Modifies the \code{.remark-code-line-highlighted} class. The value of this
@@ -141,14 +130,10 @@ variable is also stored as a CSS variable that can be referenced with
custom CSS.}

\item{code_inline_color}{Inline Code Color. Defaults to #6c71c4. 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(NA)} in any argument of
a style function or in custom CSS.}
the \code{.remark-inline-code} class.}

\item{code_inline_background_color}{Inline Code Background Color. Defaults
to \code{NULL}. Modifies the \code{.remark-inline-code} class. The value of this
variable is also stored as a CSS variable that can be referenced with
\code{var(NA)} in any argument of a style 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
@@ -168,9 +153,7 @@ variable that can be referenced with \code{var(--inverse-text-color)} in any
argument of a style function or in custom CSS.}

\item{inverse_text_shadow}{Enables Shadow on text of inverse slides.
Defaults to \code{FALSE}. Modifies the \code{.inverse} class. The value of this
variable is also stored as a CSS variable that can be referenced with
\code{var(NA)} in any argument of a style function or in custom CSS.}
Defaults to \code{FALSE}. Modifies the \code{.inverse} class.}

\item{inverse_header_color}{Inverse Header Color. Defaults to
\code{inverse_text_color}. Modifies the \verb{.inverse h1, .inverse h2, .inverse h3}
@@ -191,70 +174,44 @@ referenced with \code{var(--title-slide-background-color)} in any argument of a
style function or in custom CSS.}

\item{title_slide_background_image}{Title Slide Background Image URL.
Defaults to \code{NULL}. Modifies the \code{.title-slide} class. The value of this
variable is also stored as a CSS variable that can be referenced with
\code{var(NA)} in any argument of a style function or in custom CSS.}
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. The value of this variable is also
stored as a CSS variable that can be referenced with \code{var(NA)} in any
argument of a style function or in custom CSS.}
Modifies the \code{.title-slide} class.}

\item{title_slide_background_position}{Title Slide Background Image
Position. Defaults to \code{NULL}. Modifies the \code{.title-slide} class. The value
of this variable is also stored as a CSS variable that can be referenced
with \code{var(NA)} in any argument of a style function or in custom CSS.}
Position. Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}

\item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same
color as \code{text_color}). Defaults to \code{NULL}. Modifies the \code{.footnote}
class. The value of this variable is also stored as a CSS variable that
can be referenced with \code{var(NA)} in any argument of a style function or in
custom CSS.}
class.}

\item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies
the \code{.footnote} class. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(NA)} in any argument of a style
function or in custom CSS.}
the \code{.footnote} class.}

\item{footnote_position_bottom}{Footnote location from bottom of screen.
Defaults to 60px. Modifies the \code{.footnote} class. The value of this
variable is also stored as a CSS variable that can be referenced with
\code{var(NA)} in any argument of a style function or in custom CSS.}
Defaults to 60px. Modifies the \code{.footnote} class.}

\item{left_column_subtle_color}{Left Column Text (not last). Defaults to
#93a1a1. Modifies the \verb{.left-column h2, .left-column h3} classes. The
value of this variable is also stored as a CSS variable that can be
referenced with \code{var(NA)} in any argument of a style function or in custom
CSS.}
#93a1a1. Modifies the \verb{.left-column h2, .left-column h3} classes.}

\item{left_column_selected_color}{Left Column Current Selection. Defaults to
#586e75. Modifies the
\verb{.left-column h2:last-of-type, .left-column h3:last-child} classes. The
value of this variable is also stored as a CSS variable that can be
referenced with \code{var(NA)} in any argument of a style function or in custom
CSS.}
\verb{.left-column h2:last-of-type, .left-column h3:last-child} classes.}

\item{blockquote_left_border_color}{Blockquote Left Border Color. Defaults
to #cb4b16. Modifies the \code{blockquote} element. The value of this variable
is also stored as a CSS variable that can be referenced with \code{var(NA)} in
any argument of a style function or in custom CSS.}
to #cb4b16. Modifies the \code{blockquote} element.}

\item{table_border_color}{Table top/bottom border. Defaults to #839496.
Modifies the \verb{table: border-top, border-bottom} elements. The value of
this variable is also stored as a CSS variable that can be referenced with
\code{var(NA)} in any argument of a style function or in custom CSS.}
Modifies the \verb{table: border-top, border-bottom} elements.}

\item{table_row_border_color}{Table row inner bottom border. Defaults to
#839496. Modifies the \verb{table thead th: border-bottom} elements. The value
of this variable is also stored as a CSS variable that can be referenced
with \code{var(NA)} in any argument of a style function or in custom CSS.}
#839496. Modifies the \verb{table thead th: border-bottom} elements.}

\item{table_row_even_background_color}{Table Even Row Background Color.
Defaults to #eee8d5. Modifies the \verb{thead, tfoot, tr:nth-child(even)}
elements. The value of this variable is also stored as a CSS variable that
can be referenced with \code{var(NA)} in any argument of a style function or in
custom CSS.}
elements.}

\item{base_font_size}{Base Font Size for All Slide Elements (must be \code{px}).
Defaults to 20px. Modifies the \code{html} element. The value of this variable
@@ -288,9 +245,7 @@ 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
enable. Defaults to \code{FALSE}. The value of this variable is also stored as
a CSS variable that can be referenced with \code{var(NA)} in any argument of a
style function or in custom CSS.}
enable. Defaults to \code{FALSE}.}

\item{header_background_color}{Background Color for h1 Header with
Background. Defaults to \code{header_color}. Modifies the
@@ -307,33 +262,22 @@ 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. The
value of this variable is also stored as a CSS variable that can be
referenced with \code{var(NA)} in any argument of a style function or in custom
CSS.}
Defaults to \code{NULL}. Modifies the \verb{.remark-slide-content h1} class.}

\item{header_background_content_padding_top}{Top Padding for Content in
Slide with Header with Background. Defaults to 7rem. 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(NA)} in any argument of
a style function or in custom CSS.}
\code{.remark-slide-content} class.}

\item{header_background_ignore_classes}{Slide Classes Where Header with
Background will not be Applied. Defaults to
\code{c('normal', 'inverse', 'title', 'middle', 'bottom')}. 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(NA)} in any argument of
a style function or in custom CSS.}
\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. The value of this
variable is also stored as a CSS variable that can be referenced with
\code{var(NA)} in any argument of a style function or in custom CSS.}
0.9em. Modifies the \code{.remark-slide-number} class.}

\item{text_font_google}{Use \code{google_font()} to specify body font. Defaults
to \code{NULL}. Modifies the \code{body} element. The value of this variable is also
stored as a CSS variable that can be referenced with \code{var(NA)} in any
argument of a style function or in custom CSS.}
to \code{NULL}. Modifies the \code{body} element.}

\item{text_font_family}{Body Text Font Family (xaringan default is
\code{'Droid Serif'}). Defaults to Noto Sans. Modifies the \code{body} element. The
@@ -342,15 +286,11 @@ 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 value of this variable is also stored as a CSS
variable that can be referenced with \code{var(NA)} in any argument of a style
function or in custom CSS.}
the \code{body} element.}

\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.
Modifies the \verb{@import url()} elements. The value of this variable is also
stored as a CSS variable that can be referenced with \code{var(NA)} in any
argument of a style function or in custom CSS.}
Modifies the \verb{@import url()} elements.}

\item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to
-apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue,
@@ -366,9 +306,7 @@ also stored as a CSS variable that can be referenced with
CSS.}

\item{header_font_google}{Use \code{google_font()} to specify header font.
Defaults to \code{NULL}. Modifies the \code{body} element. The value of this
variable is also stored as a CSS variable that can be referenced with
\code{var(NA)} in any argument of a style function or in custom CSS.}
Defaults to \code{NULL}. Modifies the \code{body} element.}

\item{header_font_family}{Header Font Family (xaringan default is
\code{'Yanone Kaffeesatz'}). Defaults to Cabin. Modifies the \verb{h1, h2, h3}
@@ -377,20 +315,14 @@ 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. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(NA)} in any argument of a style
function or in custom CSS.}
\verb{h1, h2, h3} elements.}

\item{header_font_url}{Header Font URL. Defaults to
https://fonts.googleapis.com/css?family=Cabin:600,600i&display=swap.
Modifies the \verb{@import url} elements. The value of this variable is also
stored as a CSS variable that can be referenced with \code{var(NA)} in any
argument of a style function or in custom CSS.}
Modifies the \verb{@import url} elements.}

\item{code_font_google}{Use \code{google_font()} to specify code font. Defaults
to \code{NULL}. Modifies the \code{body} element. The value of this variable is also
stored as a CSS variable that can be referenced with \code{var(NA)} in any
argument of a style function or in custom CSS.}
to \code{NULL}. Modifies the \code{body} element.}

\item{code_font_family}{Code Font Family. Defaults to Source Code Pro.
Modifies the \verb{.remark-code, .remark-inline-code} classes. The value of
@@ -405,15 +337,11 @@ argument of a style function or in custom CSS.}

\item{code_font_url}{Code Font URL. Defaults to
https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap.
Modifies the \verb{@import url} elements. The value of this variable is also
stored as a CSS variable that can be referenced with \code{var(NA)} in any
argument of a style function or in custom CSS.}
Modifies the \verb{@import url} elements.}

\item{code_font_family_fallback}{Code Font Fallback. Defaults to Menlo,
Consolas, Monaco, Liberation Mono, Lucida Console. Modifies the
\verb{.remark-code, .remark-inline-code} classes. The value of this variable is
also stored as a CSS variable that can be referenced with \code{var(NA)} in any
argument of a style function or in custom CSS.}
\verb{.remark-code, .remark-inline-code} classes.}

\item{colors}{A named vector of custom colors. The names of the colors
become CSS variables and classes that can be used within your slides.

+ 34
- 106
man/style_xaringan.Rd Ver fichero

@@ -102,38 +102,26 @@ variable that can be referenced with \code{var(--text-bold-color)} in any
argument of a style function or in custom CSS.}

\item{text_slide_number_color}{Slide Number Color. Defaults to
\code{inverse_background_color}. Modifies the \code{.remark-slide-number} class. The
value of this variable is also stored as a CSS variable that can be
referenced with \code{var(NA)} in any 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. The
value of this variable is also stored as a CSS variable that can be
referenced with \code{var(NA)} in any argument of a style function or in custom
CSS.}
to 16px 64px 16px 64px. Modifies the \code{.remark-slide-content} class.}

\item{background_image}{Background image applied to each \emph{and every} slide.
Set \code{title_slide_background_image = "none"} to remove the background image
from the title slide. Defaults to \code{NULL}. Modifies the
\code{.remark-slide-content} class. The value of this variable is also stored
as a CSS variable that can be referenced with \code{var(NA)} in any argument of
a style function or in custom CSS.}
\code{.remark-slide-content} class.}

\item{background_size}{Background image size, requires \code{background_image} to
be set. If \code{background_image} is set, \code{background_size} will default to
\code{cover} so the backround fills the screen. If both \code{background_image} and
\code{background_position} are set, will default to 100 percent. Defaults to
\code{NULL}. Modifies the \code{.remark-slide-content} class. The value of this
variable is also stored as a CSS variable that can be referenced with
\code{var(NA)} in any argument of a style function or in custom CSS.}
\code{NULL}. Modifies the \code{.remark-slide-content} class.}

\item{background_position}{Background image position, requires
\code{background_image} to be set, and it is recommended to adjust
\code{background_size}. Defaults to \code{NULL}. 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(NA)} in any argument of
a style function or in custom CSS.}
\code{.remark-slide-content} class.}

\item{code_highlight_color}{Code Line Highlight. Defaults to
rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.
@@ -142,14 +130,10 @@ referenced with \code{var(--code-highlight-color)} in any argument of a style
function or in custom CSS.}

\item{code_inline_color}{Inline Code Color. Defaults to #000. 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(NA)} in any argument of a
style function or in custom CSS.}
\code{.remark-inline-code} class.}

\item{code_inline_background_color}{Inline Code Background Color. Defaults
to \code{NULL}. Modifies the \code{.remark-inline-code} class. The value of this
variable is also stored as a CSS variable that can be referenced with
\code{var(NA)} in any argument of a style 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
@@ -169,9 +153,7 @@ variable that can be referenced with \code{var(--inverse-text-color)} in any
argument of a style function or in custom CSS.}

\item{inverse_text_shadow}{Enables Shadow on text of inverse slides.
Defaults to \code{FALSE}. Modifies the \code{.inverse} class. The value of this
variable is also stored as a CSS variable that can be referenced with
\code{var(NA)} in any argument of a style function or in custom CSS.}
Defaults to \code{FALSE}. Modifies the \code{.inverse} class.}

\item{inverse_header_color}{Inverse Header Color. Defaults to #f3f3f3.
Modifies the \verb{.inverse h1, .inverse h2, .inverse h3} classes. The value of
@@ -192,69 +174,44 @@ referenced with \code{var(--title-slide-background-color)} in any argument of a
style function or in custom CSS.}

\item{title_slide_background_image}{Title Slide Background Image URL.
Defaults to \code{NULL}. Modifies the \code{.title-slide} class. The value of this
variable is also stored as a CSS variable that can be referenced with
\code{var(NA)} in any argument of a style function or in custom CSS.}
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. The value of this variable is also
stored as a CSS variable that can be referenced with \code{var(NA)} in any
argument of a style function or in custom CSS.}
Modifies the \code{.title-slide} class.}

\item{title_slide_background_position}{Title Slide Background Image
Position. Defaults to \code{NULL}. Modifies the \code{.title-slide} class. The value
of this variable is also stored as a CSS variable that can be referenced
with \code{var(NA)} in any argument of a style function or in custom CSS.}
Position. Defaults to \code{NULL}. Modifies the \code{.title-slide} class.}

\item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same
color as \code{text_color}). Defaults to \code{NULL}. Modifies the \code{.footnote}
class. The value of this variable is also stored as a CSS variable that
can be referenced with \code{var(NA)} in any argument of a style function or in
custom CSS.}
class.}

\item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies
the \code{.footnote} class. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(NA)} in any argument of a style
function or in custom CSS.}
the \code{.footnote} class.}

\item{footnote_position_bottom}{Footnote location from bottom of screen.
Defaults to 60px. Modifies the \code{.footnote} class. The value of this
variable is also stored as a CSS variable that can be referenced with
\code{var(NA)} in any argument of a style function or in custom CSS.}
Defaults to 60px. Modifies the \code{.footnote} class.}

\item{left_column_subtle_color}{Left Column Text (not last). Defaults to
#777. Modifies the \verb{.left-column h2, .left-column h3} classes. The value
of this variable is also stored as a CSS variable that can be referenced
with \code{var(NA)} in any argument of a style function or in custom CSS.}
#777. Modifies the \verb{.left-column h2, .left-column h3} classes.}

\item{left_column_selected_color}{Left Column Current Selection. Defaults to
#000. Modifies the
\verb{.left-column h2:last-of-type, .left-column h3:last-child} classes. The
value of this variable is also stored as a CSS variable that can be
referenced with \code{var(NA)} in any argument of a style function or in custom
CSS.}
\verb{.left-column h2:last-of-type, .left-column h3:last-child} classes.}

\item{blockquote_left_border_color}{Blockquote Left Border Color. Defaults
to lightgray. Modifies the \code{blockquote} element. The value of this
variable is also stored as a CSS variable that can be referenced with
\code{var(NA)} in any argument of a style function or in custom CSS.}
to lightgray. Modifies the \code{blockquote} element.}

\item{table_border_color}{Table top/bottom border. Defaults to #666.
Modifies the \verb{table: border-top, border-bottom} elements. The value of
this variable is also stored as a CSS variable that can be referenced with
\code{var(NA)} in any argument of a style function or in custom CSS.}
Modifies the \verb{table: border-top, border-bottom} elements.}

\item{table_row_border_color}{Table row inner bottom border. Defaults to
#ddd. Modifies the \verb{table thead th: border-bottom} elements. The value of
this variable is also stored as a CSS variable that can be referenced with
\code{var(NA)} in any argument of a style function or in custom CSS.}
#ddd. Modifies the \verb{table thead th: border-bottom} elements.}

\item{table_row_even_background_color}{Table Even Row Background Color.
Defaults to #eee. Modifies the \verb{thead, tfoot, tr:nth-child(even)}
elements. The value of this variable is also stored as a CSS variable that
can be referenced with \code{var(NA)} in any argument of a style function or in
custom CSS.}
elements.}

\item{base_font_size}{Base Font Size for All Slide Elements (must be \code{px}).
Defaults to 20px. Modifies the \code{html} element. The value of this variable
@@ -288,9 +245,7 @@ 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
enable. Defaults to \code{FALSE}. The value of this variable is also stored as
a CSS variable that can be referenced with \code{var(NA)} in any argument of a
style function or in custom CSS.}
enable. Defaults to \code{FALSE}.}

\item{header_background_color}{Background Color for h1 Header with
Background. Defaults to \code{header_color}. Modifies the
@@ -307,33 +262,22 @@ 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. The
value of this variable is also stored as a CSS variable that can be
referenced with \code{var(NA)} in any argument of a style function or in custom
CSS.}
Defaults to \code{NULL}. Modifies the \verb{.remark-slide-content h1} class.}

\item{header_background_content_padding_top}{Top Padding for Content in
Slide with Header with Background. Defaults to 7rem. 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(NA)} in any argument of
a style function or in custom CSS.}
\code{.remark-slide-content} class.}

\item{header_background_ignore_classes}{Slide Classes Where Header with
Background will not be Applied. Defaults to
\code{c('normal', 'inverse', 'title', 'middle', 'bottom')}. 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(NA)} in any argument of
a style function or in custom CSS.}
\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. The value of this
variable is also stored as a CSS variable that can be referenced with
\code{var(NA)} in any argument of a style function or in custom CSS.}
0.9em. Modifies the \code{.remark-slide-number} class.}

\item{text_font_google}{Use \code{google_font()} to specify body font. Defaults
to \code{NULL}. Modifies the \code{body} element. The value of this variable is also
stored as a CSS variable that can be referenced with \code{var(NA)} in any
argument of a style function or in custom CSS.}
to \code{NULL}. Modifies the \code{body} element.}

\item{text_font_family}{Body Text Font Family (xaringan default is
\code{'Droid Serif'}). Defaults to Noto Sans. Modifies the \code{body} element. The
@@ -342,15 +286,11 @@ 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 value of this variable is also stored as a CSS
variable that can be referenced with \code{var(NA)} in any argument of a style
function or in custom CSS.}
the \code{body} element.}

\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.
Modifies the \verb{@import url()} elements. The value of this variable is also
stored as a CSS variable that can be referenced with \code{var(NA)} in any
argument of a style function or in custom CSS.}
Modifies the \verb{@import url()} elements.}

\item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to
-apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue,
@@ -366,9 +306,7 @@ also stored as a CSS variable that can be referenced with
CSS.}

\item{header_font_google}{Use \code{google_font()} to specify header font.
Defaults to \code{NULL}. Modifies the \code{body} element. The value of this
variable is also stored as a CSS variable that can be referenced with
\code{var(NA)} in any argument of a style function or in custom CSS.}
Defaults to \code{NULL}. Modifies the \code{body} element.}

\item{header_font_family}{Header Font Family (xaringan default is
\code{'Yanone Kaffeesatz'}). Defaults to Cabin. Modifies the \verb{h1, h2, h3}
@@ -377,20 +315,14 @@ 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. The value of this variable is also stored as a CSS
variable that can be referenced with \code{var(NA)} in any argument of a style
function or in custom CSS.}
\verb{h1, h2, h3} elements.}

\item{header_font_url}{Header Font URL. Defaults to
https://fonts.googleapis.com/css?family=Cabin:600,600i&display=swap.
Modifies the \verb{@import url} elements. The value of this variable is also
stored as a CSS variable that can be referenced with \code{var(NA)} in any
argument of a style function or in custom CSS.}
Modifies the \verb{@import url} elements.}

\item{code_font_google}{Use \code{google_font()} to specify code font. Defaults
to \code{NULL}. Modifies the \code{body} element. The value of this variable is also
stored as a CSS variable that can be referenced with \code{var(NA)} in any
argument of a style function or in custom CSS.}
to \code{NULL}. Modifies the \code{body} element.}

\item{code_font_family}{Code Font Family. Defaults to Source Code Pro.
Modifies the \verb{.remark-code, .remark-inline-code} classes. The value of
@@ -405,15 +337,11 @@ argument of a style function or in custom CSS.}

\item{code_font_url}{Code Font URL. Defaults to
https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap.
Modifies the \verb{@import url} elements. The value of this variable is also
stored as a CSS variable that can be referenced with \code{var(NA)} in any
argument of a style function or in custom CSS.}
Modifies the \verb{@import url} elements.}

\item{code_font_family_fallback}{Code Font Fallback. Defaults to Menlo,
Consolas, Monaco, Liberation Mono, Lucida Console. Modifies the
\verb{.remark-code, .remark-inline-code} classes. The value of this variable is
also stored as a CSS variable that can be referenced with \code{var(NA)} in any
argument of a style function or in custom CSS.}
\verb{.remark-code, .remark-inline-code} classes.}

\item{colors}{A named vector of custom colors. The names of the colors
become CSS variables and classes that can be used within your slides.

Cargando…
Cancelar
Guardar