Garrick Aden-Buie
cc3471131f
Documentation improvements
- Move long intro to pkgdown
- README is now much shorter
- Rename pkgdown "Get Started" to "Features"
- Add ggplot theme to quick intro
- Add pkgdown docs link to description
6 лет назад
Garrick Aden-Buie
78d38c2400
Add xaringanthemer_font_default()
Avoids note for long argument length and allows for more consistent checking if supplied arguments are default values
6 лет назад
Garrick Aden-Buie
4a94f7a641
Fix xaringan yaml documentation
6 лет назад
Garrick Aden-Buie
e883552cd2
Document the CSS property accepted by the various arguments
Closes #33
6 лет назад
Garrick Aden-Buie
2a4348e87c
Create colors based on style starter colors
E.g. primary_color and secondary_color in style_duo() become --primary and --secondary
6 лет назад
Garrick Aden-Buie
5e55c5646c
Add examples to color functions
6 лет назад
Garrick Aden-Buie
efe6ec9713
Add section on usage to all style functions
6 лет назад
Garrick Aden-Buie
b6df901b66
Add an example to each style function
6 лет назад
Garrick Aden-Buie
254bb0802c
Fix description of css variables in argument documentation
6 лет назад
Garrick Aden-Buie
6509095af2
Document CSS variables
6 лет назад
Garrick Aden-Buie
b1c45e52fb
Document new argument in a few more places
6 лет назад
Garrick Aden-Buie
b9a71b3a9f
Add preamble to section on themes
6 лет назад
Garrick Aden-Buie
71f29561e8
Document new font choices and generally improve font customization documentation
6 лет назад
Garrick Aden-Buie
9cefeb51d2
Add new colors argument to README
6 лет назад
Garrick Aden-Buie
763e4dcefd
Reflow roxygen tags in style_* functions
6 лет назад
Garrick Aden-Buie
aa7413b19d
Add missing theme declaration to scales examples
6 лет назад
Garrick Aden-Buie
899bb02f83
Add examples for scale_xaringan* functions
6 лет назад
Garrick Aden-Buie
3d8723e55f
ggplot2 theme features are maturing
6 лет назад
Garrick Aden-Buie
9fefdf5814
Don't rely on dot passing for theme_xarinan* functions
6 лет назад
Garrick Aden-Buie
85cd8124db
Add use_showtext option to theme_xaringan_base()
Fixes #31
6 лет назад
Garrick Aden-Buie
afe51d40d2
change inline fonts to use `em` not `rem`
6 лет назад
Garrick Aden-Buie
2db89c925b
Fix default table row even lightening percentage
6 лет назад
Garrick Aden-Buie
8fa287c256
Set background color of theme_xaringan_base plot example to match docs
6 лет назад
Garrick Aden-Buie
8f979684da
Update theme_xaringan* examples
6 лет назад
Garrick Aden-Buie
ce787d0af8
Add CRAN install instructions
6 лет назад
Garrick Aden-Buie
513572e4e3
Restructure pkgdown
- Moved images to assets branch
- Moved rmd fragments to man/fragments
6 лет назад
Garrick Aden-Buie
d87c8580b6
plot theme examples are interactive only
6 лет назад
Garrick Aden-Buie
f0912713b9
Soften table_row_even_background_color defaults
6 лет назад
Garrick Aden-Buie
283b21c15c
Update {lighten,darken}_color() documentation and add tests
6 лет назад
Garrick Aden-Buie
a5b040ca83
Move color functions from utils.R to colors.R and redoc
6 лет назад
Garrick Aden-Buie
802c2a557f
More ggplot tests, store font_is_google in pkg env
6 лет назад
Garrick Aden-Buie
d1cefe7fc6
Use system font stack for fallbacks
6 лет назад
Garrick Aden-Buie
4806fba416
Set default fonts via *_font_* instead of google_fonts
And add tests
6 лет назад
Garrick Aden-Buie
d0c8a5b45b
Add css_file arg to theme_xaringan_inverse()
6 лет назад
Garrick Aden-Buie
85d637bae3
Change default fonts to Cabin (heading) and Noto Sans (body)
Closes #28
6 лет назад
Garrick Aden-Buie
c538ce4d6c
Fix header_background template variables
header_background_padding is now learned from the slide padding so that left and right margins match
6 лет назад
Garrick Aden-Buie
85f512caa9
Add base_font_size and convert font sizes to rem
Now, font size is inherited from `base_font_size` which should be in absolute units.
6 лет назад
Garrick Aden-Buie
86f096b56c
Read and load css variables from xaringan css files
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
adc43779f9
More rcmd check fixes
* fix style of ggplot2, xaringan pkg refs
* fix name of theme_xaringan_restore_defaults()
6 лет назад
pat-s
ff4c364920
add append arg
6 лет назад
Garrick Aden-Buie
dac3f90311
grkstyle
6 лет назад
Garrick Aden-Buie
699d107292
mark ggplot2 themes and functions as experimental
6 лет назад
Garrick Aden-Buie
7202d2ab5a
Fixup scale_xaringan...()
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
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 лет назад