Преглед на файлове

Minor tweak in docs

tags/v0.3.0
Garrick Aden-Buie преди 6 години
родител
ревизия
14ed1b7dba
променени са 2 файла, в които са добавени 5 реда и са изтрити 10 реда
  1. +4
    -8
      README.md
  2. +1
    -2
      vignettes/template-variables.md

+ 4
- 8
README.md Целия файл

@@ -64,16 +64,14 @@ style_mono_light(
**xaringanthemer** is <kbd>Tab</kbd> friendly – [use autocomplete to
explore](#theme-settings) the [template
variables](vignettes/template-variables.md) that you can adjust in each
of the
themes\!
of the themes\!

<img src="vignettes/images/example-rstudio-completion.gif" width="100%" />

### R Markdown Template in RStudio

You can also skip the above and just create a *Ninja Themed
Presentation* from the New R Markdown Document menu in
RStudio.
Presentation* from the New R Markdown Document menu in RStudio.

<center>

@@ -122,8 +120,7 @@ style_mono_accent(base_color = "#43418A")
#### `style_mono_accent_inverse()`

An “inverted” 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.).

``` r
style_mono_accent_inverse(base_color = "#3C989E")
@@ -157,8 +154,7 @@ style_duo_accent(primary_color = "#006747", secondary_color = "#CFC493")

#### `style_duo_accent_inverse()`

An “inverted” default Xaringan theme with two accent
colors.
An “inverted” default Xaringan theme with two accent colors.

``` r
style_duo_accent_inverse(primary_color = "#006747", secondary_color = "#CFC493")

+ 1
- 2
vignettes/template-variables.md Целия файл

@@ -16,8 +16,7 @@ Note that themes, like `mono_accent()`, have additional parameters, but
with any theme function you can override the theme by directly setting
the arguments below when calling the theme function. For example, to use
`mono_accent()` with a different slide background color, you can call
`mono_accent(background_color =
"#abc123")`.
`mono_accent(background_color = "#abc123")`.

| variable | default | element | description |
| :-------------------------------------- | :------------------------------------------------------------------------------ | :------------------------------------------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

Loading…
Отказ
Запис