소스 검색

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

tags/v0.3.0
Garrick Aden-Buie 6 년 전
부모
커밋
f64b64e624
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. +4
    -4
      NEWS.md

+ 4
- 4
NEWS.md 파일 보기

@@ -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()`.

Loading…
취소
저장