| #' @param header_h1_font_size h1 Header Text Font Size. Defaults to 55px. Modifies the `.remark-slide-content h1` class. | #' @param header_h1_font_size h1 Header Text Font Size. Defaults to 55px. Modifies the `.remark-slide-content h1` class. | ||||
| #' @param header_h2_font_size h2 Header Text Font Size. Defaults to 45px. Modifies the `.remark-slide-content h2` class. | #' @param header_h2_font_size h2 Header Text Font Size. Defaults to 45px. Modifies the `.remark-slide-content h2` class. | ||||
| #' @param header_h3_font_size h3 Header Text Font Size. Defaults to 35px. Modifies the `.remark-slide-content h3` class. | #' @param header_h3_font_size h3 Header Text Font Size. Defaults to 35px. Modifies the `.remark-slide-content h3` class. | ||||
| #' @param header_background_enable Enable Header Background Under First h1 Slide Element. Defaults to `FALSE`. Modifies the `` element. | |||||
| #' @param header_background_auto Add background under slide title automatically for h1 header elements. If not enabled, use `class: header_background` to enable.. Defaults to `FALSE`. | |||||
| #' @param header_background_color Background Color for h1 Header with Background. Defaults to `header_color`. Modifies the `.remark-slide-content h1` class. | #' @param header_background_color Background Color for h1 Header with Background. Defaults to `header_color`. Modifies the `.remark-slide-content h1` class. | ||||
| #' @param header_background_text_color Text Color for h1 Header with Background. Defaults to `background_color`. Modifies the `.remark-slide-content h1` class. | #' @param header_background_text_color Text Color for h1 Header with Background. Defaults to `background_color`. Modifies the `.remark-slide-content h1` class. | ||||
| #' @param header_background_padding Padding for h1 Header with Background. Defaults to 2rem 4rem 1.5rem 4rem. Modifies the `.remark-slide-content h1` class. | #' @param header_background_padding Padding for h1 Header with Background. Defaults to 2rem 4rem 1.5rem 4rem. Modifies the `.remark-slide-content h1` class. | ||||
| header_h1_font_size = "55px", | header_h1_font_size = "55px", | ||||
| header_h2_font_size = "45px", | header_h2_font_size = "45px", | ||||
| header_h3_font_size = "35px", | header_h3_font_size = "35px", | ||||
| header_background_enable = FALSE, | |||||
| header_background_auto = FALSE, | |||||
| header_background_color = header_color, | header_background_color = header_color, | ||||
| header_background_text_color = background_color, | header_background_text_color = background_color, | ||||
| header_background_padding = "2rem 4rem 1.5rem 4rem", | header_background_padding = "2rem 4rem 1.5rem 4rem", |
| #' @param header_h1_font_size h1 Header Text Font Size. Defaults to 55px. Modifies the `.remark-slide-content h1` class. | #' @param header_h1_font_size h1 Header Text Font Size. Defaults to 55px. Modifies the `.remark-slide-content h1` class. | ||||
| #' @param header_h2_font_size h2 Header Text Font Size. Defaults to 45px. Modifies the `.remark-slide-content h2` class. | #' @param header_h2_font_size h2 Header Text Font Size. Defaults to 45px. Modifies the `.remark-slide-content h2` class. | ||||
| #' @param header_h3_font_size h3 Header Text Font Size. Defaults to 35px. Modifies the `.remark-slide-content h3` class. | #' @param header_h3_font_size h3 Header Text Font Size. Defaults to 35px. Modifies the `.remark-slide-content h3` class. | ||||
| #' @param header_background_enable Enable Header Background Under First h1 Slide Element. Defaults to `FALSE`. Modifies the `` element. | |||||
| #' @param header_background_auto Add background under slide title automatically for h1 header elements. If not enabled, use `class: header_background` to enable.. Defaults to `FALSE`. | |||||
| #' @param header_background_color Background Color for h1 Header with Background. Defaults to `header_color`. Modifies the `.remark-slide-content h1` class. | #' @param header_background_color Background Color for h1 Header with Background. Defaults to `header_color`. Modifies the `.remark-slide-content h1` class. | ||||
| #' @param header_background_text_color Text Color for h1 Header with Background. Defaults to `background_color`. Modifies the `.remark-slide-content h1` class. | #' @param header_background_text_color Text Color for h1 Header with Background. Defaults to `background_color`. Modifies the `.remark-slide-content h1` class. | ||||
| #' @param header_background_padding Padding for h1 Header with Background. Defaults to 2rem 4rem 1.5rem 4rem. Modifies the `.remark-slide-content h1` class. | #' @param header_background_padding Padding for h1 Header with Background. Defaults to 2rem 4rem 1.5rem 4rem. Modifies the `.remark-slide-content h1` class. | ||||
| header_h1_font_size = "55px", | header_h1_font_size = "55px", | ||||
| header_h2_font_size = "45px", | header_h2_font_size = "45px", | ||||
| header_h3_font_size = "35px", | header_h3_font_size = "35px", | ||||
| header_background_enable = FALSE, | |||||
| header_background_auto = FALSE, | |||||
| header_background_color = header_color, | header_background_color = header_color, | ||||
| header_background_text_color = background_color, | header_background_text_color = background_color, | ||||
| header_background_padding = "2rem 4rem 1.5rem 4rem", | header_background_padding = "2rem 4rem 1.5rem 4rem", |
| #' @param header_h1_font_size h1 Header Text Font Size. Defaults to 55px. Modifies the `.remark-slide-content h1` class. | #' @param header_h1_font_size h1 Header Text Font Size. Defaults to 55px. Modifies the `.remark-slide-content h1` class. | ||||
| #' @param header_h2_font_size h2 Header Text Font Size. Defaults to 45px. Modifies the `.remark-slide-content h2` class. | #' @param header_h2_font_size h2 Header Text Font Size. Defaults to 45px. Modifies the `.remark-slide-content h2` class. | ||||
| #' @param header_h3_font_size h3 Header Text Font Size. Defaults to 35px. Modifies the `.remark-slide-content h3` class. | #' @param header_h3_font_size h3 Header Text Font Size. Defaults to 35px. Modifies the `.remark-slide-content h3` class. | ||||
| #' @param header_background_enable Enable Header Background Under First h1 Slide Element. Defaults to `FALSE`. Modifies the `` element. | |||||
| #' @param header_background_auto Add background under slide title automatically for h1 header elements. If not enabled, use `class: header_background` to enable.. Defaults to `FALSE`. | |||||
| #' @param header_background_color Background Color for h1 Header with Background. Defaults to `header_color`. Modifies the `.remark-slide-content h1` class. | #' @param header_background_color Background Color for h1 Header with Background. Defaults to `header_color`. Modifies the `.remark-slide-content h1` class. | ||||
| #' @param header_background_text_color Text Color for h1 Header with Background. Defaults to `background_color`. Modifies the `.remark-slide-content h1` class. | #' @param header_background_text_color Text Color for h1 Header with Background. Defaults to `background_color`. Modifies the `.remark-slide-content h1` class. | ||||
| #' @param header_background_padding Padding for h1 Header with Background. Defaults to 2rem 4rem 1.5rem 4rem. Modifies the `.remark-slide-content h1` class. | #' @param header_background_padding Padding for h1 Header with Background. Defaults to 2rem 4rem 1.5rem 4rem. Modifies the `.remark-slide-content h1` class. | ||||
| header_h1_font_size = "55px", | header_h1_font_size = "55px", | ||||
| header_h2_font_size = "45px", | header_h2_font_size = "45px", | ||||
| header_h3_font_size = "35px", | header_h3_font_size = "35px", | ||||
| header_background_enable = FALSE, | |||||
| header_background_auto = FALSE, | |||||
| header_background_color = header_color, | header_background_color = header_color, | ||||
| header_background_text_color = background_color, | header_background_text_color = background_color, | ||||
| header_background_padding = "2rem 4rem 1.5rem 4rem", | header_background_padding = "2rem 4rem 1.5rem 4rem", |
| #' @param header_h1_font_size h1 Header Text Font Size. Defaults to 55px. Modifies the `.remark-slide-content h1` class. | #' @param header_h1_font_size h1 Header Text Font Size. Defaults to 55px. Modifies the `.remark-slide-content h1` class. | ||||
| #' @param header_h2_font_size h2 Header Text Font Size. Defaults to 45px. Modifies the `.remark-slide-content h2` class. | #' @param header_h2_font_size h2 Header Text Font Size. Defaults to 45px. Modifies the `.remark-slide-content h2` class. | ||||
| #' @param header_h3_font_size h3 Header Text Font Size. Defaults to 35px. Modifies the `.remark-slide-content h3` class. | #' @param header_h3_font_size h3 Header Text Font Size. Defaults to 35px. Modifies the `.remark-slide-content h3` class. | ||||
| #' @param header_background_enable Enable Header Background Under First h1 Slide Element. Defaults to `FALSE`. Modifies the `` element. | |||||
| #' @param header_background_auto Add background under slide title automatically for h1 header elements. If not enabled, use `class: header_background` to enable.. Defaults to `FALSE`. | |||||
| #' @param header_background_color Background Color for h1 Header with Background. Defaults to `header_color`. Modifies the `.remark-slide-content h1` class. | #' @param header_background_color Background Color for h1 Header with Background. Defaults to `header_color`. Modifies the `.remark-slide-content h1` class. | ||||
| #' @param header_background_text_color Text Color for h1 Header with Background. Defaults to `background_color`. Modifies the `.remark-slide-content h1` class. | #' @param header_background_text_color Text Color for h1 Header with Background. Defaults to `background_color`. Modifies the `.remark-slide-content h1` class. | ||||
| #' @param header_background_padding Padding for h1 Header with Background. Defaults to 2rem 4rem 1.5rem 4rem. Modifies the `.remark-slide-content h1` class. | #' @param header_background_padding Padding for h1 Header with Background. Defaults to 2rem 4rem 1.5rem 4rem. Modifies the `.remark-slide-content h1` class. | ||||
| header_h1_font_size = "55px", | header_h1_font_size = "55px", | ||||
| header_h2_font_size = "45px", | header_h2_font_size = "45px", | ||||
| header_h3_font_size = "35px", | header_h3_font_size = "35px", | ||||
| header_background_enable = FALSE, | |||||
| header_background_auto = FALSE, | |||||
| header_background_color = header_color, | header_background_color = header_color, | ||||
| header_background_text_color = background_color, | header_background_text_color = background_color, | ||||
| header_background_padding = "2rem 4rem 1.5rem 4rem", | header_background_padding = "2rem 4rem 1.5rem 4rem", |
| #' @param header_h1_font_size h1 Header Text Font Size. Defaults to 55px. Modifies the `.remark-slide-content h1` class. | #' @param header_h1_font_size h1 Header Text Font Size. Defaults to 55px. Modifies the `.remark-slide-content h1` class. | ||||
| #' @param header_h2_font_size h2 Header Text Font Size. Defaults to 45px. Modifies the `.remark-slide-content h2` class. | #' @param header_h2_font_size h2 Header Text Font Size. Defaults to 45px. Modifies the `.remark-slide-content h2` class. | ||||
| #' @param header_h3_font_size h3 Header Text Font Size. Defaults to 35px. Modifies the `.remark-slide-content h3` class. | #' @param header_h3_font_size h3 Header Text Font Size. Defaults to 35px. Modifies the `.remark-slide-content h3` class. | ||||
| #' @param header_background_enable Enable Header Background Under First h1 Slide Element. Defaults to `FALSE`. Modifies the `` element. | |||||
| #' @param header_background_auto Add background under slide title automatically for h1 header elements. If not enabled, use `class: header_background` to enable.. Defaults to `FALSE`. | |||||
| #' @param header_background_color Background Color for h1 Header with Background. Defaults to `header_color`. Modifies the `.remark-slide-content h1` class. | #' @param header_background_color Background Color for h1 Header with Background. Defaults to `header_color`. Modifies the `.remark-slide-content h1` class. | ||||
| #' @param header_background_text_color Text Color for h1 Header with Background. Defaults to `background_color`. Modifies the `.remark-slide-content h1` class. | #' @param header_background_text_color Text Color for h1 Header with Background. Defaults to `background_color`. Modifies the `.remark-slide-content h1` class. | ||||
| #' @param header_background_padding Padding for h1 Header with Background. Defaults to 2rem 4rem 1.5rem 4rem. Modifies the `.remark-slide-content h1` class. | #' @param header_background_padding Padding for h1 Header with Background. Defaults to 2rem 4rem 1.5rem 4rem. Modifies the `.remark-slide-content h1` class. | ||||
| header_h1_font_size = "55px", | header_h1_font_size = "55px", | ||||
| header_h2_font_size = "45px", | header_h2_font_size = "45px", | ||||
| header_h3_font_size = "35px", | header_h3_font_size = "35px", | ||||
| header_background_enable = FALSE, | |||||
| header_background_auto = FALSE, | |||||
| header_background_color = header_color, | header_background_color = header_color, | ||||
| header_background_text_color = background_color, | header_background_text_color = background_color, | ||||
| header_background_padding = "2rem 4rem 1.5rem 4rem", | header_background_padding = "2rem 4rem 1.5rem 4rem", |
| #' @param header_h1_font_size h1 Header Text Font Size. Defaults to 55px. Modifies the `.remark-slide-content h1` class. | #' @param header_h1_font_size h1 Header Text Font Size. Defaults to 55px. Modifies the `.remark-slide-content h1` class. | ||||
| #' @param header_h2_font_size h2 Header Text Font Size. Defaults to 45px. Modifies the `.remark-slide-content h2` class. | #' @param header_h2_font_size h2 Header Text Font Size. Defaults to 45px. Modifies the `.remark-slide-content h2` class. | ||||
| #' @param header_h3_font_size h3 Header Text Font Size. Defaults to 35px. Modifies the `.remark-slide-content h3` class. | #' @param header_h3_font_size h3 Header Text Font Size. Defaults to 35px. Modifies the `.remark-slide-content h3` class. | ||||
| #' @param header_background_enable Enable Header Background Under First h1 Slide Element. Defaults to `FALSE`. Modifies the `` element. | |||||
| #' @param header_background_auto Add background under slide title automatically for h1 header elements. If not enabled, use `class: header_background` to enable.. Defaults to `FALSE`. | |||||
| #' @param header_background_color Background Color for h1 Header with Background. Defaults to `header_color`. Modifies the `.remark-slide-content h1` class. | #' @param header_background_color Background Color for h1 Header with Background. Defaults to `header_color`. Modifies the `.remark-slide-content h1` class. | ||||
| #' @param header_background_text_color Text Color for h1 Header with Background. Defaults to `background_color`. Modifies the `.remark-slide-content h1` class. | #' @param header_background_text_color Text Color for h1 Header with Background. Defaults to `background_color`. Modifies the `.remark-slide-content h1` class. | ||||
| #' @param header_background_padding Padding for h1 Header with Background. Defaults to 2rem 4rem 1.5rem 4rem. Modifies the `.remark-slide-content h1` class. | #' @param header_background_padding Padding for h1 Header with Background. Defaults to 2rem 4rem 1.5rem 4rem. Modifies the `.remark-slide-content h1` class. | ||||
| header_h1_font_size = "55px", | header_h1_font_size = "55px", | ||||
| header_h2_font_size = "45px", | header_h2_font_size = "45px", | ||||
| header_h3_font_size = "35px", | header_h3_font_size = "35px", | ||||
| header_background_enable = FALSE, | |||||
| header_background_auto = FALSE, | |||||
| header_background_color = header_color, | header_background_color = header_color, | ||||
| header_background_text_color = background_color, | header_background_text_color = background_color, | ||||
| header_background_padding = "2rem 4rem 1.5rem 4rem", | header_background_padding = "2rem 4rem 1.5rem 4rem", |
| #' @param header_h1_font_size h1 Header Text Font Size. Defaults to 55px. Modifies the `.remark-slide-content h1` class. | #' @param header_h1_font_size h1 Header Text Font Size. Defaults to 55px. Modifies the `.remark-slide-content h1` class. | ||||
| #' @param header_h2_font_size h2 Header Text Font Size. Defaults to 45px. Modifies the `.remark-slide-content h2` class. | #' @param header_h2_font_size h2 Header Text Font Size. Defaults to 45px. Modifies the `.remark-slide-content h2` class. | ||||
| #' @param header_h3_font_size h3 Header Text Font Size. Defaults to 35px. Modifies the `.remark-slide-content h3` class. | #' @param header_h3_font_size h3 Header Text Font Size. Defaults to 35px. Modifies the `.remark-slide-content h3` class. | ||||
| #' @param header_background_enable Enable Header Background Under First h1 Slide Element. Defaults to `FALSE`. Modifies the `` element. | |||||
| #' @param header_background_auto Add background under slide title automatically for h1 header elements. If not enabled, use `class: header_background` to enable.. Defaults to `FALSE`. | |||||
| #' @param header_background_color Background Color for h1 Header with Background. Defaults to `header_color`. Modifies the `.remark-slide-content h1` class. | #' @param header_background_color Background Color for h1 Header with Background. Defaults to `header_color`. Modifies the `.remark-slide-content h1` class. | ||||
| #' @param header_background_text_color Text Color for h1 Header with Background. Defaults to `background_color`. Modifies the `.remark-slide-content h1` class. | #' @param header_background_text_color Text Color for h1 Header with Background. Defaults to `background_color`. Modifies the `.remark-slide-content h1` class. | ||||
| #' @param header_background_padding Padding for h1 Header with Background. Defaults to 2rem 4rem 1.5rem 4rem. Modifies the `.remark-slide-content h1` class. | #' @param header_background_padding Padding for h1 Header with Background. Defaults to 2rem 4rem 1.5rem 4rem. Modifies the `.remark-slide-content h1` class. | ||||
| header_h1_font_size = "55px", | header_h1_font_size = "55px", | ||||
| header_h2_font_size = "45px", | header_h2_font_size = "45px", | ||||
| header_h3_font_size = "35px", | header_h3_font_size = "35px", | ||||
| header_background_enable = FALSE, | |||||
| header_background_auto = FALSE, | |||||
| header_background_color = header_color, | header_background_color = header_color, | ||||
| header_background_text_color = background_color, | header_background_text_color = background_color, | ||||
| header_background_padding = "2rem 4rem 1.5rem 4rem", | header_background_padding = "2rem 4rem 1.5rem 4rem", |
| #' @param header_h1_font_size h1 Header Text Font Size. Defaults to 55px. Modifies the `.remark-slide-content h1` class. | #' @param header_h1_font_size h1 Header Text Font Size. Defaults to 55px. Modifies the `.remark-slide-content h1` class. | ||||
| #' @param header_h2_font_size h2 Header Text Font Size. Defaults to 45px. Modifies the `.remark-slide-content h2` class. | #' @param header_h2_font_size h2 Header Text Font Size. Defaults to 45px. Modifies the `.remark-slide-content h2` class. | ||||
| #' @param header_h3_font_size h3 Header Text Font Size. Defaults to 35px. Modifies the `.remark-slide-content h3` class. | #' @param header_h3_font_size h3 Header Text Font Size. Defaults to 35px. Modifies the `.remark-slide-content h3` class. | ||||
| #' @param header_background_enable Enable Header Background Under First h1 Slide Element. Defaults to `FALSE`. Modifies the `` element. | |||||
| #' @param header_background_auto Add background under slide title automatically for h1 header elements. If not enabled, use `class: header_background` to enable.. Defaults to `FALSE`. | |||||
| #' @param header_background_color Background Color for h1 Header with Background. Defaults to `header_color`. Modifies the `.remark-slide-content h1` class. | #' @param header_background_color Background Color for h1 Header with Background. Defaults to `header_color`. Modifies the `.remark-slide-content h1` class. | ||||
| #' @param header_background_text_color Text Color for h1 Header with Background. Defaults to `background_color`. Modifies the `.remark-slide-content h1` class. | #' @param header_background_text_color Text Color for h1 Header with Background. Defaults to `background_color`. Modifies the `.remark-slide-content h1` class. | ||||
| #' @param header_background_padding Padding for h1 Header with Background. Defaults to 2rem 4rem 1.5rem 4rem. Modifies the `.remark-slide-content h1` class. | #' @param header_background_padding Padding for h1 Header with Background. Defaults to 2rem 4rem 1.5rem 4rem. Modifies the `.remark-slide-content h1` class. | ||||
| header_h1_font_size = "55px", | header_h1_font_size = "55px", | ||||
| header_h2_font_size = "45px", | header_h2_font_size = "45px", | ||||
| header_h3_font_size = "35px", | header_h3_font_size = "35px", | ||||
| header_background_enable = FALSE, | |||||
| header_background_auto = FALSE, | |||||
| header_background_color = header_color, | header_background_color = header_color, | ||||
| header_background_text_color = background_color, | header_background_text_color = background_color, | ||||
| header_background_padding = "2rem 4rem 1.5rem 4rem", | header_background_padding = "2rem 4rem 1.5rem 4rem", |
| #' @param header_h1_font_size h1 Header Text Font Size. Defaults to 55px. Modifies the `.remark-slide-content h1` class. | #' @param header_h1_font_size h1 Header Text Font Size. Defaults to 55px. Modifies the `.remark-slide-content h1` class. | ||||
| #' @param header_h2_font_size h2 Header Text Font Size. Defaults to 45px. Modifies the `.remark-slide-content h2` class. | #' @param header_h2_font_size h2 Header Text Font Size. Defaults to 45px. Modifies the `.remark-slide-content h2` class. | ||||
| #' @param header_h3_font_size h3 Header Text Font Size. Defaults to 35px. Modifies the `.remark-slide-content h3` class. | #' @param header_h3_font_size h3 Header Text Font Size. Defaults to 35px. Modifies the `.remark-slide-content h3` class. | ||||
| #' @param header_background_enable Enable Header Background Under First h1 Slide Element. Defaults to `FALSE`. Modifies the `` element. | |||||
| #' @param header_background_auto Add background under slide title automatically for h1 header elements. If not enabled, use `class: header_background` to enable.. Defaults to `FALSE`. | |||||
| #' @param header_background_color Background Color for h1 Header with Background. Defaults to `header_color`. Modifies the `.remark-slide-content h1` class. | #' @param header_background_color Background Color for h1 Header with Background. Defaults to `header_color`. Modifies the `.remark-slide-content h1` class. | ||||
| #' @param header_background_text_color Text Color for h1 Header with Background. Defaults to `background_color`. Modifies the `.remark-slide-content h1` class. | #' @param header_background_text_color Text Color for h1 Header with Background. Defaults to `background_color`. Modifies the `.remark-slide-content h1` class. | ||||
| #' @param header_background_padding Padding for h1 Header with Background. Defaults to 2rem 4rem 1.5rem 4rem. Modifies the `.remark-slide-content h1` class. | #' @param header_background_padding Padding for h1 Header with Background. Defaults to 2rem 4rem 1.5rem 4rem. Modifies the `.remark-slide-content h1` class. | ||||
| header_h1_font_size = "55px", | header_h1_font_size = "55px", | ||||
| header_h2_font_size = "45px", | header_h2_font_size = "45px", | ||||
| header_h3_font_size = "35px", | header_h3_font_size = "35px", | ||||
| header_background_enable = FALSE, | |||||
| header_background_auto = FALSE, | |||||
| header_background_color = header_color, | header_background_color = header_color, | ||||
| header_background_text_color = background_color, | header_background_text_color = background_color, | ||||
| header_background_padding = "2rem 4rem 1.5rem 4rem", | header_background_padding = "2rem 4rem 1.5rem 4rem", |
| , "header_h1_font_size", "55px", ".remark-slide-content h1", "h1 Header Text Font Size" | , "header_h1_font_size", "55px", ".remark-slide-content h1", "h1 Header Text Font Size" | ||||
| , "header_h2_font_size", "45px", ".remark-slide-content h2", "h2 Header Text Font Size" | , "header_h2_font_size", "45px", ".remark-slide-content h2", "h2 Header Text Font Size" | ||||
| , "header_h3_font_size", "35px", ".remark-slide-content h3", "h3 Header Text Font Size" | , "header_h3_font_size", "35px", ".remark-slide-content h3", "h3 Header Text Font Size" | ||||
| , "header_background_enable", "{FALSE}", "", "Enable Header Background Under First h1 Slide Element" | |||||
| , "header_background_auto", "{FALSE}", "", "Add background under slide title automatically for h1 header elements. If not enabled, use `class: header_background` to enable." | |||||
| , "header_background_color", "{header_color}", ".remark-slide-content h1", "Background Color for h1 Header with Background" | , "header_background_color", "{header_color}", ".remark-slide-content h1", "Background Color for h1 Header with Background" | ||||
| , "header_background_text_color", "{background_color}", ".remark-slide-content h1", "Text Color for h1 Header with Background" | , "header_background_text_color", "{background_color}", ".remark-slide-content h1", "Text Color for h1 Header with Background" | ||||
| , "header_background_padding", "2rem 4rem 1.5rem 4rem", ".remark-slide-content h1", "Padding for h1 Header with Background" | , "header_background_padding", "2rem 4rem 1.5rem 4rem", ".remark-slide-content h1", "Padding for h1 Header with Background" | ||||
| out, | out, | ||||
| glue::glue("Modifies the `{element}` {plural_element(element)}.") | glue::glue("Modifies the `{element}` {plural_element(element)}.") | ||||
| ) | ) | ||||
| } |
| #' @param header_h1_font_size h1 Header Text Font Size. Defaults to 55px. Modifies the `.remark-slide-content h1` class. | #' @param header_h1_font_size h1 Header Text Font Size. Defaults to 55px. Modifies the `.remark-slide-content h1` class. | ||||
| #' @param header_h2_font_size h2 Header Text Font Size. Defaults to 45px. Modifies the `.remark-slide-content h2` class. | #' @param header_h2_font_size h2 Header Text Font Size. Defaults to 45px. Modifies the `.remark-slide-content h2` class. | ||||
| #' @param header_h3_font_size h3 Header Text Font Size. Defaults to 35px. Modifies the `.remark-slide-content h3` class. | #' @param header_h3_font_size h3 Header Text Font Size. Defaults to 35px. Modifies the `.remark-slide-content h3` class. | ||||
| #' @param header_background_enable Enable Header Background Under First h1 Slide Element. Defaults to `FALSE`. Modifies the `` element. | |||||
| #' @param header_background_auto Add background under slide title automatically for h1 header elements. If not enabled, use `class: header_background` to enable.. Defaults to `FALSE`. | |||||
| #' @param header_background_color Background Color for h1 Header with Background. Defaults to `header_color`. Modifies the `.remark-slide-content h1` class. | #' @param header_background_color Background Color for h1 Header with Background. Defaults to `header_color`. Modifies the `.remark-slide-content h1` class. | ||||
| #' @param header_background_text_color Text Color for h1 Header with Background. Defaults to `background_color`. Modifies the `.remark-slide-content h1` class. | #' @param header_background_text_color Text Color for h1 Header with Background. Defaults to `background_color`. Modifies the `.remark-slide-content h1` class. | ||||
| #' @param header_background_padding Padding for h1 Header with Background. Defaults to 2rem 4rem 1.5rem 4rem. Modifies the `.remark-slide-content h1` class. | #' @param header_background_padding Padding for h1 Header with Background. Defaults to 2rem 4rem 1.5rem 4rem. Modifies the `.remark-slide-content h1` class. | ||||
| header_h1_font_size = "55px", | header_h1_font_size = "55px", | ||||
| header_h2_font_size = "45px", | header_h2_font_size = "45px", | ||||
| header_h3_font_size = "35px", | header_h3_font_size = "35px", | ||||
| header_background_enable = FALSE, | |||||
| header_background_auto = FALSE, | |||||
| header_background_color = header_color, | header_background_color = header_color, | ||||
| header_background_text_color = background_color, | header_background_text_color = background_color, | ||||
| header_background_padding = "2rem 4rem 1.5rem 4rem", | header_background_padding = "2rem 4rem 1.5rem 4rem", | ||||
| xaringanthemer_version <- utils::packageVersion("xaringanthemer") | xaringanthemer_version <- utils::packageVersion("xaringanthemer") | ||||
| # prepare header background object | # prepare header background object | ||||
| header_background <- if (header_background_enable) { | |||||
| needs_leading_dot <- !grepl("^\\.", header_background_ignore_classes) | |||||
| header_background_ignore_classes[needs_leading_dot] <- paste0( | |||||
| ".", header_background_ignore_classes[needs_leading_dot] | |||||
| ) | |||||
| header_background_ignore_classes <- purrr::map( | |||||
| header_background_ignore_classes, | |||||
| ~ list(class = .) | |||||
| ) | |||||
| list( | |||||
| background_color = header_background_color, | |||||
| text_color = header_background_text_color, | |||||
| padding = header_background_padding, | |||||
| content_padding_top = header_background_content_padding_top, | |||||
| ignore = header_background_ignore_classes | |||||
| ) | |||||
| } | |||||
| needs_leading_dot <- !grepl("^\\.", header_background_ignore_classes) | |||||
| header_background_ignore_classes[needs_leading_dot] <- paste0( | |||||
| ".", header_background_ignore_classes[needs_leading_dot] | |||||
| ) | |||||
| header_background_ignore_classes <- purrr::map( | |||||
| header_background_ignore_classes, | |||||
| ~ list(class = .) | |||||
| ) | |||||
| header_background <- list( | |||||
| auto = header_background_auto, | |||||
| background_color = header_background_color, | |||||
| text_color = header_background_text_color, | |||||
| padding = header_background_padding, | |||||
| content_padding_top = header_background_content_padding_top, | |||||
| ignore = header_background_ignore_classes | |||||
| ) | |||||
| tf <- system.file("resources", "template.css", package = "xaringanthemer") | tf <- system.file("resources", "template.css", package = "xaringanthemer") | ||||
| template <- readLines(tf, warn = FALSE) | template <- readLines(tf, warn = FALSE) |
| {{#header_background}} | {{#header_background}} | ||||
| /* Slide Header Background for h1 elements */ | /* Slide Header Background for h1 elements */ | ||||
| .remark-slide-content{{#ignore}}:not({{class}}){{/ignore}} > h1 { | |||||
| .remark-slide-content.header_background > h1{{#auto}}, | |||||
| .remark-slide-content{{#ignore}}:not({{class}}){{/ignore}} > h1{{/auto}} { | |||||
| display: block; | display: block; | ||||
| position: absolute; | position: absolute; | ||||
| top: 0; | top: 0; | ||||
| margin-top: 0; | margin-top: 0; | ||||
| box-sizing: border-box; | box-sizing: border-box; | ||||
| } | } | ||||
| .remark-slide-content{{#ignore}}:not({{class}}){{/ignore}} { | |||||
| .remark-slide-content.header_background{{#auto}}, | |||||
| .remark-slide-content{{#ignore}}:not({{class}}){{/ignore}}{{/auto}} { | |||||
| padding-top: {{content_padding_top}}; | padding-top: {{content_padding_top}}; | ||||
| } | } | ||||
| xaringanthemer_version <- utils::packageVersion("xaringanthemer") | xaringanthemer_version <- utils::packageVersion("xaringanthemer") | ||||
| # prepare header background object | # prepare header background object | ||||
| header_background <- if (header_background_enable) { | |||||
| needs_leading_dot <- !grepl("^\\.", header_background_ignore_classes) | |||||
| header_background_ignore_classes[needs_leading_dot] <- paste0( | |||||
| ".", header_background_ignore_classes[needs_leading_dot] | |||||
| ) | |||||
| header_background_ignore_classes <- purrr::map( | |||||
| header_background_ignore_classes, | |||||
| ~ list(class = .) | |||||
| ) | |||||
| list( | |||||
| background_color = header_background_color, | |||||
| text_color = header_background_text_color, | |||||
| padding = header_background_padding, | |||||
| content_padding_top = header_background_content_padding_top, | |||||
| ignore = header_background_ignore_classes | |||||
| ) | |||||
| } | |||||
| needs_leading_dot <- !grepl("^\\.", header_background_ignore_classes) | |||||
| header_background_ignore_classes[needs_leading_dot] <- paste0( | |||||
| ".", header_background_ignore_classes[needs_leading_dot] | |||||
| ) | |||||
| header_background_ignore_classes <- purrr::map( | |||||
| header_background_ignore_classes, | |||||
| ~ list(class = .) | |||||
| ) | |||||
| header_background <- list( | |||||
| auto = header_background_auto, | |||||
| background_color = header_background_color, | |||||
| text_color = header_background_text_color, | |||||
| padding = header_background_padding, | |||||
| content_padding_top = header_background_content_padding_top, | |||||
| ignore = header_background_ignore_classes | |||||
| ) | |||||
| tf <- system.file("resources", "template.css", package = "xaringanthemer") | tf <- system.file("resources", "template.css", package = "xaringanthemer") | ||||
| template <- readLines(tf, warn = FALSE) | template <- readLines(tf, warn = FALSE) |
| table_row_even_background_color = lighten_color(primary_color, 0.3), | table_row_even_background_color = lighten_color(primary_color, 0.3), | ||||
| text_font_size = "20px", header_h1_font_size = "55px", | text_font_size = "20px", header_h1_font_size = "55px", | ||||
| header_h2_font_size = "45px", header_h3_font_size = "35px", | header_h2_font_size = "45px", header_h3_font_size = "35px", | ||||
| header_background_enable = FALSE, | |||||
| header_background_auto = FALSE, | |||||
| header_background_color = header_color, | header_background_color = header_color, | ||||
| header_background_text_color = background_color, | header_background_text_color = background_color, | ||||
| header_background_padding = "2rem 4rem 1.5rem 4rem", | header_background_padding = "2rem 4rem 1.5rem 4rem", | ||||
| \item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 35px. Modifies the \code{.remark-slide-content h3} class.} | \item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 35px. Modifies the \code{.remark-slide-content h3} class.} | ||||
| \item{header_background_enable}{Enable Header Background Under First h1 Slide Element. Defaults to \code{FALSE}. Modifies the `` element.} | |||||
| \item{header_background_auto}{Add background under slide title automatically for h1 header elements. If not enabled, use \code{class: header_background} to enable.. Defaults to \code{FALSE}.} | |||||
| \item{header_background_color}{Background Color for h1 Header with Background. Defaults to \code{header_color}. Modifies the \code{.remark-slide-content h1} class.} | \item{header_background_color}{Background Color for h1 Header with Background. Defaults to \code{header_color}. Modifies the \code{.remark-slide-content h1} class.} | ||||
| table_row_even_background_color = lighten_color(secondary_color, 0.3), | table_row_even_background_color = lighten_color(secondary_color, 0.3), | ||||
| text_font_size = "20px", header_h1_font_size = "55px", | text_font_size = "20px", header_h1_font_size = "55px", | ||||
| header_h2_font_size = "45px", header_h3_font_size = "35px", | header_h2_font_size = "45px", header_h3_font_size = "35px", | ||||
| header_background_enable = FALSE, | |||||
| header_background_auto = FALSE, | |||||
| header_background_color = header_color, | header_background_color = header_color, | ||||
| header_background_text_color = background_color, | header_background_text_color = background_color, | ||||
| header_background_padding = "2rem 4rem 1.5rem 4rem", | header_background_padding = "2rem 4rem 1.5rem 4rem", | ||||
| \item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 35px. Modifies the \code{.remark-slide-content h3} class.} | \item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 35px. Modifies the \code{.remark-slide-content h3} class.} | ||||
| \item{header_background_enable}{Enable Header Background Under First h1 Slide Element. Defaults to \code{FALSE}. Modifies the `` element.} | |||||
| \item{header_background_auto}{Add background under slide title automatically for h1 header elements. If not enabled, use \code{class: header_background} to enable.. Defaults to \code{FALSE}.} | |||||
| \item{header_background_color}{Background Color for h1 Header with Background. Defaults to \code{header_color}. Modifies the \code{.remark-slide-content h1} class.} | \item{header_background_color}{Background Color for h1 Header with Background. Defaults to \code{header_color}. Modifies the \code{.remark-slide-content h1} class.} | ||||
| table_row_even_background_color = darken_color(choose_dark_or_light(primary_color, | table_row_even_background_color = darken_color(choose_dark_or_light(primary_color, | ||||
| secondary_color, primary_color), 0.3), text_font_size = "20px", | secondary_color, primary_color), 0.3), text_font_size = "20px", | ||||
| header_h1_font_size = "55px", header_h2_font_size = "45px", | header_h1_font_size = "55px", header_h2_font_size = "45px", | ||||
| header_h3_font_size = "35px", header_background_enable = FALSE, | |||||
| header_h3_font_size = "35px", header_background_auto = FALSE, | |||||
| header_background_color = header_color, | header_background_color = header_color, | ||||
| header_background_text_color = background_color, | header_background_text_color = background_color, | ||||
| header_background_padding = "2rem 4rem 1.5rem 4rem", | header_background_padding = "2rem 4rem 1.5rem 4rem", | ||||
| \item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 35px. Modifies the \code{.remark-slide-content h3} class.} | \item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 35px. Modifies the \code{.remark-slide-content h3} class.} | ||||
| \item{header_background_enable}{Enable Header Background Under First h1 Slide Element. Defaults to \code{FALSE}. Modifies the `` element.} | |||||
| \item{header_background_auto}{Add background under slide title automatically for h1 header elements. If not enabled, use \code{class: header_background} to enable.. Defaults to \code{FALSE}.} | |||||
| \item{header_background_color}{Background Color for h1 Header with Background. Defaults to \code{header_color}. Modifies the \code{.remark-slide-content h1} class.} | \item{header_background_color}{Background Color for h1 Header with Background. Defaults to \code{header_color}. Modifies the \code{.remark-slide-content h1} class.} | ||||
| table_row_even_background_color = lighten_color(base_color, 0.7), | table_row_even_background_color = lighten_color(base_color, 0.7), | ||||
| text_font_size = "20px", header_h1_font_size = "55px", | text_font_size = "20px", header_h1_font_size = "55px", | ||||
| header_h2_font_size = "45px", header_h3_font_size = "35px", | header_h2_font_size = "45px", header_h3_font_size = "35px", | ||||
| header_background_enable = FALSE, | |||||
| header_background_auto = FALSE, | |||||
| header_background_color = header_color, | header_background_color = header_color, | ||||
| header_background_text_color = background_color, | header_background_text_color = background_color, | ||||
| header_background_padding = "2rem 4rem 1.5rem 4rem", | header_background_padding = "2rem 4rem 1.5rem 4rem", | ||||
| \item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 35px. Modifies the \code{.remark-slide-content h3} class.} | \item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 35px. Modifies the \code{.remark-slide-content h3} class.} | ||||
| \item{header_background_enable}{Enable Header Background Under First h1 Slide Element. Defaults to \code{FALSE}. Modifies the `` element.} | |||||
| \item{header_background_auto}{Add background under slide title automatically for h1 header elements. If not enabled, use \code{class: header_background} to enable.. Defaults to \code{FALSE}.} | |||||
| \item{header_background_color}{Background Color for h1 Header with Background. Defaults to \code{header_color}. Modifies the \code{.remark-slide-content h1} class.} | \item{header_background_color}{Background Color for h1 Header with Background. Defaults to \code{header_color}. Modifies the \code{.remark-slide-content h1} class.} | ||||
| table_row_even_background_color = darken_color(base_color, 0.7), | table_row_even_background_color = darken_color(base_color, 0.7), | ||||
| text_font_size = "20px", header_h1_font_size = "55px", | text_font_size = "20px", header_h1_font_size = "55px", | ||||
| header_h2_font_size = "45px", header_h3_font_size = "35px", | header_h2_font_size = "45px", header_h3_font_size = "35px", | ||||
| header_background_enable = FALSE, | |||||
| header_background_auto = FALSE, | |||||
| header_background_color = header_color, | header_background_color = header_color, | ||||
| header_background_text_color = background_color, | header_background_text_color = background_color, | ||||
| header_background_padding = "2rem 4rem 1.5rem 4rem", | header_background_padding = "2rem 4rem 1.5rem 4rem", | ||||
| \item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 35px. Modifies the \code{.remark-slide-content h3} class.} | \item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 35px. Modifies the \code{.remark-slide-content h3} class.} | ||||
| \item{header_background_enable}{Enable Header Background Under First h1 Slide Element. Defaults to \code{FALSE}. Modifies the `` element.} | |||||
| \item{header_background_auto}{Add background under slide title automatically for h1 header elements. If not enabled, use \code{class: header_background} to enable.. Defaults to \code{FALSE}.} | |||||
| \item{header_background_color}{Background Color for h1 Header with Background. Defaults to \code{header_color}. Modifies the \code{.remark-slide-content h1} class.} | \item{header_background_color}{Background Color for h1 Header with Background. Defaults to \code{header_color}. Modifies the \code{.remark-slide-content h1} class.} | ||||
| table_row_even_background_color = darken_color(base_color, 0.7), | table_row_even_background_color = darken_color(base_color, 0.7), | ||||
| text_font_size = "20px", header_h1_font_size = "55px", | text_font_size = "20px", header_h1_font_size = "55px", | ||||
| header_h2_font_size = "45px", header_h3_font_size = "35px", | header_h2_font_size = "45px", header_h3_font_size = "35px", | ||||
| header_background_enable = FALSE, | |||||
| header_background_auto = FALSE, | |||||
| header_background_color = header_color, | header_background_color = header_color, | ||||
| header_background_text_color = background_color, | header_background_text_color = background_color, | ||||
| header_background_padding = "2rem 4rem 1.5rem 4rem", | header_background_padding = "2rem 4rem 1.5rem 4rem", | ||||
| \item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 35px. Modifies the \code{.remark-slide-content h3} class.} | \item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 35px. Modifies the \code{.remark-slide-content h3} class.} | ||||
| \item{header_background_enable}{Enable Header Background Under First h1 Slide Element. Defaults to \code{FALSE}. Modifies the `` element.} | |||||
| \item{header_background_auto}{Add background under slide title automatically for h1 header elements. If not enabled, use \code{class: header_background} to enable.. Defaults to \code{FALSE}.} | |||||
| \item{header_background_color}{Background Color for h1 Header with Background. Defaults to \code{header_color}. Modifies the \code{.remark-slide-content h1} class.} | \item{header_background_color}{Background Color for h1 Header with Background. Defaults to \code{header_color}. Modifies the \code{.remark-slide-content h1} class.} | ||||
| table_row_even_background_color = lighten_color(base_color, 0.8), | table_row_even_background_color = lighten_color(base_color, 0.8), | ||||
| text_font_size = "20px", header_h1_font_size = "55px", | text_font_size = "20px", header_h1_font_size = "55px", | ||||
| header_h2_font_size = "45px", header_h3_font_size = "35px", | header_h2_font_size = "45px", header_h3_font_size = "35px", | ||||
| header_background_enable = FALSE, | |||||
| header_background_auto = FALSE, | |||||
| header_background_color = header_color, | header_background_color = header_color, | ||||
| header_background_text_color = background_color, | header_background_text_color = background_color, | ||||
| header_background_padding = "2rem 4rem 1.5rem 4rem", | header_background_padding = "2rem 4rem 1.5rem 4rem", | ||||
| \item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 35px. Modifies the \code{.remark-slide-content h3} class.} | \item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 35px. Modifies the \code{.remark-slide-content h3} class.} | ||||
| \item{header_background_enable}{Enable Header Background Under First h1 Slide Element. Defaults to \code{FALSE}. Modifies the `` element.} | |||||
| \item{header_background_auto}{Add background under slide title automatically for h1 header elements. If not enabled, use \code{class: header_background} to enable.. Defaults to \code{FALSE}.} | |||||
| \item{header_background_color}{Background Color for h1 Header with Background. Defaults to \code{header_color}. Modifies the \code{.remark-slide-content h1} class.} | \item{header_background_color}{Background Color for h1 Header with Background. Defaults to \code{header_color}. Modifies the \code{.remark-slide-content h1} class.} | ||||
| table_border_color = "#657b83", table_row_border_color = "#657b83", | table_border_color = "#657b83", table_row_border_color = "#657b83", | ||||
| table_row_even_background_color = "#073642", text_font_size = "20px", | table_row_even_background_color = "#073642", text_font_size = "20px", | ||||
| header_h1_font_size = "55px", header_h2_font_size = "45px", | header_h1_font_size = "55px", header_h2_font_size = "45px", | ||||
| header_h3_font_size = "35px", header_background_enable = FALSE, | |||||
| header_h3_font_size = "35px", header_background_auto = FALSE, | |||||
| header_background_color = header_color, | header_background_color = header_color, | ||||
| header_background_text_color = background_color, | header_background_text_color = background_color, | ||||
| header_background_padding = "2rem 4rem 1.5rem 4rem", | header_background_padding = "2rem 4rem 1.5rem 4rem", | ||||
| \item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 35px. Modifies the \code{.remark-slide-content h3} class.} | \item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 35px. Modifies the \code{.remark-slide-content h3} class.} | ||||
| \item{header_background_enable}{Enable Header Background Under First h1 Slide Element. Defaults to \code{FALSE}. Modifies the `` element.} | |||||
| \item{header_background_auto}{Add background under slide title automatically for h1 header elements. If not enabled, use \code{class: header_background} to enable.. Defaults to \code{FALSE}.} | |||||
| \item{header_background_color}{Background Color for h1 Header with Background. Defaults to \code{header_color}. Modifies the \code{.remark-slide-content h1} class.} | \item{header_background_color}{Background Color for h1 Header with Background. Defaults to \code{header_color}. Modifies the \code{.remark-slide-content h1} class.} | ||||
| table_border_color = "#839496", table_row_border_color = "#839496", | table_border_color = "#839496", table_row_border_color = "#839496", | ||||
| table_row_even_background_color = "#eee8d5", text_font_size = "20px", | table_row_even_background_color = "#eee8d5", text_font_size = "20px", | ||||
| header_h1_font_size = "55px", header_h2_font_size = "45px", | header_h1_font_size = "55px", header_h2_font_size = "45px", | ||||
| header_h3_font_size = "35px", header_background_enable = FALSE, | |||||
| header_h3_font_size = "35px", header_background_auto = FALSE, | |||||
| header_background_color = header_color, | header_background_color = header_color, | ||||
| header_background_text_color = background_color, | header_background_text_color = background_color, | ||||
| header_background_padding = "2rem 4rem 1.5rem 4rem", | header_background_padding = "2rem 4rem 1.5rem 4rem", | ||||
| \item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 35px. Modifies the \code{.remark-slide-content h3} class.} | \item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 35px. Modifies the \code{.remark-slide-content h3} class.} | ||||
| \item{header_background_enable}{Enable Header Background Under First h1 Slide Element. Defaults to \code{FALSE}. Modifies the `` element.} | |||||
| \item{header_background_auto}{Add background under slide title automatically for h1 header elements. If not enabled, use \code{class: header_background} to enable.. Defaults to \code{FALSE}.} | |||||
| \item{header_background_color}{Background Color for h1 Header with Background. Defaults to \code{header_color}. Modifies the \code{.remark-slide-content h1} class.} | \item{header_background_color}{Background Color for h1 Header with Background. Defaults to \code{header_color}. Modifies the \code{.remark-slide-content h1} class.} | ||||
| table_border_color = "#666", table_row_border_color = "#ddd", | table_border_color = "#666", table_row_border_color = "#ddd", | ||||
| table_row_even_background_color = "#eee", text_font_size = "20px", | table_row_even_background_color = "#eee", text_font_size = "20px", | ||||
| header_h1_font_size = "55px", header_h2_font_size = "45px", | header_h1_font_size = "55px", header_h2_font_size = "45px", | ||||
| header_h3_font_size = "35px", header_background_enable = FALSE, | |||||
| header_h3_font_size = "35px", header_background_auto = FALSE, | |||||
| header_background_color = header_color, | header_background_color = header_color, | ||||
| header_background_text_color = background_color, | header_background_text_color = background_color, | ||||
| header_background_padding = "2rem 4rem 1.5rem 4rem", | header_background_padding = "2rem 4rem 1.5rem 4rem", | ||||
| \item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 35px. Modifies the \code{.remark-slide-content h3} class.} | \item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 35px. Modifies the \code{.remark-slide-content h3} class.} | ||||
| \item{header_background_enable}{Enable Header Background Under First h1 Slide Element. Defaults to \code{FALSE}. Modifies the `` element.} | |||||
| \item{header_background_auto}{Add background under slide title automatically for h1 header elements. If not enabled, use \code{class: header_background} to enable.. Defaults to \code{FALSE}.} | |||||
| \item{header_background_color}{Background Color for h1 Header with Background. Defaults to \code{header_color}. Modifies the \code{.remark-slide-content h1} class.} | \item{header_background_color}{Background Color for h1 Header with Background. Defaults to \code{header_color}. Modifies the \code{.remark-slide-content h1} class.} | ||||
| } | } | ||||
| /* Slide Header Background for h1 elements */ | /* Slide Header Background for h1 elements */ | ||||
| .remark-slide-content.header_background > h1, | |||||
| .remark-slide-content:not(.normal):not(.inverse):not(.title):not(.middle):not(.bottom) > h1 { | .remark-slide-content:not(.normal):not(.inverse):not(.title):not(.middle):not(.bottom) > h1 { | ||||
| display: block; | display: block; | ||||
| position: absolute; | position: absolute; | ||||
| margin-top: 0; | margin-top: 0; | ||||
| box-sizing: border-box; | box-sizing: border-box; | ||||
| } | } | ||||
| .remark-slide-content.header_background, | |||||
| .remark-slide-content:not(.normal):not(.inverse):not(.title):not(.middle):not(.bottom) { | .remark-slide-content:not(.normal):not(.inverse):not(.title):not(.middle):not(.bottom) { | ||||
| padding-top: 7rem; | padding-top: 7rem; | ||||
| } | } |
| color: #FEFDFD !important; | color: #FEFDFD !important; | ||||
| } | } | ||||
| /* Slide Header Background for h1 elements */ | |||||
| .remark-slide-content.header_background > h1 { | |||||
| display: block; | |||||
| position: absolute; | |||||
| top: 0; | |||||
| left: 0; | |||||
| width: 100%; | |||||
| background: #F97B64; | |||||
| color: #1F4257; | |||||
| padding: 2rem 4rem 1.5rem 4rem; | |||||
| margin-top: 0; | |||||
| box-sizing: border-box; | |||||
| } | |||||
| .remark-slide-content.header_background { | |||||
| padding-top: 7rem; | |||||
| } | |||||
| @page { margin: 0; } | @page { margin: 0; } | ||||
| @media print { | @media print { | ||||
| .remark-slide-scaler { | .remark-slide-scaler { |
| color: #000000 !important; | color: #000000 !important; | ||||
| } | } | ||||
| /* Slide Header Background for h1 elements */ | |||||
| .remark-slide-content.header_background > h1 { | |||||
| display: block; | |||||
| position: absolute; | |||||
| top: 0; | |||||
| left: 0; | |||||
| width: 100%; | |||||
| background: #006747; | |||||
| color: #FFFFFF; | |||||
| padding: 2rem 4rem 1.5rem 4rem; | |||||
| margin-top: 0; | |||||
| box-sizing: border-box; | |||||
| } | |||||
| .remark-slide-content.header_background { | |||||
| padding-top: 7rem; | |||||
| } | |||||
| @page { margin: 0; } | @page { margin: 0; } | ||||
| @media print { | @media print { | ||||
| .remark-slide-scaler { | .remark-slide-scaler { |
| color: #FFFFFF !important; | color: #FFFFFF !important; | ||||
| } | } | ||||
| /* Slide Header Background for h1 elements */ | |||||
| .remark-slide-content.header_background > h1 { | |||||
| display: block; | |||||
| position: absolute; | |||||
| top: 0; | |||||
| left: 0; | |||||
| width: 100%; | |||||
| background: #006747; | |||||
| color: #000000; | |||||
| padding: 2rem 4rem 1.5rem 4rem; | |||||
| margin-top: 0; | |||||
| box-sizing: border-box; | |||||
| } | |||||
| .remark-slide-content.header_background { | |||||
| padding-top: 7rem; | |||||
| } | |||||
| @page { margin: 0; } | @page { margin: 0; } | ||||
| @media print { | @media print { | ||||
| .remark-slide-scaler { | .remark-slide-scaler { |
| color: #272822 !important; | color: #272822 !important; | ||||
| } | } | ||||
| /* Slide Header Background for h1 elements */ | |||||
| .remark-slide-content.header_background > h1 { | |||||
| display: block; | |||||
| position: absolute; | |||||
| top: 0; | |||||
| left: 0; | |||||
| width: 100%; | |||||
| background: #43418A; | |||||
| color: #FFFFFF; | |||||
| padding: 2rem 4rem 1.5rem 4rem; | |||||
| margin-top: 0; | |||||
| box-sizing: border-box; | |||||
| } | |||||
| .remark-slide-content.header_background { | |||||
| padding-top: 7rem; | |||||
| } | |||||
| @page { margin: 0; } | @page { margin: 0; } | ||||
| @media print { | @media print { | ||||
| .remark-slide-scaler { | .remark-slide-scaler { |
| color: #FFFFFF !important; | color: #FFFFFF !important; | ||||
| } | } | ||||
| /* Slide Header Background for h1 elements */ | |||||
| .remark-slide-content.header_background > h1 { | |||||
| display: block; | |||||
| position: absolute; | |||||
| top: 0; | |||||
| left: 0; | |||||
| width: 100%; | |||||
| background: #3C989E; | |||||
| color: #050F0F; | |||||
| padding: 2rem 4rem 1.5rem 4rem; | |||||
| margin-top: 0; | |||||
| box-sizing: border-box; | |||||
| } | |||||
| .remark-slide-content.header_background { | |||||
| padding-top: 7rem; | |||||
| } | |||||
| @page { margin: 0; } | @page { margin: 0; } | ||||
| @media print { | @media print { | ||||
| .remark-slide-scaler { | .remark-slide-scaler { |
| color: #F4FDFB !important; | color: #F4FDFB !important; | ||||
| } | } | ||||
| /* Slide Header Background for h1 elements */ | |||||
| .remark-slide-content.header_background > h1 { | |||||
| display: block; | |||||
| position: absolute; | |||||
| top: 0; | |||||
| left: 0; | |||||
| width: 100%; | |||||
| background: #cbf7ed; | |||||
| color: #1E2523; | |||||
| padding: 2rem 4rem 1.5rem 4rem; | |||||
| margin-top: 0; | |||||
| box-sizing: border-box; | |||||
| } | |||||
| .remark-slide-content.header_background { | |||||
| padding-top: 7rem; | |||||
| } | |||||
| @page { margin: 0; } | @page { margin: 0; } | ||||
| @media print { | @media print { | ||||
| .remark-slide-scaler { | .remark-slide-scaler { |
| } | } | ||||
| /* Slide Header Background for h1 elements */ | /* Slide Header Background for h1 elements */ | ||||
| .remark-slide-content.header_background > h1, | |||||
| .remark-slide-content:not(.normal):not(.inverse):not(.title):not(.middle):not(.bottom) > h1 { | .remark-slide-content:not(.normal):not(.inverse):not(.title):not(.middle):not(.bottom) > h1 { | ||||
| display: block; | display: block; | ||||
| position: absolute; | position: absolute; | ||||
| margin-top: 0; | margin-top: 0; | ||||
| box-sizing: border-box; | box-sizing: border-box; | ||||
| } | } | ||||
| .remark-slide-content.header_background, | |||||
| .remark-slide-content:not(.normal):not(.inverse):not(.title):not(.middle):not(.bottom) { | .remark-slide-content:not(.normal):not(.inverse):not(.title):not(.middle):not(.bottom) { | ||||
| padding-top: 7rem; | padding-top: 7rem; | ||||
| } | } |
| color: #18273F !important; | color: #18273F !important; | ||||
| } | } | ||||
| /* Slide Header Background for h1 elements */ | |||||
| .remark-slide-content.header_background > h1 { | |||||
| display: block; | |||||
| position: absolute; | |||||
| top: 0; | |||||
| left: 0; | |||||
| width: 100%; | |||||
| background: #23395b; | |||||
| color: #E9EBEE; | |||||
| padding: 2rem 4rem 1.5rem 4rem; | |||||
| margin-top: 0; | |||||
| box-sizing: border-box; | |||||
| } | |||||
| .remark-slide-content.header_background { | |||||
| padding-top: 7rem; | |||||
| } | |||||
| @page { margin: 0; } | @page { margin: 0; } | ||||
| @media print { | @media print { | ||||
| .remark-slide-scaler { | .remark-slide-scaler { |
| } | } | ||||
| /* Slide Header Background for h1 elements */ | /* Slide Header Background for h1 elements */ | ||||
| .remark-slide-content.header_background > h1, | |||||
| .remark-slide-content:not(.normal):not(.inverse):not(.title):not(.middle):not(.bottom) > h1 { | .remark-slide-content:not(.normal):not(.inverse):not(.title):not(.middle):not(.bottom) > h1 { | ||||
| display: block; | display: block; | ||||
| position: absolute; | position: absolute; | ||||
| margin-top: 0; | margin-top: 0; | ||||
| box-sizing: border-box; | box-sizing: border-box; | ||||
| } | } | ||||
| .remark-slide-content.header_background, | |||||
| .remark-slide-content:not(.normal):not(.inverse):not(.title):not(.middle):not(.bottom) { | .remark-slide-content:not(.normal):not(.inverse):not(.title):not(.middle):not(.bottom) { | ||||
| padding-top: 7rem; | padding-top: 7rem; | ||||
| } | } |
| color: #839496 !important; | color: #839496 !important; | ||||
| } | } | ||||
| /* Slide Header Background for h1 elements */ | |||||
| .remark-slide-content.header_background > h1 { | |||||
| display: block; | |||||
| position: absolute; | |||||
| top: 0; | |||||
| left: 0; | |||||
| width: 100%; | |||||
| background: #dc322f; | |||||
| color: #002b36; | |||||
| padding: 2rem 4rem 1.5rem 4rem; | |||||
| margin-top: 0; | |||||
| box-sizing: border-box; | |||||
| } | |||||
| .remark-slide-content.header_background { | |||||
| padding-top: 7rem; | |||||
| } | |||||
| @page { margin: 0; } | @page { margin: 0; } | ||||
| @media print { | @media print { | ||||
| .remark-slide-scaler { | .remark-slide-scaler { |
| color: #657b83 !important; | color: #657b83 !important; | ||||
| } | } | ||||
| /* Slide Header Background for h1 elements */ | |||||
| .remark-slide-content.header_background > h1 { | |||||
| display: block; | |||||
| position: absolute; | |||||
| top: 0; | |||||
| left: 0; | |||||
| width: 100%; | |||||
| background: #dc322f; | |||||
| color: #fdf6e3; | |||||
| padding: 2rem 4rem 1.5rem 4rem; | |||||
| margin-top: 0; | |||||
| box-sizing: border-box; | |||||
| } | |||||
| .remark-slide-content.header_background { | |||||
| padding-top: 7rem; | |||||
| } | |||||
| @page { margin: 0; } | @page { margin: 0; } | ||||
| @media print { | @media print { | ||||
| .remark-slide-scaler { | .remark-slide-scaler { |
| test_that("solarized_dark()", test_theme_file("solarized_dark")) | test_that("solarized_dark()", test_theme_file("solarized_dark")) | ||||
| test_that("solarized_light()", test_theme_file("solarized_light")) | test_that("solarized_light()", test_theme_file("solarized_light")) | ||||
| test_that("header_background_enable = TRUE", { | |||||
| test_theme_file("duo", "duo-header_bg.css", header_background_enable = TRUE) | |||||
| test_theme_file("mono_light", "mono_light-header_bg.css", header_background_enable = TRUE) | |||||
| test_theme_file("solarized_dark", "solarized_dark-header_bg.css", header_background_enable = TRUE) | |||||
| test_that("header_background_auto = TRUE", { | |||||
| test_theme_file("duo", "duo-header_bg.css", header_background_auto = TRUE) | |||||
| test_theme_file("mono_light", "mono_light-header_bg.css", header_background_auto = TRUE) | |||||
| test_theme_file("solarized_dark", "solarized_dark-header_bg.css", header_background_auto = TRUE) | |||||
| }) | }) |