Przeglądaj źródła

Use markdown instead of \code{} in params

tags/v0.1.1
Garrick Aden-Buie 8 lat temu
rodzic
commit
c6c9aec805
34 zmienionych plików z 21 dodań i 21 usunięć
  1. +1
    -1
      R/duo.R
  2. +1
    -1
      R/duo_accent.R
  3. +1
    -1
      R/duo_accent_inverse.R
  4. +1
    -1
      R/mono_accent.R
  5. +1
    -1
      R/mono_accent_inverse.R
  6. +1
    -1
      R/mono_dark.R
  7. +1
    -1
      R/mono_light.R
  8. +1
    -1
      R/solarized_dark.R
  9. +1
    -1
      R/solarized_light.R
  10. +1
    -1
      R/theme_settings.R
  11. +1
    -1
      R/write_theme.R
  12. +1
    -1
      man/duo.Rd
  13. +1
    -1
      man/duo_accent.Rd
  14. +1
    -1
      man/duo_accent_inverse.Rd
  15. +1
    -1
      man/mono_accent.Rd
  16. +1
    -1
      man/mono_accent_inverse.Rd
  17. +1
    -1
      man/mono_dark.Rd
  18. +1
    -1
      man/mono_light.Rd
  19. +1
    -1
      man/solarized_dark.Rd
  20. +1
    -1
      man/solarized_light.Rd
  21. +1
    -1
      man/write_xaringan_theme.Rd
  22. +0
    -0
      vignettes/images/example_default.png
  23. +0
    -0
      vignettes/images/example_duo.png
  24. +0
    -0
      vignettes/images/example_duo_accent.png
  25. +0
    -0
      vignettes/images/example_duo_accent_inverse.png
  26. +0
    -0
      vignettes/images/example_mono_accent.png
  27. +0
    -0
      vignettes/images/example_mono_accent_inverse.png
  28. +0
    -0
      vignettes/images/example_mono_dark.png
  29. +0
    -0
      vignettes/images/example_mono_light.png
  30. +0
    -0
      vignettes/images/example_mono_light_1c5253.png
  31. +0
    -0
      vignettes/images/example_solarized_dark.png
  32. +0
    -0
      vignettes/images/example_solarized_light.png
  33. +0
    -0
      vignettes/images/examples.gif
  34. +0
    -0
      vignettes/images/rmarkdown-template-screenshot.png

+ 1
- 1
R/duo.R Wyświetl plik

@@ -19,7 +19,7 @@
#' @param title_slide_background_image Title Slide Background Image URL. Defaults to NA. Modifies the `.title-slide` class.
#' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the `.title-slide` class.
#' @param title_slide_background_position Title Slide Background Image Position. Defaults to NA. Modifies the `.title-slide` class.
#' @param footnote_color Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}`). Defaults to NA. Modifies the `.footnote` class.
#' @param footnote_color Footnote text color (if `NA`, then it will be the same color as `text_color`). Defaults to NA. Modifies the `.footnote` class.
#' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies the `.footnote` class.
#' @param footnote_position_bottom Footnote location from bottom of screen. Defaults to 3em. Modifies the `.footnote` class.
#' @param left_column_subtle_color Left Column Text (not last). Defaults to `apply_alpha(secondary_color, 0.6)`. Modifies the `.left-column h2, .left-column h3` classes.

+ 1
- 1
R/duo_accent.R Wyświetl plik

@@ -21,7 +21,7 @@
#' @param title_slide_background_image Title Slide Background Image URL. Defaults to NA. Modifies the `.title-slide` class.
#' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the `.title-slide` class.
#' @param title_slide_background_position Title Slide Background Image Position. Defaults to NA. Modifies the `.title-slide` class.
#' @param footnote_color Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}`). Defaults to NA. Modifies the `.footnote` class.
#' @param footnote_color Footnote text color (if `NA`, then it will be the same color as `text_color`). Defaults to NA. Modifies the `.footnote` class.
#' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies the `.footnote` class.
#' @param footnote_position_bottom Footnote location from bottom of screen. Defaults to 3em. Modifies the `.footnote` class.
#' @param left_column_subtle_color Left Column Text (not last). Defaults to `apply_alpha(primary_color, 0.6)`. Modifies the `.left-column h2, .left-column h3` classes.

+ 1
- 1
R/duo_accent_inverse.R Wyświetl plik

@@ -21,7 +21,7 @@
#' @param title_slide_background_image Title Slide Background Image URL. Defaults to NA. Modifies the `.title-slide` class.
#' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the `.title-slide` class.
#' @param title_slide_background_position Title Slide Background Image Position. Defaults to NA. Modifies the `.title-slide` class.
#' @param footnote_color Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}`). Defaults to NA. Modifies the `.footnote` class.
#' @param footnote_color Footnote text color (if `NA`, then it will be the same color as `text_color`). Defaults to NA. Modifies the `.footnote` class.
#' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies the `.footnote` class.
#' @param footnote_position_bottom Footnote location from bottom of screen. Defaults to 3em. Modifies the `.footnote` class.
#' @param left_column_subtle_color Left Column Text (not last). Defaults to `apply_alpha(primary_color, 0.6)`. Modifies the `.left-column h2, .left-column h3` classes.

+ 1
- 1
R/mono_accent.R Wyświetl plik

@@ -20,7 +20,7 @@
#' @param title_slide_background_image Title Slide Background Image URL. Defaults to NA. Modifies the `.title-slide` class.
#' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the `.title-slide` class.
#' @param title_slide_background_position Title Slide Background Image Position. Defaults to NA. Modifies the `.title-slide` class.
#' @param footnote_color Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}`). Defaults to NA. Modifies the `.footnote` class.
#' @param footnote_color Footnote text color (if `NA`, then it will be the same color as `text_color`). Defaults to NA. Modifies the `.footnote` class.
#' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies the `.footnote` class.
#' @param footnote_position_bottom Footnote location from bottom of screen. Defaults to 3em. Modifies the `.footnote` class.
#' @param left_column_subtle_color Left Column Text (not last). Defaults to `apply_alpha(base_color, 0.6)`. Modifies the `.left-column h2, .left-column h3` classes.

+ 1
- 1
R/mono_accent_inverse.R Wyświetl plik

@@ -20,7 +20,7 @@
#' @param title_slide_background_image Title Slide Background Image URL. Defaults to NA. Modifies the `.title-slide` class.
#' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the `.title-slide` class.
#' @param title_slide_background_position Title Slide Background Image Position. Defaults to NA. Modifies the `.title-slide` class.
#' @param footnote_color Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}`). Defaults to NA. Modifies the `.footnote` class.
#' @param footnote_color Footnote text color (if `NA`, then it will be the same color as `text_color`). Defaults to NA. Modifies the `.footnote` class.
#' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies the `.footnote` class.
#' @param footnote_position_bottom Footnote location from bottom of screen. Defaults to 3em. Modifies the `.footnote` class.
#' @param left_column_subtle_color Left Column Text (not last). Defaults to `apply_alpha(base_color, 0.6)`. Modifies the `.left-column h2, .left-column h3` classes.

+ 1
- 1
R/mono_dark.R Wyświetl plik

@@ -20,7 +20,7 @@
#' @param title_slide_background_image Title Slide Background Image URL. Defaults to NA. Modifies the `.title-slide` class.
#' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the `.title-slide` class.
#' @param title_slide_background_position Title Slide Background Image Position. Defaults to NA. Modifies the `.title-slide` class.
#' @param footnote_color Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}`). Defaults to NA. Modifies the `.footnote` class.
#' @param footnote_color Footnote text color (if `NA`, then it will be the same color as `text_color`). Defaults to NA. Modifies the `.footnote` class.
#' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies the `.footnote` class.
#' @param footnote_position_bottom Footnote location from bottom of screen. Defaults to 3em. Modifies the `.footnote` class.
#' @param left_column_subtle_color Left Column Text (not last). Defaults to `apply_alpha(base_color, 0.6)`. Modifies the `.left-column h2, .left-column h3` classes.

+ 1
- 1
R/mono_light.R Wyświetl plik

@@ -20,7 +20,7 @@
#' @param title_slide_background_image Title Slide Background Image URL. Defaults to NA. Modifies the `.title-slide` class.
#' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the `.title-slide` class.
#' @param title_slide_background_position Title Slide Background Image Position. Defaults to NA. Modifies the `.title-slide` class.
#' @param footnote_color Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}`). Defaults to NA. Modifies the `.footnote` class.
#' @param footnote_color Footnote text color (if `NA`, then it will be the same color as `text_color`). Defaults to NA. Modifies the `.footnote` class.
#' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies the `.footnote` class.
#' @param footnote_position_bottom Footnote location from bottom of screen. Defaults to 3em. Modifies the `.footnote` class.
#' @param left_column_subtle_color Left Column Text (not last). Defaults to `apply_alpha(base_color, 0.6)`. Modifies the `.left-column h2, .left-column h3` classes.

+ 1
- 1
R/solarized_dark.R Wyświetl plik

@@ -17,7 +17,7 @@
#' @param title_slide_background_image Title Slide Background Image URL. Defaults to NA. Modifies the `.title-slide` class.
#' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the `.title-slide` class.
#' @param title_slide_background_position Title Slide Background Image Position. Defaults to NA. Modifies the `.title-slide` class.
#' @param footnote_color Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}`). Defaults to NA. Modifies the `.footnote` class.
#' @param footnote_color Footnote text color (if `NA`, then it will be the same color as `text_color`). Defaults to NA. Modifies the `.footnote` class.
#' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies the `.footnote` class.
#' @param footnote_position_bottom Footnote location from bottom of screen. Defaults to 3em. Modifies the `.footnote` class.
#' @param left_column_subtle_color Left Column Text (not last). Defaults to #586e75. Modifies the `.left-column h2, .left-column h3` classes.

+ 1
- 1
R/solarized_light.R Wyświetl plik

@@ -17,7 +17,7 @@
#' @param title_slide_background_image Title Slide Background Image URL. Defaults to NA. Modifies the `.title-slide` class.
#' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the `.title-slide` class.
#' @param title_slide_background_position Title Slide Background Image Position. Defaults to NA. Modifies the `.title-slide` class.
#' @param footnote_color Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}`). Defaults to NA. Modifies the `.footnote` class.
#' @param footnote_color Footnote text color (if `NA`, then it will be the same color as `text_color`). Defaults to NA. Modifies the `.footnote` class.
#' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies the `.footnote` class.
#' @param footnote_position_bottom Footnote location from bottom of screen. Defaults to 3em. Modifies the `.footnote` class.
#' @param left_column_subtle_color Left Column Text (not last). Defaults to #93a1a1. Modifies the `.left-column h2, .left-column h3` classes.

+ 1
- 1
R/theme_settings.R Wyświetl plik

@@ -19,7 +19,7 @@ template_variables <- tibble::tribble(
, "title_slide_background_image", NA_character_, ".title-slide", "Title Slide Background Image URL"
, "title_slide_background_size", NA_character_, ".title-slide", "Title Slide Background Image Size, defaults to \"cover\" if background image is set"
, "title_slide_background_position", NA_character_, ".title-slide", "Title Slide Background Image Position"
, "footnote_color", NA_character_, ".footnote", "Footnote text color (if \\code{NA}, then it will be the same color as \\code{text_color}`)"
, "footnote_color", NA_character_, ".footnote", "Footnote text color (if `NA`, then it will be the same color as `text_color`)"
, "footnote_font_size", "0.9em", ".footnote", "Footnote font size"
, "footnote_position_bottom", "3em", ".footnote", "Footnote location from bottom of screen"
, "left_column_subtle_color", "#777", ".left-column h2, .left-column h3", "Left Column Text (not last)"

+ 1
- 1
R/write_theme.R Wyświetl plik

@@ -17,7 +17,7 @@
#' @param title_slide_background_image Title Slide Background Image URL. Defaults to NA. Modifies the `.title-slide` class.
#' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the `.title-slide` class.
#' @param title_slide_background_position Title Slide Background Image Position. Defaults to NA. Modifies the `.title-slide` class.
#' @param footnote_color Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}`). Defaults to NA. Modifies the `.footnote` class.
#' @param footnote_color Footnote text color (if `NA`, then it will be the same color as `text_color`). Defaults to NA. Modifies the `.footnote` class.
#' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies the `.footnote` class.
#' @param footnote_position_bottom Footnote location from bottom of screen. Defaults to 3em. Modifies the `.footnote` class.
#' @param left_column_subtle_color Left Column Text (not last). Defaults to #777. Modifies the `.left-column h2, .left-column h3` classes.

+ 1
- 1
man/duo.Rd Wyświetl plik

@@ -82,7 +82,7 @@ duo(primary_color = "#1F4257", secondary_color = "#F97B64",

\item{title_slide_background_position}{Title Slide Background Image Position. Defaults to NA. Modifies the \code{.title-slide} class.}

\item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}\code{). Defaults to NA. Modifies the}.footnote` class.}
\item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}). Defaults to NA. Modifies the \code{.footnote} class.}

\item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies the \code{.footnote} class.}


+ 1
- 1
man/duo_accent.Rd Wyświetl plik

@@ -90,7 +90,7 @@ duo_accent(primary_color = "#006747", secondary_color = "#CFC493",

\item{title_slide_background_position}{Title Slide Background Image Position. Defaults to NA. Modifies the \code{.title-slide} class.}

\item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}\code{). Defaults to NA. Modifies the}.footnote` class.}
\item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}). Defaults to NA. Modifies the \code{.footnote} class.}

\item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies the \code{.footnote} class.}


+ 1
- 1
man/duo_accent_inverse.Rd Wyświetl plik

@@ -91,7 +91,7 @@ duo_accent_inverse(primary_color = "#006747", secondary_color = "#CFC493",

\item{title_slide_background_position}{Title Slide Background Image Position. Defaults to NA. Modifies the \code{.title-slide} class.}

\item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}\code{). Defaults to NA. Modifies the}.footnote` class.}
\item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}). Defaults to NA. Modifies the \code{.footnote} class.}

\item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies the \code{.footnote} class.}


+ 1
- 1
man/mono_accent.Rd Wyświetl plik

@@ -84,7 +84,7 @@ mono_accent(base_color = "#43418A", white_color = "#FFFFFF",

\item{title_slide_background_position}{Title Slide Background Image Position. Defaults to NA. Modifies the \code{.title-slide} class.}

\item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}\code{). Defaults to NA. Modifies the}.footnote` class.}
\item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}). Defaults to NA. Modifies the \code{.footnote} class.}

\item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies the \code{.footnote} class.}


+ 1
- 1
man/mono_accent_inverse.Rd Wyświetl plik

@@ -84,7 +84,7 @@ mono_accent_inverse(base_color = "#3C989E", white_color = "#FFFFFF",

\item{title_slide_background_position}{Title Slide Background Image Position. Defaults to NA. Modifies the \code{.title-slide} class.}

\item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}\code{). Defaults to NA. Modifies the}.footnote` class.}
\item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}). Defaults to NA. Modifies the \code{.footnote} class.}

\item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies the \code{.footnote} class.}


+ 1
- 1
man/mono_dark.Rd Wyświetl plik

@@ -84,7 +84,7 @@ mono_dark(base_color = "#cbf7ed", white_color = lighten_color(base_color,

\item{title_slide_background_position}{Title Slide Background Image Position. Defaults to NA. Modifies the \code{.title-slide} class.}

\item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}\code{). Defaults to NA. Modifies the}.footnote` class.}
\item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}). Defaults to NA. Modifies the \code{.footnote} class.}

\item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies the \code{.footnote} class.}


+ 1
- 1
man/mono_light.Rd Wyświetl plik

@@ -84,7 +84,7 @@ mono_light(base_color = "#23395b", white_color = lighten_color(base_color,

\item{title_slide_background_position}{Title Slide Background Image Position. Defaults to NA. Modifies the \code{.title-slide} class.}

\item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}\code{). Defaults to NA. Modifies the}.footnote` class.}
\item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}). Defaults to NA. Modifies the \code{.footnote} class.}

\item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies the \code{.footnote} class.}


+ 1
- 1
man/solarized_dark.Rd Wyświetl plik

@@ -74,7 +74,7 @@ solarized_dark(text_color = "#839496", header_color = "#dc322f",

\item{title_slide_background_position}{Title Slide Background Image Position. Defaults to NA. Modifies the \code{.title-slide} class.}

\item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}\code{). Defaults to NA. Modifies the}.footnote` class.}
\item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}). Defaults to NA. Modifies the \code{.footnote} class.}

\item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies the \code{.footnote} class.}


+ 1
- 1
man/solarized_light.Rd Wyświetl plik

@@ -74,7 +74,7 @@ solarized_light(text_color = "#657b83", header_color = "#dc322f",

\item{title_slide_background_position}{Title Slide Background Image Position. Defaults to NA. Modifies the \code{.title-slide} class.}

\item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}\code{). Defaults to NA. Modifies the}.footnote` class.}
\item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}). Defaults to NA. Modifies the \code{.footnote} class.}

\item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies the \code{.footnote} class.}


+ 1
- 1
man/write_xaringan_theme.Rd Wyświetl plik

@@ -73,7 +73,7 @@ write_xaringan_theme(text_color = "#000", header_color = "#000",

\item{title_slide_background_position}{Title Slide Background Image Position. Defaults to NA. Modifies the \code{.title-slide} class.}

\item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}\code{). Defaults to NA. Modifies the}.footnote` class.}
\item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}). Defaults to NA. Modifies the \code{.footnote} class.}

\item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies the \code{.footnote} class.}


docs/example_default.png → vignettes/images/example_default.png Wyświetl plik


docs/example_duo.png → vignettes/images/example_duo.png Wyświetl plik


docs/example_duo_accent.png → vignettes/images/example_duo_accent.png Wyświetl plik


docs/example_duo_accent_inverse.png → vignettes/images/example_duo_accent_inverse.png Wyświetl plik


docs/example_mono_accent.png → vignettes/images/example_mono_accent.png Wyświetl plik


docs/example_mono_accent_inverse.png → vignettes/images/example_mono_accent_inverse.png Wyświetl plik


docs/example_mono_dark.png → vignettes/images/example_mono_dark.png Wyświetl plik


docs/example_mono_light.png → vignettes/images/example_mono_light.png Wyświetl plik


docs/example_mono_light_1c5253.png → vignettes/images/example_mono_light_1c5253.png Wyświetl plik


docs/example_solarized_dark.png → vignettes/images/example_solarized_dark.png Wyświetl plik


docs/example_solarized_light.png → vignettes/images/example_solarized_light.png Wyświetl plik


docs/examples.gif → vignettes/images/examples.gif Wyświetl plik


docs/rmarkdown-template-screenshot.png → vignettes/images/rmarkdown-template-screenshot.png Wyświetl plik


Ładowanie…
Anuluj
Zapisz