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