| @@ -1,53 +1,53 @@ | |||
| #' @param primary_color Duotone Primary Color, defaults to #1F4257 | |||
| #' @param secondary_color Duotone Secondary Color, defaults to #F97B64 | |||
| #' @param text_color Text Color, defaults to `choose_dark_or_light(primary_color, darken_color(primary_color, 0.9), lighten_color(secondary_color, 0.99))` | |||
| #' @param header_color Header Color, defaults to `secondary_color` | |||
| #' @param background_color Slide Background Color, defaults to `primary_color` | |||
| #' @param link_color Link Color, defaults to `secondary_color` | |||
| #' @param text_bold_color Bold Text Color, defaults to `secondary_color` | |||
| #' @param text_slide_number_color Slide Number Color, defaults to `text_color` | |||
| #' @param code_highlight_color Code Line Highlight, defaults to rgba(255,255,0,0.5) | |||
| #' @param code_inline_color Inline Code Color, defaults to `secondary_color` | |||
| #' @param code_inline_background_color Inline Code Background Color, defaults to NA | |||
| #' @param code_inline_font_size Inline Code Text Font Size, defaults to 1em | |||
| #' @param inverse_background_color Inverse Background Color, defaults to `secondary_color` | |||
| #' @param inverse_text_color Inverse Text Color, defaults to `primary_color` | |||
| #' @param inverse_text_shadow Enables Shadow on text of inverse slides, defaults to `FALSE` | |||
| #' @param inverse_header_color Inverse Header Color, defaults to `primary_color` | |||
| #' @param title_slide_text_color Title Slide Text Color, defaults to `secondary_color` | |||
| #' @param title_slide_background_color Title Slide Background Color, defaults to `primary_color` | |||
| #' @param title_slide_background_image Title Slide Background Image URL, defaults to NA | |||
| #' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set, defaults to NA | |||
| #' @param title_slide_background_position Title Slide Background Image Position, defaults to NA | |||
| #' @param footnote_color Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}`), defaults to NA | |||
| #' @param footnote_font_size Footnote font size, defaults to 90% | |||
| #' @param footnote_position_bottom Footnote location from bottom of screen, defaults to 3em | |||
| #' @param left_column_subtle_color Left Column Text (not last), defaults to `apply_alpha(secondary_color, 0.6)` | |||
| #' @param left_column_selected_color Left Column Current Selection, defaults to `secondary_color` | |||
| #' @param blockquote_left_color Blockquote Left Border Color, defaults to `apply_alpha(secondary_color, 0.5)` | |||
| #' @param table_border_color Table top/bottom border, defaults to #666 | |||
| #' @param table_row_border_color Table row inner bottom border, defaults to #ddd | |||
| #' @param table_row_even_background_color Table Even Row Background Color, defaults to `lighten_color(primary_color, 0.3)` | |||
| #' @param text_font_size Slide Body Text Font Size, defaults to 20px | |||
| #' @param header_h1_font_size h1 Header Text Font Size, defaults to 55px | |||
| #' @param header_h2_font_size h2 Header Text Font Size, defaults to 45px | |||
| #' @param header_h3_font_size h3 Header Text Font Size, defaults to 35px | |||
| #' @param text_slide_number_font_size Slide Number Text Font Size, defaults to 0.9em | |||
| #' @param text_font_google Use `google_font()` to specify body font, defaults to `NULL` | |||
| #' @param text_font_family Body Text Font Family, defaults to 'Droid Serif' | |||
| #' @param text_font_weight Body Text Font Weight, defaults to normal | |||
| #' @param text_font_url Body Text Font URL(s), defaults to https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic | |||
| #' @param text_font_family_fallback Body Text Font Fallbacks, defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC' | |||
| #' @param text_font_base Body Text Base Font (Total Failure Fallback), defaults to serif | |||
| #' @param header_font_google Use `google_font()` to specify header font, defaults to `NULL` | |||
| #' @param header_font_family Header Font Family, defaults to 'Yanone Kaffeesatz' | |||
| #' @param header_font_weight Header Font Weight, defaults to normal | |||
| #' @param header_font_url Header Font URL, defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz | |||
| #' @param code_font_google Use `google_font()` to specify code font, defaults to `NULL` | |||
| #' @param code_font_family Code Font Family, defaults to 'Source Code Pro' | |||
| #' @param code_font_size Code Text Font Size, defaults to 0.9em | |||
| #' @param code_font_url Code Font URL, defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700 | |||
| #' @param code_font_family_fallback Code Font Fallback, defaults to 'Lucida Console', Monaco | |||
| #' @param primary_color Duotone Primary Color. Defaults to #1F4257. Modifies multiple CSS classes or elements. | |||
| #' @param secondary_color Duotone Secondary Color. Defaults to #F97B64. Modifies multiple CSS classes or elements. | |||
| #' @param text_color Text Color. Defaults to `choose_dark_or_light(primary_color, darken_color(primary_color, 0.9), lighten_color(secondary_color, 0.99))`. Modifies the `body` element. | |||
| #' @param header_color Header Color. Defaults to `secondary_color`. Modifies the `h1, h2, h3` elements. | |||
| #' @param background_color Slide Background Color. Defaults to `primary_color`. Modifies the `.remark-slide-content` class. | |||
| #' @param link_color Link Color. Defaults to `secondary_color`. Modifies the `a, a > code` elements. | |||
| #' @param text_bold_color Bold Text Color. Defaults to `secondary_color`. Modifies the `strong` element. | |||
| #' @param text_slide_number_color Slide Number Color. Defaults to `text_color`. Modifies the `.remark-slide-number` class. | |||
| #' @param code_highlight_color Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class. | |||
| #' @param code_inline_color Inline Code Color. Defaults to `secondary_color`. Modifies the `.remark-inline-code` class. | |||
| #' @param code_inline_background_color Inline Code Background Color. Defaults to NA. Modifies the `.remark-inline-code` class. | |||
| #' @param code_inline_font_size Inline Code Text Font Size. Defaults to 1em. Modifies the `.remark-inline-code` class. | |||
| #' @param inverse_background_color Inverse Background Color. Defaults to `secondary_color`. Modifies the `.inverse` class. | |||
| #' @param inverse_text_color Inverse Text Color. Defaults to `primary_color`. Modifies the `.inverse` class. | |||
| #' @param inverse_text_shadow Enables Shadow on text of inverse slides. Defaults to `FALSE`. Modifies the `.inverse` class. | |||
| #' @param inverse_header_color Inverse Header Color. Defaults to `primary_color`. Modifies the `.inverse h1, .inverse h2, .inverse h3` classes. | |||
| #' @param title_slide_text_color Title Slide Text Color. Defaults to `secondary_color`. Modifies the `.title-slide` class. | |||
| #' @param title_slide_background_color Title Slide Background Color. Defaults to `primary_color`. Modifies the `.title-slide` class. | |||
| #' @param title_slide_background_image Title Slide Background Image URL. Defaults to NA. Modifies the `.title-slide` class. | |||
| #' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the `.title-slide` class. | |||
| #' @param title_slide_background_position Title Slide Background Image Position. Defaults to NA. Modifies the `.title-slide` class. | |||
| #' @param footnote_color Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}`). Defaults to NA. Modifies the `.footnote` class. | |||
| #' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies the `.footnote` class. | |||
| #' @param footnote_position_bottom Footnote location from bottom of screen. Defaults to 3em. Modifies the `.footnote` class. | |||
| #' @param left_column_subtle_color Left Column Text (not last). Defaults to `apply_alpha(secondary_color, 0.6)`. Modifies the `.left-column h2, .left-column h3` classes. | |||
| #' @param left_column_selected_color Left Column Current Selection. Defaults to `secondary_color`. Modifies the `.left-column h2:last-of-type, .left-column h3:last-child` classes. | |||
| #' @param blockquote_left_color Blockquote Left Border Color. Defaults to `apply_alpha(secondary_color, 0.5)`. Modifies the `blockquote` element. | |||
| #' @param table_border_color Table top/bottom border. Defaults to #666. Modifies the `table: border-top, border-bottom` elements. | |||
| #' @param table_row_border_color Table row inner bottom border. Defaults to #ddd. Modifies the `table thead th: border-bottom` elements. | |||
| #' @param table_row_even_background_color Table Even Row Background Color. Defaults to `lighten_color(primary_color, 0.3)`. Modifies the `thead, tfoot, tr:nth-child(even)` elements. | |||
| #' @param text_font_size Slide Body Text Font Size. Defaults to 20px. Modifies the `.remark-slide-content` class. | |||
| #' @param header_h1_font_size h1 Header Text Font Size. Defaults to 55px. Modifies the `.remark-slide-content h1` class. | |||
| #' @param header_h2_font_size h2 Header Text Font Size. Defaults to 45px. Modifies the `.remark-slide-content h2` class. | |||
| #' @param header_h3_font_size h3 Header Text Font Size. Defaults to 35px. Modifies the `.remark-slide-content h3` class. | |||
| #' @param text_slide_number_font_size Slide Number Text Font Size. Defaults to 0.9em. Modifies the `.remark-slide-number` class. | |||
| #' @param text_font_google Use `google_font()` to specify body font. Defaults to `NULL`. Modifies the `body` element. | |||
| #' @param text_font_family Body Text Font Family. Defaults to 'Droid Serif'. Modifies the `body` element. | |||
| #' @param text_font_weight Body Text Font Weight. Defaults to normal. Modifies the `body` element. | |||
| #' @param text_font_url Body Text Font URL(s). Defaults to https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic. Modifies the `@import url()` elements. | |||
| #' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'. Modifies the `body` element. | |||
| #' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults to serif. Modifies the `body` element. | |||
| #' @param header_font_google Use `google_font()` to specify header font. Defaults to `NULL`. Modifies the `body` element. | |||
| #' @param header_font_family Header Font Family. Defaults to 'Yanone Kaffeesatz'. Modifies the `h1, h2, h3` elements. | |||
| #' @param header_font_weight Header Font Weight. Defaults to normal. Modifies the `h1, h2, h3` elements. | |||
| #' @param header_font_url Header Font URL. Defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz. Modifies the `@import url` elements. | |||
| #' @param code_font_google Use `google_font()` to specify code font. Defaults to `NULL`. Modifies the `body` element. | |||
| #' @param code_font_family Code Font Family. Defaults to 'Source Code Pro'. Modifies the `.remark-code, .remark-inline-code` classes. | |||
| #' @param code_font_size Code Text Font Size. Defaults to 0.9em. Modifies the `.remark-inline` class. | |||
| #' @param code_font_url Code Font URL. Defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700. Modifies the `@import url` elements. | |||
| #' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes. | |||
| #' @template extra_css | |||
| #' @param outfile Customized xaringan CSS output file name, default is "xaringan-themer.css" | |||
| #' @template duo | |||
| @@ -76,7 +76,7 @@ duo <- function( | |||
| title_slide_background_size = NA, | |||
| title_slide_background_position = NA, | |||
| footnote_color = NA, | |||
| footnote_font_size = "90%", | |||
| footnote_font_size = "0.9em", | |||
| footnote_position_bottom = "3em", | |||
| left_column_subtle_color = apply_alpha(secondary_color, 0.6), | |||
| left_column_selected_color = secondary_color, | |||
| @@ -1,55 +1,55 @@ | |||
| #' @param primary_color Duotone Primary Color, defaults to #006747 | |||
| #' @param secondary_color Duotone Secondary Color, defaults to #CFC493 | |||
| #' @param white_color Brightest color used, defaults to #FFFFFF | |||
| #' @param black_color Darkest color used, defaults to #000000 | |||
| #' @param text_color Text Color, defaults to `black_color` | |||
| #' @param header_color Header Color, defaults to `primary_color` | |||
| #' @param background_color Slide Background Color, defaults to `white_color` | |||
| #' @param link_color Link Color, defaults to `choose_dark_or_light(secondary_color, primary_color, secondary_color)` | |||
| #' @param text_bold_color Bold Text Color, defaults to `choose_dark_or_light(secondary_color, primary_color, secondary_color)` | |||
| #' @param text_slide_number_color Slide Number Color, defaults to `primary_color` | |||
| #' @param code_highlight_color Code Line Highlight, defaults to rgba(255,255,0,0.5) | |||
| #' @param code_inline_color Inline Code Color, defaults to `choose_dark_or_light(secondary_color, primary_color, secondary_color)` | |||
| #' @param code_inline_background_color Inline Code Background Color, defaults to NA | |||
| #' @param code_inline_font_size Inline Code Text Font Size, defaults to 1em | |||
| #' @param inverse_background_color Inverse Background Color, defaults to `secondary_color` | |||
| #' @param inverse_text_color Inverse Text Color, defaults to `choose_dark_or_light(secondary_color, black_color, white_color)` | |||
| #' @param inverse_text_shadow Enables Shadow on text of inverse slides, defaults to `FALSE` | |||
| #' @param inverse_header_color Inverse Header Color, defaults to `choose_dark_or_light(secondary_color, black_color, white_color)` | |||
| #' @param title_slide_text_color Title Slide Text Color, defaults to `choose_dark_or_light(primary_color, black_color, white_color)` | |||
| #' @param title_slide_background_color Title Slide Background Color, defaults to `primary_color` | |||
| #' @param title_slide_background_image Title Slide Background Image URL, defaults to NA | |||
| #' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set, defaults to NA | |||
| #' @param title_slide_background_position Title Slide Background Image Position, defaults to NA | |||
| #' @param footnote_color Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}`), defaults to NA | |||
| #' @param footnote_font_size Footnote font size, defaults to 90% | |||
| #' @param footnote_position_bottom Footnote location from bottom of screen, defaults to 3em | |||
| #' @param left_column_subtle_color Left Column Text (not last), defaults to `apply_alpha(primary_color, 0.6)` | |||
| #' @param left_column_selected_color Left Column Current Selection, defaults to `primary_color` | |||
| #' @param blockquote_left_color Blockquote Left Border Color, defaults to `apply_alpha(secondary_color, 0.5)` | |||
| #' @param table_border_color Table top/bottom border, defaults to #666 | |||
| #' @param table_row_border_color Table row inner bottom border, defaults to #ddd | |||
| #' @param table_row_even_background_color Table Even Row Background Color, defaults to `lighten_color(secondary_color, 0.3)` | |||
| #' @param text_font_size Slide Body Text Font Size, defaults to 20px | |||
| #' @param header_h1_font_size h1 Header Text Font Size, defaults to 55px | |||
| #' @param header_h2_font_size h2 Header Text Font Size, defaults to 45px | |||
| #' @param header_h3_font_size h3 Header Text Font Size, defaults to 35px | |||
| #' @param text_slide_number_font_size Slide Number Text Font Size, defaults to 0.9em | |||
| #' @param text_font_google Use `google_font()` to specify body font, defaults to `NULL` | |||
| #' @param text_font_family Body Text Font Family, defaults to 'Droid Serif' | |||
| #' @param text_font_weight Body Text Font Weight, defaults to normal | |||
| #' @param text_font_url Body Text Font URL(s), defaults to https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic | |||
| #' @param text_font_family_fallback Body Text Font Fallbacks, defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC' | |||
| #' @param text_font_base Body Text Base Font (Total Failure Fallback), defaults to serif | |||
| #' @param header_font_google Use `google_font()` to specify header font, defaults to `NULL` | |||
| #' @param header_font_family Header Font Family, defaults to 'Yanone Kaffeesatz' | |||
| #' @param header_font_weight Header Font Weight, defaults to normal | |||
| #' @param header_font_url Header Font URL, defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz | |||
| #' @param code_font_google Use `google_font()` to specify code font, defaults to `NULL` | |||
| #' @param code_font_family Code Font Family, defaults to 'Source Code Pro' | |||
| #' @param code_font_size Code Text Font Size, defaults to 0.9em | |||
| #' @param code_font_url Code Font URL, defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700 | |||
| #' @param code_font_family_fallback Code Font Fallback, defaults to 'Lucida Console', Monaco | |||
| #' @param primary_color Duotone Primary Color. Defaults to #006747. Modifies multiple CSS classes or elements. | |||
| #' @param secondary_color Duotone Secondary Color. Defaults to #CFC493. Modifies multiple CSS classes or elements. | |||
| #' @param white_color Brightest color used. Defaults to #FFFFFF. Modifies multiple CSS classes or elements. | |||
| #' @param black_color Darkest color used. Defaults to #000000. Modifies multiple CSS classes or elements. | |||
| #' @param text_color Text Color. Defaults to `black_color`. Modifies the `body` element. | |||
| #' @param header_color Header Color. Defaults to `primary_color`. Modifies the `h1, h2, h3` elements. | |||
| #' @param background_color Slide Background Color. Defaults to `white_color`. Modifies the `.remark-slide-content` class. | |||
| #' @param link_color Link Color. Defaults to `choose_dark_or_light(secondary_color, primary_color, secondary_color)`. Modifies the `a, a > code` elements. | |||
| #' @param text_bold_color Bold Text Color. Defaults to `choose_dark_or_light(secondary_color, primary_color, secondary_color)`. Modifies the `strong` element. | |||
| #' @param text_slide_number_color Slide Number Color. Defaults to `primary_color`. Modifies the `.remark-slide-number` class. | |||
| #' @param code_highlight_color Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class. | |||
| #' @param code_inline_color Inline Code Color. Defaults to `choose_dark_or_light(secondary_color, primary_color, secondary_color)`. Modifies the `.remark-inline-code` class. | |||
| #' @param code_inline_background_color Inline Code Background Color. Defaults to NA. Modifies the `.remark-inline-code` class. | |||
| #' @param code_inline_font_size Inline Code Text Font Size. Defaults to 1em. Modifies the `.remark-inline-code` class. | |||
| #' @param inverse_background_color Inverse Background Color. Defaults to `secondary_color`. Modifies the `.inverse` class. | |||
| #' @param inverse_text_color Inverse Text Color. Defaults to `choose_dark_or_light(secondary_color, black_color, white_color)`. Modifies the `.inverse` class. | |||
| #' @param inverse_text_shadow Enables Shadow on text of inverse slides. Defaults to `FALSE`. Modifies the `.inverse` class. | |||
| #' @param inverse_header_color Inverse Header Color. Defaults to `choose_dark_or_light(secondary_color, black_color, white_color)`. Modifies the `.inverse h1, .inverse h2, .inverse h3` classes. | |||
| #' @param title_slide_text_color Title Slide Text Color. Defaults to `choose_dark_or_light(primary_color, black_color, white_color)`. Modifies the `.title-slide` class. | |||
| #' @param title_slide_background_color Title Slide Background Color. Defaults to `primary_color`. Modifies the `.title-slide` class. | |||
| #' @param title_slide_background_image Title Slide Background Image URL. Defaults to NA. Modifies the `.title-slide` class. | |||
| #' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the `.title-slide` class. | |||
| #' @param title_slide_background_position Title Slide Background Image Position. Defaults to NA. Modifies the `.title-slide` class. | |||
| #' @param footnote_color Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}`). Defaults to NA. Modifies the `.footnote` class. | |||
| #' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies the `.footnote` class. | |||
| #' @param footnote_position_bottom Footnote location from bottom of screen. Defaults to 3em. Modifies the `.footnote` class. | |||
| #' @param left_column_subtle_color Left Column Text (not last). Defaults to `apply_alpha(primary_color, 0.6)`. Modifies the `.left-column h2, .left-column h3` classes. | |||
| #' @param left_column_selected_color Left Column Current Selection. Defaults to `primary_color`. Modifies the `.left-column h2:last-of-type, .left-column h3:last-child` classes. | |||
| #' @param blockquote_left_color Blockquote Left Border Color. Defaults to `apply_alpha(secondary_color, 0.5)`. Modifies the `blockquote` element. | |||
| #' @param table_border_color Table top/bottom border. Defaults to #666. Modifies the `table: border-top, border-bottom` elements. | |||
| #' @param table_row_border_color Table row inner bottom border. Defaults to #ddd. Modifies the `table thead th: border-bottom` elements. | |||
| #' @param table_row_even_background_color Table Even Row Background Color. Defaults to `lighten_color(secondary_color, 0.3)`. Modifies the `thead, tfoot, tr:nth-child(even)` elements. | |||
| #' @param text_font_size Slide Body Text Font Size. Defaults to 20px. Modifies the `.remark-slide-content` class. | |||
| #' @param header_h1_font_size h1 Header Text Font Size. Defaults to 55px. Modifies the `.remark-slide-content h1` class. | |||
| #' @param header_h2_font_size h2 Header Text Font Size. Defaults to 45px. Modifies the `.remark-slide-content h2` class. | |||
| #' @param header_h3_font_size h3 Header Text Font Size. Defaults to 35px. Modifies the `.remark-slide-content h3` class. | |||
| #' @param text_slide_number_font_size Slide Number Text Font Size. Defaults to 0.9em. Modifies the `.remark-slide-number` class. | |||
| #' @param text_font_google Use `google_font()` to specify body font. Defaults to `NULL`. Modifies the `body` element. | |||
| #' @param text_font_family Body Text Font Family. Defaults to 'Droid Serif'. Modifies the `body` element. | |||
| #' @param text_font_weight Body Text Font Weight. Defaults to normal. Modifies the `body` element. | |||
| #' @param text_font_url Body Text Font URL(s). Defaults to https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic. Modifies the `@import url()` elements. | |||
| #' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'. Modifies the `body` element. | |||
| #' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults to serif. Modifies the `body` element. | |||
| #' @param header_font_google Use `google_font()` to specify header font. Defaults to `NULL`. Modifies the `body` element. | |||
| #' @param header_font_family Header Font Family. Defaults to 'Yanone Kaffeesatz'. Modifies the `h1, h2, h3` elements. | |||
| #' @param header_font_weight Header Font Weight. Defaults to normal. Modifies the `h1, h2, h3` elements. | |||
| #' @param header_font_url Header Font URL. Defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz. Modifies the `@import url` elements. | |||
| #' @param code_font_google Use `google_font()` to specify code font. Defaults to `NULL`. Modifies the `body` element. | |||
| #' @param code_font_family Code Font Family. Defaults to 'Source Code Pro'. Modifies the `.remark-code, .remark-inline-code` classes. | |||
| #' @param code_font_size Code Text Font Size. Defaults to 0.9em. Modifies the `.remark-inline` class. | |||
| #' @param code_font_url Code Font URL. Defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700. Modifies the `@import url` elements. | |||
| #' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes. | |||
| #' @template extra_css | |||
| #' @param outfile Customized xaringan CSS output file name, default is "xaringan-themer.css" | |||
| #' @template duo_accent | |||
| @@ -80,7 +80,7 @@ duo_accent <- function( | |||
| title_slide_background_size = NA, | |||
| title_slide_background_position = NA, | |||
| footnote_color = NA, | |||
| footnote_font_size = "90%", | |||
| footnote_font_size = "0.9em", | |||
| footnote_position_bottom = "3em", | |||
| left_column_subtle_color = apply_alpha(primary_color, 0.6), | |||
| left_column_selected_color = primary_color, | |||
| @@ -1,55 +1,55 @@ | |||
| #' @param primary_color Duotone Primary Color, defaults to #006747 | |||
| #' @param secondary_color Duotone Secondary Color, defaults to #CFC493 | |||
| #' @param white_color Brightest color used, defaults to #FFFFFF | |||
| #' @param black_color Darkest color used, defaults to #000000 | |||
| #' @param text_color Text Color, defaults to `white_color` | |||
| #' @param header_color Header Color, defaults to `primary_color` | |||
| #' @param background_color Slide Background Color, defaults to `black_color` | |||
| #' @param link_color Link Color, defaults to `choose_dark_or_light(secondary_color, secondary_color, primary_color)` | |||
| #' @param text_bold_color Bold Text Color, defaults to `choose_dark_or_light(secondary_color, secondary_color, primary_color)` | |||
| #' @param text_slide_number_color Slide Number Color, defaults to `primary_color` | |||
| #' @param code_highlight_color Code Line Highlight, defaults to rgba(255,255,0,0.5) | |||
| #' @param code_inline_color Inline Code Color, defaults to `choose_dark_or_light(secondary_color, secondary_color, primary_color)` | |||
| #' @param code_inline_background_color Inline Code Background Color, defaults to NA | |||
| #' @param code_inline_font_size Inline Code Text Font Size, defaults to 1em | |||
| #' @param inverse_background_color Inverse Background Color, defaults to `secondary_color` | |||
| #' @param inverse_text_color Inverse Text Color, defaults to `choose_dark_or_light(secondary_color, black_color, white_color)` | |||
| #' @param inverse_text_shadow Enables Shadow on text of inverse slides, defaults to `FALSE` | |||
| #' @param inverse_header_color Inverse Header Color, defaults to `choose_dark_or_light(secondary_color, black_color, white_color)` | |||
| #' @param title_slide_text_color Title Slide Text Color, defaults to `choose_dark_or_light(primary_color, black_color, white_color)` | |||
| #' @param title_slide_background_color Title Slide Background Color, defaults to `primary_color` | |||
| #' @param title_slide_background_image Title Slide Background Image URL, defaults to NA | |||
| #' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set, defaults to NA | |||
| #' @param title_slide_background_position Title Slide Background Image Position, defaults to NA | |||
| #' @param footnote_color Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}`), defaults to NA | |||
| #' @param footnote_font_size Footnote font size, defaults to 90% | |||
| #' @param footnote_position_bottom Footnote location from bottom of screen, defaults to 3em | |||
| #' @param left_column_subtle_color Left Column Text (not last), defaults to `apply_alpha(primary_color, 0.6)` | |||
| #' @param left_column_selected_color Left Column Current Selection, defaults to `primary_color` | |||
| #' @param blockquote_left_color Blockquote Left Border Color, defaults to `apply_alpha(secondary_color, 0.5)` | |||
| #' @param table_border_color Table top/bottom border, defaults to #666 | |||
| #' @param table_row_border_color Table row inner bottom border, defaults to #ddd | |||
| #' @param table_row_even_background_color Table Even Row Background Color, defaults to `darken_color(choose_dark_or_light(primary_color, secondary_color, primary_color), 0.3)` | |||
| #' @param text_font_size Slide Body Text Font Size, defaults to 20px | |||
| #' @param header_h1_font_size h1 Header Text Font Size, defaults to 55px | |||
| #' @param header_h2_font_size h2 Header Text Font Size, defaults to 45px | |||
| #' @param header_h3_font_size h3 Header Text Font Size, defaults to 35px | |||
| #' @param text_slide_number_font_size Slide Number Text Font Size, defaults to 0.9em | |||
| #' @param text_font_google Use `google_font()` to specify body font, defaults to `NULL` | |||
| #' @param text_font_family Body Text Font Family, defaults to 'Droid Serif' | |||
| #' @param text_font_weight Body Text Font Weight, defaults to normal | |||
| #' @param text_font_url Body Text Font URL(s), defaults to https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic | |||
| #' @param text_font_family_fallback Body Text Font Fallbacks, defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC' | |||
| #' @param text_font_base Body Text Base Font (Total Failure Fallback), defaults to serif | |||
| #' @param header_font_google Use `google_font()` to specify header font, defaults to `NULL` | |||
| #' @param header_font_family Header Font Family, defaults to 'Yanone Kaffeesatz' | |||
| #' @param header_font_weight Header Font Weight, defaults to normal | |||
| #' @param header_font_url Header Font URL, defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz | |||
| #' @param code_font_google Use `google_font()` to specify code font, defaults to `NULL` | |||
| #' @param code_font_family Code Font Family, defaults to 'Source Code Pro' | |||
| #' @param code_font_size Code Text Font Size, defaults to 0.9em | |||
| #' @param code_font_url Code Font URL, defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700 | |||
| #' @param code_font_family_fallback Code Font Fallback, defaults to 'Lucida Console', Monaco | |||
| #' @param primary_color Duotone Primary Color. Defaults to #006747. Modifies multiple CSS classes or elements. | |||
| #' @param secondary_color Duotone Secondary Color. Defaults to #CFC493. Modifies multiple CSS classes or elements. | |||
| #' @param white_color Brightest color used. Defaults to #FFFFFF. Modifies multiple CSS classes or elements. | |||
| #' @param black_color Darkest color used. Defaults to #000000. Modifies multiple CSS classes or elements. | |||
| #' @param text_color Text Color. Defaults to `white_color`. Modifies the `body` element. | |||
| #' @param header_color Header Color. Defaults to `primary_color`. Modifies the `h1, h2, h3` elements. | |||
| #' @param background_color Slide Background Color. Defaults to `black_color`. Modifies the `.remark-slide-content` class. | |||
| #' @param link_color Link Color. Defaults to `choose_dark_or_light(secondary_color, secondary_color, primary_color)`. Modifies the `a, a > code` elements. | |||
| #' @param text_bold_color Bold Text Color. Defaults to `choose_dark_or_light(secondary_color, secondary_color, primary_color)`. Modifies the `strong` element. | |||
| #' @param text_slide_number_color Slide Number Color. Defaults to `primary_color`. Modifies the `.remark-slide-number` class. | |||
| #' @param code_highlight_color Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class. | |||
| #' @param code_inline_color Inline Code Color. Defaults to `choose_dark_or_light(secondary_color, secondary_color, primary_color)`. Modifies the `.remark-inline-code` class. | |||
| #' @param code_inline_background_color Inline Code Background Color. Defaults to NA. Modifies the `.remark-inline-code` class. | |||
| #' @param code_inline_font_size Inline Code Text Font Size. Defaults to 1em. Modifies the `.remark-inline-code` class. | |||
| #' @param inverse_background_color Inverse Background Color. Defaults to `secondary_color`. Modifies the `.inverse` class. | |||
| #' @param inverse_text_color Inverse Text Color. Defaults to `choose_dark_or_light(secondary_color, black_color, white_color)`. Modifies the `.inverse` class. | |||
| #' @param inverse_text_shadow Enables Shadow on text of inverse slides. Defaults to `FALSE`. Modifies the `.inverse` class. | |||
| #' @param inverse_header_color Inverse Header Color. Defaults to `choose_dark_or_light(secondary_color, black_color, white_color)`. Modifies the `.inverse h1, .inverse h2, .inverse h3` classes. | |||
| #' @param title_slide_text_color Title Slide Text Color. Defaults to `choose_dark_or_light(primary_color, black_color, white_color)`. Modifies the `.title-slide` class. | |||
| #' @param title_slide_background_color Title Slide Background Color. Defaults to `primary_color`. Modifies the `.title-slide` class. | |||
| #' @param title_slide_background_image Title Slide Background Image URL. Defaults to NA. Modifies the `.title-slide` class. | |||
| #' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the `.title-slide` class. | |||
| #' @param title_slide_background_position Title Slide Background Image Position. Defaults to NA. Modifies the `.title-slide` class. | |||
| #' @param footnote_color Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}`). Defaults to NA. Modifies the `.footnote` class. | |||
| #' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies the `.footnote` class. | |||
| #' @param footnote_position_bottom Footnote location from bottom of screen. Defaults to 3em. Modifies the `.footnote` class. | |||
| #' @param left_column_subtle_color Left Column Text (not last). Defaults to `apply_alpha(primary_color, 0.6)`. Modifies the `.left-column h2, .left-column h3` classes. | |||
| #' @param left_column_selected_color Left Column Current Selection. Defaults to `primary_color`. Modifies the `.left-column h2:last-of-type, .left-column h3:last-child` classes. | |||
| #' @param blockquote_left_color Blockquote Left Border Color. Defaults to `apply_alpha(secondary_color, 0.5)`. Modifies the `blockquote` element. | |||
| #' @param table_border_color Table top/bottom border. Defaults to #666. Modifies the `table: border-top, border-bottom` elements. | |||
| #' @param table_row_border_color Table row inner bottom border. Defaults to #ddd. Modifies the `table thead th: border-bottom` elements. | |||
| #' @param table_row_even_background_color Table Even Row Background Color. Defaults to `darken_color(choose_dark_or_light(primary_color, secondary_color, primary_color), 0.3)`. Modifies the `thead, tfoot, tr:nth-child(even)` elements. | |||
| #' @param text_font_size Slide Body Text Font Size. Defaults to 20px. Modifies the `.remark-slide-content` class. | |||
| #' @param header_h1_font_size h1 Header Text Font Size. Defaults to 55px. Modifies the `.remark-slide-content h1` class. | |||
| #' @param header_h2_font_size h2 Header Text Font Size. Defaults to 45px. Modifies the `.remark-slide-content h2` class. | |||
| #' @param header_h3_font_size h3 Header Text Font Size. Defaults to 35px. Modifies the `.remark-slide-content h3` class. | |||
| #' @param text_slide_number_font_size Slide Number Text Font Size. Defaults to 0.9em. Modifies the `.remark-slide-number` class. | |||
| #' @param text_font_google Use `google_font()` to specify body font. Defaults to `NULL`. Modifies the `body` element. | |||
| #' @param text_font_family Body Text Font Family. Defaults to 'Droid Serif'. Modifies the `body` element. | |||
| #' @param text_font_weight Body Text Font Weight. Defaults to normal. Modifies the `body` element. | |||
| #' @param text_font_url Body Text Font URL(s). Defaults to https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic. Modifies the `@import url()` elements. | |||
| #' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'. Modifies the `body` element. | |||
| #' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults to serif. Modifies the `body` element. | |||
| #' @param header_font_google Use `google_font()` to specify header font. Defaults to `NULL`. Modifies the `body` element. | |||
| #' @param header_font_family Header Font Family. Defaults to 'Yanone Kaffeesatz'. Modifies the `h1, h2, h3` elements. | |||
| #' @param header_font_weight Header Font Weight. Defaults to normal. Modifies the `h1, h2, h3` elements. | |||
| #' @param header_font_url Header Font URL. Defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz. Modifies the `@import url` elements. | |||
| #' @param code_font_google Use `google_font()` to specify code font. Defaults to `NULL`. Modifies the `body` element. | |||
| #' @param code_font_family Code Font Family. Defaults to 'Source Code Pro'. Modifies the `.remark-code, .remark-inline-code` classes. | |||
| #' @param code_font_size Code Text Font Size. Defaults to 0.9em. Modifies the `.remark-inline` class. | |||
| #' @param code_font_url Code Font URL. Defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700. Modifies the `@import url` elements. | |||
| #' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes. | |||
| #' @template extra_css | |||
| #' @param outfile Customized xaringan CSS output file name, default is "xaringan-themer.css" | |||
| #' @template duo_accent_inverse | |||
| @@ -80,7 +80,7 @@ duo_accent_inverse <- function( | |||
| title_slide_background_size = NA, | |||
| title_slide_background_position = NA, | |||
| footnote_color = NA, | |||
| footnote_font_size = "90%", | |||
| footnote_font_size = "0.9em", | |||
| footnote_position_bottom = "3em", | |||
| left_column_subtle_color = apply_alpha(primary_color, 0.6), | |||
| left_column_selected_color = primary_color, | |||
| @@ -1,54 +1,54 @@ | |||
| #' @param base_color Monotone Base Color, works best with a strong color., defaults to #43418A | |||
| #' @param white_color Brightest color used, defaults to #FFFFFF | |||
| #' @param black_color Darkest color used, defaults to #272822 | |||
| #' @param text_color Text Color, defaults to `black_color` | |||
| #' @param header_color Header Color, defaults to `base_color` | |||
| #' @param background_color Slide Background Color, defaults to `white_color` | |||
| #' @param link_color Link Color, defaults to `base_color` | |||
| #' @param text_bold_color Bold Text Color, defaults to `base_color` | |||
| #' @param text_slide_number_color Slide Number Color, defaults to `base_color` | |||
| #' @param code_highlight_color Code Line Highlight, defaults to rgba(255,255,0,0.5) | |||
| #' @param code_inline_color Inline Code Color, defaults to `base_color` | |||
| #' @param code_inline_background_color Inline Code Background Color, defaults to NA | |||
| #' @param code_inline_font_size Inline Code Text Font Size, defaults to 1em | |||
| #' @param inverse_background_color Inverse Background Color, defaults to `base_color` | |||
| #' @param inverse_text_color Inverse Text Color, defaults to `white_color` | |||
| #' @param inverse_text_shadow Enables Shadow on text of inverse slides, defaults to `FALSE` | |||
| #' @param inverse_header_color Inverse Header Color, defaults to `white_color` | |||
| #' @param title_slide_text_color Title Slide Text Color, defaults to `inverse_text_color` | |||
| #' @param title_slide_background_color Title Slide Background Color, defaults to `inverse_background_color` | |||
| #' @param title_slide_background_image Title Slide Background Image URL, defaults to NA | |||
| #' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set, defaults to NA | |||
| #' @param title_slide_background_position Title Slide Background Image Position, defaults to NA | |||
| #' @param footnote_color Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}`), defaults to NA | |||
| #' @param footnote_font_size Footnote font size, defaults to 90% | |||
| #' @param footnote_position_bottom Footnote location from bottom of screen, defaults to 3em | |||
| #' @param left_column_subtle_color Left Column Text (not last), defaults to `apply_alpha(base_color, 0.6)` | |||
| #' @param left_column_selected_color Left Column Current Selection, defaults to `base_color` | |||
| #' @param blockquote_left_color Blockquote Left Border Color, defaults to `apply_alpha(base_color, 0.5)` | |||
| #' @param table_border_color Table top/bottom border, defaults to #666 | |||
| #' @param table_row_border_color Table row inner bottom border, defaults to #ddd | |||
| #' @param table_row_even_background_color Table Even Row Background Color, defaults to `lighten_color(base_color, 0.7)` | |||
| #' @param text_font_size Slide Body Text Font Size, defaults to 20px | |||
| #' @param header_h1_font_size h1 Header Text Font Size, defaults to 55px | |||
| #' @param header_h2_font_size h2 Header Text Font Size, defaults to 45px | |||
| #' @param header_h3_font_size h3 Header Text Font Size, defaults to 35px | |||
| #' @param text_slide_number_font_size Slide Number Text Font Size, defaults to 0.9em | |||
| #' @param text_font_google Use `google_font()` to specify body font, defaults to `NULL` | |||
| #' @param text_font_family Body Text Font Family, defaults to 'Droid Serif' | |||
| #' @param text_font_weight Body Text Font Weight, defaults to normal | |||
| #' @param text_font_url Body Text Font URL(s), defaults to https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic | |||
| #' @param text_font_family_fallback Body Text Font Fallbacks, defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC' | |||
| #' @param text_font_base Body Text Base Font (Total Failure Fallback), defaults to serif | |||
| #' @param header_font_google Use `google_font()` to specify header font, defaults to `NULL` | |||
| #' @param header_font_family Header Font Family, defaults to 'Yanone Kaffeesatz' | |||
| #' @param header_font_weight Header Font Weight, defaults to normal | |||
| #' @param header_font_url Header Font URL, defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz | |||
| #' @param code_font_google Use `google_font()` to specify code font, defaults to `NULL` | |||
| #' @param code_font_family Code Font Family, defaults to 'Source Code Pro' | |||
| #' @param code_font_size Code Text Font Size, defaults to 0.9em | |||
| #' @param code_font_url Code Font URL, defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700 | |||
| #' @param code_font_family_fallback Code Font Fallback, defaults to 'Lucida Console', Monaco | |||
| #' @param base_color Monotone Base Color, works best with a strong color.. Defaults to #43418A. Modifies multiple CSS classes or elements. | |||
| #' @param white_color Brightest color used. Defaults to #FFFFFF. Modifies multiple CSS classes or elements. | |||
| #' @param black_color Darkest color used. Defaults to #272822. Modifies multiple CSS classes or elements. | |||
| #' @param text_color Text Color. Defaults to `black_color`. Modifies the `body` element. | |||
| #' @param header_color Header Color. Defaults to `base_color`. Modifies the `h1, h2, h3` elements. | |||
| #' @param background_color Slide Background Color. Defaults to `white_color`. Modifies the `.remark-slide-content` class. | |||
| #' @param link_color Link Color. Defaults to `base_color`. Modifies the `a, a > code` elements. | |||
| #' @param text_bold_color Bold Text Color. Defaults to `base_color`. Modifies the `strong` element. | |||
| #' @param text_slide_number_color Slide Number Color. Defaults to `base_color`. Modifies the `.remark-slide-number` class. | |||
| #' @param code_highlight_color Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class. | |||
| #' @param code_inline_color Inline Code Color. Defaults to `base_color`. Modifies the `.remark-inline-code` class. | |||
| #' @param code_inline_background_color Inline Code Background Color. Defaults to NA. Modifies the `.remark-inline-code` class. | |||
| #' @param code_inline_font_size Inline Code Text Font Size. Defaults to 1em. Modifies the `.remark-inline-code` class. | |||
| #' @param inverse_background_color Inverse Background Color. Defaults to `base_color`. Modifies the `.inverse` class. | |||
| #' @param inverse_text_color Inverse Text Color. Defaults to `white_color`. Modifies the `.inverse` class. | |||
| #' @param inverse_text_shadow Enables Shadow on text of inverse slides. Defaults to `FALSE`. Modifies the `.inverse` class. | |||
| #' @param inverse_header_color Inverse Header Color. Defaults to `white_color`. Modifies the `.inverse h1, .inverse h2, .inverse h3` classes. | |||
| #' @param title_slide_text_color Title Slide Text Color. Defaults to `inverse_text_color`. Modifies the `.title-slide` class. | |||
| #' @param title_slide_background_color Title Slide Background Color. Defaults to `inverse_background_color`. Modifies the `.title-slide` class. | |||
| #' @param title_slide_background_image Title Slide Background Image URL. Defaults to NA. Modifies the `.title-slide` class. | |||
| #' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the `.title-slide` class. | |||
| #' @param title_slide_background_position Title Slide Background Image Position. Defaults to NA. Modifies the `.title-slide` class. | |||
| #' @param footnote_color Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}`). Defaults to NA. Modifies the `.footnote` class. | |||
| #' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies the `.footnote` class. | |||
| #' @param footnote_position_bottom Footnote location from bottom of screen. Defaults to 3em. Modifies the `.footnote` class. | |||
| #' @param left_column_subtle_color Left Column Text (not last). Defaults to `apply_alpha(base_color, 0.6)`. Modifies the `.left-column h2, .left-column h3` classes. | |||
| #' @param left_column_selected_color Left Column Current Selection. Defaults to `base_color`. Modifies the `.left-column h2:last-of-type, .left-column h3:last-child` classes. | |||
| #' @param blockquote_left_color Blockquote Left Border Color. Defaults to `apply_alpha(base_color, 0.5)`. Modifies the `blockquote` element. | |||
| #' @param table_border_color Table top/bottom border. Defaults to #666. Modifies the `table: border-top, border-bottom` elements. | |||
| #' @param table_row_border_color Table row inner bottom border. Defaults to #ddd. Modifies the `table thead th: border-bottom` elements. | |||
| #' @param table_row_even_background_color Table Even Row Background Color. Defaults to `lighten_color(base_color, 0.7)`. Modifies the `thead, tfoot, tr:nth-child(even)` elements. | |||
| #' @param text_font_size Slide Body Text Font Size. Defaults to 20px. Modifies the `.remark-slide-content` class. | |||
| #' @param header_h1_font_size h1 Header Text Font Size. Defaults to 55px. Modifies the `.remark-slide-content h1` class. | |||
| #' @param header_h2_font_size h2 Header Text Font Size. Defaults to 45px. Modifies the `.remark-slide-content h2` class. | |||
| #' @param header_h3_font_size h3 Header Text Font Size. Defaults to 35px. Modifies the `.remark-slide-content h3` class. | |||
| #' @param text_slide_number_font_size Slide Number Text Font Size. Defaults to 0.9em. Modifies the `.remark-slide-number` class. | |||
| #' @param text_font_google Use `google_font()` to specify body font. Defaults to `NULL`. Modifies the `body` element. | |||
| #' @param text_font_family Body Text Font Family. Defaults to 'Droid Serif'. Modifies the `body` element. | |||
| #' @param text_font_weight Body Text Font Weight. Defaults to normal. Modifies the `body` element. | |||
| #' @param text_font_url Body Text Font URL(s). Defaults to https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic. Modifies the `@import url()` elements. | |||
| #' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'. Modifies the `body` element. | |||
| #' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults to serif. Modifies the `body` element. | |||
| #' @param header_font_google Use `google_font()` to specify header font. Defaults to `NULL`. Modifies the `body` element. | |||
| #' @param header_font_family Header Font Family. Defaults to 'Yanone Kaffeesatz'. Modifies the `h1, h2, h3` elements. | |||
| #' @param header_font_weight Header Font Weight. Defaults to normal. Modifies the `h1, h2, h3` elements. | |||
| #' @param header_font_url Header Font URL. Defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz. Modifies the `@import url` elements. | |||
| #' @param code_font_google Use `google_font()` to specify code font. Defaults to `NULL`. Modifies the `body` element. | |||
| #' @param code_font_family Code Font Family. Defaults to 'Source Code Pro'. Modifies the `.remark-code, .remark-inline-code` classes. | |||
| #' @param code_font_size Code Text Font Size. Defaults to 0.9em. Modifies the `.remark-inline` class. | |||
| #' @param code_font_url Code Font URL. Defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700. Modifies the `@import url` elements. | |||
| #' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes. | |||
| #' @template extra_css | |||
| #' @param outfile Customized xaringan CSS output file name, default is "xaringan-themer.css" | |||
| #' @template mono_accent | |||
| @@ -78,7 +78,7 @@ mono_accent <- function( | |||
| title_slide_background_size = NA, | |||
| title_slide_background_position = NA, | |||
| footnote_color = NA, | |||
| footnote_font_size = "90%", | |||
| footnote_font_size = "0.9em", | |||
| footnote_position_bottom = "3em", | |||
| left_column_subtle_color = apply_alpha(base_color, 0.6), | |||
| left_column_selected_color = base_color, | |||
| @@ -1,54 +1,54 @@ | |||
| #' @param base_color Monotone Base Color, works best with a light color., defaults to #3C989E | |||
| #' @param white_color Brightest color used, default is a very light version of `base_color`, defaults to #FFFFFF | |||
| #' @param black_color Darkest color used, default is a very dark, version of `base_color`, defaults to `darken_color(base_color, 0.9)` | |||
| #' @param text_color Text Color, defaults to `white_color` | |||
| #' @param header_color Header Color, defaults to `base_color` | |||
| #' @param background_color Slide Background Color, defaults to `black_color` | |||
| #' @param link_color Link Color, defaults to `base_color` | |||
| #' @param text_bold_color Bold Text Color, defaults to `base_color` | |||
| #' @param text_slide_number_color Slide Number Color, defaults to `base_color` | |||
| #' @param code_highlight_color Code Line Highlight, defaults to rgba(255,255,0,0.5) | |||
| #' @param code_inline_color Inline Code Color, defaults to `base_color` | |||
| #' @param code_inline_background_color Inline Code Background Color, defaults to NA | |||
| #' @param code_inline_font_size Inline Code Text Font Size, defaults to 1em | |||
| #' @param inverse_background_color Inverse Background Color, defaults to `base_color` | |||
| #' @param inverse_text_color Inverse Text Color, defaults to `black_color` | |||
| #' @param inverse_text_shadow Enables Shadow on text of inverse slides, defaults to `FALSE` | |||
| #' @param inverse_header_color Inverse Header Color, defaults to `black_color` | |||
| #' @param title_slide_text_color Title Slide Text Color, defaults to `inverse_text_color` | |||
| #' @param title_slide_background_color Title Slide Background Color, defaults to `inverse_background_color` | |||
| #' @param title_slide_background_image Title Slide Background Image URL, defaults to NA | |||
| #' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set, defaults to NA | |||
| #' @param title_slide_background_position Title Slide Background Image Position, defaults to NA | |||
| #' @param footnote_color Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}`), defaults to NA | |||
| #' @param footnote_font_size Footnote font size, defaults to 90% | |||
| #' @param footnote_position_bottom Footnote location from bottom of screen, defaults to 3em | |||
| #' @param left_column_subtle_color Left Column Text (not last), defaults to `apply_alpha(base_color, 0.6)` | |||
| #' @param left_column_selected_color Left Column Current Selection, defaults to `base_color` | |||
| #' @param blockquote_left_color Blockquote Left Border Color, defaults to `apply_alpha(base_color, 0.5)` | |||
| #' @param table_border_color Table top/bottom border, defaults to #666 | |||
| #' @param table_row_border_color Table row inner bottom border, defaults to #ddd | |||
| #' @param table_row_even_background_color Table Even Row Background Color, defaults to `darken_color(base_color, 0.7)` | |||
| #' @param text_font_size Slide Body Text Font Size, defaults to 20px | |||
| #' @param header_h1_font_size h1 Header Text Font Size, defaults to 55px | |||
| #' @param header_h2_font_size h2 Header Text Font Size, defaults to 45px | |||
| #' @param header_h3_font_size h3 Header Text Font Size, defaults to 35px | |||
| #' @param text_slide_number_font_size Slide Number Text Font Size, defaults to 0.9em | |||
| #' @param text_font_google Use `google_font()` to specify body font, defaults to `NULL` | |||
| #' @param text_font_family Body Text Font Family, defaults to 'Droid Serif' | |||
| #' @param text_font_weight Body Text Font Weight, defaults to normal | |||
| #' @param text_font_url Body Text Font URL(s), defaults to https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic | |||
| #' @param text_font_family_fallback Body Text Font Fallbacks, defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC' | |||
| #' @param text_font_base Body Text Base Font (Total Failure Fallback), defaults to serif | |||
| #' @param header_font_google Use `google_font()` to specify header font, defaults to `NULL` | |||
| #' @param header_font_family Header Font Family, defaults to 'Yanone Kaffeesatz' | |||
| #' @param header_font_weight Header Font Weight, defaults to normal | |||
| #' @param header_font_url Header Font URL, defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz | |||
| #' @param code_font_google Use `google_font()` to specify code font, defaults to `NULL` | |||
| #' @param code_font_family Code Font Family, defaults to 'Source Code Pro' | |||
| #' @param code_font_size Code Text Font Size, defaults to 0.9em | |||
| #' @param code_font_url Code Font URL, defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700 | |||
| #' @param code_font_family_fallback Code Font Fallback, defaults to 'Lucida Console', Monaco | |||
| #' @param base_color Monotone Base Color, works best with a light color.. Defaults to #3C989E. Modifies multiple CSS classes or elements. | |||
| #' @param white_color Brightest color used, default is a very light version of `base_color`. Defaults to #FFFFFF. Modifies multiple CSS classes or elements. | |||
| #' @param black_color Darkest color used, default is a very dark, version of `base_color`. Defaults to `darken_color(base_color, 0.9)`. Modifies multiple CSS classes or elements. | |||
| #' @param text_color Text Color. Defaults to `white_color`. Modifies the `body` element. | |||
| #' @param header_color Header Color. Defaults to `base_color`. Modifies the `h1, h2, h3` elements. | |||
| #' @param background_color Slide Background Color. Defaults to `black_color`. Modifies the `.remark-slide-content` class. | |||
| #' @param link_color Link Color. Defaults to `base_color`. Modifies the `a, a > code` elements. | |||
| #' @param text_bold_color Bold Text Color. Defaults to `base_color`. Modifies the `strong` element. | |||
| #' @param text_slide_number_color Slide Number Color. Defaults to `base_color`. Modifies the `.remark-slide-number` class. | |||
| #' @param code_highlight_color Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class. | |||
| #' @param code_inline_color Inline Code Color. Defaults to `base_color`. Modifies the `.remark-inline-code` class. | |||
| #' @param code_inline_background_color Inline Code Background Color. Defaults to NA. Modifies the `.remark-inline-code` class. | |||
| #' @param code_inline_font_size Inline Code Text Font Size. Defaults to 1em. Modifies the `.remark-inline-code` class. | |||
| #' @param inverse_background_color Inverse Background Color. Defaults to `base_color`. Modifies the `.inverse` class. | |||
| #' @param inverse_text_color Inverse Text Color. Defaults to `black_color`. Modifies the `.inverse` class. | |||
| #' @param inverse_text_shadow Enables Shadow on text of inverse slides. Defaults to `FALSE`. Modifies the `.inverse` class. | |||
| #' @param inverse_header_color Inverse Header Color. Defaults to `black_color`. Modifies the `.inverse h1, .inverse h2, .inverse h3` classes. | |||
| #' @param title_slide_text_color Title Slide Text Color. Defaults to `inverse_text_color`. Modifies the `.title-slide` class. | |||
| #' @param title_slide_background_color Title Slide Background Color. Defaults to `inverse_background_color`. Modifies the `.title-slide` class. | |||
| #' @param title_slide_background_image Title Slide Background Image URL. Defaults to NA. Modifies the `.title-slide` class. | |||
| #' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the `.title-slide` class. | |||
| #' @param title_slide_background_position Title Slide Background Image Position. Defaults to NA. Modifies the `.title-slide` class. | |||
| #' @param footnote_color Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}`). Defaults to NA. Modifies the `.footnote` class. | |||
| #' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies the `.footnote` class. | |||
| #' @param footnote_position_bottom Footnote location from bottom of screen. Defaults to 3em. Modifies the `.footnote` class. | |||
| #' @param left_column_subtle_color Left Column Text (not last). Defaults to `apply_alpha(base_color, 0.6)`. Modifies the `.left-column h2, .left-column h3` classes. | |||
| #' @param left_column_selected_color Left Column Current Selection. Defaults to `base_color`. Modifies the `.left-column h2:last-of-type, .left-column h3:last-child` classes. | |||
| #' @param blockquote_left_color Blockquote Left Border Color. Defaults to `apply_alpha(base_color, 0.5)`. Modifies the `blockquote` element. | |||
| #' @param table_border_color Table top/bottom border. Defaults to #666. Modifies the `table: border-top, border-bottom` elements. | |||
| #' @param table_row_border_color Table row inner bottom border. Defaults to #ddd. Modifies the `table thead th: border-bottom` elements. | |||
| #' @param table_row_even_background_color Table Even Row Background Color. Defaults to `darken_color(base_color, 0.7)`. Modifies the `thead, tfoot, tr:nth-child(even)` elements. | |||
| #' @param text_font_size Slide Body Text Font Size. Defaults to 20px. Modifies the `.remark-slide-content` class. | |||
| #' @param header_h1_font_size h1 Header Text Font Size. Defaults to 55px. Modifies the `.remark-slide-content h1` class. | |||
| #' @param header_h2_font_size h2 Header Text Font Size. Defaults to 45px. Modifies the `.remark-slide-content h2` class. | |||
| #' @param header_h3_font_size h3 Header Text Font Size. Defaults to 35px. Modifies the `.remark-slide-content h3` class. | |||
| #' @param text_slide_number_font_size Slide Number Text Font Size. Defaults to 0.9em. Modifies the `.remark-slide-number` class. | |||
| #' @param text_font_google Use `google_font()` to specify body font. Defaults to `NULL`. Modifies the `body` element. | |||
| #' @param text_font_family Body Text Font Family. Defaults to 'Droid Serif'. Modifies the `body` element. | |||
| #' @param text_font_weight Body Text Font Weight. Defaults to normal. Modifies the `body` element. | |||
| #' @param text_font_url Body Text Font URL(s). Defaults to https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic. Modifies the `@import url()` elements. | |||
| #' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'. Modifies the `body` element. | |||
| #' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults to serif. Modifies the `body` element. | |||
| #' @param header_font_google Use `google_font()` to specify header font. Defaults to `NULL`. Modifies the `body` element. | |||
| #' @param header_font_family Header Font Family. Defaults to 'Yanone Kaffeesatz'. Modifies the `h1, h2, h3` elements. | |||
| #' @param header_font_weight Header Font Weight. Defaults to normal. Modifies the `h1, h2, h3` elements. | |||
| #' @param header_font_url Header Font URL. Defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz. Modifies the `@import url` elements. | |||
| #' @param code_font_google Use `google_font()` to specify code font. Defaults to `NULL`. Modifies the `body` element. | |||
| #' @param code_font_family Code Font Family. Defaults to 'Source Code Pro'. Modifies the `.remark-code, .remark-inline-code` classes. | |||
| #' @param code_font_size Code Text Font Size. Defaults to 0.9em. Modifies the `.remark-inline` class. | |||
| #' @param code_font_url Code Font URL. Defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700. Modifies the `@import url` elements. | |||
| #' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes. | |||
| #' @template extra_css | |||
| #' @param outfile Customized xaringan CSS output file name, default is "xaringan-themer.css" | |||
| #' @template mono_accent_inverse | |||
| @@ -78,7 +78,7 @@ mono_accent_inverse <- function( | |||
| title_slide_background_size = NA, | |||
| title_slide_background_position = NA, | |||
| footnote_color = NA, | |||
| footnote_font_size = "90%", | |||
| footnote_font_size = "0.9em", | |||
| footnote_position_bottom = "3em", | |||
| left_column_subtle_color = apply_alpha(base_color, 0.6), | |||
| left_column_selected_color = base_color, | |||
| @@ -1,54 +1,54 @@ | |||
| #' @param base_color Monotone Base Color, works best with a light color., defaults to #cbf7ed | |||
| #' @param white_color Brightest color used, default is a very light version of `base_color`, defaults to `lighten_color(base_color, 0.8)` | |||
| #' @param black_color Darkest color used, default is a very dark, version of `base_color`, defaults to `darken_color(base_color, 0.85)` | |||
| #' @param text_color Text Color, defaults to `white_color` | |||
| #' @param header_color Header Color, defaults to `base_color` | |||
| #' @param background_color Slide Background Color, defaults to `black_color` | |||
| #' @param link_color Link Color, defaults to `base_color` | |||
| #' @param text_bold_color Bold Text Color, defaults to `base_color` | |||
| #' @param text_slide_number_color Slide Number Color, defaults to `base_color` | |||
| #' @param code_highlight_color Code Line Highlight, defaults to rgba(255,255,0,0.5) | |||
| #' @param code_inline_color Inline Code Color, defaults to `base_color` | |||
| #' @param code_inline_background_color Inline Code Background Color, defaults to NA | |||
| #' @param code_inline_font_size Inline Code Text Font Size, defaults to 1em | |||
| #' @param inverse_background_color Inverse Background Color, defaults to `base_color` | |||
| #' @param inverse_text_color Inverse Text Color, defaults to `black_color` | |||
| #' @param inverse_text_shadow Enables Shadow on text of inverse slides, defaults to `FALSE` | |||
| #' @param inverse_header_color Inverse Header Color, defaults to `black_color` | |||
| #' @param title_slide_text_color Title Slide Text Color, defaults to `inverse_text_color` | |||
| #' @param title_slide_background_color Title Slide Background Color, defaults to `inverse_background_color` | |||
| #' @param title_slide_background_image Title Slide Background Image URL, defaults to NA | |||
| #' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set, defaults to NA | |||
| #' @param title_slide_background_position Title Slide Background Image Position, defaults to NA | |||
| #' @param footnote_color Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}`), defaults to NA | |||
| #' @param footnote_font_size Footnote font size, defaults to 90% | |||
| #' @param footnote_position_bottom Footnote location from bottom of screen, defaults to 3em | |||
| #' @param left_column_subtle_color Left Column Text (not last), defaults to `apply_alpha(base_color, 0.6)` | |||
| #' @param left_column_selected_color Left Column Current Selection, defaults to `base_color` | |||
| #' @param blockquote_left_color Blockquote Left Border Color, defaults to `apply_alpha(base_color, 0.5)` | |||
| #' @param table_border_color Table top/bottom border, defaults to #666 | |||
| #' @param table_row_border_color Table row inner bottom border, defaults to #ddd | |||
| #' @param table_row_even_background_color Table Even Row Background Color, defaults to `darken_color(base_color, 0.7)` | |||
| #' @param text_font_size Slide Body Text Font Size, defaults to 20px | |||
| #' @param header_h1_font_size h1 Header Text Font Size, defaults to 55px | |||
| #' @param header_h2_font_size h2 Header Text Font Size, defaults to 45px | |||
| #' @param header_h3_font_size h3 Header Text Font Size, defaults to 35px | |||
| #' @param text_slide_number_font_size Slide Number Text Font Size, defaults to 0.9em | |||
| #' @param text_font_google Use `google_font()` to specify body font, defaults to `NULL` | |||
| #' @param text_font_family Body Text Font Family, defaults to 'Droid Serif' | |||
| #' @param text_font_weight Body Text Font Weight, defaults to normal | |||
| #' @param text_font_url Body Text Font URL(s), defaults to https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic | |||
| #' @param text_font_family_fallback Body Text Font Fallbacks, defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC' | |||
| #' @param text_font_base Body Text Base Font (Total Failure Fallback), defaults to serif | |||
| #' @param header_font_google Use `google_font()` to specify header font, defaults to `NULL` | |||
| #' @param header_font_family Header Font Family, defaults to 'Yanone Kaffeesatz' | |||
| #' @param header_font_weight Header Font Weight, defaults to normal | |||
| #' @param header_font_url Header Font URL, defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz | |||
| #' @param code_font_google Use `google_font()` to specify code font, defaults to `NULL` | |||
| #' @param code_font_family Code Font Family, defaults to 'Source Code Pro' | |||
| #' @param code_font_size Code Text Font Size, defaults to 0.9em | |||
| #' @param code_font_url Code Font URL, defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700 | |||
| #' @param code_font_family_fallback Code Font Fallback, defaults to 'Lucida Console', Monaco | |||
| #' @param base_color Monotone Base Color, works best with a light color.. Defaults to #cbf7ed. Modifies multiple CSS classes or elements. | |||
| #' @param white_color Brightest color used, default is a very light version of `base_color`. Defaults to `lighten_color(base_color, 0.8)`. Modifies multiple CSS classes or elements. | |||
| #' @param black_color Darkest color used, default is a very dark, version of `base_color`. Defaults to `darken_color(base_color, 0.85)`. Modifies multiple CSS classes or elements. | |||
| #' @param text_color Text Color. Defaults to `white_color`. Modifies the `body` element. | |||
| #' @param header_color Header Color. Defaults to `base_color`. Modifies the `h1, h2, h3` elements. | |||
| #' @param background_color Slide Background Color. Defaults to `black_color`. Modifies the `.remark-slide-content` class. | |||
| #' @param link_color Link Color. Defaults to `base_color`. Modifies the `a, a > code` elements. | |||
| #' @param text_bold_color Bold Text Color. Defaults to `base_color`. Modifies the `strong` element. | |||
| #' @param text_slide_number_color Slide Number Color. Defaults to `base_color`. Modifies the `.remark-slide-number` class. | |||
| #' @param code_highlight_color Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class. | |||
| #' @param code_inline_color Inline Code Color. Defaults to `base_color`. Modifies the `.remark-inline-code` class. | |||
| #' @param code_inline_background_color Inline Code Background Color. Defaults to NA. Modifies the `.remark-inline-code` class. | |||
| #' @param code_inline_font_size Inline Code Text Font Size. Defaults to 1em. Modifies the `.remark-inline-code` class. | |||
| #' @param inverse_background_color Inverse Background Color. Defaults to `base_color`. Modifies the `.inverse` class. | |||
| #' @param inverse_text_color Inverse Text Color. Defaults to `black_color`. Modifies the `.inverse` class. | |||
| #' @param inverse_text_shadow Enables Shadow on text of inverse slides. Defaults to `FALSE`. Modifies the `.inverse` class. | |||
| #' @param inverse_header_color Inverse Header Color. Defaults to `black_color`. Modifies the `.inverse h1, .inverse h2, .inverse h3` classes. | |||
| #' @param title_slide_text_color Title Slide Text Color. Defaults to `inverse_text_color`. Modifies the `.title-slide` class. | |||
| #' @param title_slide_background_color Title Slide Background Color. Defaults to `inverse_background_color`. Modifies the `.title-slide` class. | |||
| #' @param title_slide_background_image Title Slide Background Image URL. Defaults to NA. Modifies the `.title-slide` class. | |||
| #' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the `.title-slide` class. | |||
| #' @param title_slide_background_position Title Slide Background Image Position. Defaults to NA. Modifies the `.title-slide` class. | |||
| #' @param footnote_color Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}`). Defaults to NA. Modifies the `.footnote` class. | |||
| #' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies the `.footnote` class. | |||
| #' @param footnote_position_bottom Footnote location from bottom of screen. Defaults to 3em. Modifies the `.footnote` class. | |||
| #' @param left_column_subtle_color Left Column Text (not last). Defaults to `apply_alpha(base_color, 0.6)`. Modifies the `.left-column h2, .left-column h3` classes. | |||
| #' @param left_column_selected_color Left Column Current Selection. Defaults to `base_color`. Modifies the `.left-column h2:last-of-type, .left-column h3:last-child` classes. | |||
| #' @param blockquote_left_color Blockquote Left Border Color. Defaults to `apply_alpha(base_color, 0.5)`. Modifies the `blockquote` element. | |||
| #' @param table_border_color Table top/bottom border. Defaults to #666. Modifies the `table: border-top, border-bottom` elements. | |||
| #' @param table_row_border_color Table row inner bottom border. Defaults to #ddd. Modifies the `table thead th: border-bottom` elements. | |||
| #' @param table_row_even_background_color Table Even Row Background Color. Defaults to `darken_color(base_color, 0.7)`. Modifies the `thead, tfoot, tr:nth-child(even)` elements. | |||
| #' @param text_font_size Slide Body Text Font Size. Defaults to 20px. Modifies the `.remark-slide-content` class. | |||
| #' @param header_h1_font_size h1 Header Text Font Size. Defaults to 55px. Modifies the `.remark-slide-content h1` class. | |||
| #' @param header_h2_font_size h2 Header Text Font Size. Defaults to 45px. Modifies the `.remark-slide-content h2` class. | |||
| #' @param header_h3_font_size h3 Header Text Font Size. Defaults to 35px. Modifies the `.remark-slide-content h3` class. | |||
| #' @param text_slide_number_font_size Slide Number Text Font Size. Defaults to 0.9em. Modifies the `.remark-slide-number` class. | |||
| #' @param text_font_google Use `google_font()` to specify body font. Defaults to `NULL`. Modifies the `body` element. | |||
| #' @param text_font_family Body Text Font Family. Defaults to 'Droid Serif'. Modifies the `body` element. | |||
| #' @param text_font_weight Body Text Font Weight. Defaults to normal. Modifies the `body` element. | |||
| #' @param text_font_url Body Text Font URL(s). Defaults to https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic. Modifies the `@import url()` elements. | |||
| #' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'. Modifies the `body` element. | |||
| #' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults to serif. Modifies the `body` element. | |||
| #' @param header_font_google Use `google_font()` to specify header font. Defaults to `NULL`. Modifies the `body` element. | |||
| #' @param header_font_family Header Font Family. Defaults to 'Yanone Kaffeesatz'. Modifies the `h1, h2, h3` elements. | |||
| #' @param header_font_weight Header Font Weight. Defaults to normal. Modifies the `h1, h2, h3` elements. | |||
| #' @param header_font_url Header Font URL. Defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz. Modifies the `@import url` elements. | |||
| #' @param code_font_google Use `google_font()` to specify code font. Defaults to `NULL`. Modifies the `body` element. | |||
| #' @param code_font_family Code Font Family. Defaults to 'Source Code Pro'. Modifies the `.remark-code, .remark-inline-code` classes. | |||
| #' @param code_font_size Code Text Font Size. Defaults to 0.9em. Modifies the `.remark-inline` class. | |||
| #' @param code_font_url Code Font URL. Defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700. Modifies the `@import url` elements. | |||
| #' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes. | |||
| #' @template extra_css | |||
| #' @param outfile Customized xaringan CSS output file name, default is "xaringan-themer.css" | |||
| #' @template mono_dark | |||
| @@ -78,7 +78,7 @@ mono_dark <- function( | |||
| title_slide_background_size = NA, | |||
| title_slide_background_position = NA, | |||
| footnote_color = NA, | |||
| footnote_font_size = "90%", | |||
| footnote_font_size = "0.9em", | |||
| footnote_position_bottom = "3em", | |||
| left_column_subtle_color = apply_alpha(base_color, 0.6), | |||
| left_column_selected_color = base_color, | |||
| @@ -1,54 +1,54 @@ | |||
| #' @param base_color Monotone base color, works best with a strong color, defaults to #23395b | |||
| #' @param white_color Brightest color used, default is a very light version of `base_color`, defaults to `lighten_color(base_color, 0.9)` | |||
| #' @param black_color Darkest color used, default is a very dark, version of `base_color`, defaults to `darken_color(base_color, 0.3)` | |||
| #' @param text_color Text Color, defaults to `black_color` | |||
| #' @param header_color Header Color, defaults to `base_color` | |||
| #' @param background_color Slide Background Color, defaults to `white_color` | |||
| #' @param link_color Link Color, defaults to `base_color` | |||
| #' @param text_bold_color Bold Text Color, defaults to `base_color` | |||
| #' @param text_slide_number_color Slide Number Color, defaults to `base_color` | |||
| #' @param code_highlight_color Code Line Highlight, defaults to rgba(255,255,0,0.5) | |||
| #' @param code_inline_color Inline Code Color, defaults to `base_color` | |||
| #' @param code_inline_background_color Inline Code Background Color, defaults to NA | |||
| #' @param code_inline_font_size Inline Code Text Font Size, defaults to 1em | |||
| #' @param inverse_background_color Inverse Background Color, defaults to `base_color` | |||
| #' @param inverse_text_color Inverse Text Color, defaults to `white_color` | |||
| #' @param inverse_text_shadow Enables Shadow on text of inverse slides, defaults to `FALSE` | |||
| #' @param inverse_header_color Inverse Header Color, defaults to `white_color` | |||
| #' @param title_slide_text_color Title Slide Text Color, defaults to `inverse_text_color` | |||
| #' @param title_slide_background_color Title Slide Background Color, defaults to `inverse_background_color` | |||
| #' @param title_slide_background_image Title Slide Background Image URL, defaults to NA | |||
| #' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set, defaults to NA | |||
| #' @param title_slide_background_position Title Slide Background Image Position, defaults to NA | |||
| #' @param footnote_color Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}`), defaults to NA | |||
| #' @param footnote_font_size Footnote font size, defaults to 90% | |||
| #' @param footnote_position_bottom Footnote location from bottom of screen, defaults to 3em | |||
| #' @param left_column_subtle_color Left Column Text (not last), defaults to `apply_alpha(base_color, 0.6)` | |||
| #' @param left_column_selected_color Left Column Current Selection, defaults to `base_color` | |||
| #' @param blockquote_left_color Blockquote Left Border Color, defaults to `apply_alpha(base_color, 0.5)` | |||
| #' @param table_border_color Table top/bottom border, defaults to #666 | |||
| #' @param table_row_border_color Table row inner bottom border, defaults to #ddd | |||
| #' @param table_row_even_background_color Table Even Row Background Color, defaults to `lighten_color(base_color, 0.8)` | |||
| #' @param text_font_size Slide Body Text Font Size, defaults to 20px | |||
| #' @param header_h1_font_size h1 Header Text Font Size, defaults to 55px | |||
| #' @param header_h2_font_size h2 Header Text Font Size, defaults to 45px | |||
| #' @param header_h3_font_size h3 Header Text Font Size, defaults to 35px | |||
| #' @param text_slide_number_font_size Slide Number Text Font Size, defaults to 0.9em | |||
| #' @param text_font_google Use `google_font()` to specify body font, defaults to `NULL` | |||
| #' @param text_font_family Body Text Font Family, defaults to 'Droid Serif' | |||
| #' @param text_font_weight Body Text Font Weight, defaults to normal | |||
| #' @param text_font_url Body Text Font URL(s), defaults to https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic | |||
| #' @param text_font_family_fallback Body Text Font Fallbacks, defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC' | |||
| #' @param text_font_base Body Text Base Font (Total Failure Fallback), defaults to serif | |||
| #' @param header_font_google Use `google_font()` to specify header font, defaults to `NULL` | |||
| #' @param header_font_family Header Font Family, defaults to 'Yanone Kaffeesatz' | |||
| #' @param header_font_weight Header Font Weight, defaults to normal | |||
| #' @param header_font_url Header Font URL, defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz | |||
| #' @param code_font_google Use `google_font()` to specify code font, defaults to `NULL` | |||
| #' @param code_font_family Code Font Family, defaults to 'Source Code Pro' | |||
| #' @param code_font_size Code Text Font Size, defaults to 0.9em | |||
| #' @param code_font_url Code Font URL, defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700 | |||
| #' @param code_font_family_fallback Code Font Fallback, defaults to 'Lucida Console', Monaco | |||
| #' @param base_color Monotone base color, works best with a strong color. Defaults to #23395b. Modifies multiple CSS classes or elements. | |||
| #' @param white_color Brightest color used, default is a very light version of `base_color`. Defaults to `lighten_color(base_color, 0.9)`. Modifies multiple CSS classes or elements. | |||
| #' @param black_color Darkest color used, default is a very dark, version of `base_color`. Defaults to `darken_color(base_color, 0.3)`. Modifies multiple CSS classes or elements. | |||
| #' @param text_color Text Color. Defaults to `black_color`. Modifies the `body` element. | |||
| #' @param header_color Header Color. Defaults to `base_color`. Modifies the `h1, h2, h3` elements. | |||
| #' @param background_color Slide Background Color. Defaults to `white_color`. Modifies the `.remark-slide-content` class. | |||
| #' @param link_color Link Color. Defaults to `base_color`. Modifies the `a, a > code` elements. | |||
| #' @param text_bold_color Bold Text Color. Defaults to `base_color`. Modifies the `strong` element. | |||
| #' @param text_slide_number_color Slide Number Color. Defaults to `base_color`. Modifies the `.remark-slide-number` class. | |||
| #' @param code_highlight_color Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class. | |||
| #' @param code_inline_color Inline Code Color. Defaults to `base_color`. Modifies the `.remark-inline-code` class. | |||
| #' @param code_inline_background_color Inline Code Background Color. Defaults to NA. Modifies the `.remark-inline-code` class. | |||
| #' @param code_inline_font_size Inline Code Text Font Size. Defaults to 1em. Modifies the `.remark-inline-code` class. | |||
| #' @param inverse_background_color Inverse Background Color. Defaults to `base_color`. Modifies the `.inverse` class. | |||
| #' @param inverse_text_color Inverse Text Color. Defaults to `white_color`. Modifies the `.inverse` class. | |||
| #' @param inverse_text_shadow Enables Shadow on text of inverse slides. Defaults to `FALSE`. Modifies the `.inverse` class. | |||
| #' @param inverse_header_color Inverse Header Color. Defaults to `white_color`. Modifies the `.inverse h1, .inverse h2, .inverse h3` classes. | |||
| #' @param title_slide_text_color Title Slide Text Color. Defaults to `inverse_text_color`. Modifies the `.title-slide` class. | |||
| #' @param title_slide_background_color Title Slide Background Color. Defaults to `inverse_background_color`. Modifies the `.title-slide` class. | |||
| #' @param title_slide_background_image Title Slide Background Image URL. Defaults to NA. Modifies the `.title-slide` class. | |||
| #' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the `.title-slide` class. | |||
| #' @param title_slide_background_position Title Slide Background Image Position. Defaults to NA. Modifies the `.title-slide` class. | |||
| #' @param footnote_color Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}`). Defaults to NA. Modifies the `.footnote` class. | |||
| #' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies the `.footnote` class. | |||
| #' @param footnote_position_bottom Footnote location from bottom of screen. Defaults to 3em. Modifies the `.footnote` class. | |||
| #' @param left_column_subtle_color Left Column Text (not last). Defaults to `apply_alpha(base_color, 0.6)`. Modifies the `.left-column h2, .left-column h3` classes. | |||
| #' @param left_column_selected_color Left Column Current Selection. Defaults to `base_color`. Modifies the `.left-column h2:last-of-type, .left-column h3:last-child` classes. | |||
| #' @param blockquote_left_color Blockquote Left Border Color. Defaults to `apply_alpha(base_color, 0.5)`. Modifies the `blockquote` element. | |||
| #' @param table_border_color Table top/bottom border. Defaults to #666. Modifies the `table: border-top, border-bottom` elements. | |||
| #' @param table_row_border_color Table row inner bottom border. Defaults to #ddd. Modifies the `table thead th: border-bottom` elements. | |||
| #' @param table_row_even_background_color Table Even Row Background Color. Defaults to `lighten_color(base_color, 0.8)`. Modifies the `thead, tfoot, tr:nth-child(even)` elements. | |||
| #' @param text_font_size Slide Body Text Font Size. Defaults to 20px. Modifies the `.remark-slide-content` class. | |||
| #' @param header_h1_font_size h1 Header Text Font Size. Defaults to 55px. Modifies the `.remark-slide-content h1` class. | |||
| #' @param header_h2_font_size h2 Header Text Font Size. Defaults to 45px. Modifies the `.remark-slide-content h2` class. | |||
| #' @param header_h3_font_size h3 Header Text Font Size. Defaults to 35px. Modifies the `.remark-slide-content h3` class. | |||
| #' @param text_slide_number_font_size Slide Number Text Font Size. Defaults to 0.9em. Modifies the `.remark-slide-number` class. | |||
| #' @param text_font_google Use `google_font()` to specify body font. Defaults to `NULL`. Modifies the `body` element. | |||
| #' @param text_font_family Body Text Font Family. Defaults to 'Droid Serif'. Modifies the `body` element. | |||
| #' @param text_font_weight Body Text Font Weight. Defaults to normal. Modifies the `body` element. | |||
| #' @param text_font_url Body Text Font URL(s). Defaults to https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic. Modifies the `@import url()` elements. | |||
| #' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'. Modifies the `body` element. | |||
| #' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults to serif. Modifies the `body` element. | |||
| #' @param header_font_google Use `google_font()` to specify header font. Defaults to `NULL`. Modifies the `body` element. | |||
| #' @param header_font_family Header Font Family. Defaults to 'Yanone Kaffeesatz'. Modifies the `h1, h2, h3` elements. | |||
| #' @param header_font_weight Header Font Weight. Defaults to normal. Modifies the `h1, h2, h3` elements. | |||
| #' @param header_font_url Header Font URL. Defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz. Modifies the `@import url` elements. | |||
| #' @param code_font_google Use `google_font()` to specify code font. Defaults to `NULL`. Modifies the `body` element. | |||
| #' @param code_font_family Code Font Family. Defaults to 'Source Code Pro'. Modifies the `.remark-code, .remark-inline-code` classes. | |||
| #' @param code_font_size Code Text Font Size. Defaults to 0.9em. Modifies the `.remark-inline` class. | |||
| #' @param code_font_url Code Font URL. Defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700. Modifies the `@import url` elements. | |||
| #' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes. | |||
| #' @template extra_css | |||
| #' @param outfile Customized xaringan CSS output file name, default is "xaringan-themer.css" | |||
| #' @template mono_light | |||
| @@ -78,7 +78,7 @@ mono_light <- function( | |||
| title_slide_background_size = NA, | |||
| title_slide_background_position = NA, | |||
| footnote_color = NA, | |||
| footnote_font_size = "90%", | |||
| footnote_font_size = "0.9em", | |||
| footnote_position_bottom = "3em", | |||
| left_column_subtle_color = apply_alpha(base_color, 0.6), | |||
| left_column_selected_color = base_color, | |||
| @@ -1,51 +1,51 @@ | |||
| #' @param text_color Text Color, defaults to #839496 | |||
| #' @param header_color Header Color, defaults to #dc322f | |||
| #' @param background_color Slide Background Color, defaults to #002b36 | |||
| #' @param link_color Link Color, defaults to #b58900 | |||
| #' @param text_bold_color Bold Text Color, defaults to #d33682 | |||
| #' @param text_slide_number_color Slide Number Color, defaults to #586e75 | |||
| #' @param code_highlight_color Code Line Highlight, defaults to #268bd240 | |||
| #' @param code_inline_color Inline Code Color, defaults to #6c71c4 | |||
| #' @param code_inline_background_color Inline Code Background Color, defaults to NA | |||
| #' @param code_inline_font_size Inline Code Text Font Size, defaults to 1em | |||
| #' @param inverse_background_color Inverse Background Color, defaults to #fdf6e3 | |||
| #' @param inverse_text_color Inverse Text Color, defaults to #002b36 | |||
| #' @param inverse_text_shadow Enables Shadow on text of inverse slides, defaults to `FALSE` | |||
| #' @param inverse_header_color Inverse Header Color, defaults to `inverse_text_color` | |||
| #' @param title_slide_text_color Title Slide Text Color, defaults to `inverse_text_color` | |||
| #' @param title_slide_background_color Title Slide Background Color, defaults to `inverse_background_color` | |||
| #' @param title_slide_background_image Title Slide Background Image URL, defaults to NA | |||
| #' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set, defaults to NA | |||
| #' @param title_slide_background_position Title Slide Background Image Position, defaults to NA | |||
| #' @param footnote_color Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}`), defaults to NA | |||
| #' @param footnote_font_size Footnote font size, defaults to 90% | |||
| #' @param footnote_position_bottom Footnote location from bottom of screen, defaults to 3em | |||
| #' @param left_column_subtle_color Left Column Text (not last), defaults to #586e75 | |||
| #' @param left_column_selected_color Left Column Current Selection, defaults to #93a1a1 | |||
| #' @param blockquote_left_color Blockquote Left Border Color, defaults to #cb4b16 | |||
| #' @param table_border_color Table top/bottom border, defaults to #657b83 | |||
| #' @param table_row_border_color Table row inner bottom border, defaults to #657b83 | |||
| #' @param table_row_even_background_color Table Even Row Background Color, defaults to #073642 | |||
| #' @param text_font_size Slide Body Text Font Size, defaults to 20px | |||
| #' @param header_h1_font_size h1 Header Text Font Size, defaults to 55px | |||
| #' @param header_h2_font_size h2 Header Text Font Size, defaults to 45px | |||
| #' @param header_h3_font_size h3 Header Text Font Size, defaults to 35px | |||
| #' @param text_slide_number_font_size Slide Number Text Font Size, defaults to 0.9em | |||
| #' @param text_font_google Use `google_font()` to specify body font, defaults to `NULL` | |||
| #' @param text_font_family Body Text Font Family, defaults to 'Droid Serif' | |||
| #' @param text_font_weight Body Text Font Weight, defaults to normal | |||
| #' @param text_font_url Body Text Font URL(s), defaults to https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic | |||
| #' @param text_font_family_fallback Body Text Font Fallbacks, defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC' | |||
| #' @param text_font_base Body Text Base Font (Total Failure Fallback), defaults to serif | |||
| #' @param header_font_google Use `google_font()` to specify header font, defaults to `NULL` | |||
| #' @param header_font_family Header Font Family, defaults to 'Yanone Kaffeesatz' | |||
| #' @param header_font_weight Header Font Weight, defaults to normal | |||
| #' @param header_font_url Header Font URL, defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz | |||
| #' @param code_font_google Use `google_font()` to specify code font, defaults to `NULL` | |||
| #' @param code_font_family Code Font Family, defaults to 'Source Code Pro' | |||
| #' @param code_font_size Code Text Font Size, defaults to 0.9em | |||
| #' @param code_font_url Code Font URL, defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700 | |||
| #' @param code_font_family_fallback Code Font Fallback, defaults to 'Lucida Console', Monaco | |||
| #' @param text_color Text Color. Defaults to #839496. Modifies the `body` element. | |||
| #' @param header_color Header Color. Defaults to #dc322f. Modifies the `h1, h2, h3` elements. | |||
| #' @param background_color Slide Background Color. Defaults to #002b36. Modifies the `.remark-slide-content` class. | |||
| #' @param link_color Link Color. Defaults to #b58900. Modifies the `a, a > code` elements. | |||
| #' @param text_bold_color Bold Text Color. Defaults to #d33682. Modifies the `strong` element. | |||
| #' @param text_slide_number_color Slide Number Color. Defaults to #586e75. Modifies the `.remark-slide-number` class. | |||
| #' @param code_highlight_color Code Line Highlight. Defaults to #268bd240. Modifies the `.remark-code-line-highlighted` class. | |||
| #' @param code_inline_color Inline Code Color. Defaults to #6c71c4. Modifies the `.remark-inline-code` class. | |||
| #' @param code_inline_background_color Inline Code Background Color. Defaults to NA. Modifies the `.remark-inline-code` class. | |||
| #' @param code_inline_font_size Inline Code Text Font Size. Defaults to 1em. Modifies the `.remark-inline-code` class. | |||
| #' @param inverse_background_color Inverse Background Color. Defaults to #fdf6e3. Modifies the `.inverse` class. | |||
| #' @param inverse_text_color Inverse Text Color. Defaults to #002b36. Modifies the `.inverse` class. | |||
| #' @param inverse_text_shadow Enables Shadow on text of inverse slides. Defaults to `FALSE`. Modifies the `.inverse` class. | |||
| #' @param inverse_header_color Inverse Header Color. Defaults to `inverse_text_color`. Modifies the `.inverse h1, .inverse h2, .inverse h3` classes. | |||
| #' @param title_slide_text_color Title Slide Text Color. Defaults to `inverse_text_color`. Modifies the `.title-slide` class. | |||
| #' @param title_slide_background_color Title Slide Background Color. Defaults to `inverse_background_color`. Modifies the `.title-slide` class. | |||
| #' @param title_slide_background_image Title Slide Background Image URL. Defaults to NA. Modifies the `.title-slide` class. | |||
| #' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the `.title-slide` class. | |||
| #' @param title_slide_background_position Title Slide Background Image Position. Defaults to NA. Modifies the `.title-slide` class. | |||
| #' @param footnote_color Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}`). Defaults to NA. Modifies the `.footnote` class. | |||
| #' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies the `.footnote` class. | |||
| #' @param footnote_position_bottom Footnote location from bottom of screen. Defaults to 3em. Modifies the `.footnote` class. | |||
| #' @param left_column_subtle_color Left Column Text (not last). Defaults to #586e75. Modifies the `.left-column h2, .left-column h3` classes. | |||
| #' @param left_column_selected_color Left Column Current Selection. Defaults to #93a1a1. Modifies the `.left-column h2:last-of-type, .left-column h3:last-child` classes. | |||
| #' @param blockquote_left_color Blockquote Left Border Color. Defaults to #cb4b16. Modifies the `blockquote` element. | |||
| #' @param table_border_color Table top/bottom border. Defaults to #657b83. Modifies the `table: border-top, border-bottom` elements. | |||
| #' @param table_row_border_color Table row inner bottom border. Defaults to #657b83. Modifies the `table thead th: border-bottom` elements. | |||
| #' @param table_row_even_background_color Table Even Row Background Color. Defaults to #073642. Modifies the `thead, tfoot, tr:nth-child(even)` elements. | |||
| #' @param text_font_size Slide Body Text Font Size. Defaults to 20px. Modifies the `.remark-slide-content` class. | |||
| #' @param header_h1_font_size h1 Header Text Font Size. Defaults to 55px. Modifies the `.remark-slide-content h1` class. | |||
| #' @param header_h2_font_size h2 Header Text Font Size. Defaults to 45px. Modifies the `.remark-slide-content h2` class. | |||
| #' @param header_h3_font_size h3 Header Text Font Size. Defaults to 35px. Modifies the `.remark-slide-content h3` class. | |||
| #' @param text_slide_number_font_size Slide Number Text Font Size. Defaults to 0.9em. Modifies the `.remark-slide-number` class. | |||
| #' @param text_font_google Use `google_font()` to specify body font. Defaults to `NULL`. Modifies the `body` element. | |||
| #' @param text_font_family Body Text Font Family. Defaults to 'Droid Serif'. Modifies the `body` element. | |||
| #' @param text_font_weight Body Text Font Weight. Defaults to normal. Modifies the `body` element. | |||
| #' @param text_font_url Body Text Font URL(s). Defaults to https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic. Modifies the `@import url()` elements. | |||
| #' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'. Modifies the `body` element. | |||
| #' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults to serif. Modifies the `body` element. | |||
| #' @param header_font_google Use `google_font()` to specify header font. Defaults to `NULL`. Modifies the `body` element. | |||
| #' @param header_font_family Header Font Family. Defaults to 'Yanone Kaffeesatz'. Modifies the `h1, h2, h3` elements. | |||
| #' @param header_font_weight Header Font Weight. Defaults to normal. Modifies the `h1, h2, h3` elements. | |||
| #' @param header_font_url Header Font URL. Defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz. Modifies the `@import url` elements. | |||
| #' @param code_font_google Use `google_font()` to specify code font. Defaults to `NULL`. Modifies the `body` element. | |||
| #' @param code_font_family Code Font Family. Defaults to 'Source Code Pro'. Modifies the `.remark-code, .remark-inline-code` classes. | |||
| #' @param code_font_size Code Text Font Size. Defaults to 0.9em. Modifies the `.remark-inline` class. | |||
| #' @param code_font_url Code Font URL. Defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700. Modifies the `@import url` elements. | |||
| #' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes. | |||
| #' @template extra_css | |||
| #' @param outfile Customized xaringan CSS output file name, default is "xaringan-themer.css" | |||
| #' @template solarized_dark | |||
| @@ -72,7 +72,7 @@ solarized_dark <- function( | |||
| title_slide_background_size = NA, | |||
| title_slide_background_position = NA, | |||
| footnote_color = NA, | |||
| footnote_font_size = "90%", | |||
| footnote_font_size = "0.9em", | |||
| footnote_position_bottom = "3em", | |||
| left_column_subtle_color = "#586e75", | |||
| left_column_selected_color = "#93a1a1", | |||
| @@ -1,51 +1,51 @@ | |||
| #' @param text_color Text Color, defaults to #657b83 | |||
| #' @param header_color Header Color, defaults to #dc322f | |||
| #' @param background_color Slide Background Color, defaults to #fdf6e3 | |||
| #' @param link_color Link Color, defaults to #b58900 | |||
| #' @param text_bold_color Bold Text Color, defaults to #d33682 | |||
| #' @param text_slide_number_color Slide Number Color, defaults to #93a1a1 | |||
| #' @param code_highlight_color Code Line Highlight, defaults to #268bd240 | |||
| #' @param code_inline_color Inline Code Color, defaults to #6c71c4 | |||
| #' @param code_inline_background_color Inline Code Background Color, defaults to NA | |||
| #' @param code_inline_font_size Inline Code Text Font Size, defaults to 1em | |||
| #' @param inverse_background_color Inverse Background Color, defaults to #002b36 | |||
| #' @param inverse_text_color Inverse Text Color, defaults to #fdf6e3 | |||
| #' @param inverse_text_shadow Enables Shadow on text of inverse slides, defaults to `FALSE` | |||
| #' @param inverse_header_color Inverse Header Color, defaults to `inverse_text_color` | |||
| #' @param title_slide_text_color Title Slide Text Color, defaults to `inverse_text_color` | |||
| #' @param title_slide_background_color Title Slide Background Color, defaults to `inverse_background_color` | |||
| #' @param title_slide_background_image Title Slide Background Image URL, defaults to NA | |||
| #' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set, defaults to NA | |||
| #' @param title_slide_background_position Title Slide Background Image Position, defaults to NA | |||
| #' @param footnote_color Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}`), defaults to NA | |||
| #' @param footnote_font_size Footnote font size, defaults to 90% | |||
| #' @param footnote_position_bottom Footnote location from bottom of screen, defaults to 3em | |||
| #' @param left_column_subtle_color Left Column Text (not last), defaults to #93a1a1 | |||
| #' @param left_column_selected_color Left Column Current Selection, defaults to #586e75 | |||
| #' @param blockquote_left_color Blockquote Left Border Color, defaults to #cb4b16 | |||
| #' @param table_border_color Table top/bottom border, defaults to #839496 | |||
| #' @param table_row_border_color Table row inner bottom border, defaults to #839496 | |||
| #' @param table_row_even_background_color Table Even Row Background Color, defaults to #eee8d5 | |||
| #' @param text_font_size Slide Body Text Font Size, defaults to 20px | |||
| #' @param header_h1_font_size h1 Header Text Font Size, defaults to 55px | |||
| #' @param header_h2_font_size h2 Header Text Font Size, defaults to 45px | |||
| #' @param header_h3_font_size h3 Header Text Font Size, defaults to 35px | |||
| #' @param text_slide_number_font_size Slide Number Text Font Size, defaults to 0.9em | |||
| #' @param text_font_google Use `google_font()` to specify body font, defaults to `NULL` | |||
| #' @param text_font_family Body Text Font Family, defaults to 'Droid Serif' | |||
| #' @param text_font_weight Body Text Font Weight, defaults to normal | |||
| #' @param text_font_url Body Text Font URL(s), defaults to https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic | |||
| #' @param text_font_family_fallback Body Text Font Fallbacks, defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC' | |||
| #' @param text_font_base Body Text Base Font (Total Failure Fallback), defaults to serif | |||
| #' @param header_font_google Use `google_font()` to specify header font, defaults to `NULL` | |||
| #' @param header_font_family Header Font Family, defaults to 'Yanone Kaffeesatz' | |||
| #' @param header_font_weight Header Font Weight, defaults to normal | |||
| #' @param header_font_url Header Font URL, defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz | |||
| #' @param code_font_google Use `google_font()` to specify code font, defaults to `NULL` | |||
| #' @param code_font_family Code Font Family, defaults to 'Source Code Pro' | |||
| #' @param code_font_size Code Text Font Size, defaults to 0.9em | |||
| #' @param code_font_url Code Font URL, defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700 | |||
| #' @param code_font_family_fallback Code Font Fallback, defaults to 'Lucida Console', Monaco | |||
| #' @param text_color Text Color. Defaults to #657b83. Modifies the `body` element. | |||
| #' @param header_color Header Color. Defaults to #dc322f. Modifies the `h1, h2, h3` elements. | |||
| #' @param background_color Slide Background Color. Defaults to #fdf6e3. Modifies the `.remark-slide-content` class. | |||
| #' @param link_color Link Color. Defaults to #b58900. Modifies the `a, a > code` elements. | |||
| #' @param text_bold_color Bold Text Color. Defaults to #d33682. Modifies the `strong` element. | |||
| #' @param text_slide_number_color Slide Number Color. Defaults to #93a1a1. Modifies the `.remark-slide-number` class. | |||
| #' @param code_highlight_color Code Line Highlight. Defaults to #268bd240. Modifies the `.remark-code-line-highlighted` class. | |||
| #' @param code_inline_color Inline Code Color. Defaults to #6c71c4. Modifies the `.remark-inline-code` class. | |||
| #' @param code_inline_background_color Inline Code Background Color. Defaults to NA. Modifies the `.remark-inline-code` class. | |||
| #' @param code_inline_font_size Inline Code Text Font Size. Defaults to 1em. Modifies the `.remark-inline-code` class. | |||
| #' @param inverse_background_color Inverse Background Color. Defaults to #002b36. Modifies the `.inverse` class. | |||
| #' @param inverse_text_color Inverse Text Color. Defaults to #fdf6e3. Modifies the `.inverse` class. | |||
| #' @param inverse_text_shadow Enables Shadow on text of inverse slides. Defaults to `FALSE`. Modifies the `.inverse` class. | |||
| #' @param inverse_header_color Inverse Header Color. Defaults to `inverse_text_color`. Modifies the `.inverse h1, .inverse h2, .inverse h3` classes. | |||
| #' @param title_slide_text_color Title Slide Text Color. Defaults to `inverse_text_color`. Modifies the `.title-slide` class. | |||
| #' @param title_slide_background_color Title Slide Background Color. Defaults to `inverse_background_color`. Modifies the `.title-slide` class. | |||
| #' @param title_slide_background_image Title Slide Background Image URL. Defaults to NA. Modifies the `.title-slide` class. | |||
| #' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the `.title-slide` class. | |||
| #' @param title_slide_background_position Title Slide Background Image Position. Defaults to NA. Modifies the `.title-slide` class. | |||
| #' @param footnote_color Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}`). Defaults to NA. Modifies the `.footnote` class. | |||
| #' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies the `.footnote` class. | |||
| #' @param footnote_position_bottom Footnote location from bottom of screen. Defaults to 3em. Modifies the `.footnote` class. | |||
| #' @param left_column_subtle_color Left Column Text (not last). Defaults to #93a1a1. Modifies the `.left-column h2, .left-column h3` classes. | |||
| #' @param left_column_selected_color Left Column Current Selection. Defaults to #586e75. Modifies the `.left-column h2:last-of-type, .left-column h3:last-child` classes. | |||
| #' @param blockquote_left_color Blockquote Left Border Color. Defaults to #cb4b16. Modifies the `blockquote` element. | |||
| #' @param table_border_color Table top/bottom border. Defaults to #839496. Modifies the `table: border-top, border-bottom` elements. | |||
| #' @param table_row_border_color Table row inner bottom border. Defaults to #839496. Modifies the `table thead th: border-bottom` elements. | |||
| #' @param table_row_even_background_color Table Even Row Background Color. Defaults to #eee8d5. Modifies the `thead, tfoot, tr:nth-child(even)` elements. | |||
| #' @param text_font_size Slide Body Text Font Size. Defaults to 20px. Modifies the `.remark-slide-content` class. | |||
| #' @param header_h1_font_size h1 Header Text Font Size. Defaults to 55px. Modifies the `.remark-slide-content h1` class. | |||
| #' @param header_h2_font_size h2 Header Text Font Size. Defaults to 45px. Modifies the `.remark-slide-content h2` class. | |||
| #' @param header_h3_font_size h3 Header Text Font Size. Defaults to 35px. Modifies the `.remark-slide-content h3` class. | |||
| #' @param text_slide_number_font_size Slide Number Text Font Size. Defaults to 0.9em. Modifies the `.remark-slide-number` class. | |||
| #' @param text_font_google Use `google_font()` to specify body font. Defaults to `NULL`. Modifies the `body` element. | |||
| #' @param text_font_family Body Text Font Family. Defaults to 'Droid Serif'. Modifies the `body` element. | |||
| #' @param text_font_weight Body Text Font Weight. Defaults to normal. Modifies the `body` element. | |||
| #' @param text_font_url Body Text Font URL(s). Defaults to https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic. Modifies the `@import url()` elements. | |||
| #' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'. Modifies the `body` element. | |||
| #' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults to serif. Modifies the `body` element. | |||
| #' @param header_font_google Use `google_font()` to specify header font. Defaults to `NULL`. Modifies the `body` element. | |||
| #' @param header_font_family Header Font Family. Defaults to 'Yanone Kaffeesatz'. Modifies the `h1, h2, h3` elements. | |||
| #' @param header_font_weight Header Font Weight. Defaults to normal. Modifies the `h1, h2, h3` elements. | |||
| #' @param header_font_url Header Font URL. Defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz. Modifies the `@import url` elements. | |||
| #' @param code_font_google Use `google_font()` to specify code font. Defaults to `NULL`. Modifies the `body` element. | |||
| #' @param code_font_family Code Font Family. Defaults to 'Source Code Pro'. Modifies the `.remark-code, .remark-inline-code` classes. | |||
| #' @param code_font_size Code Text Font Size. Defaults to 0.9em. Modifies the `.remark-inline` class. | |||
| #' @param code_font_url Code Font URL. Defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700. Modifies the `@import url` elements. | |||
| #' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes. | |||
| #' @template extra_css | |||
| #' @param outfile Customized xaringan CSS output file name, default is "xaringan-themer.css" | |||
| #' @template solarized_light | |||
| @@ -72,7 +72,7 @@ solarized_light <- function( | |||
| title_slide_background_size = NA, | |||
| title_slide_background_position = NA, | |||
| footnote_color = NA, | |||
| footnote_font_size = "90%", | |||
| footnote_font_size = "0.9em", | |||
| footnote_position_bottom = "3em", | |||
| left_column_subtle_color = "#93a1a1", | |||
| left_column_selected_color = "#586e75", | |||
| @@ -20,9 +20,9 @@ template_variables <- tibble::tribble( | |||
| , "title_slide_background_size", NA_character_, ".title-slide", "Title Slide Background Image Size, defaults to \"cover\" if background image is set" | |||
| , "title_slide_background_position", NA_character_, ".title-slide", "Title Slide Background Image Position" | |||
| , "footnote_color", NA_character_, ".footnote", "Footnote text color (if \\code{NA}, then it will be the same color as \\code{text_color}`)" | |||
| , "footnote_font_size", "90%", ".footnote", "Footnote font size" | |||
| , "footnote_font_size", "0.9em", ".footnote", "Footnote font size" | |||
| , "footnote_position_bottom", "3em", ".footnote", "Footnote location from bottom of screen" | |||
| , "left_column_subtle_color", "#777", ".left-column", "Left Column Text (not last)" | |||
| , "left_column_subtle_color", "#777", ".left-column h2, .left-column h3", "Left Column Text (not last)" | |||
| , "left_column_selected_color", "#000", ".left-column h2:last-of-type, .left-column h3:last-child", "Left Column Current Selection" | |||
| , "blockquote_left_color", "lightgray", "blockquote", "Blockquote Left Border Color" | |||
| , "table_border_color", "#666", "table: border-top, border-bottom", "Table top/bottom border" | |||
| @@ -156,7 +156,7 @@ template_mono_accent_inverse <- set_default( | |||
| template_duo_light <- tibble::tribble( | |||
| ~ variable, ~ default, ~ element, ~ description | |||
| , "primary_color", "#1F4257", "mutliple", "Duotone Secondary Color" | |||
| , "primary_color", "#1F4257", "multiple", "Duotone Secondary Color" | |||
| , "secondary_color", "#F97B64", "multiple", "Duotone Primary Color" | |||
| , "white_color", "{lighten_color(primary_color, 0.99)}", "multiple", "Brightest color used, default is a very light version of `primary_color`" | |||
| , "black_color", "{darken_color(secondary_color, 0.9)}", "multiple", "Darkest color used, default is a very dark version of `secondary_color`" | |||
| @@ -181,7 +181,7 @@ template_duo_light <- set_default( | |||
| template_duo <- tibble::tribble( | |||
| ~ variable, ~ default, ~ element, ~ description | |||
| , "primary_color", "#1F4257", "mutliple", "Duotone Primary Color" | |||
| , "primary_color", "#1F4257", "multiple", "Duotone Primary Color" | |||
| , "secondary_color", "#F97B64", "multiple", "Duotone Secondary Color" | |||
| ) | |||
| template_duo <- do.call('rbind', list(template_duo, template_variables)) | |||
| @@ -206,7 +206,7 @@ template_duo <- set_default( | |||
| template_duo_accent <- tibble::tribble( | |||
| ~ variable, ~ default, ~ element, ~ description | |||
| , "primary_color", "#006747", "mutliple", "Duotone Primary Color" | |||
| , "primary_color", "#006747", "multiple", "Duotone Primary Color" | |||
| , "secondary_color", "#CFC493", "multiple", "Duotone Secondary Color" | |||
| , "white_color", "#FFFFFF", "multiple", "Brightest color used" | |||
| , "black_color", "#000000", "multiple", "Darkest color used" | |||
| @@ -1,51 +1,51 @@ | |||
| #' @param text_color Text Color, defaults to #000 | |||
| #' @param header_color Header Color, defaults to #000 | |||
| #' @param background_color Slide Background Color, defaults to #FFF | |||
| #' @param link_color Link Color, defaults to rgb(249, 38, 114) | |||
| #' @param text_bold_color Bold Text Color, defaults to NA | |||
| #' @param text_slide_number_color Slide Number Color, defaults to `inverse_background_color` | |||
| #' @param code_highlight_color Code Line Highlight, defaults to rgba(255,255,0,0.5) | |||
| #' @param code_inline_color Inline Code Color, defaults to #000 | |||
| #' @param code_inline_background_color Inline Code Background Color, defaults to NA | |||
| #' @param code_inline_font_size Inline Code Text Font Size, defaults to 1em | |||
| #' @param inverse_background_color Inverse Background Color, defaults to #272822 | |||
| #' @param inverse_text_color Inverse Text Color, defaults to #d6d6d6 | |||
| #' @param inverse_text_shadow Enables Shadow on text of inverse slides, defaults to `FALSE` | |||
| #' @param inverse_header_color Inverse Header Color, defaults to #f3f3f3 | |||
| #' @param title_slide_text_color Title Slide Text Color, defaults to `inverse_text_color` | |||
| #' @param title_slide_background_color Title Slide Background Color, defaults to `inverse_background_color` | |||
| #' @param title_slide_background_image Title Slide Background Image URL, defaults to NA | |||
| #' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set, defaults to NA | |||
| #' @param title_slide_background_position Title Slide Background Image Position, defaults to NA | |||
| #' @param footnote_color Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}`), defaults to NA | |||
| #' @param footnote_font_size Footnote font size, defaults to 90% | |||
| #' @param footnote_position_bottom Footnote location from bottom of screen, defaults to 3em | |||
| #' @param left_column_subtle_color Left Column Text (not last), defaults to #777 | |||
| #' @param left_column_selected_color Left Column Current Selection, defaults to #000 | |||
| #' @param blockquote_left_color Blockquote Left Border Color, defaults to lightgray | |||
| #' @param table_border_color Table top/bottom border, defaults to #666 | |||
| #' @param table_row_border_color Table row inner bottom border, defaults to #ddd | |||
| #' @param table_row_even_background_color Table Even Row Background Color, defaults to #eee | |||
| #' @param text_font_size Slide Body Text Font Size, defaults to 20px | |||
| #' @param header_h1_font_size h1 Header Text Font Size, defaults to 55px | |||
| #' @param header_h2_font_size h2 Header Text Font Size, defaults to 45px | |||
| #' @param header_h3_font_size h3 Header Text Font Size, defaults to 35px | |||
| #' @param text_slide_number_font_size Slide Number Text Font Size, defaults to 0.9em | |||
| #' @param text_font_google Use `google_font()` to specify body font, defaults to `NULL` | |||
| #' @param text_font_family Body Text Font Family, defaults to 'Droid Serif' | |||
| #' @param text_font_weight Body Text Font Weight, defaults to normal | |||
| #' @param text_font_url Body Text Font URL(s), defaults to https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic | |||
| #' @param text_font_family_fallback Body Text Font Fallbacks, defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC' | |||
| #' @param text_font_base Body Text Base Font (Total Failure Fallback), defaults to serif | |||
| #' @param header_font_google Use `google_font()` to specify header font, defaults to `NULL` | |||
| #' @param header_font_family Header Font Family, defaults to 'Yanone Kaffeesatz' | |||
| #' @param header_font_weight Header Font Weight, defaults to normal | |||
| #' @param header_font_url Header Font URL, defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz | |||
| #' @param code_font_google Use `google_font()` to specify code font, defaults to `NULL` | |||
| #' @param code_font_family Code Font Family, defaults to 'Source Code Pro' | |||
| #' @param code_font_size Code Text Font Size, defaults to 0.9em | |||
| #' @param code_font_url Code Font URL, defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700 | |||
| #' @param code_font_family_fallback Code Font Fallback, defaults to 'Lucida Console', Monaco | |||
| #' @param text_color Text Color. Defaults to #000. Modifies the `body` element. | |||
| #' @param header_color Header Color. Defaults to #000. Modifies the `h1, h2, h3` elements. | |||
| #' @param background_color Slide Background Color. Defaults to #FFF. Modifies the `.remark-slide-content` class. | |||
| #' @param link_color Link Color. Defaults to rgb(249, 38, 114). Modifies the `a, a > code` elements. | |||
| #' @param text_bold_color Bold Text Color. Defaults to NA. Modifies the `strong` element. | |||
| #' @param text_slide_number_color Slide Number Color. Defaults to `inverse_background_color`. Modifies the `.remark-slide-number` class. | |||
| #' @param code_highlight_color Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class. | |||
| #' @param code_inline_color Inline Code Color. Defaults to #000. Modifies the `.remark-inline-code` class. | |||
| #' @param code_inline_background_color Inline Code Background Color. Defaults to NA. Modifies the `.remark-inline-code` class. | |||
| #' @param code_inline_font_size Inline Code Text Font Size. Defaults to 1em. Modifies the `.remark-inline-code` class. | |||
| #' @param inverse_background_color Inverse Background Color. Defaults to #272822. Modifies the `.inverse` class. | |||
| #' @param inverse_text_color Inverse Text Color. Defaults to #d6d6d6. Modifies the `.inverse` class. | |||
| #' @param inverse_text_shadow Enables Shadow on text of inverse slides. Defaults to `FALSE`. Modifies the `.inverse` class. | |||
| #' @param inverse_header_color Inverse Header Color. Defaults to #f3f3f3. Modifies the `.inverse h1, .inverse h2, .inverse h3` classes. | |||
| #' @param title_slide_text_color Title Slide Text Color. Defaults to `inverse_text_color`. Modifies the `.title-slide` class. | |||
| #' @param title_slide_background_color Title Slide Background Color. Defaults to `inverse_background_color`. Modifies the `.title-slide` class. | |||
| #' @param title_slide_background_image Title Slide Background Image URL. Defaults to NA. Modifies the `.title-slide` class. | |||
| #' @param title_slide_background_size Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the `.title-slide` class. | |||
| #' @param title_slide_background_position Title Slide Background Image Position. Defaults to NA. Modifies the `.title-slide` class. | |||
| #' @param footnote_color Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}`). Defaults to NA. Modifies the `.footnote` class. | |||
| #' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies the `.footnote` class. | |||
| #' @param footnote_position_bottom Footnote location from bottom of screen. Defaults to 3em. Modifies the `.footnote` class. | |||
| #' @param left_column_subtle_color Left Column Text (not last). Defaults to #777. Modifies the `.left-column h2, .left-column h3` classes. | |||
| #' @param left_column_selected_color Left Column Current Selection. Defaults to #000. Modifies the `.left-column h2:last-of-type, .left-column h3:last-child` classes. | |||
| #' @param blockquote_left_color Blockquote Left Border Color. Defaults to lightgray. Modifies the `blockquote` element. | |||
| #' @param table_border_color Table top/bottom border. Defaults to #666. Modifies the `table: border-top, border-bottom` elements. | |||
| #' @param table_row_border_color Table row inner bottom border. Defaults to #ddd. Modifies the `table thead th: border-bottom` elements. | |||
| #' @param table_row_even_background_color Table Even Row Background Color. Defaults to #eee. Modifies the `thead, tfoot, tr:nth-child(even)` elements. | |||
| #' @param text_font_size Slide Body Text Font Size. Defaults to 20px. Modifies the `.remark-slide-content` class. | |||
| #' @param header_h1_font_size h1 Header Text Font Size. Defaults to 55px. Modifies the `.remark-slide-content h1` class. | |||
| #' @param header_h2_font_size h2 Header Text Font Size. Defaults to 45px. Modifies the `.remark-slide-content h2` class. | |||
| #' @param header_h3_font_size h3 Header Text Font Size. Defaults to 35px. Modifies the `.remark-slide-content h3` class. | |||
| #' @param text_slide_number_font_size Slide Number Text Font Size. Defaults to 0.9em. Modifies the `.remark-slide-number` class. | |||
| #' @param text_font_google Use `google_font()` to specify body font. Defaults to `NULL`. Modifies the `body` element. | |||
| #' @param text_font_family Body Text Font Family. Defaults to 'Droid Serif'. Modifies the `body` element. | |||
| #' @param text_font_weight Body Text Font Weight. Defaults to normal. Modifies the `body` element. | |||
| #' @param text_font_url Body Text Font URL(s). Defaults to https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic. Modifies the `@import url()` elements. | |||
| #' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'. Modifies the `body` element. | |||
| #' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults to serif. Modifies the `body` element. | |||
| #' @param header_font_google Use `google_font()` to specify header font. Defaults to `NULL`. Modifies the `body` element. | |||
| #' @param header_font_family Header Font Family. Defaults to 'Yanone Kaffeesatz'. Modifies the `h1, h2, h3` elements. | |||
| #' @param header_font_weight Header Font Weight. Defaults to normal. Modifies the `h1, h2, h3` elements. | |||
| #' @param header_font_url Header Font URL. Defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz. Modifies the `@import url` elements. | |||
| #' @param code_font_google Use `google_font()` to specify code font. Defaults to `NULL`. Modifies the `body` element. | |||
| #' @param code_font_family Code Font Family. Defaults to 'Source Code Pro'. Modifies the `.remark-code, .remark-inline-code` classes. | |||
| #' @param code_font_size Code Text Font Size. Defaults to 0.9em. Modifies the `.remark-inline` class. | |||
| #' @param code_font_url Code Font URL. Defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700. Modifies the `@import url` elements. | |||
| #' @param code_font_family_fallback Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the `.remark-code, .remark-inline-code` classes. | |||
| #' @template extra_css | |||
| #' @param outfile Customized xaringan CSS output file name, default is "xaringan-themer.css" | |||
| #' @template write_xaringan_theme | |||
| @@ -71,7 +71,7 @@ write_xaringan_theme <- function( | |||
| title_slide_background_size = NA, | |||
| title_slide_background_position = NA, | |||
| footnote_color = NA, | |||
| footnote_font_size = "90%", | |||
| footnote_font_size = "0.9em", | |||
| footnote_position_bottom = "3em", | |||
| left_column_subtle_color = "#777", | |||
| left_column_selected_color = "#000", | |||
| @@ -49,7 +49,7 @@ a, a > code { | |||
| text-decoration: none; | |||
| } | |||
| .footnote { | |||
| {{ifelse(!is.na(footnote_color), paste0("color: ", footnote_color, ";"), ""}} | |||
| {{ifelse(!is.na(footnote_color), paste0("color: ", footnote_color, ";"), "")}} | |||
| position: absolute; | |||
| bottom: {{footnote_position_bottom}}; | |||
| padding-right: 4em; | |||
| @@ -1,5 +1,22 @@ | |||
| source(here::here("R/theme_settings.R")) | |||
| plural_element <- function(css_name) { | |||
| is_mult <- grepl(",|and|or", css_name) | |||
| is_class <- grepl("^\\.", css_name) | |||
| ifelse(is_class, | |||
| ifelse(is_mult, "classes", "class"), | |||
| ifelse(is_mult, "elements", "element") | |||
| ) | |||
| } | |||
| element_description <- function(element) { | |||
| ifelse( | |||
| grepl("multiple", element), | |||
| "Modifies multiple CSS classes or elements.", | |||
| glue::glue("Modifies the `{element}` {plural_element(element)}.") | |||
| ) | |||
| } | |||
| setup_theme_function <- function( | |||
| f_name = "write_xaringan_theme", | |||
| template = template_variables, | |||
| @@ -15,7 +32,7 @@ setup_theme_function <- function( | |||
| x <- | |||
| as.character( | |||
| glue::glue_data( | |||
| tv, "#' @param {variable} {description}, defaults to {stringr::str_replace_all(default, '[{{}}]', '`')}")) %,% | |||
| tv, "#' @param {variable} {description}. Defaults to {stringr::str_replace_all(default, '[{{}}]', '`')}. {element_description(element)}")) %,% | |||
| "#' @template extra_css" %,% | |||
| "#' @param outfile Customized xaringan CSS output file name, default is \"xaringan-themer.css\"" %,% | |||
| c(...) %,% | |||
| @@ -11,13 +11,14 @@ duo(primary_color = "#1F4257", secondary_color = "#F97B64", | |||
| text_bold_color = secondary_color, text_slide_number_color = text_color, | |||
| code_highlight_color = "rgba(255,255,0,0.5)", | |||
| code_inline_color = secondary_color, code_inline_background_color = NA, | |||
| inverse_background_color = secondary_color, | |||
| code_inline_font_size = "1em", inverse_background_color = secondary_color, | |||
| inverse_text_color = primary_color, inverse_text_shadow = FALSE, | |||
| inverse_header_color = primary_color, | |||
| title_slide_text_color = secondary_color, | |||
| title_slide_background_color = primary_color, | |||
| title_slide_background_image = NA, title_slide_background_size = NA, | |||
| title_slide_background_position = NA, | |||
| title_slide_background_position = NA, footnote_color = NA, | |||
| footnote_font_size = "0.9em", footnote_position_bottom = "3em", | |||
| left_column_subtle_color = apply_alpha(secondary_color, 0.6), | |||
| left_column_selected_color = secondary_color, | |||
| blockquote_left_color = apply_alpha(secondary_color, 0.5), | |||
| @@ -25,8 +26,7 @@ duo(primary_color = "#1F4257", secondary_color = "#F97B64", | |||
| table_row_even_background_color = lighten_color(primary_color, 0.3), | |||
| text_font_size = "20px", header_h1_font_size = "55px", | |||
| header_h2_font_size = "45px", header_h3_font_size = "35px", | |||
| text_slide_number_font_size = "0.9em", code_inline_font_size = "1em", | |||
| code_font_size = "0.9em", text_font_google = NULL, | |||
| text_slide_number_font_size = "0.9em", text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", text_font_weight = "normal", | |||
| text_font_url = "https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic", | |||
| text_font_family_fallback = "'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'", | |||
| @@ -34,104 +34,111 @@ duo(primary_color = "#1F4257", secondary_color = "#F97B64", | |||
| header_font_family = "'Yanone Kaffeesatz'", header_font_weight = "normal", | |||
| header_font_url = "https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz", | |||
| code_font_google = NULL, code_font_family = "'Source Code Pro'", | |||
| code_font_size = "0.9em", | |||
| code_font_url = "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700", | |||
| code_font_family_fallback = "'Lucida Console', Monaco", extra_css = NULL, | |||
| extra_fonts = NULL, outfile = "xaringan-themer.css") | |||
| } | |||
| \arguments{ | |||
| \item{primary_color}{Duotone Primary Color, defaults to #1F4257} | |||
| \item{primary_color}{Duotone Primary Color. Defaults to #1F4257. Modifies multiple CSS classes or elements.} | |||
| \item{secondary_color}{Duotone Secondary Color, defaults to #F97B64} | |||
| \item{secondary_color}{Duotone Secondary Color. Defaults to #F97B64. Modifies multiple CSS classes or elements.} | |||
| \item{text_color}{Text Color, defaults to \code{choose_dark_or_light(primary_color, darken_color(primary_color, 0.9), lighten_color(secondary_color, 0.99))}} | |||
| \item{text_color}{Text Color. Defaults to \code{choose_dark_or_light(primary_color, darken_color(primary_color, 0.9), lighten_color(secondary_color, 0.99))}. Modifies the \code{body} element.} | |||
| \item{header_color}{Header Color, defaults to \code{secondary_color}} | |||
| \item{header_color}{Header Color. Defaults to \code{secondary_color}. Modifies the \code{h1, h2, h3} elements.} | |||
| \item{background_color}{Slide Background Color, defaults to \code{primary_color}} | |||
| \item{background_color}{Slide Background Color. Defaults to \code{primary_color}. Modifies the \code{.remark-slide-content} class.} | |||
| \item{link_color}{Link Color, defaults to \code{secondary_color}} | |||
| \item{link_color}{Link Color. Defaults to \code{secondary_color}. Modifies the \code{a, a > code} elements.} | |||
| \item{text_bold_color}{Bold Text Color, defaults to \code{secondary_color}} | |||
| \item{text_bold_color}{Bold Text Color. Defaults to \code{secondary_color}. Modifies the \code{strong} element.} | |||
| \item{text_slide_number_color}{Slide Number Color, defaults to \code{text_color}} | |||
| \item{text_slide_number_color}{Slide Number Color. Defaults to \code{text_color}. Modifies the \code{.remark-slide-number} class.} | |||
| \item{code_highlight_color}{Code Line Highlight, defaults to rgba(255,255,0,0.5)} | |||
| \item{code_highlight_color}{Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.} | |||
| \item{code_inline_color}{Inline Code Color, defaults to \code{secondary_color}} | |||
| \item{code_inline_color}{Inline Code Color. Defaults to \code{secondary_color}. Modifies the \code{.remark-inline-code} class.} | |||
| \item{code_inline_background_color}{Inline Code Background Color, defaults to NA} | |||
| \item{code_inline_background_color}{Inline Code Background Color. Defaults to NA. Modifies the \code{.remark-inline-code} class.} | |||
| \item{inverse_background_color}{Inverse Background Color, defaults to \code{secondary_color}} | |||
| \item{code_inline_font_size}{Inline Code Text Font Size. Defaults to 1em. Modifies the \code{.remark-inline-code} class.} | |||
| \item{inverse_text_color}{Inverse Text Color, defaults to \code{primary_color}} | |||
| \item{inverse_background_color}{Inverse Background Color. Defaults to \code{secondary_color}. Modifies the \code{.inverse} class.} | |||
| \item{inverse_text_shadow}{Enables Shadow on text of inverse slides, defaults to \code{FALSE}} | |||
| \item{inverse_text_color}{Inverse Text Color. Defaults to \code{primary_color}. Modifies the \code{.inverse} class.} | |||
| \item{inverse_header_color}{Inverse Header Color, defaults to \code{primary_color}} | |||
| \item{inverse_text_shadow}{Enables Shadow on text of inverse slides. Defaults to \code{FALSE}. Modifies the \code{.inverse} class.} | |||
| \item{title_slide_text_color}{Title Slide Text Color, defaults to \code{secondary_color}} | |||
| \item{inverse_header_color}{Inverse Header Color. Defaults to \code{primary_color}. Modifies the \code{.inverse h1, .inverse h2, .inverse h3} classes.} | |||
| \item{title_slide_background_color}{Title Slide Background Color, defaults to \code{primary_color}} | |||
| \item{title_slide_text_color}{Title Slide Text Color. Defaults to \code{secondary_color}. Modifies the \code{.title-slide} class.} | |||
| \item{title_slide_background_image}{Title Slide Background Image URL, defaults to NA} | |||
| \item{title_slide_background_color}{Title Slide Background Color. Defaults to \code{primary_color}. Modifies the \code{.title-slide} class.} | |||
| \item{title_slide_background_size}{Title Slide Background Image Size, defaults to "cover" if background image is set, defaults to NA} | |||
| \item{title_slide_background_image}{Title Slide Background Image URL. Defaults to NA. Modifies the \code{.title-slide} class.} | |||
| \item{title_slide_background_position}{Title Slide Background Image Position, defaults to NA} | |||
| \item{title_slide_background_size}{Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the \code{.title-slide} class.} | |||
| \item{left_column_subtle_color}{Left Column Text (not last), defaults to \code{apply_alpha(secondary_color, 0.6)}} | |||
| \item{title_slide_background_position}{Title Slide Background Image Position. Defaults to NA. Modifies the \code{.title-slide} class.} | |||
| \item{left_column_selected_color}{Left Column Current Selection, defaults to \code{secondary_color}} | |||
| \item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}\code{). Defaults to NA. Modifies the}.footnote` class.} | |||
| \item{blockquote_left_color}{Blockquote Left Border Color, defaults to \code{apply_alpha(secondary_color, 0.5)}} | |||
| \item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies the \code{.footnote} class.} | |||
| \item{table_border_color}{Table top/bottom border, defaults to #666} | |||
| \item{footnote_position_bottom}{Footnote location from bottom of screen. Defaults to 3em. Modifies the \code{.footnote} class.} | |||
| \item{table_row_border_color}{Table row inner bottom border, defaults to #ddd} | |||
| \item{left_column_subtle_color}{Left Column Text (not last). Defaults to \code{apply_alpha(secondary_color, 0.6)}. Modifies the \code{.left-column h2, .left-column h3} classes.} | |||
| \item{table_row_even_background_color}{Table Even Row Background Color, defaults to \code{lighten_color(primary_color, 0.3)}} | |||
| \item{left_column_selected_color}{Left Column Current Selection. Defaults to \code{secondary_color}. Modifies the \code{.left-column h2:last-of-type, .left-column h3:last-child} classes.} | |||
| \item{text_font_size}{Slide Body Text Font Size, defaults to 20px} | |||
| \item{blockquote_left_color}{Blockquote Left Border Color. Defaults to \code{apply_alpha(secondary_color, 0.5)}. Modifies the \code{blockquote} element.} | |||
| \item{header_h1_font_size}{h1 Header Text Font Size, defaults to 55px} | |||
| \item{table_border_color}{Table top/bottom border. Defaults to #666. Modifies the \code{table: border-top, border-bottom} elements.} | |||
| \item{header_h2_font_size}{h2 Header Text Font Size, defaults to 45px} | |||
| \item{table_row_border_color}{Table row inner bottom border. Defaults to #ddd. Modifies the \code{table thead th: border-bottom} elements.} | |||
| \item{header_h3_font_size}{h3 Header Text Font Size, defaults to 35px} | |||
| \item{table_row_even_background_color}{Table Even Row Background Color. Defaults to \code{lighten_color(primary_color, 0.3)}. Modifies the \code{thead, tfoot, tr:nth-child(even)} elements.} | |||
| \item{text_slide_number_font_size}{Slide Number Text Font Size, defaults to 0.9em} | |||
| \item{text_font_size}{Slide Body Text Font Size. Defaults to 20px. Modifies the \code{.remark-slide-content} class.} | |||
| \item{code_inline_font_size}{Inline Code Text Font Size, defaults to 1em} | |||
| \item{header_h1_font_size}{h1 Header Text Font Size. Defaults to 55px. Modifies the \code{.remark-slide-content h1} class.} | |||
| \item{code_font_size}{Code Text Font Size, defaults to 0.9em} | |||
| \item{header_h2_font_size}{h2 Header Text Font Size. Defaults to 45px. Modifies the \code{.remark-slide-content h2} class.} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font, defaults to \code{NULL}} | |||
| \item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 35px. Modifies the \code{.remark-slide-content h3} class.} | |||
| \item{text_font_family}{Body Text Font Family, defaults to 'Droid Serif'} | |||
| \item{text_slide_number_font_size}{Slide Number Text Font Size. Defaults to 0.9em. Modifies the \code{.remark-slide-number} class.} | |||
| \item{text_font_weight}{Body Text Font Weight, defaults to normal} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font. Defaults to \code{NULL}. Modifies the \code{body} element.} | |||
| \item{text_font_url}{Body Text Font URL(s), defaults to https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic} | |||
| \item{text_font_family}{Body Text Font Family. Defaults to 'Droid Serif'. Modifies the \code{body} element.} | |||
| \item{text_font_family_fallback}{Body Text Font Fallbacks, defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'} | |||
| \item{text_font_weight}{Body Text Font Weight. Defaults to normal. Modifies the \code{body} element.} | |||
| \item{text_font_base}{Body Text Base Font (Total Failure Fallback), defaults to serif} | |||
| \item{text_font_url}{Body Text Font URL(s). Defaults to https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic. Modifies the \code{@import url()} elements.} | |||
| \item{header_font_google}{Use \code{google_font()} to specify header font, defaults to \code{NULL}} | |||
| \item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'. Modifies the \code{body} element.} | |||
| \item{header_font_family}{Header Font Family, defaults to 'Yanone Kaffeesatz'} | |||
| \item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults to serif. Modifies the \code{body} element.} | |||
| \item{header_font_weight}{Header Font Weight, defaults to normal} | |||
| \item{header_font_google}{Use \code{google_font()} to specify header font. Defaults to \code{NULL}. Modifies the \code{body} element.} | |||
| \item{header_font_url}{Header Font URL, defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz} | |||
| \item{header_font_family}{Header Font Family. Defaults to 'Yanone Kaffeesatz'. Modifies the \code{h1, h2, h3} elements.} | |||
| \item{code_font_google}{Use \code{google_font()} to specify code font, defaults to \code{NULL}} | |||
| \item{header_font_weight}{Header Font Weight. Defaults to normal. Modifies the \code{h1, h2, h3} elements.} | |||
| \item{code_font_family}{Code Font Family, defaults to 'Source Code Pro'} | |||
| \item{header_font_url}{Header Font URL. Defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz. Modifies the \code{@import url} elements.} | |||
| \item{code_font_url}{Code Font URL, defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700} | |||
| \item{code_font_google}{Use \code{google_font()} to specify code font. Defaults to \code{NULL}. Modifies the \code{body} element.} | |||
| \item{code_font_family_fallback}{Code Font Fallback, defaults to 'Lucida Console', Monaco} | |||
| \item{code_font_family}{Code Font Family. Defaults to 'Source Code Pro'. Modifies the \code{.remark-code, .remark-inline-code} classes.} | |||
| \item{code_font_size}{Code Text Font Size. Defaults to 0.9em. Modifies the \code{.remark-inline} class.} | |||
| \item{code_font_url}{Code Font URL. Defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700. Modifies the \code{@import url} elements.} | |||
| \item{code_font_family_fallback}{Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the \code{.remark-code, .remark-inline-code} classes.} | |||
| \item{extra_css}{A named list of CSS definitions each containing a named list | |||
| of CSS property-value pairs, i.e. | |||
| @@ -14,14 +14,15 @@ duo_accent(primary_color = "#006747", secondary_color = "#CFC493", | |||
| code_highlight_color = "rgba(255,255,0,0.5)", | |||
| code_inline_color = choose_dark_or_light(secondary_color, primary_color, | |||
| secondary_color), code_inline_background_color = NA, | |||
| inverse_background_color = secondary_color, | |||
| code_inline_font_size = "1em", inverse_background_color = secondary_color, | |||
| inverse_text_color = choose_dark_or_light(secondary_color, black_color, | |||
| white_color), inverse_text_shadow = FALSE, | |||
| inverse_header_color = choose_dark_or_light(secondary_color, black_color, | |||
| white_color), title_slide_text_color = choose_dark_or_light(primary_color, | |||
| black_color, white_color), title_slide_background_color = primary_color, | |||
| title_slide_background_image = NA, title_slide_background_size = NA, | |||
| title_slide_background_position = NA, | |||
| title_slide_background_position = NA, footnote_color = NA, | |||
| footnote_font_size = "0.9em", footnote_position_bottom = "3em", | |||
| left_column_subtle_color = apply_alpha(primary_color, 0.6), | |||
| left_column_selected_color = primary_color, | |||
| blockquote_left_color = apply_alpha(secondary_color, 0.5), | |||
| @@ -29,8 +30,7 @@ duo_accent(primary_color = "#006747", secondary_color = "#CFC493", | |||
| table_row_even_background_color = lighten_color(secondary_color, 0.3), | |||
| text_font_size = "20px", header_h1_font_size = "55px", | |||
| header_h2_font_size = "45px", header_h3_font_size = "35px", | |||
| text_slide_number_font_size = "0.9em", code_inline_font_size = "1em", | |||
| code_font_size = "0.9em", text_font_google = NULL, | |||
| text_slide_number_font_size = "0.9em", text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", text_font_weight = "normal", | |||
| text_font_url = "https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic", | |||
| text_font_family_fallback = "'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'", | |||
| @@ -38,108 +38,115 @@ duo_accent(primary_color = "#006747", secondary_color = "#CFC493", | |||
| header_font_family = "'Yanone Kaffeesatz'", header_font_weight = "normal", | |||
| header_font_url = "https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz", | |||
| code_font_google = NULL, code_font_family = "'Source Code Pro'", | |||
| code_font_size = "0.9em", | |||
| code_font_url = "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700", | |||
| code_font_family_fallback = "'Lucida Console', Monaco", extra_css = NULL, | |||
| extra_fonts = NULL, outfile = "xaringan-themer.css") | |||
| } | |||
| \arguments{ | |||
| \item{primary_color}{Duotone Primary Color, defaults to #006747} | |||
| \item{primary_color}{Duotone Primary Color. Defaults to #006747. Modifies multiple CSS classes or elements.} | |||
| \item{secondary_color}{Duotone Secondary Color, defaults to #CFC493} | |||
| \item{secondary_color}{Duotone Secondary Color. Defaults to #CFC493. Modifies multiple CSS classes or elements.} | |||
| \item{white_color}{Brightest color used, defaults to #FFFFFF} | |||
| \item{white_color}{Brightest color used. Defaults to #FFFFFF. Modifies multiple CSS classes or elements.} | |||
| \item{black_color}{Darkest color used, defaults to #000000} | |||
| \item{black_color}{Darkest color used. Defaults to #000000. Modifies multiple CSS classes or elements.} | |||
| \item{text_color}{Text Color, defaults to \code{black_color}} | |||
| \item{text_color}{Text Color. Defaults to \code{black_color}. Modifies the \code{body} element.} | |||
| \item{header_color}{Header Color, defaults to \code{primary_color}} | |||
| \item{header_color}{Header Color. Defaults to \code{primary_color}. Modifies the \code{h1, h2, h3} elements.} | |||
| \item{background_color}{Slide Background Color, defaults to \code{white_color}} | |||
| \item{background_color}{Slide Background Color. Defaults to \code{white_color}. Modifies the \code{.remark-slide-content} class.} | |||
| \item{link_color}{Link Color, defaults to \code{choose_dark_or_light(secondary_color, primary_color, secondary_color)}} | |||
| \item{link_color}{Link Color. Defaults to \code{choose_dark_or_light(secondary_color, primary_color, secondary_color)}. Modifies the \code{a, a > code} elements.} | |||
| \item{text_bold_color}{Bold Text Color, defaults to \code{choose_dark_or_light(secondary_color, primary_color, secondary_color)}} | |||
| \item{text_bold_color}{Bold Text Color. Defaults to \code{choose_dark_or_light(secondary_color, primary_color, secondary_color)}. Modifies the \code{strong} element.} | |||
| \item{text_slide_number_color}{Slide Number Color, defaults to \code{primary_color}} | |||
| \item{text_slide_number_color}{Slide Number Color. Defaults to \code{primary_color}. Modifies the \code{.remark-slide-number} class.} | |||
| \item{code_highlight_color}{Code Line Highlight, defaults to rgba(255,255,0,0.5)} | |||
| \item{code_highlight_color}{Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.} | |||
| \item{code_inline_color}{Inline Code Color, defaults to \code{choose_dark_or_light(secondary_color, primary_color, secondary_color)}} | |||
| \item{code_inline_color}{Inline Code Color. Defaults to \code{choose_dark_or_light(secondary_color, primary_color, secondary_color)}. Modifies the \code{.remark-inline-code} class.} | |||
| \item{code_inline_background_color}{Inline Code Background Color, defaults to NA} | |||
| \item{code_inline_background_color}{Inline Code Background Color. Defaults to NA. Modifies the \code{.remark-inline-code} class.} | |||
| \item{inverse_background_color}{Inverse Background Color, defaults to \code{secondary_color}} | |||
| \item{code_inline_font_size}{Inline Code Text Font Size. Defaults to 1em. Modifies the \code{.remark-inline-code} class.} | |||
| \item{inverse_text_color}{Inverse Text Color, defaults to \code{choose_dark_or_light(secondary_color, black_color, white_color)}} | |||
| \item{inverse_background_color}{Inverse Background Color. Defaults to \code{secondary_color}. Modifies the \code{.inverse} class.} | |||
| \item{inverse_text_shadow}{Enables Shadow on text of inverse slides, defaults to \code{FALSE}} | |||
| \item{inverse_text_color}{Inverse Text Color. Defaults to \code{choose_dark_or_light(secondary_color, black_color, white_color)}. Modifies the \code{.inverse} class.} | |||
| \item{inverse_header_color}{Inverse Header Color, defaults to \code{choose_dark_or_light(secondary_color, black_color, white_color)}} | |||
| \item{inverse_text_shadow}{Enables Shadow on text of inverse slides. Defaults to \code{FALSE}. Modifies the \code{.inverse} class.} | |||
| \item{title_slide_text_color}{Title Slide Text Color, defaults to \code{choose_dark_or_light(primary_color, black_color, white_color)}} | |||
| \item{inverse_header_color}{Inverse Header Color. Defaults to \code{choose_dark_or_light(secondary_color, black_color, white_color)}. Modifies the \code{.inverse h1, .inverse h2, .inverse h3} classes.} | |||
| \item{title_slide_background_color}{Title Slide Background Color, defaults to \code{primary_color}} | |||
| \item{title_slide_text_color}{Title Slide Text Color. Defaults to \code{choose_dark_or_light(primary_color, black_color, white_color)}. Modifies the \code{.title-slide} class.} | |||
| \item{title_slide_background_image}{Title Slide Background Image URL, defaults to NA} | |||
| \item{title_slide_background_color}{Title Slide Background Color. Defaults to \code{primary_color}. Modifies the \code{.title-slide} class.} | |||
| \item{title_slide_background_size}{Title Slide Background Image Size, defaults to "cover" if background image is set, defaults to NA} | |||
| \item{title_slide_background_image}{Title Slide Background Image URL. Defaults to NA. Modifies the \code{.title-slide} class.} | |||
| \item{title_slide_background_position}{Title Slide Background Image Position, defaults to NA} | |||
| \item{title_slide_background_size}{Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the \code{.title-slide} class.} | |||
| \item{left_column_subtle_color}{Left Column Text (not last), defaults to \code{apply_alpha(primary_color, 0.6)}} | |||
| \item{title_slide_background_position}{Title Slide Background Image Position. Defaults to NA. Modifies the \code{.title-slide} class.} | |||
| \item{left_column_selected_color}{Left Column Current Selection, defaults to \code{primary_color}} | |||
| \item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}\code{). Defaults to NA. Modifies the}.footnote` class.} | |||
| \item{blockquote_left_color}{Blockquote Left Border Color, defaults to \code{apply_alpha(secondary_color, 0.5)}} | |||
| \item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies the \code{.footnote} class.} | |||
| \item{table_border_color}{Table top/bottom border, defaults to #666} | |||
| \item{footnote_position_bottom}{Footnote location from bottom of screen. Defaults to 3em. Modifies the \code{.footnote} class.} | |||
| \item{table_row_border_color}{Table row inner bottom border, defaults to #ddd} | |||
| \item{left_column_subtle_color}{Left Column Text (not last). Defaults to \code{apply_alpha(primary_color, 0.6)}. Modifies the \code{.left-column h2, .left-column h3} classes.} | |||
| \item{table_row_even_background_color}{Table Even Row Background Color, defaults to \code{lighten_color(secondary_color, 0.3)}} | |||
| \item{left_column_selected_color}{Left Column Current Selection. Defaults to \code{primary_color}. Modifies the \code{.left-column h2:last-of-type, .left-column h3:last-child} classes.} | |||
| \item{text_font_size}{Slide Body Text Font Size, defaults to 20px} | |||
| \item{blockquote_left_color}{Blockquote Left Border Color. Defaults to \code{apply_alpha(secondary_color, 0.5)}. Modifies the \code{blockquote} element.} | |||
| \item{header_h1_font_size}{h1 Header Text Font Size, defaults to 55px} | |||
| \item{table_border_color}{Table top/bottom border. Defaults to #666. Modifies the \code{table: border-top, border-bottom} elements.} | |||
| \item{header_h2_font_size}{h2 Header Text Font Size, defaults to 45px} | |||
| \item{table_row_border_color}{Table row inner bottom border. Defaults to #ddd. Modifies the \code{table thead th: border-bottom} elements.} | |||
| \item{header_h3_font_size}{h3 Header Text Font Size, defaults to 35px} | |||
| \item{table_row_even_background_color}{Table Even Row Background Color. Defaults to \code{lighten_color(secondary_color, 0.3)}. Modifies the \code{thead, tfoot, tr:nth-child(even)} elements.} | |||
| \item{text_slide_number_font_size}{Slide Number Text Font Size, defaults to 0.9em} | |||
| \item{text_font_size}{Slide Body Text Font Size. Defaults to 20px. Modifies the \code{.remark-slide-content} class.} | |||
| \item{code_inline_font_size}{Inline Code Text Font Size, defaults to 1em} | |||
| \item{header_h1_font_size}{h1 Header Text Font Size. Defaults to 55px. Modifies the \code{.remark-slide-content h1} class.} | |||
| \item{code_font_size}{Code Text Font Size, defaults to 0.9em} | |||
| \item{header_h2_font_size}{h2 Header Text Font Size. Defaults to 45px. Modifies the \code{.remark-slide-content h2} class.} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font, defaults to \code{NULL}} | |||
| \item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 35px. Modifies the \code{.remark-slide-content h3} class.} | |||
| \item{text_font_family}{Body Text Font Family, defaults to 'Droid Serif'} | |||
| \item{text_slide_number_font_size}{Slide Number Text Font Size. Defaults to 0.9em. Modifies the \code{.remark-slide-number} class.} | |||
| \item{text_font_weight}{Body Text Font Weight, defaults to normal} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font. Defaults to \code{NULL}. Modifies the \code{body} element.} | |||
| \item{text_font_url}{Body Text Font URL(s), defaults to https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic} | |||
| \item{text_font_family}{Body Text Font Family. Defaults to 'Droid Serif'. Modifies the \code{body} element.} | |||
| \item{text_font_family_fallback}{Body Text Font Fallbacks, defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'} | |||
| \item{text_font_weight}{Body Text Font Weight. Defaults to normal. Modifies the \code{body} element.} | |||
| \item{text_font_base}{Body Text Base Font (Total Failure Fallback), defaults to serif} | |||
| \item{text_font_url}{Body Text Font URL(s). Defaults to https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic. Modifies the \code{@import url()} elements.} | |||
| \item{header_font_google}{Use \code{google_font()} to specify header font, defaults to \code{NULL}} | |||
| \item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'. Modifies the \code{body} element.} | |||
| \item{header_font_family}{Header Font Family, defaults to 'Yanone Kaffeesatz'} | |||
| \item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults to serif. Modifies the \code{body} element.} | |||
| \item{header_font_weight}{Header Font Weight, defaults to normal} | |||
| \item{header_font_google}{Use \code{google_font()} to specify header font. Defaults to \code{NULL}. Modifies the \code{body} element.} | |||
| \item{header_font_url}{Header Font URL, defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz} | |||
| \item{header_font_family}{Header Font Family. Defaults to 'Yanone Kaffeesatz'. Modifies the \code{h1, h2, h3} elements.} | |||
| \item{code_font_google}{Use \code{google_font()} to specify code font, defaults to \code{NULL}} | |||
| \item{header_font_weight}{Header Font Weight. Defaults to normal. Modifies the \code{h1, h2, h3} elements.} | |||
| \item{code_font_family}{Code Font Family, defaults to 'Source Code Pro'} | |||
| \item{header_font_url}{Header Font URL. Defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz. Modifies the \code{@import url} elements.} | |||
| \item{code_font_url}{Code Font URL, defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700} | |||
| \item{code_font_google}{Use \code{google_font()} to specify code font. Defaults to \code{NULL}. Modifies the \code{body} element.} | |||
| \item{code_font_family_fallback}{Code Font Fallback, defaults to 'Lucida Console', Monaco} | |||
| \item{code_font_family}{Code Font Family. Defaults to 'Source Code Pro'. Modifies the \code{.remark-code, .remark-inline-code} classes.} | |||
| \item{code_font_size}{Code Text Font Size. Defaults to 0.9em. Modifies the \code{.remark-inline} class.} | |||
| \item{code_font_url}{Code Font URL. Defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700. Modifies the \code{@import url} elements.} | |||
| \item{code_font_family_fallback}{Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the \code{.remark-code, .remark-inline-code} classes.} | |||
| \item{extra_css}{A named list of CSS definitions each containing a named list | |||
| of CSS property-value pairs, i.e. | |||
| @@ -14,14 +14,15 @@ duo_accent_inverse(primary_color = "#006747", secondary_color = "#CFC493", | |||
| code_highlight_color = "rgba(255,255,0,0.5)", | |||
| code_inline_color = choose_dark_or_light(secondary_color, secondary_color, | |||
| primary_color), code_inline_background_color = NA, | |||
| inverse_background_color = secondary_color, | |||
| code_inline_font_size = "1em", inverse_background_color = secondary_color, | |||
| inverse_text_color = choose_dark_or_light(secondary_color, black_color, | |||
| white_color), inverse_text_shadow = FALSE, | |||
| inverse_header_color = choose_dark_or_light(secondary_color, black_color, | |||
| white_color), title_slide_text_color = choose_dark_or_light(primary_color, | |||
| black_color, white_color), title_slide_background_color = primary_color, | |||
| title_slide_background_image = NA, title_slide_background_size = NA, | |||
| title_slide_background_position = NA, | |||
| title_slide_background_position = NA, footnote_color = NA, | |||
| footnote_font_size = "0.9em", footnote_position_bottom = "3em", | |||
| left_column_subtle_color = apply_alpha(primary_color, 0.6), | |||
| left_column_selected_color = primary_color, | |||
| blockquote_left_color = apply_alpha(secondary_color, 0.5), | |||
| @@ -30,7 +31,6 @@ duo_accent_inverse(primary_color = "#006747", secondary_color = "#CFC493", | |||
| secondary_color, primary_color), 0.3), text_font_size = "20px", | |||
| header_h1_font_size = "55px", header_h2_font_size = "45px", | |||
| header_h3_font_size = "35px", text_slide_number_font_size = "0.9em", | |||
| code_inline_font_size = "1em", code_font_size = "0.9em", | |||
| text_font_google = NULL, text_font_family = "'Droid Serif'", | |||
| text_font_weight = "normal", | |||
| text_font_url = "https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic", | |||
| @@ -39,108 +39,115 @@ duo_accent_inverse(primary_color = "#006747", secondary_color = "#CFC493", | |||
| header_font_family = "'Yanone Kaffeesatz'", header_font_weight = "normal", | |||
| header_font_url = "https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz", | |||
| code_font_google = NULL, code_font_family = "'Source Code Pro'", | |||
| code_font_size = "0.9em", | |||
| code_font_url = "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700", | |||
| code_font_family_fallback = "'Lucida Console', Monaco", extra_css = NULL, | |||
| extra_fonts = NULL, outfile = "xaringan-themer.css") | |||
| } | |||
| \arguments{ | |||
| \item{primary_color}{Duotone Primary Color, defaults to #006747} | |||
| \item{primary_color}{Duotone Primary Color. Defaults to #006747. Modifies multiple CSS classes or elements.} | |||
| \item{secondary_color}{Duotone Secondary Color, defaults to #CFC493} | |||
| \item{secondary_color}{Duotone Secondary Color. Defaults to #CFC493. Modifies multiple CSS classes or elements.} | |||
| \item{white_color}{Brightest color used, defaults to #FFFFFF} | |||
| \item{white_color}{Brightest color used. Defaults to #FFFFFF. Modifies multiple CSS classes or elements.} | |||
| \item{black_color}{Darkest color used, defaults to #000000} | |||
| \item{black_color}{Darkest color used. Defaults to #000000. Modifies multiple CSS classes or elements.} | |||
| \item{text_color}{Text Color, defaults to \code{white_color}} | |||
| \item{text_color}{Text Color. Defaults to \code{white_color}. Modifies the \code{body} element.} | |||
| \item{header_color}{Header Color, defaults to \code{primary_color}} | |||
| \item{header_color}{Header Color. Defaults to \code{primary_color}. Modifies the \code{h1, h2, h3} elements.} | |||
| \item{background_color}{Slide Background Color, defaults to \code{black_color}} | |||
| \item{background_color}{Slide Background Color. Defaults to \code{black_color}. Modifies the \code{.remark-slide-content} class.} | |||
| \item{link_color}{Link Color, defaults to \code{choose_dark_or_light(secondary_color, secondary_color, primary_color)}} | |||
| \item{link_color}{Link Color. Defaults to \code{choose_dark_or_light(secondary_color, secondary_color, primary_color)}. Modifies the \code{a, a > code} elements.} | |||
| \item{text_bold_color}{Bold Text Color, defaults to \code{choose_dark_or_light(secondary_color, secondary_color, primary_color)}} | |||
| \item{text_bold_color}{Bold Text Color. Defaults to \code{choose_dark_or_light(secondary_color, secondary_color, primary_color)}. Modifies the \code{strong} element.} | |||
| \item{text_slide_number_color}{Slide Number Color, defaults to \code{primary_color}} | |||
| \item{text_slide_number_color}{Slide Number Color. Defaults to \code{primary_color}. Modifies the \code{.remark-slide-number} class.} | |||
| \item{code_highlight_color}{Code Line Highlight, defaults to rgba(255,255,0,0.5)} | |||
| \item{code_highlight_color}{Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.} | |||
| \item{code_inline_color}{Inline Code Color, defaults to \code{choose_dark_or_light(secondary_color, secondary_color, primary_color)}} | |||
| \item{code_inline_color}{Inline Code Color. Defaults to \code{choose_dark_or_light(secondary_color, secondary_color, primary_color)}. Modifies the \code{.remark-inline-code} class.} | |||
| \item{code_inline_background_color}{Inline Code Background Color, defaults to NA} | |||
| \item{code_inline_background_color}{Inline Code Background Color. Defaults to NA. Modifies the \code{.remark-inline-code} class.} | |||
| \item{inverse_background_color}{Inverse Background Color, defaults to \code{secondary_color}} | |||
| \item{code_inline_font_size}{Inline Code Text Font Size. Defaults to 1em. Modifies the \code{.remark-inline-code} class.} | |||
| \item{inverse_text_color}{Inverse Text Color, defaults to \code{choose_dark_or_light(secondary_color, black_color, white_color)}} | |||
| \item{inverse_background_color}{Inverse Background Color. Defaults to \code{secondary_color}. Modifies the \code{.inverse} class.} | |||
| \item{inverse_text_shadow}{Enables Shadow on text of inverse slides, defaults to \code{FALSE}} | |||
| \item{inverse_text_color}{Inverse Text Color. Defaults to \code{choose_dark_or_light(secondary_color, black_color, white_color)}. Modifies the \code{.inverse} class.} | |||
| \item{inverse_header_color}{Inverse Header Color, defaults to \code{choose_dark_or_light(secondary_color, black_color, white_color)}} | |||
| \item{inverse_text_shadow}{Enables Shadow on text of inverse slides. Defaults to \code{FALSE}. Modifies the \code{.inverse} class.} | |||
| \item{title_slide_text_color}{Title Slide Text Color, defaults to \code{choose_dark_or_light(primary_color, black_color, white_color)}} | |||
| \item{inverse_header_color}{Inverse Header Color. Defaults to \code{choose_dark_or_light(secondary_color, black_color, white_color)}. Modifies the \code{.inverse h1, .inverse h2, .inverse h3} classes.} | |||
| \item{title_slide_background_color}{Title Slide Background Color, defaults to \code{primary_color}} | |||
| \item{title_slide_text_color}{Title Slide Text Color. Defaults to \code{choose_dark_or_light(primary_color, black_color, white_color)}. Modifies the \code{.title-slide} class.} | |||
| \item{title_slide_background_image}{Title Slide Background Image URL, defaults to NA} | |||
| \item{title_slide_background_color}{Title Slide Background Color. Defaults to \code{primary_color}. Modifies the \code{.title-slide} class.} | |||
| \item{title_slide_background_size}{Title Slide Background Image Size, defaults to "cover" if background image is set, defaults to NA} | |||
| \item{title_slide_background_image}{Title Slide Background Image URL. Defaults to NA. Modifies the \code{.title-slide} class.} | |||
| \item{title_slide_background_position}{Title Slide Background Image Position, defaults to NA} | |||
| \item{title_slide_background_size}{Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the \code{.title-slide} class.} | |||
| \item{left_column_subtle_color}{Left Column Text (not last), defaults to \code{apply_alpha(primary_color, 0.6)}} | |||
| \item{title_slide_background_position}{Title Slide Background Image Position. Defaults to NA. Modifies the \code{.title-slide} class.} | |||
| \item{left_column_selected_color}{Left Column Current Selection, defaults to \code{primary_color}} | |||
| \item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}\code{). Defaults to NA. Modifies the}.footnote` class.} | |||
| \item{blockquote_left_color}{Blockquote Left Border Color, defaults to \code{apply_alpha(secondary_color, 0.5)}} | |||
| \item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies the \code{.footnote} class.} | |||
| \item{table_border_color}{Table top/bottom border, defaults to #666} | |||
| \item{footnote_position_bottom}{Footnote location from bottom of screen. Defaults to 3em. Modifies the \code{.footnote} class.} | |||
| \item{table_row_border_color}{Table row inner bottom border, defaults to #ddd} | |||
| \item{left_column_subtle_color}{Left Column Text (not last). Defaults to \code{apply_alpha(primary_color, 0.6)}. Modifies the \code{.left-column h2, .left-column h3} classes.} | |||
| \item{table_row_even_background_color}{Table Even Row Background Color, defaults to \code{darken_color(choose_dark_or_light(primary_color, secondary_color, primary_color), 0.3)}} | |||
| \item{left_column_selected_color}{Left Column Current Selection. Defaults to \code{primary_color}. Modifies the \code{.left-column h2:last-of-type, .left-column h3:last-child} classes.} | |||
| \item{text_font_size}{Slide Body Text Font Size, defaults to 20px} | |||
| \item{blockquote_left_color}{Blockquote Left Border Color. Defaults to \code{apply_alpha(secondary_color, 0.5)}. Modifies the \code{blockquote} element.} | |||
| \item{header_h1_font_size}{h1 Header Text Font Size, defaults to 55px} | |||
| \item{table_border_color}{Table top/bottom border. Defaults to #666. Modifies the \code{table: border-top, border-bottom} elements.} | |||
| \item{header_h2_font_size}{h2 Header Text Font Size, defaults to 45px} | |||
| \item{table_row_border_color}{Table row inner bottom border. Defaults to #ddd. Modifies the \code{table thead th: border-bottom} elements.} | |||
| \item{header_h3_font_size}{h3 Header Text Font Size, defaults to 35px} | |||
| \item{table_row_even_background_color}{Table Even Row Background Color. Defaults to \code{darken_color(choose_dark_or_light(primary_color, secondary_color, primary_color), 0.3)}. Modifies the \code{thead, tfoot, tr:nth-child(even)} elements.} | |||
| \item{text_slide_number_font_size}{Slide Number Text Font Size, defaults to 0.9em} | |||
| \item{text_font_size}{Slide Body Text Font Size. Defaults to 20px. Modifies the \code{.remark-slide-content} class.} | |||
| \item{code_inline_font_size}{Inline Code Text Font Size, defaults to 1em} | |||
| \item{header_h1_font_size}{h1 Header Text Font Size. Defaults to 55px. Modifies the \code{.remark-slide-content h1} class.} | |||
| \item{code_font_size}{Code Text Font Size, defaults to 0.9em} | |||
| \item{header_h2_font_size}{h2 Header Text Font Size. Defaults to 45px. Modifies the \code{.remark-slide-content h2} class.} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font, defaults to \code{NULL}} | |||
| \item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 35px. Modifies the \code{.remark-slide-content h3} class.} | |||
| \item{text_font_family}{Body Text Font Family, defaults to 'Droid Serif'} | |||
| \item{text_slide_number_font_size}{Slide Number Text Font Size. Defaults to 0.9em. Modifies the \code{.remark-slide-number} class.} | |||
| \item{text_font_weight}{Body Text Font Weight, defaults to normal} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font. Defaults to \code{NULL}. Modifies the \code{body} element.} | |||
| \item{text_font_url}{Body Text Font URL(s), defaults to https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic} | |||
| \item{text_font_family}{Body Text Font Family. Defaults to 'Droid Serif'. Modifies the \code{body} element.} | |||
| \item{text_font_family_fallback}{Body Text Font Fallbacks, defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'} | |||
| \item{text_font_weight}{Body Text Font Weight. Defaults to normal. Modifies the \code{body} element.} | |||
| \item{text_font_base}{Body Text Base Font (Total Failure Fallback), defaults to serif} | |||
| \item{text_font_url}{Body Text Font URL(s). Defaults to https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic. Modifies the \code{@import url()} elements.} | |||
| \item{header_font_google}{Use \code{google_font()} to specify header font, defaults to \code{NULL}} | |||
| \item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'. Modifies the \code{body} element.} | |||
| \item{header_font_family}{Header Font Family, defaults to 'Yanone Kaffeesatz'} | |||
| \item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults to serif. Modifies the \code{body} element.} | |||
| \item{header_font_weight}{Header Font Weight, defaults to normal} | |||
| \item{header_font_google}{Use \code{google_font()} to specify header font. Defaults to \code{NULL}. Modifies the \code{body} element.} | |||
| \item{header_font_url}{Header Font URL, defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz} | |||
| \item{header_font_family}{Header Font Family. Defaults to 'Yanone Kaffeesatz'. Modifies the \code{h1, h2, h3} elements.} | |||
| \item{code_font_google}{Use \code{google_font()} to specify code font, defaults to \code{NULL}} | |||
| \item{header_font_weight}{Header Font Weight. Defaults to normal. Modifies the \code{h1, h2, h3} elements.} | |||
| \item{code_font_family}{Code Font Family, defaults to 'Source Code Pro'} | |||
| \item{header_font_url}{Header Font URL. Defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz. Modifies the \code{@import url} elements.} | |||
| \item{code_font_url}{Code Font URL, defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700} | |||
| \item{code_font_google}{Use \code{google_font()} to specify code font. Defaults to \code{NULL}. Modifies the \code{body} element.} | |||
| \item{code_font_family_fallback}{Code Font Fallback, defaults to 'Lucida Console', Monaco} | |||
| \item{code_font_family}{Code Font Family. Defaults to 'Source Code Pro'. Modifies the \code{.remark-code, .remark-inline-code} classes.} | |||
| \item{code_font_size}{Code Text Font Size. Defaults to 0.9em. Modifies the \code{.remark-inline} class.} | |||
| \item{code_font_url}{Code Font URL. Defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700. Modifies the \code{@import url} elements.} | |||
| \item{code_font_family_fallback}{Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the \code{.remark-code, .remark-inline-code} classes.} | |||
| \item{extra_css}{A named list of CSS definitions each containing a named list | |||
| of CSS property-value pairs, i.e. | |||
| @@ -11,12 +11,14 @@ mono_accent(base_color = "#43418A", white_color = "#FFFFFF", | |||
| text_slide_number_color = base_color, | |||
| code_highlight_color = "rgba(255,255,0,0.5)", | |||
| code_inline_color = base_color, code_inline_background_color = NA, | |||
| inverse_background_color = base_color, inverse_text_color = white_color, | |||
| inverse_text_shadow = FALSE, inverse_header_color = white_color, | |||
| code_inline_font_size = "1em", inverse_background_color = base_color, | |||
| inverse_text_color = white_color, inverse_text_shadow = FALSE, | |||
| inverse_header_color = white_color, | |||
| title_slide_text_color = inverse_text_color, | |||
| title_slide_background_color = inverse_background_color, | |||
| title_slide_background_image = NA, title_slide_background_size = NA, | |||
| title_slide_background_position = NA, | |||
| title_slide_background_position = NA, footnote_color = NA, | |||
| footnote_font_size = "0.9em", footnote_position_bottom = "3em", | |||
| left_column_subtle_color = apply_alpha(base_color, 0.6), | |||
| left_column_selected_color = base_color, | |||
| blockquote_left_color = apply_alpha(base_color, 0.5), | |||
| @@ -24,8 +26,7 @@ mono_accent(base_color = "#43418A", white_color = "#FFFFFF", | |||
| table_row_even_background_color = lighten_color(base_color, 0.7), | |||
| text_font_size = "20px", header_h1_font_size = "55px", | |||
| header_h2_font_size = "45px", header_h3_font_size = "35px", | |||
| text_slide_number_font_size = "0.9em", code_inline_font_size = "1em", | |||
| code_font_size = "0.9em", text_font_google = NULL, | |||
| text_slide_number_font_size = "0.9em", text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", text_font_weight = "normal", | |||
| text_font_url = "https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic", | |||
| text_font_family_fallback = "'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'", | |||
| @@ -33,106 +34,113 @@ mono_accent(base_color = "#43418A", white_color = "#FFFFFF", | |||
| header_font_family = "'Yanone Kaffeesatz'", header_font_weight = "normal", | |||
| header_font_url = "https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz", | |||
| code_font_google = NULL, code_font_family = "'Source Code Pro'", | |||
| code_font_size = "0.9em", | |||
| code_font_url = "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700", | |||
| code_font_family_fallback = "'Lucida Console', Monaco", extra_css = NULL, | |||
| extra_fonts = NULL, outfile = "xaringan-themer.css") | |||
| } | |||
| \arguments{ | |||
| \item{base_color}{Monotone Base Color, works best with a strong color., defaults to #43418A} | |||
| \item{base_color}{Monotone Base Color, works best with a strong color.. Defaults to #43418A. Modifies multiple CSS classes or elements.} | |||
| \item{white_color}{Brightest color used, defaults to #FFFFFF} | |||
| \item{white_color}{Brightest color used. Defaults to #FFFFFF. Modifies multiple CSS classes or elements.} | |||
| \item{black_color}{Darkest color used, defaults to #272822} | |||
| \item{black_color}{Darkest color used. Defaults to #272822. Modifies multiple CSS classes or elements.} | |||
| \item{text_color}{Text Color, defaults to \code{black_color}} | |||
| \item{text_color}{Text Color. Defaults to \code{black_color}. Modifies the \code{body} element.} | |||
| \item{header_color}{Header Color, defaults to \code{base_color}} | |||
| \item{header_color}{Header Color. Defaults to \code{base_color}. Modifies the \code{h1, h2, h3} elements.} | |||
| \item{background_color}{Slide Background Color, defaults to \code{white_color}} | |||
| \item{background_color}{Slide Background Color. Defaults to \code{white_color}. Modifies the \code{.remark-slide-content} class.} | |||
| \item{link_color}{Link Color, defaults to \code{base_color}} | |||
| \item{link_color}{Link Color. Defaults to \code{base_color}. Modifies the \code{a, a > code} elements.} | |||
| \item{text_bold_color}{Bold Text Color, defaults to \code{base_color}} | |||
| \item{text_bold_color}{Bold Text Color. Defaults to \code{base_color}. Modifies the \code{strong} element.} | |||
| \item{text_slide_number_color}{Slide Number Color, defaults to \code{base_color}} | |||
| \item{text_slide_number_color}{Slide Number Color. Defaults to \code{base_color}. Modifies the \code{.remark-slide-number} class.} | |||
| \item{code_highlight_color}{Code Line Highlight, defaults to rgba(255,255,0,0.5)} | |||
| \item{code_highlight_color}{Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.} | |||
| \item{code_inline_color}{Inline Code Color, defaults to \code{base_color}} | |||
| \item{code_inline_color}{Inline Code Color. Defaults to \code{base_color}. Modifies the \code{.remark-inline-code} class.} | |||
| \item{code_inline_background_color}{Inline Code Background Color, defaults to NA} | |||
| \item{code_inline_background_color}{Inline Code Background Color. Defaults to NA. Modifies the \code{.remark-inline-code} class.} | |||
| \item{inverse_background_color}{Inverse Background Color, defaults to \code{base_color}} | |||
| \item{code_inline_font_size}{Inline Code Text Font Size. Defaults to 1em. Modifies the \code{.remark-inline-code} class.} | |||
| \item{inverse_text_color}{Inverse Text Color, defaults to \code{white_color}} | |||
| \item{inverse_background_color}{Inverse Background Color. Defaults to \code{base_color}. Modifies the \code{.inverse} class.} | |||
| \item{inverse_text_shadow}{Enables Shadow on text of inverse slides, defaults to \code{FALSE}} | |||
| \item{inverse_text_color}{Inverse Text Color. Defaults to \code{white_color}. Modifies the \code{.inverse} class.} | |||
| \item{inverse_header_color}{Inverse Header Color, defaults to \code{white_color}} | |||
| \item{inverse_text_shadow}{Enables Shadow on text of inverse slides. Defaults to \code{FALSE}. Modifies the \code{.inverse} class.} | |||
| \item{title_slide_text_color}{Title Slide Text Color, defaults to \code{inverse_text_color}} | |||
| \item{inverse_header_color}{Inverse Header Color. Defaults to \code{white_color}. Modifies the \code{.inverse h1, .inverse h2, .inverse h3} classes.} | |||
| \item{title_slide_background_color}{Title Slide Background Color, defaults to \code{inverse_background_color}} | |||
| \item{title_slide_text_color}{Title Slide Text Color. Defaults to \code{inverse_text_color}. Modifies the \code{.title-slide} class.} | |||
| \item{title_slide_background_image}{Title Slide Background Image URL, defaults to NA} | |||
| \item{title_slide_background_color}{Title Slide Background Color. Defaults to \code{inverse_background_color}. Modifies the \code{.title-slide} class.} | |||
| \item{title_slide_background_size}{Title Slide Background Image Size, defaults to "cover" if background image is set, defaults to NA} | |||
| \item{title_slide_background_image}{Title Slide Background Image URL. Defaults to NA. Modifies the \code{.title-slide} class.} | |||
| \item{title_slide_background_position}{Title Slide Background Image Position, defaults to NA} | |||
| \item{title_slide_background_size}{Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the \code{.title-slide} class.} | |||
| \item{left_column_subtle_color}{Left Column Text (not last), defaults to \code{apply_alpha(base_color, 0.6)}} | |||
| \item{title_slide_background_position}{Title Slide Background Image Position. Defaults to NA. Modifies the \code{.title-slide} class.} | |||
| \item{left_column_selected_color}{Left Column Current Selection, defaults to \code{base_color}} | |||
| \item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}\code{). Defaults to NA. Modifies the}.footnote` class.} | |||
| \item{blockquote_left_color}{Blockquote Left Border Color, defaults to \code{apply_alpha(base_color, 0.5)}} | |||
| \item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies the \code{.footnote} class.} | |||
| \item{table_border_color}{Table top/bottom border, defaults to #666} | |||
| \item{footnote_position_bottom}{Footnote location from bottom of screen. Defaults to 3em. Modifies the \code{.footnote} class.} | |||
| \item{table_row_border_color}{Table row inner bottom border, defaults to #ddd} | |||
| \item{left_column_subtle_color}{Left Column Text (not last). Defaults to \code{apply_alpha(base_color, 0.6)}. Modifies the \code{.left-column h2, .left-column h3} classes.} | |||
| \item{table_row_even_background_color}{Table Even Row Background Color, defaults to \code{lighten_color(base_color, 0.7)}} | |||
| \item{left_column_selected_color}{Left Column Current Selection. Defaults to \code{base_color}. Modifies the \code{.left-column h2:last-of-type, .left-column h3:last-child} classes.} | |||
| \item{text_font_size}{Slide Body Text Font Size, defaults to 20px} | |||
| \item{blockquote_left_color}{Blockquote Left Border Color. Defaults to \code{apply_alpha(base_color, 0.5)}. Modifies the \code{blockquote} element.} | |||
| \item{header_h1_font_size}{h1 Header Text Font Size, defaults to 55px} | |||
| \item{table_border_color}{Table top/bottom border. Defaults to #666. Modifies the \code{table: border-top, border-bottom} elements.} | |||
| \item{header_h2_font_size}{h2 Header Text Font Size, defaults to 45px} | |||
| \item{table_row_border_color}{Table row inner bottom border. Defaults to #ddd. Modifies the \code{table thead th: border-bottom} elements.} | |||
| \item{header_h3_font_size}{h3 Header Text Font Size, defaults to 35px} | |||
| \item{table_row_even_background_color}{Table Even Row Background Color. Defaults to \code{lighten_color(base_color, 0.7)}. Modifies the \code{thead, tfoot, tr:nth-child(even)} elements.} | |||
| \item{text_slide_number_font_size}{Slide Number Text Font Size, defaults to 0.9em} | |||
| \item{text_font_size}{Slide Body Text Font Size. Defaults to 20px. Modifies the \code{.remark-slide-content} class.} | |||
| \item{code_inline_font_size}{Inline Code Text Font Size, defaults to 1em} | |||
| \item{header_h1_font_size}{h1 Header Text Font Size. Defaults to 55px. Modifies the \code{.remark-slide-content h1} class.} | |||
| \item{code_font_size}{Code Text Font Size, defaults to 0.9em} | |||
| \item{header_h2_font_size}{h2 Header Text Font Size. Defaults to 45px. Modifies the \code{.remark-slide-content h2} class.} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font, defaults to \code{NULL}} | |||
| \item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 35px. Modifies the \code{.remark-slide-content h3} class.} | |||
| \item{text_font_family}{Body Text Font Family, defaults to 'Droid Serif'} | |||
| \item{text_slide_number_font_size}{Slide Number Text Font Size. Defaults to 0.9em. Modifies the \code{.remark-slide-number} class.} | |||
| \item{text_font_weight}{Body Text Font Weight, defaults to normal} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font. Defaults to \code{NULL}. Modifies the \code{body} element.} | |||
| \item{text_font_url}{Body Text Font URL(s), defaults to https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic} | |||
| \item{text_font_family}{Body Text Font Family. Defaults to 'Droid Serif'. Modifies the \code{body} element.} | |||
| \item{text_font_family_fallback}{Body Text Font Fallbacks, defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'} | |||
| \item{text_font_weight}{Body Text Font Weight. Defaults to normal. Modifies the \code{body} element.} | |||
| \item{text_font_base}{Body Text Base Font (Total Failure Fallback), defaults to serif} | |||
| \item{text_font_url}{Body Text Font URL(s). Defaults to https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic. Modifies the \code{@import url()} elements.} | |||
| \item{header_font_google}{Use \code{google_font()} to specify header font, defaults to \code{NULL}} | |||
| \item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'. Modifies the \code{body} element.} | |||
| \item{header_font_family}{Header Font Family, defaults to 'Yanone Kaffeesatz'} | |||
| \item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults to serif. Modifies the \code{body} element.} | |||
| \item{header_font_weight}{Header Font Weight, defaults to normal} | |||
| \item{header_font_google}{Use \code{google_font()} to specify header font. Defaults to \code{NULL}. Modifies the \code{body} element.} | |||
| \item{header_font_url}{Header Font URL, defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz} | |||
| \item{header_font_family}{Header Font Family. Defaults to 'Yanone Kaffeesatz'. Modifies the \code{h1, h2, h3} elements.} | |||
| \item{code_font_google}{Use \code{google_font()} to specify code font, defaults to \code{NULL}} | |||
| \item{header_font_weight}{Header Font Weight. Defaults to normal. Modifies the \code{h1, h2, h3} elements.} | |||
| \item{code_font_family}{Code Font Family, defaults to 'Source Code Pro'} | |||
| \item{header_font_url}{Header Font URL. Defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz. Modifies the \code{@import url} elements.} | |||
| \item{code_font_url}{Code Font URL, defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700} | |||
| \item{code_font_google}{Use \code{google_font()} to specify code font. Defaults to \code{NULL}. Modifies the \code{body} element.} | |||
| \item{code_font_family_fallback}{Code Font Fallback, defaults to 'Lucida Console', Monaco} | |||
| \item{code_font_family}{Code Font Family. Defaults to 'Source Code Pro'. Modifies the \code{.remark-code, .remark-inline-code} classes.} | |||
| \item{code_font_size}{Code Text Font Size. Defaults to 0.9em. Modifies the \code{.remark-inline} class.} | |||
| \item{code_font_url}{Code Font URL. Defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700. Modifies the \code{@import url} elements.} | |||
| \item{code_font_family_fallback}{Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the \code{.remark-code, .remark-inline-code} classes.} | |||
| \item{extra_css}{A named list of CSS definitions each containing a named list | |||
| of CSS property-value pairs, i.e. | |||
| @@ -11,12 +11,14 @@ mono_accent_inverse(base_color = "#3C989E", white_color = "#FFFFFF", | |||
| text_slide_number_color = base_color, | |||
| code_highlight_color = "rgba(255,255,0,0.5)", | |||
| code_inline_color = base_color, code_inline_background_color = NA, | |||
| inverse_background_color = base_color, inverse_text_color = black_color, | |||
| inverse_text_shadow = FALSE, inverse_header_color = black_color, | |||
| code_inline_font_size = "1em", inverse_background_color = base_color, | |||
| inverse_text_color = black_color, inverse_text_shadow = FALSE, | |||
| inverse_header_color = black_color, | |||
| title_slide_text_color = inverse_text_color, | |||
| title_slide_background_color = inverse_background_color, | |||
| title_slide_background_image = NA, title_slide_background_size = NA, | |||
| title_slide_background_position = NA, | |||
| title_slide_background_position = NA, footnote_color = NA, | |||
| footnote_font_size = "0.9em", footnote_position_bottom = "3em", | |||
| left_column_subtle_color = apply_alpha(base_color, 0.6), | |||
| left_column_selected_color = base_color, | |||
| blockquote_left_color = apply_alpha(base_color, 0.5), | |||
| @@ -24,8 +26,7 @@ mono_accent_inverse(base_color = "#3C989E", white_color = "#FFFFFF", | |||
| table_row_even_background_color = darken_color(base_color, 0.7), | |||
| text_font_size = "20px", header_h1_font_size = "55px", | |||
| header_h2_font_size = "45px", header_h3_font_size = "35px", | |||
| text_slide_number_font_size = "0.9em", code_inline_font_size = "1em", | |||
| code_font_size = "0.9em", text_font_google = NULL, | |||
| text_slide_number_font_size = "0.9em", text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", text_font_weight = "normal", | |||
| text_font_url = "https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic", | |||
| text_font_family_fallback = "'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'", | |||
| @@ -33,106 +34,113 @@ mono_accent_inverse(base_color = "#3C989E", white_color = "#FFFFFF", | |||
| header_font_family = "'Yanone Kaffeesatz'", header_font_weight = "normal", | |||
| header_font_url = "https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz", | |||
| code_font_google = NULL, code_font_family = "'Source Code Pro'", | |||
| code_font_size = "0.9em", | |||
| code_font_url = "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700", | |||
| code_font_family_fallback = "'Lucida Console', Monaco", extra_css = NULL, | |||
| extra_fonts = NULL, outfile = "xaringan-themer.css") | |||
| } | |||
| \arguments{ | |||
| \item{base_color}{Monotone Base Color, works best with a light color., defaults to #3C989E} | |||
| \item{base_color}{Monotone Base Color, works best with a light color.. Defaults to #3C989E. Modifies multiple CSS classes or elements.} | |||
| \item{white_color}{Brightest color used, default is a very light version of \code{base_color}, defaults to #FFFFFF} | |||
| \item{white_color}{Brightest color used, default is a very light version of \code{base_color}. Defaults to #FFFFFF. Modifies multiple CSS classes or elements.} | |||
| \item{black_color}{Darkest color used, default is a very dark, version of \code{base_color}, defaults to \code{darken_color(base_color, 0.9)}} | |||
| \item{black_color}{Darkest color used, default is a very dark, version of \code{base_color}. Defaults to \code{darken_color(base_color, 0.9)}. Modifies multiple CSS classes or elements.} | |||
| \item{text_color}{Text Color, defaults to \code{white_color}} | |||
| \item{text_color}{Text Color. Defaults to \code{white_color}. Modifies the \code{body} element.} | |||
| \item{header_color}{Header Color, defaults to \code{base_color}} | |||
| \item{header_color}{Header Color. Defaults to \code{base_color}. Modifies the \code{h1, h2, h3} elements.} | |||
| \item{background_color}{Slide Background Color, defaults to \code{black_color}} | |||
| \item{background_color}{Slide Background Color. Defaults to \code{black_color}. Modifies the \code{.remark-slide-content} class.} | |||
| \item{link_color}{Link Color, defaults to \code{base_color}} | |||
| \item{link_color}{Link Color. Defaults to \code{base_color}. Modifies the \code{a, a > code} elements.} | |||
| \item{text_bold_color}{Bold Text Color, defaults to \code{base_color}} | |||
| \item{text_bold_color}{Bold Text Color. Defaults to \code{base_color}. Modifies the \code{strong} element.} | |||
| \item{text_slide_number_color}{Slide Number Color, defaults to \code{base_color}} | |||
| \item{text_slide_number_color}{Slide Number Color. Defaults to \code{base_color}. Modifies the \code{.remark-slide-number} class.} | |||
| \item{code_highlight_color}{Code Line Highlight, defaults to rgba(255,255,0,0.5)} | |||
| \item{code_highlight_color}{Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.} | |||
| \item{code_inline_color}{Inline Code Color, defaults to \code{base_color}} | |||
| \item{code_inline_color}{Inline Code Color. Defaults to \code{base_color}. Modifies the \code{.remark-inline-code} class.} | |||
| \item{code_inline_background_color}{Inline Code Background Color, defaults to NA} | |||
| \item{code_inline_background_color}{Inline Code Background Color. Defaults to NA. Modifies the \code{.remark-inline-code} class.} | |||
| \item{inverse_background_color}{Inverse Background Color, defaults to \code{base_color}} | |||
| \item{code_inline_font_size}{Inline Code Text Font Size. Defaults to 1em. Modifies the \code{.remark-inline-code} class.} | |||
| \item{inverse_text_color}{Inverse Text Color, defaults to \code{black_color}} | |||
| \item{inverse_background_color}{Inverse Background Color. Defaults to \code{base_color}. Modifies the \code{.inverse} class.} | |||
| \item{inverse_text_shadow}{Enables Shadow on text of inverse slides, defaults to \code{FALSE}} | |||
| \item{inverse_text_color}{Inverse Text Color. Defaults to \code{black_color}. Modifies the \code{.inverse} class.} | |||
| \item{inverse_header_color}{Inverse Header Color, defaults to \code{black_color}} | |||
| \item{inverse_text_shadow}{Enables Shadow on text of inverse slides. Defaults to \code{FALSE}. Modifies the \code{.inverse} class.} | |||
| \item{title_slide_text_color}{Title Slide Text Color, defaults to \code{inverse_text_color}} | |||
| \item{inverse_header_color}{Inverse Header Color. Defaults to \code{black_color}. Modifies the \code{.inverse h1, .inverse h2, .inverse h3} classes.} | |||
| \item{title_slide_background_color}{Title Slide Background Color, defaults to \code{inverse_background_color}} | |||
| \item{title_slide_text_color}{Title Slide Text Color. Defaults to \code{inverse_text_color}. Modifies the \code{.title-slide} class.} | |||
| \item{title_slide_background_image}{Title Slide Background Image URL, defaults to NA} | |||
| \item{title_slide_background_color}{Title Slide Background Color. Defaults to \code{inverse_background_color}. Modifies the \code{.title-slide} class.} | |||
| \item{title_slide_background_size}{Title Slide Background Image Size, defaults to "cover" if background image is set, defaults to NA} | |||
| \item{title_slide_background_image}{Title Slide Background Image URL. Defaults to NA. Modifies the \code{.title-slide} class.} | |||
| \item{title_slide_background_position}{Title Slide Background Image Position, defaults to NA} | |||
| \item{title_slide_background_size}{Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the \code{.title-slide} class.} | |||
| \item{left_column_subtle_color}{Left Column Text (not last), defaults to \code{apply_alpha(base_color, 0.6)}} | |||
| \item{title_slide_background_position}{Title Slide Background Image Position. Defaults to NA. Modifies the \code{.title-slide} class.} | |||
| \item{left_column_selected_color}{Left Column Current Selection, defaults to \code{base_color}} | |||
| \item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}\code{). Defaults to NA. Modifies the}.footnote` class.} | |||
| \item{blockquote_left_color}{Blockquote Left Border Color, defaults to \code{apply_alpha(base_color, 0.5)}} | |||
| \item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies the \code{.footnote} class.} | |||
| \item{table_border_color}{Table top/bottom border, defaults to #666} | |||
| \item{footnote_position_bottom}{Footnote location from bottom of screen. Defaults to 3em. Modifies the \code{.footnote} class.} | |||
| \item{table_row_border_color}{Table row inner bottom border, defaults to #ddd} | |||
| \item{left_column_subtle_color}{Left Column Text (not last). Defaults to \code{apply_alpha(base_color, 0.6)}. Modifies the \code{.left-column h2, .left-column h3} classes.} | |||
| \item{table_row_even_background_color}{Table Even Row Background Color, defaults to \code{darken_color(base_color, 0.7)}} | |||
| \item{left_column_selected_color}{Left Column Current Selection. Defaults to \code{base_color}. Modifies the \code{.left-column h2:last-of-type, .left-column h3:last-child} classes.} | |||
| \item{text_font_size}{Slide Body Text Font Size, defaults to 20px} | |||
| \item{blockquote_left_color}{Blockquote Left Border Color. Defaults to \code{apply_alpha(base_color, 0.5)}. Modifies the \code{blockquote} element.} | |||
| \item{header_h1_font_size}{h1 Header Text Font Size, defaults to 55px} | |||
| \item{table_border_color}{Table top/bottom border. Defaults to #666. Modifies the \code{table: border-top, border-bottom} elements.} | |||
| \item{header_h2_font_size}{h2 Header Text Font Size, defaults to 45px} | |||
| \item{table_row_border_color}{Table row inner bottom border. Defaults to #ddd. Modifies the \code{table thead th: border-bottom} elements.} | |||
| \item{header_h3_font_size}{h3 Header Text Font Size, defaults to 35px} | |||
| \item{table_row_even_background_color}{Table Even Row Background Color. Defaults to \code{darken_color(base_color, 0.7)}. Modifies the \code{thead, tfoot, tr:nth-child(even)} elements.} | |||
| \item{text_slide_number_font_size}{Slide Number Text Font Size, defaults to 0.9em} | |||
| \item{text_font_size}{Slide Body Text Font Size. Defaults to 20px. Modifies the \code{.remark-slide-content} class.} | |||
| \item{code_inline_font_size}{Inline Code Text Font Size, defaults to 1em} | |||
| \item{header_h1_font_size}{h1 Header Text Font Size. Defaults to 55px. Modifies the \code{.remark-slide-content h1} class.} | |||
| \item{code_font_size}{Code Text Font Size, defaults to 0.9em} | |||
| \item{header_h2_font_size}{h2 Header Text Font Size. Defaults to 45px. Modifies the \code{.remark-slide-content h2} class.} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font, defaults to \code{NULL}} | |||
| \item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 35px. Modifies the \code{.remark-slide-content h3} class.} | |||
| \item{text_font_family}{Body Text Font Family, defaults to 'Droid Serif'} | |||
| \item{text_slide_number_font_size}{Slide Number Text Font Size. Defaults to 0.9em. Modifies the \code{.remark-slide-number} class.} | |||
| \item{text_font_weight}{Body Text Font Weight, defaults to normal} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font. Defaults to \code{NULL}. Modifies the \code{body} element.} | |||
| \item{text_font_url}{Body Text Font URL(s), defaults to https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic} | |||
| \item{text_font_family}{Body Text Font Family. Defaults to 'Droid Serif'. Modifies the \code{body} element.} | |||
| \item{text_font_family_fallback}{Body Text Font Fallbacks, defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'} | |||
| \item{text_font_weight}{Body Text Font Weight. Defaults to normal. Modifies the \code{body} element.} | |||
| \item{text_font_base}{Body Text Base Font (Total Failure Fallback), defaults to serif} | |||
| \item{text_font_url}{Body Text Font URL(s). Defaults to https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic. Modifies the \code{@import url()} elements.} | |||
| \item{header_font_google}{Use \code{google_font()} to specify header font, defaults to \code{NULL}} | |||
| \item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'. Modifies the \code{body} element.} | |||
| \item{header_font_family}{Header Font Family, defaults to 'Yanone Kaffeesatz'} | |||
| \item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults to serif. Modifies the \code{body} element.} | |||
| \item{header_font_weight}{Header Font Weight, defaults to normal} | |||
| \item{header_font_google}{Use \code{google_font()} to specify header font. Defaults to \code{NULL}. Modifies the \code{body} element.} | |||
| \item{header_font_url}{Header Font URL, defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz} | |||
| \item{header_font_family}{Header Font Family. Defaults to 'Yanone Kaffeesatz'. Modifies the \code{h1, h2, h3} elements.} | |||
| \item{code_font_google}{Use \code{google_font()} to specify code font, defaults to \code{NULL}} | |||
| \item{header_font_weight}{Header Font Weight. Defaults to normal. Modifies the \code{h1, h2, h3} elements.} | |||
| \item{code_font_family}{Code Font Family, defaults to 'Source Code Pro'} | |||
| \item{header_font_url}{Header Font URL. Defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz. Modifies the \code{@import url} elements.} | |||
| \item{code_font_url}{Code Font URL, defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700} | |||
| \item{code_font_google}{Use \code{google_font()} to specify code font. Defaults to \code{NULL}. Modifies the \code{body} element.} | |||
| \item{code_font_family_fallback}{Code Font Fallback, defaults to 'Lucida Console', Monaco} | |||
| \item{code_font_family}{Code Font Family. Defaults to 'Source Code Pro'. Modifies the \code{.remark-code, .remark-inline-code} classes.} | |||
| \item{code_font_size}{Code Text Font Size. Defaults to 0.9em. Modifies the \code{.remark-inline} class.} | |||
| \item{code_font_url}{Code Font URL. Defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700. Modifies the \code{@import url} elements.} | |||
| \item{code_font_family_fallback}{Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the \code{.remark-code, .remark-inline-code} classes.} | |||
| \item{extra_css}{A named list of CSS definitions each containing a named list | |||
| of CSS property-value pairs, i.e. | |||
| @@ -11,12 +11,14 @@ mono_dark(base_color = "#cbf7ed", white_color = lighten_color(base_color, | |||
| text_bold_color = base_color, text_slide_number_color = base_color, | |||
| code_highlight_color = "rgba(255,255,0,0.5)", | |||
| code_inline_color = base_color, code_inline_background_color = NA, | |||
| inverse_background_color = base_color, inverse_text_color = black_color, | |||
| inverse_text_shadow = FALSE, inverse_header_color = black_color, | |||
| code_inline_font_size = "1em", inverse_background_color = base_color, | |||
| inverse_text_color = black_color, inverse_text_shadow = FALSE, | |||
| inverse_header_color = black_color, | |||
| title_slide_text_color = inverse_text_color, | |||
| title_slide_background_color = inverse_background_color, | |||
| title_slide_background_image = NA, title_slide_background_size = NA, | |||
| title_slide_background_position = NA, | |||
| title_slide_background_position = NA, footnote_color = NA, | |||
| footnote_font_size = "0.9em", footnote_position_bottom = "3em", | |||
| left_column_subtle_color = apply_alpha(base_color, 0.6), | |||
| left_column_selected_color = base_color, | |||
| blockquote_left_color = apply_alpha(base_color, 0.5), | |||
| @@ -24,8 +26,7 @@ mono_dark(base_color = "#cbf7ed", white_color = lighten_color(base_color, | |||
| table_row_even_background_color = darken_color(base_color, 0.7), | |||
| text_font_size = "20px", header_h1_font_size = "55px", | |||
| header_h2_font_size = "45px", header_h3_font_size = "35px", | |||
| text_slide_number_font_size = "0.9em", code_inline_font_size = "1em", | |||
| code_font_size = "0.9em", text_font_google = NULL, | |||
| text_slide_number_font_size = "0.9em", text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", text_font_weight = "normal", | |||
| text_font_url = "https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic", | |||
| text_font_family_fallback = "'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'", | |||
| @@ -33,106 +34,113 @@ mono_dark(base_color = "#cbf7ed", white_color = lighten_color(base_color, | |||
| header_font_family = "'Yanone Kaffeesatz'", header_font_weight = "normal", | |||
| header_font_url = "https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz", | |||
| code_font_google = NULL, code_font_family = "'Source Code Pro'", | |||
| code_font_size = "0.9em", | |||
| code_font_url = "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700", | |||
| code_font_family_fallback = "'Lucida Console', Monaco", extra_css = NULL, | |||
| extra_fonts = NULL, outfile = "xaringan-themer.css") | |||
| } | |||
| \arguments{ | |||
| \item{base_color}{Monotone Base Color, works best with a light color., defaults to #cbf7ed} | |||
| \item{base_color}{Monotone Base Color, works best with a light color.. Defaults to #cbf7ed. Modifies multiple CSS classes or elements.} | |||
| \item{white_color}{Brightest color used, default is a very light version of \code{base_color}, defaults to \code{lighten_color(base_color, 0.8)}} | |||
| \item{white_color}{Brightest color used, default is a very light version of \code{base_color}. Defaults to \code{lighten_color(base_color, 0.8)}. Modifies multiple CSS classes or elements.} | |||
| \item{black_color}{Darkest color used, default is a very dark, version of \code{base_color}, defaults to \code{darken_color(base_color, 0.85)}} | |||
| \item{black_color}{Darkest color used, default is a very dark, version of \code{base_color}. Defaults to \code{darken_color(base_color, 0.85)}. Modifies multiple CSS classes or elements.} | |||
| \item{text_color}{Text Color, defaults to \code{white_color}} | |||
| \item{text_color}{Text Color. Defaults to \code{white_color}. Modifies the \code{body} element.} | |||
| \item{header_color}{Header Color, defaults to \code{base_color}} | |||
| \item{header_color}{Header Color. Defaults to \code{base_color}. Modifies the \code{h1, h2, h3} elements.} | |||
| \item{background_color}{Slide Background Color, defaults to \code{black_color}} | |||
| \item{background_color}{Slide Background Color. Defaults to \code{black_color}. Modifies the \code{.remark-slide-content} class.} | |||
| \item{link_color}{Link Color, defaults to \code{base_color}} | |||
| \item{link_color}{Link Color. Defaults to \code{base_color}. Modifies the \code{a, a > code} elements.} | |||
| \item{text_bold_color}{Bold Text Color, defaults to \code{base_color}} | |||
| \item{text_bold_color}{Bold Text Color. Defaults to \code{base_color}. Modifies the \code{strong} element.} | |||
| \item{text_slide_number_color}{Slide Number Color, defaults to \code{base_color}} | |||
| \item{text_slide_number_color}{Slide Number Color. Defaults to \code{base_color}. Modifies the \code{.remark-slide-number} class.} | |||
| \item{code_highlight_color}{Code Line Highlight, defaults to rgba(255,255,0,0.5)} | |||
| \item{code_highlight_color}{Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.} | |||
| \item{code_inline_color}{Inline Code Color, defaults to \code{base_color}} | |||
| \item{code_inline_color}{Inline Code Color. Defaults to \code{base_color}. Modifies the \code{.remark-inline-code} class.} | |||
| \item{code_inline_background_color}{Inline Code Background Color, defaults to NA} | |||
| \item{code_inline_background_color}{Inline Code Background Color. Defaults to NA. Modifies the \code{.remark-inline-code} class.} | |||
| \item{inverse_background_color}{Inverse Background Color, defaults to \code{base_color}} | |||
| \item{code_inline_font_size}{Inline Code Text Font Size. Defaults to 1em. Modifies the \code{.remark-inline-code} class.} | |||
| \item{inverse_text_color}{Inverse Text Color, defaults to \code{black_color}} | |||
| \item{inverse_background_color}{Inverse Background Color. Defaults to \code{base_color}. Modifies the \code{.inverse} class.} | |||
| \item{inverse_text_shadow}{Enables Shadow on text of inverse slides, defaults to \code{FALSE}} | |||
| \item{inverse_text_color}{Inverse Text Color. Defaults to \code{black_color}. Modifies the \code{.inverse} class.} | |||
| \item{inverse_header_color}{Inverse Header Color, defaults to \code{black_color}} | |||
| \item{inverse_text_shadow}{Enables Shadow on text of inverse slides. Defaults to \code{FALSE}. Modifies the \code{.inverse} class.} | |||
| \item{title_slide_text_color}{Title Slide Text Color, defaults to \code{inverse_text_color}} | |||
| \item{inverse_header_color}{Inverse Header Color. Defaults to \code{black_color}. Modifies the \code{.inverse h1, .inverse h2, .inverse h3} classes.} | |||
| \item{title_slide_background_color}{Title Slide Background Color, defaults to \code{inverse_background_color}} | |||
| \item{title_slide_text_color}{Title Slide Text Color. Defaults to \code{inverse_text_color}. Modifies the \code{.title-slide} class.} | |||
| \item{title_slide_background_image}{Title Slide Background Image URL, defaults to NA} | |||
| \item{title_slide_background_color}{Title Slide Background Color. Defaults to \code{inverse_background_color}. Modifies the \code{.title-slide} class.} | |||
| \item{title_slide_background_size}{Title Slide Background Image Size, defaults to "cover" if background image is set, defaults to NA} | |||
| \item{title_slide_background_image}{Title Slide Background Image URL. Defaults to NA. Modifies the \code{.title-slide} class.} | |||
| \item{title_slide_background_position}{Title Slide Background Image Position, defaults to NA} | |||
| \item{title_slide_background_size}{Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the \code{.title-slide} class.} | |||
| \item{left_column_subtle_color}{Left Column Text (not last), defaults to \code{apply_alpha(base_color, 0.6)}} | |||
| \item{title_slide_background_position}{Title Slide Background Image Position. Defaults to NA. Modifies the \code{.title-slide} class.} | |||
| \item{left_column_selected_color}{Left Column Current Selection, defaults to \code{base_color}} | |||
| \item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}\code{). Defaults to NA. Modifies the}.footnote` class.} | |||
| \item{blockquote_left_color}{Blockquote Left Border Color, defaults to \code{apply_alpha(base_color, 0.5)}} | |||
| \item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies the \code{.footnote} class.} | |||
| \item{table_border_color}{Table top/bottom border, defaults to #666} | |||
| \item{footnote_position_bottom}{Footnote location from bottom of screen. Defaults to 3em. Modifies the \code{.footnote} class.} | |||
| \item{table_row_border_color}{Table row inner bottom border, defaults to #ddd} | |||
| \item{left_column_subtle_color}{Left Column Text (not last). Defaults to \code{apply_alpha(base_color, 0.6)}. Modifies the \code{.left-column h2, .left-column h3} classes.} | |||
| \item{table_row_even_background_color}{Table Even Row Background Color, defaults to \code{darken_color(base_color, 0.7)}} | |||
| \item{left_column_selected_color}{Left Column Current Selection. Defaults to \code{base_color}. Modifies the \code{.left-column h2:last-of-type, .left-column h3:last-child} classes.} | |||
| \item{text_font_size}{Slide Body Text Font Size, defaults to 20px} | |||
| \item{blockquote_left_color}{Blockquote Left Border Color. Defaults to \code{apply_alpha(base_color, 0.5)}. Modifies the \code{blockquote} element.} | |||
| \item{header_h1_font_size}{h1 Header Text Font Size, defaults to 55px} | |||
| \item{table_border_color}{Table top/bottom border. Defaults to #666. Modifies the \code{table: border-top, border-bottom} elements.} | |||
| \item{header_h2_font_size}{h2 Header Text Font Size, defaults to 45px} | |||
| \item{table_row_border_color}{Table row inner bottom border. Defaults to #ddd. Modifies the \code{table thead th: border-bottom} elements.} | |||
| \item{header_h3_font_size}{h3 Header Text Font Size, defaults to 35px} | |||
| \item{table_row_even_background_color}{Table Even Row Background Color. Defaults to \code{darken_color(base_color, 0.7)}. Modifies the \code{thead, tfoot, tr:nth-child(even)} elements.} | |||
| \item{text_slide_number_font_size}{Slide Number Text Font Size, defaults to 0.9em} | |||
| \item{text_font_size}{Slide Body Text Font Size. Defaults to 20px. Modifies the \code{.remark-slide-content} class.} | |||
| \item{code_inline_font_size}{Inline Code Text Font Size, defaults to 1em} | |||
| \item{header_h1_font_size}{h1 Header Text Font Size. Defaults to 55px. Modifies the \code{.remark-slide-content h1} class.} | |||
| \item{code_font_size}{Code Text Font Size, defaults to 0.9em} | |||
| \item{header_h2_font_size}{h2 Header Text Font Size. Defaults to 45px. Modifies the \code{.remark-slide-content h2} class.} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font, defaults to \code{NULL}} | |||
| \item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 35px. Modifies the \code{.remark-slide-content h3} class.} | |||
| \item{text_font_family}{Body Text Font Family, defaults to 'Droid Serif'} | |||
| \item{text_slide_number_font_size}{Slide Number Text Font Size. Defaults to 0.9em. Modifies the \code{.remark-slide-number} class.} | |||
| \item{text_font_weight}{Body Text Font Weight, defaults to normal} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font. Defaults to \code{NULL}. Modifies the \code{body} element.} | |||
| \item{text_font_url}{Body Text Font URL(s), defaults to https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic} | |||
| \item{text_font_family}{Body Text Font Family. Defaults to 'Droid Serif'. Modifies the \code{body} element.} | |||
| \item{text_font_family_fallback}{Body Text Font Fallbacks, defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'} | |||
| \item{text_font_weight}{Body Text Font Weight. Defaults to normal. Modifies the \code{body} element.} | |||
| \item{text_font_base}{Body Text Base Font (Total Failure Fallback), defaults to serif} | |||
| \item{text_font_url}{Body Text Font URL(s). Defaults to https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic. Modifies the \code{@import url()} elements.} | |||
| \item{header_font_google}{Use \code{google_font()} to specify header font, defaults to \code{NULL}} | |||
| \item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'. Modifies the \code{body} element.} | |||
| \item{header_font_family}{Header Font Family, defaults to 'Yanone Kaffeesatz'} | |||
| \item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults to serif. Modifies the \code{body} element.} | |||
| \item{header_font_weight}{Header Font Weight, defaults to normal} | |||
| \item{header_font_google}{Use \code{google_font()} to specify header font. Defaults to \code{NULL}. Modifies the \code{body} element.} | |||
| \item{header_font_url}{Header Font URL, defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz} | |||
| \item{header_font_family}{Header Font Family. Defaults to 'Yanone Kaffeesatz'. Modifies the \code{h1, h2, h3} elements.} | |||
| \item{code_font_google}{Use \code{google_font()} to specify code font, defaults to \code{NULL}} | |||
| \item{header_font_weight}{Header Font Weight. Defaults to normal. Modifies the \code{h1, h2, h3} elements.} | |||
| \item{code_font_family}{Code Font Family, defaults to 'Source Code Pro'} | |||
| \item{header_font_url}{Header Font URL. Defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz. Modifies the \code{@import url} elements.} | |||
| \item{code_font_url}{Code Font URL, defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700} | |||
| \item{code_font_google}{Use \code{google_font()} to specify code font. Defaults to \code{NULL}. Modifies the \code{body} element.} | |||
| \item{code_font_family_fallback}{Code Font Fallback, defaults to 'Lucida Console', Monaco} | |||
| \item{code_font_family}{Code Font Family. Defaults to 'Source Code Pro'. Modifies the \code{.remark-code, .remark-inline-code} classes.} | |||
| \item{code_font_size}{Code Text Font Size. Defaults to 0.9em. Modifies the \code{.remark-inline} class.} | |||
| \item{code_font_url}{Code Font URL. Defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700. Modifies the \code{@import url} elements.} | |||
| \item{code_font_family_fallback}{Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the \code{.remark-code, .remark-inline-code} classes.} | |||
| \item{extra_css}{A named list of CSS definitions each containing a named list | |||
| of CSS property-value pairs, i.e. | |||
| @@ -11,12 +11,14 @@ mono_light(base_color = "#23395b", white_color = lighten_color(base_color, | |||
| text_bold_color = base_color, text_slide_number_color = base_color, | |||
| code_highlight_color = "rgba(255,255,0,0.5)", | |||
| code_inline_color = base_color, code_inline_background_color = NA, | |||
| inverse_background_color = base_color, inverse_text_color = white_color, | |||
| inverse_text_shadow = FALSE, inverse_header_color = white_color, | |||
| code_inline_font_size = "1em", inverse_background_color = base_color, | |||
| inverse_text_color = white_color, inverse_text_shadow = FALSE, | |||
| inverse_header_color = white_color, | |||
| title_slide_text_color = inverse_text_color, | |||
| title_slide_background_color = inverse_background_color, | |||
| title_slide_background_image = NA, title_slide_background_size = NA, | |||
| title_slide_background_position = NA, | |||
| title_slide_background_position = NA, footnote_color = NA, | |||
| footnote_font_size = "0.9em", footnote_position_bottom = "3em", | |||
| left_column_subtle_color = apply_alpha(base_color, 0.6), | |||
| left_column_selected_color = base_color, | |||
| blockquote_left_color = apply_alpha(base_color, 0.5), | |||
| @@ -24,8 +26,7 @@ mono_light(base_color = "#23395b", white_color = lighten_color(base_color, | |||
| table_row_even_background_color = lighten_color(base_color, 0.8), | |||
| text_font_size = "20px", header_h1_font_size = "55px", | |||
| header_h2_font_size = "45px", header_h3_font_size = "35px", | |||
| text_slide_number_font_size = "0.9em", code_inline_font_size = "1em", | |||
| code_font_size = "0.9em", text_font_google = NULL, | |||
| text_slide_number_font_size = "0.9em", text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", text_font_weight = "normal", | |||
| text_font_url = "https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic", | |||
| text_font_family_fallback = "'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'", | |||
| @@ -33,106 +34,113 @@ mono_light(base_color = "#23395b", white_color = lighten_color(base_color, | |||
| header_font_family = "'Yanone Kaffeesatz'", header_font_weight = "normal", | |||
| header_font_url = "https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz", | |||
| code_font_google = NULL, code_font_family = "'Source Code Pro'", | |||
| code_font_size = "0.9em", | |||
| code_font_url = "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700", | |||
| code_font_family_fallback = "'Lucida Console', Monaco", extra_css = NULL, | |||
| extra_fonts = NULL, outfile = "xaringan-themer.css") | |||
| } | |||
| \arguments{ | |||
| \item{base_color}{Monotone base color, works best with a strong color, defaults to #23395b} | |||
| \item{base_color}{Monotone base color, works best with a strong color. Defaults to #23395b. Modifies multiple CSS classes or elements.} | |||
| \item{white_color}{Brightest color used, default is a very light version of \code{base_color}, defaults to \code{lighten_color(base_color, 0.9)}} | |||
| \item{white_color}{Brightest color used, default is a very light version of \code{base_color}. Defaults to \code{lighten_color(base_color, 0.9)}. Modifies multiple CSS classes or elements.} | |||
| \item{black_color}{Darkest color used, default is a very dark, version of \code{base_color}, defaults to \code{darken_color(base_color, 0.3)}} | |||
| \item{black_color}{Darkest color used, default is a very dark, version of \code{base_color}. Defaults to \code{darken_color(base_color, 0.3)}. Modifies multiple CSS classes or elements.} | |||
| \item{text_color}{Text Color, defaults to \code{black_color}} | |||
| \item{text_color}{Text Color. Defaults to \code{black_color}. Modifies the \code{body} element.} | |||
| \item{header_color}{Header Color, defaults to \code{base_color}} | |||
| \item{header_color}{Header Color. Defaults to \code{base_color}. Modifies the \code{h1, h2, h3} elements.} | |||
| \item{background_color}{Slide Background Color, defaults to \code{white_color}} | |||
| \item{background_color}{Slide Background Color. Defaults to \code{white_color}. Modifies the \code{.remark-slide-content} class.} | |||
| \item{link_color}{Link Color, defaults to \code{base_color}} | |||
| \item{link_color}{Link Color. Defaults to \code{base_color}. Modifies the \code{a, a > code} elements.} | |||
| \item{text_bold_color}{Bold Text Color, defaults to \code{base_color}} | |||
| \item{text_bold_color}{Bold Text Color. Defaults to \code{base_color}. Modifies the \code{strong} element.} | |||
| \item{text_slide_number_color}{Slide Number Color, defaults to \code{base_color}} | |||
| \item{text_slide_number_color}{Slide Number Color. Defaults to \code{base_color}. Modifies the \code{.remark-slide-number} class.} | |||
| \item{code_highlight_color}{Code Line Highlight, defaults to rgba(255,255,0,0.5)} | |||
| \item{code_highlight_color}{Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.} | |||
| \item{code_inline_color}{Inline Code Color, defaults to \code{base_color}} | |||
| \item{code_inline_color}{Inline Code Color. Defaults to \code{base_color}. Modifies the \code{.remark-inline-code} class.} | |||
| \item{code_inline_background_color}{Inline Code Background Color, defaults to NA} | |||
| \item{code_inline_background_color}{Inline Code Background Color. Defaults to NA. Modifies the \code{.remark-inline-code} class.} | |||
| \item{inverse_background_color}{Inverse Background Color, defaults to \code{base_color}} | |||
| \item{code_inline_font_size}{Inline Code Text Font Size. Defaults to 1em. Modifies the \code{.remark-inline-code} class.} | |||
| \item{inverse_text_color}{Inverse Text Color, defaults to \code{white_color}} | |||
| \item{inverse_background_color}{Inverse Background Color. Defaults to \code{base_color}. Modifies the \code{.inverse} class.} | |||
| \item{inverse_text_shadow}{Enables Shadow on text of inverse slides, defaults to \code{FALSE}} | |||
| \item{inverse_text_color}{Inverse Text Color. Defaults to \code{white_color}. Modifies the \code{.inverse} class.} | |||
| \item{inverse_header_color}{Inverse Header Color, defaults to \code{white_color}} | |||
| \item{inverse_text_shadow}{Enables Shadow on text of inverse slides. Defaults to \code{FALSE}. Modifies the \code{.inverse} class.} | |||
| \item{title_slide_text_color}{Title Slide Text Color, defaults to \code{inverse_text_color}} | |||
| \item{inverse_header_color}{Inverse Header Color. Defaults to \code{white_color}. Modifies the \code{.inverse h1, .inverse h2, .inverse h3} classes.} | |||
| \item{title_slide_background_color}{Title Slide Background Color, defaults to \code{inverse_background_color}} | |||
| \item{title_slide_text_color}{Title Slide Text Color. Defaults to \code{inverse_text_color}. Modifies the \code{.title-slide} class.} | |||
| \item{title_slide_background_image}{Title Slide Background Image URL, defaults to NA} | |||
| \item{title_slide_background_color}{Title Slide Background Color. Defaults to \code{inverse_background_color}. Modifies the \code{.title-slide} class.} | |||
| \item{title_slide_background_size}{Title Slide Background Image Size, defaults to "cover" if background image is set, defaults to NA} | |||
| \item{title_slide_background_image}{Title Slide Background Image URL. Defaults to NA. Modifies the \code{.title-slide} class.} | |||
| \item{title_slide_background_position}{Title Slide Background Image Position, defaults to NA} | |||
| \item{title_slide_background_size}{Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the \code{.title-slide} class.} | |||
| \item{left_column_subtle_color}{Left Column Text (not last), defaults to \code{apply_alpha(base_color, 0.6)}} | |||
| \item{title_slide_background_position}{Title Slide Background Image Position. Defaults to NA. Modifies the \code{.title-slide} class.} | |||
| \item{left_column_selected_color}{Left Column Current Selection, defaults to \code{base_color}} | |||
| \item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}\code{). Defaults to NA. Modifies the}.footnote` class.} | |||
| \item{blockquote_left_color}{Blockquote Left Border Color, defaults to \code{apply_alpha(base_color, 0.5)}} | |||
| \item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies the \code{.footnote} class.} | |||
| \item{table_border_color}{Table top/bottom border, defaults to #666} | |||
| \item{footnote_position_bottom}{Footnote location from bottom of screen. Defaults to 3em. Modifies the \code{.footnote} class.} | |||
| \item{table_row_border_color}{Table row inner bottom border, defaults to #ddd} | |||
| \item{left_column_subtle_color}{Left Column Text (not last). Defaults to \code{apply_alpha(base_color, 0.6)}. Modifies the \code{.left-column h2, .left-column h3} classes.} | |||
| \item{table_row_even_background_color}{Table Even Row Background Color, defaults to \code{lighten_color(base_color, 0.8)}} | |||
| \item{left_column_selected_color}{Left Column Current Selection. Defaults to \code{base_color}. Modifies the \code{.left-column h2:last-of-type, .left-column h3:last-child} classes.} | |||
| \item{text_font_size}{Slide Body Text Font Size, defaults to 20px} | |||
| \item{blockquote_left_color}{Blockquote Left Border Color. Defaults to \code{apply_alpha(base_color, 0.5)}. Modifies the \code{blockquote} element.} | |||
| \item{header_h1_font_size}{h1 Header Text Font Size, defaults to 55px} | |||
| \item{table_border_color}{Table top/bottom border. Defaults to #666. Modifies the \code{table: border-top, border-bottom} elements.} | |||
| \item{header_h2_font_size}{h2 Header Text Font Size, defaults to 45px} | |||
| \item{table_row_border_color}{Table row inner bottom border. Defaults to #ddd. Modifies the \code{table thead th: border-bottom} elements.} | |||
| \item{header_h3_font_size}{h3 Header Text Font Size, defaults to 35px} | |||
| \item{table_row_even_background_color}{Table Even Row Background Color. Defaults to \code{lighten_color(base_color, 0.8)}. Modifies the \code{thead, tfoot, tr:nth-child(even)} elements.} | |||
| \item{text_slide_number_font_size}{Slide Number Text Font Size, defaults to 0.9em} | |||
| \item{text_font_size}{Slide Body Text Font Size. Defaults to 20px. Modifies the \code{.remark-slide-content} class.} | |||
| \item{code_inline_font_size}{Inline Code Text Font Size, defaults to 1em} | |||
| \item{header_h1_font_size}{h1 Header Text Font Size. Defaults to 55px. Modifies the \code{.remark-slide-content h1} class.} | |||
| \item{code_font_size}{Code Text Font Size, defaults to 0.9em} | |||
| \item{header_h2_font_size}{h2 Header Text Font Size. Defaults to 45px. Modifies the \code{.remark-slide-content h2} class.} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font, defaults to \code{NULL}} | |||
| \item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 35px. Modifies the \code{.remark-slide-content h3} class.} | |||
| \item{text_font_family}{Body Text Font Family, defaults to 'Droid Serif'} | |||
| \item{text_slide_number_font_size}{Slide Number Text Font Size. Defaults to 0.9em. Modifies the \code{.remark-slide-number} class.} | |||
| \item{text_font_weight}{Body Text Font Weight, defaults to normal} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font. Defaults to \code{NULL}. Modifies the \code{body} element.} | |||
| \item{text_font_url}{Body Text Font URL(s), defaults to https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic} | |||
| \item{text_font_family}{Body Text Font Family. Defaults to 'Droid Serif'. Modifies the \code{body} element.} | |||
| \item{text_font_family_fallback}{Body Text Font Fallbacks, defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'} | |||
| \item{text_font_weight}{Body Text Font Weight. Defaults to normal. Modifies the \code{body} element.} | |||
| \item{text_font_base}{Body Text Base Font (Total Failure Fallback), defaults to serif} | |||
| \item{text_font_url}{Body Text Font URL(s). Defaults to https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic. Modifies the \code{@import url()} elements.} | |||
| \item{header_font_google}{Use \code{google_font()} to specify header font, defaults to \code{NULL}} | |||
| \item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'. Modifies the \code{body} element.} | |||
| \item{header_font_family}{Header Font Family, defaults to 'Yanone Kaffeesatz'} | |||
| \item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults to serif. Modifies the \code{body} element.} | |||
| \item{header_font_weight}{Header Font Weight, defaults to normal} | |||
| \item{header_font_google}{Use \code{google_font()} to specify header font. Defaults to \code{NULL}. Modifies the \code{body} element.} | |||
| \item{header_font_url}{Header Font URL, defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz} | |||
| \item{header_font_family}{Header Font Family. Defaults to 'Yanone Kaffeesatz'. Modifies the \code{h1, h2, h3} elements.} | |||
| \item{code_font_google}{Use \code{google_font()} to specify code font, defaults to \code{NULL}} | |||
| \item{header_font_weight}{Header Font Weight. Defaults to normal. Modifies the \code{h1, h2, h3} elements.} | |||
| \item{code_font_family}{Code Font Family, defaults to 'Source Code Pro'} | |||
| \item{header_font_url}{Header Font URL. Defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz. Modifies the \code{@import url} elements.} | |||
| \item{code_font_url}{Code Font URL, defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700} | |||
| \item{code_font_google}{Use \code{google_font()} to specify code font. Defaults to \code{NULL}. Modifies the \code{body} element.} | |||
| \item{code_font_family_fallback}{Code Font Fallback, defaults to 'Lucida Console', Monaco} | |||
| \item{code_font_family}{Code Font Family. Defaults to 'Source Code Pro'. Modifies the \code{.remark-code, .remark-inline-code} classes.} | |||
| \item{code_font_size}{Code Text Font Size. Defaults to 0.9em. Modifies the \code{.remark-inline} class.} | |||
| \item{code_font_url}{Code Font URL. Defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700. Modifies the \code{@import url} elements.} | |||
| \item{code_font_family_fallback}{Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the \code{.remark-code, .remark-inline-code} classes.} | |||
| \item{extra_css}{A named list of CSS definitions each containing a named list | |||
| of CSS property-value pairs, i.e. | |||
| @@ -8,20 +8,20 @@ solarized_dark(text_color = "#839496", header_color = "#dc322f", | |||
| background_color = "#002b36", link_color = "#b58900", | |||
| text_bold_color = "#d33682", text_slide_number_color = "#586e75", | |||
| code_highlight_color = "#268bd240", code_inline_color = "#6c71c4", | |||
| code_inline_background_color = NA, inverse_background_color = "#fdf6e3", | |||
| inverse_text_color = "#002b36", inverse_text_shadow = FALSE, | |||
| inverse_header_color = inverse_text_color, | |||
| code_inline_background_color = NA, code_inline_font_size = "1em", | |||
| inverse_background_color = "#fdf6e3", inverse_text_color = "#002b36", | |||
| inverse_text_shadow = FALSE, inverse_header_color = inverse_text_color, | |||
| title_slide_text_color = inverse_text_color, | |||
| title_slide_background_color = inverse_background_color, | |||
| title_slide_background_image = NA, title_slide_background_size = NA, | |||
| title_slide_background_position = NA, | |||
| title_slide_background_position = NA, footnote_color = NA, | |||
| footnote_font_size = "0.9em", footnote_position_bottom = "3em", | |||
| left_column_subtle_color = "#586e75", | |||
| left_column_selected_color = "#93a1a1", blockquote_left_color = "#cb4b16", | |||
| table_border_color = "#657b83", table_row_border_color = "#657b83", | |||
| table_row_even_background_color = "#073642", text_font_size = "20px", | |||
| header_h1_font_size = "55px", header_h2_font_size = "45px", | |||
| header_h3_font_size = "35px", text_slide_number_font_size = "0.9em", | |||
| code_inline_font_size = "1em", code_font_size = "0.9em", | |||
| text_font_google = NULL, text_font_family = "'Droid Serif'", | |||
| text_font_weight = "normal", | |||
| text_font_url = "https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic", | |||
| @@ -30,100 +30,107 @@ solarized_dark(text_color = "#839496", header_color = "#dc322f", | |||
| header_font_family = "'Yanone Kaffeesatz'", header_font_weight = "normal", | |||
| header_font_url = "https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz", | |||
| code_font_google = NULL, code_font_family = "'Source Code Pro'", | |||
| code_font_size = "0.9em", | |||
| code_font_url = "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700", | |||
| code_font_family_fallback = "'Lucida Console', Monaco", extra_css = NULL, | |||
| extra_fonts = NULL, outfile = "xaringan-themer.css") | |||
| } | |||
| \arguments{ | |||
| \item{text_color}{Text Color, defaults to #839496} | |||
| \item{text_color}{Text Color. Defaults to #839496. Modifies the \code{body} element.} | |||
| \item{header_color}{Header Color, defaults to #dc322f} | |||
| \item{header_color}{Header Color. Defaults to #dc322f. Modifies the \code{h1, h2, h3} elements.} | |||
| \item{background_color}{Slide Background Color, defaults to #002b36} | |||
| \item{background_color}{Slide Background Color. Defaults to #002b36. Modifies the \code{.remark-slide-content} class.} | |||
| \item{link_color}{Link Color, defaults to #b58900} | |||
| \item{link_color}{Link Color. Defaults to #b58900. Modifies the \code{a, a > code} elements.} | |||
| \item{text_bold_color}{Bold Text Color, defaults to #d33682} | |||
| \item{text_bold_color}{Bold Text Color. Defaults to #d33682. Modifies the \code{strong} element.} | |||
| \item{text_slide_number_color}{Slide Number Color, defaults to #586e75} | |||
| \item{text_slide_number_color}{Slide Number Color. Defaults to #586e75. Modifies the \code{.remark-slide-number} class.} | |||
| \item{code_highlight_color}{Code Line Highlight, defaults to #268bd240} | |||
| \item{code_highlight_color}{Code Line Highlight. Defaults to #268bd240. Modifies the \code{.remark-code-line-highlighted} class.} | |||
| \item{code_inline_color}{Inline Code Color, defaults to #6c71c4} | |||
| \item{code_inline_color}{Inline Code Color. Defaults to #6c71c4. Modifies the \code{.remark-inline-code} class.} | |||
| \item{code_inline_background_color}{Inline Code Background Color, defaults to NA} | |||
| \item{code_inline_background_color}{Inline Code Background Color. Defaults to NA. Modifies the \code{.remark-inline-code} class.} | |||
| \item{inverse_background_color}{Inverse Background Color, defaults to #fdf6e3} | |||
| \item{code_inline_font_size}{Inline Code Text Font Size. Defaults to 1em. Modifies the \code{.remark-inline-code} class.} | |||
| \item{inverse_text_color}{Inverse Text Color, defaults to #002b36} | |||
| \item{inverse_background_color}{Inverse Background Color. Defaults to #fdf6e3. Modifies the \code{.inverse} class.} | |||
| \item{inverse_text_shadow}{Enables Shadow on text of inverse slides, defaults to \code{FALSE}} | |||
| \item{inverse_text_color}{Inverse Text Color. Defaults to #002b36. Modifies the \code{.inverse} class.} | |||
| \item{inverse_header_color}{Inverse Header Color, defaults to \code{inverse_text_color}} | |||
| \item{inverse_text_shadow}{Enables Shadow on text of inverse slides. Defaults to \code{FALSE}. Modifies the \code{.inverse} class.} | |||
| \item{title_slide_text_color}{Title Slide Text Color, defaults to \code{inverse_text_color}} | |||
| \item{inverse_header_color}{Inverse Header Color. Defaults to \code{inverse_text_color}. Modifies the \code{.inverse h1, .inverse h2, .inverse h3} classes.} | |||
| \item{title_slide_background_color}{Title Slide Background Color, defaults to \code{inverse_background_color}} | |||
| \item{title_slide_text_color}{Title Slide Text Color. Defaults to \code{inverse_text_color}. Modifies the \code{.title-slide} class.} | |||
| \item{title_slide_background_image}{Title Slide Background Image URL, defaults to NA} | |||
| \item{title_slide_background_color}{Title Slide Background Color. Defaults to \code{inverse_background_color}. Modifies the \code{.title-slide} class.} | |||
| \item{title_slide_background_size}{Title Slide Background Image Size, defaults to "cover" if background image is set, defaults to NA} | |||
| \item{title_slide_background_image}{Title Slide Background Image URL. Defaults to NA. Modifies the \code{.title-slide} class.} | |||
| \item{title_slide_background_position}{Title Slide Background Image Position, defaults to NA} | |||
| \item{title_slide_background_size}{Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the \code{.title-slide} class.} | |||
| \item{left_column_subtle_color}{Left Column Text (not last), defaults to #586e75} | |||
| \item{title_slide_background_position}{Title Slide Background Image Position. Defaults to NA. Modifies the \code{.title-slide} class.} | |||
| \item{left_column_selected_color}{Left Column Current Selection, defaults to #93a1a1} | |||
| \item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}\code{). Defaults to NA. Modifies the}.footnote` class.} | |||
| \item{blockquote_left_color}{Blockquote Left Border Color, defaults to #cb4b16} | |||
| \item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies the \code{.footnote} class.} | |||
| \item{table_border_color}{Table top/bottom border, defaults to #657b83} | |||
| \item{footnote_position_bottom}{Footnote location from bottom of screen. Defaults to 3em. Modifies the \code{.footnote} class.} | |||
| \item{table_row_border_color}{Table row inner bottom border, defaults to #657b83} | |||
| \item{left_column_subtle_color}{Left Column Text (not last). Defaults to #586e75. Modifies the \code{.left-column h2, .left-column h3} classes.} | |||
| \item{table_row_even_background_color}{Table Even Row Background Color, defaults to #073642} | |||
| \item{left_column_selected_color}{Left Column Current Selection. Defaults to #93a1a1. Modifies the \code{.left-column h2:last-of-type, .left-column h3:last-child} classes.} | |||
| \item{text_font_size}{Slide Body Text Font Size, defaults to 20px} | |||
| \item{blockquote_left_color}{Blockquote Left Border Color. Defaults to #cb4b16. Modifies the \code{blockquote} element.} | |||
| \item{header_h1_font_size}{h1 Header Text Font Size, defaults to 55px} | |||
| \item{table_border_color}{Table top/bottom border. Defaults to #657b83. Modifies the \code{table: border-top, border-bottom} elements.} | |||
| \item{header_h2_font_size}{h2 Header Text Font Size, defaults to 45px} | |||
| \item{table_row_border_color}{Table row inner bottom border. Defaults to #657b83. Modifies the \code{table thead th: border-bottom} elements.} | |||
| \item{header_h3_font_size}{h3 Header Text Font Size, defaults to 35px} | |||
| \item{table_row_even_background_color}{Table Even Row Background Color. Defaults to #073642. Modifies the \code{thead, tfoot, tr:nth-child(even)} elements.} | |||
| \item{text_slide_number_font_size}{Slide Number Text Font Size, defaults to 0.9em} | |||
| \item{text_font_size}{Slide Body Text Font Size. Defaults to 20px. Modifies the \code{.remark-slide-content} class.} | |||
| \item{code_inline_font_size}{Inline Code Text Font Size, defaults to 1em} | |||
| \item{header_h1_font_size}{h1 Header Text Font Size. Defaults to 55px. Modifies the \code{.remark-slide-content h1} class.} | |||
| \item{code_font_size}{Code Text Font Size, defaults to 0.9em} | |||
| \item{header_h2_font_size}{h2 Header Text Font Size. Defaults to 45px. Modifies the \code{.remark-slide-content h2} class.} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font, defaults to \code{NULL}} | |||
| \item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 35px. Modifies the \code{.remark-slide-content h3} class.} | |||
| \item{text_font_family}{Body Text Font Family, defaults to 'Droid Serif'} | |||
| \item{text_slide_number_font_size}{Slide Number Text Font Size. Defaults to 0.9em. Modifies the \code{.remark-slide-number} class.} | |||
| \item{text_font_weight}{Body Text Font Weight, defaults to normal} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font. Defaults to \code{NULL}. Modifies the \code{body} element.} | |||
| \item{text_font_url}{Body Text Font URL(s), defaults to https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic} | |||
| \item{text_font_family}{Body Text Font Family. Defaults to 'Droid Serif'. Modifies the \code{body} element.} | |||
| \item{text_font_family_fallback}{Body Text Font Fallbacks, defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'} | |||
| \item{text_font_weight}{Body Text Font Weight. Defaults to normal. Modifies the \code{body} element.} | |||
| \item{text_font_base}{Body Text Base Font (Total Failure Fallback), defaults to serif} | |||
| \item{text_font_url}{Body Text Font URL(s). Defaults to https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic. Modifies the \code{@import url()} elements.} | |||
| \item{header_font_google}{Use \code{google_font()} to specify header font, defaults to \code{NULL}} | |||
| \item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'. Modifies the \code{body} element.} | |||
| \item{header_font_family}{Header Font Family, defaults to 'Yanone Kaffeesatz'} | |||
| \item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults to serif. Modifies the \code{body} element.} | |||
| \item{header_font_weight}{Header Font Weight, defaults to normal} | |||
| \item{header_font_google}{Use \code{google_font()} to specify header font. Defaults to \code{NULL}. Modifies the \code{body} element.} | |||
| \item{header_font_url}{Header Font URL, defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz} | |||
| \item{header_font_family}{Header Font Family. Defaults to 'Yanone Kaffeesatz'. Modifies the \code{h1, h2, h3} elements.} | |||
| \item{code_font_google}{Use \code{google_font()} to specify code font, defaults to \code{NULL}} | |||
| \item{header_font_weight}{Header Font Weight. Defaults to normal. Modifies the \code{h1, h2, h3} elements.} | |||
| \item{code_font_family}{Code Font Family, defaults to 'Source Code Pro'} | |||
| \item{header_font_url}{Header Font URL. Defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz. Modifies the \code{@import url} elements.} | |||
| \item{code_font_url}{Code Font URL, defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700} | |||
| \item{code_font_google}{Use \code{google_font()} to specify code font. Defaults to \code{NULL}. Modifies the \code{body} element.} | |||
| \item{code_font_family_fallback}{Code Font Fallback, defaults to 'Lucida Console', Monaco} | |||
| \item{code_font_family}{Code Font Family. Defaults to 'Source Code Pro'. Modifies the \code{.remark-code, .remark-inline-code} classes.} | |||
| \item{code_font_size}{Code Text Font Size. Defaults to 0.9em. Modifies the \code{.remark-inline} class.} | |||
| \item{code_font_url}{Code Font URL. Defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700. Modifies the \code{@import url} elements.} | |||
| \item{code_font_family_fallback}{Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the \code{.remark-code, .remark-inline-code} classes.} | |||
| \item{extra_css}{A named list of CSS definitions each containing a named list | |||
| of CSS property-value pairs, i.e. | |||
| @@ -8,20 +8,20 @@ solarized_light(text_color = "#657b83", header_color = "#dc322f", | |||
| background_color = "#fdf6e3", link_color = "#b58900", | |||
| text_bold_color = "#d33682", text_slide_number_color = "#93a1a1", | |||
| code_highlight_color = "#268bd240", code_inline_color = "#6c71c4", | |||
| code_inline_background_color = NA, inverse_background_color = "#002b36", | |||
| inverse_text_color = "#fdf6e3", inverse_text_shadow = FALSE, | |||
| inverse_header_color = inverse_text_color, | |||
| code_inline_background_color = NA, code_inline_font_size = "1em", | |||
| inverse_background_color = "#002b36", inverse_text_color = "#fdf6e3", | |||
| inverse_text_shadow = FALSE, inverse_header_color = inverse_text_color, | |||
| title_slide_text_color = inverse_text_color, | |||
| title_slide_background_color = inverse_background_color, | |||
| title_slide_background_image = NA, title_slide_background_size = NA, | |||
| title_slide_background_position = NA, | |||
| title_slide_background_position = NA, footnote_color = NA, | |||
| footnote_font_size = "0.9em", footnote_position_bottom = "3em", | |||
| left_column_subtle_color = "#93a1a1", | |||
| left_column_selected_color = "#586e75", blockquote_left_color = "#cb4b16", | |||
| table_border_color = "#839496", table_row_border_color = "#839496", | |||
| table_row_even_background_color = "#eee8d5", text_font_size = "20px", | |||
| header_h1_font_size = "55px", header_h2_font_size = "45px", | |||
| header_h3_font_size = "35px", text_slide_number_font_size = "0.9em", | |||
| code_inline_font_size = "1em", code_font_size = "0.9em", | |||
| text_font_google = NULL, text_font_family = "'Droid Serif'", | |||
| text_font_weight = "normal", | |||
| text_font_url = "https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic", | |||
| @@ -30,100 +30,107 @@ solarized_light(text_color = "#657b83", header_color = "#dc322f", | |||
| header_font_family = "'Yanone Kaffeesatz'", header_font_weight = "normal", | |||
| header_font_url = "https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz", | |||
| code_font_google = NULL, code_font_family = "'Source Code Pro'", | |||
| code_font_size = "0.9em", | |||
| code_font_url = "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700", | |||
| code_font_family_fallback = "'Lucida Console', Monaco", extra_css = NULL, | |||
| extra_fonts = NULL, outfile = "xaringan-themer.css") | |||
| } | |||
| \arguments{ | |||
| \item{text_color}{Text Color, defaults to #657b83} | |||
| \item{text_color}{Text Color. Defaults to #657b83. Modifies the \code{body} element.} | |||
| \item{header_color}{Header Color, defaults to #dc322f} | |||
| \item{header_color}{Header Color. Defaults to #dc322f. Modifies the \code{h1, h2, h3} elements.} | |||
| \item{background_color}{Slide Background Color, defaults to #fdf6e3} | |||
| \item{background_color}{Slide Background Color. Defaults to #fdf6e3. Modifies the \code{.remark-slide-content} class.} | |||
| \item{link_color}{Link Color, defaults to #b58900} | |||
| \item{link_color}{Link Color. Defaults to #b58900. Modifies the \code{a, a > code} elements.} | |||
| \item{text_bold_color}{Bold Text Color, defaults to #d33682} | |||
| \item{text_bold_color}{Bold Text Color. Defaults to #d33682. Modifies the \code{strong} element.} | |||
| \item{text_slide_number_color}{Slide Number Color, defaults to #93a1a1} | |||
| \item{text_slide_number_color}{Slide Number Color. Defaults to #93a1a1. Modifies the \code{.remark-slide-number} class.} | |||
| \item{code_highlight_color}{Code Line Highlight, defaults to #268bd240} | |||
| \item{code_highlight_color}{Code Line Highlight. Defaults to #268bd240. Modifies the \code{.remark-code-line-highlighted} class.} | |||
| \item{code_inline_color}{Inline Code Color, defaults to #6c71c4} | |||
| \item{code_inline_color}{Inline Code Color. Defaults to #6c71c4. Modifies the \code{.remark-inline-code} class.} | |||
| \item{code_inline_background_color}{Inline Code Background Color, defaults to NA} | |||
| \item{code_inline_background_color}{Inline Code Background Color. Defaults to NA. Modifies the \code{.remark-inline-code} class.} | |||
| \item{inverse_background_color}{Inverse Background Color, defaults to #002b36} | |||
| \item{code_inline_font_size}{Inline Code Text Font Size. Defaults to 1em. Modifies the \code{.remark-inline-code} class.} | |||
| \item{inverse_text_color}{Inverse Text Color, defaults to #fdf6e3} | |||
| \item{inverse_background_color}{Inverse Background Color. Defaults to #002b36. Modifies the \code{.inverse} class.} | |||
| \item{inverse_text_shadow}{Enables Shadow on text of inverse slides, defaults to \code{FALSE}} | |||
| \item{inverse_text_color}{Inverse Text Color. Defaults to #fdf6e3. Modifies the \code{.inverse} class.} | |||
| \item{inverse_header_color}{Inverse Header Color, defaults to \code{inverse_text_color}} | |||
| \item{inverse_text_shadow}{Enables Shadow on text of inverse slides. Defaults to \code{FALSE}. Modifies the \code{.inverse} class.} | |||
| \item{title_slide_text_color}{Title Slide Text Color, defaults to \code{inverse_text_color}} | |||
| \item{inverse_header_color}{Inverse Header Color. Defaults to \code{inverse_text_color}. Modifies the \code{.inverse h1, .inverse h2, .inverse h3} classes.} | |||
| \item{title_slide_background_color}{Title Slide Background Color, defaults to \code{inverse_background_color}} | |||
| \item{title_slide_text_color}{Title Slide Text Color. Defaults to \code{inverse_text_color}. Modifies the \code{.title-slide} class.} | |||
| \item{title_slide_background_image}{Title Slide Background Image URL, defaults to NA} | |||
| \item{title_slide_background_color}{Title Slide Background Color. Defaults to \code{inverse_background_color}. Modifies the \code{.title-slide} class.} | |||
| \item{title_slide_background_size}{Title Slide Background Image Size, defaults to "cover" if background image is set, defaults to NA} | |||
| \item{title_slide_background_image}{Title Slide Background Image URL. Defaults to NA. Modifies the \code{.title-slide} class.} | |||
| \item{title_slide_background_position}{Title Slide Background Image Position, defaults to NA} | |||
| \item{title_slide_background_size}{Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the \code{.title-slide} class.} | |||
| \item{left_column_subtle_color}{Left Column Text (not last), defaults to #93a1a1} | |||
| \item{title_slide_background_position}{Title Slide Background Image Position. Defaults to NA. Modifies the \code{.title-slide} class.} | |||
| \item{left_column_selected_color}{Left Column Current Selection, defaults to #586e75} | |||
| \item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}\code{). Defaults to NA. Modifies the}.footnote` class.} | |||
| \item{blockquote_left_color}{Blockquote Left Border Color, defaults to #cb4b16} | |||
| \item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies the \code{.footnote} class.} | |||
| \item{table_border_color}{Table top/bottom border, defaults to #839496} | |||
| \item{footnote_position_bottom}{Footnote location from bottom of screen. Defaults to 3em. Modifies the \code{.footnote} class.} | |||
| \item{table_row_border_color}{Table row inner bottom border, defaults to #839496} | |||
| \item{left_column_subtle_color}{Left Column Text (not last). Defaults to #93a1a1. Modifies the \code{.left-column h2, .left-column h3} classes.} | |||
| \item{table_row_even_background_color}{Table Even Row Background Color, defaults to #eee8d5} | |||
| \item{left_column_selected_color}{Left Column Current Selection. Defaults to #586e75. Modifies the \code{.left-column h2:last-of-type, .left-column h3:last-child} classes.} | |||
| \item{text_font_size}{Slide Body Text Font Size, defaults to 20px} | |||
| \item{blockquote_left_color}{Blockquote Left Border Color. Defaults to #cb4b16. Modifies the \code{blockquote} element.} | |||
| \item{header_h1_font_size}{h1 Header Text Font Size, defaults to 55px} | |||
| \item{table_border_color}{Table top/bottom border. Defaults to #839496. Modifies the \code{table: border-top, border-bottom} elements.} | |||
| \item{header_h2_font_size}{h2 Header Text Font Size, defaults to 45px} | |||
| \item{table_row_border_color}{Table row inner bottom border. Defaults to #839496. Modifies the \code{table thead th: border-bottom} elements.} | |||
| \item{header_h3_font_size}{h3 Header Text Font Size, defaults to 35px} | |||
| \item{table_row_even_background_color}{Table Even Row Background Color. Defaults to #eee8d5. Modifies the \code{thead, tfoot, tr:nth-child(even)} elements.} | |||
| \item{text_slide_number_font_size}{Slide Number Text Font Size, defaults to 0.9em} | |||
| \item{text_font_size}{Slide Body Text Font Size. Defaults to 20px. Modifies the \code{.remark-slide-content} class.} | |||
| \item{code_inline_font_size}{Inline Code Text Font Size, defaults to 1em} | |||
| \item{header_h1_font_size}{h1 Header Text Font Size. Defaults to 55px. Modifies the \code{.remark-slide-content h1} class.} | |||
| \item{code_font_size}{Code Text Font Size, defaults to 0.9em} | |||
| \item{header_h2_font_size}{h2 Header Text Font Size. Defaults to 45px. Modifies the \code{.remark-slide-content h2} class.} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font, defaults to \code{NULL}} | |||
| \item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 35px. Modifies the \code{.remark-slide-content h3} class.} | |||
| \item{text_font_family}{Body Text Font Family, defaults to 'Droid Serif'} | |||
| \item{text_slide_number_font_size}{Slide Number Text Font Size. Defaults to 0.9em. Modifies the \code{.remark-slide-number} class.} | |||
| \item{text_font_weight}{Body Text Font Weight, defaults to normal} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font. Defaults to \code{NULL}. Modifies the \code{body} element.} | |||
| \item{text_font_url}{Body Text Font URL(s), defaults to https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic} | |||
| \item{text_font_family}{Body Text Font Family. Defaults to 'Droid Serif'. Modifies the \code{body} element.} | |||
| \item{text_font_family_fallback}{Body Text Font Fallbacks, defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'} | |||
| \item{text_font_weight}{Body Text Font Weight. Defaults to normal. Modifies the \code{body} element.} | |||
| \item{text_font_base}{Body Text Base Font (Total Failure Fallback), defaults to serif} | |||
| \item{text_font_url}{Body Text Font URL(s). Defaults to https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic. Modifies the \code{@import url()} elements.} | |||
| \item{header_font_google}{Use \code{google_font()} to specify header font, defaults to \code{NULL}} | |||
| \item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'. Modifies the \code{body} element.} | |||
| \item{header_font_family}{Header Font Family, defaults to 'Yanone Kaffeesatz'} | |||
| \item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults to serif. Modifies the \code{body} element.} | |||
| \item{header_font_weight}{Header Font Weight, defaults to normal} | |||
| \item{header_font_google}{Use \code{google_font()} to specify header font. Defaults to \code{NULL}. Modifies the \code{body} element.} | |||
| \item{header_font_url}{Header Font URL, defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz} | |||
| \item{header_font_family}{Header Font Family. Defaults to 'Yanone Kaffeesatz'. Modifies the \code{h1, h2, h3} elements.} | |||
| \item{code_font_google}{Use \code{google_font()} to specify code font, defaults to \code{NULL}} | |||
| \item{header_font_weight}{Header Font Weight. Defaults to normal. Modifies the \code{h1, h2, h3} elements.} | |||
| \item{code_font_family}{Code Font Family, defaults to 'Source Code Pro'} | |||
| \item{header_font_url}{Header Font URL. Defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz. Modifies the \code{@import url} elements.} | |||
| \item{code_font_url}{Code Font URL, defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700} | |||
| \item{code_font_google}{Use \code{google_font()} to specify code font. Defaults to \code{NULL}. Modifies the \code{body} element.} | |||
| \item{code_font_family_fallback}{Code Font Fallback, defaults to 'Lucida Console', Monaco} | |||
| \item{code_font_family}{Code Font Family. Defaults to 'Source Code Pro'. Modifies the \code{.remark-code, .remark-inline-code} classes.} | |||
| \item{code_font_size}{Code Text Font Size. Defaults to 0.9em. Modifies the \code{.remark-inline} class.} | |||
| \item{code_font_url}{Code Font URL. Defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700. Modifies the \code{@import url} elements.} | |||
| \item{code_font_family_fallback}{Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the \code{.remark-code, .remark-inline-code} classes.} | |||
| \item{extra_css}{A named list of CSS definitions each containing a named list | |||
| of CSS property-value pairs, i.e. | |||
| @@ -8,121 +8,128 @@ write_xaringan_theme(text_color = "#000", header_color = "#000", | |||
| background_color = "#FFF", link_color = "rgb(249, 38, 114)", | |||
| text_bold_color = NA, text_slide_number_color = inverse_background_color, | |||
| code_highlight_color = "rgba(255,255,0,0.5)", code_inline_color = "#000", | |||
| code_inline_background_color = NA, inverse_background_color = "#272822", | |||
| inverse_text_color = "#d6d6d6", inverse_text_shadow = FALSE, | |||
| inverse_header_color = "#f3f3f3", | |||
| code_inline_background_color = NA, code_inline_font_size = "1em", | |||
| inverse_background_color = "#272822", inverse_text_color = "#d6d6d6", | |||
| inverse_text_shadow = FALSE, inverse_header_color = "#f3f3f3", | |||
| title_slide_text_color = inverse_text_color, | |||
| title_slide_background_color = inverse_background_color, | |||
| title_slide_background_image = NA, title_slide_background_size = NA, | |||
| title_slide_background_position = NA, left_column_subtle_color = "#777", | |||
| left_column_selected_color = "#000", blockquote_left_color = "lightgray", | |||
| table_border_color = "#666", table_row_border_color = "#ddd", | |||
| table_row_even_background_color = "#eee", text_font_size = "20px", | |||
| header_h1_font_size = "55px", header_h2_font_size = "45px", | |||
| header_h3_font_size = "35px", text_slide_number_font_size = "0.9em", | |||
| code_inline_font_size = "1em", code_font_size = "0.9em", | |||
| text_font_google = NULL, text_font_family = "'Droid Serif'", | |||
| text_font_weight = "normal", | |||
| title_slide_background_position = NA, footnote_color = NA, | |||
| footnote_font_size = "0.9em", footnote_position_bottom = "3em", | |||
| left_column_subtle_color = "#777", left_column_selected_color = "#000", | |||
| blockquote_left_color = "lightgray", table_border_color = "#666", | |||
| table_row_border_color = "#ddd", table_row_even_background_color = "#eee", | |||
| text_font_size = "20px", header_h1_font_size = "55px", | |||
| header_h2_font_size = "45px", header_h3_font_size = "35px", | |||
| text_slide_number_font_size = "0.9em", text_font_google = NULL, | |||
| text_font_family = "'Droid Serif'", text_font_weight = "normal", | |||
| text_font_url = "https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic", | |||
| text_font_family_fallback = "'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'", | |||
| text_font_base = "serif", header_font_google = NULL, | |||
| header_font_family = "'Yanone Kaffeesatz'", header_font_weight = "normal", | |||
| header_font_url = "https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz", | |||
| code_font_google = NULL, code_font_family = "'Source Code Pro'", | |||
| code_font_size = "0.9em", | |||
| code_font_url = "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700", | |||
| code_font_family_fallback = "'Lucida Console', Monaco", extra_css = NULL, | |||
| extra_fonts = NULL, outfile = "xaringan-themer.css") | |||
| } | |||
| \arguments{ | |||
| \item{text_color}{Text Color, defaults to #000} | |||
| \item{text_color}{Text Color. Defaults to #000. Modifies the \code{body} element.} | |||
| \item{header_color}{Header Color, defaults to #000} | |||
| \item{header_color}{Header Color. Defaults to #000. Modifies the \code{h1, h2, h3} elements.} | |||
| \item{background_color}{Slide Background Color, defaults to #FFF} | |||
| \item{background_color}{Slide Background Color. Defaults to #FFF. Modifies the \code{.remark-slide-content} class.} | |||
| \item{link_color}{Link Color, defaults to rgb(249, 38, 114)} | |||
| \item{link_color}{Link Color. Defaults to rgb(249, 38, 114). Modifies the \code{a, a > code} elements.} | |||
| \item{text_bold_color}{Bold Text Color, defaults to NA} | |||
| \item{text_bold_color}{Bold Text Color. Defaults to NA. Modifies the \code{strong} element.} | |||
| \item{text_slide_number_color}{Slide Number Color, defaults to \code{inverse_background_color}} | |||
| \item{text_slide_number_color}{Slide Number Color. Defaults to \code{inverse_background_color}. Modifies the \code{.remark-slide-number} class.} | |||
| \item{code_highlight_color}{Code Line Highlight, defaults to rgba(255,255,0,0.5)} | |||
| \item{code_highlight_color}{Code Line Highlight. Defaults to rgba(255,255,0,0.5). Modifies the \code{.remark-code-line-highlighted} class.} | |||
| \item{code_inline_color}{Inline Code Color, defaults to #000} | |||
| \item{code_inline_color}{Inline Code Color. Defaults to #000. Modifies the \code{.remark-inline-code} class.} | |||
| \item{code_inline_background_color}{Inline Code Background Color, defaults to NA} | |||
| \item{code_inline_background_color}{Inline Code Background Color. Defaults to NA. Modifies the \code{.remark-inline-code} class.} | |||
| \item{inverse_background_color}{Inverse Background Color, defaults to #272822} | |||
| \item{code_inline_font_size}{Inline Code Text Font Size. Defaults to 1em. Modifies the \code{.remark-inline-code} class.} | |||
| \item{inverse_text_color}{Inverse Text Color, defaults to #d6d6d6} | |||
| \item{inverse_background_color}{Inverse Background Color. Defaults to #272822. Modifies the \code{.inverse} class.} | |||
| \item{inverse_text_shadow}{Enables Shadow on text of inverse slides, defaults to \code{FALSE}} | |||
| \item{inverse_text_color}{Inverse Text Color. Defaults to #d6d6d6. Modifies the \code{.inverse} class.} | |||
| \item{inverse_header_color}{Inverse Header Color, defaults to #f3f3f3} | |||
| \item{inverse_text_shadow}{Enables Shadow on text of inverse slides. Defaults to \code{FALSE}. Modifies the \code{.inverse} class.} | |||
| \item{title_slide_text_color}{Title Slide Text Color, defaults to \code{inverse_text_color}} | |||
| \item{inverse_header_color}{Inverse Header Color. Defaults to #f3f3f3. Modifies the \code{.inverse h1, .inverse h2, .inverse h3} classes.} | |||
| \item{title_slide_background_color}{Title Slide Background Color, defaults to \code{inverse_background_color}} | |||
| \item{title_slide_text_color}{Title Slide Text Color. Defaults to \code{inverse_text_color}. Modifies the \code{.title-slide} class.} | |||
| \item{title_slide_background_image}{Title Slide Background Image URL, defaults to NA} | |||
| \item{title_slide_background_color}{Title Slide Background Color. Defaults to \code{inverse_background_color}. Modifies the \code{.title-slide} class.} | |||
| \item{title_slide_background_size}{Title Slide Background Image Size, defaults to "cover" if background image is set, defaults to NA} | |||
| \item{title_slide_background_image}{Title Slide Background Image URL. Defaults to NA. Modifies the \code{.title-slide} class.} | |||
| \item{title_slide_background_position}{Title Slide Background Image Position, defaults to NA} | |||
| \item{title_slide_background_size}{Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to NA. Modifies the \code{.title-slide} class.} | |||
| \item{left_column_subtle_color}{Left Column Text (not last), defaults to #777} | |||
| \item{title_slide_background_position}{Title Slide Background Image Position. Defaults to NA. Modifies the \code{.title-slide} class.} | |||
| \item{left_column_selected_color}{Left Column Current Selection, defaults to #000} | |||
| \item{footnote_color}{Footnote text color (if \code{NA}, then it will be the same color as \code{text_color}\code{). Defaults to NA. Modifies the}.footnote` class.} | |||
| \item{blockquote_left_color}{Blockquote Left Border Color, defaults to lightgray} | |||
| \item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies the \code{.footnote} class.} | |||
| \item{table_border_color}{Table top/bottom border, defaults to #666} | |||
| \item{footnote_position_bottom}{Footnote location from bottom of screen. Defaults to 3em. Modifies the \code{.footnote} class.} | |||
| \item{table_row_border_color}{Table row inner bottom border, defaults to #ddd} | |||
| \item{left_column_subtle_color}{Left Column Text (not last). Defaults to #777. Modifies the \code{.left-column h2, .left-column h3} classes.} | |||
| \item{table_row_even_background_color}{Table Even Row Background Color, defaults to #eee} | |||
| \item{left_column_selected_color}{Left Column Current Selection. Defaults to #000. Modifies the \code{.left-column h2:last-of-type, .left-column h3:last-child} classes.} | |||
| \item{text_font_size}{Slide Body Text Font Size, defaults to 20px} | |||
| \item{blockquote_left_color}{Blockquote Left Border Color. Defaults to lightgray. Modifies the \code{blockquote} element.} | |||
| \item{header_h1_font_size}{h1 Header Text Font Size, defaults to 55px} | |||
| \item{table_border_color}{Table top/bottom border. Defaults to #666. Modifies the \code{table: border-top, border-bottom} elements.} | |||
| \item{header_h2_font_size}{h2 Header Text Font Size, defaults to 45px} | |||
| \item{table_row_border_color}{Table row inner bottom border. Defaults to #ddd. Modifies the \code{table thead th: border-bottom} elements.} | |||
| \item{header_h3_font_size}{h3 Header Text Font Size, defaults to 35px} | |||
| \item{table_row_even_background_color}{Table Even Row Background Color. Defaults to #eee. Modifies the \code{thead, tfoot, tr:nth-child(even)} elements.} | |||
| \item{text_slide_number_font_size}{Slide Number Text Font Size, defaults to 0.9em} | |||
| \item{text_font_size}{Slide Body Text Font Size. Defaults to 20px. Modifies the \code{.remark-slide-content} class.} | |||
| \item{code_inline_font_size}{Inline Code Text Font Size, defaults to 1em} | |||
| \item{header_h1_font_size}{h1 Header Text Font Size. Defaults to 55px. Modifies the \code{.remark-slide-content h1} class.} | |||
| \item{code_font_size}{Code Text Font Size, defaults to 0.9em} | |||
| \item{header_h2_font_size}{h2 Header Text Font Size. Defaults to 45px. Modifies the \code{.remark-slide-content h2} class.} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font, defaults to \code{NULL}} | |||
| \item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 35px. Modifies the \code{.remark-slide-content h3} class.} | |||
| \item{text_font_family}{Body Text Font Family, defaults to 'Droid Serif'} | |||
| \item{text_slide_number_font_size}{Slide Number Text Font Size. Defaults to 0.9em. Modifies the \code{.remark-slide-number} class.} | |||
| \item{text_font_weight}{Body Text Font Weight, defaults to normal} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font. Defaults to \code{NULL}. Modifies the \code{body} element.} | |||
| \item{text_font_url}{Body Text Font URL(s), defaults to https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic} | |||
| \item{text_font_family}{Body Text Font Family. Defaults to 'Droid Serif'. Modifies the \code{body} element.} | |||
| \item{text_font_family_fallback}{Body Text Font Fallbacks, defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'} | |||
| \item{text_font_weight}{Body Text Font Weight. Defaults to normal. Modifies the \code{body} element.} | |||
| \item{text_font_base}{Body Text Base Font (Total Failure Fallback), defaults to serif} | |||
| \item{text_font_url}{Body Text Font URL(s). Defaults to https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic. Modifies the \code{@import url()} elements.} | |||
| \item{header_font_google}{Use \code{google_font()} to specify header font, defaults to \code{NULL}} | |||
| \item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'. Modifies the \code{body} element.} | |||
| \item{header_font_family}{Header Font Family, defaults to 'Yanone Kaffeesatz'} | |||
| \item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults to serif. Modifies the \code{body} element.} | |||
| \item{header_font_weight}{Header Font Weight, defaults to normal} | |||
| \item{header_font_google}{Use \code{google_font()} to specify header font. Defaults to \code{NULL}. Modifies the \code{body} element.} | |||
| \item{header_font_url}{Header Font URL, defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz} | |||
| \item{header_font_family}{Header Font Family. Defaults to 'Yanone Kaffeesatz'. Modifies the \code{h1, h2, h3} elements.} | |||
| \item{code_font_google}{Use \code{google_font()} to specify code font, defaults to \code{NULL}} | |||
| \item{header_font_weight}{Header Font Weight. Defaults to normal. Modifies the \code{h1, h2, h3} elements.} | |||
| \item{code_font_family}{Code Font Family, defaults to 'Source Code Pro'} | |||
| \item{header_font_url}{Header Font URL. Defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz. Modifies the \code{@import url} elements.} | |||
| \item{code_font_url}{Code Font URL, defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700} | |||
| \item{code_font_google}{Use \code{google_font()} to specify code font. Defaults to \code{NULL}. Modifies the \code{body} element.} | |||
| \item{code_font_family_fallback}{Code Font Fallback, defaults to 'Lucida Console', Monaco} | |||
| \item{code_font_family}{Code Font Family. Defaults to 'Source Code Pro'. Modifies the \code{.remark-code, .remark-inline-code} classes.} | |||
| \item{code_font_size}{Code Text Font Size. Defaults to 0.9em. Modifies the \code{.remark-inline} class.} | |||
| \item{code_font_url}{Code Font URL. Defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700. Modifies the \code{@import url} elements.} | |||
| \item{code_font_family_fallback}{Code Font Fallback. Defaults to 'Lucida Console', Monaco. Modifies the \code{.remark-code, .remark-inline-code} classes.} | |||
| \item{extra_css}{A named list of CSS definitions each containing a named list | |||
| of CSS property-value pairs, i.e. | |||