| #' @title Duotone Theme | #' @title Duotone Theme | ||||
| #' @description A duotone theme designed to work well with two complementary | #' @description A duotone theme designed to work well with two complementary | ||||
| #' colors. | #' colors. | ||||
| #' @examples | |||||
| #' # Create a xaringan style in a temporary file | |||||
| #' xaringan_themer_css <- tempfile("xaringan-themer-", fileext = ".css") | |||||
| #' | |||||
| #' style_duo( | |||||
| #' primary_color = "#1f4257", | |||||
| #' secondary_color = "#f97b64", | |||||
| #' outfile = xaringan_themer_css # omit in your slides to write the | |||||
| #' # styles to xaringan-themer.css | |||||
| #' ) | |||||
| #' | |||||
| #' # View the CSS: | |||||
| #' # file.edit(xaringan_themer_css) |
| #' @title Duotone Accent Theme | #' @title Duotone Accent Theme | ||||
| #' @description An default xaringan theme with a two colors used for color | #' @description An default xaringan theme with a two colors used for color | ||||
| #' accents on select elements (headers, bold text, etc.). | #' accents on select elements (headers, bold text, etc.). | ||||
| #' @examples | |||||
| #' # Create a xaringan style in a temporary file | |||||
| #' xaringan_themer_css <- tempfile("xaringan-themer-", fileext = ".css") | |||||
| #' | |||||
| #' style_duo_accent( | |||||
| #' primary_color = "#006747", | |||||
| #' secondary_color = "#cfc493", | |||||
| #' outfile = xaringan_themer_css # omit in your slides to write the | |||||
| #' # styles to xaringan-themer.css | |||||
| #' ) | |||||
| #' | |||||
| #' # View the CSS: | |||||
| #' # file.edit(xaringan_themer_css) |
| #' @title Duotone Accent Inverse Theme | #' @title Duotone Accent Inverse Theme | ||||
| #' @description An "inverted" default xaringan theme with a two colors used | #' @description An "inverted" default xaringan theme with a two colors used | ||||
| #' for color accents on select elements (headers, bold text, etc.). | #' for color accents on select elements (headers, bold text, etc.). | ||||
| #' @examples | |||||
| #' # Create a xaringan style in a temporary file | |||||
| #' xaringan_themer_css <- tempfile("xaringan-themer-", fileext = ".css") | |||||
| #' | |||||
| #' style_duo_accent_inverse( | |||||
| #' primary_color = "#006747", | |||||
| #' secondary_color = "#cfc493", | |||||
| #' outfile = xaringan_themer_css # omit in your slides to write the | |||||
| #' # styles to xaringan-themer.css | |||||
| #' ) | |||||
| #' | |||||
| #' # View the CSS: | |||||
| #' # file.edit(xaringan_themer_css) |
| #' @title Monotone Accent Theme | #' @title Monotone Accent Theme | ||||
| #' @description The default xaringan theme with a single color used for color | #' @description The default xaringan theme with a single color used for color | ||||
| #' accents on select elements (headers, bold text, etc.). | #' accents on select elements (headers, bold text, etc.). | ||||
| #' @examples | |||||
| #' # Create a xaringan style in a temporary file | |||||
| #' xaringan_themer_css <- tempfile("xaringan-themer-", fileext = ".css") | |||||
| #' | |||||
| #' style_mono_accent( | |||||
| #' base_color = "#43418A", | |||||
| #' outfile = xaringan_themer_css # omit in your slides to write the | |||||
| #' # styles to xaringan-themer.css | |||||
| #' ) | |||||
| #' | |||||
| #' # View the CSS: | |||||
| #' # file.edit(xaringan_themer_css) |
| #' @title Monotone Accent Inverse Theme | #' @title Monotone Accent Inverse Theme | ||||
| #' @description An "inverted" default xaringan theme with a single color used | #' @description An "inverted" default xaringan theme with a single color used | ||||
| #' for color accents on select elements (headers, bold text, etc.). | #' for color accents on select elements (headers, bold text, etc.). | ||||
| #' @examples | |||||
| #' # Create a xaringan style in a temporary file | |||||
| #' xaringan_themer_css <- tempfile("xaringan-themer-", fileext = ".css") | |||||
| #' | |||||
| #' style_mono_accent_inverse( | |||||
| #' base_color = "#3c989e", | |||||
| #' outfile = xaringan_themer_css # omit in your slides to write the | |||||
| #' # styles to xaringan-themer.css | |||||
| #' ) | |||||
| #' | |||||
| #' # View the CSS: | |||||
| #' # file.edit(xaringan_themer_css) |
| #' @title Monotone Dark Theme | #' @title Monotone Dark Theme | ||||
| #' @description A dark monotone theme based around a single color. | #' @description A dark monotone theme based around a single color. | ||||
| #' @examples | |||||
| #' # Create a xaringan style in a temporary file | |||||
| #' xaringan_themer_css <- tempfile("xaringan-themer-", fileext = ".css") | |||||
| #' | |||||
| #' style_mono_dark( | |||||
| #' base_color = "#cbf7ed", | |||||
| #' outfile = xaringan_themer_css # omit in your slides to write the | |||||
| #' # styles to xaringan-themer.css | |||||
| #' ) | |||||
| #' | |||||
| #' # View the CSS: | |||||
| #' # file.edit(xaringan_themer_css) |
| #' @title Monotone Light Theme | #' @title Monotone Light Theme | ||||
| #' @description A light monotone theme based around a single color. | #' @description A light monotone theme based around a single color. | ||||
| #' @examples | |||||
| #' # Create a xaringan style in a temporary file | |||||
| #' xaringan_themer_css <- tempfile("xaringan-themer-", fileext = ".css") | |||||
| #' | |||||
| #' style_mono_light( | |||||
| #' base_color = "#23395b", | |||||
| #' outfile = xaringan_themer_css # omit in your slides to write the | |||||
| #' # styles to xaringan-themer.css | |||||
| #' ) | |||||
| #' | |||||
| #' # View the CSS: | |||||
| #' # file.edit(xaringan_themer_css) |
| #' Works well with "\code{highlightStyle: solarized-dark}" or | #' Works well with "\code{highlightStyle: solarized-dark}" or | ||||
| #' "\code{highlighStyle: solarized-light}". | #' "\code{highlighStyle: solarized-light}". | ||||
| #' @references \url{http://ethanschoonover.com/solarized} | #' @references \url{http://ethanschoonover.com/solarized} | ||||
| #' @examples | |||||
| #' # Create a xaringan style in a temporary file | |||||
| #' xaringan_themer_css <- tempfile("xaringan-themer-", fileext = ".css") | |||||
| #' | |||||
| #' style_solarized_dark( | |||||
| #' outfile = xaringan_themer_css # omit in your slides to write the | |||||
| #' # styles to xaringan-themer.css | |||||
| #' ) | |||||
| #' | |||||
| #' # View the CSS: | |||||
| #' # file.edit(xaringan_themer_css) |
| #' Works well with "\code{highlightStyle: solarized-dark}" or | #' Works well with "\code{highlightStyle: solarized-dark}" or | ||||
| #' "\code{highlighStyle: solarized-light}". | #' "\code{highlighStyle: solarized-light}". | ||||
| #' @references \url{http://ethanschoonover.com/solarized} | #' @references \url{http://ethanschoonover.com/solarized} | ||||
| #' @examples | |||||
| #' # Create a xaringan style in a temporary file | |||||
| #' xaringan_themer_css <- tempfile("xaringan-themer-", fileext = ".css") | |||||
| #' | |||||
| #' style_solarized_light( | |||||
| #' outfile = xaringan_themer_css # omit in your slides to write the | |||||
| #' # styles to xaringan-themer.css | |||||
| #' ) | |||||
| #' | |||||
| #' # View the CSS: | |||||
| #' # file.edit(xaringan_themer_css) |
| #' @title Write A Customized Xaringan Theme | #' @title Write A Customized Xaringan Theme | ||||
| #' @description Creates a customized Xaringan theme CSS file. | #' @description Creates a customized Xaringan theme CSS file. | ||||
| #' @examples | |||||
| #' # Create a xaringan style in a temporary file | |||||
| #' xaringan_themer_css <- tempfile("xaringan-themer-", fileext = ".css") | |||||
| #' | |||||
| #' style_xaringan( | |||||
| #' text_color = "#002b3", | |||||
| #' inverse_background_color = "#31b09e", | |||||
| #' inverse_text_color = "#002b3", | |||||
| #' outfile = xaringan_themer_css # omit in your slides to write the | |||||
| #' # styles to xaringan-themer.css | |||||
| #' ) | |||||
| #' | |||||
| #' # View the CSS: | |||||
| #' # file.edit(xaringan_themer_css) |
| A duotone theme designed to work well with two complementary | A duotone theme designed to work well with two complementary | ||||
| colors. | colors. | ||||
| } | } | ||||
| \examples{ | |||||
| # Create a xaringan style in a temporary file | |||||
| xaringan_themer_css <- tempfile("xaringan-themer-", fileext = ".css") | |||||
| style_duo( | |||||
| primary_color = "#1f4257", | |||||
| secondary_color = "#f97b64", | |||||
| outfile = xaringan_themer_css # omit in your slides to write the | |||||
| # styles to xaringan-themer.css | |||||
| ) | |||||
| # View the CSS: | |||||
| # file.edit(xaringan_themer_css) | |||||
| } | |||||
| \seealso{ | \seealso{ | ||||
| Other themes: | Other themes: | ||||
| \code{\link{style_duo_accent_inverse}()}, | \code{\link{style_duo_accent_inverse}()}, |
| An default xaringan theme with a two colors used for color | An default xaringan theme with a two colors used for color | ||||
| accents on select elements (headers, bold text, etc.). | accents on select elements (headers, bold text, etc.). | ||||
| } | } | ||||
| \examples{ | |||||
| # Create a xaringan style in a temporary file | |||||
| xaringan_themer_css <- tempfile("xaringan-themer-", fileext = ".css") | |||||
| style_duo_accent( | |||||
| primary_color = "#006747", | |||||
| secondary_color = "#cfc493", | |||||
| outfile = xaringan_themer_css # omit in your slides to write the | |||||
| # styles to xaringan-themer.css | |||||
| ) | |||||
| # View the CSS: | |||||
| # file.edit(xaringan_themer_css) | |||||
| } | |||||
| \seealso{ | \seealso{ | ||||
| Other themes: | Other themes: | ||||
| \code{\link{style_duo_accent_inverse}()}, | \code{\link{style_duo_accent_inverse}()}, |
| An "inverted" default xaringan theme with a two colors used | An "inverted" default xaringan theme with a two colors used | ||||
| for color accents on select elements (headers, bold text, etc.). | for color accents on select elements (headers, bold text, etc.). | ||||
| } | } | ||||
| \examples{ | |||||
| # Create a xaringan style in a temporary file | |||||
| xaringan_themer_css <- tempfile("xaringan-themer-", fileext = ".css") | |||||
| style_duo_accent_inverse( | |||||
| primary_color = "#006747", | |||||
| secondary_color = "#cfc493", | |||||
| outfile = xaringan_themer_css # omit in your slides to write the | |||||
| # styles to xaringan-themer.css | |||||
| ) | |||||
| # View the CSS: | |||||
| # file.edit(xaringan_themer_css) | |||||
| } | |||||
| \seealso{ | \seealso{ | ||||
| Other themes: | Other themes: | ||||
| \code{\link{style_duo_accent}()}, | \code{\link{style_duo_accent}()}, |
| The default xaringan theme with a single color used for color | The default xaringan theme with a single color used for color | ||||
| accents on select elements (headers, bold text, etc.). | accents on select elements (headers, bold text, etc.). | ||||
| } | } | ||||
| \examples{ | |||||
| # Create a xaringan style in a temporary file | |||||
| xaringan_themer_css <- tempfile("xaringan-themer-", fileext = ".css") | |||||
| style_mono_accent( | |||||
| base_color = "#43418A", | |||||
| outfile = xaringan_themer_css # omit in your slides to write the | |||||
| # styles to xaringan-themer.css | |||||
| ) | |||||
| # View the CSS: | |||||
| # file.edit(xaringan_themer_css) | |||||
| } | |||||
| \seealso{ | \seealso{ | ||||
| Other themes: | Other themes: | ||||
| \code{\link{style_duo_accent_inverse}()}, | \code{\link{style_duo_accent_inverse}()}, |
| An "inverted" default xaringan theme with a single color used | An "inverted" default xaringan theme with a single color used | ||||
| for color accents on select elements (headers, bold text, etc.). | for color accents on select elements (headers, bold text, etc.). | ||||
| } | } | ||||
| \examples{ | |||||
| # Create a xaringan style in a temporary file | |||||
| xaringan_themer_css <- tempfile("xaringan-themer-", fileext = ".css") | |||||
| style_mono_accent_inverse( | |||||
| base_color = "#3c989e", | |||||
| outfile = xaringan_themer_css # omit in your slides to write the | |||||
| # styles to xaringan-themer.css | |||||
| ) | |||||
| # View the CSS: | |||||
| # file.edit(xaringan_themer_css) | |||||
| } | |||||
| \seealso{ | \seealso{ | ||||
| Other themes: | Other themes: | ||||
| \code{\link{style_duo_accent_inverse}()}, | \code{\link{style_duo_accent_inverse}()}, |
| \description{ | \description{ | ||||
| A dark monotone theme based around a single color. | A dark monotone theme based around a single color. | ||||
| } | } | ||||
| \examples{ | |||||
| # Create a xaringan style in a temporary file | |||||
| xaringan_themer_css <- tempfile("xaringan-themer-", fileext = ".css") | |||||
| style_mono_dark( | |||||
| base_color = "#cbf7ed", | |||||
| outfile = xaringan_themer_css # omit in your slides to write the | |||||
| # styles to xaringan-themer.css | |||||
| ) | |||||
| # View the CSS: | |||||
| # file.edit(xaringan_themer_css) | |||||
| } | |||||
| \seealso{ | \seealso{ | ||||
| Other themes: | Other themes: | ||||
| \code{\link{style_duo_accent_inverse}()}, | \code{\link{style_duo_accent_inverse}()}, |
| \description{ | \description{ | ||||
| A light monotone theme based around a single color. | A light monotone theme based around a single color. | ||||
| } | } | ||||
| \examples{ | |||||
| # Create a xaringan style in a temporary file | |||||
| xaringan_themer_css <- tempfile("xaringan-themer-", fileext = ".css") | |||||
| style_mono_light( | |||||
| base_color = "#23395b", | |||||
| outfile = xaringan_themer_css # omit in your slides to write the | |||||
| # styles to xaringan-themer.css | |||||
| ) | |||||
| # View the CSS: | |||||
| # file.edit(xaringan_themer_css) | |||||
| } | |||||
| \seealso{ | \seealso{ | ||||
| Other themes: | Other themes: | ||||
| \code{\link{style_duo_accent_inverse}()}, | \code{\link{style_duo_accent_inverse}()}, |
| Works well with "\code{highlightStyle: solarized-dark}" or | Works well with "\code{highlightStyle: solarized-dark}" or | ||||
| "\code{highlighStyle: solarized-light}". | "\code{highlighStyle: solarized-light}". | ||||
| } | } | ||||
| \examples{ | |||||
| # Create a xaringan style in a temporary file | |||||
| xaringan_themer_css <- tempfile("xaringan-themer-", fileext = ".css") | |||||
| style_solarized_dark( | |||||
| outfile = xaringan_themer_css # omit in your slides to write the | |||||
| # styles to xaringan-themer.css | |||||
| ) | |||||
| # View the CSS: | |||||
| # file.edit(xaringan_themer_css) | |||||
| } | |||||
| \references{ | \references{ | ||||
| \url{http://ethanschoonover.com/solarized} | \url{http://ethanschoonover.com/solarized} | ||||
| } | } |
| Works well with "\code{highlightStyle: solarized-dark}" or | Works well with "\code{highlightStyle: solarized-dark}" or | ||||
| "\code{highlighStyle: solarized-light}". | "\code{highlighStyle: solarized-light}". | ||||
| } | } | ||||
| \examples{ | |||||
| # Create a xaringan style in a temporary file | |||||
| xaringan_themer_css <- tempfile("xaringan-themer-", fileext = ".css") | |||||
| style_solarized_light( | |||||
| outfile = xaringan_themer_css # omit in your slides to write the | |||||
| # styles to xaringan-themer.css | |||||
| ) | |||||
| # View the CSS: | |||||
| # file.edit(xaringan_themer_css) | |||||
| } | |||||
| \references{ | \references{ | ||||
| \url{http://ethanschoonover.com/solarized} | \url{http://ethanschoonover.com/solarized} | ||||
| } | } |
| \description{ | \description{ | ||||
| Creates a customized Xaringan theme CSS file. | Creates a customized Xaringan theme CSS file. | ||||
| } | } | ||||
| \examples{ | |||||
| # Create a xaringan style in a temporary file | |||||
| xaringan_themer_css <- tempfile("xaringan-themer-", fileext = ".css") | |||||
| style_xaringan( | |||||
| text_color = "#002b3", | |||||
| inverse_background_color = "#31b09e", | |||||
| inverse_text_color = "#002b3", | |||||
| outfile = xaringan_themer_css # omit in your slides to write the | |||||
| # styles to xaringan-themer.css | |||||
| ) | |||||
| # View the CSS: | |||||
| # file.edit(xaringan_themer_css) | |||||
| } | |||||
| \seealso{ | \seealso{ | ||||
| Other themes: | Other themes: | ||||
| \code{\link{style_duo_accent_inverse}()}, | \code{\link{style_duo_accent_inverse}()}, |