| @@ -40,4 +40,4 @@ Config/Needs/website: pkgdown | |||
| Config/testthat/edition: 3 | |||
| Encoding: UTF-8 | |||
| Roxygen: list(markdown = TRUE) | |||
| RoxygenNote: 7.1.1 | |||
| RoxygenNote: 7.1.2 | |||
| @@ -26,5 +26,4 @@ blue_transparent <- apply_alpha(blue) | |||
| if (requireNamespace("scales", quietly = TRUE)) { | |||
| scales::show_col(c(blue, blue_transparent)) | |||
| } | |||
| } | |||
| @@ -33,7 +33,6 @@ contrast_purple <- choose_dark_or_light(dark_purple) | |||
| if (requireNamespace("scales", quietly = TRUE)) { | |||
| scales::show_col(c(light_green, contrast_green, dark_purple, contrast_purple)) | |||
| } | |||
| } | |||
| \references{ | |||
| \url{https://stackoverflow.com/a/3943023/2022615} | |||
| @@ -32,5 +32,4 @@ blue_dark <- darken_color(blue, strength = 0.33) | |||
| if (requireNamespace("scales", quietly = TRUE)) { | |||
| scales::show_col(c(blue_light, blue, blue_dark)) | |||
| } | |||
| } | |||
| @@ -149,5 +149,4 @@ if (has_ggplot2) { | |||
| # Fill color matches teal text | |||
| scale_xaringan_color_discrete(direction = -1) | |||
| } | |||
| } | |||
| @@ -447,7 +447,7 @@ colors. | |||
| To use the styles created by this theme function, make sure | |||
| that you use \code{xaringan-themer.css} as your CSS file in your slides' YAML | |||
| header. If you change the name of the output file using the \code{outfile} | |||
| argument, use that name instead of the default file name.\if{html}{\out{<div class="yaml">}}\preformatted{output: | |||
| argument, use that name instead of the default file name.\if{html}{\out{<div class="sourceCode yaml">}}\preformatted{output: | |||
| xaringan::moon_reader: | |||
| css: xaringan-themer.css | |||
| }\if{html}{\out{</div>}} | |||
| @@ -466,7 +466,7 @@ accents on select elements (headers, bold text, etc.). | |||
| To use the styles created by this theme function, make sure | |||
| that you use \code{xaringan-themer.css} as your CSS file in your slides' YAML | |||
| header. If you change the name of the output file using the \code{outfile} | |||
| argument, use that name instead of the default file name.\if{html}{\out{<div class="yaml">}}\preformatted{output: | |||
| argument, use that name instead of the default file name.\if{html}{\out{<div class="sourceCode yaml">}}\preformatted{output: | |||
| xaringan::moon_reader: | |||
| css: xaringan-themer.css | |||
| }\if{html}{\out{</div>}} | |||
| @@ -468,7 +468,7 @@ for color accents on select elements (headers, bold text, etc.). | |||
| To use the styles created by this theme function, make sure | |||
| that you use \code{xaringan-themer.css} as your CSS file in your slides' YAML | |||
| header. If you change the name of the output file using the \code{outfile} | |||
| argument, use that name instead of the default file name.\if{html}{\out{<div class="yaml">}}\preformatted{output: | |||
| argument, use that name instead of the default file name.\if{html}{\out{<div class="sourceCode yaml">}}\preformatted{output: | |||
| xaringan::moon_reader: | |||
| css: xaringan-themer.css | |||
| }\if{html}{\out{</div>}} | |||
| @@ -451,7 +451,7 @@ accents on select elements (headers, bold text, etc.). | |||
| To use the styles created by this theme function, make sure | |||
| that you use \code{xaringan-themer.css} as your CSS file in your slides' YAML | |||
| header. If you change the name of the output file using the \code{outfile} | |||
| argument, use that name instead of the default file name.\if{html}{\out{<div class="yaml">}}\preformatted{output: | |||
| argument, use that name instead of the default file name.\if{html}{\out{<div class="sourceCode yaml">}}\preformatted{output: | |||
| xaringan::moon_reader: | |||
| css: xaringan-themer.css | |||
| }\if{html}{\out{</div>}} | |||
| @@ -452,7 +452,7 @@ for color accents on select elements (headers, bold text, etc.). | |||
| To use the styles created by this theme function, make sure | |||
| that you use \code{xaringan-themer.css} as your CSS file in your slides' YAML | |||
| header. If you change the name of the output file using the \code{outfile} | |||
| argument, use that name instead of the default file name.\if{html}{\out{<div class="yaml">}}\preformatted{output: | |||
| argument, use that name instead of the default file name.\if{html}{\out{<div class="sourceCode yaml">}}\preformatted{output: | |||
| xaringan::moon_reader: | |||
| css: xaringan-themer.css | |||
| }\if{html}{\out{</div>}} | |||
| @@ -452,7 +452,7 @@ A dark monotone theme based around a single color. | |||
| To use the styles created by this theme function, make sure | |||
| that you use \code{xaringan-themer.css} as your CSS file in your slides' YAML | |||
| header. If you change the name of the output file using the \code{outfile} | |||
| argument, use that name instead of the default file name.\if{html}{\out{<div class="yaml">}}\preformatted{output: | |||
| argument, use that name instead of the default file name.\if{html}{\out{<div class="sourceCode yaml">}}\preformatted{output: | |||
| xaringan::moon_reader: | |||
| css: xaringan-themer.css | |||
| }\if{html}{\out{</div>}} | |||
| @@ -452,7 +452,7 @@ A light monotone theme based around a single color. | |||
| To use the styles created by this theme function, make sure | |||
| that you use \code{xaringan-themer.css} as your CSS file in your slides' YAML | |||
| header. If you change the name of the output file using the \code{outfile} | |||
| argument, use that name instead of the default file name.\if{html}{\out{<div class="yaml">}}\preformatted{output: | |||
| argument, use that name instead of the default file name.\if{html}{\out{<div class="sourceCode yaml">}}\preformatted{output: | |||
| xaringan::moon_reader: | |||
| css: xaringan-themer.css | |||
| }\if{html}{\out{</div>}} | |||
| @@ -433,7 +433,7 @@ Works well with "\code{highlightStyle: solarized-dark}" or | |||
| To use the styles created by this theme function, make sure | |||
| that you use \code{xaringan-themer.css} as your CSS file in your slides' YAML | |||
| header. If you change the name of the output file using the \code{outfile} | |||
| argument, use that name instead of the default file name.\if{html}{\out{<div class="yaml">}}\preformatted{output: | |||
| argument, use that name instead of the default file name.\if{html}{\out{<div class="sourceCode yaml">}}\preformatted{output: | |||
| xaringan::moon_reader: | |||
| css: xaringan-themer.css | |||
| }\if{html}{\out{</div>}} | |||
| @@ -433,7 +433,7 @@ Works well with "\code{highlightStyle: solarized-dark}" or | |||
| To use the styles created by this theme function, make sure | |||
| that you use \code{xaringan-themer.css} as your CSS file in your slides' YAML | |||
| header. If you change the name of the output file using the \code{outfile} | |||
| argument, use that name instead of the default file name.\if{html}{\out{<div class="yaml">}}\preformatted{output: | |||
| argument, use that name instead of the default file name.\if{html}{\out{<div class="sourceCode yaml">}}\preformatted{output: | |||
| xaringan::moon_reader: | |||
| css: xaringan-themer.css | |||
| }\if{html}{\out{</div>}} | |||
| @@ -443,7 +443,7 @@ font fallbacks. | |||
| To use the styles created by this theme function, make sure | |||
| that you use \code{xaringan-themer.css} as your CSS file in your slides' YAML | |||
| header. If you change the name of the output file using the \code{outfile} | |||
| argument, use that name instead of the default file name.\if{html}{\out{<div class="yaml">}}\preformatted{output: | |||
| argument, use that name instead of the default file name.\if{html}{\out{<div class="sourceCode yaml">}}\preformatted{output: | |||
| xaringan::moon_reader: | |||
| css: xaringan-themer.css | |||
| }\if{html}{\out{</div>}} | |||
| @@ -103,5 +103,4 @@ theme_xaringan_get_value("text_color") | |||
| theme_xaringan_get_value("background_color") | |||
| theme_xaringan_get_value("header_color") | |||
| theme_xaringan_get_value("text_bold_color") | |||
| } | |||
| @@ -8,12 +8,7 @@ | |||
| \description{ | |||
| \if{html}{\figure{logo.png}{options: align='right' alt='logo' width='120'}} | |||
| Create beautifully color-coordinated 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. | |||
| Create beautifully color-coordinated 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{ | |||
| Useful links: | |||