- google_font() not google_fonts() - make ranges code to avoide linktags/v0.1.1
| #' @title Add alpha to hex color | #' @title Add alpha to hex color | ||||
| #' @description Applies alpha (or opacity) to a color in hexadecimal form by | #' @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. | #' and appending to the hex color. | ||||
| #' @inheritParams lighten_darken_color | #' @inheritParams lighten_darken_color | ||||
| #' @param opacity Desired opacity of the output color | #' @param opacity Desired opacity of the output color |
| #' \code{list(".class-id" = list("css-property" = "value"))} | #' \code{list(".class-id" = list("css-property" = "value"))} | ||||
| #' @param extra_fonts A list of additional fonts to import, each list element | #' @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 | #' can be either a URL as a character string or a call to | ||||
| #' \code{\link{google_fonts}()} | |||||
| #' \code{\link{google_font}()} |
| } | } | ||||
| \description{ | \description{ | ||||
| Applies alpha (or opacity) to a color in hexadecimal form by | 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. | and appending to the hex color. | ||||
| } | } |
| \item{extra_fonts}{A list of additional fonts to import, each list element | \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 | 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"} | \item{outfile}{Customized xaringan CSS output file name, default is "xaringan-themer.css"} | ||||
| } | } |
| \item{extra_fonts}{A list of additional fonts to import, each list element | \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 | 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"} | \item{outfile}{Customized xaringan CSS output file name, default is "xaringan-themer.css"} | ||||
| } | } |
| \item{extra_fonts}{A list of additional fonts to import, each list element | \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 | 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"} | \item{outfile}{Customized xaringan CSS output file name, default is "xaringan-themer.css"} | ||||
| } | } |
| \item{extra_fonts}{A list of additional fonts to import, each list element | \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 | 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"} | \item{outfile}{Customized xaringan CSS output file name, default is "xaringan-themer.css"} | ||||
| } | } |
| \item{extra_fonts}{A list of additional fonts to import, each list element | \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 | 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"} | \item{outfile}{Customized xaringan CSS output file name, default is "xaringan-themer.css"} | ||||
| } | } |
| \item{extra_fonts}{A list of additional fonts to import, each list element | \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 | 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"} | \item{outfile}{Customized xaringan CSS output file name, default is "xaringan-themer.css"} | ||||
| } | } |
| \item{extra_fonts}{A list of additional fonts to import, each list element | \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 | 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"} | \item{outfile}{Customized xaringan CSS output file name, default is "xaringan-themer.css"} | ||||
| } | } |
| \item{extra_fonts}{A list of additional fonts to import, each list element | \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 | 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"} | \item{outfile}{Customized xaringan CSS output file name, default is "xaringan-themer.css"} | ||||
| } | } |
| \item{extra_fonts}{A list of additional fonts to import, each list element | \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 | 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"} | \item{outfile}{Customized xaringan CSS output file name, default is "xaringan-themer.css"} | ||||
| } | } |
| \item{extra_fonts}{A list of additional fonts to import, each list element | \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 | 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"} | \item{outfile}{Customized xaringan CSS output file name, default is "xaringan-themer.css"} | ||||
| } | } |