Garrick Aden-Buie
6444163cd7
* Use `.table-unshaded` class on a tables to prevent xaringanthemer's table heading and row shading ( #74 )
Fixes #74
3 vuotta sitten
Garrick Aden-Buie
1ff1cc29e1
Better horizontal alignment for code blocks ( #68 )
* Increment version number
* Better horizontal alignment of code blocks
* Use testthat 3e
* Use expect_known_output() because we need the css files
* Replace `with_mock()` with `mockery::stub()`
* Remove extraneous line
* Set ml and mr for all horiz alignment classes
* Add NEWS for #68
4 vuotta sitten
Garrick Aden-Buie
bdde9ca706
Set slide number font size in rem ( #54 )
Fixes #53
5 vuotta sitten
Garrick Aden-Buie
ff02422e23
Add text_bold_font_weight argument and css rule
Fixes #50
5 vuotta sitten
Garrick Aden-Buie
2c068446e6
feat: Add header_font_family_fallback
Fixes #41
5 vuotta sitten
Garrick Aden-Buie
8a8ebd5e41
feat: Add inverse_link_color to styles
Fixes #44
5 vuotta sitten
Garrick Aden-Buie
99af06835c
Clear floats only on element immediately after .pull-right
https://github.com/yihui/xaringan/pull/271
5 vuotta sitten
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 vuotta sitten
Garrick Aden-Buie
afe51d40d2
change inline fonts to use `em` not `rem`
6 vuotta sitten
Garrick Aden-Buie
d1cefe7fc6
Use system font stack for fallbacks
6 vuotta sitten
Garrick Aden-Buie
4806fba416
Set default fonts via *_font_* instead of google_fonts
And add tests
6 vuotta sitten
Garrick Aden-Buie
4e36e9ad18
Set height/width to 100% in .remark-slide-content
Fixes #24
6 vuotta sitten
Garrick Aden-Buie
af15b74b8b
update function name in css help text header
6 vuotta sitten
Garrick Aden-Buie
e6fa1328ee
only worry about spaces in google font family
6 vuotta sitten
Garrick Aden-Buie
27827fb149
Add &display=swap to google font urls
6 vuotta sitten
Garrick Aden-Buie
85d637bae3
Change default fonts to Cabin (heading) and Noto Sans (body)
Closes #28
6 vuotta sitten
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 vuotta sitten
Garrick Aden-Buie
13821a7004
work around droid serif being de-listed from google fonts
See google/fonts issue number 1223
6 vuotta sitten
Garrick Aden-Buie
46643574e3
Store whether font is from google fonts in css vars
6 vuotta sitten
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 vuotta sitten
Garrick Aden-Buie
86a024a53f
Use CSS variables in themed CSS
6 vuotta sitten
Garrick Aden-Buie
e7a1bfb206
Change header_background_enable to header_background_auto for #10
7 vuotta sitten
Garrick Aden-Buie
f3a6e7a9b7
Add header_background_enable and options for #10
7 vuotta sitten
Garrick Aden-Buie
356c6e5184
Include xaringanthemer package version in output header
7 vuotta sitten
Garrick Aden-Buie
e80c164657
Fix a couple minor issues with whisker template
7 vuotta sitten
Garrick Aden-Buie
08d75c118b
Add tests for theme css output
7 vuotta sitten