Garrick Aden-Buie
d0c8a5b45b
Add css_file arg to theme_xaringan_inverse()
hace 6 aƱos
Garrick Aden-Buie
d358596c70
Don't register default fonts with google if `google` is explicitly FALSE
hace 6 aƱos
Garrick Aden-Buie
f95db77d76
download.files is from {utils}
hace 6 aƱos
Garrick Aden-Buie
4e36e9ad18
Set height/width to 100% in .remark-slide-content
Fixes #24
hace 6 aƱos
Garrick Aden-Buie
af15b74b8b
update function name in css help text header
hace 6 aƱos
Garrick Aden-Buie
e6fa1328ee
only worry about spaces in google font family
hace 6 aƱos
Garrick Aden-Buie
27827fb149
Add &display=swap to google font urls
hace 6 aƱos
Garrick Aden-Buie
85d637bae3
Change default fonts to Cabin (heading) and Noto Sans (body)
Closes #28
hace 6 aƱos
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
hace 6 aƱos
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.
hace 6 aƱos
Garrick Aden-Buie
13821a7004
work around droid serif being de-listed from google fonts
See google/fonts issue number 1223
hace 6 aƱos
Garrick Aden-Buie
8085e7d078
exclude theme_settings.R from code coverage
hace 6 aƱos
Garrick Aden-Buie
315fe17983
Add test for print.google_font
hace 6 aƱos
Garrick Aden-Buie
59f585dcd0
Add tests for css-reading functions
hace 6 aƱos
Garrick Aden-Buie
357ed09734
remove pipe from find_xaringan_themer_css()
hace 6 aƱos
Garrick Aden-Buie
86f096b56c
Read and load css variables from xaringan css files
hace 6 aƱos
Garrick Aden-Buie
46643574e3
Store whether font is from google fonts in css vars
hace 6 aƱos
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.
hace 6 aƱos
Garrick Aden-Buie
a324320f80
revert styling mishaps in theme_settings.R
hace 6 aƱos
Garrick Aden-Buie
86a024a53f
Use CSS variables in themed CSS
hace 6 aƱos
Garrick Aden-Buie
adc43779f9
More rcmd check fixes
* fix style of ggplot2, xaringan pkg refs
* fix name of theme_xaringan_restore_defaults()
hace 6 aƱos
Garrick Aden-Buie
6ddb81e9c1
Fix a few rcmd check issues
hace 6 aƱos
Garrick Aden-Buie
60f5b5a29f
Update news with extra_fonts improvements
hace 6 aƱos
Garrick Aden-Buie
4d421ae106
Throw an error if c(font_string, google_font())
Closes #19
hace 6 aƱos
Garrick Aden-Buie
5697cc7807
Merge branch 'master' into dev
hace 6 aƱos
Garrick Aden-Buie
460f441a93
add "append" arg to `write_extra_css()` ( #20 )
add "append" arg to `write_extra_css()`
hace 6 aƱos
pat-s
ff4c364920
add append arg
hace 6 aƱos
Garrick Aden-Buie
ff77a432c7
Merge branch 'ggplot2-scales' into dev
hace 6 aƱos
Garrick Aden-Buie
14ed1b7dba
Minor tweak in docs
hace 6 aƱos
Garrick Aden-Buie
dac3f90311
grkstyle
hace 6 aƱos
Garrick Aden-Buie
699d107292
mark ggplot2 themes and functions as experimental
hace 6 aƱos
Garrick Aden-Buie
ca946af6b4
Update news about ggplot2 themes
hace 6 aƱos
Garrick Aden-Buie
ff09d09de7
bump dev version
hace 6 aƱos
Garrick Aden-Buie
d3d61afe3a
remove unused coolors-related functions
hace 6 aƱos
Garrick Aden-Buie
c4a10d6af5
Fix duplicated extra fonts in output from template
hace 6 aƱos
Garrick Aden-Buie
2f4b61bbb2
Fix issue with bare google_font() passed to extra_fonts
hace 6 aƱos
Garrick Aden-Buie
240178f53a
Fix issue with bare google_font() passed to extra_fonts
hace 6 aƱos
Garrick Aden-Buie
7202d2ab5a
Fixup scale_xaringan...()
hace 7 aƱos
Garrick Aden-Buie
f642e56e7a
Fix scale_xaringan_discrete()
hace 7 aƱos
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()
hace 7 aƱos
Garrick Aden-Buie
a1f275a638
Remove stringr dependency
hace 7 aƱos
Garrick Aden-Buie
9c9bdba7fe
note to self
hace 7 aƱos
Garrick Aden-Buie
9f00685e46
Tweak documentation of theme_xaringan_get_value()
...and renamed from get_xaringanthemer_value()
hace 7 aƱos
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
hace 7 aƱos
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
hace 7 aƱos
Garrick Aden-Buie
b0bce6e4f2
Add return values to ggplot2 theme docs
hace 7 aƱos
Garrick Aden-Buie
0d92aa75de
Fix duplicated "." in theme settings parameter descriptions
hace 7 aƱos
Garrick Aden-Buie
bfea283b54
Factor light-dark color test out of choose_dark_or_light()
hace 7 aƱos
Garrick Aden-Buie
5db3dce373
Add ggplot2 themes matching slide styles
hace 7 aƱos
Garrick Aden-Buie
402eb37141
Update news
hace 7 aƱos