Pārlūkot izejas kodu

Add `link_decoration` parameter to style functions (#57)

tags/v0.4.0
Garrick Aden-Buie pirms 5 gadiem
vecāks
revīzija
ea5d1de808
Revīzijas autora e-pasta adrese nav piesaistīta nevienam kontam
24 mainītis faili ar 118 papildinājumiem un 2 dzēšanām
  1. +4
    -0
      NEWS.md
  2. +5
    -0
      R/style_duo.R
  3. +5
    -0
      R/style_duo_accent.R
  4. +5
    -0
      R/style_duo_accent_inverse.R
  5. +5
    -0
      R/style_mono_accent.R
  6. +5
    -0
      R/style_mono_accent_inverse.R
  7. +5
    -0
      R/style_mono_dark.R
  8. +5
    -0
      R/style_mono_light.R
  9. +5
    -0
      R/style_solarized_dark.R
  10. +5
    -0
      R/style_solarized_light.R
  11. +5
    -0
      R/style_xaringan.R
  12. Binārs
      R/sysdata.rda
  13. +3
    -1
      data-raw/theme_template_variables.R
  14. +1
    -1
      inst/resources/template.css
  15. +6
    -0
      man/style_duo.Rd
  16. +6
    -0
      man/style_duo_accent.Rd
  17. +6
    -0
      man/style_duo_accent_inverse.Rd
  18. +6
    -0
      man/style_mono_accent.Rd
  19. +6
    -0
      man/style_mono_accent_inverse.Rd
  20. +6
    -0
      man/style_mono_dark.Rd
  21. +6
    -0
      man/style_mono_light.Rd
  22. +6
    -0
      man/style_solarized_dark.Rd
  23. +6
    -0
      man/style_solarized_light.Rd
  24. +6
    -0
      man/style_xaringan.Rd

+ 4
- 0
NEWS.md Parādīt failu

* xaringanthemer no longer sets the `fig.showtext` chunk option when the * xaringanthemer no longer sets the `fig.showtext` chunk option when the
showtext package isn't installed (#56). showtext package isn't installed (#56).
* The style functions gain a `link_decoration` argument to set the
[`text-decoration`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration)
property for links (#57).


# xaringanthemes 0.3.4 # xaringanthemes 0.3.4



+ 5
- 0
R/style_duo.R Parādīt failu

#' @param code_font_family_fallback Code Font Fallback. Defaults to #' @param code_font_family_fallback Code Font Fallback. Defaults to
#' `xaringanthemer_font_default("code_font_family_fallback")`. Modifies the #' `xaringanthemer_font_default("code_font_family_fallback")`. Modifies the
#' `.remark-code, .remark-inline-code` classes. #' `.remark-code, .remark-inline-code` classes.
#' @param link_decoration Text decoration of links. Defaults to none. Modifies
#' the `a, a > code` elements. Accepts CSS
#' [text-decoration](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration)
#' property values.
#' @template theme_params #' @template theme_params
#' @template style-usage #' @template style-usage
#' @template style_duo #' @template style_duo
code_font_size = "0.9rem", code_font_size = "0.9rem",
code_font_url = xaringanthemer_font_default("code_font_url"), code_font_url = xaringanthemer_font_default("code_font_url"),
code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"),
link_decoration = "none",
colors = NULL, colors = NULL,
extra_css = NULL, extra_css = NULL,
extra_fonts = NULL, extra_fonts = NULL,

+ 5
- 0
R/style_duo_accent.R Parādīt failu

#' @param code_font_family_fallback Code Font Fallback. Defaults to #' @param code_font_family_fallback Code Font Fallback. Defaults to
#' `xaringanthemer_font_default("code_font_family_fallback")`. Modifies the #' `xaringanthemer_font_default("code_font_family_fallback")`. Modifies the
#' `.remark-code, .remark-inline-code` classes. #' `.remark-code, .remark-inline-code` classes.
#' @param link_decoration Text decoration of links. Defaults to none. Modifies
#' the `a, a > code` elements. Accepts CSS
#' [text-decoration](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration)
#' property values.
#' @template theme_params #' @template theme_params
#' @template style-usage #' @template style-usage
#' @template style_duo_accent #' @template style_duo_accent
code_font_size = "0.9rem", code_font_size = "0.9rem",
code_font_url = xaringanthemer_font_default("code_font_url"), code_font_url = xaringanthemer_font_default("code_font_url"),
code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"),
link_decoration = "none",
colors = NULL, colors = NULL,
extra_css = NULL, extra_css = NULL,
extra_fonts = NULL, extra_fonts = NULL,

+ 5
- 0
R/style_duo_accent_inverse.R Parādīt failu

#' @param code_font_family_fallback Code Font Fallback. Defaults to #' @param code_font_family_fallback Code Font Fallback. Defaults to
#' `xaringanthemer_font_default("code_font_family_fallback")`. Modifies the #' `xaringanthemer_font_default("code_font_family_fallback")`. Modifies the
#' `.remark-code, .remark-inline-code` classes. #' `.remark-code, .remark-inline-code` classes.
#' @param link_decoration Text decoration of links. Defaults to none. Modifies
#' the `a, a > code` elements. Accepts CSS
#' [text-decoration](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration)
#' property values.
#' @template theme_params #' @template theme_params
#' @template style-usage #' @template style-usage
#' @template style_duo_accent_inverse #' @template style_duo_accent_inverse
code_font_size = "0.9rem", code_font_size = "0.9rem",
code_font_url = xaringanthemer_font_default("code_font_url"), code_font_url = xaringanthemer_font_default("code_font_url"),
code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"),
link_decoration = "none",
colors = NULL, colors = NULL,
extra_css = NULL, extra_css = NULL,
extra_fonts = NULL, extra_fonts = NULL,

+ 5
- 0
R/style_mono_accent.R Parādīt failu

#' @param code_font_family_fallback Code Font Fallback. Defaults to #' @param code_font_family_fallback Code Font Fallback. Defaults to
#' `xaringanthemer_font_default("code_font_family_fallback")`. Modifies the #' `xaringanthemer_font_default("code_font_family_fallback")`. Modifies the
#' `.remark-code, .remark-inline-code` classes. #' `.remark-code, .remark-inline-code` classes.
#' @param link_decoration Text decoration of links. Defaults to none. Modifies
#' the `a, a > code` elements. Accepts CSS
#' [text-decoration](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration)
#' property values.
#' @template theme_params #' @template theme_params
#' @template style-usage #' @template style-usage
#' @template style_mono_accent #' @template style_mono_accent
code_font_size = "0.9rem", code_font_size = "0.9rem",
code_font_url = xaringanthemer_font_default("code_font_url"), code_font_url = xaringanthemer_font_default("code_font_url"),
code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"),
link_decoration = "none",
colors = NULL, colors = NULL,
extra_css = NULL, extra_css = NULL,
extra_fonts = NULL, extra_fonts = NULL,

+ 5
- 0
R/style_mono_accent_inverse.R Parādīt failu

#' @param code_font_family_fallback Code Font Fallback. Defaults to #' @param code_font_family_fallback Code Font Fallback. Defaults to
#' `xaringanthemer_font_default("code_font_family_fallback")`. Modifies the #' `xaringanthemer_font_default("code_font_family_fallback")`. Modifies the
#' `.remark-code, .remark-inline-code` classes. #' `.remark-code, .remark-inline-code` classes.
#' @param link_decoration Text decoration of links. Defaults to none. Modifies
#' the `a, a > code` elements. Accepts CSS
#' [text-decoration](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration)
#' property values.
#' @template theme_params #' @template theme_params
#' @template style-usage #' @template style-usage
#' @template style_mono_accent_inverse #' @template style_mono_accent_inverse
code_font_size = "0.9rem", code_font_size = "0.9rem",
code_font_url = xaringanthemer_font_default("code_font_url"), code_font_url = xaringanthemer_font_default("code_font_url"),
code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"),
link_decoration = "none",
colors = NULL, colors = NULL,
extra_css = NULL, extra_css = NULL,
extra_fonts = NULL, extra_fonts = NULL,

+ 5
- 0
R/style_mono_dark.R Parādīt failu

#' @param code_font_family_fallback Code Font Fallback. Defaults to #' @param code_font_family_fallback Code Font Fallback. Defaults to
#' `xaringanthemer_font_default("code_font_family_fallback")`. Modifies the #' `xaringanthemer_font_default("code_font_family_fallback")`. Modifies the
#' `.remark-code, .remark-inline-code` classes. #' `.remark-code, .remark-inline-code` classes.
#' @param link_decoration Text decoration of links. Defaults to none. Modifies
#' the `a, a > code` elements. Accepts CSS
#' [text-decoration](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration)
#' property values.
#' @template theme_params #' @template theme_params
#' @template style-usage #' @template style-usage
#' @template style_mono_dark #' @template style_mono_dark
code_font_size = "0.9rem", code_font_size = "0.9rem",
code_font_url = xaringanthemer_font_default("code_font_url"), code_font_url = xaringanthemer_font_default("code_font_url"),
code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"),
link_decoration = "none",
colors = NULL, colors = NULL,
extra_css = NULL, extra_css = NULL,
extra_fonts = NULL, extra_fonts = NULL,

+ 5
- 0
R/style_mono_light.R Parādīt failu

#' @param code_font_family_fallback Code Font Fallback. Defaults to #' @param code_font_family_fallback Code Font Fallback. Defaults to
#' `xaringanthemer_font_default("code_font_family_fallback")`. Modifies the #' `xaringanthemer_font_default("code_font_family_fallback")`. Modifies the
#' `.remark-code, .remark-inline-code` classes. #' `.remark-code, .remark-inline-code` classes.
#' @param link_decoration Text decoration of links. Defaults to none. Modifies
#' the `a, a > code` elements. Accepts CSS
#' [text-decoration](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration)
#' property values.
#' @template theme_params #' @template theme_params
#' @template style-usage #' @template style-usage
#' @template style_mono_light #' @template style_mono_light
code_font_size = "0.9rem", code_font_size = "0.9rem",
code_font_url = xaringanthemer_font_default("code_font_url"), code_font_url = xaringanthemer_font_default("code_font_url"),
code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"),
link_decoration = "none",
colors = NULL, colors = NULL,
extra_css = NULL, extra_css = NULL,
extra_fonts = NULL, extra_fonts = NULL,

+ 5
- 0
R/style_solarized_dark.R Parādīt failu

#' @param code_font_family_fallback Code Font Fallback. Defaults to #' @param code_font_family_fallback Code Font Fallback. Defaults to
#' `xaringanthemer_font_default("code_font_family_fallback")`. Modifies the #' `xaringanthemer_font_default("code_font_family_fallback")`. Modifies the
#' `.remark-code, .remark-inline-code` classes. #' `.remark-code, .remark-inline-code` classes.
#' @param link_decoration Text decoration of links. Defaults to none. Modifies
#' the `a, a > code` elements. Accepts CSS
#' [text-decoration](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration)
#' property values.
#' @template theme_params #' @template theme_params
#' @template style-usage #' @template style-usage
#' @template style_solarized_dark #' @template style_solarized_dark
code_font_size = "0.9rem", code_font_size = "0.9rem",
code_font_url = xaringanthemer_font_default("code_font_url"), code_font_url = xaringanthemer_font_default("code_font_url"),
code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"),
link_decoration = "none",
colors = NULL, colors = NULL,
extra_css = NULL, extra_css = NULL,
extra_fonts = NULL, extra_fonts = NULL,

+ 5
- 0
R/style_solarized_light.R Parādīt failu

#' @param code_font_family_fallback Code Font Fallback. Defaults to #' @param code_font_family_fallback Code Font Fallback. Defaults to
#' `xaringanthemer_font_default("code_font_family_fallback")`. Modifies the #' `xaringanthemer_font_default("code_font_family_fallback")`. Modifies the
#' `.remark-code, .remark-inline-code` classes. #' `.remark-code, .remark-inline-code` classes.
#' @param link_decoration Text decoration of links. Defaults to none. Modifies
#' the `a, a > code` elements. Accepts CSS
#' [text-decoration](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration)
#' property values.
#' @template theme_params #' @template theme_params
#' @template style-usage #' @template style-usage
#' @template style_solarized_light #' @template style_solarized_light
code_font_size = "0.9rem", code_font_size = "0.9rem",
code_font_url = xaringanthemer_font_default("code_font_url"), code_font_url = xaringanthemer_font_default("code_font_url"),
code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"),
link_decoration = "none",
colors = NULL, colors = NULL,
extra_css = NULL, extra_css = NULL,
extra_fonts = NULL, extra_fonts = NULL,

+ 5
- 0
R/style_xaringan.R Parādīt failu

#' @param code_font_family_fallback Code Font Fallback. Defaults to #' @param code_font_family_fallback Code Font Fallback. Defaults to
#' `xaringanthemer_font_default("code_font_family_fallback")`. Modifies the #' `xaringanthemer_font_default("code_font_family_fallback")`. Modifies the
#' `.remark-code, .remark-inline-code` classes. #' `.remark-code, .remark-inline-code` classes.
#' @param link_decoration Text decoration of links. Defaults to none. Modifies
#' the `a, a > code` elements. Accepts CSS
#' [text-decoration](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration)
#' property values.
#' @template theme_params #' @template theme_params
#' @template style-usage #' @template style-usage
#' @template style_xaringan #' @template style_xaringan
code_font_size = "0.9rem", code_font_size = "0.9rem",
code_font_url = xaringanthemer_font_default("code_font_url"), code_font_url = xaringanthemer_font_default("code_font_url"),
code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"),
link_decoration = "none",
colors = NULL, colors = NULL,
extra_css = NULL, extra_css = NULL,
extra_fonts = NULL, extra_fonts = NULL,

Binārs
R/sysdata.rda Parādīt failu


+ 3
- 1
data-raw/theme_template_variables.R Parādīt failu

, "code_font_size", "0.9rem", ".remark-inline", "Code Text Font Size", "--code-font-size" , "code_font_size", "0.9rem", ".remark-inline", "Code Text Font Size", "--code-font-size"
, "code_font_url", '{xaringanthemer_font_default("code_font_url")}', "@import url", "Code Font URL", NA_character_ , "code_font_url", '{xaringanthemer_font_default("code_font_url")}', "@import url", "Code Font URL", NA_character_
, "code_font_family_fallback", '{xaringanthemer_font_default("code_font_family_fallback")}', ".remark-code, .remark-inline-code", "Code Font Fallback", NA_character_ , "code_font_family_fallback", '{xaringanthemer_font_default("code_font_family_fallback")}', ".remark-code, .remark-inline-code", "Code Font Fallback", NA_character_
, "link_decoration", "none", "a, a > code", "Text decoration of links", NA_character_
) )


set_default <- function(tv, ..., set_var = "default") { set_default <- function(tv, ..., set_var = "default") {
text_slide_number_font_size = mdn_font_size, text_slide_number_font_size = mdn_font_size,
text_font_weight = mdn_font_weight, text_font_weight = mdn_font_weight,
header_font_weight = mdn_font_weight, header_font_weight = mdn_font_weight,
code_font_size = mdn_font_size
code_font_size = mdn_font_size,
link_decoration = "[text-decoration](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration)"
) )


template_mono_light <- tibble::tribble( template_mono_light <- tibble::tribble(

+ 1
- 1
inst/resources/template.css Parādīt failu

} }
a, a > code { a, a > code {
color: var(--link-color); color: var(--link-color);
text-decoration: none;
text-decoration: {{link_decoration}};
} }
.footnote { .footnote {
position: absolute;{{#footnote_color}} position: absolute;{{#footnote_color}}

+ 6
- 0
man/style_duo.Rd Parādīt failu

code_font_size = "0.9rem", code_font_size = "0.9rem",
code_font_url = xaringanthemer_font_default("code_font_url"), code_font_url = xaringanthemer_font_default("code_font_url"),
code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"),
link_decoration = "none",
colors = NULL, colors = NULL,
extra_css = NULL, extra_css = NULL,
extra_fonts = NULL, extra_fonts = NULL,
\code{xaringanthemer_font_default("code_font_family_fallback")}. Modifies the \code{xaringanthemer_font_default("code_font_family_fallback")}. Modifies the
\verb{.remark-code, .remark-inline-code} classes.} \verb{.remark-code, .remark-inline-code} classes.}


\item{link_decoration}{Text decoration of links. Defaults to none. Modifies
the \verb{a, a > code} elements. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration}{text-decoration}
property values.}

\item{colors}{A named vector of custom colors. The names of the colors \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. become CSS variables and classes that can be used within your slides.
For example, \code{colors = c(blue = "#bad4ed")} adds a CSS variable For example, \code{colors = c(blue = "#bad4ed")} adds a CSS variable

+ 6
- 0
man/style_duo_accent.Rd Parādīt failu

code_font_size = "0.9rem", code_font_size = "0.9rem",
code_font_url = xaringanthemer_font_default("code_font_url"), code_font_url = xaringanthemer_font_default("code_font_url"),
code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"),
link_decoration = "none",
colors = NULL, colors = NULL,
extra_css = NULL, extra_css = NULL,
extra_fonts = NULL, extra_fonts = NULL,
\code{xaringanthemer_font_default("code_font_family_fallback")}. Modifies the \code{xaringanthemer_font_default("code_font_family_fallback")}. Modifies the
\verb{.remark-code, .remark-inline-code} classes.} \verb{.remark-code, .remark-inline-code} classes.}


\item{link_decoration}{Text decoration of links. Defaults to none. Modifies
the \verb{a, a > code} elements. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration}{text-decoration}
property values.}

\item{colors}{A named vector of custom colors. The names of the colors \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. become CSS variables and classes that can be used within your slides.
For example, \code{colors = c(blue = "#bad4ed")} adds a CSS variable For example, \code{colors = c(blue = "#bad4ed")} adds a CSS variable

+ 6
- 0
man/style_duo_accent_inverse.Rd Parādīt failu

code_font_size = "0.9rem", code_font_size = "0.9rem",
code_font_url = xaringanthemer_font_default("code_font_url"), code_font_url = xaringanthemer_font_default("code_font_url"),
code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"),
link_decoration = "none",
colors = NULL, colors = NULL,
extra_css = NULL, extra_css = NULL,
extra_fonts = NULL, extra_fonts = NULL,
\code{xaringanthemer_font_default("code_font_family_fallback")}. Modifies the \code{xaringanthemer_font_default("code_font_family_fallback")}. Modifies the
\verb{.remark-code, .remark-inline-code} classes.} \verb{.remark-code, .remark-inline-code} classes.}


\item{link_decoration}{Text decoration of links. Defaults to none. Modifies
the \verb{a, a > code} elements. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration}{text-decoration}
property values.}

\item{colors}{A named vector of custom colors. The names of the colors \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. become CSS variables and classes that can be used within your slides.
For example, \code{colors = c(blue = "#bad4ed")} adds a CSS variable For example, \code{colors = c(blue = "#bad4ed")} adds a CSS variable

+ 6
- 0
man/style_mono_accent.Rd Parādīt failu

code_font_size = "0.9rem", code_font_size = "0.9rem",
code_font_url = xaringanthemer_font_default("code_font_url"), code_font_url = xaringanthemer_font_default("code_font_url"),
code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"),
link_decoration = "none",
colors = NULL, colors = NULL,
extra_css = NULL, extra_css = NULL,
extra_fonts = NULL, extra_fonts = NULL,
\code{xaringanthemer_font_default("code_font_family_fallback")}. Modifies the \code{xaringanthemer_font_default("code_font_family_fallback")}. Modifies the
\verb{.remark-code, .remark-inline-code} classes.} \verb{.remark-code, .remark-inline-code} classes.}


\item{link_decoration}{Text decoration of links. Defaults to none. Modifies
the \verb{a, a > code} elements. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration}{text-decoration}
property values.}

\item{colors}{A named vector of custom colors. The names of the colors \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. become CSS variables and classes that can be used within your slides.
For example, \code{colors = c(blue = "#bad4ed")} adds a CSS variable For example, \code{colors = c(blue = "#bad4ed")} adds a CSS variable

+ 6
- 0
man/style_mono_accent_inverse.Rd Parādīt failu

code_font_size = "0.9rem", code_font_size = "0.9rem",
code_font_url = xaringanthemer_font_default("code_font_url"), code_font_url = xaringanthemer_font_default("code_font_url"),
code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"),
link_decoration = "none",
colors = NULL, colors = NULL,
extra_css = NULL, extra_css = NULL,
extra_fonts = NULL, extra_fonts = NULL,
\code{xaringanthemer_font_default("code_font_family_fallback")}. Modifies the \code{xaringanthemer_font_default("code_font_family_fallback")}. Modifies the
\verb{.remark-code, .remark-inline-code} classes.} \verb{.remark-code, .remark-inline-code} classes.}


\item{link_decoration}{Text decoration of links. Defaults to none. Modifies
the \verb{a, a > code} elements. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration}{text-decoration}
property values.}

\item{colors}{A named vector of custom colors. The names of the colors \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. become CSS variables and classes that can be used within your slides.
For example, \code{colors = c(blue = "#bad4ed")} adds a CSS variable For example, \code{colors = c(blue = "#bad4ed")} adds a CSS variable

+ 6
- 0
man/style_mono_dark.Rd Parādīt failu

code_font_size = "0.9rem", code_font_size = "0.9rem",
code_font_url = xaringanthemer_font_default("code_font_url"), code_font_url = xaringanthemer_font_default("code_font_url"),
code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"),
link_decoration = "none",
colors = NULL, colors = NULL,
extra_css = NULL, extra_css = NULL,
extra_fonts = NULL, extra_fonts = NULL,
\code{xaringanthemer_font_default("code_font_family_fallback")}. Modifies the \code{xaringanthemer_font_default("code_font_family_fallback")}. Modifies the
\verb{.remark-code, .remark-inline-code} classes.} \verb{.remark-code, .remark-inline-code} classes.}


\item{link_decoration}{Text decoration of links. Defaults to none. Modifies
the \verb{a, a > code} elements. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration}{text-decoration}
property values.}

\item{colors}{A named vector of custom colors. The names of the colors \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. become CSS variables and classes that can be used within your slides.
For example, \code{colors = c(blue = "#bad4ed")} adds a CSS variable For example, \code{colors = c(blue = "#bad4ed")} adds a CSS variable

+ 6
- 0
man/style_mono_light.Rd Parādīt failu

code_font_size = "0.9rem", code_font_size = "0.9rem",
code_font_url = xaringanthemer_font_default("code_font_url"), code_font_url = xaringanthemer_font_default("code_font_url"),
code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"),
link_decoration = "none",
colors = NULL, colors = NULL,
extra_css = NULL, extra_css = NULL,
extra_fonts = NULL, extra_fonts = NULL,
\code{xaringanthemer_font_default("code_font_family_fallback")}. Modifies the \code{xaringanthemer_font_default("code_font_family_fallback")}. Modifies the
\verb{.remark-code, .remark-inline-code} classes.} \verb{.remark-code, .remark-inline-code} classes.}


\item{link_decoration}{Text decoration of links. Defaults to none. Modifies
the \verb{a, a > code} elements. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration}{text-decoration}
property values.}

\item{colors}{A named vector of custom colors. The names of the colors \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. become CSS variables and classes that can be used within your slides.
For example, \code{colors = c(blue = "#bad4ed")} adds a CSS variable For example, \code{colors = c(blue = "#bad4ed")} adds a CSS variable

+ 6
- 0
man/style_solarized_dark.Rd Parādīt failu

code_font_size = "0.9rem", code_font_size = "0.9rem",
code_font_url = xaringanthemer_font_default("code_font_url"), code_font_url = xaringanthemer_font_default("code_font_url"),
code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"),
link_decoration = "none",
colors = NULL, colors = NULL,
extra_css = NULL, extra_css = NULL,
extra_fonts = NULL, extra_fonts = NULL,
\code{xaringanthemer_font_default("code_font_family_fallback")}. Modifies the \code{xaringanthemer_font_default("code_font_family_fallback")}. Modifies the
\verb{.remark-code, .remark-inline-code} classes.} \verb{.remark-code, .remark-inline-code} classes.}


\item{link_decoration}{Text decoration of links. Defaults to none. Modifies
the \verb{a, a > code} elements. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration}{text-decoration}
property values.}

\item{colors}{A named vector of custom colors. The names of the colors \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. become CSS variables and classes that can be used within your slides.
For example, \code{colors = c(blue = "#bad4ed")} adds a CSS variable For example, \code{colors = c(blue = "#bad4ed")} adds a CSS variable

+ 6
- 0
man/style_solarized_light.Rd Parādīt failu

code_font_size = "0.9rem", code_font_size = "0.9rem",
code_font_url = xaringanthemer_font_default("code_font_url"), code_font_url = xaringanthemer_font_default("code_font_url"),
code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"),
link_decoration = "none",
colors = NULL, colors = NULL,
extra_css = NULL, extra_css = NULL,
extra_fonts = NULL, extra_fonts = NULL,
\code{xaringanthemer_font_default("code_font_family_fallback")}. Modifies the \code{xaringanthemer_font_default("code_font_family_fallback")}. Modifies the
\verb{.remark-code, .remark-inline-code} classes.} \verb{.remark-code, .remark-inline-code} classes.}


\item{link_decoration}{Text decoration of links. Defaults to none. Modifies
the \verb{a, a > code} elements. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration}{text-decoration}
property values.}

\item{colors}{A named vector of custom colors. The names of the colors \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. become CSS variables and classes that can be used within your slides.
For example, \code{colors = c(blue = "#bad4ed")} adds a CSS variable For example, \code{colors = c(blue = "#bad4ed")} adds a CSS variable

+ 6
- 0
man/style_xaringan.Rd Parādīt failu

code_font_size = "0.9rem", code_font_size = "0.9rem",
code_font_url = xaringanthemer_font_default("code_font_url"), code_font_url = xaringanthemer_font_default("code_font_url"),
code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"),
link_decoration = "none",
colors = NULL, colors = NULL,
extra_css = NULL, extra_css = NULL,
extra_fonts = NULL, extra_fonts = NULL,
\code{xaringanthemer_font_default("code_font_family_fallback")}. Modifies the \code{xaringanthemer_font_default("code_font_family_fallback")}. Modifies the
\verb{.remark-code, .remark-inline-code} classes.} \verb{.remark-code, .remark-inline-code} classes.}


\item{link_decoration}{Text decoration of links. Defaults to none. Modifies
the \verb{a, a > code} elements. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration}{text-decoration}
property values.}

\item{colors}{A named vector of custom colors. The names of the colors \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. become CSS variables and classes that can be used within your slides.
For example, \code{colors = c(blue = "#bad4ed")} adds a CSS variable For example, \code{colors = c(blue = "#bad4ed")} adds a CSS variable

Notiek ielāde…
Atcelt
Saglabāt