Bladeren bron

Document new argument in a few more places

tags/v0.3.0
Garrick Aden-Buie 6 jaren geleden
bovenliggende
commit
b1c45e52fb
4 gewijzigde bestanden met toevoegingen van 22 en 0 verwijderingen
  1. +8
    -0
      NEWS.md
  2. +4
    -0
      README.md
  3. +4
    -0
      man/fragments/_themes.Rmd
  4. +6
    -0
      vignettes/themes.Rmd

+ 8
- 0
NEWS.md Bestand weergeven

presentations, and they support a wide variety of languages and weights. presentations, and they support a wide variety of languages and weights.
Another reason for the change is that the xaringan (remarkjs) default body Another reason for the change is that the xaringan (remarkjs) default body
font, _Droid Serif_, is no longer officially included in Google Fonts. 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 ## Bugfixes and Improvements

+ 4
- 0
README.md Bestand weergeven

Note that the colors used below are for demonstration only, the point of 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\! 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 ### Monotone


Use these functions to automatically create a consistent color palette Use these functions to automatically create a consistent color palette

+ 4
- 0
man/fragments/_themes.Rmd Bestand weergeven

Note that the colors used below are for demonstration only, 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! 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 ### Monotone


```{r include=FALSE} ```{r include=FALSE}

+ 6
- 0
vignettes/themes.Rmd Bestand weergeven



```{r child="../man/fragments/_themes.Rmd"} ```{r child="../man/fragments/_themes.Rmd"}
``` ```


## Colors

```{r child="../man/fragments/_colors.Rmd"}
```

Laden…
Annuleren
Opslaan