Garrick Aden-Buie
930699e62e
chore: Also set `na.value = "grey50"` in `scale_xaringan_discrete()`.
11 месяцев назад
Garrick Aden-Buie
de1a43c5fb
chore: Use ggplot2's default color scale `na.value`
11 месяцев назад
Teun van den Brand
8264707848
use logical `NA` that can be cast to character
11 месяцев назад
Garrick Aden-Buie
2d981e144e
v0.4.3 ( #81 )
* Increment version number to 0.4.3
* chore: add cran comments
* Fix indents and invisible characters (GitHub Actions)
* Re-build README.Rmd (GitHub Actions)
* Re-build index.Rmd (GitHub Actions)
* chore: urlchecker::url_update()
* chore: align and register s3 print methods
* tests: Update and fix tests
* docs: update link in thanks
---------
Co-authored-by: gadenbuie <gadenbuie@users.noreply.github.com>
1 год назад
Teun van den Brand
fc0ff801e8
Compatibility with future ggplot2 ( #79 )
* use UK spelling of colour
* Increment version number to 0.4.2.9000
* docs: add NEWS item
* chore: devtools::document()
---------
Co-authored-by: Garrick Aden-Buie <garrick@adenbuie.com>
1 год назад
github-actions[bot]
09e2ad9831
Automated package maintenance ( #75 )
3 лет назад
Garrick Aden-Buie
73e8cd7702
* Use `inverse_text_color` as the default for `inverse_header_color` in most places
Fixes #60
3 лет назад
Garrick Aden-Buie
21269a0fec
* Remove names from key theme colors ( #62 )
Fixes #62
3 лет назад
Garrick Aden-Buie
66852c14e0
fix whitespace
4 лет назад
jdlom
c606bdf7c9
change regex pattern to match valid css class names ( #69 )
* The style functions are now more permissive about color names in the `color` argument. Color names should be valid CSS classes that can also be used as CSS variable names, but the `style_` function only stops with an error if the color name contains spaces. (@jdlom #69 )
4 лет назад
Garrick Aden-Buie
b271eaccb7
Set global or chunk fig.showtext = FALSE to keep from setting this option on load
For #36
5 лет назад
Garrick Aden-Buie
ddcbccf55c
Don't set `fig.showtext` if it's already set to `FALSE`
Fixes #36
5 лет назад
Garrick Aden-Buie
ea5d1de808
Add `link_decoration` parameter to style functions ( #57 )
5 лет назад
Garrick Aden-Buie
b9bea9db0d
Detect presence of {showtext} as default of `use_showtext` ( #56 )
Updates color examples and adds left-column headings demo to skeleton
5 лет назад
Garrick Aden-Buie
bdde9ca706
Set slide number font size in rem ( #54 )
Fixes #53
5 лет назад
Garrick Aden-Buie
ff02422e23
Add text_bold_font_weight argument and css rule
Fixes #50
5 лет назад
Garrick Aden-Buie
dd57776684
v0.3.3
5 лет назад
Garrick Aden-Buie
2c068446e6
feat: Add header_font_family_fallback
Fixes #41
5 лет назад
Garrick Aden-Buie
8a8ebd5e41
feat: Add inverse_link_color to styles
Fixes #44
5 лет назад
Frie
76a5889a3c
Fix small typo in roxygen for google_font
Just a very small typo I stumbled upon while reading the help. :)
6 лет назад
Garrick Aden-Buie
e5ecb0eca9
Fix #34
6 лет назад
Garrick Aden-Buie
7a5472a9ae
Add missing Rd tags, namely value/@eturn
6 лет назад
Garrick Aden-Buie
21c6d0e83f
Ask before downloading "Droid Serif" to a temporary file
6 лет назад
Garrick Aden-Buie
fa8dd3813c
Guarantee that missing values are assigned in the function environment only
6 лет назад
Garrick Aden-Buie
9e27e3522a
spellcheck
6 лет назад
Garrick Aden-Buie
d1d3042906
Link to ggplot2-themes vignette in various places
6 лет назад
Garrick Aden-Buie
f7284abf41
Change formatting of colorspace function links in roxygen
6 лет назад
Garrick Aden-Buie
34bf66dbca
Warn if colors used by theme_xaringan() are not in hex format
6 лет назад
Garrick Aden-Buie
1749347745
Add check_color_is_hex()
6 лет назад
Garrick Aden-Buie
b68578bb62
rethinking check
6 лет назад
Garrick Aden-Buie
74c4927910
no rlang, use base warning
6 лет назад
Garrick Aden-Buie
55fe9084c5
theme_xaringan() and friends accept google_fonts()s for font arguments
6 лет назад
Garrick Aden-Buie
d8ec41f343
Ensure that text_font reaches theme_xaringan_set_defaults() when set_ggplot_defaults == TRUE
6 лет назад
Garrick Aden-Buie
fc1b0610f3
suppress partial match warning from colorspace::sequential_hcl()
6 лет назад
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 лет назад