| @@ -59,15 +59,7 @@ | |||
| #' @param code_font_size Code Text Font Size. Defaults to 0.9rem. Modifies the `.remark-inline` class. | |||
| #' @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. | |||
| #' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes. | |||
| #' @param colors A named vector of custom colors. The names of the colors | |||
| #' become CSS variables and classes that can be used within your slides. | |||
| #' For example, `colors = c(blue = "#bad4ed")` adds a CSS variable | |||
| #' `--blue`, a `.blue` CSS class that applies the color to the text or | |||
| #' foreground color, and a `.bg-blue` CSS class that applies the color | |||
| #' to the background. | |||
| #' @template extra_css | |||
| #' @param outfile Customized xaringan CSS output file name, default is "xaringan-themer.css" | |||
| #' @family themes | |||
| #' @template theme_params | |||
| #' @template style_duo | |||
| #' @family Duotone themes | |||
| #' @export | |||
| @@ -61,15 +61,7 @@ | |||
| #' @param code_font_size Code Text Font Size. Defaults to 0.9rem. Modifies the `.remark-inline` class. | |||
| #' @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. | |||
| #' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes. | |||
| #' @param colors A named vector of custom colors. The names of the colors | |||
| #' become CSS variables and classes that can be used within your slides. | |||
| #' For example, `colors = c(blue = "#bad4ed")` adds a CSS variable | |||
| #' `--blue`, a `.blue` CSS class that applies the color to the text or | |||
| #' foreground color, and a `.bg-blue` CSS class that applies the color | |||
| #' to the background. | |||
| #' @template extra_css | |||
| #' @param outfile Customized xaringan CSS output file name, default is "xaringan-themer.css" | |||
| #' @family themes | |||
| #' @template theme_params | |||
| #' @template style_duo_accent | |||
| #' @family Duotone themes | |||
| #' @export | |||
| @@ -61,15 +61,7 @@ | |||
| #' @param code_font_size Code Text Font Size. Defaults to 0.9rem. Modifies the `.remark-inline` class. | |||
| #' @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. | |||
| #' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes. | |||
| #' @param colors A named vector of custom colors. The names of the colors | |||
| #' become CSS variables and classes that can be used within your slides. | |||
| #' For example, `colors = c(blue = "#bad4ed")` adds a CSS variable | |||
| #' `--blue`, a `.blue` CSS class that applies the color to the text or | |||
| #' foreground color, and a `.bg-blue` CSS class that applies the color | |||
| #' to the background. | |||
| #' @template extra_css | |||
| #' @param outfile Customized xaringan CSS output file name, default is "xaringan-themer.css" | |||
| #' @family themes | |||
| #' @template theme_params | |||
| #' @template style_duo_accent_inverse | |||
| #' @family Duotone themes | |||
| #' @export | |||
| @@ -60,15 +60,7 @@ | |||
| #' @param code_font_size Code Text Font Size. Defaults to 0.9rem. Modifies the `.remark-inline` class. | |||
| #' @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. | |||
| #' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes. | |||
| #' @param colors A named vector of custom colors. The names of the colors | |||
| #' become CSS variables and classes that can be used within your slides. | |||
| #' For example, `colors = c(blue = "#bad4ed")` adds a CSS variable | |||
| #' `--blue`, a `.blue` CSS class that applies the color to the text or | |||
| #' foreground color, and a `.bg-blue` CSS class that applies the color | |||
| #' to the background. | |||
| #' @template extra_css | |||
| #' @param outfile Customized xaringan CSS output file name, default is "xaringan-themer.css" | |||
| #' @family themes | |||
| #' @template theme_params | |||
| #' @template style_mono_accent | |||
| #' @family Monotone themes | |||
| #' @export | |||
| @@ -60,15 +60,7 @@ | |||
| #' @param code_font_size Code Text Font Size. Defaults to 0.9rem. Modifies the `.remark-inline` class. | |||
| #' @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. | |||
| #' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes. | |||
| #' @param colors A named vector of custom colors. The names of the colors | |||
| #' become CSS variables and classes that can be used within your slides. | |||
| #' For example, `colors = c(blue = "#bad4ed")` adds a CSS variable | |||
| #' `--blue`, a `.blue` CSS class that applies the color to the text or | |||
| #' foreground color, and a `.bg-blue` CSS class that applies the color | |||
| #' to the background. | |||
| #' @template extra_css | |||
| #' @param outfile Customized xaringan CSS output file name, default is "xaringan-themer.css" | |||
| #' @family themes | |||
| #' @template theme_params | |||
| #' @template style_mono_accent_inverse | |||
| #' @family Monotone themes | |||
| #' @export | |||
| @@ -60,15 +60,7 @@ | |||
| #' @param code_font_size Code Text Font Size. Defaults to 0.9rem. Modifies the `.remark-inline` class. | |||
| #' @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. | |||
| #' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes. | |||
| #' @param colors A named vector of custom colors. The names of the colors | |||
| #' become CSS variables and classes that can be used within your slides. | |||
| #' For example, `colors = c(blue = "#bad4ed")` adds a CSS variable | |||
| #' `--blue`, a `.blue` CSS class that applies the color to the text or | |||
| #' foreground color, and a `.bg-blue` CSS class that applies the color | |||
| #' to the background. | |||
| #' @template extra_css | |||
| #' @param outfile Customized xaringan CSS output file name, default is "xaringan-themer.css" | |||
| #' @family themes | |||
| #' @template theme_params | |||
| #' @template style_mono_dark | |||
| #' @family Monotone themes | |||
| #' @export | |||
| @@ -60,15 +60,7 @@ | |||
| #' @param code_font_size Code Text Font Size. Defaults to 0.9rem. Modifies the `.remark-inline` class. | |||
| #' @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. | |||
| #' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes. | |||
| #' @param colors A named vector of custom colors. The names of the colors | |||
| #' become CSS variables and classes that can be used within your slides. | |||
| #' For example, `colors = c(blue = "#bad4ed")` adds a CSS variable | |||
| #' `--blue`, a `.blue` CSS class that applies the color to the text or | |||
| #' foreground color, and a `.bg-blue` CSS class that applies the color | |||
| #' to the background. | |||
| #' @template extra_css | |||
| #' @param outfile Customized xaringan CSS output file name, default is "xaringan-themer.css" | |||
| #' @family themes | |||
| #' @template theme_params | |||
| #' @template style_mono_light | |||
| #' @family Monotone themes | |||
| #' @export | |||
| @@ -57,15 +57,7 @@ | |||
| #' @param code_font_size Code Text Font Size. Defaults to 0.9rem. Modifies the `.remark-inline` class. | |||
| #' @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. | |||
| #' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes. | |||
| #' @param colors A named vector of custom colors. The names of the colors | |||
| #' become CSS variables and classes that can be used within your slides. | |||
| #' For example, `colors = c(blue = "#bad4ed")` adds a CSS variable | |||
| #' `--blue`, a `.blue` CSS class that applies the color to the text or | |||
| #' foreground color, and a `.bg-blue` CSS class that applies the color | |||
| #' to the background. | |||
| #' @template extra_css | |||
| #' @param outfile Customized xaringan CSS output file name, default is "xaringan-themer.css" | |||
| #' @family themes | |||
| #' @template theme_params | |||
| #' @template style_solarized_dark | |||
| #' @family Solarized themes | |||
| #' @export | |||
| @@ -57,15 +57,7 @@ | |||
| #' @param code_font_size Code Text Font Size. Defaults to 0.9rem. Modifies the `.remark-inline` class. | |||
| #' @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. | |||
| #' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes. | |||
| #' @param colors A named vector of custom colors. The names of the colors | |||
| #' become CSS variables and classes that can be used within your slides. | |||
| #' For example, `colors = c(blue = "#bad4ed")` adds a CSS variable | |||
| #' `--blue`, a `.blue` CSS class that applies the color to the text or | |||
| #' foreground color, and a `.bg-blue` CSS class that applies the color | |||
| #' to the background. | |||
| #' @template extra_css | |||
| #' @param outfile Customized xaringan CSS output file name, default is "xaringan-themer.css" | |||
| #' @family themes | |||
| #' @template theme_params | |||
| #' @template style_solarized_light | |||
| #' @family Solarized themes | |||
| #' @export | |||
| @@ -57,15 +57,7 @@ | |||
| #' @param code_font_size Code Text Font Size. Defaults to 0.9rem. Modifies the `.remark-inline` class. | |||
| #' @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. | |||
| #' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes. | |||
| #' @param colors A named vector of custom colors. The names of the colors | |||
| #' become CSS variables and classes that can be used within your slides. | |||
| #' For example, `colors = c(blue = "#bad4ed")` adds a CSS variable | |||
| #' `--blue`, a `.blue` CSS class that applies the color to the text or | |||
| #' foreground color, and a `.bg-blue` CSS class that applies the color | |||
| #' to the background. | |||
| #' @template extra_css | |||
| #' @param outfile Customized xaringan CSS output file name, default is "xaringan-themer.css" | |||
| #' @family themes | |||
| #' @template theme_params | |||
| #' @template style_xaringan | |||
| #' @export | |||
| style_xaringan <- function( | |||
| @@ -25,15 +25,7 @@ setup_theme_function <- function( | |||
| "{element_description(element)}" | |||
| ) | |||
| ), | |||
| "#' @param colors A named vector of custom colors. The names of the colors", | |||
| "#' become CSS variables and classes that can be used within your slides.", | |||
| "#' For example, `colors = c(blue = \"#bad4ed\")` adds a CSS variable", | |||
| "#' `--blue`, a `.blue` CSS class that applies the color to the text or", | |||
| "#' foreground color, and a `.bg-blue` CSS class that applies the color", | |||
| "#' to the background.", | |||
| "#' @template extra_css", | |||
| "#' @param outfile Customized xaringan CSS output file name, default is \"xaringan-themer.css\"", | |||
| "#' @family themes", | |||
| "#' @template theme_params", | |||
| ..., | |||
| glue::glue("{f_name} <- function("), | |||
| as.character( | |||
| @@ -1,6 +0,0 @@ | |||
| #' @param extra_css A named list of CSS definitions each containing a named list | |||
| #' of CSS property-value pairs, i.e. | |||
| #' \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_font}()} | |||
| @@ -0,0 +1,14 @@ | |||
| #' @param extra_css A named list of CSS definitions each containing a named list | |||
| #' of CSS property-value pairs, i.e. | |||
| #' \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_font}()} | |||
| #' @param colors A named vector of custom colors. The names of the colors | |||
| #' become CSS variables and classes that can be used within your slides. | |||
| #' For example, `colors = c(blue = "#bad4ed")` adds a CSS variable | |||
| #' `--blue`, a `.blue` CSS class that applies the color to the text or | |||
| #' foreground color, and a `.bg-blue` CSS class that applies the color | |||
| #' to the background. | |||
| #' @param outfile Customized xaringan CSS output file name, default is "xaringan-themer.css" | |||
| #' @family themes | |||