Garrick Aden-Buie
bceb3d404e
Rewrite template in mustache and use whisker
Also allow NULL or NA for template arguments but change default to NULL
преди 7 години
Garrick Aden-Buie
08d75c118b
Add tests for theme css output
преди 7 години
Garrick Aden-Buie
9215427281
Fix documentation issues
- google_font() not google_fonts()
- make ranges code to avoide link
преди 8 години
Garrick Aden-Buie
7a4370a8bd
Add all theme functions to "themes" family
преди 8 години
Garrick Aden-Buie
503c125301
Add slide background image and padding template variables
преди 8 години
Garrick Aden-Buie
025a94c4a5
BREAKING - blockquote_left_border_color replaces blockquote_left_color
преди 8 години
Garrick Aden-Buie
c6c9aec805
Use markdown instead of \code{} in params
преди 8 години
Garrick Aden-Buie
75390330bd
Add affected CSS element to parameter description
преди 8 години
Garrick Aden-Buie
c8a3b12754
Fix text_size -> text_font_size
Add "Font" to documentation: "Text Font Size"
преди 8 години
Garrick Aden-Buie
db7f5dd977
Revert a25f7f32 - header text sizes in px
Header fonts are generally not the same font as text font, so linking the two requires tweaking other properties (padding, etc.) of the header.
преди 8 години
Garrick Aden-Buie
a25f7f3295
Set base size as text_size in px, rest in em
преди 8 години
Garrick Aden-Buie
d064318976
Add title_slide_background_color and title_slide_background_position
преди 8 години
Garrick Aden-Buie
bd5b5ae00c
Add extra_fonts paramater and template variable
преди 8 години
Garrick Aden-Buie
401b25f969
Rename font size arguments and make code font size relative
преди 8 години
Garrick Aden-Buie
b9c3a495c7
Roxygen templates don't do markdown: `` -> \code{}
преди 8 години
Garrick Aden-Buie
1372aa7a7e
Add write_extra_css and extra_css parameters
Also fixed an issue with `outfile` argument not getting passed back to write_xaringan_theme!
преди 8 години
Garrick Aden-Buie
57ab178af5
Rename CSS output file to xaringan-themer.css
преди 8 години
Garrick Aden-Buie
2bb0fd418a
Separate sizes for code inline and code blocks
преди 8 години
Garrick Aden-Buie
07b573ed50
Add text_size* template variables
преди 8 години
Garrick Aden-Buie
b99959a33b
Add apply_alpha and choose_dark_or_light functions
преди 8 години
Garrick Aden-Buie
1de2bdbdb4
Theme functions are now generated from template variables
using inst/scripts/generate_theme_functions.R
преди 8 години
Garrick Aden-Buie
ecd23501be
Add @family Monotone themes
преди 8 години
Garrick Aden-Buie
ff1ca655b2
Move theme settings to separate file
Allows me to generate function signature and documentation automatically, so changes to master template_variables can propagate to wrapper functions.
Also makes it easy to have all template parameters as explicit function arguments for awesome tab completion.
преди 8 години
Garrick Aden-Buie
316f2c32c2
Initial commit, MWP
- write_xaringan_theme works
- mono_* works
преди 8 години