| #' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes. | #' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes. | ||||
| #' @template extra_css | #' @template extra_css | ||||
| #' @param outfile Customized xaringan CSS output file name, default is "xaringan-themer.css" | #' @param outfile Customized xaringan CSS output file name, default is "xaringan-themer.css" | ||||
| #' @family themes | |||||
| #' @template duo | #' @template duo | ||||
| #' @family Duotone themes | #' @family Duotone themes | ||||
| #' @export | #' @export |
| #' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes. | #' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes. | ||||
| #' @template extra_css | #' @template extra_css | ||||
| #' @param outfile Customized xaringan CSS output file name, default is "xaringan-themer.css" | #' @param outfile Customized xaringan CSS output file name, default is "xaringan-themer.css" | ||||
| #' @family themes | |||||
| #' @template duo_accent | #' @template duo_accent | ||||
| #' @family Duotone themes | #' @family Duotone themes | ||||
| #' @export | #' @export |
| #' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes. | #' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes. | ||||
| #' @template extra_css | #' @template extra_css | ||||
| #' @param outfile Customized xaringan CSS output file name, default is "xaringan-themer.css" | #' @param outfile Customized xaringan CSS output file name, default is "xaringan-themer.css" | ||||
| #' @family themes | |||||
| #' @template duo_accent_inverse | #' @template duo_accent_inverse | ||||
| #' @family Duotone themes | #' @family Duotone themes | ||||
| #' @export | #' @export |
| #' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes. | #' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes. | ||||
| #' @template extra_css | #' @template extra_css | ||||
| #' @param outfile Customized xaringan CSS output file name, default is "xaringan-themer.css" | #' @param outfile Customized xaringan CSS output file name, default is "xaringan-themer.css" | ||||
| #' @family themes | |||||
| #' @template mono_accent | #' @template mono_accent | ||||
| #' @family Monotone themes | #' @family Monotone themes | ||||
| #' @export | #' @export |
| #' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes. | #' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes. | ||||
| #' @template extra_css | #' @template extra_css | ||||
| #' @param outfile Customized xaringan CSS output file name, default is "xaringan-themer.css" | #' @param outfile Customized xaringan CSS output file name, default is "xaringan-themer.css" | ||||
| #' @family themes | |||||
| #' @template mono_accent_inverse | #' @template mono_accent_inverse | ||||
| #' @family Monotone themes | #' @family Monotone themes | ||||
| #' @export | #' @export |
| #' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes. | #' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes. | ||||
| #' @template extra_css | #' @template extra_css | ||||
| #' @param outfile Customized xaringan CSS output file name, default is "xaringan-themer.css" | #' @param outfile Customized xaringan CSS output file name, default is "xaringan-themer.css" | ||||
| #' @family themes | |||||
| #' @template mono_dark | #' @template mono_dark | ||||
| #' @family Monotone themes | #' @family Monotone themes | ||||
| #' @export | #' @export |
| #' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes. | #' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes. | ||||
| #' @template extra_css | #' @template extra_css | ||||
| #' @param outfile Customized xaringan CSS output file name, default is "xaringan-themer.css" | #' @param outfile Customized xaringan CSS output file name, default is "xaringan-themer.css" | ||||
| #' @family themes | |||||
| #' @template mono_light | #' @template mono_light | ||||
| #' @family Monotone themes | #' @family Monotone themes | ||||
| #' @export | #' @export |
| #' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes. | #' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes. | ||||
| #' @template extra_css | #' @template extra_css | ||||
| #' @param outfile Customized xaringan CSS output file name, default is "xaringan-themer.css" | #' @param outfile Customized xaringan CSS output file name, default is "xaringan-themer.css" | ||||
| #' @family themes | |||||
| #' @template solarized_dark | #' @template solarized_dark | ||||
| #' @family Solarized themes | #' @family Solarized themes | ||||
| #' @export | #' @export |
| #' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes. | #' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes. | ||||
| #' @template extra_css | #' @template extra_css | ||||
| #' @param outfile Customized xaringan CSS output file name, default is "xaringan-themer.css" | #' @param outfile Customized xaringan CSS output file name, default is "xaringan-themer.css" | ||||
| #' @family themes | |||||
| #' @template solarized_light | #' @template solarized_light | ||||
| #' @family Solarized themes | #' @family Solarized themes | ||||
| #' @export | #' @export |
| #' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes. | #' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes. | ||||
| #' @template extra_css | #' @template extra_css | ||||
| #' @param outfile Customized xaringan CSS output file name, default is "xaringan-themer.css" | #' @param outfile Customized xaringan CSS output file name, default is "xaringan-themer.css" | ||||
| #' @family themes | |||||
| #' @template write_xaringan_theme | #' @template write_xaringan_theme | ||||
| #' @export | #' @export | ||||
| write_xaringan_theme <- function( | write_xaringan_theme <- function( |
| tv, "#' @param {variable} {description}. Defaults to {stringr::str_replace_all(default, '[{{}}]', '`')}. {element_description(element)}")) %,% | tv, "#' @param {variable} {description}. Defaults to {stringr::str_replace_all(default, '[{{}}]', '`')}. {element_description(element)}")) %,% | ||||
| "#' @template extra_css" %,% | "#' @template extra_css" %,% | ||||
| "#' @param outfile Customized xaringan CSS output file name, default is \"xaringan-themer.css\"" %,% | "#' @param outfile Customized xaringan CSS output file name, default is \"xaringan-themer.css\"" %,% | ||||
| "#' @family themes" %,% | |||||
| c(...) %,% | c(...) %,% | ||||
| glue::glue("{f_name} <- function(") %,% | glue::glue("{f_name} <- function(") %,% | ||||
| as.character(glue::glue_data( | as.character(glue::glue_data( |
| colors. | colors. | ||||
| } | } | ||||
| \seealso{ | \seealso{ | ||||
| Other themes: \code{\link{duo_accent_inverse}}, | |||||
| \code{\link{duo_accent}}, | |||||
| \code{\link{mono_accent_inverse}}, | |||||
| \code{\link{mono_accent}}, \code{\link{mono_dark}}, | |||||
| \code{\link{mono_light}}, \code{\link{solarized_dark}}, | |||||
| \code{\link{solarized_light}}, | |||||
| \code{\link{write_xaringan_theme}} | |||||
| Other Duotone themes: \code{\link{duo_accent_inverse}}, | Other Duotone themes: \code{\link{duo_accent_inverse}}, | ||||
| \code{\link{duo_accent}} | \code{\link{duo_accent}} | ||||
| } | } |
| accents on select elements (headers, bold text, etc.). | accents on select elements (headers, bold text, etc.). | ||||
| } | } | ||||
| \seealso{ | \seealso{ | ||||
| Other themes: \code{\link{duo_accent_inverse}}, | |||||
| \code{\link{duo}}, \code{\link{mono_accent_inverse}}, | |||||
| \code{\link{mono_accent}}, \code{\link{mono_dark}}, | |||||
| \code{\link{mono_light}}, \code{\link{solarized_dark}}, | |||||
| \code{\link{solarized_light}}, | |||||
| \code{\link{write_xaringan_theme}} | |||||
| Other Duotone themes: \code{\link{duo_accent_inverse}}, | Other Duotone themes: \code{\link{duo_accent_inverse}}, | ||||
| \code{\link{duo}} | \code{\link{duo}} | ||||
| } | } |
| for color accents on select elements (headers, bold text, etc.). | for color accents on select elements (headers, bold text, etc.). | ||||
| } | } | ||||
| \seealso{ | \seealso{ | ||||
| Other themes: \code{\link{duo_accent}}, \code{\link{duo}}, | |||||
| \code{\link{mono_accent_inverse}}, | |||||
| \code{\link{mono_accent}}, \code{\link{mono_dark}}, | |||||
| \code{\link{mono_light}}, \code{\link{solarized_dark}}, | |||||
| \code{\link{solarized_light}}, | |||||
| \code{\link{write_xaringan_theme}} | |||||
| Other Duotone themes: \code{\link{duo_accent}}, | Other Duotone themes: \code{\link{duo_accent}}, | ||||
| \code{\link{duo}} | \code{\link{duo}} | ||||
| } | } |
| accents on select elements (headers, bold text, etc.). | accents on select elements (headers, bold text, etc.). | ||||
| } | } | ||||
| \seealso{ | \seealso{ | ||||
| Other themes: \code{\link{duo_accent_inverse}}, | |||||
| \code{\link{duo_accent}}, \code{\link{duo}}, | |||||
| \code{\link{mono_accent_inverse}}, | |||||
| \code{\link{mono_dark}}, \code{\link{mono_light}}, | |||||
| \code{\link{solarized_dark}}, | |||||
| \code{\link{solarized_light}}, | |||||
| \code{\link{write_xaringan_theme}} | |||||
| Other Monotone themes: \code{\link{mono_accent_inverse}}, | Other Monotone themes: \code{\link{mono_accent_inverse}}, | ||||
| \code{\link{mono_dark}}, \code{\link{mono_light}} | \code{\link{mono_dark}}, \code{\link{mono_light}} | ||||
| } | } |
| for color accents on select elements (headers, bold text, etc.). | for color accents on select elements (headers, bold text, etc.). | ||||
| } | } | ||||
| \seealso{ | \seealso{ | ||||
| Other themes: \code{\link{duo_accent_inverse}}, | |||||
| \code{\link{duo_accent}}, \code{\link{duo}}, | |||||
| \code{\link{mono_accent}}, \code{\link{mono_dark}}, | |||||
| \code{\link{mono_light}}, \code{\link{solarized_dark}}, | |||||
| \code{\link{solarized_light}}, | |||||
| \code{\link{write_xaringan_theme}} | |||||
| Other Monotone themes: \code{\link{mono_accent}}, | Other Monotone themes: \code{\link{mono_accent}}, | ||||
| \code{\link{mono_dark}}, \code{\link{mono_light}} | \code{\link{mono_dark}}, \code{\link{mono_light}} | ||||
| } | } |
| A dark monotone theme based around a single color. | A dark monotone theme based around a single color. | ||||
| } | } | ||||
| \seealso{ | \seealso{ | ||||
| Other themes: \code{\link{duo_accent_inverse}}, | |||||
| \code{\link{duo_accent}}, \code{\link{duo}}, | |||||
| \code{\link{mono_accent_inverse}}, | |||||
| \code{\link{mono_accent}}, \code{\link{mono_light}}, | |||||
| \code{\link{solarized_dark}}, | |||||
| \code{\link{solarized_light}}, | |||||
| \code{\link{write_xaringan_theme}} | |||||
| Other Monotone themes: \code{\link{mono_accent_inverse}}, | Other Monotone themes: \code{\link{mono_accent_inverse}}, | ||||
| \code{\link{mono_accent}}, \code{\link{mono_light}} | \code{\link{mono_accent}}, \code{\link{mono_light}} | ||||
| } | } |
| A light monotone theme based around a single color. | A light monotone theme based around a single color. | ||||
| } | } | ||||
| \seealso{ | \seealso{ | ||||
| Other themes: \code{\link{duo_accent_inverse}}, | |||||
| \code{\link{duo_accent}}, \code{\link{duo}}, | |||||
| \code{\link{mono_accent_inverse}}, | |||||
| \code{\link{mono_accent}}, \code{\link{mono_dark}}, | |||||
| \code{\link{solarized_dark}}, | |||||
| \code{\link{solarized_light}}, | |||||
| \code{\link{write_xaringan_theme}} | |||||
| Other Monotone themes: \code{\link{mono_accent_inverse}}, | Other Monotone themes: \code{\link{mono_accent_inverse}}, | ||||
| \code{\link{mono_accent}}, \code{\link{mono_dark}} | \code{\link{mono_accent}}, \code{\link{mono_dark}} | ||||
| } | } |
| \url{http://ethanschoonover.com/solarized} | \url{http://ethanschoonover.com/solarized} | ||||
| } | } | ||||
| \seealso{ | \seealso{ | ||||
| Other themes: \code{\link{duo_accent_inverse}}, | |||||
| \code{\link{duo_accent}}, \code{\link{duo}}, | |||||
| \code{\link{mono_accent_inverse}}, | |||||
| \code{\link{mono_accent}}, \code{\link{mono_dark}}, | |||||
| \code{\link{mono_light}}, \code{\link{solarized_light}}, | |||||
| \code{\link{write_xaringan_theme}} | |||||
| Other Solarized themes: \code{\link{solarized_light}} | Other Solarized themes: \code{\link{solarized_light}} | ||||
| } | } |
| \url{http://ethanschoonover.com/solarized} | \url{http://ethanschoonover.com/solarized} | ||||
| } | } | ||||
| \seealso{ | \seealso{ | ||||
| Other themes: \code{\link{duo_accent_inverse}}, | |||||
| \code{\link{duo_accent}}, \code{\link{duo}}, | |||||
| \code{\link{mono_accent_inverse}}, | |||||
| \code{\link{mono_accent}}, \code{\link{mono_dark}}, | |||||
| \code{\link{mono_light}}, \code{\link{solarized_dark}}, | |||||
| \code{\link{write_xaringan_theme}} | |||||
| Other Solarized themes: \code{\link{solarized_dark}} | Other Solarized themes: \code{\link{solarized_dark}} | ||||
| } | } |
| \description{ | \description{ | ||||
| Creates a customized Xaringan theme CSS file. | Creates a customized Xaringan theme CSS file. | ||||
| } | } | ||||
| \seealso{ | |||||
| Other themes: \code{\link{duo_accent_inverse}}, | |||||
| \code{\link{duo_accent}}, \code{\link{duo}}, | |||||
| \code{\link{mono_accent_inverse}}, | |||||
| \code{\link{mono_accent}}, \code{\link{mono_dark}}, | |||||
| \code{\link{mono_light}}, \code{\link{solarized_dark}}, | |||||
| \code{\link{solarized_light}} | |||||
| } |