| @@ -23,12 +23,12 @@ | |||
| #' @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_inline Inline Code Text Size, defaults to 20px | |||
| #' @param text_size_code Code Text Size, defaults to 18px | |||
| #' @param header_h1_font_size h1 Header Text Size, defaults to 55px | |||
| #' @param header_h2_font_size h2 Header Text Size, defaults to 45px | |||
| #' @param header_h3_font_size h3 Header Text Size, defaults to 35px | |||
| #' @param text_slide_number_font_size Slide Number Text Size, defaults to 20px | |||
| #' @param code_inline_font_size Inline Code Text Size, defaults to 1em | |||
| #' @param code_font_size Code Text Size, defaults to 0.9em | |||
| #' @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 | |||
| @@ -74,12 +74,12 @@ duo <- function( | |||
| 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_inline = "20px", | |||
| text_size_code = "18px", | |||
| header_h1_font_size = "55px", | |||
| header_h2_font_size = "45px", | |||
| header_h3_font_size = "35px", | |||
| text_slide_number_font_size = "20px", | |||
| code_inline_font_size = "1em", | |||
| code_font_size = "0.9em", | |||
| text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", | |||
| text_font_weight = "normal", | |||
| @@ -25,12 +25,12 @@ | |||
| #' @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_inline Inline Code Text Size, defaults to 20px | |||
| #' @param text_size_code Code Text Size, defaults to 18px | |||
| #' @param header_h1_font_size h1 Header Text Size, defaults to 55px | |||
| #' @param header_h2_font_size h2 Header Text Size, defaults to 45px | |||
| #' @param header_h3_font_size h3 Header Text Size, defaults to 35px | |||
| #' @param text_slide_number_font_size Slide Number Text Size, defaults to 20px | |||
| #' @param code_inline_font_size Inline Code Text Size, defaults to 1em | |||
| #' @param code_font_size Code Text Size, defaults to 0.9em | |||
| #' @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,12 +78,12 @@ duo_accent <- function( | |||
| 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_inline = "20px", | |||
| text_size_code = "18px", | |||
| header_h1_font_size = "55px", | |||
| header_h2_font_size = "45px", | |||
| header_h3_font_size = "35px", | |||
| text_slide_number_font_size = "20px", | |||
| code_inline_font_size = "1em", | |||
| code_font_size = "0.9em", | |||
| text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", | |||
| text_font_weight = "normal", | |||
| @@ -25,12 +25,12 @@ | |||
| #' @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_inline Inline Code Text Size, defaults to 20px | |||
| #' @param text_size_code Code Text Size, defaults to 18px | |||
| #' @param header_h1_font_size h1 Header Text Size, defaults to 55px | |||
| #' @param header_h2_font_size h2 Header Text Size, defaults to 45px | |||
| #' @param header_h3_font_size h3 Header Text Size, defaults to 35px | |||
| #' @param text_slide_number_font_size Slide Number Text Size, defaults to 20px | |||
| #' @param code_inline_font_size Inline Code Text Size, defaults to 1em | |||
| #' @param code_font_size Code Text Size, defaults to 0.9em | |||
| #' @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,12 +78,12 @@ duo_accent_inverse <- function( | |||
| 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_inline = "20px", | |||
| text_size_code = "18px", | |||
| header_h1_font_size = "55px", | |||
| header_h2_font_size = "45px", | |||
| header_h3_font_size = "35px", | |||
| text_slide_number_font_size = "20px", | |||
| code_inline_font_size = "1em", | |||
| code_font_size = "0.9em", | |||
| text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", | |||
| text_font_weight = "normal", | |||
| @@ -24,12 +24,12 @@ | |||
| #' @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_inline Inline Code Text Size, defaults to 20px | |||
| #' @param text_size_code Code Text Size, defaults to 18px | |||
| #' @param header_h1_font_size h1 Header Text Size, defaults to 55px | |||
| #' @param header_h2_font_size h2 Header Text Size, defaults to 45px | |||
| #' @param header_h3_font_size h3 Header Text Size, defaults to 35px | |||
| #' @param text_slide_number_font_size Slide Number Text Size, defaults to 20px | |||
| #' @param code_inline_font_size Inline Code Text Size, defaults to 1em | |||
| #' @param code_font_size Code Text Size, defaults to 0.9em | |||
| #' @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,12 +76,12 @@ mono_accent <- function( | |||
| 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_inline = "20px", | |||
| text_size_code = "18px", | |||
| header_h1_font_size = "55px", | |||
| header_h2_font_size = "45px", | |||
| header_h3_font_size = "35px", | |||
| text_slide_number_font_size = "20px", | |||
| code_inline_font_size = "1em", | |||
| code_font_size = "0.9em", | |||
| text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", | |||
| text_font_weight = "normal", | |||
| @@ -24,12 +24,12 @@ | |||
| #' @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_inline Inline Code Text Size, defaults to 20px | |||
| #' @param text_size_code Code Text Size, defaults to 18px | |||
| #' @param header_h1_font_size h1 Header Text Size, defaults to 55px | |||
| #' @param header_h2_font_size h2 Header Text Size, defaults to 45px | |||
| #' @param header_h3_font_size h3 Header Text Size, defaults to 35px | |||
| #' @param text_slide_number_font_size Slide Number Text Size, defaults to 20px | |||
| #' @param code_inline_font_size Inline Code Text Size, defaults to 1em | |||
| #' @param code_font_size Code Text Size, defaults to 0.9em | |||
| #' @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,12 +76,12 @@ mono_accent_inverse <- function( | |||
| 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_inline = "20px", | |||
| text_size_code = "18px", | |||
| header_h1_font_size = "55px", | |||
| header_h2_font_size = "45px", | |||
| header_h3_font_size = "35px", | |||
| text_slide_number_font_size = "20px", | |||
| code_inline_font_size = "1em", | |||
| code_font_size = "0.9em", | |||
| text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", | |||
| text_font_weight = "normal", | |||
| @@ -24,12 +24,12 @@ | |||
| #' @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_inline Inline Code Text Size, defaults to 20px | |||
| #' @param text_size_code Code Text Size, defaults to 18px | |||
| #' @param header_h1_font_size h1 Header Text Size, defaults to 55px | |||
| #' @param header_h2_font_size h2 Header Text Size, defaults to 45px | |||
| #' @param header_h3_font_size h3 Header Text Size, defaults to 35px | |||
| #' @param text_slide_number_font_size Slide Number Text Size, defaults to 20px | |||
| #' @param code_inline_font_size Inline Code Text Size, defaults to 1em | |||
| #' @param code_font_size Code Text Size, defaults to 0.9em | |||
| #' @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,12 +76,12 @@ mono_dark <- function( | |||
| 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_inline = "20px", | |||
| text_size_code = "18px", | |||
| header_h1_font_size = "55px", | |||
| header_h2_font_size = "45px", | |||
| header_h3_font_size = "35px", | |||
| text_slide_number_font_size = "20px", | |||
| code_inline_font_size = "1em", | |||
| code_font_size = "0.9em", | |||
| text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", | |||
| text_font_weight = "normal", | |||
| @@ -24,12 +24,12 @@ | |||
| #' @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_inline Inline Code Text Size, defaults to 20px | |||
| #' @param text_size_code Code Text Size, defaults to 18px | |||
| #' @param header_h1_font_size h1 Header Text Size, defaults to 55px | |||
| #' @param header_h2_font_size h2 Header Text Size, defaults to 45px | |||
| #' @param header_h3_font_size h3 Header Text Size, defaults to 35px | |||
| #' @param text_slide_number_font_size Slide Number Text Size, defaults to 20px | |||
| #' @param code_inline_font_size Inline Code Text Size, defaults to 1em | |||
| #' @param code_font_size Code Text Size, defaults to 0.9em | |||
| #' @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,12 +76,12 @@ mono_light <- function( | |||
| 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_inline = "20px", | |||
| text_size_code = "18px", | |||
| header_h1_font_size = "55px", | |||
| header_h2_font_size = "45px", | |||
| header_h3_font_size = "35px", | |||
| text_slide_number_font_size = "20px", | |||
| code_inline_font_size = "1em", | |||
| code_font_size = "0.9em", | |||
| text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", | |||
| text_font_weight = "normal", | |||
| @@ -21,12 +21,12 @@ | |||
| #' @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_inline Inline Code Text Size, defaults to 20px | |||
| #' @param text_size_code Code Text Size, defaults to 18px | |||
| #' @param header_h1_font_size h1 Header Text Size, defaults to 55px | |||
| #' @param header_h2_font_size h2 Header Text Size, defaults to 45px | |||
| #' @param header_h3_font_size h3 Header Text Size, defaults to 35px | |||
| #' @param text_slide_number_font_size Slide Number Text Size, defaults to 20px | |||
| #' @param code_inline_font_size Inline Code Text Size, defaults to 1em | |||
| #' @param code_font_size Code Text Size, defaults to 0.9em | |||
| #' @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 | |||
| @@ -70,12 +70,12 @@ solarized_dark <- function( | |||
| 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_inline = "20px", | |||
| text_size_code = "18px", | |||
| header_h1_font_size = "55px", | |||
| header_h2_font_size = "45px", | |||
| header_h3_font_size = "35px", | |||
| text_slide_number_font_size = "20px", | |||
| code_inline_font_size = "1em", | |||
| code_font_size = "0.9em", | |||
| text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", | |||
| text_font_weight = "normal", | |||
| @@ -21,12 +21,12 @@ | |||
| #' @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_inline Inline Code Text Size, defaults to 20px | |||
| #' @param text_size_code Code Text Size, defaults to 18px | |||
| #' @param header_h1_font_size h1 Header Text Size, defaults to 55px | |||
| #' @param header_h2_font_size h2 Header Text Size, defaults to 45px | |||
| #' @param header_h3_font_size h3 Header Text Size, defaults to 35px | |||
| #' @param text_slide_number_font_size Slide Number Text Size, defaults to 20px | |||
| #' @param code_inline_font_size Inline Code Text Size, defaults to 1em | |||
| #' @param code_font_size Code Text Size, defaults to 0.9em | |||
| #' @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 | |||
| @@ -70,12 +70,12 @@ solarized_light <- function( | |||
| 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_inline = "20px", | |||
| text_size_code = "18px", | |||
| header_h1_font_size = "55px", | |||
| header_h2_font_size = "45px", | |||
| header_h3_font_size = "35px", | |||
| text_slide_number_font_size = "20px", | |||
| code_inline_font_size = "1em", | |||
| code_font_size = "0.9em", | |||
| text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", | |||
| text_font_weight = "normal", | |||
| @@ -23,12 +23,12 @@ template_variables <- tibble::tribble( | |||
| , "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_inline", "20px", ".remark-inline-code", "Inline Code Text Size" | |||
| , "text_size_code", "18px", ".remark-inline", "Code Text Size" | |||
| , "header_h1_font_size", "55px", ".remark-slide-content h1", "h1 Header Text Size" | |||
| , "header_h2_font_size", "45px", ".remark-slide-content h2", "h2 Header Text Size" | |||
| , "header_h3_font_size", "35px", ".remark-slide-content h3", "h3 Header Text Size" | |||
| , "text_slide_number_font_size", "20px", ".remark-slide-number", "Slide Number Text Size" | |||
| , "code_inline_font_size", "1em", ".remark-inline-code", "Inline Code Text Size" | |||
| , "code_font_size", "0.9em", ".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" | |||
| @@ -21,12 +21,12 @@ | |||
| #' @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_inline Inline Code Text Size, defaults to 20px | |||
| #' @param text_size_code Code Text Size, defaults to 18px | |||
| #' @param header_h1_font_size h1 Header Text Size, defaults to 55px | |||
| #' @param header_h2_font_size h2 Header Text Size, defaults to 45px | |||
| #' @param header_h3_font_size h3 Header Text Size, defaults to 35px | |||
| #' @param text_slide_number_font_size Slide Number Text Size, defaults to 20px | |||
| #' @param code_inline_font_size Inline Code Text Size, defaults to 1em | |||
| #' @param code_font_size Code Text Size, defaults to 0.9em | |||
| #' @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,12 +69,12 @@ write_xaringan_theme <- function( | |||
| 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_inline = "20px", | |||
| text_size_code = "18px", | |||
| header_h1_font_size = "55px", | |||
| header_h2_font_size = "45px", | |||
| header_h3_font_size = "35px", | |||
| text_slide_number_font_size = "20px", | |||
| code_inline_font_size = "1em", | |||
| code_font_size = "0.9em", | |||
| text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", | |||
| text_font_weight = "normal", | |||
| @@ -17,22 +17,22 @@ h1, h2, h3 { | |||
| font-size: {{text_size}}; | |||
| } | |||
| .remark-slide-content h1 { | |||
| font-size: {{text_size_h1}}; | |||
| font-size: {{header_h1_font_size}}; | |||
| } | |||
| .remark-slide-content h2 { | |||
| font-size: {{text_size_h2}}; | |||
| font-size: {{header_h2_font_size}}; | |||
| } | |||
| .remark-slide-content h3 { | |||
| font-size: {{text_size_h3}}; | |||
| font-size: {{header_h3_font_size}}; | |||
| } | |||
| .remark-code, .remark-inline-code { | |||
| font-family: {{code_font_family}}, {{code_font_family_fallback}}, monospace; | |||
| } | |||
| .remark-code { | |||
| font-size: {{text_size_code}}; | |||
| font-size: {{code_font_size}}; | |||
| } | |||
| .remark-inline-code { | |||
| font-size: {{text_size_code_inline}}; | |||
| font-size: {{code_inline_font_size}}; | |||
| {{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;", "")}} | |||
| @@ -40,7 +40,7 @@ h1, h2, h3 { | |||
| .remark-slide-number { | |||
| color: {{text_slide_number_color}}; | |||
| opacity: 1; | |||
| text-size: {{text_size_slide_number}}; | |||
| text-size: {{text_slide_number_font_size}}; | |||
| } | |||
| {{ifelse(!is.na(text_bold_color), paste0("strong{color:", text_bold_color,";}"), "")}} | |||
| a, a > code { | |||
| @@ -22,11 +22,11 @@ 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_size = "20px", text_size_h1 = "55px", text_size_h2 = "45px", | |||
| text_size_h3 = "35px", 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_size = "20px", header_h1_font_size = "55px", | |||
| header_h2_font_size = "45px", header_h3_font_size = "35px", | |||
| text_slide_number_font_size = "20px", code_inline_font_size = "1em", | |||
| code_font_size = "0.9em", 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, | |||
| @@ -88,17 +88,17 @@ duo(primary_color = "#1F4257", secondary_color = "#F97B64", | |||
| \item{text_size}{Slide Body Text Size, defaults to 20px} | |||
| \item{text_size_h1}{h1 Header Text Size, defaults to 55px} | |||
| \item{header_h1_font_size}{h1 Header Text Size, defaults to 55px} | |||
| \item{text_size_h2}{h2 Header Text Size, defaults to 45px} | |||
| \item{header_h2_font_size}{h2 Header Text Size, defaults to 45px} | |||
| \item{text_size_h3}{h3 Header Text Size, defaults to 35px} | |||
| \item{header_h3_font_size}{h3 Header Text Size, defaults to 35px} | |||
| \item{text_size_slide_number}{Slide Number Text Size, defaults to 20px} | |||
| \item{text_slide_number_font_size}{Slide Number Text Size, defaults to 20px} | |||
| \item{text_size_code_inline}{Inline Code Text Size, defaults to 20px} | |||
| \item{code_inline_font_size}{Inline Code Text Size, defaults to 1em} | |||
| \item{text_size_code}{Code Text Size, defaults to 18px} | |||
| \item{code_font_size}{Code Text Size, defaults to 0.9em} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font, defaults to \code{NULL}} | |||
| @@ -26,11 +26,11 @@ 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_size = "20px", text_size_h1 = "55px", text_size_h2 = "45px", | |||
| text_size_h3 = "35px", 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_size = "20px", header_h1_font_size = "55px", | |||
| header_h2_font_size = "45px", header_h3_font_size = "35px", | |||
| text_slide_number_font_size = "20px", code_inline_font_size = "1em", | |||
| code_font_size = "0.9em", 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,17 +96,17 @@ duo_accent(primary_color = "#006747", secondary_color = "#CFC493", | |||
| \item{text_size}{Slide Body Text Size, defaults to 20px} | |||
| \item{text_size_h1}{h1 Header Text Size, defaults to 55px} | |||
| \item{header_h1_font_size}{h1 Header Text Size, defaults to 55px} | |||
| \item{text_size_h2}{h2 Header Text Size, defaults to 45px} | |||
| \item{header_h2_font_size}{h2 Header Text Size, defaults to 45px} | |||
| \item{text_size_h3}{h3 Header Text Size, defaults to 35px} | |||
| \item{header_h3_font_size}{h3 Header Text Size, defaults to 35px} | |||
| \item{text_size_slide_number}{Slide Number Text Size, defaults to 20px} | |||
| \item{text_slide_number_font_size}{Slide Number Text Size, defaults to 20px} | |||
| \item{text_size_code_inline}{Inline Code Text Size, defaults to 20px} | |||
| \item{code_inline_font_size}{Inline Code Text Size, defaults to 1em} | |||
| \item{text_size_code}{Code Text Size, defaults to 18px} | |||
| \item{code_font_size}{Code Text Size, defaults to 0.9em} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font, defaults to \code{NULL}} | |||
| @@ -27,10 +27,11 @@ duo_accent_inverse(primary_color = "#006747", secondary_color = "#CFC493", | |||
| 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_inline = "20px", | |||
| text_size_code = "18px", text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", text_font_weight = "normal", | |||
| header_h1_font_size = "55px", header_h2_font_size = "45px", | |||
| header_h3_font_size = "35px", text_slide_number_font_size = "20px", | |||
| code_inline_font_size = "1em", code_font_size = "0.9em", | |||
| 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,17 +97,17 @@ duo_accent_inverse(primary_color = "#006747", secondary_color = "#CFC493", | |||
| \item{text_size}{Slide Body Text Size, defaults to 20px} | |||
| \item{text_size_h1}{h1 Header Text Size, defaults to 55px} | |||
| \item{header_h1_font_size}{h1 Header Text Size, defaults to 55px} | |||
| \item{text_size_h2}{h2 Header Text Size, defaults to 45px} | |||
| \item{header_h2_font_size}{h2 Header Text Size, defaults to 45px} | |||
| \item{text_size_h3}{h3 Header Text Size, defaults to 35px} | |||
| \item{header_h3_font_size}{h3 Header Text Size, defaults to 35px} | |||
| \item{text_size_slide_number}{Slide Number Text Size, defaults to 20px} | |||
| \item{text_slide_number_font_size}{Slide Number Text Size, defaults to 20px} | |||
| \item{text_size_code_inline}{Inline Code Text Size, defaults to 20px} | |||
| \item{code_inline_font_size}{Inline Code Text Size, defaults to 1em} | |||
| \item{text_size_code}{Code Text Size, defaults to 18px} | |||
| \item{code_font_size}{Code Text Size, defaults to 0.9em} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font, defaults to \code{NULL}} | |||
| @@ -21,11 +21,11 @@ mono_accent(base_color = "#43418A", 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_size = "20px", text_size_h1 = "55px", text_size_h2 = "45px", | |||
| text_size_h3 = "35px", 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_size = "20px", header_h1_font_size = "55px", | |||
| header_h2_font_size = "45px", header_h3_font_size = "35px", | |||
| text_slide_number_font_size = "20px", code_inline_font_size = "1em", | |||
| code_font_size = "0.9em", 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, | |||
| @@ -89,17 +89,17 @@ mono_accent(base_color = "#43418A", white_color = "#FFFFFF", | |||
| \item{text_size}{Slide Body Text Size, defaults to 20px} | |||
| \item{text_size_h1}{h1 Header Text Size, defaults to 55px} | |||
| \item{header_h1_font_size}{h1 Header Text Size, defaults to 55px} | |||
| \item{text_size_h2}{h2 Header Text Size, defaults to 45px} | |||
| \item{header_h2_font_size}{h2 Header Text Size, defaults to 45px} | |||
| \item{text_size_h3}{h3 Header Text Size, defaults to 35px} | |||
| \item{header_h3_font_size}{h3 Header Text Size, defaults to 35px} | |||
| \item{text_size_slide_number}{Slide Number Text Size, defaults to 20px} | |||
| \item{text_slide_number_font_size}{Slide Number Text Size, defaults to 20px} | |||
| \item{text_size_code_inline}{Inline Code Text Size, defaults to 20px} | |||
| \item{code_inline_font_size}{Inline Code Text Size, defaults to 1em} | |||
| \item{text_size_code}{Code Text Size, defaults to 18px} | |||
| \item{code_font_size}{Code Text Size, defaults to 0.9em} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font, defaults to \code{NULL}} | |||
| @@ -21,11 +21,11 @@ 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_size = "20px", text_size_h1 = "55px", text_size_h2 = "45px", | |||
| text_size_h3 = "35px", 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_size = "20px", header_h1_font_size = "55px", | |||
| header_h2_font_size = "45px", header_h3_font_size = "35px", | |||
| text_slide_number_font_size = "20px", code_inline_font_size = "1em", | |||
| code_font_size = "0.9em", 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, | |||
| @@ -89,17 +89,17 @@ mono_accent_inverse(base_color = "#3C989E", white_color = "#FFFFFF", | |||
| \item{text_size}{Slide Body Text Size, defaults to 20px} | |||
| \item{text_size_h1}{h1 Header Text Size, defaults to 55px} | |||
| \item{header_h1_font_size}{h1 Header Text Size, defaults to 55px} | |||
| \item{text_size_h2}{h2 Header Text Size, defaults to 45px} | |||
| \item{header_h2_font_size}{h2 Header Text Size, defaults to 45px} | |||
| \item{text_size_h3}{h3 Header Text Size, defaults to 35px} | |||
| \item{header_h3_font_size}{h3 Header Text Size, defaults to 35px} | |||
| \item{text_size_slide_number}{Slide Number Text Size, defaults to 20px} | |||
| \item{text_slide_number_font_size}{Slide Number Text Size, defaults to 20px} | |||
| \item{text_size_code_inline}{Inline Code Text Size, defaults to 20px} | |||
| \item{code_inline_font_size}{Inline Code Text Size, defaults to 1em} | |||
| \item{text_size_code}{Code Text Size, defaults to 18px} | |||
| \item{code_font_size}{Code Text Size, defaults to 0.9em} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font, defaults to \code{NULL}} | |||
| @@ -21,11 +21,11 @@ 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_size = "20px", text_size_h1 = "55px", text_size_h2 = "45px", | |||
| text_size_h3 = "35px", 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_size = "20px", header_h1_font_size = "55px", | |||
| header_h2_font_size = "45px", header_h3_font_size = "35px", | |||
| text_slide_number_font_size = "20px", code_inline_font_size = "1em", | |||
| code_font_size = "0.9em", 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, | |||
| @@ -89,17 +89,17 @@ mono_dark(base_color = "#cbf7ed", white_color = lighten_color(base_color, | |||
| \item{text_size}{Slide Body Text Size, defaults to 20px} | |||
| \item{text_size_h1}{h1 Header Text Size, defaults to 55px} | |||
| \item{header_h1_font_size}{h1 Header Text Size, defaults to 55px} | |||
| \item{text_size_h2}{h2 Header Text Size, defaults to 45px} | |||
| \item{header_h2_font_size}{h2 Header Text Size, defaults to 45px} | |||
| \item{text_size_h3}{h3 Header Text Size, defaults to 35px} | |||
| \item{header_h3_font_size}{h3 Header Text Size, defaults to 35px} | |||
| \item{text_size_slide_number}{Slide Number Text Size, defaults to 20px} | |||
| \item{text_slide_number_font_size}{Slide Number Text Size, defaults to 20px} | |||
| \item{text_size_code_inline}{Inline Code Text Size, defaults to 20px} | |||
| \item{code_inline_font_size}{Inline Code Text Size, defaults to 1em} | |||
| \item{text_size_code}{Code Text Size, defaults to 18px} | |||
| \item{code_font_size}{Code Text Size, defaults to 0.9em} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font, defaults to \code{NULL}} | |||
| @@ -21,11 +21,11 @@ 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_size = "20px", text_size_h1 = "55px", text_size_h2 = "45px", | |||
| text_size_h3 = "35px", 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_size = "20px", header_h1_font_size = "55px", | |||
| header_h2_font_size = "45px", header_h3_font_size = "35px", | |||
| text_slide_number_font_size = "20px", code_inline_font_size = "1em", | |||
| code_font_size = "0.9em", 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, | |||
| @@ -89,17 +89,17 @@ mono_light(base_color = "#23395b", white_color = lighten_color(base_color, | |||
| \item{text_size}{Slide Body Text Size, defaults to 20px} | |||
| \item{text_size_h1}{h1 Header Text Size, defaults to 55px} | |||
| \item{header_h1_font_size}{h1 Header Text Size, defaults to 55px} | |||
| \item{text_size_h2}{h2 Header Text Size, defaults to 45px} | |||
| \item{header_h2_font_size}{h2 Header Text Size, defaults to 45px} | |||
| \item{text_size_h3}{h3 Header Text Size, defaults to 35px} | |||
| \item{header_h3_font_size}{h3 Header Text Size, defaults to 35px} | |||
| \item{text_size_slide_number}{Slide Number Text Size, defaults to 20px} | |||
| \item{text_slide_number_font_size}{Slide Number Text Size, defaults to 20px} | |||
| \item{text_size_code_inline}{Inline Code Text Size, defaults to 20px} | |||
| \item{code_inline_font_size}{Inline Code Text Size, defaults to 1em} | |||
| \item{text_size_code}{Code Text Size, defaults to 18px} | |||
| \item{code_font_size}{Code Text Size, defaults to 0.9em} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font, defaults to \code{NULL}} | |||
| @@ -17,10 +17,11 @@ solarized_dark(text_color = "#839496", header_color = "#dc322f", | |||
| 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_size = "20px", | |||
| text_size_h1 = "55px", text_size_h2 = "45px", text_size_h3 = "35px", | |||
| 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", | |||
| header_h1_font_size = "55px", header_h2_font_size = "45px", | |||
| header_h3_font_size = "35px", text_slide_number_font_size = "20px", | |||
| code_inline_font_size = "1em", code_font_size = "0.9em", | |||
| 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, | |||
| @@ -78,17 +79,17 @@ solarized_dark(text_color = "#839496", header_color = "#dc322f", | |||
| \item{text_size}{Slide Body Text Size, defaults to 20px} | |||
| \item{text_size_h1}{h1 Header Text Size, defaults to 55px} | |||
| \item{header_h1_font_size}{h1 Header Text Size, defaults to 55px} | |||
| \item{text_size_h2}{h2 Header Text Size, defaults to 45px} | |||
| \item{header_h2_font_size}{h2 Header Text Size, defaults to 45px} | |||
| \item{text_size_h3}{h3 Header Text Size, defaults to 35px} | |||
| \item{header_h3_font_size}{h3 Header Text Size, defaults to 35px} | |||
| \item{text_size_slide_number}{Slide Number Text Size, defaults to 20px} | |||
| \item{text_slide_number_font_size}{Slide Number Text Size, defaults to 20px} | |||
| \item{text_size_code_inline}{Inline Code Text Size, defaults to 20px} | |||
| \item{code_inline_font_size}{Inline Code Text Size, defaults to 1em} | |||
| \item{text_size_code}{Code Text Size, defaults to 18px} | |||
| \item{code_font_size}{Code Text Size, defaults to 0.9em} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font, defaults to \code{NULL}} | |||
| @@ -17,10 +17,11 @@ solarized_light(text_color = "#657b83", header_color = "#dc322f", | |||
| 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_size = "20px", | |||
| text_size_h1 = "55px", text_size_h2 = "45px", text_size_h3 = "35px", | |||
| 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", | |||
| header_h1_font_size = "55px", header_h2_font_size = "45px", | |||
| header_h3_font_size = "35px", text_slide_number_font_size = "20px", | |||
| code_inline_font_size = "1em", code_font_size = "0.9em", | |||
| 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, | |||
| @@ -78,17 +79,17 @@ solarized_light(text_color = "#657b83", header_color = "#dc322f", | |||
| \item{text_size}{Slide Body Text Size, defaults to 20px} | |||
| \item{text_size_h1}{h1 Header Text Size, defaults to 55px} | |||
| \item{header_h1_font_size}{h1 Header Text Size, defaults to 55px} | |||
| \item{text_size_h2}{h2 Header Text Size, defaults to 45px} | |||
| \item{header_h2_font_size}{h2 Header Text Size, defaults to 45px} | |||
| \item{text_size_h3}{h3 Header Text Size, defaults to 35px} | |||
| \item{header_h3_font_size}{h3 Header Text Size, defaults to 35px} | |||
| \item{text_size_slide_number}{Slide Number Text Size, defaults to 20px} | |||
| \item{text_slide_number_font_size}{Slide Number Text Size, defaults to 20px} | |||
| \item{text_size_code_inline}{Inline Code Text Size, defaults to 20px} | |||
| \item{code_inline_font_size}{Inline Code Text Size, defaults to 1em} | |||
| \item{text_size_code}{Code Text Size, defaults to 18px} | |||
| \item{code_font_size}{Code Text Size, defaults to 0.9em} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font, defaults to \code{NULL}} | |||
| @@ -17,10 +17,11 @@ write_xaringan_theme(text_color = "#000", header_color = "#000", | |||
| 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_size = "20px", | |||
| text_size_h1 = "55px", text_size_h2 = "45px", text_size_h3 = "35px", | |||
| 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", | |||
| header_h1_font_size = "55px", header_h2_font_size = "45px", | |||
| header_h3_font_size = "35px", text_slide_number_font_size = "20px", | |||
| code_inline_font_size = "1em", code_font_size = "0.9em", | |||
| 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, | |||
| @@ -78,17 +79,17 @@ write_xaringan_theme(text_color = "#000", header_color = "#000", | |||
| \item{text_size}{Slide Body Text Size, defaults to 20px} | |||
| \item{text_size_h1}{h1 Header Text Size, defaults to 55px} | |||
| \item{header_h1_font_size}{h1 Header Text Size, defaults to 55px} | |||
| \item{text_size_h2}{h2 Header Text Size, defaults to 45px} | |||
| \item{header_h2_font_size}{h2 Header Text Size, defaults to 45px} | |||
| \item{text_size_h3}{h3 Header Text Size, defaults to 35px} | |||
| \item{header_h3_font_size}{h3 Header Text Size, defaults to 35px} | |||
| \item{text_size_slide_number}{Slide Number Text Size, defaults to 20px} | |||
| \item{text_slide_number_font_size}{Slide Number Text Size, defaults to 20px} | |||
| \item{text_size_code_inline}{Inline Code Text Size, defaults to 20px} | |||
| \item{code_inline_font_size}{Inline Code Text Size, defaults to 1em} | |||
| \item{text_size_code}{Code Text Size, defaults to 18px} | |||
| \item{code_font_size}{Code Text Size, defaults to 0.9em} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font, defaults to \code{NULL}} | |||