| @@ -30,6 +30,14 @@ | |||
| presentations, and they support a wide variety of languages and weights. | |||
| Another reason for the change is that the xaringan (remarkjs) default body | |||
| font, _Droid Serif_, is no longer officially included in Google Fonts. | |||
| * Additional colors can be provided in the `colors` argument, which takes a | |||
| named vector of colors. The names become both CSS classes and CSS variables | |||
| that can be used throughout your slide styles. For example, | |||
| `colors = c(red = "#d34213")` creates a `.red` CSS class for red foreground | |||
| text, a `.bg-red` CSS class for a red background, and a `--red` CSS variable | |||
| that can be referenced as `var(--red)` in any `_color` argument of your style | |||
| function. | |||
| ## Bugfixes and Improvements | |||
| @@ -113,6 +113,10 @@ the final portion of the style function name. For example, | |||
| Note that the colors used below are for demonstration only, the point of | |||
| the `style_` functions is for you to choose your own color palette\! | |||
| If you color palette uses more than two colors, you can add additional | |||
| colors with the `colors` argument. See the [Colors](#colors) section for | |||
| more information. | |||
| ### Monotone | |||
| Use these functions to automatically create a consistent color palette | |||
| @@ -14,6 +14,10 @@ For example, `style_mono_accent()` uses a single color as an accent color. | |||
| Note that the colors used below are for demonstration only, | |||
| the point of the `style_` functions is for you to choose your own color palette! | |||
| If you color palette uses more than two colors, | |||
| you can add additional colors with the `colors` argument. | |||
| See the [Colors](#colors) section for more information. | |||
| ### Monotone | |||
| ```{r include=FALSE} | |||
| @@ -9,3 +9,9 @@ knitr::opts_chunk$set(results = "asis", echo=FALSE) | |||
| ```{r child="../man/fragments/_themes.Rmd"} | |||
| ``` | |||
| ## Colors | |||
| ```{r child="../man/fragments/_colors.Rmd"} | |||
| ``` | |||