- google_font() not google_fonts() - make ranges code to avoide linktags/v0.1.1
| @@ -28,7 +28,7 @@ darken_color <- function(color_hex, strength = 0.8) { | |||
| #' @title Add alpha to hex color | |||
| #' @description Applies alpha (or opacity) to a color in hexadecimal form by | |||
| #' converting opacity in the [0, 1] range to hex in the [0, 255] range | |||
| #' converting opacity in the `[0, 1]` range to hex in the `[0, 255]` range | |||
| #' and appending to the hex color. | |||
| #' @inheritParams lighten_darken_color | |||
| #' @param opacity Desired opacity of the output color | |||
| @@ -3,4 +3,4 @@ | |||
| #' \code{list(".class-id" = list("css-property" = "value"))} | |||
| #' @param extra_fonts A list of additional fonts to import, each list element | |||
| #' can be either a URL as a character string or a call to | |||
| #' \code{\link{google_fonts}()} | |||
| #' \code{\link{google_font}()} | |||
| @@ -13,6 +13,6 @@ apply_alpha(color_hex, opacity = 0.5) | |||
| } | |||
| \description{ | |||
| Applies alpha (or opacity) to a color in hexadecimal form by | |||
| converting opacity in the \link{0, 1} range to hex in the \link{0, 255} range | |||
| converting opacity in the \code{[0, 1]} range to hex in the \code{[0, 255]} range | |||
| and appending to the hex color. | |||
| } | |||
| @@ -156,7 +156,7 @@ of CSS property-value pairs, i.e. | |||
| \item{extra_fonts}{A list of additional fonts to import, each list element | |||
| can be either a URL as a character string or a call to | |||
| \code{\link{google_fonts}()}} | |||
| \code{\link{google_font}()}} | |||
| \item{outfile}{Customized xaringan CSS output file name, default is "xaringan-themer.css"} | |||
| } | |||
| @@ -164,7 +164,7 @@ of CSS property-value pairs, i.e. | |||
| \item{extra_fonts}{A list of additional fonts to import, each list element | |||
| can be either a URL as a character string or a call to | |||
| \code{\link{google_fonts}()}} | |||
| \code{\link{google_font}()}} | |||
| \item{outfile}{Customized xaringan CSS output file name, default is "xaringan-themer.css"} | |||
| } | |||
| @@ -165,7 +165,7 @@ of CSS property-value pairs, i.e. | |||
| \item{extra_fonts}{A list of additional fonts to import, each list element | |||
| can be either a URL as a character string or a call to | |||
| \code{\link{google_fonts}()}} | |||
| \code{\link{google_font}()}} | |||
| \item{outfile}{Customized xaringan CSS output file name, default is "xaringan-themer.css"} | |||
| } | |||
| @@ -157,7 +157,7 @@ of CSS property-value pairs, i.e. | |||
| \item{extra_fonts}{A list of additional fonts to import, each list element | |||
| can be either a URL as a character string or a call to | |||
| \code{\link{google_fonts}()}} | |||
| \code{\link{google_font}()}} | |||
| \item{outfile}{Customized xaringan CSS output file name, default is "xaringan-themer.css"} | |||
| } | |||
| @@ -157,7 +157,7 @@ of CSS property-value pairs, i.e. | |||
| \item{extra_fonts}{A list of additional fonts to import, each list element | |||
| can be either a URL as a character string or a call to | |||
| \code{\link{google_fonts}()}} | |||
| \code{\link{google_font}()}} | |||
| \item{outfile}{Customized xaringan CSS output file name, default is "xaringan-themer.css"} | |||
| } | |||
| @@ -158,7 +158,7 @@ of CSS property-value pairs, i.e. | |||
| \item{extra_fonts}{A list of additional fonts to import, each list element | |||
| can be either a URL as a character string or a call to | |||
| \code{\link{google_fonts}()}} | |||
| \code{\link{google_font}()}} | |||
| \item{outfile}{Customized xaringan CSS output file name, default is "xaringan-themer.css"} | |||
| } | |||
| @@ -158,7 +158,7 @@ of CSS property-value pairs, i.e. | |||
| \item{extra_fonts}{A list of additional fonts to import, each list element | |||
| can be either a URL as a character string or a call to | |||
| \code{\link{google_fonts}()}} | |||
| \code{\link{google_font}()}} | |||
| \item{outfile}{Customized xaringan CSS output file name, default is "xaringan-themer.css"} | |||
| } | |||
| @@ -149,7 +149,7 @@ of CSS property-value pairs, i.e. | |||
| \item{extra_fonts}{A list of additional fonts to import, each list element | |||
| can be either a URL as a character string or a call to | |||
| \code{\link{google_fonts}()}} | |||
| \code{\link{google_font}()}} | |||
| \item{outfile}{Customized xaringan CSS output file name, default is "xaringan-themer.css"} | |||
| } | |||
| @@ -149,7 +149,7 @@ of CSS property-value pairs, i.e. | |||
| \item{extra_fonts}{A list of additional fonts to import, each list element | |||
| can be either a URL as a character string or a call to | |||
| \code{\link{google_fonts}()}} | |||
| \code{\link{google_font}()}} | |||
| \item{outfile}{Customized xaringan CSS output file name, default is "xaringan-themer.css"} | |||
| } | |||
| @@ -147,7 +147,7 @@ of CSS property-value pairs, i.e. | |||
| \item{extra_fonts}{A list of additional fonts to import, each list element | |||
| can be either a URL as a character string or a call to | |||
| \code{\link{google_fonts}()}} | |||
| \code{\link{google_font}()}} | |||
| \item{outfile}{Customized xaringan CSS output file name, default is "xaringan-themer.css"} | |||
| } | |||