Garrick Aden-Buie
59f585dcd0
Add tests for css-reading functions
6 anni fa
Garrick Aden-Buie
86f096b56c
Read and load css variables from xaringan css files
6 anni fa
Garrick Aden-Buie
46643574e3
Store whether font is from google fonts in css vars
6 anni fa
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 anni fa
Garrick Aden-Buie
86a024a53f
Use CSS variables in themed CSS
6 anni fa
Garrick Aden-Buie
4d421ae106
Throw an error if c(font_string, google_font())
Closes #19
6 anni fa
Garrick Aden-Buie
dac3f90311
grkstyle
6 anni fa
Garrick Aden-Buie
d3d61afe3a
remove unused coolors-related functions
6 anni fa
Garrick Aden-Buie
2f4b61bbb2
Fix issue with bare google_font() passed to extra_fonts
6 anni fa
Garrick Aden-Buie
240178f53a
Fix issue with bare google_font() passed to extra_fonts
6 anni fa
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 anni fa
Garrick Aden-Buie
e7a1bfb206
Change header_background_enable to header_background_auto for #10
7 anni fa
Garrick Aden-Buie
0c7dd01291
Move theme generation helpers into package and add tests
7 anni fa
Garrick Aden-Buie
f3a6e7a9b7
Add header_background_enable and options for #10
7 anni fa
Garrick Aden-Buie
356c6e5184
Include xaringanthemer package version in output header
7 anni fa
Garrick Aden-Buie
e80c164657
Fix a couple minor issues with whisker template
7 anni fa
Garrick Aden-Buie
08d75c118b
Add tests for theme css output
7 anni fa
Garrick Aden-Buie
65624d823a
Fix #6 construct write_xaringan_theme using its argument names
8 anni fa
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 anni fa
Garrick Aden-Buie
316f2c32c2
Initial commit, MWP
- write_xaringan_theme works
- mono_* works
8 anni fa