Garrick Aden-Buie
46643574e3
Store whether font is from google fonts in css vars
6 лет назад
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 лет назад
Garrick Aden-Buie
86a024a53f
Use CSS variables in themed CSS
6 лет назад
Garrick Aden-Buie
dac3f90311
grkstyle
6 лет назад
Garrick Aden-Buie
c4a10d6af5
Fix duplicated extra fonts in output from template
6 лет назад
Garrick Aden-Buie
a1f275a638
Remove stringr dependency
7 лет назад
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
7 лет назад
Garrick Aden-Buie
5db3dce373
Add ggplot2 themes matching slide styles
7 лет назад
Garrick Aden-Buie
e7a1bfb206
Change header_background_enable to header_background_auto for #10
7 лет назад
Garrick Aden-Buie
0c7dd01291
Move theme generation helpers into package and add tests
7 лет назад
Garrick Aden-Buie
d69a999e59
Fix typo with background_size_fallback
7 лет назад
Garrick Aden-Buie
f3a6e7a9b7
Add header_background_enable and options for #10
7 лет назад
Garrick Aden-Buie
356c6e5184
Include xaringanthemer package version in output header
7 лет назад
Garrick Aden-Buie
ac49deea9f
sensible default for body param in setup_theme_function()
7 лет назад
Garrick Aden-Buie
8c05d67c50
minor refactor of theme generation function
7 лет назад
Garrick Aden-Buie
e80c164657
Fix a couple minor issues with whisker template
7 лет назад
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
5cc6f7eacc
Fix #5 replace text-side with font-size in css template
8 лет назад
Garrick Aden-Buie
455579c25c
Fix #4 Update css template
Avoids table css being applied to help text overlay
8 лет назад
Garrick Aden-Buie
4f879154ec
Recommend xaringan-themer chunk instead of setup
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
862f265285
Add header to xaringan-themer.css file
8 лет назад
Garrick Aden-Buie
7a9b5b79b0
Use writeLines() instead of cat()
8 лет назад
Garrick Aden-Buie
75390330bd
Add affected CSS element to parameter description
8 лет назад
Garrick Aden-Buie
3bef06b3be
Add footnote theme parameters
- Also reorder code params
8 лет назад
Garrick Aden-Buie
c8a3b12754
Fix text_size -> text_font_size
Add "Font" to documentation: "Text Font Size"
8 лет назад
Garrick Aden-Buie
9db5071cb8
Add xaringanthemer rmarkdown template
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
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
83da02301c
Move write_xaringan_theme to write_theme.R
8 лет назад
Garrick Aden-Buie
2bb0fd418a
Separate sizes for code inline and code blocks
8 лет назад
Garrick Aden-Buie
403b1dfa7a
Remove slide numbers on title slide by default
8 лет назад
Garrick Aden-Buie
07b573ed50
Add text_size* template variables
8 лет назад
Garrick Aden-Buie
42da34c7c5
Add solarized dark and light themes
8 лет назад
Garrick Aden-Buie
0b97b55341
Add duotone themes
8 лет назад
Garrick Aden-Buie
cf1ed9d81d
Fix typo in .title-slide CSS
8 лет назад
Garrick Aden-Buie
1c3937c93d
Minimally fix dataTable styles to match slides
8 лет назад
Garrick Aden-Buie
4f8008ea95
Define .title-slide *after*.inverse
8 лет назад
Garrick Aden-Buie
1de2bdbdb4
Theme functions are now generated from template variables
using inst/scripts/generate_theme_functions.R
8 лет назад
Garrick Aden-Buie
316f2c32c2
Initial commit, MWP
- write_xaringan_theme works
- mono_* works
8 лет назад