😎 Give your xaringan slides some style
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
Garrick Aden-Buie 1de2bdbdb4 Theme functions are now generated from template variables vor 8 Jahren
R Theme functions are now generated from template variables vor 8 Jahren
docs Add screenshots vor 8 Jahren
inst Theme functions are now generated from template variables vor 8 Jahren
man Theme functions are now generated from template variables vor 8 Jahren
man-roxygen Theme functions are now generated from template variables vor 8 Jahren
tests Initial commit, MWP vor 8 Jahren
.Rbuildignore Oops, setup README.Rmd > github README.md vor 8 Jahren
.gitignore Initial commit, MWP vor 8 Jahren
DESCRIPTION Add package dependencies vor 8 Jahren
NAMESPACE Theme functions are now generated from template variables vor 8 Jahren
README.Rmd Add screenshots vor 8 Jahren
README.md Add screenshots vor 8 Jahren
xaringanthemer.Rproj Initial commit, MWP vor 8 Jahren

README.md

xaringanthemer

Easily style your xaringan slides with xaringanthemer

Installation

Currently, this is a work in progress. Try it yourself:

devtools::install_github("gadenbuie/xaringanthemer")

Make it work

To make it work, add css: xaringan-themed.css to your xaringan slides YAML header under xaringan::moonreader:

output:
  xaringan::moon_reader:
    lib_dir: libs
    css: xaringan-themed.css

Then, in the first knitr chunk, try this:

```{r setup}
options(htmltools.dir.version = FALSE)
library(xaringanthemer)
mono_light(
  base_color = "#1c5253",
  header_font_google = google_font("Josefin Sans"),
  text_font_google = google_font("Montserrat", "300", "300i"),
  code_font_google = google_font("Droid Mono")
)
```

Monotone Themes

Use these functions to automatically create a consistent color palette for your slides, based around a single color.

  • mono_light(): A light theme based around a single color

  • mono_dark(): A dark theme based around a single color

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

  • mono_accent_inverse(): An “inverted” default xaringan theme with a single color used for color accents on select elements (headers, bold text, etc.)