| @@ -27,7 +27,8 @@ | |||
| #' @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_size_code_inline Inline Code Text Size, defaults to 20px | |||
| #' @param text_size_code Code Text Size, defaults to 18px | |||
| #' @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 | |||
| @@ -76,7 +77,8 @@ duo <- function( | |||
| text_size_h2 = "45px", | |||
| text_size_h3 = "35px", | |||
| text_size_slide_number = "20px", | |||
| text_size_code = "20px", | |||
| text_size_code_inline = "20px", | |||
| text_size_code = "18px", | |||
| text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", | |||
| text_font_weight = "normal", | |||
| @@ -29,7 +29,8 @@ | |||
| #' @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_size_code_inline Inline Code Text Size, defaults to 20px | |||
| #' @param text_size_code Code Text Size, defaults to 18px | |||
| #' @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 | |||
| @@ -80,7 +81,8 @@ duo_accent <- function( | |||
| text_size_h2 = "45px", | |||
| text_size_h3 = "35px", | |||
| text_size_slide_number = "20px", | |||
| text_size_code = "20px", | |||
| text_size_code_inline = "20px", | |||
| text_size_code = "18px", | |||
| text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", | |||
| text_font_weight = "normal", | |||
| @@ -29,7 +29,8 @@ | |||
| #' @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_size_code_inline Inline Code Text Size, defaults to 20px | |||
| #' @param text_size_code Code Text Size, defaults to 18px | |||
| #' @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 | |||
| @@ -80,7 +81,8 @@ duo_accent_inverse <- function( | |||
| text_size_h2 = "45px", | |||
| text_size_h3 = "35px", | |||
| text_size_slide_number = "20px", | |||
| text_size_code = "20px", | |||
| text_size_code_inline = "20px", | |||
| text_size_code = "18px", | |||
| text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", | |||
| text_font_weight = "normal", | |||
| @@ -28,7 +28,8 @@ | |||
| #' @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_size_code_inline Inline Code Text Size, defaults to 20px | |||
| #' @param text_size_code Code Text Size, defaults to 18px | |||
| #' @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 | |||
| @@ -78,7 +79,8 @@ mono_accent <- function( | |||
| text_size_h2 = "45px", | |||
| text_size_h3 = "35px", | |||
| text_size_slide_number = "20px", | |||
| text_size_code = "20px", | |||
| text_size_code_inline = "20px", | |||
| text_size_code = "18px", | |||
| text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", | |||
| text_font_weight = "normal", | |||
| @@ -28,7 +28,8 @@ | |||
| #' @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_size_code_inline Inline Code Text Size, defaults to 20px | |||
| #' @param text_size_code Code Text Size, defaults to 18px | |||
| #' @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 | |||
| @@ -78,7 +79,8 @@ mono_accent_inverse <- function( | |||
| text_size_h2 = "45px", | |||
| text_size_h3 = "35px", | |||
| text_size_slide_number = "20px", | |||
| text_size_code = "20px", | |||
| text_size_code_inline = "20px", | |||
| text_size_code = "18px", | |||
| text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", | |||
| text_font_weight = "normal", | |||
| @@ -28,7 +28,8 @@ | |||
| #' @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_size_code_inline Inline Code Text Size, defaults to 20px | |||
| #' @param text_size_code Code Text Size, defaults to 18px | |||
| #' @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 | |||
| @@ -78,7 +79,8 @@ mono_dark <- function( | |||
| text_size_h2 = "45px", | |||
| text_size_h3 = "35px", | |||
| text_size_slide_number = "20px", | |||
| text_size_code = "20px", | |||
| text_size_code_inline = "20px", | |||
| text_size_code = "18px", | |||
| text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", | |||
| text_font_weight = "normal", | |||
| @@ -28,7 +28,8 @@ | |||
| #' @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_size_code_inline Inline Code Text Size, defaults to 20px | |||
| #' @param text_size_code Code Text Size, defaults to 18px | |||
| #' @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 | |||
| @@ -78,7 +79,8 @@ mono_light <- function( | |||
| text_size_h2 = "45px", | |||
| text_size_h3 = "35px", | |||
| text_size_slide_number = "20px", | |||
| text_size_code = "20px", | |||
| text_size_code_inline = "20px", | |||
| text_size_code = "18px", | |||
| text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", | |||
| text_font_weight = "normal", | |||
| @@ -25,7 +25,8 @@ | |||
| #' @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_size_code_inline Inline Code Text Size, defaults to 20px | |||
| #' @param text_size_code Code Text Size, defaults to 18px | |||
| #' @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 | |||
| @@ -72,7 +73,8 @@ solarized_dark <- function( | |||
| text_size_h2 = "45px", | |||
| text_size_h3 = "35px", | |||
| text_size_slide_number = "20px", | |||
| text_size_code = "20px", | |||
| text_size_code_inline = "20px", | |||
| text_size_code = "18px", | |||
| text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", | |||
| text_font_weight = "normal", | |||
| @@ -25,7 +25,8 @@ | |||
| #' @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_size_code_inline Inline Code Text Size, defaults to 20px | |||
| #' @param text_size_code Code Text Size, defaults to 18px | |||
| #' @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 | |||
| @@ -72,7 +73,8 @@ solarized_light <- function( | |||
| text_size_h2 = "45px", | |||
| text_size_h3 = "35px", | |||
| text_size_slide_number = "20px", | |||
| text_size_code = "20px", | |||
| text_size_code_inline = "20px", | |||
| text_size_code = "18px", | |||
| text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", | |||
| text_font_weight = "normal", | |||
| @@ -25,7 +25,8 @@ | |||
| #' @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_size_code_inline Inline Code Text Size, defaults to 20px | |||
| #' @param text_size_code Code Text Size, defaults to 18px | |||
| #' @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 | |||
| @@ -71,7 +72,8 @@ write_xaringan_theme <- function( | |||
| text_size_h2 = "45px", | |||
| text_size_h3 = "35px", | |||
| text_size_slide_number = "20px", | |||
| text_size_code = "20px", | |||
| text_size_code_inline = "20px", | |||
| text_size_code = "18px", | |||
| text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", | |||
| text_font_weight = "normal", | |||
| @@ -27,7 +27,8 @@ template_variables <- tibble::tribble( | |||
| , "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_size_code_inline", "20px", ".remark-inline-code", "Inline Code Text Size" | |||
| , "text_size_code", "18px", ".remark-inline", "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" | |||
| @@ -27,9 +27,12 @@ h1, h2, h3 { | |||
| } | |||
| .remark-code, .remark-inline-code { | |||
| font-family: {{code_font_family}}, {{code_font_family_fallback}}, monospace; | |||
| } | |||
| .remark-code { | |||
| font-size: {{text_size_code}}; | |||
| } | |||
| .remark-inline-code { | |||
| font-size: {{text_size_code_inline}}; | |||
| {{ifelse(!is.na(code_inline_color), paste0("color: ", code_inline_color, ";"), "")}} | |||
| {{ifelse(!is.na(code_inline_background_color), paste0("background-color: ", code_inline_background_color, ";"), "")}} | |||
| {{ifelse(!is.na(code_inline_background_color), "padding: 2px;", "")}} | |||
| @@ -24,8 +24,9 @@ duo(primary_color = "#1F4257", secondary_color = "#F97B64", | |||
| 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", | |||
| text_size_code_inline = "20px", text_size_code = "18px", | |||
| 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, | |||
| @@ -95,7 +96,9 @@ duo(primary_color = "#1F4257", secondary_color = "#F97B64", | |||
| \item{text_size_slide_number}{Slide Number Text Size, defaults to 20px} | |||
| \item{text_size_code}{Code Text Size, defaults to 20px} | |||
| \item{text_size_code_inline}{Inline Code Text Size, defaults to 20px} | |||
| \item{text_size_code}{Code Text Size, defaults to 18px} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font, defaults to \code{NULL}} | |||
| @@ -28,8 +28,9 @@ duo_accent(primary_color = "#006747", secondary_color = "#CFC493", | |||
| 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", | |||
| text_size_code_inline = "20px", text_size_code = "18px", | |||
| 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, | |||
| @@ -103,7 +104,9 @@ duo_accent(primary_color = "#006747", secondary_color = "#CFC493", | |||
| \item{text_size_slide_number}{Slide Number Text Size, defaults to 20px} | |||
| \item{text_size_code}{Code Text Size, defaults to 20px} | |||
| \item{text_size_code_inline}{Inline Code Text Size, defaults to 20px} | |||
| \item{text_size_code}{Code Text Size, defaults to 18px} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font, defaults to \code{NULL}} | |||
| @@ -28,9 +28,9 @@ duo_accent_inverse(primary_color = "#006747", secondary_color = "#CFC493", | |||
| 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", | |||
| text_size_slide_number = "20px", text_size_code_inline = "20px", | |||
| text_size_code = "18px", 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, | |||
| @@ -104,7 +104,9 @@ duo_accent_inverse(primary_color = "#006747", secondary_color = "#CFC493", | |||
| \item{text_size_slide_number}{Slide Number Text Size, defaults to 20px} | |||
| \item{text_size_code}{Code Text Size, defaults to 20px} | |||
| \item{text_size_code_inline}{Inline Code Text Size, defaults to 20px} | |||
| \item{text_size_code}{Code Text Size, defaults to 18px} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font, defaults to \code{NULL}} | |||
| @@ -23,8 +23,9 @@ mono_accent(base_color = "#43418A", white_color = "#FFFFFF", | |||
| 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", | |||
| text_size_code_inline = "20px", text_size_code = "18px", | |||
| 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, | |||
| @@ -96,7 +97,9 @@ mono_accent(base_color = "#43418A", white_color = "#FFFFFF", | |||
| \item{text_size_slide_number}{Slide Number Text Size, defaults to 20px} | |||
| \item{text_size_code}{Code Text Size, defaults to 20px} | |||
| \item{text_size_code_inline}{Inline Code Text Size, defaults to 20px} | |||
| \item{text_size_code}{Code Text Size, defaults to 18px} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font, defaults to \code{NULL}} | |||
| @@ -23,8 +23,9 @@ mono_accent_inverse(base_color = "#3C989E", white_color = "#FFFFFF", | |||
| 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", | |||
| text_size_code_inline = "20px", text_size_code = "18px", | |||
| 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, | |||
| @@ -96,7 +97,9 @@ mono_accent_inverse(base_color = "#3C989E", white_color = "#FFFFFF", | |||
| \item{text_size_slide_number}{Slide Number Text Size, defaults to 20px} | |||
| \item{text_size_code}{Code Text Size, defaults to 20px} | |||
| \item{text_size_code_inline}{Inline Code Text Size, defaults to 20px} | |||
| \item{text_size_code}{Code Text Size, defaults to 18px} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font, defaults to \code{NULL}} | |||
| @@ -23,8 +23,9 @@ mono_dark(base_color = "#cbf7ed", white_color = lighten_color(base_color, | |||
| 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", | |||
| text_size_code_inline = "20px", text_size_code = "18px", | |||
| 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, | |||
| @@ -96,7 +97,9 @@ mono_dark(base_color = "#cbf7ed", white_color = lighten_color(base_color, | |||
| \item{text_size_slide_number}{Slide Number Text Size, defaults to 20px} | |||
| \item{text_size_code}{Code Text Size, defaults to 20px} | |||
| \item{text_size_code_inline}{Inline Code Text Size, defaults to 20px} | |||
| \item{text_size_code}{Code Text Size, defaults to 18px} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font, defaults to \code{NULL}} | |||
| @@ -23,8 +23,9 @@ mono_light(base_color = "#23395b", white_color = lighten_color(base_color, | |||
| 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", | |||
| text_size_code_inline = "20px", text_size_code = "18px", | |||
| 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, | |||
| @@ -96,7 +97,9 @@ mono_light(base_color = "#23395b", white_color = lighten_color(base_color, | |||
| \item{text_size_slide_number}{Slide Number Text Size, defaults to 20px} | |||
| \item{text_size_code}{Code Text Size, defaults to 20px} | |||
| \item{text_size_code_inline}{Inline Code Text Size, defaults to 20px} | |||
| \item{text_size_code}{Code Text Size, defaults to 18px} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font, defaults to \code{NULL}} | |||
| @@ -18,9 +18,9 @@ solarized_dark(text_color = "#839496", header_color = "#dc322f", | |||
| 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", | |||
| text_size_slide_number = "20px", text_size_code_inline = "20px", | |||
| text_size_code = "18px", 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, | |||
| @@ -86,7 +86,9 @@ solarized_dark(text_color = "#839496", header_color = "#dc322f", | |||
| \item{text_size_slide_number}{Slide Number Text Size, defaults to 20px} | |||
| \item{text_size_code}{Code Text Size, defaults to 20px} | |||
| \item{text_size_code_inline}{Inline Code Text Size, defaults to 20px} | |||
| \item{text_size_code}{Code Text Size, defaults to 18px} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font, defaults to \code{NULL}} | |||
| @@ -18,9 +18,9 @@ solarized_light(text_color = "#657b83", header_color = "#dc322f", | |||
| 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", | |||
| text_size_slide_number = "20px", text_size_code_inline = "20px", | |||
| text_size_code = "18px", 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, | |||
| @@ -86,7 +86,9 @@ solarized_light(text_color = "#657b83", header_color = "#dc322f", | |||
| \item{text_size_slide_number}{Slide Number Text Size, defaults to 20px} | |||
| \item{text_size_code}{Code Text Size, defaults to 20px} | |||
| \item{text_size_code_inline}{Inline Code Text Size, defaults to 20px} | |||
| \item{text_size_code}{Code Text Size, defaults to 18px} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font, defaults to \code{NULL}} | |||
| @@ -18,9 +18,9 @@ write_xaringan_theme(text_color = "#000", header_color = "#000", | |||
| 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", | |||
| text_size_slide_number = "20px", text_size_code_inline = "20px", | |||
| text_size_code = "18px", 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, | |||
| @@ -86,7 +86,9 @@ write_xaringan_theme(text_color = "#000", header_color = "#000", | |||
| \item{text_size_slide_number}{Slide Number Text Size, defaults to 20px} | |||
| \item{text_size_code}{Code Text Size, defaults to 20px} | |||
| \item{text_size_code_inline}{Inline Code Text Size, defaults to 20px} | |||
| \item{text_size_code}{Code Text Size, defaults to 18px} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font, defaults to \code{NULL}} | |||