Garrick Aden-Buie
59f585dcd0
Add tests for css-reading functions
6 年之前
Garrick Aden-Buie
357ed09734
remove pipe from find_xaringan_themer_css()
6 年之前
Garrick Aden-Buie
86f096b56c
Read and load css variables from xaringan css files
6 年之前
Garrick Aden-Buie
46643574e3
Store whether font is from google fonts in css vars
6 年之前
Garrick Aden-Buie
e65d7b1dcf
Feature: custom color classes
Inspired by tachyons, easily add additional colors to slides using the `colors` argument. The argument takes a named list or vector and adds a CSS variable with the color name. Also added are .<color> and .bg-<name> classes.
6 年之前
Garrick Aden-Buie
a324320f80
revert styling mishaps in theme_settings.R
6 年之前
Garrick Aden-Buie
86a024a53f
Use CSS variables in themed CSS
6 年之前
Garrick Aden-Buie
adc43779f9
More rcmd check fixes
* fix style of ggplot2, xaringan pkg refs
* fix name of theme_xaringan_restore_defaults()
6 年之前
Garrick Aden-Buie
6ddb81e9c1
Fix a few rcmd check issues
6 年之前
Garrick Aden-Buie
60f5b5a29f
Update news with extra_fonts improvements
6 年之前
Garrick Aden-Buie
4d421ae106
Throw an error if c(font_string, google_font())
Closes #19
6 年之前
Garrick Aden-Buie
5697cc7807
Merge branch 'master' into dev
6 年之前
Garrick Aden-Buie
460f441a93
add "append" arg to `write_extra_css()` ( #20 )
add "append" arg to `write_extra_css()`
6 年之前
pat-s
ff4c364920
add append arg
6 年之前
Garrick Aden-Buie
ff77a432c7
Merge branch 'ggplot2-scales' into dev
6 年之前
Garrick Aden-Buie
14ed1b7dba
Minor tweak in docs
6 年之前
Garrick Aden-Buie
dac3f90311
grkstyle
6 年之前
Garrick Aden-Buie
699d107292
mark ggplot2 themes and functions as experimental
6 年之前
Garrick Aden-Buie
ca946af6b4
Update news about ggplot2 themes
6 年之前
Garrick Aden-Buie
ff09d09de7
bump dev version
6 年之前
Garrick Aden-Buie
d3d61afe3a
remove unused coolors-related functions
6 年之前
Garrick Aden-Buie
c4a10d6af5
Fix duplicated extra fonts in output from template
6 年之前
Garrick Aden-Buie
2f4b61bbb2
Fix issue with bare google_font() passed to extra_fonts
6 年之前
Garrick Aden-Buie
240178f53a
Fix issue with bare google_font() passed to extra_fonts
6 年之前
Garrick Aden-Buie
7202d2ab5a
Fixup scale_xaringan...()
7 年之前
Garrick Aden-Buie
f642e56e7a
Fix scale_xaringan_discrete()
7 年之前
Garrick Aden-Buie
2c836ff3c5
WIP adding scale_xaringan...
not working because {colorspace} doesn't force evaluation of
input arguments to scale_color_xxx_xxx() before passing down
to sequential_hcl()
7 年之前
Garrick Aden-Buie
a1f275a638
Remove stringr dependency
7 年之前
Garrick Aden-Buie
9c9bdba7fe
note to self
7 年之前
Garrick Aden-Buie
9f00685e46
Tweak documentation of theme_xaringan_get_value()
...and renamed from get_xaringanthemer_value()
7 年之前
Garrick Aden-Buie
9a9d4b79c4
Update theme_xaringan*() examples and safer sysfonts font adder
Seems Droid Serif is no longer "in" Google Fonts
Need to remove all the warnings from docs
7 年之前
Garrick Aden-Buie
f67f42a5c8
Rename style functions to use style_ prefix
* e.g. style_duo() <- duo()
* style_xaringan <- write_xaringan_theme()
* style_extra_css <- write_extra_css()
* added NEWS entry
* updated docs and /docs
7 年之前
Garrick Aden-Buie
b0bce6e4f2
Add return values to ggplot2 theme docs
7 年之前
Garrick Aden-Buie
0d92aa75de
Fix duplicated "." in theme settings parameter descriptions
7 年之前
Garrick Aden-Buie
bfea283b54
Factor light-dark color test out of choose_dark_or_light()
7 年之前
Garrick Aden-Buie
5db3dce373
Add ggplot2 themes matching slide styles
7 年之前
Garrick Aden-Buie
402eb37141
Update news
7 年之前
Garrick Aden-Buie
e7a1bfb206
Change header_background_enable to header_background_auto for #10
7 年之前
Garrick Aden-Buie
0c7dd01291
Move theme generation helpers into package and add tests
7 年之前
Garrick Aden-Buie
d69a999e59
Fix typo with background_size_fallback
7 年之前
Garrick Aden-Buie
f3a6e7a9b7
Add header_background_enable and options for #10
7 年之前
Garrick Aden-Buie
356c6e5184
Include xaringanthemer package version in output header
7 年之前
Garrick Aden-Buie
ac49deea9f
sensible default for body param in setup_theme_function()
7 年之前
Garrick Aden-Buie
8c05d67c50
minor refactor of theme generation function
7 年之前
Garrick Aden-Buie
e80c164657
Fix a couple minor issues with whisker template
7 年之前
Garrick Aden-Buie
bceb3d404e
Rewrite template in mustache and use whisker
Also allow NULL or NA for template arguments but change default to NULL
7 年之前
Garrick Aden-Buie
08d75c118b
Add tests for theme css output
7 年之前
Garrick Aden-Buie
fc8f15aac7
Bump dev version 0.2.0.9000
7 年之前
Garrick Aden-Buie
511e00d464
v0.2.0
8 年之前
Garrick Aden-Buie
65624d823a
Fix #6 construct write_xaringan_theme using its argument names
8 年之前