Procházet zdrojové kódy

news: theme_xaringan() et al can use CSS variables from pre-written css file

tags/v0.3.0
Garrick Aden-Buie před 6 roky
rodič
revize
f64b64e624
1 změnil soubory, kde provedl 4 přidání a 4 odebrání
  1. +4
    -4
      NEWS.md

+ 4
- 4
NEWS.md Zobrazit soubor



* Adds `theme_xaringan()`, a ggplot2 theme that automatically uses the colors * Adds `theme_xaringan()`, a ggplot2 theme that automatically uses the colors
and font styles of your xaringanthemer style. Also adds and font styles of your xaringanthemer style. Also adds
`scale_xaringan_color()` and `scale_xaringan_fill()` functions that use the
primary colors for the color or fill aesthetics. These theme functions
currently do not work when knitr caching is enabled and require that the
xaringanthemer style functions are called within your xaringan slides Rmd file.
`scale_xaringan_discrete()` and `scale_xaringan_continuous()` functions that
use your slides' primary colors for the color or fill aesthetics. These theme
functions can recover the primary colors used in a xaringanthemer (>= 0.3.0)
CSS file even if you don't call the style function directly in your slides.


* Renamed all xaringanthemer functions that create CSS styles to use the * Renamed all xaringanthemer functions that create CSS styles to use the
prefix "`style_`". For example, `mono_light()` is now `style_mono_light()`. prefix "`style_`". For example, `mono_light()` is now `style_mono_light()`.

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