Garrick Aden-Buie
73e8cd7702
* Use `inverse_text_color` as the default for `inverse_header_color` in most places
Fixes #60
пре 3 година
Garrick Aden-Buie
21269a0fec
* Remove names from key theme colors ( #62 )
Fixes #62
пре 3 година
Garrick Aden-Buie
ea5d1de808
Add `link_decoration` parameter to style functions ( #57 )
пре 5 година
Garrick Aden-Buie
bdde9ca706
Set slide number font size in rem ( #54 )
Fixes #53
пре 5 година
Garrick Aden-Buie
ff02422e23
Add text_bold_font_weight argument and css rule
Fixes #50
пре 5 година
Garrick Aden-Buie
2c068446e6
feat: Add header_font_family_fallback
Fixes #41
пре 5 година
Garrick Aden-Buie
8a8ebd5e41
feat: Add inverse_link_color to styles
Fixes #44
пре 5 година
Garrick Aden-Buie
9e27e3522a
spellcheck
пре 6 година
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 година
Garrick Aden-Buie
e883552cd2
Document the CSS property accepted by the various arguments
Closes #33
пре 6 година
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 година
Garrick Aden-Buie
efe6ec9713
Add section on usage to all style functions
пре 6 година
Garrick Aden-Buie
254bb0802c
Fix description of css variables in argument documentation
пре 6 година
Garrick Aden-Buie
763e4dcefd
Reflow roxygen tags in style_* functions
пре 6 година
Garrick Aden-Buie
afe51d40d2
change inline fonts to use `em` not `rem`
пре 6 година
Garrick Aden-Buie
d1cefe7fc6
Use system font stack for fallbacks
пре 6 година
Garrick Aden-Buie
e4dd983e24
Move extra param documentation to man-roxygen/theme_params.R
пре 6 година
Garrick Aden-Buie
4806fba416
Set default fonts via *_font_* instead of google_fonts
And add tests
пре 6 година
Garrick Aden-Buie
85d637bae3
Change default fonts to Cabin (heading) and Noto Sans (body)
Closes #28
пре 6 година
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 година
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 година
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
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
0d92aa75de
Fix duplicated "." in theme settings parameter descriptions
пре 7 година
Garrick Aden-Buie
e7a1bfb206
Change header_background_enable to header_background_auto for #10
пре 7 година
Garrick Aden-Buie
f3a6e7a9b7
Add header_background_enable and options for #10
пре 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
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
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
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
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 година