Sfoglia il codice sorgente

feat: Add inverse_link_color to styles

Fixes #44
tags/v0.3.3
Garrick Aden-Buie 5 anni fa
parent
commit
8a8ebd5e41
41 ha cambiato i file con 200 aggiunte e 7 eliminazioni
  1. +6
    -0
      NEWS.md
  2. +6
    -0
      R/style_duo.R
  3. +6
    -0
      R/style_duo_accent.R
  4. +6
    -0
      R/style_duo_accent_inverse.R
  5. +6
    -0
      R/style_mono_accent.R
  6. +6
    -0
      R/style_mono_accent_inverse.R
  7. +6
    -0
      R/style_mono_dark.R
  8. +6
    -0
      R/style_mono_light.R
  9. +6
    -0
      R/style_solarized_dark.R
  10. +6
    -0
      R/style_solarized_light.R
  11. +6
    -0
      R/style_xaringan.R
  12. BIN
      R/sysdata.rda
  13. +1
    -1
      README.Rmd
  14. +2
    -2
      README.md
  15. +1
    -0
      data-raw/theme_template_variables.R
  16. +4
    -0
      inst/resources/template.css
  17. +0
    -4
      make.R
  18. +7
    -0
      man/style_duo.Rd
  19. +7
    -0
      man/style_duo_accent.Rd
  20. +7
    -0
      man/style_duo_accent_inverse.Rd
  21. +7
    -0
      man/style_mono_accent.Rd
  22. +7
    -0
      man/style_mono_accent_inverse.Rd
  23. +7
    -0
      man/style_mono_dark.Rd
  24. +7
    -0
      man/style_mono_light.Rd
  25. +7
    -0
      man/style_solarized_dark.Rd
  26. +7
    -0
      man/style_solarized_light.Rd
  27. +7
    -0
      man/style_xaringan.Rd
  28. +4
    -0
      tests/testthat/css/duo-header_bg.css
  29. +4
    -0
      tests/testthat/css/duo.css
  30. +4
    -0
      tests/testthat/css/duo_accent.css
  31. +4
    -0
      tests/testthat/css/duo_accent_inverse.css
  32. +4
    -0
      tests/testthat/css/google_fonts.css
  33. +4
    -0
      tests/testthat/css/mono_accent.css
  34. +4
    -0
      tests/testthat/css/mono_accent_inverse.css
  35. +4
    -0
      tests/testthat/css/mono_dark.css
  36. +4
    -0
      tests/testthat/css/mono_light-header_bg.css
  37. +4
    -0
      tests/testthat/css/mono_light.css
  38. +4
    -0
      tests/testthat/css/solarized_dark-header_bg.css
  39. +4
    -0
      tests/testthat/css/solarized_dark.css
  40. +4
    -0
      tests/testthat/css/solarized_light.css
  41. +4
    -0
      tests/testthat/css/xaringan.css

+ 6
- 0
NEWS.md Vedi File

@@ -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

+ 6
- 0
R/style_duo.R Vedi File

@@ -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,

+ 6
- 0
R/style_duo_accent.R Vedi File

@@ -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,

+ 6
- 0
R/style_duo_accent_inverse.R Vedi File

@@ -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,

+ 6
- 0
R/style_mono_accent.R Vedi File

@@ -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,

+ 6
- 0
R/style_mono_accent_inverse.R Vedi File

@@ -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,

+ 6
- 0
R/style_mono_dark.R Vedi File

@@ -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,

+ 6
- 0
R/style_mono_light.R Vedi File

@@ -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,

+ 6
- 0
R/style_solarized_dark.R Vedi File

@@ -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,

+ 6
- 0
R/style_solarized_light.R Vedi File

@@ -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,

+ 6
- 0
R/style_xaringan.R Vedi File

@@ -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,

BIN
R/sysdata.rda Vedi File


+ 1
- 1
README.Rmd Vedi File

@@ -22,7 +22,7 @@ library(xaringanthemer)
<!-- badges: start -->
[![CRAN status](https://www.r-pkg.org/badges/version/xaringanthemer)](https://CRAN.R-project.org/package=xaringanthemer)
[![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://www.tidyverse.org/lifecycle/#stable)
[![CI by {tic}](https://github.com/gadenbuie/xaringanthemer/workflows/CI%20by%20{tic}/badge.svg?branch=master)](https://github.com/gadenbuie/xaringanthemer/actions)
[![CI by {tic}](https://github.com/gadenbuie/xaringanthemer/workflows/tic/badge.svg?branch=master)](https://github.com/gadenbuie/xaringanthemer/actions)
[![Codecov](https://img.shields.io/codecov/c/github/gadenbuie/xaringanthemer)](https://codecov.io/github/gadenbuie/xaringanthemer)
<!-- badges: end -->


+ 2
- 2
README.md Vedi File

@@ -10,7 +10,7 @@ status](https://www.r-pkg.org/badges/version/xaringanthemer)](https://CRAN.R-pro
[![Lifecycle:
stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://www.tidyverse.org/lifecycle/#stable)
[![CI by
{tic}](https://github.com/gadenbuie/xaringanthemer/workflows/CI%20by%20%7Btic%7D/badge.svg?branch=master)](https://github.com/gadenbuie/xaringanthemer/actions)
{tic}](https://github.com/gadenbuie/xaringanthemer/workflows/tic/badge.svg?branch=master)](https://github.com/gadenbuie/xaringanthemer/actions)
[![Codecov](https://img.shields.io/codecov/c/github/gadenbuie/xaringanthemer)](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)

+ 1
- 0
data-raw/theme_template_variables.R Vedi File

@@ -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_

+ 4
- 0
inst/resources/template.css Vedi File

@@ -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);
}

+ 0
- 4
make.R Vedi File

@@ -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)


+ 7
- 0
man/style_duo.Rd Vedi File

@@ -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

+ 7
- 0
man/style_duo_accent.Rd Vedi File

@@ -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

+ 7
- 0
man/style_duo_accent_inverse.Rd Vedi File

@@ -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

+ 7
- 0
man/style_mono_accent.Rd Vedi File

@@ -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

+ 7
- 0
man/style_mono_accent_inverse.Rd Vedi File

@@ -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

+ 7
- 0
man/style_mono_dark.Rd Vedi File

@@ -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

+ 7
- 0
man/style_mono_light.Rd Vedi File

@@ -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

+ 7
- 0
man/style_solarized_dark.Rd Vedi File

@@ -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

+ 7
- 0
man/style_solarized_light.Rd Vedi File

@@ -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

+ 7
- 0
man/style_xaringan.Rd Vedi File

@@ -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

+ 4
- 0
tests/testthat/css/duo-header_bg.css Vedi File

@@ -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);
}

+ 4
- 0
tests/testthat/css/duo.css Vedi File

@@ -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);
}

+ 4
- 0
tests/testthat/css/duo_accent.css Vedi File

@@ -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);
}

+ 4
- 0
tests/testthat/css/duo_accent_inverse.css Vedi File

@@ -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);
}

+ 4
- 0
tests/testthat/css/google_fonts.css Vedi File

@@ -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);
}

+ 4
- 0
tests/testthat/css/mono_accent.css Vedi File

@@ -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);
}

+ 4
- 0
tests/testthat/css/mono_accent_inverse.css Vedi File

@@ -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);
}

+ 4
- 0
tests/testthat/css/mono_dark.css Vedi File

@@ -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);
}

+ 4
- 0
tests/testthat/css/mono_light-header_bg.css Vedi File

@@ -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);
}

+ 4
- 0
tests/testthat/css/mono_light.css Vedi File

@@ -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);
}

+ 4
- 0
tests/testthat/css/solarized_dark-header_bg.css Vedi File

@@ -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);
}

+ 4
- 0
tests/testthat/css/solarized_dark.css Vedi File

@@ -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);
}

+ 4
- 0
tests/testthat/css/solarized_light.css Vedi File

@@ -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);
}

+ 4
- 0
tests/testthat/css/xaringan.css Vedi File

@@ -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);
}

Loading…
Annulla
Salva