Bladeren bron

spellcheck

tags/v0.3.0
Garrick Aden-Buie 6 jaren geleden
bovenliggende
commit
9e27e3522a
26 gewijzigde bestanden met toevoegingen van 29 en 29 verwijderingen
  1. +1
    -1
      R/ggplot2.R
  2. +1
    -1
      R/style_duo.R
  3. +1
    -1
      R/style_duo_accent.R
  4. +1
    -1
      R/style_duo_accent_inverse.R
  5. +1
    -1
      R/style_font_default.R
  6. +1
    -1
      R/style_mono_accent.R
  7. +1
    -1
      R/style_mono_accent_inverse.R
  8. +1
    -1
      R/style_mono_dark.R
  9. +1
    -1
      R/style_mono_light.R
  10. +1
    -1
      R/style_solarized_dark.R
  11. +1
    -1
      R/style_solarized_light.R
  12. +1
    -1
      R/style_xaringan.R
  13. BIN
      R/sysdata.rda
  14. +1
    -1
      data-raw/theme_template_variables.R
  15. +1
    -1
      man/scale_xaringan.Rd
  16. +1
    -1
      man/style_duo.Rd
  17. +1
    -1
      man/style_duo_accent.Rd
  18. +1
    -1
      man/style_duo_accent_inverse.Rd
  19. +1
    -1
      man/style_mono_accent.Rd
  20. +1
    -1
      man/style_mono_accent_inverse.Rd
  21. +1
    -1
      man/style_mono_dark.Rd
  22. +1
    -1
      man/style_mono_light.Rd
  23. +1
    -1
      man/style_solarized_dark.Rd
  24. +1
    -1
      man/style_solarized_light.Rd
  25. +2
    -2
      man/style_xaringan.Rd
  26. +4
    -4
      vignettes/ggplot2-themes.Rmd

+ 1
- 1
R/ggplot2.R Bestand weergeven



# Color Scales ------------------------------------------------------------ # Color Scales ------------------------------------------------------------


#' Xaringan Themer ggplot2 Scales
#' Themed ggplot2 Scales
#' #'
#' @description #' @description
#' #'

+ 1
- 1
R/style_duo.R Bestand weergeven

#' `.remark-slide-content` class. #' `.remark-slide-content` class.
#' @param background_size Background image size, requires `background_image` to #' @param background_size Background image size, requires `background_image` to
#' be set. If `background_image` is set, `background_size` will default 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
#' `cover` so the background fills the screen. If both `background_image` and
#' `background_position` are set, will default to 100 percent. Defaults to #' `background_position` are set, will default to 100 percent. Defaults to
#' `NULL`. Modifies the `.remark-slide-content` class. Accepts CSS #' `NULL`. Modifies the `.remark-slide-content` class. Accepts CSS
#' [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size) #' [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)

+ 1
- 1
R/style_duo_accent.R Bestand weergeven

#' `.remark-slide-content` class. #' `.remark-slide-content` class.
#' @param background_size Background image size, requires `background_image` to #' @param background_size Background image size, requires `background_image` to
#' be set. If `background_image` is set, `background_size` will default 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
#' `cover` so the background fills the screen. If both `background_image` and
#' `background_position` are set, will default to 100 percent. Defaults to #' `background_position` are set, will default to 100 percent. Defaults to
#' `NULL`. Modifies the `.remark-slide-content` class. Accepts CSS #' `NULL`. Modifies the `.remark-slide-content` class. Accepts CSS
#' [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size) #' [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)

+ 1
- 1
R/style_duo_accent_inverse.R Bestand weergeven

#' `.remark-slide-content` class. #' `.remark-slide-content` class.
#' @param background_size Background image size, requires `background_image` to #' @param background_size Background image size, requires `background_image` to
#' be set. If `background_image` is set, `background_size` will default 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
#' `cover` so the background fills the screen. If both `background_image` and
#' `background_position` are set, will default to 100 percent. Defaults to #' `background_position` are set, will default to 100 percent. Defaults to
#' `NULL`. Modifies the `.remark-slide-content` class. Accepts CSS #' `NULL`. Modifies the `.remark-slide-content` class. Accepts CSS
#' [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size) #' [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)

+ 1
- 1
R/style_font_default.R Bestand weergeven

#' @describeIn style_xaringan Default values for font family, wieght, URLs and
#' @describeIn style_xaringan Default values for font family, weight, URLs and
#' font fallbacks. #' font fallbacks.
#' @param font_arg A font argument from the \pkg{xaringanthemer} `style_` #' @param font_arg A font argument from the \pkg{xaringanthemer} `style_`
#' function family. #' function family.

+ 1
- 1
R/style_mono_accent.R Bestand weergeven

#' `.remark-slide-content` class. #' `.remark-slide-content` class.
#' @param background_size Background image size, requires `background_image` to #' @param background_size Background image size, requires `background_image` to
#' be set. If `background_image` is set, `background_size` will default 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
#' `cover` so the background fills the screen. If both `background_image` and
#' `background_position` are set, will default to 100 percent. Defaults to #' `background_position` are set, will default to 100 percent. Defaults to
#' `NULL`. Modifies the `.remark-slide-content` class. Accepts CSS #' `NULL`. Modifies the `.remark-slide-content` class. Accepts CSS
#' [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size) #' [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)

+ 1
- 1
R/style_mono_accent_inverse.R Bestand weergeven

#' `.remark-slide-content` class. #' `.remark-slide-content` class.
#' @param background_size Background image size, requires `background_image` to #' @param background_size Background image size, requires `background_image` to
#' be set. If `background_image` is set, `background_size` will default 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
#' `cover` so the background fills the screen. If both `background_image` and
#' `background_position` are set, will default to 100 percent. Defaults to #' `background_position` are set, will default to 100 percent. Defaults to
#' `NULL`. Modifies the `.remark-slide-content` class. Accepts CSS #' `NULL`. Modifies the `.remark-slide-content` class. Accepts CSS
#' [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size) #' [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)

+ 1
- 1
R/style_mono_dark.R Bestand weergeven

#' `.remark-slide-content` class. #' `.remark-slide-content` class.
#' @param background_size Background image size, requires `background_image` to #' @param background_size Background image size, requires `background_image` to
#' be set. If `background_image` is set, `background_size` will default 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
#' `cover` so the background fills the screen. If both `background_image` and
#' `background_position` are set, will default to 100 percent. Defaults to #' `background_position` are set, will default to 100 percent. Defaults to
#' `NULL`. Modifies the `.remark-slide-content` class. Accepts CSS #' `NULL`. Modifies the `.remark-slide-content` class. Accepts CSS
#' [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size) #' [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)

+ 1
- 1
R/style_mono_light.R Bestand weergeven

#' `.remark-slide-content` class. #' `.remark-slide-content` class.
#' @param background_size Background image size, requires `background_image` to #' @param background_size Background image size, requires `background_image` to
#' be set. If `background_image` is set, `background_size` will default 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
#' `cover` so the background fills the screen. If both `background_image` and
#' `background_position` are set, will default to 100 percent. Defaults to #' `background_position` are set, will default to 100 percent. Defaults to
#' `NULL`. Modifies the `.remark-slide-content` class. Accepts CSS #' `NULL`. Modifies the `.remark-slide-content` class. Accepts CSS
#' [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size) #' [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)

+ 1
- 1
R/style_solarized_dark.R Bestand weergeven

#' `.remark-slide-content` class. #' `.remark-slide-content` class.
#' @param background_size Background image size, requires `background_image` to #' @param background_size Background image size, requires `background_image` to
#' be set. If `background_image` is set, `background_size` will default 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
#' `cover` so the background fills the screen. If both `background_image` and
#' `background_position` are set, will default to 100 percent. Defaults to #' `background_position` are set, will default to 100 percent. Defaults to
#' `NULL`. Modifies the `.remark-slide-content` class. Accepts CSS #' `NULL`. Modifies the `.remark-slide-content` class. Accepts CSS
#' [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size) #' [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)

+ 1
- 1
R/style_solarized_light.R Bestand weergeven

#' `.remark-slide-content` class. #' `.remark-slide-content` class.
#' @param background_size Background image size, requires `background_image` to #' @param background_size Background image size, requires `background_image` to
#' be set. If `background_image` is set, `background_size` will default 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
#' `cover` so the background fills the screen. If both `background_image` and
#' `background_position` are set, will default to 100 percent. Defaults to #' `background_position` are set, will default to 100 percent. Defaults to
#' `NULL`. Modifies the `.remark-slide-content` class. Accepts CSS #' `NULL`. Modifies the `.remark-slide-content` class. Accepts CSS
#' [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size) #' [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)

+ 1
- 1
R/style_xaringan.R Bestand weergeven

#' `.remark-slide-content` class. #' `.remark-slide-content` class.
#' @param background_size Background image size, requires `background_image` to #' @param background_size Background image size, requires `background_image` to
#' be set. If `background_image` is set, `background_size` will default 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
#' `cover` so the background fills the screen. If both `background_image` and
#' `background_position` are set, will default to 100 percent. Defaults to #' `background_position` are set, will default to 100 percent. Defaults to
#' `NULL`. Modifies the `.remark-slide-content` class. Accepts CSS #' `NULL`. Modifies the `.remark-slide-content` class. Accepts CSS
#' [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size) #' [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)

BIN
R/sysdata.rda Bestand weergeven


+ 1
- 1
data-raw/theme_template_variables.R Bestand weergeven

, "text_slide_number_color", "{inverse_background_color}", ".remark-slide-number", "Slide Number Color", NA_character_ , "text_slide_number_color", "{inverse_background_color}", ".remark-slide-number", "Slide Number Color", NA_character_
, "padding", "16px 64px 16px 64px", ".remark-slide-content", "Slide Padding in `top right [bottom left]` format", NA_character_ , "padding", "16px 64px 16px 64px", ".remark-slide-content", "Slide Padding in `top right [bottom left]` format", NA_character_
, "background_image", "{NULL}", ".remark-slide-content", "Background image applied to each *and every* slide. Set `title_slide_background_image = \"none\"` to remove the background image from the title slide", NA_character_ , "background_image", "{NULL}", ".remark-slide-content", "Background image applied to each *and every* slide. Set `title_slide_background_image = \"none\"` to remove the background image from the title slide", NA_character_
, "background_size", "{NULL}", ".remark-slide-content", "Background image size, requires `background_image` to be set. If `background_image` is set, `background_size` will default to `cover` so the backround fills the screen. If both `background_image` and `background_position` are set, will default to 100 percent", NA_character_
, "background_size", "{NULL}", ".remark-slide-content", "Background image size, requires `background_image` to be set. If `background_image` is set, `background_size` will default to `cover` so the background fills the screen. If both `background_image` and `background_position` are set, will default to 100 percent", NA_character_
, "background_position", "{NULL}", ".remark-slide-content", "Background image position, requires `background_image` to be set, and it is recommended to adjust `background_size`", NA_character_ , "background_position", "{NULL}", ".remark-slide-content", "Background image position, requires `background_image` to be set, and it is recommended to adjust `background_size`", NA_character_
, "code_highlight_color", "rgba(255,255,0,0.5)", ".remark-code-line-highlighted", "Code Line Highlight", "--code-highlight-color" , "code_highlight_color", "rgba(255,255,0,0.5)", ".remark-code-line-highlighted", "Code Line Highlight", "--code-highlight-color"
, "code_inline_color", "#000", ".remark-inline-code", "Inline Code Color", NA_character_ , "code_inline_color", "#000", ".remark-inline-code", "Inline Code Color", NA_character_

+ 1
- 1
man/scale_xaringan.Rd Bestand weergeven

\alias{scale_xaringan_fill_continuous} \alias{scale_xaringan_fill_continuous}
\alias{scale_xaringan_color_continuous} \alias{scale_xaringan_color_continuous}
\alias{scale_xaringan_colour_continuous} \alias{scale_xaringan_colour_continuous}
\title{Xaringan Themer ggplot2 Scales}
\title{Themed ggplot2 Scales}
\usage{ \usage{
scale_xaringan_discrete( scale_xaringan_discrete(
aes_type = c("color", "colour", "fill"), aes_type = c("color", "colour", "fill"),

+ 1
- 1
man/style_duo.Rd Bestand weergeven



\item{background_size}{Background image size, requires \code{background_image} to \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 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{cover} so the background fills the screen. If both \code{background_image} and
\code{background_position} are set, will default to 100 percent. Defaults to \code{background_position} are set, will default to 100 percent. Defaults to
\code{NULL}. Modifies the \code{.remark-slide-content} class. Accepts CSS \code{NULL}. Modifies the \code{.remark-slide-content} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size} \href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}

+ 1
- 1
man/style_duo_accent.Rd Bestand weergeven



\item{background_size}{Background image size, requires \code{background_image} to \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 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{cover} so the background fills the screen. If both \code{background_image} and
\code{background_position} are set, will default to 100 percent. Defaults to \code{background_position} are set, will default to 100 percent. Defaults to
\code{NULL}. Modifies the \code{.remark-slide-content} class. Accepts CSS \code{NULL}. Modifies the \code{.remark-slide-content} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size} \href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}

+ 1
- 1
man/style_duo_accent_inverse.Rd Bestand weergeven



\item{background_size}{Background image size, requires \code{background_image} to \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 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{cover} so the background fills the screen. If both \code{background_image} and
\code{background_position} are set, will default to 100 percent. Defaults to \code{background_position} are set, will default to 100 percent. Defaults to
\code{NULL}. Modifies the \code{.remark-slide-content} class. Accepts CSS \code{NULL}. Modifies the \code{.remark-slide-content} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size} \href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}

+ 1
- 1
man/style_mono_accent.Rd Bestand weergeven



\item{background_size}{Background image size, requires \code{background_image} to \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 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{cover} so the background fills the screen. If both \code{background_image} and
\code{background_position} are set, will default to 100 percent. Defaults to \code{background_position} are set, will default to 100 percent. Defaults to
\code{NULL}. Modifies the \code{.remark-slide-content} class. Accepts CSS \code{NULL}. Modifies the \code{.remark-slide-content} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size} \href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}

+ 1
- 1
man/style_mono_accent_inverse.Rd Bestand weergeven



\item{background_size}{Background image size, requires \code{background_image} to \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 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{cover} so the background fills the screen. If both \code{background_image} and
\code{background_position} are set, will default to 100 percent. Defaults to \code{background_position} are set, will default to 100 percent. Defaults to
\code{NULL}. Modifies the \code{.remark-slide-content} class. Accepts CSS \code{NULL}. Modifies the \code{.remark-slide-content} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size} \href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}

+ 1
- 1
man/style_mono_dark.Rd Bestand weergeven



\item{background_size}{Background image size, requires \code{background_image} to \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 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{cover} so the background fills the screen. If both \code{background_image} and
\code{background_position} are set, will default to 100 percent. Defaults to \code{background_position} are set, will default to 100 percent. Defaults to
\code{NULL}. Modifies the \code{.remark-slide-content} class. Accepts CSS \code{NULL}. Modifies the \code{.remark-slide-content} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size} \href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}

+ 1
- 1
man/style_mono_light.Rd Bestand weergeven



\item{background_size}{Background image size, requires \code{background_image} to \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 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{cover} so the background fills the screen. If both \code{background_image} and
\code{background_position} are set, will default to 100 percent. Defaults to \code{background_position} are set, will default to 100 percent. Defaults to
\code{NULL}. Modifies the \code{.remark-slide-content} class. Accepts CSS \code{NULL}. Modifies the \code{.remark-slide-content} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size} \href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}

+ 1
- 1
man/style_solarized_dark.Rd Bestand weergeven



\item{background_size}{Background image size, requires \code{background_image} to \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 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{cover} so the background fills the screen. If both \code{background_image} and
\code{background_position} are set, will default to 100 percent. Defaults to \code{background_position} are set, will default to 100 percent. Defaults to
\code{NULL}. Modifies the \code{.remark-slide-content} class. Accepts CSS \code{NULL}. Modifies the \code{.remark-slide-content} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size} \href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}

+ 1
- 1
man/style_solarized_light.Rd Bestand weergeven



\item{background_size}{Background image size, requires \code{background_image} to \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 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{cover} so the background fills the screen. If both \code{background_image} and
\code{background_position} are set, will default to 100 percent. Defaults to \code{background_position} are set, will default to 100 percent. Defaults to
\code{NULL}. Modifies the \code{.remark-slide-content} class. Accepts CSS \code{NULL}. Modifies the \code{.remark-slide-content} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size} \href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}

+ 2
- 2
man/style_xaringan.Rd Bestand weergeven



\item{background_size}{Background image size, requires \code{background_image} to \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 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{cover} so the background fills the screen. If both \code{background_image} and
\code{background_position} are set, will default to 100 percent. Defaults to \code{background_position} are set, will default to 100 percent. Defaults to
\code{NULL}. Modifies the \code{.remark-slide-content} class. Accepts CSS \code{NULL}. Modifies the \code{.remark-slide-content} class. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size} \href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}
} }
\section{Functions}{ \section{Functions}{
\itemize{ \itemize{
\item \code{xaringanthemer_font_default}: Default values for font family, wieght, URLs and
\item \code{xaringanthemer_font_default}: Default values for font family, weight, URLs and
font fallbacks. font fallbacks.
}} }}



+ 4
- 4
vignettes/ggplot2-themes.Rmd Bestand weergeven



In these cases, `theme_xaringan()` will look for a CSS file In these cases, `theme_xaringan()` will look for a CSS file
written by **xaringanthemer** in your slides' directory written by **xaringanthemer** in your slides' directory
or in a subfolder under the same directory
or in a sub-folder under the same directory
that it can use to determine the colors and fonts used in your slides. that it can use to determine the colors and fonts used in your slides.


If you happen to have multiple slide themes If you happen to have multiple slide themes
- Invert the direction of the discrete scales with `direction = -1`. - Invert the direction of the discrete scales with `direction = -1`.


- Control the range of the continuous color scale used with `begin` and `end`. - Control the range of the continuous color scale used with `begin` and `end`.
You can also invert the direction of the continous color scale by setting
You can also invert the direction of the continuous color scale by setting
`begin = 1` and `end = 0`. `begin = 1` and `end = 0`.


## Fonts ## Fonts
I found a nice open source font called I found a nice open source font called
[Glacial Indifference](https://fontlibrary.org/en/font/glacial-indifference) [Glacial Indifference](https://fontlibrary.org/en/font/glacial-indifference)
by Alfredo Marco Pradil by Alfredo Marco Pradil
avilable at [fontlibrary.org](https://fontlibrary.org).
available at [fontlibrary.org](https://fontlibrary.org).
In my theme style function, In my theme style function,
I would use I would use




but sysfonts won't know where to find the TTF font files for this font. but sysfonts won't know where to find the TTF font files for this font.


To register the font with sysfont, we use `sysfonts::font_add()`,
To register the font with sysfonts, we use `sysfonts::font_add()`,
but first we need to download the font file — but first we need to download the font file —
the `sysfonts::font_add()` function requires the font file to be local. the `sysfonts::font_add()` function requires the font file to be local.



Laden…
Annuleren
Opslaan