Parcourir la source

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

tags/v0.3.0
Garrick Aden-Buie il y a 6 ans
Parent
révision
f64b64e624
1 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. +4
    -4
      NEWS.md

+ 4
- 4
NEWS.md Voir le fichier

@@ -2,10 +2,10 @@

* Adds `theme_xaringan()`, a ggplot2 theme that automatically uses the colors
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
prefix "`style_`". For example, `mono_light()` is now `style_mono_light()`.

Chargement…
Annuler
Enregistrer