😎 Give your xaringan slides some style
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
Garrick Aden-Buie 403b1dfa7a Remove slide numbers on title slide by default hace 8 años
R Fix NA values in solarized themes hace 8 años
docs Squash screenshot hace 8 años
inst Remove slide numbers on title slide by default hace 8 años
man Fix NA values in solarized themes hace 8 años
man-roxygen Add solarized dark and light themes hace 8 años
tests Initial commit, MWP hace 8 años
.Rbuildignore Oops, setup README.Rmd > github README.md hace 8 años
.gitignore Initial commit, MWP hace 8 años
DESCRIPTION Add package dependencies hace 8 años
NAMESPACE Add solarized dark and light themes hace 8 años
README.Rmd Add screenshots hace 8 años
README.md Add screenshots hace 8 años
xaringanthemer.Rproj Initial commit, MWP hace 8 años

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.)