Garrick Aden-Buie
b5c6779776
Update css test files after change in defaults
6 years ago
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 years ago
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 years ago
Garrick Aden-Buie
afe51d40d2
change inline fonts to use `em` not `rem`
6 years ago
Garrick Aden-Buie
548a8a1a51
Update css reference files for tests
6 years ago
Garrick Aden-Buie
a22ca99a77
Update test cases for softened duo themes
6 years ago
Garrick Aden-Buie
c9f2cec8ca
add another google font theme test
6 years ago
Garrick Aden-Buie
d1cefe7fc6
Use system font stack for fallbacks
6 years ago
Garrick Aden-Buie
4806fba416
Set default fonts via *_font_* instead of google_fonts
And add tests
6 years ago
Garrick Aden-Buie
4e36e9ad18
Set height/width to 100% in .remark-slide-content
Fixes #24
6 years ago
Garrick Aden-Buie
af15b74b8b
update function name in css help text header
6 years ago
Garrick Aden-Buie
e6fa1328ee
only worry about spaces in google font family
6 years ago
Garrick Aden-Buie
27827fb149
Add &display=swap to google font urls
6 years ago
Garrick Aden-Buie
85d637bae3
Change default fonts to Cabin (heading) and Noto Sans (body)
Closes #28
6 years ago
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 years ago
Garrick Aden-Buie
13821a7004
work around droid serif being de-listed from google fonts
See google/fonts issue number 1223
6 years ago
Garrick Aden-Buie
46643574e3
Store whether font is from google fonts in css vars
6 years ago
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 years ago
Garrick Aden-Buie
86a024a53f
Use CSS variables in themed CSS
6 years ago
Garrick Aden-Buie
e7a1bfb206
Change header_background_enable to header_background_auto for #10
7 years ago
Garrick Aden-Buie
f3a6e7a9b7
Add header_background_enable and options for #10
7 years ago
Garrick Aden-Buie
356c6e5184
Include xaringanthemer package version in output header
7 years ago
Garrick Aden-Buie
e80c164657
Fix a couple minor issues with whisker template
7 years ago
Garrick Aden-Buie
08d75c118b
Add tests for theme css output
7 years ago