| @@ -22,6 +22,12 @@ | |||
| #' @param table_border_color Table top/bottom border, defaults to #666 | |||
| #' @param table_row_border_color Table row inner bottom border, defaults to #ddd | |||
| #' @param table_row_even_background_color Table Even Row Background Color, defaults to `lighten_color(primary_color, 0.3)` | |||
| #' @param text_size Slide Body Text Size, defaults to 20px | |||
| #' @param text_size_h1 h1 Header Text Size, defaults to 55px | |||
| #' @param text_size_h2 h2 Header Text Size, defaults to 45px | |||
| #' @param text_size_h3 h3 Header Text Size, defaults to 35px | |||
| #' @param text_size_slide_number Slide Number Text Size, defaults to 20px | |||
| #' @param text_size_code Code Text Size, defaults to 20px | |||
| #' @param text_font_google Use `google_font()` to specify body font, defaults to `NULL` | |||
| #' @param text_font_family Body Text Font Family, defaults to 'Droid Serif' | |||
| #' @param text_font_weight Body Text Font Weight, defaults to normal | |||
| @@ -65,6 +71,12 @@ duo <- function( | |||
| table_border_color = "#666", | |||
| table_row_border_color = "#ddd", | |||
| table_row_even_background_color = lighten_color(primary_color, 0.3), | |||
| text_size = "20px", | |||
| text_size_h1 = "55px", | |||
| text_size_h2 = "45px", | |||
| text_size_h3 = "35px", | |||
| text_size_slide_number = "20px", | |||
| text_size_code = "20px", | |||
| text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", | |||
| text_font_weight = "normal", | |||
| @@ -24,6 +24,12 @@ | |||
| #' @param table_border_color Table top/bottom border, defaults to #666 | |||
| #' @param table_row_border_color Table row inner bottom border, defaults to #ddd | |||
| #' @param table_row_even_background_color Table Even Row Background Color, defaults to `lighten_color(secondary_color, 0.3)` | |||
| #' @param text_size Slide Body Text Size, defaults to 20px | |||
| #' @param text_size_h1 h1 Header Text Size, defaults to 55px | |||
| #' @param text_size_h2 h2 Header Text Size, defaults to 45px | |||
| #' @param text_size_h3 h3 Header Text Size, defaults to 35px | |||
| #' @param text_size_slide_number Slide Number Text Size, defaults to 20px | |||
| #' @param text_size_code Code Text Size, defaults to 20px | |||
| #' @param text_font_google Use `google_font()` to specify body font, defaults to `NULL` | |||
| #' @param text_font_family Body Text Font Family, defaults to 'Droid Serif' | |||
| #' @param text_font_weight Body Text Font Weight, defaults to normal | |||
| @@ -69,6 +75,12 @@ duo_accent <- function( | |||
| table_border_color = "#666", | |||
| table_row_border_color = "#ddd", | |||
| table_row_even_background_color = lighten_color(secondary_color, 0.3), | |||
| text_size = "20px", | |||
| text_size_h1 = "55px", | |||
| text_size_h2 = "45px", | |||
| text_size_h3 = "35px", | |||
| text_size_slide_number = "20px", | |||
| text_size_code = "20px", | |||
| text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", | |||
| text_font_weight = "normal", | |||
| @@ -24,6 +24,12 @@ | |||
| #' @param table_border_color Table top/bottom border, defaults to #666 | |||
| #' @param table_row_border_color Table row inner bottom border, defaults to #ddd | |||
| #' @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)` | |||
| #' @param text_size Slide Body Text Size, defaults to 20px | |||
| #' @param text_size_h1 h1 Header Text Size, defaults to 55px | |||
| #' @param text_size_h2 h2 Header Text Size, defaults to 45px | |||
| #' @param text_size_h3 h3 Header Text Size, defaults to 35px | |||
| #' @param text_size_slide_number Slide Number Text Size, defaults to 20px | |||
| #' @param text_size_code Code Text Size, defaults to 20px | |||
| #' @param text_font_google Use `google_font()` to specify body font, defaults to `NULL` | |||
| #' @param text_font_family Body Text Font Family, defaults to 'Droid Serif' | |||
| #' @param text_font_weight Body Text Font Weight, defaults to normal | |||
| @@ -69,6 +75,12 @@ duo_accent_inverse <- function( | |||
| 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_size = "20px", | |||
| text_size_h1 = "55px", | |||
| text_size_h2 = "45px", | |||
| text_size_h3 = "35px", | |||
| text_size_slide_number = "20px", | |||
| text_size_code = "20px", | |||
| text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", | |||
| text_font_weight = "normal", | |||
| @@ -23,6 +23,12 @@ | |||
| #' @param table_border_color Table top/bottom border, defaults to #666 | |||
| #' @param table_row_border_color Table row inner bottom border, defaults to #ddd | |||
| #' @param table_row_even_background_color Table Even Row Background Color, defaults to `lighten_color(base_color, 0.7)` | |||
| #' @param text_size Slide Body Text Size, defaults to 20px | |||
| #' @param text_size_h1 h1 Header Text Size, defaults to 55px | |||
| #' @param text_size_h2 h2 Header Text Size, defaults to 45px | |||
| #' @param text_size_h3 h3 Header Text Size, defaults to 35px | |||
| #' @param text_size_slide_number Slide Number Text Size, defaults to 20px | |||
| #' @param text_size_code Code Text Size, defaults to 20px | |||
| #' @param text_font_google Use `google_font()` to specify body font, defaults to `NULL` | |||
| #' @param text_font_family Body Text Font Family, defaults to 'Droid Serif' | |||
| #' @param text_font_weight Body Text Font Weight, defaults to normal | |||
| @@ -67,6 +73,12 @@ mono_accent <- function( | |||
| table_border_color = "#666", | |||
| table_row_border_color = "#ddd", | |||
| table_row_even_background_color = lighten_color(base_color, 0.7), | |||
| text_size = "20px", | |||
| text_size_h1 = "55px", | |||
| text_size_h2 = "45px", | |||
| text_size_h3 = "35px", | |||
| text_size_slide_number = "20px", | |||
| text_size_code = "20px", | |||
| text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", | |||
| text_font_weight = "normal", | |||
| @@ -23,6 +23,12 @@ | |||
| #' @param table_border_color Table top/bottom border, defaults to #666 | |||
| #' @param table_row_border_color Table row inner bottom border, defaults to #ddd | |||
| #' @param table_row_even_background_color Table Even Row Background Color, defaults to `darken_color(base_color, 0.7)` | |||
| #' @param text_size Slide Body Text Size, defaults to 20px | |||
| #' @param text_size_h1 h1 Header Text Size, defaults to 55px | |||
| #' @param text_size_h2 h2 Header Text Size, defaults to 45px | |||
| #' @param text_size_h3 h3 Header Text Size, defaults to 35px | |||
| #' @param text_size_slide_number Slide Number Text Size, defaults to 20px | |||
| #' @param text_size_code Code Text Size, defaults to 20px | |||
| #' @param text_font_google Use `google_font()` to specify body font, defaults to `NULL` | |||
| #' @param text_font_family Body Text Font Family, defaults to 'Droid Serif' | |||
| #' @param text_font_weight Body Text Font Weight, defaults to normal | |||
| @@ -67,6 +73,12 @@ mono_accent_inverse <- function( | |||
| table_border_color = "#666", | |||
| table_row_border_color = "#ddd", | |||
| table_row_even_background_color = darken_color(base_color, 0.7), | |||
| text_size = "20px", | |||
| text_size_h1 = "55px", | |||
| text_size_h2 = "45px", | |||
| text_size_h3 = "35px", | |||
| text_size_slide_number = "20px", | |||
| text_size_code = "20px", | |||
| text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", | |||
| text_font_weight = "normal", | |||
| @@ -23,6 +23,12 @@ | |||
| #' @param table_border_color Table top/bottom border, defaults to #666 | |||
| #' @param table_row_border_color Table row inner bottom border, defaults to #ddd | |||
| #' @param table_row_even_background_color Table Even Row Background Color, defaults to `darken_color(base_color, 0.7)` | |||
| #' @param text_size Slide Body Text Size, defaults to 20px | |||
| #' @param text_size_h1 h1 Header Text Size, defaults to 55px | |||
| #' @param text_size_h2 h2 Header Text Size, defaults to 45px | |||
| #' @param text_size_h3 h3 Header Text Size, defaults to 35px | |||
| #' @param text_size_slide_number Slide Number Text Size, defaults to 20px | |||
| #' @param text_size_code Code Text Size, defaults to 20px | |||
| #' @param text_font_google Use `google_font()` to specify body font, defaults to `NULL` | |||
| #' @param text_font_family Body Text Font Family, defaults to 'Droid Serif' | |||
| #' @param text_font_weight Body Text Font Weight, defaults to normal | |||
| @@ -67,6 +73,12 @@ mono_dark <- function( | |||
| table_border_color = "#666", | |||
| table_row_border_color = "#ddd", | |||
| table_row_even_background_color = darken_color(base_color, 0.7), | |||
| text_size = "20px", | |||
| text_size_h1 = "55px", | |||
| text_size_h2 = "45px", | |||
| text_size_h3 = "35px", | |||
| text_size_slide_number = "20px", | |||
| text_size_code = "20px", | |||
| text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", | |||
| text_font_weight = "normal", | |||
| @@ -23,6 +23,12 @@ | |||
| #' @param table_border_color Table top/bottom border, defaults to #666 | |||
| #' @param table_row_border_color Table row inner bottom border, defaults to #ddd | |||
| #' @param table_row_even_background_color Table Even Row Background Color, defaults to `lighten_color(base_color, 0.8)` | |||
| #' @param text_size Slide Body Text Size, defaults to 20px | |||
| #' @param text_size_h1 h1 Header Text Size, defaults to 55px | |||
| #' @param text_size_h2 h2 Header Text Size, defaults to 45px | |||
| #' @param text_size_h3 h3 Header Text Size, defaults to 35px | |||
| #' @param text_size_slide_number Slide Number Text Size, defaults to 20px | |||
| #' @param text_size_code Code Text Size, defaults to 20px | |||
| #' @param text_font_google Use `google_font()` to specify body font, defaults to `NULL` | |||
| #' @param text_font_family Body Text Font Family, defaults to 'Droid Serif' | |||
| #' @param text_font_weight Body Text Font Weight, defaults to normal | |||
| @@ -67,6 +73,12 @@ mono_light <- function( | |||
| table_border_color = "#666", | |||
| table_row_border_color = "#ddd", | |||
| table_row_even_background_color = lighten_color(base_color, 0.8), | |||
| text_size = "20px", | |||
| text_size_h1 = "55px", | |||
| text_size_h2 = "45px", | |||
| text_size_h3 = "35px", | |||
| text_size_slide_number = "20px", | |||
| text_size_code = "20px", | |||
| text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", | |||
| text_font_weight = "normal", | |||
| @@ -20,6 +20,12 @@ | |||
| #' @param table_border_color Table top/bottom border, defaults to #657b83 | |||
| #' @param table_row_border_color Table row inner bottom border, defaults to #657b83 | |||
| #' @param table_row_even_background_color Table Even Row Background Color, defaults to #073642 | |||
| #' @param text_size Slide Body Text Size, defaults to 20px | |||
| #' @param text_size_h1 h1 Header Text Size, defaults to 55px | |||
| #' @param text_size_h2 h2 Header Text Size, defaults to 45px | |||
| #' @param text_size_h3 h3 Header Text Size, defaults to 35px | |||
| #' @param text_size_slide_number Slide Number Text Size, defaults to 20px | |||
| #' @param text_size_code Code Text Size, defaults to 20px | |||
| #' @param text_font_google Use `google_font()` to specify body font, defaults to `NULL` | |||
| #' @param text_font_family Body Text Font Family, defaults to 'Droid Serif' | |||
| #' @param text_font_weight Body Text Font Weight, defaults to normal | |||
| @@ -61,6 +67,12 @@ solarized_dark <- function( | |||
| table_border_color = "#657b83", | |||
| table_row_border_color = "#657b83", | |||
| table_row_even_background_color = "#073642", | |||
| text_size = "20px", | |||
| text_size_h1 = "55px", | |||
| text_size_h2 = "45px", | |||
| text_size_h3 = "35px", | |||
| text_size_slide_number = "20px", | |||
| text_size_code = "20px", | |||
| text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", | |||
| text_font_weight = "normal", | |||
| @@ -20,6 +20,12 @@ | |||
| #' @param table_border_color Table top/bottom border, defaults to #839496 | |||
| #' @param table_row_border_color Table row inner bottom border, defaults to #839496 | |||
| #' @param table_row_even_background_color Table Even Row Background Color, defaults to #eee8d5 | |||
| #' @param text_size Slide Body Text Size, defaults to 20px | |||
| #' @param text_size_h1 h1 Header Text Size, defaults to 55px | |||
| #' @param text_size_h2 h2 Header Text Size, defaults to 45px | |||
| #' @param text_size_h3 h3 Header Text Size, defaults to 35px | |||
| #' @param text_size_slide_number Slide Number Text Size, defaults to 20px | |||
| #' @param text_size_code Code Text Size, defaults to 20px | |||
| #' @param text_font_google Use `google_font()` to specify body font, defaults to `NULL` | |||
| #' @param text_font_family Body Text Font Family, defaults to 'Droid Serif' | |||
| #' @param text_font_weight Body Text Font Weight, defaults to normal | |||
| @@ -61,6 +67,12 @@ solarized_light <- function( | |||
| table_border_color = "#839496", | |||
| table_row_border_color = "#839496", | |||
| table_row_even_background_color = "#eee8d5", | |||
| text_size = "20px", | |||
| text_size_h1 = "55px", | |||
| text_size_h2 = "45px", | |||
| text_size_h3 = "35px", | |||
| text_size_slide_number = "20px", | |||
| text_size_code = "20px", | |||
| text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", | |||
| text_font_weight = "normal", | |||
| @@ -20,6 +20,12 @@ | |||
| #' @param table_border_color Table top/bottom border, defaults to #666 | |||
| #' @param table_row_border_color Table row inner bottom border, defaults to #ddd | |||
| #' @param table_row_even_background_color Table Even Row Background Color, defaults to #eee | |||
| #' @param text_size Slide Body Text Size, defaults to 20px | |||
| #' @param text_size_h1 h1 Header Text Size, defaults to 55px | |||
| #' @param text_size_h2 h2 Header Text Size, defaults to 45px | |||
| #' @param text_size_h3 h3 Header Text Size, defaults to 35px | |||
| #' @param text_size_slide_number Slide Number Text Size, defaults to 20px | |||
| #' @param text_size_code Code Text Size, defaults to 20px | |||
| #' @param text_font_google Use `google_font()` to specify body font, defaults to `NULL` | |||
| #' @param text_font_family Body Text Font Family, defaults to 'Droid Serif' | |||
| #' @param text_font_weight Body Text Font Weight, defaults to normal | |||
| @@ -60,6 +66,12 @@ write_xaringan_theme <- function( | |||
| table_border_color = "#666", | |||
| table_row_border_color = "#ddd", | |||
| table_row_even_background_color = "#eee", | |||
| text_size = "20px", | |||
| text_size_h1 = "55px", | |||
| text_size_h2 = "45px", | |||
| text_size_h3 = "35px", | |||
| text_size_slide_number = "20px", | |||
| text_size_code = "20px", | |||
| text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", | |||
| text_font_weight = "normal", | |||
| @@ -22,6 +22,12 @@ template_variables <- tibble::tribble( | |||
| , "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" | |||
| , "text_size", "20px", ".remark-slide-content", "Slide Body Text Size" | |||
| , "text_size_h1", "55px", ".remark-slide-content h1", "h1 Header Text Size" | |||
| , "text_size_h2", "45px", ".remark-slide-content h2", "h2 Header Text Size" | |||
| , "text_size_h3", "35px", ".remark-slide-content h3", "h3 Header Text Size" | |||
| , "text_size_slide_number", "20px", ".remark-slide-number", "Slide Number Text Size" | |||
| , "text_size_code", "20px", ".remark-code, .remark-inline-code", "Code Text Size" | |||
| , "text_font_google", NULL, "body", "Use `google_font()` to specify body font" | |||
| , "text_font_family", "'Droid Serif'", "body", "Body Text Font Family" | |||
| , "text_font_weight", "normal", "body", "Body Text Font Weight" | |||
| @@ -7,17 +7,27 @@ body { | |||
| font-weight: {{text_font_weight}}; | |||
| color: {{text_color}}; | |||
| } | |||
| .remark-slide-content { | |||
| background-color: {{background_color}}; | |||
| } | |||
| h1, h2, h3 { | |||
| font-family: {{header_font_family}}; | |||
| font-weight: {{header_font_weight}}; | |||
| color: {{header_color}}; | |||
| } | |||
| .remark-slide-content { | |||
| background-color: {{background_color}}; | |||
| font-size: {{text_size}}; | |||
| } | |||
| .remark-slide-content h1 { | |||
| font-size: {{text_size_h1}}; | |||
| } | |||
| .remark-slide-content h2 { | |||
| font-size: {{text_size_h2}}; | |||
| } | |||
| .remark-slide-content h3 { | |||
| font-size: {{text_size_h3}}; | |||
| } | |||
| .remark-code, .remark-inline-code { | |||
| font-family: {{code_font_family}}, {{code_font_family_fallback}}, monospace; | |||
| font-size: {{text_size_code}}; | |||
| } | |||
| .remark-inline-code { | |||
| {{ifelse(!is.na(code_inline_color), paste0("color: ", code_inline_color, ";"), "")}} | |||
| @@ -27,6 +37,7 @@ h1, h2, h3 { | |||
| .remark-slide-number { | |||
| color: {{text_slide_number_color}}; | |||
| opacity: 1; | |||
| text-size: {{text_size_slide_number}}; | |||
| } | |||
| {{ifelse(!is.na(text_bold_color), paste0("strong{color:", text_bold_color,";}"), "")}} | |||
| a, a > code { | |||
| @@ -22,8 +22,10 @@ duo(primary_color = "#1F4257", secondary_color = "#F97B64", | |||
| blockquote_left_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_google = NULL, text_font_family = "'Droid Serif'", | |||
| text_font_weight = "normal", | |||
| text_size = "20px", text_size_h1 = "55px", text_size_h2 = "45px", | |||
| text_size_h3 = "35px", text_size_slide_number = "20px", | |||
| text_size_code = "20px", text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", text_font_weight = "normal", | |||
| text_font_url = "https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic", | |||
| text_font_family_fallback = "'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'", | |||
| text_font_base = "serif", header_font_google = NULL, | |||
| @@ -83,6 +85,18 @@ duo(primary_color = "#1F4257", secondary_color = "#F97B64", | |||
| \item{table_row_even_background_color}{Table Even Row Background Color, defaults to \code{lighten_color(primary_color, 0.3)}} | |||
| \item{text_size}{Slide Body Text Size, defaults to 20px} | |||
| \item{text_size_h1}{h1 Header Text Size, defaults to 55px} | |||
| \item{text_size_h2}{h2 Header Text Size, defaults to 45px} | |||
| \item{text_size_h3}{h3 Header Text Size, defaults to 35px} | |||
| \item{text_size_slide_number}{Slide Number Text Size, defaults to 20px} | |||
| \item{text_size_code}{Code Text Size, defaults to 20px} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font, defaults to \code{NULL}} | |||
| \item{text_font_family}{Body Text Font Family, defaults to 'Droid Serif'} | |||
| @@ -26,8 +26,10 @@ duo_accent(primary_color = "#006747", secondary_color = "#CFC493", | |||
| blockquote_left_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_google = NULL, text_font_family = "'Droid Serif'", | |||
| text_font_weight = "normal", | |||
| text_size = "20px", text_size_h1 = "55px", text_size_h2 = "45px", | |||
| text_size_h3 = "35px", text_size_slide_number = "20px", | |||
| text_size_code = "20px", text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", text_font_weight = "normal", | |||
| text_font_url = "https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic", | |||
| text_font_family_fallback = "'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'", | |||
| text_font_base = "serif", header_font_google = NULL, | |||
| @@ -91,6 +93,18 @@ duo_accent(primary_color = "#006747", secondary_color = "#CFC493", | |||
| \item{table_row_even_background_color}{Table Even Row Background Color, defaults to \code{lighten_color(secondary_color, 0.3)}} | |||
| \item{text_size}{Slide Body Text Size, defaults to 20px} | |||
| \item{text_size_h1}{h1 Header Text Size, defaults to 55px} | |||
| \item{text_size_h2}{h2 Header Text Size, defaults to 45px} | |||
| \item{text_size_h3}{h3 Header Text Size, defaults to 35px} | |||
| \item{text_size_slide_number}{Slide Number Text Size, defaults to 20px} | |||
| \item{text_size_code}{Code Text Size, defaults to 20px} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font, defaults to \code{NULL}} | |||
| \item{text_font_family}{Body Text Font Family, defaults to 'Droid Serif'} | |||
| @@ -26,8 +26,11 @@ duo_accent_inverse(primary_color = "#006747", secondary_color = "#CFC493", | |||
| blockquote_left_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_google = NULL, | |||
| text_font_family = "'Droid Serif'", text_font_weight = "normal", | |||
| secondary_color, primary_color), 0.3), text_size = "20px", | |||
| text_size_h1 = "55px", text_size_h2 = "45px", text_size_h3 = "35px", | |||
| text_size_slide_number = "20px", text_size_code = "20px", | |||
| text_font_google = NULL, text_font_family = "'Droid Serif'", | |||
| text_font_weight = "normal", | |||
| text_font_url = "https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic", | |||
| text_font_family_fallback = "'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'", | |||
| text_font_base = "serif", header_font_google = NULL, | |||
| @@ -91,6 +94,18 @@ duo_accent_inverse(primary_color = "#006747", secondary_color = "#CFC493", | |||
| \item{table_row_even_background_color}{Table Even Row Background Color, defaults to \code{darken_color(choose_dark_or_light(primary_color, secondary_color, primary_color), 0.3)}} | |||
| \item{text_size}{Slide Body Text Size, defaults to 20px} | |||
| \item{text_size_h1}{h1 Header Text Size, defaults to 55px} | |||
| \item{text_size_h2}{h2 Header Text Size, defaults to 45px} | |||
| \item{text_size_h3}{h3 Header Text Size, defaults to 35px} | |||
| \item{text_size_slide_number}{Slide Number Text Size, defaults to 20px} | |||
| \item{text_size_code}{Code Text Size, defaults to 20px} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font, defaults to \code{NULL}} | |||
| \item{text_font_family}{Body Text Font Family, defaults to 'Droid Serif'} | |||
| @@ -21,8 +21,10 @@ mono_accent(base_color = "#23395b", white_color = "#FFFFFF", | |||
| blockquote_left_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_google = NULL, text_font_family = "'Droid Serif'", | |||
| text_font_weight = "normal", | |||
| text_size = "20px", text_size_h1 = "55px", text_size_h2 = "45px", | |||
| text_size_h3 = "35px", text_size_slide_number = "20px", | |||
| text_size_code = "20px", text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", text_font_weight = "normal", | |||
| text_font_url = "https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic", | |||
| text_font_family_fallback = "'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'", | |||
| text_font_base = "serif", header_font_google = NULL, | |||
| @@ -84,6 +86,18 @@ mono_accent(base_color = "#23395b", white_color = "#FFFFFF", | |||
| \item{table_row_even_background_color}{Table Even Row Background Color, defaults to \code{lighten_color(base_color, 0.7)}} | |||
| \item{text_size}{Slide Body Text Size, defaults to 20px} | |||
| \item{text_size_h1}{h1 Header Text Size, defaults to 55px} | |||
| \item{text_size_h2}{h2 Header Text Size, defaults to 45px} | |||
| \item{text_size_h3}{h3 Header Text Size, defaults to 35px} | |||
| \item{text_size_slide_number}{Slide Number Text Size, defaults to 20px} | |||
| \item{text_size_code}{Code Text Size, defaults to 20px} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font, defaults to \code{NULL}} | |||
| \item{text_font_family}{Body Text Font Family, defaults to 'Droid Serif'} | |||
| @@ -21,8 +21,10 @@ mono_accent_inverse(base_color = "#3C989E", white_color = "#FFFFFF", | |||
| blockquote_left_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_google = NULL, text_font_family = "'Droid Serif'", | |||
| text_font_weight = "normal", | |||
| text_size = "20px", text_size_h1 = "55px", text_size_h2 = "45px", | |||
| text_size_h3 = "35px", text_size_slide_number = "20px", | |||
| text_size_code = "20px", text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", text_font_weight = "normal", | |||
| text_font_url = "https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic", | |||
| text_font_family_fallback = "'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'", | |||
| text_font_base = "serif", header_font_google = NULL, | |||
| @@ -84,6 +86,18 @@ mono_accent_inverse(base_color = "#3C989E", white_color = "#FFFFFF", | |||
| \item{table_row_even_background_color}{Table Even Row Background Color, defaults to \code{darken_color(base_color, 0.7)}} | |||
| \item{text_size}{Slide Body Text Size, defaults to 20px} | |||
| \item{text_size_h1}{h1 Header Text Size, defaults to 55px} | |||
| \item{text_size_h2}{h2 Header Text Size, defaults to 45px} | |||
| \item{text_size_h3}{h3 Header Text Size, defaults to 35px} | |||
| \item{text_size_slide_number}{Slide Number Text Size, defaults to 20px} | |||
| \item{text_size_code}{Code Text Size, defaults to 20px} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font, defaults to \code{NULL}} | |||
| \item{text_font_family}{Body Text Font Family, defaults to 'Droid Serif'} | |||
| @@ -21,8 +21,10 @@ mono_dark(base_color = "#cbf7ed", white_color = lighten_color(base_color, | |||
| blockquote_left_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_google = NULL, text_font_family = "'Droid Serif'", | |||
| text_font_weight = "normal", | |||
| text_size = "20px", text_size_h1 = "55px", text_size_h2 = "45px", | |||
| text_size_h3 = "35px", text_size_slide_number = "20px", | |||
| text_size_code = "20px", text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", text_font_weight = "normal", | |||
| text_font_url = "https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic", | |||
| text_font_family_fallback = "'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'", | |||
| text_font_base = "serif", header_font_google = NULL, | |||
| @@ -84,6 +86,18 @@ mono_dark(base_color = "#cbf7ed", white_color = lighten_color(base_color, | |||
| \item{table_row_even_background_color}{Table Even Row Background Color, defaults to \code{darken_color(base_color, 0.7)}} | |||
| \item{text_size}{Slide Body Text Size, defaults to 20px} | |||
| \item{text_size_h1}{h1 Header Text Size, defaults to 55px} | |||
| \item{text_size_h2}{h2 Header Text Size, defaults to 45px} | |||
| \item{text_size_h3}{h3 Header Text Size, defaults to 35px} | |||
| \item{text_size_slide_number}{Slide Number Text Size, defaults to 20px} | |||
| \item{text_size_code}{Code Text Size, defaults to 20px} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font, defaults to \code{NULL}} | |||
| \item{text_font_family}{Body Text Font Family, defaults to 'Droid Serif'} | |||
| @@ -21,8 +21,10 @@ mono_light(base_color = "#23395b", white_color = lighten_color(base_color, | |||
| blockquote_left_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_google = NULL, text_font_family = "'Droid Serif'", | |||
| text_font_weight = "normal", | |||
| text_size = "20px", text_size_h1 = "55px", text_size_h2 = "45px", | |||
| text_size_h3 = "35px", text_size_slide_number = "20px", | |||
| text_size_code = "20px", text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", text_font_weight = "normal", | |||
| text_font_url = "https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic", | |||
| text_font_family_fallback = "'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'", | |||
| text_font_base = "serif", header_font_google = NULL, | |||
| @@ -84,6 +86,18 @@ mono_light(base_color = "#23395b", white_color = lighten_color(base_color, | |||
| \item{table_row_even_background_color}{Table Even Row Background Color, defaults to \code{lighten_color(base_color, 0.8)}} | |||
| \item{text_size}{Slide Body Text Size, defaults to 20px} | |||
| \item{text_size_h1}{h1 Header Text Size, defaults to 55px} | |||
| \item{text_size_h2}{h2 Header Text Size, defaults to 45px} | |||
| \item{text_size_h3}{h3 Header Text Size, defaults to 35px} | |||
| \item{text_size_slide_number}{Slide Number Text Size, defaults to 20px} | |||
| \item{text_size_code}{Code Text Size, defaults to 20px} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font, defaults to \code{NULL}} | |||
| \item{text_font_family}{Body Text Font Family, defaults to 'Droid Serif'} | |||
| @@ -16,8 +16,11 @@ solarized_dark(text_color = "#839496", header_color = "#dc322f", | |||
| title_slide_background_image = "NA", left_column_subtle_color = "#586e75", | |||
| left_column_selected_color = "#93a1a1", blockquote_left_color = "#cb4b16", | |||
| table_border_color = "#657b83", table_row_border_color = "#657b83", | |||
| table_row_even_background_color = "#073642", text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", text_font_weight = "normal", | |||
| table_row_even_background_color = "#073642", text_size = "20px", | |||
| text_size_h1 = "55px", text_size_h2 = "45px", text_size_h3 = "35px", | |||
| text_size_slide_number = "20px", text_size_code = "20px", | |||
| text_font_google = NULL, text_font_family = "'Droid Serif'", | |||
| text_font_weight = "normal", | |||
| text_font_url = "https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic", | |||
| text_font_family_fallback = "'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'", | |||
| text_font_base = "serif", header_font_google = NULL, | |||
| @@ -73,6 +76,18 @@ solarized_dark(text_color = "#839496", header_color = "#dc322f", | |||
| \item{table_row_even_background_color}{Table Even Row Background Color, defaults to #073642} | |||
| \item{text_size}{Slide Body Text Size, defaults to 20px} | |||
| \item{text_size_h1}{h1 Header Text Size, defaults to 55px} | |||
| \item{text_size_h2}{h2 Header Text Size, defaults to 45px} | |||
| \item{text_size_h3}{h3 Header Text Size, defaults to 35px} | |||
| \item{text_size_slide_number}{Slide Number Text Size, defaults to 20px} | |||
| \item{text_size_code}{Code Text Size, defaults to 20px} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font, defaults to \code{NULL}} | |||
| \item{text_font_family}{Body Text Font Family, defaults to 'Droid Serif'} | |||
| @@ -16,8 +16,11 @@ solarized_light(text_color = "#657b83", header_color = "#dc322f", | |||
| title_slide_background_image = "NA", left_column_subtle_color = "#93a1a1", | |||
| left_column_selected_color = "#586e75", blockquote_left_color = "#cb4b16", | |||
| table_border_color = "#839496", table_row_border_color = "#839496", | |||
| table_row_even_background_color = "#eee8d5", text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", text_font_weight = "normal", | |||
| table_row_even_background_color = "#eee8d5", text_size = "20px", | |||
| text_size_h1 = "55px", text_size_h2 = "45px", text_size_h3 = "35px", | |||
| text_size_slide_number = "20px", text_size_code = "20px", | |||
| text_font_google = NULL, text_font_family = "'Droid Serif'", | |||
| text_font_weight = "normal", | |||
| text_font_url = "https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic", | |||
| text_font_family_fallback = "'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'", | |||
| text_font_base = "serif", header_font_google = NULL, | |||
| @@ -73,6 +76,18 @@ solarized_light(text_color = "#657b83", header_color = "#dc322f", | |||
| \item{table_row_even_background_color}{Table Even Row Background Color, defaults to #eee8d5} | |||
| \item{text_size}{Slide Body Text Size, defaults to 20px} | |||
| \item{text_size_h1}{h1 Header Text Size, defaults to 55px} | |||
| \item{text_size_h2}{h2 Header Text Size, defaults to 45px} | |||
| \item{text_size_h3}{h3 Header Text Size, defaults to 35px} | |||
| \item{text_size_slide_number}{Slide Number Text Size, defaults to 20px} | |||
| \item{text_size_code}{Code Text Size, defaults to 20px} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font, defaults to \code{NULL}} | |||
| \item{text_font_family}{Body Text Font Family, defaults to 'Droid Serif'} | |||
| @@ -16,8 +16,11 @@ write_xaringan_theme(text_color = "#000", header_color = "#000", | |||
| title_slide_background_image = NA, left_column_subtle_color = "#777", | |||
| left_column_selected_color = "#000", blockquote_left_color = "lightgray", | |||
| table_border_color = "#666", table_row_border_color = "#ddd", | |||
| table_row_even_background_color = "#eee", text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", text_font_weight = "normal", | |||
| table_row_even_background_color = "#eee", text_size = "20px", | |||
| text_size_h1 = "55px", text_size_h2 = "45px", text_size_h3 = "35px", | |||
| text_size_slide_number = "20px", text_size_code = "20px", | |||
| text_font_google = NULL, text_font_family = "'Droid Serif'", | |||
| text_font_weight = "normal", | |||
| text_font_url = "https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic", | |||
| text_font_family_fallback = "'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'", | |||
| text_font_base = "serif", header_font_google = NULL, | |||
| @@ -73,6 +76,18 @@ write_xaringan_theme(text_color = "#000", header_color = "#000", | |||
| \item{table_row_even_background_color}{Table Even Row Background Color, defaults to #eee} | |||
| \item{text_size}{Slide Body Text Size, defaults to 20px} | |||
| \item{text_size_h1}{h1 Header Text Size, defaults to 55px} | |||
| \item{text_size_h2}{h2 Header Text Size, defaults to 45px} | |||
| \item{text_size_h3}{h3 Header Text Size, defaults to 35px} | |||
| \item{text_size_slide_number}{Slide Number Text Size, defaults to 20px} | |||
| \item{text_size_code}{Code Text Size, defaults to 20px} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font, defaults to \code{NULL}} | |||
| \item{text_font_family}{Body Text Font Family, defaults to 'Droid Serif'} | |||