Garrick Aden-Buie
83ce9ee013
Change default colors of style_duo_accent() and ...inverse()
6 лет назад
Garrick Aden-Buie
c086ba95d8
Set plot title position to "plot" for ggplot2 >= 3.3.0
6 лет назад
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
8f57771d4e
Fix extra css heading so only added once
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
254bb0802c
Fix description of css variables in argument documentation
6 лет назад
Garrick Aden-Buie
6509095af2
Document CSS variables
6 лет назад
Garrick Aden-Buie
7d8a000dc6
Move template_variables into internal data, created via script in data-raw/
6 лет назад
Garrick Aden-Buie
be295b4e31
Fix issue with tibble 3.0.0
Closes #32
6 лет назад
Garrick Aden-Buie
139fc4b6a2
more informative error messages when using non-hex CSS colors
6 лет назад
Garrick Aden-Buie
763e4dcefd
Reflow roxygen tags in style_* functions
6 лет назад
Garrick Aden-Buie
dd7eef0249
Update element description when modifying multiple rules
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
e482243b09
wrap long error messages elsewhere in pkg
6 лет назад
Garrick Aden-Buie
77271b9634
Fix function name used in errors in register_font() and get_theme_font()
6 лет назад
Garrick Aden-Buie
1e6e51422c
Set fig.showtext chunk option on package load and error loudly if fig.showtext = FALSE for a chunk with theme_xaringan()
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
d87c8580b6
plot theme examples are interactive only
6 лет назад
Garrick Aden-Buie
8025d1ea61
list2css() handles duplicated selectors and property names
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
2aecc9fc10
Move requires_package to r/utils.R and add tests
6 лет назад
Garrick Aden-Buie
021053a0ee
Check that hex colors only have hex characters
6 лет назад
Garrick Aden-Buie
32af20667d
Fix style_extra_css, add heading arg, add tests
6 лет назад
Garrick Aden-Buie
0a7cf8014b
Add deprecation tests; fix write_extra_css() pass through
6 лет назад
Garrick Aden-Buie
8392cf653f
requires_xaringanthemer_env() doesn't have to check for theme elements
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
c544647c20
Add full_length_hex() because ggplot needs #123abc
6 лет назад
Garrick Aden-Buie
e4dd983e24
Move extra param documentation to man-roxygen/theme_params.R
6 лет назад
Garrick Aden-Buie
978d1ef9e5
output = NULL returns css and doesn't write file
style_* returns name of file invisibly
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
d358596c70
Don't register default fonts with google if `google` is explicitly FALSE
6 лет назад
Garrick Aden-Buie
f95db77d76
download.files is from {utils}
6 лет назад
Garrick Aden-Buie
e6fa1328ee
only worry about spaces in google font family
6 лет назад
Garrick Aden-Buie
27827fb149
Add &display=swap to google font urls
6 лет назад
Garrick Aden-Buie
85d637bae3
Change default fonts to Cabin (heading) and Noto Sans (body)
Closes #28
6 лет назад