E.g. primary_color and secondary_color in style_duo() become --primary and --secondarytags/v0.3.0
| # Generated by inst/scripts/generate_theme_functions.R: do not edit by hand | # Generated by inst/scripts/generate_theme_functions.R: do not edit by hand | ||||
| #' @param primary_color Duotone Primary Color. Defaults to #1F4257. Used in | #' @param primary_color Duotone Primary Color. Defaults to #1F4257. Used in | ||||
| #' multiple CSS rules. | |||||
| #' multiple CSS rules. The value of this variable is also stored as a CSS | |||||
| #' variable that can be referenced with `var(--primary)` in any argument of a | |||||
| #' style function or in custom CSS. | |||||
| #' @param secondary_color Duotone Secondary Color. Defaults to #F97B64. Used in | #' @param secondary_color Duotone Secondary Color. Defaults to #F97B64. Used in | ||||
| #' multiple CSS rules. | |||||
| #' multiple CSS rules. The value of this variable is also stored as a CSS | |||||
| #' variable that can be referenced with `var(--secondary)` in any argument of | |||||
| #' a style function or in custom CSS. | |||||
| #' @param text_color Text Color. Defaults to | #' @param text_color Text Color. Defaults to | ||||
| #' `choose_dark_or_light(primary_color, darken_color(primary_color, 0.9), lighten_color(secondary_color, 0.99))`. | #' `choose_dark_or_light(primary_color, darken_color(primary_color, 0.9), lighten_color(secondary_color, 0.99))`. | ||||
| #' Modifies the `body` element. The value of this variable is also stored as | #' Modifies the `body` element. The value of this variable is also stored as | ||||
| outfile = "xaringan-themer.css" | outfile = "xaringan-themer.css" | ||||
| ) { | ) { | ||||
| # DO NOT EDIT - Generated from inst/scripts/generate_theme_functions.R | # DO NOT EDIT - Generated from inst/scripts/generate_theme_functions.R | ||||
| colors <- c(primary = primary_color, secondary = secondary_color, colors) | |||||
| eval(parse(text = call_style_xaringan())) | eval(parse(text = call_style_xaringan())) | ||||
| } | } |
| # Generated by inst/scripts/generate_theme_functions.R: do not edit by hand | # Generated by inst/scripts/generate_theme_functions.R: do not edit by hand | ||||
| #' @param primary_color Duotone Primary Color. Defaults to #006747. Used in | #' @param primary_color Duotone Primary Color. Defaults to #006747. Used in | ||||
| #' multiple CSS rules. | |||||
| #' multiple CSS rules. The value of this variable is also stored as a CSS | |||||
| #' variable that can be referenced with `var(--primary)` in any argument of a | |||||
| #' style function or in custom CSS. | |||||
| #' @param secondary_color Duotone Secondary Color. Defaults to #CFC493. Used in | #' @param secondary_color Duotone Secondary Color. Defaults to #CFC493. Used in | ||||
| #' multiple CSS rules. | |||||
| #' multiple CSS rules. The value of this variable is also stored as a CSS | |||||
| #' variable that can be referenced with `var(--secondary)` in any argument of | |||||
| #' a style function or in custom CSS. | |||||
| #' @param white_color Brightest color used. Defaults to #FFFFFF. Used in | #' @param white_color Brightest color used. Defaults to #FFFFFF. Used in | ||||
| #' multiple CSS rules. | |||||
| #' multiple CSS rules. The value of this variable is also stored as a CSS | |||||
| #' variable that can be referenced with `var(--white)` in any argument of a | |||||
| #' style function or in custom CSS. | |||||
| #' @param black_color Darkest color used. Defaults to #000000. Used in multiple | #' @param black_color Darkest color used. Defaults to #000000. Used in multiple | ||||
| #' CSS rules. | |||||
| #' CSS rules. The value of this variable is also stored as a CSS variable | |||||
| #' that can be referenced with `var(--black)` in any argument of a style | |||||
| #' function or in custom CSS. | |||||
| #' @param text_color Text Color. Defaults to `black_color`. Modifies the `body` | #' @param text_color Text Color. Defaults to `black_color`. Modifies the `body` | ||||
| #' element. The value of this variable is also stored as a CSS variable that | #' element. The value of this variable is also stored as a CSS variable that | ||||
| #' can be referenced with `var(--text_color)` in any argument of a style | #' can be referenced with `var(--text_color)` in any argument of a style | ||||
| outfile = "xaringan-themer.css" | outfile = "xaringan-themer.css" | ||||
| ) { | ) { | ||||
| # DO NOT EDIT - Generated from inst/scripts/generate_theme_functions.R | # DO NOT EDIT - Generated from inst/scripts/generate_theme_functions.R | ||||
| colors <- c(primary = primary_color, secondary = secondary_color, white = white_color, black = black_color, colors) | |||||
| eval(parse(text = call_style_xaringan())) | eval(parse(text = call_style_xaringan())) | ||||
| } | } |
| # Generated by inst/scripts/generate_theme_functions.R: do not edit by hand | # Generated by inst/scripts/generate_theme_functions.R: do not edit by hand | ||||
| #' @param primary_color Duotone Primary Color. Defaults to #006747. Used in | #' @param primary_color Duotone Primary Color. Defaults to #006747. Used in | ||||
| #' multiple CSS rules. | |||||
| #' multiple CSS rules. The value of this variable is also stored as a CSS | |||||
| #' variable that can be referenced with `var(--primary)` in any argument of a | |||||
| #' style function or in custom CSS. | |||||
| #' @param secondary_color Duotone Secondary Color. Defaults to #CFC493. Used in | #' @param secondary_color Duotone Secondary Color. Defaults to #CFC493. Used in | ||||
| #' multiple CSS rules. | |||||
| #' multiple CSS rules. The value of this variable is also stored as a CSS | |||||
| #' variable that can be referenced with `var(--secondary)` in any argument of | |||||
| #' a style function or in custom CSS. | |||||
| #' @param white_color Brightest color used. Defaults to #FFFFFF. Used in | #' @param white_color Brightest color used. Defaults to #FFFFFF. Used in | ||||
| #' multiple CSS rules. | |||||
| #' multiple CSS rules. The value of this variable is also stored as a CSS | |||||
| #' variable that can be referenced with `var(--white)` in any argument of a | |||||
| #' style function or in custom CSS. | |||||
| #' @param black_color Darkest color used. Defaults to #000000. Used in multiple | #' @param black_color Darkest color used. Defaults to #000000. Used in multiple | ||||
| #' CSS rules. | |||||
| #' CSS rules. The value of this variable is also stored as a CSS variable | |||||
| #' that can be referenced with `var(--black)` in any argument of a style | |||||
| #' function or in custom CSS. | |||||
| #' @param text_color Text Color. Defaults to `white_color`. Modifies the `body` | #' @param text_color Text Color. Defaults to `white_color`. Modifies the `body` | ||||
| #' element. The value of this variable is also stored as a CSS variable that | #' element. The value of this variable is also stored as a CSS variable that | ||||
| #' can be referenced with `var(--text_color)` in any argument of a style | #' can be referenced with `var(--text_color)` in any argument of a style | ||||
| outfile = "xaringan-themer.css" | outfile = "xaringan-themer.css" | ||||
| ) { | ) { | ||||
| # DO NOT EDIT - Generated from inst/scripts/generate_theme_functions.R | # DO NOT EDIT - Generated from inst/scripts/generate_theme_functions.R | ||||
| colors <- c(primary = primary_color, secondary = secondary_color, white = white_color, black = black_color, colors) | |||||
| eval(parse(text = call_style_xaringan())) | eval(parse(text = call_style_xaringan())) | ||||
| } | } |
| # Generated by inst/scripts/generate_theme_functions.R: do not edit by hand | # Generated by inst/scripts/generate_theme_functions.R: do not edit by hand | ||||
| #' @param base_color Monotone Base Color, works best with a strong color. | #' @param base_color Monotone Base Color, works best with a strong color. | ||||
| #' Defaults to #43418A. Used in multiple CSS rules. | |||||
| #' Defaults to #43418A. Used in multiple CSS rules. The value of this | |||||
| #' variable is also stored as a CSS variable that can be referenced with | |||||
| #' `var(--base)` in any argument of a style function or in custom CSS. | |||||
| #' @param white_color Brightest color used. Defaults to #FFFFFF. Used in | #' @param white_color Brightest color used. Defaults to #FFFFFF. Used in | ||||
| #' multiple CSS rules. | |||||
| #' multiple CSS rules. The value of this variable is also stored as a CSS | |||||
| #' variable that can be referenced with `var(--white)` in any argument of a | |||||
| #' style function or in custom CSS. | |||||
| #' @param black_color Darkest color used. Defaults to #272822. Used in multiple | #' @param black_color Darkest color used. Defaults to #272822. Used in multiple | ||||
| #' CSS rules. | |||||
| #' CSS rules. The value of this variable is also stored as a CSS variable | |||||
| #' that can be referenced with `var(--black)` in any argument of a style | |||||
| #' function or in custom CSS. | |||||
| #' @param text_color Text Color. Defaults to `black_color`. Modifies the `body` | #' @param text_color Text Color. Defaults to `black_color`. Modifies the `body` | ||||
| #' element. The value of this variable is also stored as a CSS variable that | #' element. The value of this variable is also stored as a CSS variable that | ||||
| #' can be referenced with `var(--text_color)` in any argument of a style | #' can be referenced with `var(--text_color)` in any argument of a style | ||||
| outfile = "xaringan-themer.css" | outfile = "xaringan-themer.css" | ||||
| ) { | ) { | ||||
| # DO NOT EDIT - Generated from inst/scripts/generate_theme_functions.R | # DO NOT EDIT - Generated from inst/scripts/generate_theme_functions.R | ||||
| colors <- c(base = base_color, white = white_color, black = black_color, colors) | |||||
| eval(parse(text = call_style_xaringan())) | eval(parse(text = call_style_xaringan())) | ||||
| } | } |
| # Generated by inst/scripts/generate_theme_functions.R: do not edit by hand | # Generated by inst/scripts/generate_theme_functions.R: do not edit by hand | ||||
| #' @param base_color Monotone Base Color, works best with a light color. | #' @param base_color Monotone Base Color, works best with a light color. | ||||
| #' Defaults to #3C989E. Used in multiple CSS rules. | |||||
| #' Defaults to #3C989E. Used in multiple CSS rules. The value of this | |||||
| #' variable is also stored as a CSS variable that can be referenced with | |||||
| #' `var(--base)` in any argument of a style function or in custom CSS. | |||||
| #' @param white_color Brightest color used, default is a very light version of | #' @param white_color Brightest color used, default is a very light version of | ||||
| #' `base_color`. Defaults to #FFFFFF. Used in multiple CSS rules. | |||||
| #' `base_color`. Defaults to #FFFFFF. Used in multiple CSS rules. The value | |||||
| #' of this variable is also stored as a CSS variable that can be referenced | |||||
| #' with `var(--white)` in any argument of a style function or in custom CSS. | |||||
| #' @param black_color Darkest color used, default is a very dark, version of | #' @param black_color Darkest color used, default is a very dark, version of | ||||
| #' `base_color`. Defaults to `darken_color(base_color, 0.9)`. Used in | #' `base_color`. Defaults to `darken_color(base_color, 0.9)`. Used in | ||||
| #' multiple CSS rules. | |||||
| #' multiple CSS rules. The value of this variable is also stored as a CSS | |||||
| #' variable that can be referenced with `var(--black)` in any argument of a | |||||
| #' style function or in custom CSS. | |||||
| #' @param text_color Text Color. Defaults to `white_color`. Modifies the `body` | #' @param text_color Text Color. Defaults to `white_color`. Modifies the `body` | ||||
| #' element. The value of this variable is also stored as a CSS variable that | #' element. The value of this variable is also stored as a CSS variable that | ||||
| #' can be referenced with `var(--text_color)` in any argument of a style | #' can be referenced with `var(--text_color)` in any argument of a style | ||||
| outfile = "xaringan-themer.css" | outfile = "xaringan-themer.css" | ||||
| ) { | ) { | ||||
| # DO NOT EDIT - Generated from inst/scripts/generate_theme_functions.R | # DO NOT EDIT - Generated from inst/scripts/generate_theme_functions.R | ||||
| colors <- c(base = base_color, white = white_color, black = black_color, colors) | |||||
| eval(parse(text = call_style_xaringan())) | eval(parse(text = call_style_xaringan())) | ||||
| } | } |
| # Generated by inst/scripts/generate_theme_functions.R: do not edit by hand | # Generated by inst/scripts/generate_theme_functions.R: do not edit by hand | ||||
| #' @param base_color Monotone Base Color, works best with a light color.. | #' @param base_color Monotone Base Color, works best with a light color.. | ||||
| #' Defaults to #cbf7ed. Used in multiple CSS rules. | |||||
| #' Defaults to #cbf7ed. Used in multiple CSS rules. The value of this | |||||
| #' variable is also stored as a CSS variable that can be referenced with | |||||
| #' `var(--base)` in any argument of a style function or in custom CSS. | |||||
| #' @param white_color Brightest color used, default is a very light version of | #' @param white_color Brightest color used, default is a very light version of | ||||
| #' `base_color`. Defaults to `lighten_color(base_color, 0.8)`. Used in | #' `base_color`. Defaults to `lighten_color(base_color, 0.8)`. Used in | ||||
| #' multiple CSS rules. | |||||
| #' multiple CSS rules. The value of this variable is also stored as a CSS | |||||
| #' variable that can be referenced with `var(--white)` in any argument of a | |||||
| #' style function or in custom CSS. | |||||
| #' @param black_color Darkest color used, default is a very dark, version of | #' @param black_color Darkest color used, default is a very dark, version of | ||||
| #' `base_color`. Defaults to `darken_color(base_color, 0.85)`. Used in | #' `base_color`. Defaults to `darken_color(base_color, 0.85)`. Used in | ||||
| #' multiple CSS rules. | |||||
| #' multiple CSS rules. The value of this variable is also stored as a CSS | |||||
| #' variable that can be referenced with `var(--black)` in any argument of a | |||||
| #' style function or in custom CSS. | |||||
| #' @param text_color Text Color. Defaults to `white_color`. Modifies the `body` | #' @param text_color Text Color. Defaults to `white_color`. Modifies the `body` | ||||
| #' element. The value of this variable is also stored as a CSS variable that | #' element. The value of this variable is also stored as a CSS variable that | ||||
| #' can be referenced with `var(--text_color)` in any argument of a style | #' can be referenced with `var(--text_color)` in any argument of a style | ||||
| outfile = "xaringan-themer.css" | outfile = "xaringan-themer.css" | ||||
| ) { | ) { | ||||
| # DO NOT EDIT - Generated from inst/scripts/generate_theme_functions.R | # DO NOT EDIT - Generated from inst/scripts/generate_theme_functions.R | ||||
| colors <- c(base = base_color, white = white_color, black = black_color, colors) | |||||
| eval(parse(text = call_style_xaringan())) | eval(parse(text = call_style_xaringan())) | ||||
| } | } |
| # Generated by inst/scripts/generate_theme_functions.R: do not edit by hand | # Generated by inst/scripts/generate_theme_functions.R: do not edit by hand | ||||
| #' @param base_color Monotone base color, works best with a strong color. | #' @param base_color Monotone base color, works best with a strong color. | ||||
| #' Defaults to #23395b. Used in multiple CSS rules. | |||||
| #' Defaults to #23395b. Used in multiple CSS rules. The value of this | |||||
| #' variable is also stored as a CSS variable that can be referenced with | |||||
| #' `var(--base)` in any argument of a style function or in custom CSS. | |||||
| #' @param white_color Brightest color used, default is a very light version of | #' @param white_color Brightest color used, default is a very light version of | ||||
| #' `base_color`. Defaults to `lighten_color(base_color, 0.9)`. Used in | #' `base_color`. Defaults to `lighten_color(base_color, 0.9)`. Used in | ||||
| #' multiple CSS rules. | |||||
| #' multiple CSS rules. The value of this variable is also stored as a CSS | |||||
| #' variable that can be referenced with `var(--white)` in any argument of a | |||||
| #' style function or in custom CSS. | |||||
| #' @param black_color Darkest color used, default is a very dark, version of | #' @param black_color Darkest color used, default is a very dark, version of | ||||
| #' `base_color`. Defaults to `darken_color(base_color, 0.3)`. Used in | #' `base_color`. Defaults to `darken_color(base_color, 0.3)`. Used in | ||||
| #' multiple CSS rules. | |||||
| #' multiple CSS rules. The value of this variable is also stored as a CSS | |||||
| #' variable that can be referenced with `var(--black)` in any argument of a | |||||
| #' style function or in custom CSS. | |||||
| #' @param text_color Text Color. Defaults to `black_color`. Modifies the `body` | #' @param text_color Text Color. Defaults to `black_color`. Modifies the `body` | ||||
| #' element. The value of this variable is also stored as a CSS variable that | #' element. The value of this variable is also stored as a CSS variable that | ||||
| #' can be referenced with `var(--text_color)` in any argument of a style | #' can be referenced with `var(--text_color)` in any argument of a style | ||||
| outfile = "xaringan-themer.css" | outfile = "xaringan-themer.css" | ||||
| ) { | ) { | ||||
| # DO NOT EDIT - Generated from inst/scripts/generate_theme_functions.R | # DO NOT EDIT - Generated from inst/scripts/generate_theme_functions.R | ||||
| colors <- c(base = base_color, white = white_color, black = black_color, colors) | |||||
| eval(parse(text = call_style_xaringan())) | eval(parse(text = call_style_xaringan())) | ||||
| } | } |
| } | } | ||||
| template_mono_light <- tibble::tribble( | template_mono_light <- tibble::tribble( | ||||
| ~ variable, ~ default, ~ element, ~ description | |||||
| , "base_color", "#23395b", "multiple", "Monotone base color, works best with a strong color" | |||||
| , "white_color", "{lighten_color(base_color, 0.9)}", "multiple", "Brightest color used, default is a very light version of `base_color`" | |||||
| , "black_color", "{darken_color(base_color, 0.3)}", "multiple", "Darkest color used, default is a very dark, version of `base_color`" | |||||
| ~ variable, ~ default, ~ element, ~ description, ~ css_variable | |||||
| , "base_color", "#23395b", "multiple", "Monotone base color, works best with a strong color", "--base" | |||||
| , "white_color", "{lighten_color(base_color, 0.9)}", "multiple", "Brightest color used, default is a very light version of `base_color`", "--white" | |||||
| , "black_color", "{darken_color(base_color, 0.3)}", "multiple", "Darkest color used, default is a very dark, version of `base_color`", "--black" | |||||
| ) | ) | ||||
| template_mono_light <- dplyr::bind_rows(template_mono_light, template_variables) | template_mono_light <- dplyr::bind_rows(template_mono_light, template_variables) | ||||
| template_mono_light <- set_default( | template_mono_light <- set_default( | ||||
| table_row_even_background_color = "{lighten_color(base_color, 0.8)}") | table_row_even_background_color = "{lighten_color(base_color, 0.8)}") | ||||
| template_mono_dark <- tibble::tribble( | template_mono_dark <- tibble::tribble( | ||||
| ~ variable, ~ default, ~ element, ~ description | |||||
| , "base_color", "#cbf7ed", "multiple", "Monotone Base Color, works best with a light color." | |||||
| , "white_color", "{lighten_color(base_color, 0.8)}", "multiple", "Brightest color used, default is a very light version of `base_color`" | |||||
| , "black_color", "{darken_color(base_color, 0.85)}", "multiple", "Darkest color used, default is a very dark, version of `base_color`" | |||||
| ~ variable, ~ default, ~ element, ~ description, ~ css_variable | |||||
| , "base_color", "#cbf7ed", "multiple", "Monotone Base Color, works best with a light color.", "--base" | |||||
| , "white_color", "{lighten_color(base_color, 0.8)}", "multiple", "Brightest color used, default is a very light version of `base_color`", "--white" | |||||
| , "black_color", "{darken_color(base_color, 0.85)}", "multiple", "Darkest color used, default is a very dark, version of `base_color`", "--black" | |||||
| ) | ) | ||||
| template_mono_dark <- dplyr::bind_rows(template_mono_dark, template_variables) | template_mono_dark <- dplyr::bind_rows(template_mono_dark, template_variables) | ||||
| template_mono_dark <- set_default( | template_mono_dark <- set_default( | ||||
| table_row_even_background_color = "{darken_color(base_color, 0.7)}") | table_row_even_background_color = "{darken_color(base_color, 0.7)}") | ||||
| template_mono_accent <- tibble::tribble( | template_mono_accent <- tibble::tribble( | ||||
| ~ variable, ~ default, ~ element, ~ description | |||||
| , "base_color", "#43418A", "multiple", "Monotone Base Color, works best with a strong color" | |||||
| , "white_color", "#FFFFFF", "multiple", "Brightest color used" | |||||
| , "black_color", "#272822", "multiple", "Darkest color used" | |||||
| ~ variable, ~ default, ~ element, ~ description, ~ css_variable | |||||
| , "base_color", "#43418A", "multiple", "Monotone Base Color, works best with a strong color", "--base" | |||||
| , "white_color", "#FFFFFF", "multiple", "Brightest color used", "--white" | |||||
| , "black_color", "#272822", "multiple", "Darkest color used", "--black" | |||||
| ) | ) | ||||
| template_mono_accent <- dplyr::bind_rows(template_mono_accent, template_variables) | template_mono_accent <- dplyr::bind_rows(template_mono_accent, template_variables) | ||||
| template_mono_accent <- set_default( | template_mono_accent <- set_default( | ||||
| table_row_even_background_color = "{lighten_color(base_color, 0.8)}") | table_row_even_background_color = "{lighten_color(base_color, 0.8)}") | ||||
| template_mono_accent_inverse <- tibble::tribble( | template_mono_accent_inverse <- tibble::tribble( | ||||
| ~ variable, ~ default, ~ element, ~ description | |||||
| , "base_color", "#3C989E", "multiple", "Monotone Base Color, works best with a light color" | |||||
| , "white_color", "#FFFFFF", "multiple", "Brightest color used, default is a very light version of `base_color`" | |||||
| , "black_color", "{darken_color(base_color, 0.9)}", "multiple", "Darkest color used, default is a very dark, version of `base_color`" | |||||
| ~ variable, ~ default, ~ element, ~ description, ~ css_variable | |||||
| , "base_color", "#3C989E", "multiple", "Monotone Base Color, works best with a light color", "--base" | |||||
| , "white_color", "#FFFFFF", "multiple", "Brightest color used, default is a very light version of `base_color`", "--white" | |||||
| , "black_color", "{darken_color(base_color, 0.9)}", "multiple", "Darkest color used, default is a very dark, version of `base_color`", "--black" | |||||
| ) | ) | ||||
| template_mono_accent_inverse <- dplyr::bind_rows(template_mono_accent_inverse, template_variables) | template_mono_accent_inverse <- dplyr::bind_rows(template_mono_accent_inverse, template_variables) | ||||
| template_mono_accent_inverse <- set_default( | template_mono_accent_inverse <- set_default( | ||||
| table_row_even_background_color = "{darken_color(base_color, 0.8)}") | table_row_even_background_color = "{darken_color(base_color, 0.8)}") | ||||
| template_duo_light <- tibble::tribble( | template_duo_light <- tibble::tribble( | ||||
| ~ variable, ~ default, ~ element, ~ description | |||||
| , "primary_color", "#1F4257", "multiple", "Duotone Secondary Color" | |||||
| , "secondary_color", "#F97B64", "multiple", "Duotone Primary Color" | |||||
| , "white_color", "{lighten_color(primary_color, 0.99)}", "multiple", "Brightest color used, default is a very light version of `primary_color`" | |||||
| , "black_color", "{darken_color(secondary_color, 0.9)}", "multiple", "Darkest color used, default is a very dark version of `secondary_color`" | |||||
| ~ variable, ~ default, ~ element, ~ description, ~ css_variable | |||||
| , "primary_color", "#1F4257", "multiple", "Duotone Secondary Color", "--primary" | |||||
| , "secondary_color", "#F97B64", "multiple", "Duotone Primary Color", "--secondary" | |||||
| , "white_color", "{lighten_color(primary_color, 0.99)}", "multiple", "Brightest color used, default is a very light version of `primary_color`", "--white" | |||||
| , "black_color", "{darken_color(secondary_color, 0.9)}", "multiple", "Darkest color used, default is a very dark version of `secondary_color`", "--black" | |||||
| ) | ) | ||||
| template_duo_light <- dplyr::bind_rows(template_duo_light, template_variables) | template_duo_light <- dplyr::bind_rows(template_duo_light, template_variables) | ||||
| template_duo_light <- set_default( | template_duo_light <- set_default( | ||||
| table_row_even_background_color = "{lighten_color(secondary_color, 0.9)}") | table_row_even_background_color = "{lighten_color(secondary_color, 0.9)}") | ||||
| template_duo <- tibble::tribble( | template_duo <- tibble::tribble( | ||||
| ~ variable, ~ default, ~ element, ~ description | |||||
| , "primary_color", "#1F4257", "multiple", "Duotone Primary Color" | |||||
| , "secondary_color", "#F97B64", "multiple", "Duotone Secondary Color" | |||||
| ~ variable, ~ default, ~ element, ~ description, ~ css_variable | |||||
| , "primary_color", "#1F4257", "multiple", "Duotone Primary Color", "--primary" | |||||
| , "secondary_color", "#F97B64", "multiple", "Duotone Secondary Color", "--secondary" | |||||
| ) | ) | ||||
| template_duo <- dplyr::bind_rows(template_duo, template_variables) | template_duo <- dplyr::bind_rows(template_duo, template_variables) | ||||
| template_duo <- set_default( | template_duo <- set_default( | ||||
| table_row_even_background_color = "{lighten_color(primary_color, 0.9)}") | table_row_even_background_color = "{lighten_color(primary_color, 0.9)}") | ||||
| template_duo_accent <- tibble::tribble( | template_duo_accent <- tibble::tribble( | ||||
| ~ variable, ~ default, ~ element, ~ description | |||||
| , "primary_color", "#006747", "multiple", "Duotone Primary Color" | |||||
| , "secondary_color", "#CFC493", "multiple", "Duotone Secondary Color" | |||||
| , "white_color", "#FFFFFF", "multiple", "Brightest color used" | |||||
| , "black_color", "#000000", "multiple", "Darkest color used" | |||||
| ~ variable, ~ default, ~ element, ~ description, ~ css_variable | |||||
| , "primary_color", "#006747", "multiple", "Duotone Primary Color", "--primary" | |||||
| , "secondary_color", "#CFC493", "multiple", "Duotone Secondary Color", "--secondary" | |||||
| , "white_color", "#FFFFFF", "multiple", "Brightest color used", "--white" | |||||
| , "black_color", "#000000", "multiple", "Darkest color used", "--black" | |||||
| ) | ) | ||||
| template_duo_accent <- dplyr::bind_rows(template_duo_accent, template_variables) | template_duo_accent <- dplyr::bind_rows(template_duo_accent, template_variables) | ||||
| template_duo_accent <- set_default( | template_duo_accent <- set_default( |
| --header-h2-font-size: {{header_h2_font_size}}; | --header-h2-font-size: {{header_h2_font_size}}; | ||||
| --header-h3-font-size: {{header_h3_font_size}}; | --header-h3-font-size: {{header_h3_font_size}}; | ||||
| /* Colors */{{#primary}} | |||||
| --primary: {{primary}};{{/primary}}{{#secondary}} | |||||
| --secondary: {{secondary}};{{/secondary}} | |||||
| /* Colors */ | |||||
| --text-color: {{text_color}}; | --text-color: {{text_color}}; | ||||
| --header-color: {{header_color}}; | --header-color: {{header_color}}; | ||||
| --background-color: {{background_color}}; | --background-color: {{background_color}}; | ||||
| --title-slide-text-color: {{title_slide_text_color}}; | --title-slide-text-color: {{title_slide_text_color}}; | ||||
| --header-background-color: {{header_background_color}}; | --header-background-color: {{header_background_color}}; | ||||
| --header-background-text-color: {{header_background_text_color}};{{#colors}} | --header-background-text-color: {{header_background_text_color}};{{#colors}} | ||||
| --{{color_name}}: {{value}}; | |||||
| {{/colors}} | |||||
| --{{color_name}}: {{value}};{{/colors}} | |||||
| } | } | ||||
| html { | html { |
| template = template_variables, | template = template_variables, | ||||
| ..., | ..., | ||||
| file = "", | file = "", | ||||
| body = " eval(parse(text = call_style_xaringan()))" | |||||
| body = " eval(parse(text = call_style_xaringan()))", | |||||
| theme_colors = NULL | |||||
| ) { | ) { | ||||
| if (file == "clip" && !requireNamespace("clipr", quietly = TRUE)) file <- "" | if (file == "clip" && !requireNamespace("clipr", quietly = TRUE)) file <- "" | ||||
| f_body_theme_colors <- include_theme_colors(theme_colors) | |||||
| f_body <- c( | f_body <- c( | ||||
| " # DO NOT EDIT - Generated from inst/scripts/generate_theme_functions.R", | " # DO NOT EDIT - Generated from inst/scripts/generate_theme_functions.R", | ||||
| f_body_theme_colors, | |||||
| body | body | ||||
| ) | ) | ||||
| tv <- template | tv <- template | ||||
| paste(x, collapse = "") | paste(x, collapse = "") | ||||
| } | } | ||||
| include_theme_colors <- function(theme_colors = NULL) { | |||||
| if (is.null(theme_colors)) return(NULL) | |||||
| x <- glue::glue('{names(theme_colors)} = {theme_colors}') | |||||
| x <- paste(x, collapse = ", ") | |||||
| glue::glue(" colors <- c({x}, colors)") | |||||
| } | |||||
| # ---- Write Xaringan Theme Function ---- | # ---- Write Xaringan Theme Function ---- | ||||
| setup_theme_function( | setup_theme_function( | ||||
| "style_xaringan", | "style_xaringan", | ||||
| "#' @template style_mono_light", | "#' @template style_mono_light", | ||||
| "#' @family Monotone themes", | "#' @family Monotone themes", | ||||
| "#' @export", | "#' @export", | ||||
| file = here::here("R/style_mono_light.R") | |||||
| file = here::here("R/style_mono_light.R"), | |||||
| theme_colors = c(base = "base_color", white = "white_color", black = "black_color") | |||||
| ) | ) | ||||
| # ---- Monotone Dark ---- | # ---- Monotone Dark ---- | ||||
| "#' @template style_mono_dark", | "#' @template style_mono_dark", | ||||
| "#' @family Monotone themes", | "#' @family Monotone themes", | ||||
| "#' @export", | "#' @export", | ||||
| file = here::here("R/style_mono_dark.R") | |||||
| file = here::here("R/style_mono_dark.R"), | |||||
| theme_colors = c(base = "base_color", white = "white_color", black = "black_color") | |||||
| ) | ) | ||||
| # ---- Monotone Accent ---- | # ---- Monotone Accent ---- | ||||
| "#' @template style_mono_accent", | "#' @template style_mono_accent", | ||||
| "#' @family Monotone themes", | "#' @family Monotone themes", | ||||
| "#' @export", | "#' @export", | ||||
| file = here::here("R/style_mono_accent.R") | |||||
| file = here::here("R/style_mono_accent.R"), | |||||
| theme_colors = c(base = "base_color", white = "white_color", black = "black_color") | |||||
| ) | ) | ||||
| # ---- Monotone Accent Inverse ---- | # ---- Monotone Accent Inverse ---- | ||||
| "#' @template style_mono_accent_inverse", | "#' @template style_mono_accent_inverse", | ||||
| "#' @family Monotone themes", | "#' @family Monotone themes", | ||||
| "#' @export", | "#' @export", | ||||
| file = here::here("R/style_mono_accent_inverse.R") | |||||
| file = here::here("R/style_mono_accent_inverse.R"), | |||||
| theme_colors = c(base = "base_color", white = "white_color", black = "black_color") | |||||
| ) | ) | ||||
| # ---- Duotone ---- | # ---- Duotone ---- | ||||
| "#' @template style_duo", | "#' @template style_duo", | ||||
| "#' @family Duotone themes", | "#' @family Duotone themes", | ||||
| "#' @export", | "#' @export", | ||||
| file = here::here("R/style_duo.R") | |||||
| file = here::here("R/style_duo.R"), | |||||
| theme_colors = c(primary = "primary_color", secondary = "secondary_color") | |||||
| ) | ) | ||||
| # ---- Duotone Accent ---- | # ---- Duotone Accent ---- | ||||
| "#' @template style_duo_accent", | "#' @template style_duo_accent", | ||||
| "#' @family Duotone themes", | "#' @family Duotone themes", | ||||
| "#' @export", | "#' @export", | ||||
| file = here::here("R/style_duo_accent.R") | |||||
| file = here::here("R/style_duo_accent.R"), | |||||
| theme_colors = c(primary = "primary_color", secondary = "secondary_color", | |||||
| white = "white_color", black = "black_color") | |||||
| ) | ) | ||||
| # ---- Duotone Accent Inverse ---- | # ---- Duotone Accent Inverse ---- | ||||
| "#' @template style_duo_accent_inverse", | "#' @template style_duo_accent_inverse", | ||||
| "#' @family Duotone themes", | "#' @family Duotone themes", | ||||
| "#' @export", | "#' @export", | ||||
| file = here::here("R/style_duo_accent_inverse.R") | |||||
| file = here::here("R/style_duo_accent_inverse.R"), | |||||
| theme_colors = c(primary = "primary_color", secondary = "secondary_color", | |||||
| white = "white_color", black = "black_color") | |||||
| ) | ) | ||||
| # ---- Solarized Light ---- | # ---- Solarized Light ---- |
| } | } | ||||
| \arguments{ | \arguments{ | ||||
| \item{primary_color}{Duotone Primary Color. Defaults to #1F4257. Used in | \item{primary_color}{Duotone Primary Color. Defaults to #1F4257. Used in | ||||
| multiple CSS rules.} | |||||
| multiple CSS rules. The value of this variable is also stored as a CSS | |||||
| variable that can be referenced with \code{var(--primary)} in any argument of a | |||||
| style function or in custom CSS.} | |||||
| \item{secondary_color}{Duotone Secondary Color. Defaults to #F97B64. Used in | \item{secondary_color}{Duotone Secondary Color. Defaults to #F97B64. Used in | ||||
| multiple CSS rules.} | |||||
| multiple CSS rules. The value of this variable is also stored as a CSS | |||||
| variable that can be referenced with \code{var(--secondary)} in any argument of | |||||
| a style function or in custom CSS.} | |||||
| \item{text_color}{Text Color. Defaults to | \item{text_color}{Text Color. Defaults to | ||||
| \code{choose_dark_or_light(primary_color, darken_color(primary_color, 0.9), lighten_color(secondary_color, 0.99))}. | \code{choose_dark_or_light(primary_color, darken_color(primary_color, 0.9), lighten_color(secondary_color, 0.99))}. |
| } | } | ||||
| \arguments{ | \arguments{ | ||||
| \item{primary_color}{Duotone Primary Color. Defaults to #006747. Used in | \item{primary_color}{Duotone Primary Color. Defaults to #006747. Used in | ||||
| multiple CSS rules.} | |||||
| multiple CSS rules. The value of this variable is also stored as a CSS | |||||
| variable that can be referenced with \code{var(--primary)} in any argument of a | |||||
| style function or in custom CSS.} | |||||
| \item{secondary_color}{Duotone Secondary Color. Defaults to #CFC493. Used in | \item{secondary_color}{Duotone Secondary Color. Defaults to #CFC493. Used in | ||||
| multiple CSS rules.} | |||||
| multiple CSS rules. The value of this variable is also stored as a CSS | |||||
| variable that can be referenced with \code{var(--secondary)} in any argument of | |||||
| a style function or in custom CSS.} | |||||
| \item{white_color}{Brightest color used. Defaults to #FFFFFF. Used in | \item{white_color}{Brightest color used. Defaults to #FFFFFF. Used in | ||||
| multiple CSS rules.} | |||||
| multiple CSS rules. The value of this variable is also stored as a CSS | |||||
| variable that can be referenced with \code{var(--white)} in any argument of a | |||||
| style function or in custom CSS.} | |||||
| \item{black_color}{Darkest color used. Defaults to #000000. Used in multiple | \item{black_color}{Darkest color used. Defaults to #000000. Used in multiple | ||||
| CSS rules.} | |||||
| CSS rules. The value of this variable is also stored as a CSS variable | |||||
| that can be referenced with \code{var(--black)} in any argument of a style | |||||
| function or in custom CSS.} | |||||
| \item{text_color}{Text Color. Defaults to \code{black_color}. Modifies the \code{body} | \item{text_color}{Text Color. Defaults to \code{black_color}. Modifies the \code{body} | ||||
| element. The value of this variable is also stored as a CSS variable that | element. The value of this variable is also stored as a CSS variable that |
| } | } | ||||
| \arguments{ | \arguments{ | ||||
| \item{primary_color}{Duotone Primary Color. Defaults to #006747. Used in | \item{primary_color}{Duotone Primary Color. Defaults to #006747. Used in | ||||
| multiple CSS rules.} | |||||
| multiple CSS rules. The value of this variable is also stored as a CSS | |||||
| variable that can be referenced with \code{var(--primary)} in any argument of a | |||||
| style function or in custom CSS.} | |||||
| \item{secondary_color}{Duotone Secondary Color. Defaults to #CFC493. Used in | \item{secondary_color}{Duotone Secondary Color. Defaults to #CFC493. Used in | ||||
| multiple CSS rules.} | |||||
| multiple CSS rules. The value of this variable is also stored as a CSS | |||||
| variable that can be referenced with \code{var(--secondary)} in any argument of | |||||
| a style function or in custom CSS.} | |||||
| \item{white_color}{Brightest color used. Defaults to #FFFFFF. Used in | \item{white_color}{Brightest color used. Defaults to #FFFFFF. Used in | ||||
| multiple CSS rules.} | |||||
| multiple CSS rules. The value of this variable is also stored as a CSS | |||||
| variable that can be referenced with \code{var(--white)} in any argument of a | |||||
| style function or in custom CSS.} | |||||
| \item{black_color}{Darkest color used. Defaults to #000000. Used in multiple | \item{black_color}{Darkest color used. Defaults to #000000. Used in multiple | ||||
| CSS rules.} | |||||
| CSS rules. The value of this variable is also stored as a CSS variable | |||||
| that can be referenced with \code{var(--black)} in any argument of a style | |||||
| function or in custom CSS.} | |||||
| \item{text_color}{Text Color. Defaults to \code{white_color}. Modifies the \code{body} | \item{text_color}{Text Color. Defaults to \code{white_color}. Modifies the \code{body} | ||||
| element. The value of this variable is also stored as a CSS variable that | element. The value of this variable is also stored as a CSS variable that |
| } | } | ||||
| \arguments{ | \arguments{ | ||||
| \item{base_color}{Monotone Base Color, works best with a strong color. | \item{base_color}{Monotone Base Color, works best with a strong color. | ||||
| Defaults to #43418A. Used in multiple CSS rules.} | |||||
| Defaults to #43418A. Used in multiple CSS rules. The value of this | |||||
| variable is also stored as a CSS variable that can be referenced with | |||||
| \code{var(--base)} in any argument of a style function or in custom CSS.} | |||||
| \item{white_color}{Brightest color used. Defaults to #FFFFFF. Used in | \item{white_color}{Brightest color used. Defaults to #FFFFFF. Used in | ||||
| multiple CSS rules.} | |||||
| multiple CSS rules. The value of this variable is also stored as a CSS | |||||
| variable that can be referenced with \code{var(--white)} in any argument of a | |||||
| style function or in custom CSS.} | |||||
| \item{black_color}{Darkest color used. Defaults to #272822. Used in multiple | \item{black_color}{Darkest color used. Defaults to #272822. Used in multiple | ||||
| CSS rules.} | |||||
| CSS rules. The value of this variable is also stored as a CSS variable | |||||
| that can be referenced with \code{var(--black)} in any argument of a style | |||||
| function or in custom CSS.} | |||||
| \item{text_color}{Text Color. Defaults to \code{black_color}. Modifies the \code{body} | \item{text_color}{Text Color. Defaults to \code{black_color}. Modifies the \code{body} | ||||
| element. The value of this variable is also stored as a CSS variable that | element. The value of this variable is also stored as a CSS variable that |
| } | } | ||||
| \arguments{ | \arguments{ | ||||
| \item{base_color}{Monotone Base Color, works best with a light color. | \item{base_color}{Monotone Base Color, works best with a light color. | ||||
| Defaults to #3C989E. Used in multiple CSS rules.} | |||||
| Defaults to #3C989E. Used in multiple CSS rules. The value of this | |||||
| variable is also stored as a CSS variable that can be referenced with | |||||
| \code{var(--base)} in any argument of a style function or in custom CSS.} | |||||
| \item{white_color}{Brightest color used, default is a very light version of | \item{white_color}{Brightest color used, default is a very light version of | ||||
| \code{base_color}. Defaults to #FFFFFF. Used in multiple CSS rules.} | |||||
| \code{base_color}. Defaults to #FFFFFF. Used in multiple CSS rules. The value | |||||
| of this variable is also stored as a CSS variable that can be referenced | |||||
| with \code{var(--white)} in any argument of a style function or in custom CSS.} | |||||
| \item{black_color}{Darkest color used, default is a very dark, version of | \item{black_color}{Darkest color used, default is a very dark, version of | ||||
| \code{base_color}. Defaults to \code{darken_color(base_color, 0.9)}. Used in | \code{base_color}. Defaults to \code{darken_color(base_color, 0.9)}. Used in | ||||
| multiple CSS rules.} | |||||
| multiple CSS rules. The value of this variable is also stored as a CSS | |||||
| variable that can be referenced with \code{var(--black)} in any argument of a | |||||
| style function or in custom CSS.} | |||||
| \item{text_color}{Text Color. Defaults to \code{white_color}. Modifies the \code{body} | \item{text_color}{Text Color. Defaults to \code{white_color}. Modifies the \code{body} | ||||
| element. The value of this variable is also stored as a CSS variable that | element. The value of this variable is also stored as a CSS variable that |
| } | } | ||||
| \arguments{ | \arguments{ | ||||
| \item{base_color}{Monotone Base Color, works best with a light color.. | \item{base_color}{Monotone Base Color, works best with a light color.. | ||||
| Defaults to #cbf7ed. Used in multiple CSS rules.} | |||||
| Defaults to #cbf7ed. Used in multiple CSS rules. The value of this | |||||
| variable is also stored as a CSS variable that can be referenced with | |||||
| \code{var(--base)} in any argument of a style function or in custom CSS.} | |||||
| \item{white_color}{Brightest color used, default is a very light version of | \item{white_color}{Brightest color used, default is a very light version of | ||||
| \code{base_color}. Defaults to \code{lighten_color(base_color, 0.8)}. Used in | \code{base_color}. Defaults to \code{lighten_color(base_color, 0.8)}. Used in | ||||
| multiple CSS rules.} | |||||
| multiple CSS rules. The value of this variable is also stored as a CSS | |||||
| variable that can be referenced with \code{var(--white)} in any argument of a | |||||
| style function or in custom CSS.} | |||||
| \item{black_color}{Darkest color used, default is a very dark, version of | \item{black_color}{Darkest color used, default is a very dark, version of | ||||
| \code{base_color}. Defaults to \code{darken_color(base_color, 0.85)}. Used in | \code{base_color}. Defaults to \code{darken_color(base_color, 0.85)}. Used in | ||||
| multiple CSS rules.} | |||||
| multiple CSS rules. The value of this variable is also stored as a CSS | |||||
| variable that can be referenced with \code{var(--black)} in any argument of a | |||||
| style function or in custom CSS.} | |||||
| \item{text_color}{Text Color. Defaults to \code{white_color}. Modifies the \code{body} | \item{text_color}{Text Color. Defaults to \code{white_color}. Modifies the \code{body} | ||||
| element. The value of this variable is also stored as a CSS variable that | element. The value of this variable is also stored as a CSS variable that |
| } | } | ||||
| \arguments{ | \arguments{ | ||||
| \item{base_color}{Monotone base color, works best with a strong color. | \item{base_color}{Monotone base color, works best with a strong color. | ||||
| Defaults to #23395b. Used in multiple CSS rules.} | |||||
| Defaults to #23395b. Used in multiple CSS rules. The value of this | |||||
| variable is also stored as a CSS variable that can be referenced with | |||||
| \code{var(--base)} in any argument of a style function or in custom CSS.} | |||||
| \item{white_color}{Brightest color used, default is a very light version of | \item{white_color}{Brightest color used, default is a very light version of | ||||
| \code{base_color}. Defaults to \code{lighten_color(base_color, 0.9)}. Used in | \code{base_color}. Defaults to \code{lighten_color(base_color, 0.9)}. Used in | ||||
| multiple CSS rules.} | |||||
| multiple CSS rules. The value of this variable is also stored as a CSS | |||||
| variable that can be referenced with \code{var(--white)} in any argument of a | |||||
| style function or in custom CSS.} | |||||
| \item{black_color}{Darkest color used, default is a very dark, version of | \item{black_color}{Darkest color used, default is a very dark, version of | ||||
| \code{base_color}. Defaults to \code{darken_color(base_color, 0.3)}. Used in | \code{base_color}. Defaults to \code{darken_color(base_color, 0.3)}. Used in | ||||
| multiple CSS rules.} | |||||
| multiple CSS rules. The value of this variable is also stored as a CSS | |||||
| variable that can be referenced with \code{var(--black)} in any argument of a | |||||
| style function or in custom CSS.} | |||||
| \item{text_color}{Text Color. Defaults to \code{black_color}. Modifies the \code{body} | \item{text_color}{Text Color. Defaults to \code{black_color}. Modifies the \code{body} | ||||
| element. The value of this variable is also stored as a CSS variable that | element. The value of this variable is also stored as a CSS variable that |
| \name{xaringanthemer-package} | \name{xaringanthemer-package} | ||||
| \alias{xaringanthemer} | \alias{xaringanthemer} | ||||
| \alias{xaringanthemer-package} | \alias{xaringanthemer-package} | ||||
| \title{xaringanthemer: Xaringan CSS Theme Generator} | |||||
| \title{xaringanthemer: Custom 'Xaringan' CSS Themes} | |||||
| \description{ | \description{ | ||||
| Create and edit your xaringan CSS files from within | |||||
| your R R Markdown slide source. More technically, this package | |||||
| actually creates valid remarkjs CSS themes that are easily used by | |||||
| xarangan. | |||||
| Create beautifully color-cordinated and customized | |||||
| themes for your 'xaringan' slides, without writing any CSS. Complete | |||||
| your slide theme with 'ggplot2' themes that match the font and colors | |||||
| used in your slides. Customized styles can be created directly in | |||||
| your slides' 'R Markdown' source file or in a separate external | |||||
| script. | |||||
| } | } | ||||
| \seealso{ | \seealso{ | ||||
| Useful links: | Useful links: | ||||
| } | } | ||||
| \author{ | \author{ | ||||
| \strong{Maintainer}: Garrick Aden-Buie \email{garrick@adenbuie.com} | |||||
| \strong{Maintainer}: Garrick Aden-Buie \email{garrick@adenbuie.com} (\href{https://orcid.org/0000-0002-7111-0077}{ORCID}) | |||||
| } | } | ||||
| \keyword{internal} | \keyword{internal} |
| --title-slide-text-color: #F97B64; | --title-slide-text-color: #F97B64; | ||||
| --header-background-color: #F97B64; | --header-background-color: #F97B64; | ||||
| --header-background-text-color: #1F4257; | --header-background-text-color: #1F4257; | ||||
| --primary: #1F4257; | |||||
| --secondary: #F97B64; | |||||
| } | } | ||||
| html { | html { | ||||
| } | } | ||||
| } | } | ||||
| .primary { | |||||
| color: var(--primary); | |||||
| } | |||||
| .bg-primary { | |||||
| background-color: var(--primary); | |||||
| } | |||||
| .secondary { | |||||
| color: var(--secondary); | |||||
| } | |||||
| .bg-secondary { | |||||
| background-color: var(--secondary); | |||||
| } |
| --title-slide-text-color: #F97B64; | --title-slide-text-color: #F97B64; | ||||
| --header-background-color: #F97B64; | --header-background-color: #F97B64; | ||||
| --header-background-text-color: #1F4257; | --header-background-text-color: #1F4257; | ||||
| --primary: #1F4257; | |||||
| --secondary: #F97B64; | |||||
| } | } | ||||
| html { | html { | ||||
| } | } | ||||
| } | } | ||||
| .primary { | |||||
| color: var(--primary); | |||||
| } | |||||
| .bg-primary { | |||||
| background-color: var(--primary); | |||||
| } | |||||
| .secondary { | |||||
| color: var(--secondary); | |||||
| } | |||||
| .bg-secondary { | |||||
| background-color: var(--secondary); | |||||
| } |
| --title-slide-text-color: #FFFFFF; | --title-slide-text-color: #FFFFFF; | ||||
| --header-background-color: #006747; | --header-background-color: #006747; | ||||
| --header-background-text-color: #FFFFFF; | --header-background-text-color: #FFFFFF; | ||||
| --primary: #006747; | |||||
| --secondary: #CFC493; | |||||
| --white: #FFFFFF; | |||||
| --black: #000000; | |||||
| } | } | ||||
| html { | html { | ||||
| } | } | ||||
| } | } | ||||
| .primary { | |||||
| color: var(--primary); | |||||
| } | |||||
| .bg-primary { | |||||
| background-color: var(--primary); | |||||
| } | |||||
| .secondary { | |||||
| color: var(--secondary); | |||||
| } | |||||
| .bg-secondary { | |||||
| background-color: var(--secondary); | |||||
| } | |||||
| .white { | |||||
| color: var(--white); | |||||
| } | |||||
| .bg-white { | |||||
| background-color: var(--white); | |||||
| } | |||||
| .black { | |||||
| color: var(--black); | |||||
| } | |||||
| .bg-black { | |||||
| background-color: var(--black); | |||||
| } |
| --title-slide-text-color: #FFFFFF; | --title-slide-text-color: #FFFFFF; | ||||
| --header-background-color: #006747; | --header-background-color: #006747; | ||||
| --header-background-text-color: #000000; | --header-background-text-color: #000000; | ||||
| --primary: #006747; | |||||
| --secondary: #CFC493; | |||||
| --white: #FFFFFF; | |||||
| --black: #000000; | |||||
| } | } | ||||
| html { | html { | ||||
| } | } | ||||
| } | } | ||||
| .primary { | |||||
| color: var(--primary); | |||||
| } | |||||
| .bg-primary { | |||||
| background-color: var(--primary); | |||||
| } | |||||
| .secondary { | |||||
| color: var(--secondary); | |||||
| } | |||||
| .bg-secondary { | |||||
| background-color: var(--secondary); | |||||
| } | |||||
| .white { | |||||
| color: var(--white); | |||||
| } | |||||
| .bg-white { | |||||
| background-color: var(--white); | |||||
| } | |||||
| .black { | |||||
| color: var(--black); | |||||
| } | |||||
| .bg-black { | |||||
| background-color: var(--black); | |||||
| } |
| --title-slide-text-color: #FFFFFF; | --title-slide-text-color: #FFFFFF; | ||||
| --header-background-color: #43418A; | --header-background-color: #43418A; | ||||
| --header-background-text-color: #FFFFFF; | --header-background-text-color: #FFFFFF; | ||||
| --base: #43418A; | |||||
| --white: #FFFFFF; | |||||
| --black: #272822; | |||||
| } | } | ||||
| html { | html { | ||||
| } | } | ||||
| } | } | ||||
| .base { | |||||
| color: var(--base); | |||||
| } | |||||
| .bg-base { | |||||
| background-color: var(--base); | |||||
| } | |||||
| .white { | |||||
| color: var(--white); | |||||
| } | |||||
| .bg-white { | |||||
| background-color: var(--white); | |||||
| } | |||||
| .black { | |||||
| color: var(--black); | |||||
| } | |||||
| .bg-black { | |||||
| background-color: var(--black); | |||||
| } |
| --title-slide-text-color: #050F0F; | --title-slide-text-color: #050F0F; | ||||
| --header-background-color: #3C989E; | --header-background-color: #3C989E; | ||||
| --header-background-text-color: #050F0F; | --header-background-text-color: #050F0F; | ||||
| --base: #3C989E; | |||||
| --white: #FFFFFF; | |||||
| --black: #050F0F; | |||||
| } | } | ||||
| html { | html { | ||||
| } | } | ||||
| } | } | ||||
| .base { | |||||
| color: var(--base); | |||||
| } | |||||
| .bg-base { | |||||
| background-color: var(--base); | |||||
| } | |||||
| .white { | |||||
| color: var(--white); | |||||
| } | |||||
| .bg-white { | |||||
| background-color: var(--white); | |||||
| } | |||||
| .black { | |||||
| color: var(--black); | |||||
| } | |||||
| .bg-black { | |||||
| background-color: var(--black); | |||||
| } |
| --title-slide-text-color: #1E2523; | --title-slide-text-color: #1E2523; | ||||
| --header-background-color: #cbf7ed; | --header-background-color: #cbf7ed; | ||||
| --header-background-text-color: #1E2523; | --header-background-text-color: #1E2523; | ||||
| --base: #cbf7ed; | |||||
| --white: #F4FDFB; | |||||
| --black: #1E2523; | |||||
| } | } | ||||
| html { | html { | ||||
| } | } | ||||
| } | } | ||||
| .base { | |||||
| color: var(--base); | |||||
| } | |||||
| .bg-base { | |||||
| background-color: var(--base); | |||||
| } | |||||
| .white { | |||||
| color: var(--white); | |||||
| } | |||||
| .bg-white { | |||||
| background-color: var(--white); | |||||
| } | |||||
| .black { | |||||
| color: var(--black); | |||||
| } | |||||
| .bg-black { | |||||
| background-color: var(--black); | |||||
| } |
| --title-slide-text-color: #E9EBEE; | --title-slide-text-color: #E9EBEE; | ||||
| --header-background-color: #23395b; | --header-background-color: #23395b; | ||||
| --header-background-text-color: #E9EBEE; | --header-background-text-color: #E9EBEE; | ||||
| --base: #23395b; | |||||
| --white: #E9EBEE; | |||||
| --black: #18273F; | |||||
| } | } | ||||
| html { | html { | ||||
| } | } | ||||
| } | } | ||||
| .base { | |||||
| color: var(--base); | |||||
| } | |||||
| .bg-base { | |||||
| background-color: var(--base); | |||||
| } | |||||
| .white { | |||||
| color: var(--white); | |||||
| } | |||||
| .bg-white { | |||||
| background-color: var(--white); | |||||
| } | |||||
| .black { | |||||
| color: var(--black); | |||||
| } | |||||
| .bg-black { | |||||
| background-color: var(--black); | |||||
| } |
| --title-slide-text-color: #E9EBEE; | --title-slide-text-color: #E9EBEE; | ||||
| --header-background-color: #23395b; | --header-background-color: #23395b; | ||||
| --header-background-text-color: #E9EBEE; | --header-background-text-color: #E9EBEE; | ||||
| --base: #23395b; | |||||
| --white: #E9EBEE; | |||||
| --black: #18273F; | |||||
| } | } | ||||
| html { | html { | ||||
| } | } | ||||
| } | } | ||||
| .base { | |||||
| color: var(--base); | |||||
| } | |||||
| .bg-base { | |||||
| background-color: var(--base); | |||||
| } | |||||
| .white { | |||||
| color: var(--white); | |||||
| } | |||||
| .bg-white { | |||||
| background-color: var(--white); | |||||
| } | |||||
| .black { | |||||
| color: var(--black); | |||||
| } | |||||
| .bg-black { | |||||
| background-color: var(--black); | |||||
| } |
| --header-background-color: #000; | --header-background-color: #000; | ||||
| --header-background-text-color: #FFF; | --header-background-text-color: #FFF; | ||||
| --light-blue: #bad4ed; | --light-blue: #bad4ed; | ||||
| } | } | ||||
| html { | html { |