Просмотр исходного кода

Add text_bold_font_weight argument and css rule

Fixes #50
tags/v0.4.0
Garrick Aden-Buie 5 лет назад
Родитель
Сommit
ff02422e23
38 измененных файлов: 133 добавлений и 15 удалений
  1. +4
    -0
      NEWS.md
  2. +3
    -0
      R/style_duo.R
  3. +3
    -0
      R/style_duo_accent.R
  4. +3
    -0
      R/style_duo_accent_inverse.R
  5. +3
    -0
      R/style_mono_accent.R
  6. +3
    -0
      R/style_mono_accent_inverse.R
  7. +3
    -0
      R/style_mono_dark.R
  8. +3
    -0
      R/style_mono_light.R
  9. +3
    -0
      R/style_solarized_dark.R
  10. +3
    -0
      R/style_solarized_light.R
  11. +3
    -0
      R/style_xaringan.R
  12. Двоичные данные
      R/sysdata.rda
  13. +1
    -0
      data-raw/theme_template_variables.R
  14. +4
    -3
      inst/resources/template.css
  15. +4
    -0
      man/style_duo.Rd
  16. +4
    -0
      man/style_duo_accent.Rd
  17. +4
    -0
      man/style_duo_accent_inverse.Rd
  18. +4
    -0
      man/style_mono_accent.Rd
  19. +4
    -0
      man/style_mono_accent_inverse.Rd
  20. +4
    -0
      man/style_mono_dark.Rd
  21. +4
    -0
      man/style_mono_light.Rd
  22. +4
    -0
      man/style_solarized_dark.Rd
  23. +4
    -0
      man/style_solarized_light.Rd
  24. +4
    -0
      man/style_xaringan.Rd
  25. +4
    -1
      tests/testthat/css/duo-header_bg.css
  26. +4
    -1
      tests/testthat/css/duo.css
  27. +4
    -1
      tests/testthat/css/duo_accent.css
  28. +4
    -1
      tests/testthat/css/duo_accent_inverse.css
  29. +3
    -0
      tests/testthat/css/google_fonts.css
  30. +4
    -1
      tests/testthat/css/mono_accent.css
  31. +4
    -1
      tests/testthat/css/mono_accent_inverse.css
  32. +4
    -1
      tests/testthat/css/mono_dark.css
  33. +4
    -1
      tests/testthat/css/mono_light-header_bg.css
  34. +4
    -1
      tests/testthat/css/mono_light.css
  35. +4
    -1
      tests/testthat/css/solarized_dark-header_bg.css
  36. +4
    -1
      tests/testthat/css/solarized_dark.css
  37. +4
    -1
      tests/testthat/css/solarized_light.css
  38. +3
    -0
      tests/testthat/css/xaringan.css

+ 4
- 0
NEWS.md Просмотреть файл

# xaringanthemer (development version) # 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 # xaringanthemes 0.3.4


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

+ 3
- 0
R/style_duo.R Просмотреть файл

#' element. Accepts CSS #' element. Accepts CSS
#' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight) #' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)
#' property values. #' 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 #' @param text_font_url Body Text Font URL(s). Defaults to
#' `xaringanthemer_font_default("text_font_url")`. Modifies the #' `xaringanthemer_font_default("text_font_url")`. Modifies the
#' `@import url()` elements. #' `@import url()` elements.
text_font_google = NULL, text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"), text_font_family = xaringanthemer_font_default("text_font_family"),
text_font_weight = xaringanthemer_font_default("text_font_weight"), 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_url = xaringanthemer_font_default("text_font_url"),
text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"), text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"),
text_font_base = "sans-serif", text_font_base = "sans-serif",

+ 3
- 0
R/style_duo_accent.R Просмотреть файл

#' element. Accepts CSS #' element. Accepts CSS
#' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight) #' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)
#' property values. #' 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 #' @param text_font_url Body Text Font URL(s). Defaults to
#' `xaringanthemer_font_default("text_font_url")`. Modifies the #' `xaringanthemer_font_default("text_font_url")`. Modifies the
#' `@import url()` elements. #' `@import url()` elements.
text_font_google = NULL, text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"), text_font_family = xaringanthemer_font_default("text_font_family"),
text_font_weight = xaringanthemer_font_default("text_font_weight"), 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_url = xaringanthemer_font_default("text_font_url"),
text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"), text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"),
text_font_base = "sans-serif", text_font_base = "sans-serif",

+ 3
- 0
R/style_duo_accent_inverse.R Просмотреть файл

#' element. Accepts CSS #' element. Accepts CSS
#' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight) #' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)
#' property values. #' 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 #' @param text_font_url Body Text Font URL(s). Defaults to
#' `xaringanthemer_font_default("text_font_url")`. Modifies the #' `xaringanthemer_font_default("text_font_url")`. Modifies the
#' `@import url()` elements. #' `@import url()` elements.
text_font_google = NULL, text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"), text_font_family = xaringanthemer_font_default("text_font_family"),
text_font_weight = xaringanthemer_font_default("text_font_weight"), 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_url = xaringanthemer_font_default("text_font_url"),
text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"), text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"),
text_font_base = "sans-serif", text_font_base = "sans-serif",

+ 3
- 0
R/style_mono_accent.R Просмотреть файл

#' element. Accepts CSS #' element. Accepts CSS
#' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight) #' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)
#' property values. #' 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 #' @param text_font_url Body Text Font URL(s). Defaults to
#' `xaringanthemer_font_default("text_font_url")`. Modifies the #' `xaringanthemer_font_default("text_font_url")`. Modifies the
#' `@import url()` elements. #' `@import url()` elements.
text_font_google = NULL, text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"), text_font_family = xaringanthemer_font_default("text_font_family"),
text_font_weight = xaringanthemer_font_default("text_font_weight"), 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_url = xaringanthemer_font_default("text_font_url"),
text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"), text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"),
text_font_base = "sans-serif", text_font_base = "sans-serif",

+ 3
- 0
R/style_mono_accent_inverse.R Просмотреть файл

#' element. Accepts CSS #' element. Accepts CSS
#' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight) #' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)
#' property values. #' 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 #' @param text_font_url Body Text Font URL(s). Defaults to
#' `xaringanthemer_font_default("text_font_url")`. Modifies the #' `xaringanthemer_font_default("text_font_url")`. Modifies the
#' `@import url()` elements. #' `@import url()` elements.
text_font_google = NULL, text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"), text_font_family = xaringanthemer_font_default("text_font_family"),
text_font_weight = xaringanthemer_font_default("text_font_weight"), 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_url = xaringanthemer_font_default("text_font_url"),
text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"), text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"),
text_font_base = "sans-serif", text_font_base = "sans-serif",

+ 3
- 0
R/style_mono_dark.R Просмотреть файл

#' element. Accepts CSS #' element. Accepts CSS
#' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight) #' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)
#' property values. #' 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 #' @param text_font_url Body Text Font URL(s). Defaults to
#' `xaringanthemer_font_default("text_font_url")`. Modifies the #' `xaringanthemer_font_default("text_font_url")`. Modifies the
#' `@import url()` elements. #' `@import url()` elements.
text_font_google = NULL, text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"), text_font_family = xaringanthemer_font_default("text_font_family"),
text_font_weight = xaringanthemer_font_default("text_font_weight"), 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_url = xaringanthemer_font_default("text_font_url"),
text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"), text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"),
text_font_base = "sans-serif", text_font_base = "sans-serif",

+ 3
- 0
R/style_mono_light.R Просмотреть файл

#' element. Accepts CSS #' element. Accepts CSS
#' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight) #' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)
#' property values. #' 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 #' @param text_font_url Body Text Font URL(s). Defaults to
#' `xaringanthemer_font_default("text_font_url")`. Modifies the #' `xaringanthemer_font_default("text_font_url")`. Modifies the
#' `@import url()` elements. #' `@import url()` elements.
text_font_google = NULL, text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"), text_font_family = xaringanthemer_font_default("text_font_family"),
text_font_weight = xaringanthemer_font_default("text_font_weight"), 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_url = xaringanthemer_font_default("text_font_url"),
text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"), text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"),
text_font_base = "sans-serif", text_font_base = "sans-serif",

+ 3
- 0
R/style_solarized_dark.R Просмотреть файл

#' element. Accepts CSS #' element. Accepts CSS
#' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight) #' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)
#' property values. #' 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 #' @param text_font_url Body Text Font URL(s). Defaults to
#' `xaringanthemer_font_default("text_font_url")`. Modifies the #' `xaringanthemer_font_default("text_font_url")`. Modifies the
#' `@import url()` elements. #' `@import url()` elements.
text_font_google = NULL, text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"), text_font_family = xaringanthemer_font_default("text_font_family"),
text_font_weight = xaringanthemer_font_default("text_font_weight"), 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_url = xaringanthemer_font_default("text_font_url"),
text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"), text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"),
text_font_base = "sans-serif", text_font_base = "sans-serif",

+ 3
- 0
R/style_solarized_light.R Просмотреть файл

#' element. Accepts CSS #' element. Accepts CSS
#' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight) #' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)
#' property values. #' 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 #' @param text_font_url Body Text Font URL(s). Defaults to
#' `xaringanthemer_font_default("text_font_url")`. Modifies the #' `xaringanthemer_font_default("text_font_url")`. Modifies the
#' `@import url()` elements. #' `@import url()` elements.
text_font_google = NULL, text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"), text_font_family = xaringanthemer_font_default("text_font_family"),
text_font_weight = xaringanthemer_font_default("text_font_weight"), 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_url = xaringanthemer_font_default("text_font_url"),
text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"), text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"),
text_font_base = "sans-serif", text_font_base = "sans-serif",

+ 3
- 0
R/style_xaringan.R Просмотреть файл

#' element. Accepts CSS #' element. Accepts CSS
#' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight) #' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)
#' property values. #' 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 #' @param text_font_url Body Text Font URL(s). Defaults to
#' `xaringanthemer_font_default("text_font_url")`. Modifies the #' `xaringanthemer_font_default("text_font_url")`. Modifies the
#' `@import url()` elements. #' `@import url()` elements.
text_font_google = NULL, text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"), text_font_family = xaringanthemer_font_default("text_font_family"),
text_font_weight = xaringanthemer_font_default("text_font_weight"), 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_url = xaringanthemer_font_default("text_font_url"),
text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"), text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"),
text_font_base = "sans-serif", text_font_base = "sans-serif",

Двоичные данные
R/sysdata.rda Просмотреть файл


+ 1
- 0
data-raw/theme_template_variables.R Просмотреть файл

, "text_font_google", "{NULL}", "body", "Use `google_font()` to specify body font", NA_character_ , "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_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_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_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_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" , "text_font_base", "sans-serif", "body", "Body Text Base Font (Total Failure Fallback)", "--text-font-base"

+ 4
- 3
inst/resources/template.css Просмотреть файл

opacity: 1; opacity: 1;
font-size: {{text_slide_number_font_size}}; 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 { a, a > code {
color: var(--link-color); color: var(--link-color);
text-decoration: none; text-decoration: none;

+ 4
- 0
man/style_duo.Rd Просмотреть файл

text_font_google = NULL, text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"), text_font_family = xaringanthemer_font_default("text_font_family"),
text_font_weight = xaringanthemer_font_default("text_font_weight"), 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_url = xaringanthemer_font_default("text_font_url"),
text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"), text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"),
text_font_base = "sans-serif", text_font_base = "sans-serif",
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight} \href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}
property values.} 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 \item{text_font_url}{Body Text Font URL(s). Defaults to
\code{xaringanthemer_font_default("text_font_url")}. Modifies the \code{xaringanthemer_font_default("text_font_url")}. Modifies the
\verb{@import url()} elements.} \verb{@import url()} elements.}

+ 4
- 0
man/style_duo_accent.Rd Просмотреть файл

text_font_google = NULL, text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"), text_font_family = xaringanthemer_font_default("text_font_family"),
text_font_weight = xaringanthemer_font_default("text_font_weight"), 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_url = xaringanthemer_font_default("text_font_url"),
text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"), text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"),
text_font_base = "sans-serif", text_font_base = "sans-serif",
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight} \href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}
property values.} 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 \item{text_font_url}{Body Text Font URL(s). Defaults to
\code{xaringanthemer_font_default("text_font_url")}. Modifies the \code{xaringanthemer_font_default("text_font_url")}. Modifies the
\verb{@import url()} elements.} \verb{@import url()} elements.}

+ 4
- 0
man/style_duo_accent_inverse.Rd Просмотреть файл

text_font_google = NULL, text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"), text_font_family = xaringanthemer_font_default("text_font_family"),
text_font_weight = xaringanthemer_font_default("text_font_weight"), 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_url = xaringanthemer_font_default("text_font_url"),
text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"), text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"),
text_font_base = "sans-serif", text_font_base = "sans-serif",
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight} \href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}
property values.} 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 \item{text_font_url}{Body Text Font URL(s). Defaults to
\code{xaringanthemer_font_default("text_font_url")}. Modifies the \code{xaringanthemer_font_default("text_font_url")}. Modifies the
\verb{@import url()} elements.} \verb{@import url()} elements.}

+ 4
- 0
man/style_mono_accent.Rd Просмотреть файл

text_font_google = NULL, text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"), text_font_family = xaringanthemer_font_default("text_font_family"),
text_font_weight = xaringanthemer_font_default("text_font_weight"), 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_url = xaringanthemer_font_default("text_font_url"),
text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"), text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"),
text_font_base = "sans-serif", text_font_base = "sans-serif",
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight} \href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}
property values.} 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 \item{text_font_url}{Body Text Font URL(s). Defaults to
\code{xaringanthemer_font_default("text_font_url")}. Modifies the \code{xaringanthemer_font_default("text_font_url")}. Modifies the
\verb{@import url()} elements.} \verb{@import url()} elements.}

+ 4
- 0
man/style_mono_accent_inverse.Rd Просмотреть файл

text_font_google = NULL, text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"), text_font_family = xaringanthemer_font_default("text_font_family"),
text_font_weight = xaringanthemer_font_default("text_font_weight"), 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_url = xaringanthemer_font_default("text_font_url"),
text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"), text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"),
text_font_base = "sans-serif", text_font_base = "sans-serif",
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight} \href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}
property values.} 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 \item{text_font_url}{Body Text Font URL(s). Defaults to
\code{xaringanthemer_font_default("text_font_url")}. Modifies the \code{xaringanthemer_font_default("text_font_url")}. Modifies the
\verb{@import url()} elements.} \verb{@import url()} elements.}

+ 4
- 0
man/style_mono_dark.Rd Просмотреть файл

text_font_google = NULL, text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"), text_font_family = xaringanthemer_font_default("text_font_family"),
text_font_weight = xaringanthemer_font_default("text_font_weight"), 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_url = xaringanthemer_font_default("text_font_url"),
text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"), text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"),
text_font_base = "sans-serif", text_font_base = "sans-serif",
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight} \href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}
property values.} 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 \item{text_font_url}{Body Text Font URL(s). Defaults to
\code{xaringanthemer_font_default("text_font_url")}. Modifies the \code{xaringanthemer_font_default("text_font_url")}. Modifies the
\verb{@import url()} elements.} \verb{@import url()} elements.}

+ 4
- 0
man/style_mono_light.Rd Просмотреть файл

text_font_google = NULL, text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"), text_font_family = xaringanthemer_font_default("text_font_family"),
text_font_weight = xaringanthemer_font_default("text_font_weight"), 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_url = xaringanthemer_font_default("text_font_url"),
text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"), text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"),
text_font_base = "sans-serif", text_font_base = "sans-serif",
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight} \href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}
property values.} 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 \item{text_font_url}{Body Text Font URL(s). Defaults to
\code{xaringanthemer_font_default("text_font_url")}. Modifies the \code{xaringanthemer_font_default("text_font_url")}. Modifies the
\verb{@import url()} elements.} \verb{@import url()} elements.}

+ 4
- 0
man/style_solarized_dark.Rd Просмотреть файл

text_font_google = NULL, text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"), text_font_family = xaringanthemer_font_default("text_font_family"),
text_font_weight = xaringanthemer_font_default("text_font_weight"), 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_url = xaringanthemer_font_default("text_font_url"),
text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"), text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"),
text_font_base = "sans-serif", text_font_base = "sans-serif",
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight} \href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}
property values.} 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 \item{text_font_url}{Body Text Font URL(s). Defaults to
\code{xaringanthemer_font_default("text_font_url")}. Modifies the \code{xaringanthemer_font_default("text_font_url")}. Modifies the
\verb{@import url()} elements.} \verb{@import url()} elements.}

+ 4
- 0
man/style_solarized_light.Rd Просмотреть файл

text_font_google = NULL, text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"), text_font_family = xaringanthemer_font_default("text_font_family"),
text_font_weight = xaringanthemer_font_default("text_font_weight"), 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_url = xaringanthemer_font_default("text_font_url"),
text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"), text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"),
text_font_base = "sans-serif", text_font_base = "sans-serif",
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight} \href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}
property values.} 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 \item{text_font_url}{Body Text Font URL(s). Defaults to
\code{xaringanthemer_font_default("text_font_url")}. Modifies the \code{xaringanthemer_font_default("text_font_url")}. Modifies the
\verb{@import url()} elements.} \verb{@import url()} elements.}

+ 4
- 0
man/style_xaringan.Rd Просмотреть файл

text_font_google = NULL, text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"), text_font_family = xaringanthemer_font_default("text_font_family"),
text_font_weight = xaringanthemer_font_default("text_font_weight"), 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_url = xaringanthemer_font_default("text_font_url"),
text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"), text_font_family_fallback = xaringanthemer_font_default("text_font_family_fallback"),
text_font_base = "sans-serif", text_font_base = "sans-serif",
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight} \href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}
property values.} 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 \item{text_font_url}{Body Text Font URL(s). Defaults to
\code{xaringanthemer_font_default("text_font_url")}. Modifies the \code{xaringanthemer_font_default("text_font_url")}. Modifies the
\verb{@import url()} elements.} \verb{@import url()} elements.}

+ 4
- 1
tests/testthat/css/duo-header_bg.css Просмотреть файл

opacity: 1; opacity: 1;
font-size: 0.9em; font-size: 0.9em;
} }
strong { color: var(--text-bold-color); }
strong {
font-weight: bold;
color: var(--text-bold-color);
}
a, a > code { a, a > code {
color: var(--link-color); color: var(--link-color);
text-decoration: none; text-decoration: none;

+ 4
- 1
tests/testthat/css/duo.css Просмотреть файл

opacity: 1; opacity: 1;
font-size: 0.9em; font-size: 0.9em;
} }
strong { color: var(--text-bold-color); }
strong {
font-weight: bold;
color: var(--text-bold-color);
}
a, a > code { a, a > code {
color: var(--link-color); color: var(--link-color);
text-decoration: none; text-decoration: none;

+ 4
- 1
tests/testthat/css/duo_accent.css Просмотреть файл

opacity: 1; opacity: 1;
font-size: 0.9em; font-size: 0.9em;
} }
strong { color: var(--text-bold-color); }
strong {
font-weight: bold;
color: var(--text-bold-color);
}
a, a > code { a, a > code {
color: var(--link-color); color: var(--link-color);
text-decoration: none; text-decoration: none;

+ 4
- 1
tests/testthat/css/duo_accent_inverse.css Просмотреть файл

opacity: 1; opacity: 1;
font-size: 0.9em; font-size: 0.9em;
} }
strong { color: var(--text-bold-color); }
strong {
font-weight: bold;
color: var(--text-bold-color);
}
a, a > code { a, a > code {
color: var(--link-color); color: var(--link-color);
text-decoration: none; text-decoration: none;

+ 3
- 0
tests/testthat/css/google_fonts.css Просмотреть файл

opacity: 1; opacity: 1;
font-size: 0.9em; font-size: 0.9em;
} }
strong {
font-weight: bold;
}
a, a > code { a, a > code {
color: var(--link-color); color: var(--link-color);
text-decoration: none; text-decoration: none;

+ 4
- 1
tests/testthat/css/mono_accent.css Просмотреть файл

opacity: 1; opacity: 1;
font-size: 0.9em; font-size: 0.9em;
} }
strong { color: var(--text-bold-color); }
strong {
font-weight: bold;
color: var(--text-bold-color);
}
a, a > code { a, a > code {
color: var(--link-color); color: var(--link-color);
text-decoration: none; text-decoration: none;

+ 4
- 1
tests/testthat/css/mono_accent_inverse.css Просмотреть файл

opacity: 1; opacity: 1;
font-size: 0.9em; font-size: 0.9em;
} }
strong { color: var(--text-bold-color); }
strong {
font-weight: bold;
color: var(--text-bold-color);
}
a, a > code { a, a > code {
color: var(--link-color); color: var(--link-color);
text-decoration: none; text-decoration: none;

+ 4
- 1
tests/testthat/css/mono_dark.css Просмотреть файл

opacity: 1; opacity: 1;
font-size: 0.9em; font-size: 0.9em;
} }
strong { color: var(--text-bold-color); }
strong {
font-weight: bold;
color: var(--text-bold-color);
}
a, a > code { a, a > code {
color: var(--link-color); color: var(--link-color);
text-decoration: none; text-decoration: none;

+ 4
- 1
tests/testthat/css/mono_light-header_bg.css Просмотреть файл

opacity: 1; opacity: 1;
font-size: 0.9em; font-size: 0.9em;
} }
strong { color: var(--text-bold-color); }
strong {
font-weight: bold;
color: var(--text-bold-color);
}
a, a > code { a, a > code {
color: var(--link-color); color: var(--link-color);
text-decoration: none; text-decoration: none;

+ 4
- 1
tests/testthat/css/mono_light.css Просмотреть файл

opacity: 1; opacity: 1;
font-size: 0.9em; font-size: 0.9em;
} }
strong { color: var(--text-bold-color); }
strong {
font-weight: bold;
color: var(--text-bold-color);
}
a, a > code { a, a > code {
color: var(--link-color); color: var(--link-color);
text-decoration: none; text-decoration: none;

+ 4
- 1
tests/testthat/css/solarized_dark-header_bg.css Просмотреть файл

opacity: 1; opacity: 1;
font-size: 0.9em; font-size: 0.9em;
} }
strong { color: var(--text-bold-color); }
strong {
font-weight: bold;
color: var(--text-bold-color);
}
a, a > code { a, a > code {
color: var(--link-color); color: var(--link-color);
text-decoration: none; text-decoration: none;

+ 4
- 1
tests/testthat/css/solarized_dark.css Просмотреть файл

opacity: 1; opacity: 1;
font-size: 0.9em; font-size: 0.9em;
} }
strong { color: var(--text-bold-color); }
strong {
font-weight: bold;
color: var(--text-bold-color);
}
a, a > code { a, a > code {
color: var(--link-color); color: var(--link-color);
text-decoration: none; text-decoration: none;

+ 4
- 1
tests/testthat/css/solarized_light.css Просмотреть файл

opacity: 1; opacity: 1;
font-size: 0.9em; font-size: 0.9em;
} }
strong { color: var(--text-bold-color); }
strong {
font-weight: bold;
color: var(--text-bold-color);
}
a, a > code { a, a > code {
color: var(--link-color); color: var(--link-color);
text-decoration: none; text-decoration: none;

+ 3
- 0
tests/testthat/css/xaringan.css Просмотреть файл

opacity: 1; opacity: 1;
font-size: 0.9em; font-size: 0.9em;
} }
strong {
font-weight: bold;
}
a, a > code { a, a > code {
color: var(--link-color); color: var(--link-color);
text-decoration: none; text-decoration: none;

Загрузка…
Отмена
Сохранить