Procházet zdrojové kódy

switch badge to travis-ci.com

tags/v0.3.0
Garrick Aden-Buie před 6 roky
rodič
revize
d1568c558f
2 změnil soubory, kde provedl 22 přidání a 12 odebrání
  1. +1
    -1
      README.Rmd
  2. +21
    -11
      README.md

+ 1
- 1
README.Rmd Zobrazit soubor

<!-- badges: start --> <!-- badges: start -->
[![CRAN status](https://www.r-pkg.org/badges/version/xaringanthemer)](https://CRAN.R-project.org/package=xaringanthemer) [![CRAN status](https://www.r-pkg.org/badges/version/xaringanthemer)](https://CRAN.R-project.org/package=xaringanthemer)
[![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://www.tidyverse.org/lifecycle/#stable) [![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://www.tidyverse.org/lifecycle/#stable)
[![travis](https://travis-ci.org/gadenbuie/xaringanthemer.svg?branch=master)](https://travis-ci.org/gadenbuie/xaringanthemer)
[![travis](https://travis-ci.com/gadenbuie/xaringanthemer.svg?branch=master)](https://travis-ci.com/gadenbuie/xaringanthemer)
[![Codecov](https://img.shields.io/codecov/c/github/gadenbuie/xaringanthemer)](https://codecov.io/github/gadenbuie/xaringanthemer) [![Codecov](https://img.shields.io/codecov/c/github/gadenbuie/xaringanthemer)](https://codecov.io/github/gadenbuie/xaringanthemer)
<!-- badges: end --> <!-- badges: end -->



+ 21
- 11
README.md Zobrazit soubor

status](https://www.r-pkg.org/badges/version/xaringanthemer)](https://CRAN.R-project.org/package=xaringanthemer) status](https://www.r-pkg.org/badges/version/xaringanthemer)](https://CRAN.R-project.org/package=xaringanthemer)
[![Lifecycle: [![Lifecycle:
stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://www.tidyverse.org/lifecycle/#stable) stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://www.tidyverse.org/lifecycle/#stable)
[![travis](https://travis-ci.org/gadenbuie/xaringanthemer.svg?branch=master)](https://travis-ci.org/gadenbuie/xaringanthemer)
[![travis](https://travis-ci.com/gadenbuie/xaringanthemer.svg?branch=master)](https://travis-ci.com/gadenbuie/xaringanthemer)
[![Codecov](https://img.shields.io/codecov/c/github/gadenbuie/xaringanthemer)](https://codecov.io/github/gadenbuie/xaringanthemer) [![Codecov](https://img.shields.io/codecov/c/github/gadenbuie/xaringanthemer)](https://codecov.io/github/gadenbuie/xaringanthemer)
<!-- badges: end --> <!-- badges: end -->


Give your [xaringan](https://github.com/yihui/xaringan) slides some Give your [xaringan](https://github.com/yihui/xaringan) slides some
style with **xaringanthemer** within your `slides.Rmd` file without style with **xaringanthemer** within your `slides.Rmd` file without
(much) CSS.
(much)
CSS.


<img src="https://raw.githubusercontent.com/gadenbuie/xaringanthemer/assets/examples.gif" alt="Animation previewing many xaringanthemer themes" /> <img src="https://raw.githubusercontent.com/gadenbuie/xaringanthemer/assets/examples.gif" alt="Animation previewing many xaringanthemer themes" />


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


<img src="https://raw.githubusercontent.com/gadenbuie/xaringanthemer/assets/example-rstudio-completion.gif" alt="Demonstration of argument auto-completion with RStudio" /> <img src="https://raw.githubusercontent.com/gadenbuie/xaringanthemer/assets/example-rstudio-completion.gif" alt="Demonstration of argument auto-completion with RStudio" />


### R Markdown Template in RStudio ### R Markdown Template in RStudio


You can also skip the above and just create a *Ninja Themed 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> <center>




#### `style_mono_light()` #### `style_mono_light()`


A light theme based around a single color.
A light theme based around a single
color.


``` r ``` r
style_mono_light(base_color = "#23395b") style_mono_light(base_color = "#23395b")


#### `style_mono_dark()` #### `style_mono_dark()`


A dark theme based around a single color.
A dark theme based around a single
color.


``` r ``` r
style_mono_dark(base_color = "#cbf7ed") style_mono_dark(base_color = "#cbf7ed")
#### `style_mono_accent()` #### `style_mono_accent()`


The default xaringan theme with a single color used for color accents on The default xaringan theme with a single color used for color accents on
select elements (headers, bold text, etc.).
select elements (headers, bold text,
etc.).


``` r ``` r
style_mono_accent(base_color = "#43418A") style_mono_accent(base_color = "#43418A")
#### `style_mono_accent_inverse()` #### `style_mono_accent_inverse()`


An “inverted” default xaringan theme with a single color used for color 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 ``` r
style_mono_accent_inverse(base_color = "#3C989E") style_mono_accent_inverse(base_color = "#3C989E")


#### `style_duo()` #### `style_duo()`


A two-colored theme based on a primary and secondary color.
A two-colored theme based on a primary and secondary
color.


``` r ``` r
style_duo(primary_color = "#1F4257", secondary_color = "#F97B64") style_duo(primary_color = "#1F4257", secondary_color = "#F97B64")


#### `style_duo_accent()` #### `style_duo_accent()`


The default Xaringan theme with two accent colors.
The default Xaringan theme with two accent
colors.


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


#### `style_duo_accent_inverse()` #### `style_duo_accent_inverse()`


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


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

Načítá se…
Zrušit
Uložit