Garrick Aden-Buie
6509095af2
Document CSS variables
6 anni fa
Garrick Aden-Buie
7d8a000dc6
Move template_variables into internal data, created via script in data-raw/
6 anni fa
Garrick Aden-Buie
be295b4e31
Fix issue with tibble 3.0.0
Closes #32
6 anni fa
Garrick Aden-Buie
dd7eef0249
Update element description when modifying multiple rules
6 anni fa
Garrick Aden-Buie
afe51d40d2
change inline fonts to use `em` not `rem`
6 anni fa
Garrick Aden-Buie
2db89c925b
Fix default table row even lightening percentage
6 anni fa
Garrick Aden-Buie
f0912713b9
Soften table_row_even_background_color defaults
6 anni fa
Garrick Aden-Buie
d1cefe7fc6
Use system font stack for fallbacks
6 anni fa
Garrick Aden-Buie
4806fba416
Set default fonts via *_font_* instead of google_fonts
And add tests
6 anni fa
Garrick Aden-Buie
85d637bae3
Change default fonts to Cabin (heading) and Noto Sans (body)
Closes #28
6 anni fa
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 anni fa
Garrick Aden-Buie
85f512caa9
Add base_font_size and convert font sizes to rem
Now, font size is inherited from `base_font_size` which should be in absolute units.
6 anni fa
Garrick Aden-Buie
8085e7d078
exclude theme_settings.R from code coverage
6 anni fa
Garrick Aden-Buie
a324320f80
revert styling mishaps in theme_settings.R
6 anni fa
Garrick Aden-Buie
dac3f90311
grkstyle
6 anni fa
Garrick Aden-Buie
0d92aa75de
Fix duplicated "." in theme settings parameter descriptions
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
bceb3d404e
Rewrite template in mustache and use whisker
Also allow NULL or NA for template arguments but change default to NULL
7 anni fa
Garrick Aden-Buie
503c125301
Add slide background image and padding template variables
8 anni fa
Garrick Aden-Buie
025a94c4a5
BREAKING - blockquote_left_border_color replaces blockquote_left_color
8 anni fa
Garrick Aden-Buie
c6c9aec805
Use markdown instead of \code{} in params
8 anni fa
Garrick Aden-Buie
75390330bd
Add affected CSS element to parameter description
8 anni fa
Garrick Aden-Buie
3bef06b3be
Add footnote theme parameters
- Also reorder code params
8 anni fa
Garrick Aden-Buie
c8a3b12754
Fix text_size -> text_font_size
Add "Font" to documentation: "Text Font Size"
8 anni fa
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 anni fa
Garrick Aden-Buie
a25f7f3295
Set base size as text_size in px, rest in em
8 anni fa
Garrick Aden-Buie
d064318976
Add title_slide_background_color and title_slide_background_position
8 anni fa
Garrick Aden-Buie
401b25f969
Rename font size arguments and make code font size relative
8 anni fa
Garrick Aden-Buie
504fcc60f3
Invert choice of slide highlights in duo_accent_inverse
8 anni fa
Garrick Aden-Buie
2bb0fd418a
Separate sizes for code inline and code blocks
8 anni fa
Garrick Aden-Buie
502459ef87
Change mono_accent default color to #43418A
8 anni fa
Garrick Aden-Buie
1d2efb4267
Fix NA values in solarized themes
8 anni fa
Garrick Aden-Buie
07b573ed50
Add text_size* template variables
8 anni fa
Garrick Aden-Buie
42da34c7c5
Add solarized dark and light themes
8 anni fa
Garrick Aden-Buie
0b97b55341
Add duotone themes
8 anni fa
Garrick Aden-Buie
b99959a33b
Add apply_alpha and choose_dark_or_light functions
8 anni fa
Garrick Aden-Buie
92bc56f9b2
Change mono_accent_inverse() default color
8 anni fa
Garrick Aden-Buie
4467697424
Update code_highlight_color to be transparent
8 anni fa
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 anni fa