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

BREAKING - blockquote_left_border_color replaces blockquote_left_color

tags/v0.1.1
Garrick Aden-Buie 8 лет назад
Родитель
Сommit
025a94c4a5
24 измененных файлов: 58 добавлений и 56 удалений
  1. +1
    -1
      .gitignore
  2. +2
    -2
      R/duo.R
  3. +2
    -2
      R/duo_accent.R
  4. +2
    -2
      R/duo_accent_inverse.R
  5. +2
    -2
      R/mono_accent.R
  6. +2
    -2
      R/mono_accent_inverse.R
  7. +2
    -2
      R/mono_dark.R
  8. +2
    -2
      R/mono_light.R
  9. +2
    -2
      R/solarized_dark.R
  10. +2
    -2
      R/solarized_light.R
  11. +11
    -11
      R/theme_settings.R
  12. +2
    -2
      R/write_theme.R
  13. +1
    -1
      inst/resources/template.css
  14. +2
    -2
      man/duo.Rd
  15. +2
    -2
      man/duo_accent.Rd
  16. +2
    -2
      man/duo_accent_inverse.Rd
  17. +2
    -2
      man/mono_accent.Rd
  18. +2
    -2
      man/mono_accent_inverse.Rd
  19. +2
    -2
      man/mono_dark.Rd
  20. +2
    -2
      man/mono_light.Rd
  21. +4
    -3
      man/solarized_dark.Rd
  22. +4
    -3
      man/solarized_light.Rd
  23. +2
    -2
      man/write_xaringan_theme.Rd
  24. +1
    -1
      vignettes/template-variables.md

+ 1
- 1
.gitignore Просмотреть файл

@@ -2,4 +2,4 @@
.Rhistory
.RData
.Ruserdata
inst/doc/
inst/doc

+ 2
- 2
R/duo.R Просмотреть файл

@@ -24,7 +24,7 @@
#' @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.
#' @param left_column_selected_color Left Column Current Selection. Defaults to `secondary_color`. Modifies the `.left-column h2:last-of-type, .left-column h3:last-child` classes.
#' @param blockquote_left_color Blockquote Left Border Color. Defaults to `apply_alpha(secondary_color, 0.5)`. Modifies the `blockquote` element.
#' @param blockquote_left_border_color Blockquote Left Border Color. Defaults to `apply_alpha(secondary_color, 0.5)`. Modifies the `blockquote` element.
#' @param table_border_color Table top/bottom border. Defaults to #666. Modifies the `table: border-top, border-bottom` elements.
#' @param table_row_border_color Table row inner bottom border. Defaults to #ddd. Modifies the `table thead th: border-bottom` elements.
#' @param table_row_even_background_color Table Even Row Background Color. Defaults to `lighten_color(primary_color, 0.3)`. Modifies the `thead, tfoot, tr:nth-child(even)` elements.
@@ -80,7 +80,7 @@ duo <- function(
footnote_position_bottom = "3em",
left_column_subtle_color = apply_alpha(secondary_color, 0.6),
left_column_selected_color = secondary_color,
blockquote_left_color = apply_alpha(secondary_color, 0.5),
blockquote_left_border_color = apply_alpha(secondary_color, 0.5),
table_border_color = "#666",
table_row_border_color = "#ddd",
table_row_even_background_color = lighten_color(primary_color, 0.3),

+ 2
- 2
R/duo_accent.R Просмотреть файл

@@ -26,7 +26,7 @@
#' @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.
#' @param left_column_selected_color Left Column Current Selection. Defaults to `primary_color`. Modifies the `.left-column h2:last-of-type, .left-column h3:last-child` classes.
#' @param blockquote_left_color Blockquote Left Border Color. Defaults to `apply_alpha(secondary_color, 0.5)`. Modifies the `blockquote` element.
#' @param blockquote_left_border_color Blockquote Left Border Color. Defaults to `apply_alpha(secondary_color, 0.5)`. Modifies the `blockquote` element.
#' @param table_border_color Table top/bottom border. Defaults to #666. Modifies the `table: border-top, border-bottom` elements.
#' @param table_row_border_color Table row inner bottom border. Defaults to #ddd. Modifies the `table thead th: border-bottom` elements.
#' @param table_row_even_background_color Table Even Row Background Color. Defaults to `lighten_color(secondary_color, 0.3)`. Modifies the `thead, tfoot, tr:nth-child(even)` elements.
@@ -84,7 +84,7 @@ duo_accent <- function(
footnote_position_bottom = "3em",
left_column_subtle_color = apply_alpha(primary_color, 0.6),
left_column_selected_color = primary_color,
blockquote_left_color = apply_alpha(secondary_color, 0.5),
blockquote_left_border_color = apply_alpha(secondary_color, 0.5),
table_border_color = "#666",
table_row_border_color = "#ddd",
table_row_even_background_color = lighten_color(secondary_color, 0.3),

+ 2
- 2
R/duo_accent_inverse.R Просмотреть файл

@@ -26,7 +26,7 @@
#' @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.
#' @param left_column_selected_color Left Column Current Selection. Defaults to `primary_color`. Modifies the `.left-column h2:last-of-type, .left-column h3:last-child` classes.
#' @param blockquote_left_color Blockquote Left Border Color. Defaults to `apply_alpha(secondary_color, 0.5)`. Modifies the `blockquote` element.
#' @param blockquote_left_border_color Blockquote Left Border Color. Defaults to `apply_alpha(secondary_color, 0.5)`. Modifies the `blockquote` element.
#' @param table_border_color Table top/bottom border. Defaults to #666. Modifies the `table: border-top, border-bottom` elements.
#' @param table_row_border_color Table row inner bottom border. Defaults to #ddd. Modifies the `table thead th: border-bottom` elements.
#' @param table_row_even_background_color Table Even Row Background Color. Defaults to `darken_color(choose_dark_or_light(primary_color, secondary_color, primary_color), 0.3)`. Modifies the `thead, tfoot, tr:nth-child(even)` elements.
@@ -84,7 +84,7 @@ duo_accent_inverse <- function(
footnote_position_bottom = "3em",
left_column_subtle_color = apply_alpha(primary_color, 0.6),
left_column_selected_color = primary_color,
blockquote_left_color = apply_alpha(secondary_color, 0.5),
blockquote_left_border_color = apply_alpha(secondary_color, 0.5),
table_border_color = "#666",
table_row_border_color = "#ddd",
table_row_even_background_color = darken_color(choose_dark_or_light(primary_color, secondary_color, primary_color), 0.3),

+ 2
- 2
R/mono_accent.R Просмотреть файл

@@ -25,7 +25,7 @@
#' @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.
#' @param left_column_selected_color Left Column Current Selection. Defaults to `base_color`. Modifies the `.left-column h2:last-of-type, .left-column h3:last-child` classes.
#' @param blockquote_left_color Blockquote Left Border Color. Defaults to `apply_alpha(base_color, 0.5)`. Modifies the `blockquote` element.
#' @param blockquote_left_border_color Blockquote Left Border Color. Defaults to `apply_alpha(base_color, 0.5)`. Modifies the `blockquote` element.
#' @param table_border_color Table top/bottom border. Defaults to #666. Modifies the `table: border-top, border-bottom` elements.
#' @param table_row_border_color Table row inner bottom border. Defaults to #ddd. Modifies the `table thead th: border-bottom` elements.
#' @param table_row_even_background_color Table Even Row Background Color. Defaults to `lighten_color(base_color, 0.7)`. Modifies the `thead, tfoot, tr:nth-child(even)` elements.
@@ -82,7 +82,7 @@ mono_accent <- function(
footnote_position_bottom = "3em",
left_column_subtle_color = apply_alpha(base_color, 0.6),
left_column_selected_color = base_color,
blockquote_left_color = apply_alpha(base_color, 0.5),
blockquote_left_border_color = apply_alpha(base_color, 0.5),
table_border_color = "#666",
table_row_border_color = "#ddd",
table_row_even_background_color = lighten_color(base_color, 0.7),

+ 2
- 2
R/mono_accent_inverse.R Просмотреть файл

@@ -25,7 +25,7 @@
#' @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.
#' @param left_column_selected_color Left Column Current Selection. Defaults to `base_color`. Modifies the `.left-column h2:last-of-type, .left-column h3:last-child` classes.
#' @param blockquote_left_color Blockquote Left Border Color. Defaults to `apply_alpha(base_color, 0.5)`. Modifies the `blockquote` element.
#' @param blockquote_left_border_color Blockquote Left Border Color. Defaults to `apply_alpha(base_color, 0.5)`. Modifies the `blockquote` element.
#' @param table_border_color Table top/bottom border. Defaults to #666. Modifies the `table: border-top, border-bottom` elements.
#' @param table_row_border_color Table row inner bottom border. Defaults to #ddd. Modifies the `table thead th: border-bottom` elements.
#' @param table_row_even_background_color Table Even Row Background Color. Defaults to `darken_color(base_color, 0.7)`. Modifies the `thead, tfoot, tr:nth-child(even)` elements.
@@ -82,7 +82,7 @@ mono_accent_inverse <- function(
footnote_position_bottom = "3em",
left_column_subtle_color = apply_alpha(base_color, 0.6),
left_column_selected_color = base_color,
blockquote_left_color = apply_alpha(base_color, 0.5),
blockquote_left_border_color = apply_alpha(base_color, 0.5),
table_border_color = "#666",
table_row_border_color = "#ddd",
table_row_even_background_color = darken_color(base_color, 0.7),

+ 2
- 2
R/mono_dark.R Просмотреть файл

@@ -25,7 +25,7 @@
#' @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.
#' @param left_column_selected_color Left Column Current Selection. Defaults to `base_color`. Modifies the `.left-column h2:last-of-type, .left-column h3:last-child` classes.
#' @param blockquote_left_color Blockquote Left Border Color. Defaults to `apply_alpha(base_color, 0.5)`. Modifies the `blockquote` element.
#' @param blockquote_left_border_color Blockquote Left Border Color. Defaults to `apply_alpha(base_color, 0.5)`. Modifies the `blockquote` element.
#' @param table_border_color Table top/bottom border. Defaults to #666. Modifies the `table: border-top, border-bottom` elements.
#' @param table_row_border_color Table row inner bottom border. Defaults to #ddd. Modifies the `table thead th: border-bottom` elements.
#' @param table_row_even_background_color Table Even Row Background Color. Defaults to `darken_color(base_color, 0.7)`. Modifies the `thead, tfoot, tr:nth-child(even)` elements.
@@ -82,7 +82,7 @@ mono_dark <- function(
footnote_position_bottom = "3em",
left_column_subtle_color = apply_alpha(base_color, 0.6),
left_column_selected_color = base_color,
blockquote_left_color = apply_alpha(base_color, 0.5),
blockquote_left_border_color = apply_alpha(base_color, 0.5),
table_border_color = "#666",
table_row_border_color = "#ddd",
table_row_even_background_color = darken_color(base_color, 0.7),

+ 2
- 2
R/mono_light.R Просмотреть файл

@@ -25,7 +25,7 @@
#' @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.
#' @param left_column_selected_color Left Column Current Selection. Defaults to `base_color`. Modifies the `.left-column h2:last-of-type, .left-column h3:last-child` classes.
#' @param blockquote_left_color Blockquote Left Border Color. Defaults to `apply_alpha(base_color, 0.5)`. Modifies the `blockquote` element.
#' @param blockquote_left_border_color Blockquote Left Border Color. Defaults to `apply_alpha(base_color, 0.5)`. Modifies the `blockquote` element.
#' @param table_border_color Table top/bottom border. Defaults to #666. Modifies the `table: border-top, border-bottom` elements.
#' @param table_row_border_color Table row inner bottom border. Defaults to #ddd. Modifies the `table thead th: border-bottom` elements.
#' @param table_row_even_background_color Table Even Row Background Color. Defaults to `lighten_color(base_color, 0.8)`. Modifies the `thead, tfoot, tr:nth-child(even)` elements.
@@ -82,7 +82,7 @@ mono_light <- function(
footnote_position_bottom = "3em",
left_column_subtle_color = apply_alpha(base_color, 0.6),
left_column_selected_color = base_color,
blockquote_left_color = apply_alpha(base_color, 0.5),
blockquote_left_border_color = apply_alpha(base_color, 0.5),
table_border_color = "#666",
table_row_border_color = "#ddd",
table_row_even_background_color = lighten_color(base_color, 0.8),

+ 2
- 2
R/solarized_dark.R Просмотреть файл

@@ -22,7 +22,7 @@
#' @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.
#' @param left_column_selected_color Left Column Current Selection. Defaults to #93a1a1. Modifies the `.left-column h2:last-of-type, .left-column h3:last-child` classes.
#' @param blockquote_left_color Blockquote Left Border Color. Defaults to #cb4b16. Modifies the `blockquote` element.
#' @param blockquote_left_border_color Blockquote Left Border Color. Defaults to #cb4b16. Modifies the `blockquote` element.
#' @param table_border_color Table top/bottom border. Defaults to #657b83. Modifies the `table: border-top, border-bottom` elements.
#' @param table_row_border_color Table row inner bottom border. Defaults to #657b83. Modifies the `table thead th: border-bottom` elements.
#' @param table_row_even_background_color Table Even Row Background Color. Defaults to #073642. Modifies the `thead, tfoot, tr:nth-child(even)` elements.
@@ -76,7 +76,7 @@ solarized_dark <- function(
footnote_position_bottom = "3em",
left_column_subtle_color = "#586e75",
left_column_selected_color = "#93a1a1",
blockquote_left_color = "#cb4b16",
blockquote_left_border_color = "#cb4b16",
table_border_color = "#657b83",
table_row_border_color = "#657b83",
table_row_even_background_color = "#073642",

+ 2
- 2
R/solarized_light.R Просмотреть файл

@@ -22,7 +22,7 @@
#' @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.
#' @param left_column_selected_color Left Column Current Selection. Defaults to #586e75. Modifies the `.left-column h2:last-of-type, .left-column h3:last-child` classes.
#' @param blockquote_left_color Blockquote Left Border Color. Defaults to #cb4b16. Modifies the `blockquote` element.
#' @param blockquote_left_border_color Blockquote Left Border Color. Defaults to #cb4b16. Modifies the `blockquote` element.
#' @param table_border_color Table top/bottom border. Defaults to #839496. Modifies the `table: border-top, border-bottom` elements.
#' @param table_row_border_color Table row inner bottom border. Defaults to #839496. Modifies the `table thead th: border-bottom` elements.
#' @param table_row_even_background_color Table Even Row Background Color. Defaults to #eee8d5. Modifies the `thead, tfoot, tr:nth-child(even)` elements.
@@ -76,7 +76,7 @@ solarized_light <- function(
footnote_position_bottom = "3em",
left_column_subtle_color = "#93a1a1",
left_column_selected_color = "#586e75",
blockquote_left_color = "#cb4b16",
blockquote_left_border_color = "#cb4b16",
table_border_color = "#839496",
table_row_border_color = "#839496",
table_row_even_background_color = "#eee8d5",

+ 11
- 11
R/theme_settings.R Просмотреть файл

@@ -24,7 +24,7 @@ template_variables <- tibble::tribble(
, "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)"
, "left_column_selected_color", "#000", ".left-column h2:last-of-type, .left-column h3:last-child", "Left Column Current Selection"
, "blockquote_left_color", "lightgray", "blockquote", "Blockquote Left Border Color"
, "blockquote_left_border_color", "lightgray", "blockquote", "Blockquote Left Border Color"
, "table_border_color", "#666", "table: border-top, border-bottom", "Table top/bottom border"
, "table_row_border_color", "#ddd", "table thead th: border-bottom", "Table row inner bottom border"
, "table_row_even_background_color", "#eee", "thead, tfoot, tr:nth-child(even)", "Table Even Row Background Color"
@@ -79,7 +79,7 @@ template_mono_light <- set_default(
inverse_header_color = "{white_color}",
left_column_subtle_color = "{apply_alpha(base_color, 0.6)}",
left_column_selected_color = "{base_color}",
blockquote_left_color = "{apply_alpha(base_color, 0.5)}",
blockquote_left_border_color = "{apply_alpha(base_color, 0.5)}",
table_row_even_background_color = "{lighten_color(base_color, 0.8)}")

template_mono_dark <- tibble::tribble(
@@ -103,7 +103,7 @@ template_mono_dark <- set_default(
inverse_header_color = "{black_color}",
left_column_subtle_color = "{apply_alpha(base_color, 0.6)}",
left_column_selected_color = "{base_color}",
blockquote_left_color = "{apply_alpha(base_color, 0.5)}",
blockquote_left_border_color = "{apply_alpha(base_color, 0.5)}",
table_row_even_background_color = "{darken_color(base_color, 0.7)}")

template_mono_accent <- tibble::tribble(
@@ -127,7 +127,7 @@ template_mono_accent <- set_default(
inverse_header_color = "{white_color}",
left_column_subtle_color = "{apply_alpha(base_color, 0.6)}",
left_column_selected_color = "{base_color}",
blockquote_left_color = "{apply_alpha(base_color, 0.5)}",
blockquote_left_border_color = "{apply_alpha(base_color, 0.5)}",
table_row_even_background_color = "{lighten_color(base_color, 0.7)}")

template_mono_accent_inverse <- tibble::tribble(
@@ -151,7 +151,7 @@ template_mono_accent_inverse <- set_default(
inverse_header_color = "{black_color}",
left_column_subtle_color = "{apply_alpha(base_color, 0.6)}",
left_column_selected_color = "{base_color}",
blockquote_left_color = "{apply_alpha(base_color, 0.5)}",
blockquote_left_border_color = "{apply_alpha(base_color, 0.5)}",
table_row_even_background_color = "{darken_color(base_color, 0.7)}")

template_duo_light <- tibble::tribble(
@@ -176,7 +176,7 @@ template_duo_light <- set_default(
inverse_header_color = "{secondary_color}",
left_column_subtle_color = "{apply_alpha(secondary_color, 0.6)}",
left_column_selected_color = "{secondary_color}",
blockquote_left_color = "{apply_alpha(secondary_color, 0.5)}",
blockquote_left_border_color = "{apply_alpha(secondary_color, 0.5)}",
table_row_even_background_color = "{lighten_color(secondary_color, 0.7)}")

template_duo <- tibble::tribble(
@@ -201,7 +201,7 @@ template_duo <- set_default(
title_slide_background_color = "{primary_color}",
left_column_subtle_color = "{apply_alpha(secondary_color, 0.6)}",
left_column_selected_color = "{secondary_color}",
blockquote_left_color = "{apply_alpha(secondary_color, 0.5)}",
blockquote_left_border_color = "{apply_alpha(secondary_color, 0.5)}",
table_row_even_background_color = "{lighten_color(primary_color, 0.3)}")

template_duo_accent <- tibble::tribble(
@@ -228,7 +228,7 @@ template_duo_accent <- set_default(
title_slide_text_color = "{choose_dark_or_light(primary_color, black_color, white_color)}",
left_column_subtle_color = "{apply_alpha(primary_color, 0.6)}",
left_column_selected_color = "{primary_color}",
blockquote_left_color = "{apply_alpha(secondary_color, 0.5)}",
blockquote_left_border_color = "{apply_alpha(secondary_color, 0.5)}",
table_row_even_background_color = "{lighten_color(secondary_color, 0.3)}")

template_duo_accent_inverse <- set_default(
@@ -247,7 +247,7 @@ template_duo_accent_inverse <- set_default(
title_slide_text_color = "{choose_dark_or_light(primary_color, black_color, white_color)}",
left_column_subtle_color = "{apply_alpha(primary_color, 0.6)}",
left_column_selected_color = "{primary_color}",
blockquote_left_color = "{apply_alpha(secondary_color, 0.5)}",
blockquote_left_border_color = "{apply_alpha(secondary_color, 0.5)}",
table_row_even_background_color = "{darken_color(choose_dark_or_light(primary_color, secondary_color, primary_color), 0.3)}")

solarized <- list(
@@ -286,7 +286,7 @@ template_solarized_light <- set_default(
title_slide_background_color = "{inverse_background_color}",
left_column_subtle_color = solarized$base1,
left_column_selected_color = solarized$base01,
blockquote_left_color = solarized$orange,
blockquote_left_border_color = solarized$orange,
table_border_color = solarized$base0,
table_row_border_color = solarized$base0,
table_row_even_background_color = solarized$base2
@@ -309,7 +309,7 @@ template_solarized_dark <- set_default(
title_slide_background_color = "{inverse_background_color}",
left_column_subtle_color = solarized$base01,
left_column_selected_color = solarized$base1,
blockquote_left_color = solarized$orange,
blockquote_left_border_color = solarized$orange,
table_border_color = solarized$base00,
table_row_border_color = solarized$base00,
table_row_even_background_color = solarized$base02

+ 2
- 2
R/write_theme.R Просмотреть файл

@@ -22,7 +22,7 @@
#' @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.
#' @param left_column_selected_color Left Column Current Selection. Defaults to #000. Modifies the `.left-column h2:last-of-type, .left-column h3:last-child` classes.
#' @param blockquote_left_color Blockquote Left Border Color. Defaults to lightgray. Modifies the `blockquote` element.
#' @param blockquote_left_border_color Blockquote Left Border Color. Defaults to lightgray. Modifies the `blockquote` element.
#' @param table_border_color Table top/bottom border. Defaults to #666. Modifies the `table: border-top, border-bottom` elements.
#' @param table_row_border_color Table row inner bottom border. Defaults to #ddd. Modifies the `table thead th: border-bottom` elements.
#' @param table_row_even_background_color Table Even Row Background Color. Defaults to #eee. Modifies the `thead, tfoot, tr:nth-child(even)` elements.
@@ -75,7 +75,7 @@ write_xaringan_theme <- function(
footnote_position_bottom = "3em",
left_column_subtle_color = "#777",
left_column_selected_color = "#000",
blockquote_left_color = "lightgray",
blockquote_left_border_color = "lightgray",
table_border_color = "#666",
table_row_border_color = "#ddd",
table_row_even_background_color = "#eee",

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

@@ -128,7 +128,7 @@ img, video, iframe {
max-width: 100%;
}
blockquote {
border-left: solid 5px {{blockquote_left_color}};
border-left: solid 5px {{blockquote_left_border_color}};
padding-left: 1em;
}
table {

+ 2
- 2
man/duo.Rd Просмотреть файл

@@ -21,7 +21,7 @@ duo(primary_color = "#1F4257", secondary_color = "#F97B64",
footnote_font_size = "0.9em", footnote_position_bottom = "3em",
left_column_subtle_color = apply_alpha(secondary_color, 0.6),
left_column_selected_color = secondary_color,
blockquote_left_color = apply_alpha(secondary_color, 0.5),
blockquote_left_border_color = apply_alpha(secondary_color, 0.5),
table_border_color = "#666", table_row_border_color = "#ddd",
table_row_even_background_color = lighten_color(primary_color, 0.3),
text_font_size = "20px", header_h1_font_size = "55px",
@@ -92,7 +92,7 @@ duo(primary_color = "#1F4257", secondary_color = "#F97B64",

\item{left_column_selected_color}{Left Column Current Selection. Defaults to \code{secondary_color}. Modifies the \code{.left-column h2:last-of-type, .left-column h3:last-child} classes.}

\item{blockquote_left_color}{Blockquote Left Border Color. Defaults to \code{apply_alpha(secondary_color, 0.5)}. Modifies the \code{blockquote} element.}
\item{blockquote_left_border_color}{Blockquote Left Border Color. Defaults to \code{apply_alpha(secondary_color, 0.5)}. Modifies the \code{blockquote} element.}

\item{table_border_color}{Table top/bottom border. Defaults to #666. Modifies the \code{table: border-top, border-bottom} elements.}


+ 2
- 2
man/duo_accent.Rd Просмотреть файл

@@ -25,7 +25,7 @@ duo_accent(primary_color = "#006747", secondary_color = "#CFC493",
footnote_font_size = "0.9em", footnote_position_bottom = "3em",
left_column_subtle_color = apply_alpha(primary_color, 0.6),
left_column_selected_color = primary_color,
blockquote_left_color = apply_alpha(secondary_color, 0.5),
blockquote_left_border_color = apply_alpha(secondary_color, 0.5),
table_border_color = "#666", table_row_border_color = "#ddd",
table_row_even_background_color = lighten_color(secondary_color, 0.3),
text_font_size = "20px", header_h1_font_size = "55px",
@@ -100,7 +100,7 @@ duo_accent(primary_color = "#006747", secondary_color = "#CFC493",

\item{left_column_selected_color}{Left Column Current Selection. Defaults to \code{primary_color}. Modifies the \code{.left-column h2:last-of-type, .left-column h3:last-child} classes.}

\item{blockquote_left_color}{Blockquote Left Border Color. Defaults to \code{apply_alpha(secondary_color, 0.5)}. Modifies the \code{blockquote} element.}
\item{blockquote_left_border_color}{Blockquote Left Border Color. Defaults to \code{apply_alpha(secondary_color, 0.5)}. Modifies the \code{blockquote} element.}

\item{table_border_color}{Table top/bottom border. Defaults to #666. Modifies the \code{table: border-top, border-bottom} elements.}


+ 2
- 2
man/duo_accent_inverse.Rd Просмотреть файл

@@ -25,7 +25,7 @@ duo_accent_inverse(primary_color = "#006747", secondary_color = "#CFC493",
footnote_font_size = "0.9em", footnote_position_bottom = "3em",
left_column_subtle_color = apply_alpha(primary_color, 0.6),
left_column_selected_color = primary_color,
blockquote_left_color = apply_alpha(secondary_color, 0.5),
blockquote_left_border_color = apply_alpha(secondary_color, 0.5),
table_border_color = "#666", table_row_border_color = "#ddd",
table_row_even_background_color = darken_color(choose_dark_or_light(primary_color,
secondary_color, primary_color), 0.3), text_font_size = "20px",
@@ -101,7 +101,7 @@ duo_accent_inverse(primary_color = "#006747", secondary_color = "#CFC493",

\item{left_column_selected_color}{Left Column Current Selection. Defaults to \code{primary_color}. Modifies the \code{.left-column h2:last-of-type, .left-column h3:last-child} classes.}

\item{blockquote_left_color}{Blockquote Left Border Color. Defaults to \code{apply_alpha(secondary_color, 0.5)}. Modifies the \code{blockquote} element.}
\item{blockquote_left_border_color}{Blockquote Left Border Color. Defaults to \code{apply_alpha(secondary_color, 0.5)}. Modifies the \code{blockquote} element.}

\item{table_border_color}{Table top/bottom border. Defaults to #666. Modifies the \code{table: border-top, border-bottom} elements.}


+ 2
- 2
man/mono_accent.Rd Просмотреть файл

@@ -21,7 +21,7 @@ mono_accent(base_color = "#43418A", white_color = "#FFFFFF",
footnote_font_size = "0.9em", footnote_position_bottom = "3em",
left_column_subtle_color = apply_alpha(base_color, 0.6),
left_column_selected_color = base_color,
blockquote_left_color = apply_alpha(base_color, 0.5),
blockquote_left_border_color = apply_alpha(base_color, 0.5),
table_border_color = "#666", table_row_border_color = "#ddd",
table_row_even_background_color = lighten_color(base_color, 0.7),
text_font_size = "20px", header_h1_font_size = "55px",
@@ -94,7 +94,7 @@ mono_accent(base_color = "#43418A", white_color = "#FFFFFF",

\item{left_column_selected_color}{Left Column Current Selection. Defaults to \code{base_color}. Modifies the \code{.left-column h2:last-of-type, .left-column h3:last-child} classes.}

\item{blockquote_left_color}{Blockquote Left Border Color. Defaults to \code{apply_alpha(base_color, 0.5)}. Modifies the \code{blockquote} element.}
\item{blockquote_left_border_color}{Blockquote Left Border Color. Defaults to \code{apply_alpha(base_color, 0.5)}. Modifies the \code{blockquote} element.}

\item{table_border_color}{Table top/bottom border. Defaults to #666. Modifies the \code{table: border-top, border-bottom} elements.}


+ 2
- 2
man/mono_accent_inverse.Rd Просмотреть файл

@@ -21,7 +21,7 @@ mono_accent_inverse(base_color = "#3C989E", white_color = "#FFFFFF",
footnote_font_size = "0.9em", footnote_position_bottom = "3em",
left_column_subtle_color = apply_alpha(base_color, 0.6),
left_column_selected_color = base_color,
blockquote_left_color = apply_alpha(base_color, 0.5),
blockquote_left_border_color = apply_alpha(base_color, 0.5),
table_border_color = "#666", table_row_border_color = "#ddd",
table_row_even_background_color = darken_color(base_color, 0.7),
text_font_size = "20px", header_h1_font_size = "55px",
@@ -94,7 +94,7 @@ mono_accent_inverse(base_color = "#3C989E", white_color = "#FFFFFF",

\item{left_column_selected_color}{Left Column Current Selection. Defaults to \code{base_color}. Modifies the \code{.left-column h2:last-of-type, .left-column h3:last-child} classes.}

\item{blockquote_left_color}{Blockquote Left Border Color. Defaults to \code{apply_alpha(base_color, 0.5)}. Modifies the \code{blockquote} element.}
\item{blockquote_left_border_color}{Blockquote Left Border Color. Defaults to \code{apply_alpha(base_color, 0.5)}. Modifies the \code{blockquote} element.}

\item{table_border_color}{Table top/bottom border. Defaults to #666. Modifies the \code{table: border-top, border-bottom} elements.}


+ 2
- 2
man/mono_dark.Rd Просмотреть файл

@@ -21,7 +21,7 @@ mono_dark(base_color = "#cbf7ed", white_color = lighten_color(base_color,
footnote_font_size = "0.9em", footnote_position_bottom = "3em",
left_column_subtle_color = apply_alpha(base_color, 0.6),
left_column_selected_color = base_color,
blockquote_left_color = apply_alpha(base_color, 0.5),
blockquote_left_border_color = apply_alpha(base_color, 0.5),
table_border_color = "#666", table_row_border_color = "#ddd",
table_row_even_background_color = darken_color(base_color, 0.7),
text_font_size = "20px", header_h1_font_size = "55px",
@@ -94,7 +94,7 @@ mono_dark(base_color = "#cbf7ed", white_color = lighten_color(base_color,

\item{left_column_selected_color}{Left Column Current Selection. Defaults to \code{base_color}. Modifies the \code{.left-column h2:last-of-type, .left-column h3:last-child} classes.}

\item{blockquote_left_color}{Blockquote Left Border Color. Defaults to \code{apply_alpha(base_color, 0.5)}. Modifies the \code{blockquote} element.}
\item{blockquote_left_border_color}{Blockquote Left Border Color. Defaults to \code{apply_alpha(base_color, 0.5)}. Modifies the \code{blockquote} element.}

\item{table_border_color}{Table top/bottom border. Defaults to #666. Modifies the \code{table: border-top, border-bottom} elements.}


+ 2
- 2
man/mono_light.Rd Просмотреть файл

@@ -21,7 +21,7 @@ mono_light(base_color = "#23395b", white_color = lighten_color(base_color,
footnote_font_size = "0.9em", footnote_position_bottom = "3em",
left_column_subtle_color = apply_alpha(base_color, 0.6),
left_column_selected_color = base_color,
blockquote_left_color = apply_alpha(base_color, 0.5),
blockquote_left_border_color = apply_alpha(base_color, 0.5),
table_border_color = "#666", table_row_border_color = "#ddd",
table_row_even_background_color = lighten_color(base_color, 0.8),
text_font_size = "20px", header_h1_font_size = "55px",
@@ -94,7 +94,7 @@ mono_light(base_color = "#23395b", white_color = lighten_color(base_color,

\item{left_column_selected_color}{Left Column Current Selection. Defaults to \code{base_color}. Modifies the \code{.left-column h2:last-of-type, .left-column h3:last-child} classes.}

\item{blockquote_left_color}{Blockquote Left Border Color. Defaults to \code{apply_alpha(base_color, 0.5)}. Modifies the \code{blockquote} element.}
\item{blockquote_left_border_color}{Blockquote Left Border Color. Defaults to \code{apply_alpha(base_color, 0.5)}. Modifies the \code{blockquote} element.}

\item{table_border_color}{Table top/bottom border. Defaults to #666. Modifies the \code{table: border-top, border-bottom} elements.}


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

@@ -17,8 +17,9 @@ solarized_dark(text_color = "#839496", header_color = "#dc322f",
title_slide_background_position = NA, footnote_color = NA,
footnote_font_size = "0.9em", footnote_position_bottom = "3em",
left_column_subtle_color = "#586e75",
left_column_selected_color = "#93a1a1", blockquote_left_color = "#cb4b16",
table_border_color = "#657b83", table_row_border_color = "#657b83",
left_column_selected_color = "#93a1a1",
blockquote_left_border_color = "#cb4b16", table_border_color = "#657b83",
table_row_border_color = "#657b83",
table_row_even_background_color = "#073642", text_font_size = "20px",
header_h1_font_size = "55px", header_h2_font_size = "45px",
header_h3_font_size = "35px", text_slide_number_font_size = "0.9em",
@@ -84,7 +85,7 @@ solarized_dark(text_color = "#839496", header_color = "#dc322f",

\item{left_column_selected_color}{Left Column Current Selection. Defaults to #93a1a1. Modifies the \code{.left-column h2:last-of-type, .left-column h3:last-child} classes.}

\item{blockquote_left_color}{Blockquote Left Border Color. Defaults to #cb4b16. Modifies the \code{blockquote} element.}
\item{blockquote_left_border_color}{Blockquote Left Border Color. Defaults to #cb4b16. Modifies the \code{blockquote} element.}

\item{table_border_color}{Table top/bottom border. Defaults to #657b83. Modifies the \code{table: border-top, border-bottom} elements.}


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

@@ -17,8 +17,9 @@ solarized_light(text_color = "#657b83", header_color = "#dc322f",
title_slide_background_position = NA, footnote_color = NA,
footnote_font_size = "0.9em", footnote_position_bottom = "3em",
left_column_subtle_color = "#93a1a1",
left_column_selected_color = "#586e75", blockquote_left_color = "#cb4b16",
table_border_color = "#839496", table_row_border_color = "#839496",
left_column_selected_color = "#586e75",
blockquote_left_border_color = "#cb4b16", table_border_color = "#839496",
table_row_border_color = "#839496",
table_row_even_background_color = "#eee8d5", text_font_size = "20px",
header_h1_font_size = "55px", header_h2_font_size = "45px",
header_h3_font_size = "35px", text_slide_number_font_size = "0.9em",
@@ -84,7 +85,7 @@ solarized_light(text_color = "#657b83", header_color = "#dc322f",

\item{left_column_selected_color}{Left Column Current Selection. Defaults to #586e75. Modifies the \code{.left-column h2:last-of-type, .left-column h3:last-child} classes.}

\item{blockquote_left_color}{Blockquote Left Border Color. Defaults to #cb4b16. Modifies the \code{blockquote} element.}
\item{blockquote_left_border_color}{Blockquote Left Border Color. Defaults to #cb4b16. Modifies the \code{blockquote} element.}

\item{table_border_color}{Table top/bottom border. Defaults to #839496. Modifies the \code{table: border-top, border-bottom} elements.}


+ 2
- 2
man/write_xaringan_theme.Rd Просмотреть файл

@@ -17,7 +17,7 @@ write_xaringan_theme(text_color = "#000", header_color = "#000",
title_slide_background_position = NA, footnote_color = NA,
footnote_font_size = "0.9em", footnote_position_bottom = "3em",
left_column_subtle_color = "#777", left_column_selected_color = "#000",
blockquote_left_color = "lightgray", table_border_color = "#666",
blockquote_left_border_color = "lightgray", table_border_color = "#666",
table_row_border_color = "#ddd", table_row_even_background_color = "#eee",
text_font_size = "20px", header_h1_font_size = "55px",
header_h2_font_size = "45px", header_h3_font_size = "35px",
@@ -83,7 +83,7 @@ write_xaringan_theme(text_color = "#000", header_color = "#000",

\item{left_column_selected_color}{Left Column Current Selection. Defaults to #000. Modifies the \code{.left-column h2:last-of-type, .left-column h3:last-child} classes.}

\item{blockquote_left_color}{Blockquote Left Border Color. Defaults to lightgray. Modifies the \code{blockquote} element.}
\item{blockquote_left_border_color}{Blockquote Left Border Color. Defaults to lightgray. Modifies the \code{blockquote} element.}

\item{table_border_color}{Table top/bottom border. Defaults to #666. Modifies the \code{table: border-top, border-bottom} elements.}


+ 1
- 1
vignettes/template-variables.md Просмотреть файл

@@ -47,7 +47,7 @@ the arguments below when calling the theme function. For example, to use
| `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) |
| `left_column_selected_color` | `#000` | .left-column h2:last-of-type, .left-column h3:last-child | Left Column Current Selection |
| `blockquote_left_color` | `lightgray` | blockquote | Blockquote Left Border Color |
| `blockquote_left_border_color` | `lightgray` | blockquote | Blockquote Left Border Color |
| `table_border_color` | `#666` | table: border-top, border-bottom | Table top/bottom border |
| `table_row_border_color` | `#ddd` | table thead th: border-bottom | Table row inner bottom border |
| `table_row_even_background_color` | `#eee` | thead, tfoot, tr:nth-child(even) | Table Even Row Background Color |

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