| @@ -1,3 +1,9 @@ | |||
| # xaringanthemer 0.3.0.9000 | |||
| - Add `inverse_link_color` to control color of links on inverse slides (thanks @dmi3kno, #44) | |||
| - .pull-right[] now clears floats just for its immediate sibling | |||
| # xaringanthemer 0.3.0 | |||
| * Adds `theme_xaringan()`, a ggplot2 theme that automatically uses the colors | |||
| @@ -85,6 +85,11 @@ | |||
| #' classes. The value of this variable is also stored as a CSS variable that | |||
| #' can be referenced with `var(--inverse-header-color)` in any argument of a | |||
| #' style function or in custom CSS. | |||
| #' @param inverse_link_color Inverse Link Color. Defaults to `link_color`. | |||
| #' Modifies the `.inverse a, .inverse a > code` classes. The value of this | |||
| #' variable is also stored as a CSS variable that can be referenced with | |||
| #' `var(--inverse-link-color)` in any argument of a style function or in | |||
| #' custom CSS. | |||
| #' @param title_slide_text_color Title Slide Text Color. Defaults to | |||
| #' `secondary_color`. Modifies the `.title-slide` class. The value of this | |||
| #' variable is also stored as a CSS variable that can be referenced with | |||
| @@ -280,6 +285,7 @@ style_duo <- function( | |||
| inverse_text_color = primary_color, | |||
| inverse_text_shadow = FALSE, | |||
| inverse_header_color = primary_color, | |||
| inverse_link_color = link_color, | |||
| title_slide_text_color = secondary_color, | |||
| title_slide_background_color = primary_color, | |||
| title_slide_background_image = NULL, | |||
| @@ -97,6 +97,11 @@ | |||
| #' this variable is also stored as a CSS variable that can be referenced with | |||
| #' `var(--inverse-header-color)` in any argument of a style function or in | |||
| #' custom CSS. | |||
| #' @param inverse_link_color Inverse Link Color. Defaults to `link_color`. | |||
| #' Modifies the `.inverse a, .inverse a > code` classes. The value of this | |||
| #' variable is also stored as a CSS variable that can be referenced with | |||
| #' `var(--inverse-link-color)` in any argument of a style function or in | |||
| #' custom CSS. | |||
| #' @param title_slide_text_color Title Slide Text Color. Defaults to | |||
| #' `choose_dark_or_light(primary_color, black_color, white_color)`. Modifies | |||
| #' the `.title-slide` class. The value of this variable is also stored as a | |||
| @@ -294,6 +299,7 @@ style_duo_accent <- function( | |||
| inverse_text_color = choose_dark_or_light(secondary_color, black_color, white_color), | |||
| inverse_text_shadow = FALSE, | |||
| inverse_header_color = choose_dark_or_light(secondary_color, black_color, white_color), | |||
| inverse_link_color = link_color, | |||
| title_slide_text_color = choose_dark_or_light(primary_color, black_color, white_color), | |||
| title_slide_background_color = primary_color, | |||
| title_slide_background_image = NULL, | |||
| @@ -97,6 +97,11 @@ | |||
| #' this variable is also stored as a CSS variable that can be referenced with | |||
| #' `var(--inverse-header-color)` in any argument of a style function or in | |||
| #' custom CSS. | |||
| #' @param inverse_link_color Inverse Link Color. Defaults to `link_color`. | |||
| #' Modifies the `.inverse a, .inverse a > code` classes. The value of this | |||
| #' variable is also stored as a CSS variable that can be referenced with | |||
| #' `var(--inverse-link-color)` in any argument of a style function or in | |||
| #' custom CSS. | |||
| #' @param title_slide_text_color Title Slide Text Color. Defaults to | |||
| #' `choose_dark_or_light(primary_color, black_color, white_color)`. Modifies | |||
| #' the `.title-slide` class. The value of this variable is also stored as a | |||
| @@ -295,6 +300,7 @@ style_duo_accent_inverse <- function( | |||
| inverse_text_color = choose_dark_or_light(secondary_color, black_color, white_color), | |||
| inverse_text_shadow = FALSE, | |||
| inverse_header_color = choose_dark_or_light(secondary_color, black_color, white_color), | |||
| inverse_link_color = link_color, | |||
| title_slide_text_color = choose_dark_or_light(primary_color, black_color, white_color), | |||
| title_slide_background_color = primary_color, | |||
| title_slide_background_image = NULL, | |||
| @@ -88,6 +88,11 @@ | |||
| #' this variable is also stored as a CSS variable that can be referenced with | |||
| #' `var(--inverse-header-color)` in any argument of a style function or in | |||
| #' custom CSS. | |||
| #' @param inverse_link_color Inverse Link Color. Defaults to `link_color`. | |||
| #' Modifies the `.inverse a, .inverse a > code` classes. The value of this | |||
| #' variable is also stored as a CSS variable that can be referenced with | |||
| #' `var(--inverse-link-color)` in any argument of a style function or in | |||
| #' custom CSS. | |||
| #' @param title_slide_text_color Title Slide Text Color. Defaults to | |||
| #' `inverse_text_color`. Modifies the `.title-slide` class. The value of this | |||
| #' variable is also stored as a CSS variable that can be referenced with | |||
| @@ -284,6 +289,7 @@ style_mono_accent <- function( | |||
| inverse_text_color = white_color, | |||
| inverse_text_shadow = FALSE, | |||
| inverse_header_color = white_color, | |||
| inverse_link_color = link_color, | |||
| title_slide_text_color = inverse_text_color, | |||
| title_slide_background_color = inverse_background_color, | |||
| title_slide_background_image = NULL, | |||
| @@ -89,6 +89,11 @@ | |||
| #' this variable is also stored as a CSS variable that can be referenced with | |||
| #' `var(--inverse-header-color)` in any argument of a style function or in | |||
| #' custom CSS. | |||
| #' @param inverse_link_color Inverse Link Color. Defaults to `link_color`. | |||
| #' Modifies the `.inverse a, .inverse a > code` classes. The value of this | |||
| #' variable is also stored as a CSS variable that can be referenced with | |||
| #' `var(--inverse-link-color)` in any argument of a style function or in | |||
| #' custom CSS. | |||
| #' @param title_slide_text_color Title Slide Text Color. Defaults to | |||
| #' `inverse_text_color`. Modifies the `.title-slide` class. The value of this | |||
| #' variable is also stored as a CSS variable that can be referenced with | |||
| @@ -285,6 +290,7 @@ style_mono_accent_inverse <- function( | |||
| inverse_text_color = black_color, | |||
| inverse_text_shadow = FALSE, | |||
| inverse_header_color = black_color, | |||
| inverse_link_color = link_color, | |||
| title_slide_text_color = inverse_text_color, | |||
| title_slide_background_color = inverse_background_color, | |||
| title_slide_background_image = NULL, | |||
| @@ -90,6 +90,11 @@ | |||
| #' this variable is also stored as a CSS variable that can be referenced with | |||
| #' `var(--inverse-header-color)` in any argument of a style function or in | |||
| #' custom CSS. | |||
| #' @param inverse_link_color Inverse Link Color. Defaults to `link_color`. | |||
| #' Modifies the `.inverse a, .inverse a > code` classes. The value of this | |||
| #' variable is also stored as a CSS variable that can be referenced with | |||
| #' `var(--inverse-link-color)` in any argument of a style function or in | |||
| #' custom CSS. | |||
| #' @param title_slide_text_color Title Slide Text Color. Defaults to | |||
| #' `inverse_text_color`. Modifies the `.title-slide` class. The value of this | |||
| #' variable is also stored as a CSS variable that can be referenced with | |||
| @@ -286,6 +291,7 @@ style_mono_dark <- function( | |||
| inverse_text_color = black_color, | |||
| inverse_text_shadow = FALSE, | |||
| inverse_header_color = black_color, | |||
| inverse_link_color = link_color, | |||
| title_slide_text_color = inverse_text_color, | |||
| title_slide_background_color = inverse_background_color, | |||
| title_slide_background_image = NULL, | |||
| @@ -90,6 +90,11 @@ | |||
| #' this variable is also stored as a CSS variable that can be referenced with | |||
| #' `var(--inverse-header-color)` in any argument of a style function or in | |||
| #' custom CSS. | |||
| #' @param inverse_link_color Inverse Link Color. Defaults to `link_color`. | |||
| #' Modifies the `.inverse a, .inverse a > code` classes. The value of this | |||
| #' variable is also stored as a CSS variable that can be referenced with | |||
| #' `var(--inverse-link-color)` in any argument of a style function or in | |||
| #' custom CSS. | |||
| #' @param title_slide_text_color Title Slide Text Color. Defaults to | |||
| #' `inverse_text_color`. Modifies the `.title-slide` class. The value of this | |||
| #' variable is also stored as a CSS variable that can be referenced with | |||
| @@ -286,6 +291,7 @@ style_mono_light <- function( | |||
| inverse_text_color = white_color, | |||
| inverse_text_shadow = FALSE, | |||
| inverse_header_color = white_color, | |||
| inverse_link_color = link_color, | |||
| title_slide_text_color = inverse_text_color, | |||
| title_slide_background_color = inverse_background_color, | |||
| title_slide_background_image = NULL, | |||
| @@ -76,6 +76,11 @@ | |||
| #' classes. The value of this variable is also stored as a CSS variable that | |||
| #' can be referenced with `var(--inverse-header-color)` in any argument of a | |||
| #' style function or in custom CSS. | |||
| #' @param inverse_link_color Inverse Link Color. Defaults to `link_color`. | |||
| #' Modifies the `.inverse a, .inverse a > code` classes. The value of this | |||
| #' variable is also stored as a CSS variable that can be referenced with | |||
| #' `var(--inverse-link-color)` in any argument of a style function or in | |||
| #' custom CSS. | |||
| #' @param title_slide_text_color Title Slide Text Color. Defaults to | |||
| #' `inverse_text_color`. Modifies the `.title-slide` class. The value of this | |||
| #' variable is also stored as a CSS variable that can be referenced with | |||
| @@ -268,6 +273,7 @@ style_solarized_dark <- function( | |||
| inverse_text_color = "#002b36", | |||
| inverse_text_shadow = FALSE, | |||
| inverse_header_color = inverse_text_color, | |||
| inverse_link_color = link_color, | |||
| title_slide_text_color = inverse_text_color, | |||
| title_slide_background_color = inverse_background_color, | |||
| title_slide_background_image = NULL, | |||
| @@ -76,6 +76,11 @@ | |||
| #' classes. The value of this variable is also stored as a CSS variable that | |||
| #' can be referenced with `var(--inverse-header-color)` in any argument of a | |||
| #' style function or in custom CSS. | |||
| #' @param inverse_link_color Inverse Link Color. Defaults to `link_color`. | |||
| #' Modifies the `.inverse a, .inverse a > code` classes. The value of this | |||
| #' variable is also stored as a CSS variable that can be referenced with | |||
| #' `var(--inverse-link-color)` in any argument of a style function or in | |||
| #' custom CSS. | |||
| #' @param title_slide_text_color Title Slide Text Color. Defaults to | |||
| #' `inverse_text_color`. Modifies the `.title-slide` class. The value of this | |||
| #' variable is also stored as a CSS variable that can be referenced with | |||
| @@ -268,6 +273,7 @@ style_solarized_light <- function( | |||
| inverse_text_color = "#fdf6e3", | |||
| inverse_text_shadow = FALSE, | |||
| inverse_header_color = inverse_text_color, | |||
| inverse_link_color = link_color, | |||
| title_slide_text_color = inverse_text_color, | |||
| title_slide_background_color = inverse_background_color, | |||
| title_slide_background_image = NULL, | |||
| @@ -76,6 +76,11 @@ | |||
| #' this variable is also stored as a CSS variable that can be referenced with | |||
| #' `var(--inverse-header-color)` in any argument of a style function or in | |||
| #' custom CSS. | |||
| #' @param inverse_link_color Inverse Link Color. Defaults to `link_color`. | |||
| #' Modifies the `.inverse a, .inverse a > code` classes. The value of this | |||
| #' variable is also stored as a CSS variable that can be referenced with | |||
| #' `var(--inverse-link-color)` in any argument of a style function or in | |||
| #' custom CSS. | |||
| #' @param title_slide_text_color Title Slide Text Color. Defaults to | |||
| #' `inverse_text_color`. Modifies the `.title-slide` class. The value of this | |||
| #' variable is also stored as a CSS variable that can be referenced with | |||
| @@ -267,6 +272,7 @@ style_xaringan <- function( | |||
| inverse_text_color = "#d6d6d6", | |||
| inverse_text_shadow = FALSE, | |||
| inverse_header_color = "#f3f3f3", | |||
| inverse_link_color = link_color, | |||
| title_slide_text_color = inverse_text_color, | |||
| title_slide_background_color = inverse_background_color, | |||
| title_slide_background_image = NULL, | |||
| @@ -22,7 +22,7 @@ library(xaringanthemer) | |||
| <!-- badges: start --> | |||
| [](https://CRAN.R-project.org/package=xaringanthemer) | |||
| [](https://www.tidyverse.org/lifecycle/#stable) | |||
| [](https://github.com/gadenbuie/xaringanthemer/actions) | |||
| [](https://github.com/gadenbuie/xaringanthemer/actions) | |||
| [](https://codecov.io/github/gadenbuie/xaringanthemer) | |||
| <!-- badges: end --> | |||
| @@ -10,7 +10,7 @@ status](https://www.r-pkg.org/badges/version/xaringanthemer)](https://CRAN.R-pro | |||
| [](https://www.tidyverse.org/lifecycle/#stable) | |||
| [](https://github.com/gadenbuie/xaringanthemer/actions) | |||
| {tic}](https://github.com/gadenbuie/xaringanthemer/workflows/tic/badge.svg?branch=master)](https://github.com/gadenbuie/xaringanthemer/actions) | |||
| [](https://codecov.io/github/gadenbuie/xaringanthemer) | |||
| <!-- badges: end --> | |||
| @@ -38,6 +38,6 @@ remotes::install_github("gadenbuie/xaringanthemer") | |||
| ## Features | |||
| There’s a lot more that **xaringanthemer** can do\! [Discover | |||
| There’s a lot more that **xaringanthemer** can do! [Discover | |||
| xaringanthemer’s | |||
| features.](https://pkg.garrickadenbuie.com/xaringanthemer/articles/xaringanthemer.html) | |||
| @@ -19,6 +19,7 @@ template_variables <- tibble::tribble( | |||
| , "inverse_text_color", "#d6d6d6", ".inverse", "Inverse Text Color", "--inverse-text-color" | |||
| , "inverse_text_shadow", "{FALSE}", ".inverse", "Enables Shadow on text of inverse slides", NA_character_ | |||
| , "inverse_header_color", "#f3f3f3", ".inverse h1, .inverse h2, .inverse h3", "Inverse Header Color", "--inverse-header-color" | |||
| , "inverse_link_color", "{link_color}", ".inverse a, .inverse a > code", "Inverse Link Color", "--inverse-link-color" | |||
| , "title_slide_text_color", "{inverse_text_color}", ".title-slide", "Title Slide Text Color", "--title-slide-text-color" | |||
| , "title_slide_background_color", "{inverse_background_color}", ".title-slide", "Title Slide Background Color", "--title-slide-background-color" | |||
| , "title_slide_background_image", "{NULL}", ".title-slide", "Title Slide Background Image URL", NA_character_ | |||
| @@ -51,6 +51,7 @@ | |||
| --inverse-text-color: {{inverse_text_color}}; | |||
| --inverse-background-color: {{inverse_background_color}}; | |||
| --inverse-header-color: {{inverse_header_color}}; | |||
| --inverse-link-color: {{inverse_link_color}}; | |||
| --title-slide-background-color: {{title_slide_background_color}}; | |||
| --title-slide-text-color: {{title_slide_text_color}}; | |||
| --header-background-color: {{header_background_color}}; | |||
| @@ -133,6 +134,9 @@ a, a > code { | |||
| .inverse h1, .inverse h2, .inverse h3 { | |||
| color: var(--inverse-header-color); | |||
| } | |||
| .inverse a, .inverse a > code { | |||
| color: var(--inverse-link-color); | |||
| } | |||
| .title-slide, .title-slide h1, .title-slide h2, .title-slide h3 { | |||
| color: var(--title-slide-text-color); | |||
| } | |||
| @@ -8,10 +8,6 @@ message("Rendering README.Rmd for GitHub") | |||
| rmarkdown::render("README.Rmd", quiet = TRUE) | |||
| unlink("README.html") | |||
| message("Rendering index.Rmd for pkgdown") | |||
| rmarkdown::render("index.Rmd", quiet = TRUE) | |||
| unlink("index.html") | |||
| message("Checking package") | |||
| devtools::check(document = FALSE) | |||
| @@ -26,6 +26,7 @@ style_duo( | |||
| inverse_text_color = primary_color, | |||
| inverse_text_shadow = FALSE, | |||
| inverse_header_color = primary_color, | |||
| inverse_link_color = link_color, | |||
| title_slide_text_color = secondary_color, | |||
| title_slide_background_color = primary_color, | |||
| title_slide_background_image = NULL, | |||
| @@ -180,6 +181,12 @@ classes. The value of this variable is also stored as a CSS variable that | |||
| can be referenced with \code{var(--inverse-header-color)} in any argument of a | |||
| style function or in custom CSS.} | |||
| \item{inverse_link_color}{Inverse Link Color. Defaults to \code{link_color}. | |||
| Modifies the \verb{.inverse a, .inverse a > code} classes. The value of this | |||
| variable is also stored as a CSS variable that can be referenced with | |||
| \code{var(--inverse-link-color)} in any argument of a style function or in | |||
| custom CSS.} | |||
| \item{title_slide_text_color}{Title Slide Text Color. Defaults to | |||
| \code{secondary_color}. Modifies the \code{.title-slide} class. The value of this | |||
| variable is also stored as a CSS variable that can be referenced with | |||
| @@ -30,6 +30,7 @@ style_duo_accent( | |||
| inverse_text_shadow = FALSE, | |||
| inverse_header_color = choose_dark_or_light(secondary_color, black_color, | |||
| white_color), | |||
| inverse_link_color = link_color, | |||
| title_slide_text_color = choose_dark_or_light(primary_color, black_color, | |||
| white_color), | |||
| title_slide_background_color = primary_color, | |||
| @@ -199,6 +200,12 @@ this variable is also stored as a CSS variable that can be referenced with | |||
| \code{var(--inverse-header-color)} in any argument of a style function or in | |||
| custom CSS.} | |||
| \item{inverse_link_color}{Inverse Link Color. Defaults to \code{link_color}. | |||
| Modifies the \verb{.inverse a, .inverse a > code} classes. The value of this | |||
| variable is also stored as a CSS variable that can be referenced with | |||
| \code{var(--inverse-link-color)} in any argument of a style function or in | |||
| custom CSS.} | |||
| \item{title_slide_text_color}{Title Slide Text Color. Defaults to | |||
| \code{choose_dark_or_light(primary_color, black_color, white_color)}. Modifies | |||
| the \code{.title-slide} class. The value of this variable is also stored as a | |||
| @@ -30,6 +30,7 @@ style_duo_accent_inverse( | |||
| inverse_text_shadow = FALSE, | |||
| inverse_header_color = choose_dark_or_light(secondary_color, black_color, | |||
| white_color), | |||
| inverse_link_color = link_color, | |||
| title_slide_text_color = choose_dark_or_light(primary_color, black_color, | |||
| white_color), | |||
| title_slide_background_color = primary_color, | |||
| @@ -200,6 +201,12 @@ this variable is also stored as a CSS variable that can be referenced with | |||
| \code{var(--inverse-header-color)} in any argument of a style function or in | |||
| custom CSS.} | |||
| \item{inverse_link_color}{Inverse Link Color. Defaults to \code{link_color}. | |||
| Modifies the \verb{.inverse a, .inverse a > code} classes. The value of this | |||
| variable is also stored as a CSS variable that can be referenced with | |||
| \code{var(--inverse-link-color)} in any argument of a style function or in | |||
| custom CSS.} | |||
| \item{title_slide_text_color}{Title Slide Text Color. Defaults to | |||
| \code{choose_dark_or_light(primary_color, black_color, white_color)}. Modifies | |||
| the \code{.title-slide} class. The value of this variable is also stored as a | |||
| @@ -26,6 +26,7 @@ style_mono_accent( | |||
| inverse_text_color = white_color, | |||
| inverse_text_shadow = FALSE, | |||
| inverse_header_color = white_color, | |||
| inverse_link_color = link_color, | |||
| title_slide_text_color = inverse_text_color, | |||
| title_slide_background_color = inverse_background_color, | |||
| title_slide_background_image = NULL, | |||
| @@ -184,6 +185,12 @@ this variable is also stored as a CSS variable that can be referenced with | |||
| \code{var(--inverse-header-color)} in any argument of a style function or in | |||
| custom CSS.} | |||
| \item{inverse_link_color}{Inverse Link Color. Defaults to \code{link_color}. | |||
| Modifies the \verb{.inverse a, .inverse a > code} classes. The value of this | |||
| variable is also stored as a CSS variable that can be referenced with | |||
| \code{var(--inverse-link-color)} in any argument of a style function or in | |||
| custom CSS.} | |||
| \item{title_slide_text_color}{Title Slide Text Color. Defaults to | |||
| \code{inverse_text_color}. Modifies the \code{.title-slide} class. The value of this | |||
| variable is also stored as a CSS variable that can be referenced with | |||
| @@ -26,6 +26,7 @@ style_mono_accent_inverse( | |||
| inverse_text_color = black_color, | |||
| inverse_text_shadow = FALSE, | |||
| inverse_header_color = black_color, | |||
| inverse_link_color = link_color, | |||
| title_slide_text_color = inverse_text_color, | |||
| title_slide_background_color = inverse_background_color, | |||
| title_slide_background_image = NULL, | |||
| @@ -185,6 +186,12 @@ this variable is also stored as a CSS variable that can be referenced with | |||
| \code{var(--inverse-header-color)} in any argument of a style function or in | |||
| custom CSS.} | |||
| \item{inverse_link_color}{Inverse Link Color. Defaults to \code{link_color}. | |||
| Modifies the \verb{.inverse a, .inverse a > code} classes. The value of this | |||
| variable is also stored as a CSS variable that can be referenced with | |||
| \code{var(--inverse-link-color)} in any argument of a style function or in | |||
| custom CSS.} | |||
| \item{title_slide_text_color}{Title Slide Text Color. Defaults to | |||
| \code{inverse_text_color}. Modifies the \code{.title-slide} class. The value of this | |||
| variable is also stored as a CSS variable that can be referenced with | |||
| @@ -26,6 +26,7 @@ style_mono_dark( | |||
| inverse_text_color = black_color, | |||
| inverse_text_shadow = FALSE, | |||
| inverse_header_color = black_color, | |||
| inverse_link_color = link_color, | |||
| title_slide_text_color = inverse_text_color, | |||
| title_slide_background_color = inverse_background_color, | |||
| title_slide_background_image = NULL, | |||
| @@ -186,6 +187,12 @@ this variable is also stored as a CSS variable that can be referenced with | |||
| \code{var(--inverse-header-color)} in any argument of a style function or in | |||
| custom CSS.} | |||
| \item{inverse_link_color}{Inverse Link Color. Defaults to \code{link_color}. | |||
| Modifies the \verb{.inverse a, .inverse a > code} classes. The value of this | |||
| variable is also stored as a CSS variable that can be referenced with | |||
| \code{var(--inverse-link-color)} in any argument of a style function or in | |||
| custom CSS.} | |||
| \item{title_slide_text_color}{Title Slide Text Color. Defaults to | |||
| \code{inverse_text_color}. Modifies the \code{.title-slide} class. The value of this | |||
| variable is also stored as a CSS variable that can be referenced with | |||
| @@ -26,6 +26,7 @@ style_mono_light( | |||
| inverse_text_color = white_color, | |||
| inverse_text_shadow = FALSE, | |||
| inverse_header_color = white_color, | |||
| inverse_link_color = link_color, | |||
| title_slide_text_color = inverse_text_color, | |||
| title_slide_background_color = inverse_background_color, | |||
| title_slide_background_image = NULL, | |||
| @@ -186,6 +187,12 @@ this variable is also stored as a CSS variable that can be referenced with | |||
| \code{var(--inverse-header-color)} in any argument of a style function or in | |||
| custom CSS.} | |||
| \item{inverse_link_color}{Inverse Link Color. Defaults to \code{link_color}. | |||
| Modifies the \verb{.inverse a, .inverse a > code} classes. The value of this | |||
| variable is also stored as a CSS variable that can be referenced with | |||
| \code{var(--inverse-link-color)} in any argument of a style function or in | |||
| custom CSS.} | |||
| \item{title_slide_text_color}{Title Slide Text Color. Defaults to | |||
| \code{inverse_text_color}. Modifies the \code{.title-slide} class. The value of this | |||
| variable is also stored as a CSS variable that can be referenced with | |||
| @@ -23,6 +23,7 @@ style_solarized_dark( | |||
| inverse_text_color = "#002b36", | |||
| inverse_text_shadow = FALSE, | |||
| inverse_header_color = inverse_text_color, | |||
| inverse_link_color = link_color, | |||
| title_slide_text_color = inverse_text_color, | |||
| title_slide_background_color = inverse_background_color, | |||
| title_slide_background_image = NULL, | |||
| @@ -166,6 +167,12 @@ classes. The value of this variable is also stored as a CSS variable that | |||
| can be referenced with \code{var(--inverse-header-color)} in any argument of a | |||
| style function or in custom CSS.} | |||
| \item{inverse_link_color}{Inverse Link Color. Defaults to \code{link_color}. | |||
| Modifies the \verb{.inverse a, .inverse a > code} classes. The value of this | |||
| variable is also stored as a CSS variable that can be referenced with | |||
| \code{var(--inverse-link-color)} in any argument of a style function or in | |||
| custom CSS.} | |||
| \item{title_slide_text_color}{Title Slide Text Color. Defaults to | |||
| \code{inverse_text_color}. Modifies the \code{.title-slide} class. The value of this | |||
| variable is also stored as a CSS variable that can be referenced with | |||
| @@ -23,6 +23,7 @@ style_solarized_light( | |||
| inverse_text_color = "#fdf6e3", | |||
| inverse_text_shadow = FALSE, | |||
| inverse_header_color = inverse_text_color, | |||
| inverse_link_color = link_color, | |||
| title_slide_text_color = inverse_text_color, | |||
| title_slide_background_color = inverse_background_color, | |||
| title_slide_background_image = NULL, | |||
| @@ -166,6 +167,12 @@ classes. The value of this variable is also stored as a CSS variable that | |||
| can be referenced with \code{var(--inverse-header-color)} in any argument of a | |||
| style function or in custom CSS.} | |||
| \item{inverse_link_color}{Inverse Link Color. Defaults to \code{link_color}. | |||
| Modifies the \verb{.inverse a, .inverse a > code} classes. The value of this | |||
| variable is also stored as a CSS variable that can be referenced with | |||
| \code{var(--inverse-link-color)} in any argument of a style function or in | |||
| custom CSS.} | |||
| \item{title_slide_text_color}{Title Slide Text Color. Defaults to | |||
| \code{inverse_text_color}. Modifies the \code{.title-slide} class. The value of this | |||
| variable is also stored as a CSS variable that can be referenced with | |||
| @@ -26,6 +26,7 @@ style_xaringan( | |||
| inverse_text_color = "#d6d6d6", | |||
| inverse_text_shadow = FALSE, | |||
| inverse_header_color = "#f3f3f3", | |||
| inverse_link_color = link_color, | |||
| title_slide_text_color = inverse_text_color, | |||
| title_slide_background_color = inverse_background_color, | |||
| title_slide_background_image = NULL, | |||
| @@ -172,6 +173,12 @@ this variable is also stored as a CSS variable that can be referenced with | |||
| \code{var(--inverse-header-color)} in any argument of a style function or in | |||
| custom CSS.} | |||
| \item{inverse_link_color}{Inverse Link Color. Defaults to \code{link_color}. | |||
| Modifies the \verb{.inverse a, .inverse a > code} classes. The value of this | |||
| variable is also stored as a CSS variable that can be referenced with | |||
| \code{var(--inverse-link-color)} in any argument of a style function or in | |||
| custom CSS.} | |||
| \item{title_slide_text_color}{Title Slide Text Color. Defaults to | |||
| \code{inverse_text_color}. Modifies the \code{.title-slide} class. The value of this | |||
| variable is also stored as a CSS variable that can be referenced with | |||
| @@ -51,6 +51,7 @@ | |||
| --inverse-text-color: #1F4257; | |||
| --inverse-background-color: #F97B64; | |||
| --inverse-header-color: #1F4257; | |||
| --inverse-link-color: #F97B64; | |||
| --title-slide-background-color: #1F4257; | |||
| --title-slide-text-color: #F97B64; | |||
| --header-background-color: #F97B64; | |||
| @@ -126,6 +127,9 @@ a, a > code { | |||
| .inverse h1, .inverse h2, .inverse h3 { | |||
| color: var(--inverse-header-color); | |||
| } | |||
| .inverse a, .inverse a > code { | |||
| color: var(--inverse-link-color); | |||
| } | |||
| .title-slide, .title-slide h1, .title-slide h2, .title-slide h3 { | |||
| color: var(--title-slide-text-color); | |||
| } | |||
| @@ -51,6 +51,7 @@ | |||
| --inverse-text-color: #1F4257; | |||
| --inverse-background-color: #F97B64; | |||
| --inverse-header-color: #1F4257; | |||
| --inverse-link-color: #F97B64; | |||
| --title-slide-background-color: #1F4257; | |||
| --title-slide-text-color: #F97B64; | |||
| --header-background-color: #F97B64; | |||
| @@ -126,6 +127,9 @@ a, a > code { | |||
| .inverse h1, .inverse h2, .inverse h3 { | |||
| color: var(--inverse-header-color); | |||
| } | |||
| .inverse a, .inverse a > code { | |||
| color: var(--inverse-link-color); | |||
| } | |||
| .title-slide, .title-slide h1, .title-slide h2, .title-slide h3 { | |||
| color: var(--title-slide-text-color); | |||
| } | |||
| @@ -51,6 +51,7 @@ | |||
| --inverse-text-color: #000000; | |||
| --inverse-background-color: #03A696; | |||
| --inverse-header-color: #000000; | |||
| --inverse-link-color: #035AA6; | |||
| --title-slide-background-color: #035AA6; | |||
| --title-slide-text-color: #FFFFFF; | |||
| --header-background-color: #035AA6; | |||
| @@ -128,6 +129,9 @@ a, a > code { | |||
| .inverse h1, .inverse h2, .inverse h3 { | |||
| color: var(--inverse-header-color); | |||
| } | |||
| .inverse a, .inverse a > code { | |||
| color: var(--inverse-link-color); | |||
| } | |||
| .title-slide, .title-slide h1, .title-slide h2, .title-slide h3 { | |||
| color: var(--title-slide-text-color); | |||
| } | |||
| @@ -51,6 +51,7 @@ | |||
| --inverse-text-color: #000000; | |||
| --inverse-background-color: #03A696; | |||
| --inverse-header-color: #000000; | |||
| --inverse-link-color: #03A696; | |||
| --title-slide-background-color: #035AA6; | |||
| --title-slide-text-color: #FFFFFF; | |||
| --header-background-color: #035AA6; | |||
| @@ -128,6 +129,9 @@ a, a > code { | |||
| .inverse h1, .inverse h2, .inverse h3 { | |||
| color: var(--inverse-header-color); | |||
| } | |||
| .inverse a, .inverse a > code { | |||
| color: var(--inverse-link-color); | |||
| } | |||
| .title-slide, .title-slide h1, .title-slide h2, .title-slide h3 { | |||
| color: var(--title-slide-text-color); | |||
| } | |||
| @@ -50,6 +50,7 @@ | |||
| --inverse-text-color: #d6d6d6; | |||
| --inverse-background-color: #272822; | |||
| --inverse-header-color: #f3f3f3; | |||
| --inverse-link-color: rgb(249, 38, 114); | |||
| --title-slide-background-color: #272822; | |||
| --title-slide-text-color: #d6d6d6; | |||
| --header-background-color: #000; | |||
| @@ -122,6 +123,9 @@ a, a > code { | |||
| .inverse h1, .inverse h2, .inverse h3 { | |||
| color: var(--inverse-header-color); | |||
| } | |||
| .inverse a, .inverse a > code { | |||
| color: var(--inverse-link-color); | |||
| } | |||
| .title-slide, .title-slide h1, .title-slide h2, .title-slide h3 { | |||
| color: var(--title-slide-text-color); | |||
| } | |||
| @@ -51,6 +51,7 @@ | |||
| --inverse-text-color: #FFFFFF; | |||
| --inverse-background-color: #43418A; | |||
| --inverse-header-color: #FFFFFF; | |||
| --inverse-link-color: #43418A; | |||
| --title-slide-background-color: #43418A; | |||
| --title-slide-text-color: #FFFFFF; | |||
| --header-background-color: #43418A; | |||
| @@ -127,6 +128,9 @@ a, a > code { | |||
| .inverse h1, .inverse h2, .inverse h3 { | |||
| color: var(--inverse-header-color); | |||
| } | |||
| .inverse a, .inverse a > code { | |||
| color: var(--inverse-link-color); | |||
| } | |||
| .title-slide, .title-slide h1, .title-slide h2, .title-slide h3 { | |||
| color: var(--title-slide-text-color); | |||
| } | |||
| @@ -51,6 +51,7 @@ | |||
| --inverse-text-color: #050F0F; | |||
| --inverse-background-color: #3C989E; | |||
| --inverse-header-color: #050F0F; | |||
| --inverse-link-color: #3C989E; | |||
| --title-slide-background-color: #3C989E; | |||
| --title-slide-text-color: #050F0F; | |||
| --header-background-color: #3C989E; | |||
| @@ -127,6 +128,9 @@ a, a > code { | |||
| .inverse h1, .inverse h2, .inverse h3 { | |||
| color: var(--inverse-header-color); | |||
| } | |||
| .inverse a, .inverse a > code { | |||
| color: var(--inverse-link-color); | |||
| } | |||
| .title-slide, .title-slide h1, .title-slide h2, .title-slide h3 { | |||
| color: var(--title-slide-text-color); | |||
| } | |||
| @@ -51,6 +51,7 @@ | |||
| --inverse-text-color: #1E2523; | |||
| --inverse-background-color: #cbf7ed; | |||
| --inverse-header-color: #1E2523; | |||
| --inverse-link-color: #cbf7ed; | |||
| --title-slide-background-color: #cbf7ed; | |||
| --title-slide-text-color: #1E2523; | |||
| --header-background-color: #cbf7ed; | |||
| @@ -127,6 +128,9 @@ a, a > code { | |||
| .inverse h1, .inverse h2, .inverse h3 { | |||
| color: var(--inverse-header-color); | |||
| } | |||
| .inverse a, .inverse a > code { | |||
| color: var(--inverse-link-color); | |||
| } | |||
| .title-slide, .title-slide h1, .title-slide h2, .title-slide h3 { | |||
| color: var(--title-slide-text-color); | |||
| } | |||
| @@ -51,6 +51,7 @@ | |||
| --inverse-text-color: #E9EBEE; | |||
| --inverse-background-color: #23395b; | |||
| --inverse-header-color: #E9EBEE; | |||
| --inverse-link-color: #23395b; | |||
| --title-slide-background-color: #23395b; | |||
| --title-slide-text-color: #E9EBEE; | |||
| --header-background-color: #23395b; | |||
| @@ -127,6 +128,9 @@ a, a > code { | |||
| .inverse h1, .inverse h2, .inverse h3 { | |||
| color: var(--inverse-header-color); | |||
| } | |||
| .inverse a, .inverse a > code { | |||
| color: var(--inverse-link-color); | |||
| } | |||
| .title-slide, .title-slide h1, .title-slide h2, .title-slide h3 { | |||
| color: var(--title-slide-text-color); | |||
| } | |||
| @@ -51,6 +51,7 @@ | |||
| --inverse-text-color: #E9EBEE; | |||
| --inverse-background-color: #23395b; | |||
| --inverse-header-color: #E9EBEE; | |||
| --inverse-link-color: #23395b; | |||
| --title-slide-background-color: #23395b; | |||
| --title-slide-text-color: #E9EBEE; | |||
| --header-background-color: #23395b; | |||
| @@ -127,6 +128,9 @@ a, a > code { | |||
| .inverse h1, .inverse h2, .inverse h3 { | |||
| color: var(--inverse-header-color); | |||
| } | |||
| .inverse a, .inverse a > code { | |||
| color: var(--inverse-link-color); | |||
| } | |||
| .title-slide, .title-slide h1, .title-slide h2, .title-slide h3 { | |||
| color: var(--title-slide-text-color); | |||
| } | |||
| @@ -51,6 +51,7 @@ | |||
| --inverse-text-color: #002b36; | |||
| --inverse-background-color: #fdf6e3; | |||
| --inverse-header-color: #002b36; | |||
| --inverse-link-color: #b58900; | |||
| --title-slide-background-color: #fdf6e3; | |||
| --title-slide-text-color: #002b36; | |||
| --header-background-color: #dc322f; | |||
| @@ -124,6 +125,9 @@ a, a > code { | |||
| .inverse h1, .inverse h2, .inverse h3 { | |||
| color: var(--inverse-header-color); | |||
| } | |||
| .inverse a, .inverse a > code { | |||
| color: var(--inverse-link-color); | |||
| } | |||
| .title-slide, .title-slide h1, .title-slide h2, .title-slide h3 { | |||
| color: var(--title-slide-text-color); | |||
| } | |||
| @@ -51,6 +51,7 @@ | |||
| --inverse-text-color: #002b36; | |||
| --inverse-background-color: #fdf6e3; | |||
| --inverse-header-color: #002b36; | |||
| --inverse-link-color: #b58900; | |||
| --title-slide-background-color: #fdf6e3; | |||
| --title-slide-text-color: #002b36; | |||
| --header-background-color: #dc322f; | |||
| @@ -124,6 +125,9 @@ a, a > code { | |||
| .inverse h1, .inverse h2, .inverse h3 { | |||
| color: var(--inverse-header-color); | |||
| } | |||
| .inverse a, .inverse a > code { | |||
| color: var(--inverse-link-color); | |||
| } | |||
| .title-slide, .title-slide h1, .title-slide h2, .title-slide h3 { | |||
| color: var(--title-slide-text-color); | |||
| } | |||
| @@ -51,6 +51,7 @@ | |||
| --inverse-text-color: #fdf6e3; | |||
| --inverse-background-color: #002b36; | |||
| --inverse-header-color: #fdf6e3; | |||
| --inverse-link-color: #b58900; | |||
| --title-slide-background-color: #002b36; | |||
| --title-slide-text-color: #fdf6e3; | |||
| --header-background-color: #dc322f; | |||
| @@ -124,6 +125,9 @@ a, a > code { | |||
| .inverse h1, .inverse h2, .inverse h3 { | |||
| color: var(--inverse-header-color); | |||
| } | |||
| .inverse a, .inverse a > code { | |||
| color: var(--inverse-link-color); | |||
| } | |||
| .title-slide, .title-slide h1, .title-slide h2, .title-slide h3 { | |||
| color: var(--title-slide-text-color); | |||
| } | |||
| @@ -50,6 +50,7 @@ | |||
| --inverse-text-color: #d6d6d6; | |||
| --inverse-background-color: #272822; | |||
| --inverse-header-color: #f3f3f3; | |||
| --inverse-link-color: rgb(249, 38, 114); | |||
| --title-slide-background-color: #272822; | |||
| --title-slide-text-color: #d6d6d6; | |||
| --header-background-color: #000; | |||
| @@ -123,6 +124,9 @@ a, a > code { | |||
| .inverse h1, .inverse h2, .inverse h3 { | |||
| color: var(--inverse-header-color); | |||
| } | |||
| .inverse a, .inverse a > code { | |||
| color: var(--inverse-link-color); | |||
| } | |||
| .title-slide, .title-slide h1, .title-slide h2, .title-slide h3 { | |||
| color: var(--title-slide-text-color); | |||
| } | |||