Przeglądaj źródła

Merge pull request #51 from gadenbuie/50-bold-font-weight

tags/v0.4.0
Garrick Aden-Buie 5 lat temu
rodzic
commit
ce808c74f5
Brak konta powiązanego z adresem e-mail autora
39 zmienionych plików z 136 dodań i 16 usunięć
  1. +1
    -1
      DESCRIPTION
  2. +6
    -0
      NEWS.md
  3. +3
    -0
      R/style_duo.R
  4. +3
    -0
      R/style_duo_accent.R
  5. +3
    -0
      R/style_duo_accent_inverse.R
  6. +3
    -0
      R/style_mono_accent.R
  7. +3
    -0
      R/style_mono_accent_inverse.R
  8. +3
    -0
      R/style_mono_dark.R
  9. +3
    -0
      R/style_mono_light.R
  10. +3
    -0
      R/style_solarized_dark.R
  11. +3
    -0
      R/style_solarized_light.R
  12. +3
    -0
      R/style_xaringan.R
  13. BIN
      R/sysdata.rda
  14. +1
    -0
      data-raw/theme_template_variables.R
  15. +4
    -3
      inst/resources/template.css
  16. +4
    -0
      man/style_duo.Rd
  17. +4
    -0
      man/style_duo_accent.Rd
  18. +4
    -0
      man/style_duo_accent_inverse.Rd
  19. +4
    -0
      man/style_mono_accent.Rd
  20. +4
    -0
      man/style_mono_accent_inverse.Rd
  21. +4
    -0
      man/style_mono_dark.Rd
  22. +4
    -0
      man/style_mono_light.Rd
  23. +4
    -0
      man/style_solarized_dark.Rd
  24. +4
    -0
      man/style_solarized_light.Rd
  25. +4
    -0
      man/style_xaringan.Rd
  26. +4
    -1
      tests/testthat/css/duo-header_bg.css
  27. +4
    -1
      tests/testthat/css/duo.css
  28. +4
    -1
      tests/testthat/css/duo_accent.css
  29. +4
    -1
      tests/testthat/css/duo_accent_inverse.css
  30. +3
    -0
      tests/testthat/css/google_fonts.css
  31. +4
    -1
      tests/testthat/css/mono_accent.css
  32. +4
    -1
      tests/testthat/css/mono_accent_inverse.css
  33. +4
    -1
      tests/testthat/css/mono_dark.css
  34. +4
    -1
      tests/testthat/css/mono_light-header_bg.css
  35. +4
    -1
      tests/testthat/css/mono_light.css
  36. +4
    -1
      tests/testthat/css/solarized_dark-header_bg.css
  37. +4
    -1
      tests/testthat/css/solarized_dark.css
  38. +4
    -1
      tests/testthat/css/solarized_light.css
  39. +3
    -0
      tests/testthat/css/xaringan.css

+ 1
- 1
DESCRIPTION Wyświetl plik

@@ -1,7 +1,7 @@
Type: Package
Package: xaringanthemer
Title: Custom 'xaringan' CSS Themes
Version: 0.3.4
Version: 0.3.4.9000
Authors@R:
person(given = "Garrick",
family = "Aden-Buie",

+ 6
- 0
NEWS.md Wyświetl plik

@@ -1,3 +1,9 @@
# xaringanthemer (development version)

* Added `text_bold_font_weight` argument to xaringanthemer style functions with
a corresponding CSS rule setting the `font-weight` property of `<strong>`
elements (thanks @matiasandina, #50).

# xaringanthemes 0.3.4

* Maintenance release to avoid issues with upcoming R 4.1.0 (#49)

+ 3
- 0
R/style_duo.R Wyświetl plik

@@ -210,6 +210,8 @@
#' element. Accepts CSS
#' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)
#' property values.
#' @param text_bold_font_weight Body Bold Text Font Weight. Defaults to bold.
#' Modifies the `strong` element.
#' @param text_font_url Body Text Font URL(s). Defaults to
#' `xaringanthemer_font_default("text_font_url")`. Modifies the
#' `@import url()` elements.
@@ -320,6 +322,7 @@ style_duo <- function(
text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"),
text_font_weight = xaringanthemer_font_default("text_font_weight"),
text_bold_font_weight = "bold",
text_font_url = xaringanthemer_font_default("text_font_url"),
text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"),
text_font_base = "sans-serif",

+ 3
- 0
R/style_duo_accent.R Wyświetl plik

@@ -222,6 +222,8 @@
#' element. Accepts CSS
#' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)
#' property values.
#' @param text_bold_font_weight Body Bold Text Font Weight. Defaults to bold.
#' Modifies the `strong` element.
#' @param text_font_url Body Text Font URL(s). Defaults to
#' `xaringanthemer_font_default("text_font_url")`. Modifies the
#' `@import url()` elements.
@@ -334,6 +336,7 @@ style_duo_accent <- function(
text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"),
text_font_weight = xaringanthemer_font_default("text_font_weight"),
text_bold_font_weight = "bold",
text_font_url = xaringanthemer_font_default("text_font_url"),
text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"),
text_font_base = "sans-serif",

+ 3
- 0
R/style_duo_accent_inverse.R Wyświetl plik

@@ -223,6 +223,8 @@
#' element. Accepts CSS
#' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)
#' property values.
#' @param text_bold_font_weight Body Bold Text Font Weight. Defaults to bold.
#' Modifies the `strong` element.
#' @param text_font_url Body Text Font URL(s). Defaults to
#' `xaringanthemer_font_default("text_font_url")`. Modifies the
#' `@import url()` elements.
@@ -335,6 +337,7 @@ style_duo_accent_inverse <- function(
text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"),
text_font_weight = xaringanthemer_font_default("text_font_weight"),
text_bold_font_weight = "bold",
text_font_url = xaringanthemer_font_default("text_font_url"),
text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"),
text_font_base = "sans-serif",

+ 3
- 0
R/style_mono_accent.R Wyświetl plik

@@ -213,6 +213,8 @@
#' element. Accepts CSS
#' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)
#' property values.
#' @param text_bold_font_weight Body Bold Text Font Weight. Defaults to bold.
#' Modifies the `strong` element.
#' @param text_font_url Body Text Font URL(s). Defaults to
#' `xaringanthemer_font_default("text_font_url")`. Modifies the
#' `@import url()` elements.
@@ -324,6 +326,7 @@ style_mono_accent <- function(
text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"),
text_font_weight = xaringanthemer_font_default("text_font_weight"),
text_bold_font_weight = "bold",
text_font_url = xaringanthemer_font_default("text_font_url"),
text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"),
text_font_base = "sans-serif",

+ 3
- 0
R/style_mono_accent_inverse.R Wyświetl plik

@@ -214,6 +214,8 @@
#' element. Accepts CSS
#' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)
#' property values.
#' @param text_bold_font_weight Body Bold Text Font Weight. Defaults to bold.
#' Modifies the `strong` element.
#' @param text_font_url Body Text Font URL(s). Defaults to
#' `xaringanthemer_font_default("text_font_url")`. Modifies the
#' `@import url()` elements.
@@ -325,6 +327,7 @@ style_mono_accent_inverse <- function(
text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"),
text_font_weight = xaringanthemer_font_default("text_font_weight"),
text_bold_font_weight = "bold",
text_font_url = xaringanthemer_font_default("text_font_url"),
text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"),
text_font_base = "sans-serif",

+ 3
- 0
R/style_mono_dark.R Wyświetl plik

@@ -215,6 +215,8 @@
#' element. Accepts CSS
#' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)
#' property values.
#' @param text_bold_font_weight Body Bold Text Font Weight. Defaults to bold.
#' Modifies the `strong` element.
#' @param text_font_url Body Text Font URL(s). Defaults to
#' `xaringanthemer_font_default("text_font_url")`. Modifies the
#' `@import url()` elements.
@@ -326,6 +328,7 @@ style_mono_dark <- function(
text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"),
text_font_weight = xaringanthemer_font_default("text_font_weight"),
text_bold_font_weight = "bold",
text_font_url = xaringanthemer_font_default("text_font_url"),
text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"),
text_font_base = "sans-serif",

+ 3
- 0
R/style_mono_light.R Wyświetl plik

@@ -215,6 +215,8 @@
#' element. Accepts CSS
#' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)
#' property values.
#' @param text_bold_font_weight Body Bold Text Font Weight. Defaults to bold.
#' Modifies the `strong` element.
#' @param text_font_url Body Text Font URL(s). Defaults to
#' `xaringanthemer_font_default("text_font_url")`. Modifies the
#' `@import url()` elements.
@@ -326,6 +328,7 @@ style_mono_light <- function(
text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"),
text_font_weight = xaringanthemer_font_default("text_font_weight"),
text_bold_font_weight = "bold",
text_font_url = xaringanthemer_font_default("text_font_url"),
text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"),
text_font_base = "sans-serif",

+ 3
- 0
R/style_solarized_dark.R Wyświetl plik

@@ -200,6 +200,8 @@
#' element. Accepts CSS
#' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)
#' property values.
#' @param text_bold_font_weight Body Bold Text Font Weight. Defaults to bold.
#' Modifies the `strong` element.
#' @param text_font_url Body Text Font URL(s). Defaults to
#' `xaringanthemer_font_default("text_font_url")`. Modifies the
#' `@import url()` elements.
@@ -308,6 +310,7 @@ style_solarized_dark <- function(
text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"),
text_font_weight = xaringanthemer_font_default("text_font_weight"),
text_bold_font_weight = "bold",
text_font_url = xaringanthemer_font_default("text_font_url"),
text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"),
text_font_base = "sans-serif",

+ 3
- 0
R/style_solarized_light.R Wyświetl plik

@@ -200,6 +200,8 @@
#' element. Accepts CSS
#' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)
#' property values.
#' @param text_bold_font_weight Body Bold Text Font Weight. Defaults to bold.
#' Modifies the `strong` element.
#' @param text_font_url Body Text Font URL(s). Defaults to
#' `xaringanthemer_font_default("text_font_url")`. Modifies the
#' `@import url()` elements.
@@ -308,6 +310,7 @@ style_solarized_light <- function(
text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"),
text_font_weight = xaringanthemer_font_default("text_font_weight"),
text_bold_font_weight = "bold",
text_font_url = xaringanthemer_font_default("text_font_url"),
text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"),
text_font_base = "sans-serif",

+ 3
- 0
R/style_xaringan.R Wyświetl plik

@@ -200,6 +200,8 @@
#' element. Accepts CSS
#' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)
#' property values.
#' @param text_bold_font_weight Body Bold Text Font Weight. Defaults to bold.
#' Modifies the `strong` element.
#' @param text_font_url Body Text Font URL(s). Defaults to
#' `xaringanthemer_font_default("text_font_url")`. Modifies the
#' `@import url()` elements.
@@ -307,6 +309,7 @@ style_xaringan <- function(
text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"),
text_font_weight = xaringanthemer_font_default("text_font_weight"),
text_bold_font_weight = "bold",
text_font_url = xaringanthemer_font_default("text_font_url"),
text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"),
text_font_base = "sans-serif",

BIN
R/sysdata.rda Wyświetl plik


+ 1
- 0
data-raw/theme_template_variables.R Wyświetl plik

@@ -49,6 +49,7 @@ template_variables <- tibble::tribble(
, "text_font_google", "{NULL}", "body", "Use `google_font()` to specify body font", NA_character_
, "text_font_family", '{xaringanthemer_font_default("text_font_family")}', "body", "Body Text Font Family (xaringan default is `'Droid Serif'`)", "--text-font-family"
, "text_font_weight", '{xaringanthemer_font_default("text_font_weight")}', "body", "Body Text Font Weight", NA_character_
, "text_bold_font_weight", 'bold', "strong", "Body Bold Text Font Weight", NA_character_
, "text_font_url", '{xaringanthemer_font_default("text_font_url")}', "@import url()", "Body Text Font URL(s)", NA_character_
, "text_font_family_fallback", '{xaringanthemer_font_default("text_font_family_fallback")}', "body", "Body Text Font Fallbacks", "--text-font-family-fallback"
, "text_font_base", "sans-serif", "body", "Body Text Base Font (Total Failure Fallback)", "--text-font-base"

+ 4
- 3
inst/resources/template.css Wyświetl plik

@@ -110,9 +110,10 @@ h1, h2, h3 {
opacity: 1;
font-size: {{text_slide_number_font_size}};
}
{{#text_bold_color}}
strong { color: var(--text-bold-color); }
{{/text_bold_color}}
strong {
font-weight: {{text_bold_font_weight}};{{#text_bold_color}}
color: var(--text-bold-color);{{/text_bold_color}}
}
a, a > code {
color: var(--link-color);
text-decoration: none;

+ 4
- 0
man/style_duo.Rd Wyświetl plik

@@ -57,6 +57,7 @@ style_duo(
text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"),
text_font_weight = xaringanthemer_font_default("text_font_weight"),
text_bold_font_weight = "bold",
text_font_url = xaringanthemer_font_default("text_font_url"),
text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"),
text_font_base = "sans-serif",
@@ -337,6 +338,9 @@ element. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}
property values.}

\item{text_bold_font_weight}{Body Bold Text Font Weight. Defaults to bold.
Modifies the \code{strong} element.}

\item{text_font_url}{Body Text Font URL(s). Defaults to
\code{xaringanthemer_font_default("text_font_url")}. Modifies the
\verb{@import url()} elements.}

+ 4
- 0
man/style_duo_accent.Rd Wyświetl plik

@@ -62,6 +62,7 @@ style_duo_accent(
text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"),
text_font_weight = xaringanthemer_font_default("text_font_weight"),
text_bold_font_weight = "bold",
text_font_url = xaringanthemer_font_default("text_font_url"),
text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"),
text_font_base = "sans-serif",
@@ -356,6 +357,9 @@ element. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}
property values.}

\item{text_bold_font_weight}{Body Bold Text Font Weight. Defaults to bold.
Modifies the \code{strong} element.}

\item{text_font_url}{Body Text Font URL(s). Defaults to
\code{xaringanthemer_font_default("text_font_url")}. Modifies the
\verb{@import url()} elements.}

+ 4
- 0
man/style_duo_accent_inverse.Rd Wyświetl plik

@@ -63,6 +63,7 @@ style_duo_accent_inverse(
text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"),
text_font_weight = xaringanthemer_font_default("text_font_weight"),
text_bold_font_weight = "bold",
text_font_url = xaringanthemer_font_default("text_font_url"),
text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"),
text_font_base = "sans-serif",
@@ -358,6 +359,9 @@ element. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}
property values.}

\item{text_bold_font_weight}{Body Bold Text Font Weight. Defaults to bold.
Modifies the \code{strong} element.}

\item{text_font_url}{Body Text Font URL(s). Defaults to
\code{xaringanthemer_font_default("text_font_url")}. Modifies the
\verb{@import url()} elements.}

+ 4
- 0
man/style_mono_accent.Rd Wyświetl plik

@@ -57,6 +57,7 @@ style_mono_accent(
text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"),
text_font_weight = xaringanthemer_font_default("text_font_weight"),
text_bold_font_weight = "bold",
text_font_url = xaringanthemer_font_default("text_font_url"),
text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"),
text_font_base = "sans-serif",
@@ -341,6 +342,9 @@ element. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}
property values.}

\item{text_bold_font_weight}{Body Bold Text Font Weight. Defaults to bold.
Modifies the \code{strong} element.}

\item{text_font_url}{Body Text Font URL(s). Defaults to
\code{xaringanthemer_font_default("text_font_url")}. Modifies the
\verb{@import url()} elements.}

+ 4
- 0
man/style_mono_accent_inverse.Rd Wyświetl plik

@@ -57,6 +57,7 @@ style_mono_accent_inverse(
text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"),
text_font_weight = xaringanthemer_font_default("text_font_weight"),
text_bold_font_weight = "bold",
text_font_url = xaringanthemer_font_default("text_font_url"),
text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"),
text_font_base = "sans-serif",
@@ -342,6 +343,9 @@ element. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}
property values.}

\item{text_bold_font_weight}{Body Bold Text Font Weight. Defaults to bold.
Modifies the \code{strong} element.}

\item{text_font_url}{Body Text Font URL(s). Defaults to
\code{xaringanthemer_font_default("text_font_url")}. Modifies the
\verb{@import url()} elements.}

+ 4
- 0
man/style_mono_dark.Rd Wyświetl plik

@@ -57,6 +57,7 @@ style_mono_dark(
text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"),
text_font_weight = xaringanthemer_font_default("text_font_weight"),
text_bold_font_weight = "bold",
text_font_url = xaringanthemer_font_default("text_font_url"),
text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"),
text_font_base = "sans-serif",
@@ -343,6 +344,9 @@ element. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}
property values.}

\item{text_bold_font_weight}{Body Bold Text Font Weight. Defaults to bold.
Modifies the \code{strong} element.}

\item{text_font_url}{Body Text Font URL(s). Defaults to
\code{xaringanthemer_font_default("text_font_url")}. Modifies the
\verb{@import url()} elements.}

+ 4
- 0
man/style_mono_light.Rd Wyświetl plik

@@ -57,6 +57,7 @@ style_mono_light(
text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"),
text_font_weight = xaringanthemer_font_default("text_font_weight"),
text_bold_font_weight = "bold",
text_font_url = xaringanthemer_font_default("text_font_url"),
text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"),
text_font_base = "sans-serif",
@@ -343,6 +344,9 @@ element. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}
property values.}

\item{text_bold_font_weight}{Body Bold Text Font Weight. Defaults to bold.
Modifies the \code{strong} element.}

\item{text_font_url}{Body Text Font URL(s). Defaults to
\code{xaringanthemer_font_default("text_font_url")}. Modifies the
\verb{@import url()} elements.}

+ 4
- 0
man/style_solarized_dark.Rd Wyświetl plik

@@ -54,6 +54,7 @@ style_solarized_dark(
text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"),
text_font_weight = xaringanthemer_font_default("text_font_weight"),
text_bold_font_weight = "bold",
text_font_url = xaringanthemer_font_default("text_font_url"),
text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"),
text_font_base = "sans-serif",
@@ -322,6 +323,9 @@ element. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}
property values.}

\item{text_bold_font_weight}{Body Bold Text Font Weight. Defaults to bold.
Modifies the \code{strong} element.}

\item{text_font_url}{Body Text Font URL(s). Defaults to
\code{xaringanthemer_font_default("text_font_url")}. Modifies the
\verb{@import url()} elements.}

+ 4
- 0
man/style_solarized_light.Rd Wyświetl plik

@@ -54,6 +54,7 @@ style_solarized_light(
text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"),
text_font_weight = xaringanthemer_font_default("text_font_weight"),
text_bold_font_weight = "bold",
text_font_url = xaringanthemer_font_default("text_font_url"),
text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"),
text_font_base = "sans-serif",
@@ -322,6 +323,9 @@ element. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}
property values.}

\item{text_bold_font_weight}{Body Bold Text Font Weight. Defaults to bold.
Modifies the \code{strong} element.}

\item{text_font_url}{Body Text Font URL(s). Defaults to
\code{xaringanthemer_font_default("text_font_url")}. Modifies the
\verb{@import url()} elements.}

+ 4
- 0
man/style_xaringan.Rd Wyświetl plik

@@ -57,6 +57,7 @@ style_xaringan(
text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"),
text_font_weight = xaringanthemer_font_default("text_font_weight"),
text_bold_font_weight = "bold",
text_font_url = xaringanthemer_font_default("text_font_url"),
text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"),
text_font_base = "sans-serif",
@@ -328,6 +329,9 @@ element. Accepts CSS
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}
property values.}

\item{text_bold_font_weight}{Body Bold Text Font Weight. Defaults to bold.
Modifies the \code{strong} element.}

\item{text_font_url}{Body Text Font URL(s). Defaults to
\code{xaringanthemer_font_default("text_font_url")}. Modifies the
\verb{@import url()} elements.}

+ 4
- 1
tests/testthat/css/duo-header_bg.css Wyświetl plik

@@ -106,7 +106,10 @@ h1, h2, h3 {
opacity: 1;
font-size: 0.9em;
}
strong { color: var(--text-bold-color); }
strong {
font-weight: bold;
color: var(--text-bold-color);
}
a, a > code {
color: var(--link-color);
text-decoration: none;

+ 4
- 1
tests/testthat/css/duo.css Wyświetl plik

@@ -106,7 +106,10 @@ h1, h2, h3 {
opacity: 1;
font-size: 0.9em;
}
strong { color: var(--text-bold-color); }
strong {
font-weight: bold;
color: var(--text-bold-color);
}
a, a > code {
color: var(--link-color);
text-decoration: none;

+ 4
- 1
tests/testthat/css/duo_accent.css Wyświetl plik

@@ -108,7 +108,10 @@ h1, h2, h3 {
opacity: 1;
font-size: 0.9em;
}
strong { color: var(--text-bold-color); }
strong {
font-weight: bold;
color: var(--text-bold-color);
}
a, a > code {
color: var(--link-color);
text-decoration: none;

+ 4
- 1
tests/testthat/css/duo_accent_inverse.css Wyświetl plik

@@ -108,7 +108,10 @@ h1, h2, h3 {
opacity: 1;
font-size: 0.9em;
}
strong { color: var(--text-bold-color); }
strong {
font-weight: bold;
color: var(--text-bold-color);
}
a, a > code {
color: var(--link-color);
text-decoration: none;

+ 3
- 0
tests/testthat/css/google_fonts.css Wyświetl plik

@@ -103,6 +103,9 @@ h1, h2, h3 {
opacity: 1;
font-size: 0.9em;
}
strong {
font-weight: bold;
}
a, a > code {
color: var(--link-color);
text-decoration: none;

+ 4
- 1
tests/testthat/css/mono_accent.css Wyświetl plik

@@ -107,7 +107,10 @@ h1, h2, h3 {
opacity: 1;
font-size: 0.9em;
}
strong { color: var(--text-bold-color); }
strong {
font-weight: bold;
color: var(--text-bold-color);
}
a, a > code {
color: var(--link-color);
text-decoration: none;

+ 4
- 1
tests/testthat/css/mono_accent_inverse.css Wyświetl plik

@@ -107,7 +107,10 @@ h1, h2, h3 {
opacity: 1;
font-size: 0.9em;
}
strong { color: var(--text-bold-color); }
strong {
font-weight: bold;
color: var(--text-bold-color);
}
a, a > code {
color: var(--link-color);
text-decoration: none;

+ 4
- 1
tests/testthat/css/mono_dark.css Wyświetl plik

@@ -107,7 +107,10 @@ h1, h2, h3 {
opacity: 1;
font-size: 0.9em;
}
strong { color: var(--text-bold-color); }
strong {
font-weight: bold;
color: var(--text-bold-color);
}
a, a > code {
color: var(--link-color);
text-decoration: none;

+ 4
- 1
tests/testthat/css/mono_light-header_bg.css Wyświetl plik

@@ -107,7 +107,10 @@ h1, h2, h3 {
opacity: 1;
font-size: 0.9em;
}
strong { color: var(--text-bold-color); }
strong {
font-weight: bold;
color: var(--text-bold-color);
}
a, a > code {
color: var(--link-color);
text-decoration: none;

+ 4
- 1
tests/testthat/css/mono_light.css Wyświetl plik

@@ -107,7 +107,10 @@ h1, h2, h3 {
opacity: 1;
font-size: 0.9em;
}
strong { color: var(--text-bold-color); }
strong {
font-weight: bold;
color: var(--text-bold-color);
}
a, a > code {
color: var(--link-color);
text-decoration: none;

+ 4
- 1
tests/testthat/css/solarized_dark-header_bg.css Wyświetl plik

@@ -104,7 +104,10 @@ h1, h2, h3 {
opacity: 1;
font-size: 0.9em;
}
strong { color: var(--text-bold-color); }
strong {
font-weight: bold;
color: var(--text-bold-color);
}
a, a > code {
color: var(--link-color);
text-decoration: none;

+ 4
- 1
tests/testthat/css/solarized_dark.css Wyświetl plik

@@ -104,7 +104,10 @@ h1, h2, h3 {
opacity: 1;
font-size: 0.9em;
}
strong { color: var(--text-bold-color); }
strong {
font-weight: bold;
color: var(--text-bold-color);
}
a, a > code {
color: var(--link-color);
text-decoration: none;

+ 4
- 1
tests/testthat/css/solarized_light.css Wyświetl plik

@@ -104,7 +104,10 @@ h1, h2, h3 {
opacity: 1;
font-size: 0.9em;
}
strong { color: var(--text-bold-color); }
strong {
font-weight: bold;
color: var(--text-bold-color);
}
a, a > code {
color: var(--link-color);
text-decoration: none;

+ 3
- 0
tests/testthat/css/xaringan.css Wyświetl plik

@@ -104,6 +104,9 @@ h1, h2, h3 {
opacity: 1;
font-size: 0.9em;
}
strong {
font-weight: bold;
}
a, a > code {
color: var(--link-color);
text-decoration: none;

Ładowanie…
Anuluj
Zapisz