Ver código fonte

Use system font stack for fallbacks

tags/v0.3.0
Garrick Aden-Buie 6 anos atrás
pai
commit
d1cefe7fc6
34 arquivos alterados com 162 adições e 162 exclusões
  1. +6
    -6
      R/style_duo.R
  2. +6
    -6
      R/style_duo_accent.R
  3. +6
    -6
      R/style_duo_accent_inverse.R
  4. +6
    -6
      R/style_mono_accent.R
  5. +6
    -6
      R/style_mono_accent_inverse.R
  6. +6
    -6
      R/style_mono_dark.R
  7. +6
    -6
      R/style_mono_light.R
  8. +6
    -6
      R/style_solarized_dark.R
  9. +6
    -6
      R/style_solarized_light.R
  10. +6
    -6
      R/style_xaringan.R
  11. +3
    -3
      R/theme_settings.R
  12. +6
    -6
      man/style_duo.Rd
  13. +6
    -6
      man/style_duo_accent.Rd
  14. +6
    -6
      man/style_duo_accent_inverse.Rd
  15. +6
    -6
      man/style_mono_accent.Rd
  16. +6
    -6
      man/style_mono_accent_inverse.Rd
  17. +6
    -6
      man/style_mono_dark.Rd
  18. +6
    -6
      man/style_mono_light.Rd
  19. +6
    -6
      man/style_solarized_dark.Rd
  20. +6
    -6
      man/style_solarized_light.Rd
  21. +6
    -6
      man/style_xaringan.Rd
  22. +3
    -3
      tests/testthat/css/duo-header_bg.css
  23. +3
    -3
      tests/testthat/css/duo.css
  24. +3
    -3
      tests/testthat/css/duo_accent.css
  25. +3
    -3
      tests/testthat/css/duo_accent_inverse.css
  26. +3
    -3
      tests/testthat/css/mono_accent.css
  27. +3
    -3
      tests/testthat/css/mono_accent_inverse.css
  28. +3
    -3
      tests/testthat/css/mono_dark.css
  29. +3
    -3
      tests/testthat/css/mono_light-header_bg.css
  30. +3
    -3
      tests/testthat/css/mono_light.css
  31. +3
    -3
      tests/testthat/css/solarized_dark-header_bg.css
  32. +3
    -3
      tests/testthat/css/solarized_dark.css
  33. +3
    -3
      tests/testthat/css/solarized_light.css
  34. +3
    -3
      tests/testthat/css/xaringan.css

+ 6
- 6
R/style_duo.R Ver arquivo

@@ -48,8 +48,8 @@
#' @param text_font_family Body Text Font Family (xaringan default is `'Droid Serif'`). Defaults to Noto Sans. Modifies the `body` element.
#' @param text_font_weight Body Text Font Weight. Defaults to normal. Modifies the `body` element.
#' @param text_font_url Body Text Font URL(s). Defaults to https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap. Modifies the `@import url()` elements.
#' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'. Modifies the `body` element.
#' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults to serif. Modifies the `body` element.
#' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial. Modifies the `body` element.
#' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults to sans-serif. Modifies the `body` element.
#' @param header_font_google Use `google_font()` to specify header font. Defaults to `NULL`. Modifies the `body` element.
#' @param header_font_family Header Font Family (xaringan default is `'Yanone Kaffeesatz'`). Defaults to Cabin. Modifies the `h1, h2, h3` elements.
#' @param header_font_weight Header Font Weight. Defaults to 600. Modifies the `h1, h2, h3` elements.
@@ -58,7 +58,7 @@
#' @param code_font_family Code Font Family. Defaults to Source Code Pro. Modifies the `.remark-code, .remark-inline-code` classes.
#' @param code_font_size Code Text Font Size. Defaults to 0.9rem. Modifies the `.remark-inline` class.
#' @param code_font_url Code Font URL. Defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap. Modifies the `@import url` elements.
#' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes.
#' @param code_font_family_fallback Code Font Fallback. Defaults to Menlo, Consolas, Monaco, Liberation Mono, Lucida Console. Modifies the `.remark-code, .remark-inline-code` classes.
#' @template theme_params
#' @template style_duo
#' @family Duotone themes
@@ -114,8 +114,8 @@ style_duo <- function(
text_font_family = "Noto Sans",
text_font_weight = "normal",
text_font_url = "https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap",
text_font_family_fallback = "'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'",
text_font_base = "serif",
text_font_family_fallback = "-apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial",
text_font_base = "sans-serif",
header_font_google = NULL,
header_font_family = "Cabin",
header_font_weight = "600",
@@ -124,7 +124,7 @@ style_duo <- function(
code_font_family = "Source Code Pro",
code_font_size = "0.9rem",
code_font_url = "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap",
code_font_family_fallback = "'Lucida Console', Monaco",
code_font_family_fallback = "Menlo, Consolas, Monaco, Liberation Mono, Lucida Console",
colors = NULL,
extra_css = NULL,
extra_fonts = NULL,

+ 6
- 6
R/style_duo_accent.R Ver arquivo

@@ -50,8 +50,8 @@
#' @param text_font_family Body Text Font Family (xaringan default is `'Droid Serif'`). Defaults to Noto Sans. Modifies the `body` element.
#' @param text_font_weight Body Text Font Weight. Defaults to normal. Modifies the `body` element.
#' @param text_font_url Body Text Font URL(s). Defaults to https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap. Modifies the `@import url()` elements.
#' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'. Modifies the `body` element.
#' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults to serif. Modifies the `body` element.
#' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial. Modifies the `body` element.
#' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults to sans-serif. Modifies the `body` element.
#' @param header_font_google Use `google_font()` to specify header font. Defaults to `NULL`. Modifies the `body` element.
#' @param header_font_family Header Font Family (xaringan default is `'Yanone Kaffeesatz'`). Defaults to Cabin. Modifies the `h1, h2, h3` elements.
#' @param header_font_weight Header Font Weight. Defaults to 600. Modifies the `h1, h2, h3` elements.
@@ -60,7 +60,7 @@
#' @param code_font_family Code Font Family. Defaults to Source Code Pro. Modifies the `.remark-code, .remark-inline-code` classes.
#' @param code_font_size Code Text Font Size. Defaults to 0.9rem. Modifies the `.remark-inline` class.
#' @param code_font_url Code Font URL. Defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap. Modifies the `@import url` elements.
#' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes.
#' @param code_font_family_fallback Code Font Fallback. Defaults to Menlo, Consolas, Monaco, Liberation Mono, Lucida Console. Modifies the `.remark-code, .remark-inline-code` classes.
#' @template theme_params
#' @template style_duo_accent
#' @family Duotone themes
@@ -118,8 +118,8 @@ style_duo_accent <- function(
text_font_family = "Noto Sans",
text_font_weight = "normal",
text_font_url = "https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap",
text_font_family_fallback = "'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'",
text_font_base = "serif",
text_font_family_fallback = "-apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial",
text_font_base = "sans-serif",
header_font_google = NULL,
header_font_family = "Cabin",
header_font_weight = "600",
@@ -128,7 +128,7 @@ style_duo_accent <- function(
code_font_family = "Source Code Pro",
code_font_size = "0.9rem",
code_font_url = "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap",
code_font_family_fallback = "'Lucida Console', Monaco",
code_font_family_fallback = "Menlo, Consolas, Monaco, Liberation Mono, Lucida Console",
colors = NULL,
extra_css = NULL,
extra_fonts = NULL,

+ 6
- 6
R/style_duo_accent_inverse.R Ver arquivo

@@ -50,8 +50,8 @@
#' @param text_font_family Body Text Font Family (xaringan default is `'Droid Serif'`). Defaults to Noto Sans. Modifies the `body` element.
#' @param text_font_weight Body Text Font Weight. Defaults to normal. Modifies the `body` element.
#' @param text_font_url Body Text Font URL(s). Defaults to https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap. Modifies the `@import url()` elements.
#' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'. Modifies the `body` element.
#' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults to serif. Modifies the `body` element.
#' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial. Modifies the `body` element.
#' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults to sans-serif. Modifies the `body` element.
#' @param header_font_google Use `google_font()` to specify header font. Defaults to `NULL`. Modifies the `body` element.
#' @param header_font_family Header Font Family (xaringan default is `'Yanone Kaffeesatz'`). Defaults to Cabin. Modifies the `h1, h2, h3` elements.
#' @param header_font_weight Header Font Weight. Defaults to 600. Modifies the `h1, h2, h3` elements.
@@ -60,7 +60,7 @@
#' @param code_font_family Code Font Family. Defaults to Source Code Pro. Modifies the `.remark-code, .remark-inline-code` classes.
#' @param code_font_size Code Text Font Size. Defaults to 0.9rem. Modifies the `.remark-inline` class.
#' @param code_font_url Code Font URL. Defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap. Modifies the `@import url` elements.
#' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes.
#' @param code_font_family_fallback Code Font Fallback. Defaults to Menlo, Consolas, Monaco, Liberation Mono, Lucida Console. Modifies the `.remark-code, .remark-inline-code` classes.
#' @template theme_params
#' @template style_duo_accent_inverse
#' @family Duotone themes
@@ -118,8 +118,8 @@ style_duo_accent_inverse <- function(
text_font_family = "Noto Sans",
text_font_weight = "normal",
text_font_url = "https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap",
text_font_family_fallback = "'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'",
text_font_base = "serif",
text_font_family_fallback = "-apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial",
text_font_base = "sans-serif",
header_font_google = NULL,
header_font_family = "Cabin",
header_font_weight = "600",
@@ -128,7 +128,7 @@ style_duo_accent_inverse <- function(
code_font_family = "Source Code Pro",
code_font_size = "0.9rem",
code_font_url = "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap",
code_font_family_fallback = "'Lucida Console', Monaco",
code_font_family_fallback = "Menlo, Consolas, Monaco, Liberation Mono, Lucida Console",
colors = NULL,
extra_css = NULL,
extra_fonts = NULL,

+ 6
- 6
R/style_mono_accent.R Ver arquivo

@@ -49,8 +49,8 @@
#' @param text_font_family Body Text Font Family (xaringan default is `'Droid Serif'`). Defaults to Noto Sans. Modifies the `body` element.
#' @param text_font_weight Body Text Font Weight. Defaults to normal. Modifies the `body` element.
#' @param text_font_url Body Text Font URL(s). Defaults to https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap. Modifies the `@import url()` elements.
#' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'. Modifies the `body` element.
#' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults to serif. Modifies the `body` element.
#' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial. Modifies the `body` element.
#' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults to sans-serif. Modifies the `body` element.
#' @param header_font_google Use `google_font()` to specify header font. Defaults to `NULL`. Modifies the `body` element.
#' @param header_font_family Header Font Family (xaringan default is `'Yanone Kaffeesatz'`). Defaults to Cabin. Modifies the `h1, h2, h3` elements.
#' @param header_font_weight Header Font Weight. Defaults to 600. Modifies the `h1, h2, h3` elements.
@@ -59,7 +59,7 @@
#' @param code_font_family Code Font Family. Defaults to Source Code Pro. Modifies the `.remark-code, .remark-inline-code` classes.
#' @param code_font_size Code Text Font Size. Defaults to 0.9rem. Modifies the `.remark-inline` class.
#' @param code_font_url Code Font URL. Defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap. Modifies the `@import url` elements.
#' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes.
#' @param code_font_family_fallback Code Font Fallback. Defaults to Menlo, Consolas, Monaco, Liberation Mono, Lucida Console. Modifies the `.remark-code, .remark-inline-code` classes.
#' @template theme_params
#' @template style_mono_accent
#' @family Monotone themes
@@ -116,8 +116,8 @@ style_mono_accent <- function(
text_font_family = "Noto Sans",
text_font_weight = "normal",
text_font_url = "https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap",
text_font_family_fallback = "'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'",
text_font_base = "serif",
text_font_family_fallback = "-apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial",
text_font_base = "sans-serif",
header_font_google = NULL,
header_font_family = "Cabin",
header_font_weight = "600",
@@ -126,7 +126,7 @@ style_mono_accent <- function(
code_font_family = "Source Code Pro",
code_font_size = "0.9rem",
code_font_url = "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap",
code_font_family_fallback = "'Lucida Console', Monaco",
code_font_family_fallback = "Menlo, Consolas, Monaco, Liberation Mono, Lucida Console",
colors = NULL,
extra_css = NULL,
extra_fonts = NULL,

+ 6
- 6
R/style_mono_accent_inverse.R Ver arquivo

@@ -49,8 +49,8 @@
#' @param text_font_family Body Text Font Family (xaringan default is `'Droid Serif'`). Defaults to Noto Sans. Modifies the `body` element.
#' @param text_font_weight Body Text Font Weight. Defaults to normal. Modifies the `body` element.
#' @param text_font_url Body Text Font URL(s). Defaults to https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap. Modifies the `@import url()` elements.
#' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'. Modifies the `body` element.
#' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults to serif. Modifies the `body` element.
#' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial. Modifies the `body` element.
#' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults to sans-serif. Modifies the `body` element.
#' @param header_font_google Use `google_font()` to specify header font. Defaults to `NULL`. Modifies the `body` element.
#' @param header_font_family Header Font Family (xaringan default is `'Yanone Kaffeesatz'`). Defaults to Cabin. Modifies the `h1, h2, h3` elements.
#' @param header_font_weight Header Font Weight. Defaults to 600. Modifies the `h1, h2, h3` elements.
@@ -59,7 +59,7 @@
#' @param code_font_family Code Font Family. Defaults to Source Code Pro. Modifies the `.remark-code, .remark-inline-code` classes.
#' @param code_font_size Code Text Font Size. Defaults to 0.9rem. Modifies the `.remark-inline` class.
#' @param code_font_url Code Font URL. Defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap. Modifies the `@import url` elements.
#' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes.
#' @param code_font_family_fallback Code Font Fallback. Defaults to Menlo, Consolas, Monaco, Liberation Mono, Lucida Console. Modifies the `.remark-code, .remark-inline-code` classes.
#' @template theme_params
#' @template style_mono_accent_inverse
#' @family Monotone themes
@@ -116,8 +116,8 @@ style_mono_accent_inverse <- function(
text_font_family = "Noto Sans",
text_font_weight = "normal",
text_font_url = "https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap",
text_font_family_fallback = "'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'",
text_font_base = "serif",
text_font_family_fallback = "-apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial",
text_font_base = "sans-serif",
header_font_google = NULL,
header_font_family = "Cabin",
header_font_weight = "600",
@@ -126,7 +126,7 @@ style_mono_accent_inverse <- function(
code_font_family = "Source Code Pro",
code_font_size = "0.9rem",
code_font_url = "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap",
code_font_family_fallback = "'Lucida Console', Monaco",
code_font_family_fallback = "Menlo, Consolas, Monaco, Liberation Mono, Lucida Console",
colors = NULL,
extra_css = NULL,
extra_fonts = NULL,

+ 6
- 6
R/style_mono_dark.R Ver arquivo

@@ -49,8 +49,8 @@
#' @param text_font_family Body Text Font Family (xaringan default is `'Droid Serif'`). Defaults to Noto Sans. Modifies the `body` element.
#' @param text_font_weight Body Text Font Weight. Defaults to normal. Modifies the `body` element.
#' @param text_font_url Body Text Font URL(s). Defaults to https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap. Modifies the `@import url()` elements.
#' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'. Modifies the `body` element.
#' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults to serif. Modifies the `body` element.
#' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial. Modifies the `body` element.
#' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults to sans-serif. Modifies the `body` element.
#' @param header_font_google Use `google_font()` to specify header font. Defaults to `NULL`. Modifies the `body` element.
#' @param header_font_family Header Font Family (xaringan default is `'Yanone Kaffeesatz'`). Defaults to Cabin. Modifies the `h1, h2, h3` elements.
#' @param header_font_weight Header Font Weight. Defaults to 600. Modifies the `h1, h2, h3` elements.
@@ -59,7 +59,7 @@
#' @param code_font_family Code Font Family. Defaults to Source Code Pro. Modifies the `.remark-code, .remark-inline-code` classes.
#' @param code_font_size Code Text Font Size. Defaults to 0.9rem. Modifies the `.remark-inline` class.
#' @param code_font_url Code Font URL. Defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap. Modifies the `@import url` elements.
#' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes.
#' @param code_font_family_fallback Code Font Fallback. Defaults to Menlo, Consolas, Monaco, Liberation Mono, Lucida Console. Modifies the `.remark-code, .remark-inline-code` classes.
#' @template theme_params
#' @template style_mono_dark
#' @family Monotone themes
@@ -116,8 +116,8 @@ style_mono_dark <- function(
text_font_family = "Noto Sans",
text_font_weight = "normal",
text_font_url = "https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap",
text_font_family_fallback = "'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'",
text_font_base = "serif",
text_font_family_fallback = "-apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial",
text_font_base = "sans-serif",
header_font_google = NULL,
header_font_family = "Cabin",
header_font_weight = "600",
@@ -126,7 +126,7 @@ style_mono_dark <- function(
code_font_family = "Source Code Pro",
code_font_size = "0.9rem",
code_font_url = "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap",
code_font_family_fallback = "'Lucida Console', Monaco",
code_font_family_fallback = "Menlo, Consolas, Monaco, Liberation Mono, Lucida Console",
colors = NULL,
extra_css = NULL,
extra_fonts = NULL,

+ 6
- 6
R/style_mono_light.R Ver arquivo

@@ -49,8 +49,8 @@
#' @param text_font_family Body Text Font Family (xaringan default is `'Droid Serif'`). Defaults to Noto Sans. Modifies the `body` element.
#' @param text_font_weight Body Text Font Weight. Defaults to normal. Modifies the `body` element.
#' @param text_font_url Body Text Font URL(s). Defaults to https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap. Modifies the `@import url()` elements.
#' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'. Modifies the `body` element.
#' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults to serif. Modifies the `body` element.
#' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial. Modifies the `body` element.
#' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults to sans-serif. Modifies the `body` element.
#' @param header_font_google Use `google_font()` to specify header font. Defaults to `NULL`. Modifies the `body` element.
#' @param header_font_family Header Font Family (xaringan default is `'Yanone Kaffeesatz'`). Defaults to Cabin. Modifies the `h1, h2, h3` elements.
#' @param header_font_weight Header Font Weight. Defaults to 600. Modifies the `h1, h2, h3` elements.
@@ -59,7 +59,7 @@
#' @param code_font_family Code Font Family. Defaults to Source Code Pro. Modifies the `.remark-code, .remark-inline-code` classes.
#' @param code_font_size Code Text Font Size. Defaults to 0.9rem. Modifies the `.remark-inline` class.
#' @param code_font_url Code Font URL. Defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap. Modifies the `@import url` elements.
#' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes.
#' @param code_font_family_fallback Code Font Fallback. Defaults to Menlo, Consolas, Monaco, Liberation Mono, Lucida Console. Modifies the `.remark-code, .remark-inline-code` classes.
#' @template theme_params
#' @template style_mono_light
#' @family Monotone themes
@@ -116,8 +116,8 @@ style_mono_light <- function(
text_font_family = "Noto Sans",
text_font_weight = "normal",
text_font_url = "https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap",
text_font_family_fallback = "'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'",
text_font_base = "serif",
text_font_family_fallback = "-apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial",
text_font_base = "sans-serif",
header_font_google = NULL,
header_font_family = "Cabin",
header_font_weight = "600",
@@ -126,7 +126,7 @@ style_mono_light <- function(
code_font_family = "Source Code Pro",
code_font_size = "0.9rem",
code_font_url = "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap",
code_font_family_fallback = "'Lucida Console', Monaco",
code_font_family_fallback = "Menlo, Consolas, Monaco, Liberation Mono, Lucida Console",
colors = NULL,
extra_css = NULL,
extra_fonts = NULL,

+ 6
- 6
R/style_solarized_dark.R Ver arquivo

@@ -46,8 +46,8 @@
#' @param text_font_family Body Text Font Family (xaringan default is `'Droid Serif'`). Defaults to Noto Sans. Modifies the `body` element.
#' @param text_font_weight Body Text Font Weight. Defaults to normal. Modifies the `body` element.
#' @param text_font_url Body Text Font URL(s). Defaults to https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap. Modifies the `@import url()` elements.
#' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'. Modifies the `body` element.
#' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults to serif. Modifies the `body` element.
#' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial. Modifies the `body` element.
#' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults to sans-serif. Modifies the `body` element.
#' @param header_font_google Use `google_font()` to specify header font. Defaults to `NULL`. Modifies the `body` element.
#' @param header_font_family Header Font Family (xaringan default is `'Yanone Kaffeesatz'`). Defaults to Cabin. Modifies the `h1, h2, h3` elements.
#' @param header_font_weight Header Font Weight. Defaults to 600. Modifies the `h1, h2, h3` elements.
@@ -56,7 +56,7 @@
#' @param code_font_family Code Font Family. Defaults to Source Code Pro. Modifies the `.remark-code, .remark-inline-code` classes.
#' @param code_font_size Code Text Font Size. Defaults to 0.9rem. Modifies the `.remark-inline` class.
#' @param code_font_url Code Font URL. Defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap. Modifies the `@import url` elements.
#' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes.
#' @param code_font_family_fallback Code Font Fallback. Defaults to Menlo, Consolas, Monaco, Liberation Mono, Lucida Console. Modifies the `.remark-code, .remark-inline-code` classes.
#' @template theme_params
#' @template style_solarized_dark
#' @family Solarized themes
@@ -110,8 +110,8 @@ style_solarized_dark <- function(
text_font_family = "Noto Sans",
text_font_weight = "normal",
text_font_url = "https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap",
text_font_family_fallback = "'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'",
text_font_base = "serif",
text_font_family_fallback = "-apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial",
text_font_base = "sans-serif",
header_font_google = NULL,
header_font_family = "Cabin",
header_font_weight = "600",
@@ -120,7 +120,7 @@ style_solarized_dark <- function(
code_font_family = "Source Code Pro",
code_font_size = "0.9rem",
code_font_url = "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap",
code_font_family_fallback = "'Lucida Console', Monaco",
code_font_family_fallback = "Menlo, Consolas, Monaco, Liberation Mono, Lucida Console",
colors = NULL,
extra_css = NULL,
extra_fonts = NULL,

+ 6
- 6
R/style_solarized_light.R Ver arquivo

@@ -46,8 +46,8 @@
#' @param text_font_family Body Text Font Family (xaringan default is `'Droid Serif'`). Defaults to Noto Sans. Modifies the `body` element.
#' @param text_font_weight Body Text Font Weight. Defaults to normal. Modifies the `body` element.
#' @param text_font_url Body Text Font URL(s). Defaults to https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap. Modifies the `@import url()` elements.
#' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'. Modifies the `body` element.
#' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults to serif. Modifies the `body` element.
#' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial. Modifies the `body` element.
#' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults to sans-serif. Modifies the `body` element.
#' @param header_font_google Use `google_font()` to specify header font. Defaults to `NULL`. Modifies the `body` element.
#' @param header_font_family Header Font Family (xaringan default is `'Yanone Kaffeesatz'`). Defaults to Cabin. Modifies the `h1, h2, h3` elements.
#' @param header_font_weight Header Font Weight. Defaults to 600. Modifies the `h1, h2, h3` elements.
@@ -56,7 +56,7 @@
#' @param code_font_family Code Font Family. Defaults to Source Code Pro. Modifies the `.remark-code, .remark-inline-code` classes.
#' @param code_font_size Code Text Font Size. Defaults to 0.9rem. Modifies the `.remark-inline` class.
#' @param code_font_url Code Font URL. Defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap. Modifies the `@import url` elements.
#' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes.
#' @param code_font_family_fallback Code Font Fallback. Defaults to Menlo, Consolas, Monaco, Liberation Mono, Lucida Console. Modifies the `.remark-code, .remark-inline-code` classes.
#' @template theme_params
#' @template style_solarized_light
#' @family Solarized themes
@@ -110,8 +110,8 @@ style_solarized_light <- function(
text_font_family = "Noto Sans",
text_font_weight = "normal",
text_font_url = "https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap",
text_font_family_fallback = "'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'",
text_font_base = "serif",
text_font_family_fallback = "-apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial",
text_font_base = "sans-serif",
header_font_google = NULL,
header_font_family = "Cabin",
header_font_weight = "600",
@@ -120,7 +120,7 @@ style_solarized_light <- function(
code_font_family = "Source Code Pro",
code_font_size = "0.9rem",
code_font_url = "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap",
code_font_family_fallback = "'Lucida Console', Monaco",
code_font_family_fallback = "Menlo, Consolas, Monaco, Liberation Mono, Lucida Console",
colors = NULL,
extra_css = NULL,
extra_fonts = NULL,

+ 6
- 6
R/style_xaringan.R Ver arquivo

@@ -46,8 +46,8 @@
#' @param text_font_family Body Text Font Family (xaringan default is `'Droid Serif'`). Defaults to Noto Sans. Modifies the `body` element.
#' @param text_font_weight Body Text Font Weight. Defaults to normal. Modifies the `body` element.
#' @param text_font_url Body Text Font URL(s). Defaults to https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap. Modifies the `@import url()` elements.
#' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'. Modifies the `body` element.
#' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults to serif. Modifies the `body` element.
#' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial. Modifies the `body` element.
#' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults to sans-serif. Modifies the `body` element.
#' @param header_font_google Use `google_font()` to specify header font. Defaults to `NULL`. Modifies the `body` element.
#' @param header_font_family Header Font Family (xaringan default is `'Yanone Kaffeesatz'`). Defaults to Cabin. Modifies the `h1, h2, h3` elements.
#' @param header_font_weight Header Font Weight. Defaults to 600. Modifies the `h1, h2, h3` elements.
@@ -56,7 +56,7 @@
#' @param code_font_family Code Font Family. Defaults to Source Code Pro. Modifies the `.remark-code, .remark-inline-code` classes.
#' @param code_font_size Code Text Font Size. Defaults to 0.9rem. Modifies the `.remark-inline` class.
#' @param code_font_url Code Font URL. Defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap. Modifies the `@import url` elements.
#' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes.
#' @param code_font_family_fallback Code Font Fallback. Defaults to Menlo, Consolas, Monaco, Liberation Mono, Lucida Console. Modifies the `.remark-code, .remark-inline-code` classes.
#' @template theme_params
#' @template style_xaringan
#' @export
@@ -109,8 +109,8 @@ style_xaringan <- function(
text_font_family = "Noto Sans",
text_font_weight = "normal",
text_font_url = "https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap",
text_font_family_fallback = "'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'",
text_font_base = "serif",
text_font_family_fallback = "-apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial",
text_font_base = "sans-serif",
header_font_google = NULL,
header_font_family = "Cabin",
header_font_weight = "600",
@@ -119,7 +119,7 @@ style_xaringan <- function(
code_font_family = "Source Code Pro",
code_font_size = "0.9rem",
code_font_url = "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap",
code_font_family_fallback = "'Lucida Console', Monaco",
code_font_family_fallback = "Menlo, Consolas, Monaco, Liberation Mono, Lucida Console",
colors = NULL,
extra_css = NULL,
extra_fonts = NULL,

+ 3
- 3
R/theme_settings.R Ver arquivo

@@ -49,8 +49,8 @@ template_variables <- tibble::tribble(
, "text_font_family", "Noto Sans", "body", "Body Text Font Family (xaringan default is `'Droid Serif'`)"
, "text_font_weight", "normal", "body", "Body Text Font Weight"
, "text_font_url", "https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap", "@import url()", "Body Text Font URL(s)"
, "text_font_family_fallback", "'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'", "body", "Body Text Font Fallbacks"
, "text_font_base", "serif", "body", "Body Text Base Font (Total Failure Fallback)"
, "text_font_family_fallback", "-apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial", "body", "Body Text Font Fallbacks"
, "text_font_base", "sans-serif", "body", "Body Text Base Font (Total Failure Fallback)"
, "header_font_google", NULL, "body", "Use `google_font()` to specify header font"
, "header_font_family", "Cabin", "h1, h2, h3", "Header Font Family (xaringan default is `'Yanone Kaffeesatz'`)"
, "header_font_weight", "600", "h1, h2, h3", "Header Font Weight"
@@ -59,7 +59,7 @@ template_variables <- tibble::tribble(
, "code_font_family", "Source Code Pro", ".remark-code, .remark-inline-code", "Code Font Family"
, "code_font_size", "0.9rem", ".remark-inline", "Code Text Font Size"
, "code_font_url", "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap", "@import url", "Code Font URL"
, "code_font_family_fallback", "'Lucida Console', Monaco", ".remark-code, .remark-inline-code", "Code Font Fallback"
, "code_font_family_fallback", "Menlo, Consolas, Monaco, Liberation Mono, Lucida Console", ".remark-code, .remark-inline-code", "Code Font Fallback"
)

set_default <- function(tv, ...) {

+ 6
- 6
man/style_duo.Rd Ver arquivo

@@ -58,8 +58,8 @@ style_duo(
text_font_url = "https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap",
text_font_family_fallback = "'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'",
text_font_base = "serif",
text_font_family_fallback = "-apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial",
text_font_base = "sans-serif",
header_font_google = NULL,
header_font_family = "Cabin",
header_font_weight = "600",
@@ -70,7 +70,7 @@ style_duo(
code_font_size = "0.9rem",
code_font_url = "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap",
code_font_family_fallback = "'Lucida Console', Monaco",
code_font_family_fallback = "Menlo, Consolas, Monaco, Liberation Mono, Lucida Console",
colors = NULL,
extra_css = NULL,
extra_fonts = NULL,
@@ -178,9 +178,9 @@ style_duo(

\item{text_font_url}{Body Text Font URL(s). Defaults to https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap. Modifies the \verb{@import url()} elements.}

\item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'. Modifies the \code{body} element.}
\item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial. Modifies the \code{body} element.}

\item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults to serif. Modifies the \code{body} element.}
\item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults to sans-serif. Modifies the \code{body} element.}

\item{header_font_google}{Use \code{google_font()} to specify header font. Defaults to \code{NULL}. Modifies the \code{body} element.}

@@ -198,7 +198,7 @@ style_duo(

\item{code_font_url}{Code Font URL. Defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap. Modifies the \verb{@import url} elements.}

\item{code_font_family_fallback}{Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the \verb{.remark-code, .remark-inline-code} classes.}
\item{code_font_family_fallback}{Code Font Fallback. Defaults to Menlo, Consolas, Monaco, Liberation Mono, Lucida Console. Modifies the \verb{.remark-code, .remark-inline-code} classes.}

\item{colors}{A named vector of custom colors. The names of the colors
become CSS variables and classes that can be used within your slides.

+ 6
- 6
man/style_duo_accent.Rd Ver arquivo

@@ -61,8 +61,8 @@ style_duo_accent(
text_font_url = "https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap",
text_font_family_fallback = "'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'",
text_font_base = "serif",
text_font_family_fallback = "-apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial",
text_font_base = "sans-serif",
header_font_google = NULL,
header_font_family = "Cabin",
header_font_weight = "600",
@@ -73,7 +73,7 @@ style_duo_accent(
code_font_size = "0.9rem",
code_font_url = "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap",
code_font_family_fallback = "'Lucida Console', Monaco",
code_font_family_fallback = "Menlo, Consolas, Monaco, Liberation Mono, Lucida Console",
colors = NULL,
extra_css = NULL,
extra_fonts = NULL,
@@ -185,9 +185,9 @@ style_duo_accent(

\item{text_font_url}{Body Text Font URL(s). Defaults to https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap. Modifies the \verb{@import url()} elements.}

\item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'. Modifies the \code{body} element.}
\item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial. Modifies the \code{body} element.}

\item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults to serif. Modifies the \code{body} element.}
\item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults to sans-serif. Modifies the \code{body} element.}

\item{header_font_google}{Use \code{google_font()} to specify header font. Defaults to \code{NULL}. Modifies the \code{body} element.}

@@ -205,7 +205,7 @@ style_duo_accent(

\item{code_font_url}{Code Font URL. Defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap. Modifies the \verb{@import url} elements.}

\item{code_font_family_fallback}{Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the \verb{.remark-code, .remark-inline-code} classes.}
\item{code_font_family_fallback}{Code Font Fallback. Defaults to Menlo, Consolas, Monaco, Liberation Mono, Lucida Console. Modifies the \verb{.remark-code, .remark-inline-code} classes.}

\item{colors}{A named vector of custom colors. The names of the colors
become CSS variables and classes that can be used within your slides.

+ 6
- 6
man/style_duo_accent_inverse.Rd Ver arquivo

@@ -62,8 +62,8 @@ style_duo_accent_inverse(
text_font_url = "https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap",
text_font_family_fallback = "'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'",
text_font_base = "serif",
text_font_family_fallback = "-apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial",
text_font_base = "sans-serif",
header_font_google = NULL,
header_font_family = "Cabin",
header_font_weight = "600",
@@ -74,7 +74,7 @@ style_duo_accent_inverse(
code_font_size = "0.9rem",
code_font_url = "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap",
code_font_family_fallback = "'Lucida Console', Monaco",
code_font_family_fallback = "Menlo, Consolas, Monaco, Liberation Mono, Lucida Console",
colors = NULL,
extra_css = NULL,
extra_fonts = NULL,
@@ -186,9 +186,9 @@ style_duo_accent_inverse(

\item{text_font_url}{Body Text Font URL(s). Defaults to https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap. Modifies the \verb{@import url()} elements.}

\item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'. Modifies the \code{body} element.}
\item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial. Modifies the \code{body} element.}

\item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults to serif. Modifies the \code{body} element.}
\item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults to sans-serif. Modifies the \code{body} element.}

\item{header_font_google}{Use \code{google_font()} to specify header font. Defaults to \code{NULL}. Modifies the \code{body} element.}

@@ -206,7 +206,7 @@ style_duo_accent_inverse(

\item{code_font_url}{Code Font URL. Defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap. Modifies the \verb{@import url} elements.}

\item{code_font_family_fallback}{Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the \verb{.remark-code, .remark-inline-code} classes.}
\item{code_font_family_fallback}{Code Font Fallback. Defaults to Menlo, Consolas, Monaco, Liberation Mono, Lucida Console. Modifies the \verb{.remark-code, .remark-inline-code} classes.}

\item{colors}{A named vector of custom colors. The names of the colors
become CSS variables and classes that can be used within your slides.

+ 6
- 6
man/style_mono_accent.Rd Ver arquivo

@@ -58,8 +58,8 @@ style_mono_accent(
text_font_url = "https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap",
text_font_family_fallback = "'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'",
text_font_base = "serif",
text_font_family_fallback = "-apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial",
text_font_base = "sans-serif",
header_font_google = NULL,
header_font_family = "Cabin",
header_font_weight = "600",
@@ -70,7 +70,7 @@ style_mono_accent(
code_font_size = "0.9rem",
code_font_url = "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap",
code_font_family_fallback = "'Lucida Console', Monaco",
code_font_family_fallback = "Menlo, Consolas, Monaco, Liberation Mono, Lucida Console",
colors = NULL,
extra_css = NULL,
extra_fonts = NULL,
@@ -180,9 +180,9 @@ style_mono_accent(

\item{text_font_url}{Body Text Font URL(s). Defaults to https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap. Modifies the \verb{@import url()} elements.}

\item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'. Modifies the \code{body} element.}
\item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial. Modifies the \code{body} element.}

\item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults to serif. Modifies the \code{body} element.}
\item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults to sans-serif. Modifies the \code{body} element.}

\item{header_font_google}{Use \code{google_font()} to specify header font. Defaults to \code{NULL}. Modifies the \code{body} element.}

@@ -200,7 +200,7 @@ style_mono_accent(

\item{code_font_url}{Code Font URL. Defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap. Modifies the \verb{@import url} elements.}

\item{code_font_family_fallback}{Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the \verb{.remark-code, .remark-inline-code} classes.}
\item{code_font_family_fallback}{Code Font Fallback. Defaults to Menlo, Consolas, Monaco, Liberation Mono, Lucida Console. Modifies the \verb{.remark-code, .remark-inline-code} classes.}

\item{colors}{A named vector of custom colors. The names of the colors
become CSS variables and classes that can be used within your slides.

+ 6
- 6
man/style_mono_accent_inverse.Rd Ver arquivo

@@ -58,8 +58,8 @@ style_mono_accent_inverse(
text_font_url = "https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap",
text_font_family_fallback = "'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'",
text_font_base = "serif",
text_font_family_fallback = "-apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial",
text_font_base = "sans-serif",
header_font_google = NULL,
header_font_family = "Cabin",
header_font_weight = "600",
@@ -70,7 +70,7 @@ style_mono_accent_inverse(
code_font_size = "0.9rem",
code_font_url = "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap",
code_font_family_fallback = "'Lucida Console', Monaco",
code_font_family_fallback = "Menlo, Consolas, Monaco, Liberation Mono, Lucida Console",
colors = NULL,
extra_css = NULL,
extra_fonts = NULL,
@@ -180,9 +180,9 @@ style_mono_accent_inverse(

\item{text_font_url}{Body Text Font URL(s). Defaults to https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap. Modifies the \verb{@import url()} elements.}

\item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'. Modifies the \code{body} element.}
\item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial. Modifies the \code{body} element.}

\item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults to serif. Modifies the \code{body} element.}
\item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults to sans-serif. Modifies the \code{body} element.}

\item{header_font_google}{Use \code{google_font()} to specify header font. Defaults to \code{NULL}. Modifies the \code{body} element.}

@@ -200,7 +200,7 @@ style_mono_accent_inverse(

\item{code_font_url}{Code Font URL. Defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap. Modifies the \verb{@import url} elements.}

\item{code_font_family_fallback}{Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the \verb{.remark-code, .remark-inline-code} classes.}
\item{code_font_family_fallback}{Code Font Fallback. Defaults to Menlo, Consolas, Monaco, Liberation Mono, Lucida Console. Modifies the \verb{.remark-code, .remark-inline-code} classes.}

\item{colors}{A named vector of custom colors. The names of the colors
become CSS variables and classes that can be used within your slides.

+ 6
- 6
man/style_mono_dark.Rd Ver arquivo

@@ -58,8 +58,8 @@ style_mono_dark(
text_font_url = "https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap",
text_font_family_fallback = "'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'",
text_font_base = "serif",
text_font_family_fallback = "-apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial",
text_font_base = "sans-serif",
header_font_google = NULL,
header_font_family = "Cabin",
header_font_weight = "600",
@@ -70,7 +70,7 @@ style_mono_dark(
code_font_size = "0.9rem",
code_font_url = "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap",
code_font_family_fallback = "'Lucida Console', Monaco",
code_font_family_fallback = "Menlo, Consolas, Monaco, Liberation Mono, Lucida Console",
colors = NULL,
extra_css = NULL,
extra_fonts = NULL,
@@ -180,9 +180,9 @@ style_mono_dark(

\item{text_font_url}{Body Text Font URL(s). Defaults to https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap. Modifies the \verb{@import url()} elements.}

\item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'. Modifies the \code{body} element.}
\item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial. Modifies the \code{body} element.}

\item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults to serif. Modifies the \code{body} element.}
\item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults to sans-serif. Modifies the \code{body} element.}

\item{header_font_google}{Use \code{google_font()} to specify header font. Defaults to \code{NULL}. Modifies the \code{body} element.}

@@ -200,7 +200,7 @@ style_mono_dark(

\item{code_font_url}{Code Font URL. Defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap. Modifies the \verb{@import url} elements.}

\item{code_font_family_fallback}{Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the \verb{.remark-code, .remark-inline-code} classes.}
\item{code_font_family_fallback}{Code Font Fallback. Defaults to Menlo, Consolas, Monaco, Liberation Mono, Lucida Console. Modifies the \verb{.remark-code, .remark-inline-code} classes.}

\item{colors}{A named vector of custom colors. The names of the colors
become CSS variables and classes that can be used within your slides.

+ 6
- 6
man/style_mono_light.Rd Ver arquivo

@@ -58,8 +58,8 @@ style_mono_light(
text_font_url = "https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap",
text_font_family_fallback = "'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'",
text_font_base = "serif",
text_font_family_fallback = "-apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial",
text_font_base = "sans-serif",
header_font_google = NULL,
header_font_family = "Cabin",
header_font_weight = "600",
@@ -70,7 +70,7 @@ style_mono_light(
code_font_size = "0.9rem",
code_font_url = "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap",
code_font_family_fallback = "'Lucida Console', Monaco",
code_font_family_fallback = "Menlo, Consolas, Monaco, Liberation Mono, Lucida Console",
colors = NULL,
extra_css = NULL,
extra_fonts = NULL,
@@ -180,9 +180,9 @@ style_mono_light(

\item{text_font_url}{Body Text Font URL(s). Defaults to https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap. Modifies the \verb{@import url()} elements.}

\item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'. Modifies the \code{body} element.}
\item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial. Modifies the \code{body} element.}

\item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults to serif. Modifies the \code{body} element.}
\item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults to sans-serif. Modifies the \code{body} element.}

\item{header_font_google}{Use \code{google_font()} to specify header font. Defaults to \code{NULL}. Modifies the \code{body} element.}

@@ -200,7 +200,7 @@ style_mono_light(

\item{code_font_url}{Code Font URL. Defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap. Modifies the \verb{@import url} elements.}

\item{code_font_family_fallback}{Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the \verb{.remark-code, .remark-inline-code} classes.}
\item{code_font_family_fallback}{Code Font Fallback. Defaults to Menlo, Consolas, Monaco, Liberation Mono, Lucida Console. Modifies the \verb{.remark-code, .remark-inline-code} classes.}

\item{colors}{A named vector of custom colors. The names of the colors
become CSS variables and classes that can be used within your slides.

+ 6
- 6
man/style_solarized_dark.Rd Ver arquivo

@@ -55,8 +55,8 @@ style_solarized_dark(
text_font_url = "https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap",
text_font_family_fallback = "'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'",
text_font_base = "serif",
text_font_family_fallback = "-apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial",
text_font_base = "sans-serif",
header_font_google = NULL,
header_font_family = "Cabin",
header_font_weight = "600",
@@ -67,7 +67,7 @@ style_solarized_dark(
code_font_size = "0.9rem",
code_font_url = "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap",
code_font_family_fallback = "'Lucida Console', Monaco",
code_font_family_fallback = "Menlo, Consolas, Monaco, Liberation Mono, Lucida Console",
colors = NULL,
extra_css = NULL,
extra_fonts = NULL,
@@ -171,9 +171,9 @@ style_solarized_dark(

\item{text_font_url}{Body Text Font URL(s). Defaults to https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap. Modifies the \verb{@import url()} elements.}

\item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'. Modifies the \code{body} element.}
\item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial. Modifies the \code{body} element.}

\item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults to serif. Modifies the \code{body} element.}
\item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults to sans-serif. Modifies the \code{body} element.}

\item{header_font_google}{Use \code{google_font()} to specify header font. Defaults to \code{NULL}. Modifies the \code{body} element.}

@@ -191,7 +191,7 @@ style_solarized_dark(

\item{code_font_url}{Code Font URL. Defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap. Modifies the \verb{@import url} elements.}

\item{code_font_family_fallback}{Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the \verb{.remark-code, .remark-inline-code} classes.}
\item{code_font_family_fallback}{Code Font Fallback. Defaults to Menlo, Consolas, Monaco, Liberation Mono, Lucida Console. Modifies the \verb{.remark-code, .remark-inline-code} classes.}

\item{colors}{A named vector of custom colors. The names of the colors
become CSS variables and classes that can be used within your slides.

+ 6
- 6
man/style_solarized_light.Rd Ver arquivo

@@ -55,8 +55,8 @@ style_solarized_light(
text_font_url = "https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap",
text_font_family_fallback = "'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'",
text_font_base = "serif",
text_font_family_fallback = "-apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial",
text_font_base = "sans-serif",
header_font_google = NULL,
header_font_family = "Cabin",
header_font_weight = "600",
@@ -67,7 +67,7 @@ style_solarized_light(
code_font_size = "0.9rem",
code_font_url = "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap",
code_font_family_fallback = "'Lucida Console', Monaco",
code_font_family_fallback = "Menlo, Consolas, Monaco, Liberation Mono, Lucida Console",
colors = NULL,
extra_css = NULL,
extra_fonts = NULL,
@@ -171,9 +171,9 @@ style_solarized_light(

\item{text_font_url}{Body Text Font URL(s). Defaults to https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap. Modifies the \verb{@import url()} elements.}

\item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'. Modifies the \code{body} element.}
\item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial. Modifies the \code{body} element.}

\item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults to serif. Modifies the \code{body} element.}
\item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults to sans-serif. Modifies the \code{body} element.}

\item{header_font_google}{Use \code{google_font()} to specify header font. Defaults to \code{NULL}. Modifies the \code{body} element.}

@@ -191,7 +191,7 @@ style_solarized_light(

\item{code_font_url}{Code Font URL. Defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap. Modifies the \verb{@import url} elements.}

\item{code_font_family_fallback}{Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the \verb{.remark-code, .remark-inline-code} classes.}
\item{code_font_family_fallback}{Code Font Fallback. Defaults to Menlo, Consolas, Monaco, Liberation Mono, Lucida Console. Modifies the \verb{.remark-code, .remark-inline-code} classes.}

\item{colors}{A named vector of custom colors. The names of the colors
become CSS variables and classes that can be used within your slides.

+ 6
- 6
man/style_xaringan.Rd Ver arquivo

@@ -55,8 +55,8 @@ style_xaringan(
text_font_url = "https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap",
text_font_family_fallback = "'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'",
text_font_base = "serif",
text_font_family_fallback = "-apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial",
text_font_base = "sans-serif",
header_font_google = NULL,
header_font_family = "Cabin",
header_font_weight = "600",
@@ -67,7 +67,7 @@ style_xaringan(
code_font_size = "0.9rem",
code_font_url = "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap",
code_font_family_fallback = "'Lucida Console', Monaco",
code_font_family_fallback = "Menlo, Consolas, Monaco, Liberation Mono, Lucida Console",
colors = NULL,
extra_css = NULL,
extra_fonts = NULL,
@@ -171,9 +171,9 @@ style_xaringan(

\item{text_font_url}{Body Text Font URL(s). Defaults to https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap. Modifies the \verb{@import url()} elements.}

\item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'. Modifies the \code{body} element.}
\item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial. Modifies the \code{body} element.}

\item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults to serif. Modifies the \code{body} element.}
\item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults to sans-serif. Modifies the \code{body} element.}

\item{header_font_google}{Use \code{google_font()} to specify header font. Defaults to \code{NULL}. Modifies the \code{body} element.}

@@ -191,7 +191,7 @@ style_xaringan(

\item{code_font_url}{Code Font URL. Defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap. Modifies the \verb{@import url} elements.}

\item{code_font_family_fallback}{Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the \verb{.remark-code, .remark-inline-code} classes.}
\item{code_font_family_fallback}{Code Font Fallback. Defaults to Menlo, Consolas, Monaco, Liberation Mono, Lucida Console. Modifies the \verb{.remark-code, .remark-inline-code} classes.}

\item{colors}{A named vector of custom colors. The names of the colors
become CSS variables and classes that can be used within your slides.

+ 3
- 3
tests/testthat/css/duo-header_bg.css Ver arquivo

@@ -27,8 +27,8 @@
/* Fonts */
--text-font-family: 'Noto Serif';
--text-font-is-google: 1;
--text-font-family-fallback: 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC';
--text-font-base: serif;
--text-font-family-fallback: -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial;
--text-font-base: sans-serif;
--header-font-family: Cabin;
--header-font-is-google: 1;
--code-font-family: 'Source Code Pro';
@@ -88,7 +88,7 @@ h1, h2, h3 {
font-size: var(--header-h3-font-size);
}
.remark-code, .remark-inline-code {
font-family: var(--code-font-family), 'Lucida Console', Monaco, monospace;
font-family: var(--code-font-family), Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;
}
.remark-code {
font-size: var(--code-font-size);

+ 3
- 3
tests/testthat/css/duo.css Ver arquivo

@@ -27,8 +27,8 @@
/* Fonts */
--text-font-family: 'Noto Serif';
--text-font-is-google: 1;
--text-font-family-fallback: 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC';
--text-font-base: serif;
--text-font-family-fallback: -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial;
--text-font-base: sans-serif;
--header-font-family: Cabin;
--header-font-is-google: 1;
--code-font-family: 'Source Code Pro';
@@ -88,7 +88,7 @@ h1, h2, h3 {
font-size: var(--header-h3-font-size);
}
.remark-code, .remark-inline-code {
font-family: var(--code-font-family), 'Lucida Console', Monaco, monospace;
font-family: var(--code-font-family), Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;
}
.remark-code {
font-size: var(--code-font-size);

+ 3
- 3
tests/testthat/css/duo_accent.css Ver arquivo

@@ -27,8 +27,8 @@
/* Fonts */
--text-font-family: 'Noto Serif';
--text-font-is-google: 1;
--text-font-family-fallback: 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC';
--text-font-base: serif;
--text-font-family-fallback: -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial;
--text-font-base: sans-serif;
--header-font-family: Cabin;
--header-font-is-google: 1;
--code-font-family: 'Source Code Pro';
@@ -88,7 +88,7 @@ h1, h2, h3 {
font-size: var(--header-h3-font-size);
}
.remark-code, .remark-inline-code {
font-family: var(--code-font-family), 'Lucida Console', Monaco, monospace;
font-family: var(--code-font-family), Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;
}
.remark-code {
font-size: var(--code-font-size);

+ 3
- 3
tests/testthat/css/duo_accent_inverse.css Ver arquivo

@@ -27,8 +27,8 @@
/* Fonts */
--text-font-family: 'Noto Serif';
--text-font-is-google: 1;
--text-font-family-fallback: 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC';
--text-font-base: serif;
--text-font-family-fallback: -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial;
--text-font-base: sans-serif;
--header-font-family: Cabin;
--header-font-is-google: 1;
--code-font-family: 'Source Code Pro';
@@ -88,7 +88,7 @@ h1, h2, h3 {
font-size: var(--header-h3-font-size);
}
.remark-code, .remark-inline-code {
font-family: var(--code-font-family), 'Lucida Console', Monaco, monospace;
font-family: var(--code-font-family), Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;
}
.remark-code {
font-size: var(--code-font-size);

+ 3
- 3
tests/testthat/css/mono_accent.css Ver arquivo

@@ -27,8 +27,8 @@
/* Fonts */
--text-font-family: 'Noto Serif';
--text-font-is-google: 1;
--text-font-family-fallback: 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC';
--text-font-base: serif;
--text-font-family-fallback: -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial;
--text-font-base: sans-serif;
--header-font-family: Cabin;
--header-font-is-google: 1;
--code-font-family: 'Source Code Pro';
@@ -88,7 +88,7 @@ h1, h2, h3 {
font-size: var(--header-h3-font-size);
}
.remark-code, .remark-inline-code {
font-family: var(--code-font-family), 'Lucida Console', Monaco, monospace;
font-family: var(--code-font-family), Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;
}
.remark-code {
font-size: var(--code-font-size);

+ 3
- 3
tests/testthat/css/mono_accent_inverse.css Ver arquivo

@@ -27,8 +27,8 @@
/* Fonts */
--text-font-family: 'Noto Serif';
--text-font-is-google: 1;
--text-font-family-fallback: 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC';
--text-font-base: serif;
--text-font-family-fallback: -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial;
--text-font-base: sans-serif;
--header-font-family: Cabin;
--header-font-is-google: 1;
--code-font-family: 'Source Code Pro';
@@ -88,7 +88,7 @@ h1, h2, h3 {
font-size: var(--header-h3-font-size);
}
.remark-code, .remark-inline-code {
font-family: var(--code-font-family), 'Lucida Console', Monaco, monospace;
font-family: var(--code-font-family), Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;
}
.remark-code {
font-size: var(--code-font-size);

+ 3
- 3
tests/testthat/css/mono_dark.css Ver arquivo

@@ -27,8 +27,8 @@
/* Fonts */
--text-font-family: 'Noto Serif';
--text-font-is-google: 1;
--text-font-family-fallback: 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC';
--text-font-base: serif;
--text-font-family-fallback: -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial;
--text-font-base: sans-serif;
--header-font-family: Cabin;
--header-font-is-google: 1;
--code-font-family: 'Source Code Pro';
@@ -88,7 +88,7 @@ h1, h2, h3 {
font-size: var(--header-h3-font-size);
}
.remark-code, .remark-inline-code {
font-family: var(--code-font-family), 'Lucida Console', Monaco, monospace;
font-family: var(--code-font-family), Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;
}
.remark-code {
font-size: var(--code-font-size);

+ 3
- 3
tests/testthat/css/mono_light-header_bg.css Ver arquivo

@@ -27,8 +27,8 @@
/* Fonts */
--text-font-family: 'Noto Serif';
--text-font-is-google: 1;
--text-font-family-fallback: 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC';
--text-font-base: serif;
--text-font-family-fallback: -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial;
--text-font-base: sans-serif;
--header-font-family: Cabin;
--header-font-is-google: 1;
--code-font-family: 'Source Code Pro';
@@ -88,7 +88,7 @@ h1, h2, h3 {
font-size: var(--header-h3-font-size);
}
.remark-code, .remark-inline-code {
font-family: var(--code-font-family), 'Lucida Console', Monaco, monospace;
font-family: var(--code-font-family), Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;
}
.remark-code {
font-size: var(--code-font-size);

+ 3
- 3
tests/testthat/css/mono_light.css Ver arquivo

@@ -27,8 +27,8 @@
/* Fonts */
--text-font-family: 'Noto Serif';
--text-font-is-google: 1;
--text-font-family-fallback: 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC';
--text-font-base: serif;
--text-font-family-fallback: -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial;
--text-font-base: sans-serif;
--header-font-family: Cabin;
--header-font-is-google: 1;
--code-font-family: 'Source Code Pro';
@@ -88,7 +88,7 @@ h1, h2, h3 {
font-size: var(--header-h3-font-size);
}
.remark-code, .remark-inline-code {
font-family: var(--code-font-family), 'Lucida Console', Monaco, monospace;
font-family: var(--code-font-family), Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;
}
.remark-code {
font-size: var(--code-font-size);

+ 3
- 3
tests/testthat/css/solarized_dark-header_bg.css Ver arquivo

@@ -27,8 +27,8 @@
/* Fonts */
--text-font-family: 'Noto Serif';
--text-font-is-google: 1;
--text-font-family-fallback: 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC';
--text-font-base: serif;
--text-font-family-fallback: -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial;
--text-font-base: sans-serif;
--header-font-family: Cabin;
--header-font-is-google: 1;
--code-font-family: 'Source Code Pro';
@@ -88,7 +88,7 @@ h1, h2, h3 {
font-size: var(--header-h3-font-size);
}
.remark-code, .remark-inline-code {
font-family: var(--code-font-family), 'Lucida Console', Monaco, monospace;
font-family: var(--code-font-family), Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;
}
.remark-code {
font-size: var(--code-font-size);

+ 3
- 3
tests/testthat/css/solarized_dark.css Ver arquivo

@@ -27,8 +27,8 @@
/* Fonts */
--text-font-family: 'Noto Serif';
--text-font-is-google: 1;
--text-font-family-fallback: 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC';
--text-font-base: serif;
--text-font-family-fallback: -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial;
--text-font-base: sans-serif;
--header-font-family: Cabin;
--header-font-is-google: 1;
--code-font-family: 'Source Code Pro';
@@ -88,7 +88,7 @@ h1, h2, h3 {
font-size: var(--header-h3-font-size);
}
.remark-code, .remark-inline-code {
font-family: var(--code-font-family), 'Lucida Console', Monaco, monospace;
font-family: var(--code-font-family), Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;
}
.remark-code {
font-size: var(--code-font-size);

+ 3
- 3
tests/testthat/css/solarized_light.css Ver arquivo

@@ -27,8 +27,8 @@
/* Fonts */
--text-font-family: 'Noto Serif';
--text-font-is-google: 1;
--text-font-family-fallback: 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC';
--text-font-base: serif;
--text-font-family-fallback: -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial;
--text-font-base: sans-serif;
--header-font-family: Cabin;
--header-font-is-google: 1;
--code-font-family: 'Source Code Pro';
@@ -88,7 +88,7 @@ h1, h2, h3 {
font-size: var(--header-h3-font-size);
}
.remark-code, .remark-inline-code {
font-family: var(--code-font-family), 'Lucida Console', Monaco, monospace;
font-family: var(--code-font-family), Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;
}
.remark-code {
font-size: var(--code-font-size);

+ 3
- 3
tests/testthat/css/xaringan.css Ver arquivo

@@ -27,8 +27,8 @@
/* Fonts */
--text-font-family: 'Noto Serif';
--text-font-is-google: 1;
--text-font-family-fallback: 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC';
--text-font-base: serif;
--text-font-family-fallback: -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial;
--text-font-base: sans-serif;
--header-font-family: Cabin;
--header-font-is-google: 1;
--code-font-family: 'Source Code Pro';
@@ -89,7 +89,7 @@ h1, h2, h3 {
font-size: var(--header-h3-font-size);
}
.remark-code, .remark-inline-code {
font-family: var(--code-font-family), 'Lucida Console', Monaco, monospace;
font-family: var(--code-font-family), Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;
}
.remark-code {
font-size: var(--code-font-size);

Carregando…
Cancelar
Salvar