Просмотр исходного кода

Add footnote theme parameters

- Also reorder code params
tags/v0.1.1
Garrick Aden-Buie 8 лет назад
Родитель
Сommit
3bef06b3be
12 измененных файлов: 108 добавлений и 44 удалений
  1. +10
    -4
      R/duo.R
  2. +10
    -4
      R/duo_accent.R
  3. +10
    -4
      R/duo_accent_inverse.R
  4. +10
    -4
      R/mono_accent.R
  5. +10
    -4
      R/mono_accent_inverse.R
  6. +10
    -4
      R/mono_dark.R
  7. +10
    -4
      R/mono_light.R
  8. +10
    -4
      R/solarized_dark.R
  9. +10
    -4
      R/solarized_light.R
  10. +5
    -2
      R/theme_settings.R
  11. +10
    -4
      R/write_theme.R
  12. +3
    -2
      inst/resources/template.css

+ 10
- 4
R/duo.R Просмотреть файл

#' @param code_highlight_color Code Line Highlight, defaults to rgba(255,255,0,0.5) #' @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_color Inline Code Color, defaults to `secondary_color`
#' @param code_inline_background_color Inline Code Background Color, defaults to NA #' @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_background_color Inverse Background Color, defaults to `secondary_color`
#' @param inverse_text_color Inverse Text Color, defaults to `primary_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_text_shadow Enables Shadow on text of inverse slides, defaults to `FALSE`
#' @param title_slide_background_image Title Slide Background Image URL, defaults to NA #' @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_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 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_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 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 blockquote_left_color Blockquote Left Border Color, defaults to `apply_alpha(secondary_color, 0.5)`
#' @param header_h2_font_size h2 Header Text Font Size, defaults to 45px #' @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 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_slide_number_font_size Slide Number Text Font Size, defaults to 0.9em
#' @param code_inline_font_size Inline Code Text Font Size, defaults to 1em
#' @param code_font_size Code Text Font Size, defaults to 0.9em
#' @param text_font_google Use `google_font()` to specify body font, defaults to `NULL` #' @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_family Body Text Font Family, defaults to 'Droid Serif'
#' @param text_font_weight Body Text Font Weight, defaults to normal #' @param text_font_weight Body Text Font Weight, defaults to normal
#' @param header_font_url Header Font URL, defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz #' @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_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_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_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 code_font_family_fallback Code Font Fallback, defaults to 'Lucida Console', Monaco
#' @template extra_css #' @template extra_css
code_highlight_color = "rgba(255,255,0,0.5)", code_highlight_color = "rgba(255,255,0,0.5)",
code_inline_color = secondary_color, code_inline_color = secondary_color,
code_inline_background_color = NA, code_inline_background_color = NA,
code_inline_font_size = "1em",
inverse_background_color = secondary_color, inverse_background_color = secondary_color,
inverse_text_color = primary_color, inverse_text_color = primary_color,
inverse_text_shadow = FALSE, inverse_text_shadow = FALSE,
title_slide_background_image = NA, title_slide_background_image = NA,
title_slide_background_size = NA, title_slide_background_size = NA,
title_slide_background_position = NA, title_slide_background_position = NA,
footnote_color = NA,
footnote_font_size = "90%",
footnote_position_bottom = "3em",
left_column_subtle_color = apply_alpha(secondary_color, 0.6), left_column_subtle_color = apply_alpha(secondary_color, 0.6),
left_column_selected_color = secondary_color, left_column_selected_color = secondary_color,
blockquote_left_color = apply_alpha(secondary_color, 0.5), blockquote_left_color = apply_alpha(secondary_color, 0.5),
header_h2_font_size = "45px", header_h2_font_size = "45px",
header_h3_font_size = "35px", header_h3_font_size = "35px",
text_slide_number_font_size = "0.9em", text_slide_number_font_size = "0.9em",
code_inline_font_size = "1em",
code_font_size = "0.9em",
text_font_google = NULL, text_font_google = NULL,
text_font_family = "'Droid Serif'", text_font_family = "'Droid Serif'",
text_font_weight = "normal", text_font_weight = "normal",
header_font_url = "https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz", header_font_url = "https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz",
code_font_google = NULL, code_font_google = NULL,
code_font_family = "'Source Code Pro'", 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_url = "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700",
code_font_family_fallback = "'Lucida Console', Monaco", code_font_family_fallback = "'Lucida Console', Monaco",
extra_css = NULL, extra_css = NULL,

+ 10
- 4
R/duo_accent.R Просмотреть файл

#' @param code_highlight_color Code Line Highlight, defaults to rgba(255,255,0,0.5) #' @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_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_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_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_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_text_shadow Enables Shadow on text of inverse slides, defaults to `FALSE`
#' @param title_slide_background_image Title Slide Background Image URL, defaults to NA #' @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_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 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_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 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 blockquote_left_color Blockquote Left Border Color, defaults to `apply_alpha(secondary_color, 0.5)`
#' @param header_h2_font_size h2 Header Text Font Size, defaults to 45px #' @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 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_slide_number_font_size Slide Number Text Font Size, defaults to 0.9em
#' @param code_inline_font_size Inline Code Text Font Size, defaults to 1em
#' @param code_font_size Code Text Font Size, defaults to 0.9em
#' @param text_font_google Use `google_font()` to specify body font, defaults to `NULL` #' @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_family Body Text Font Family, defaults to 'Droid Serif'
#' @param text_font_weight Body Text Font Weight, defaults to normal #' @param text_font_weight Body Text Font Weight, defaults to normal
#' @param header_font_url Header Font URL, defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz #' @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_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_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_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 code_font_family_fallback Code Font Fallback, defaults to 'Lucida Console', Monaco
#' @template extra_css #' @template extra_css
code_highlight_color = "rgba(255,255,0,0.5)", code_highlight_color = "rgba(255,255,0,0.5)",
code_inline_color = choose_dark_or_light(secondary_color, primary_color, secondary_color), code_inline_color = choose_dark_or_light(secondary_color, primary_color, secondary_color),
code_inline_background_color = NA, code_inline_background_color = NA,
code_inline_font_size = "1em",
inverse_background_color = secondary_color, inverse_background_color = secondary_color,
inverse_text_color = choose_dark_or_light(secondary_color, black_color, white_color), inverse_text_color = choose_dark_or_light(secondary_color, black_color, white_color),
inverse_text_shadow = FALSE, inverse_text_shadow = FALSE,
title_slide_background_image = NA, title_slide_background_image = NA,
title_slide_background_size = NA, title_slide_background_size = NA,
title_slide_background_position = NA, title_slide_background_position = NA,
footnote_color = NA,
footnote_font_size = "90%",
footnote_position_bottom = "3em",
left_column_subtle_color = apply_alpha(primary_color, 0.6), left_column_subtle_color = apply_alpha(primary_color, 0.6),
left_column_selected_color = primary_color, left_column_selected_color = primary_color,
blockquote_left_color = apply_alpha(secondary_color, 0.5), blockquote_left_color = apply_alpha(secondary_color, 0.5),
header_h2_font_size = "45px", header_h2_font_size = "45px",
header_h3_font_size = "35px", header_h3_font_size = "35px",
text_slide_number_font_size = "0.9em", text_slide_number_font_size = "0.9em",
code_inline_font_size = "1em",
code_font_size = "0.9em",
text_font_google = NULL, text_font_google = NULL,
text_font_family = "'Droid Serif'", text_font_family = "'Droid Serif'",
text_font_weight = "normal", text_font_weight = "normal",
header_font_url = "https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz", header_font_url = "https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz",
code_font_google = NULL, code_font_google = NULL,
code_font_family = "'Source Code Pro'", 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_url = "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700",
code_font_family_fallback = "'Lucida Console', Monaco", code_font_family_fallback = "'Lucida Console', Monaco",
extra_css = NULL, extra_css = NULL,

+ 10
- 4
R/duo_accent_inverse.R Просмотреть файл

#' @param code_highlight_color Code Line Highlight, defaults to rgba(255,255,0,0.5) #' @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_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_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_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_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_text_shadow Enables Shadow on text of inverse slides, defaults to `FALSE`
#' @param title_slide_background_image Title Slide Background Image URL, defaults to NA #' @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_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 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_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 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 blockquote_left_color Blockquote Left Border Color, defaults to `apply_alpha(secondary_color, 0.5)`
#' @param header_h2_font_size h2 Header Text Font Size, defaults to 45px #' @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 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_slide_number_font_size Slide Number Text Font Size, defaults to 0.9em
#' @param code_inline_font_size Inline Code Text Font Size, defaults to 1em
#' @param code_font_size Code Text Font Size, defaults to 0.9em
#' @param text_font_google Use `google_font()` to specify body font, defaults to `NULL` #' @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_family Body Text Font Family, defaults to 'Droid Serif'
#' @param text_font_weight Body Text Font Weight, defaults to normal #' @param text_font_weight Body Text Font Weight, defaults to normal
#' @param header_font_url Header Font URL, defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz #' @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_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_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_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 code_font_family_fallback Code Font Fallback, defaults to 'Lucida Console', Monaco
#' @template extra_css #' @template extra_css
code_highlight_color = "rgba(255,255,0,0.5)", code_highlight_color = "rgba(255,255,0,0.5)",
code_inline_color = choose_dark_or_light(secondary_color, secondary_color, primary_color), code_inline_color = choose_dark_or_light(secondary_color, secondary_color, primary_color),
code_inline_background_color = NA, code_inline_background_color = NA,
code_inline_font_size = "1em",
inverse_background_color = secondary_color, inverse_background_color = secondary_color,
inverse_text_color = choose_dark_or_light(secondary_color, black_color, white_color), inverse_text_color = choose_dark_or_light(secondary_color, black_color, white_color),
inverse_text_shadow = FALSE, inverse_text_shadow = FALSE,
title_slide_background_image = NA, title_slide_background_image = NA,
title_slide_background_size = NA, title_slide_background_size = NA,
title_slide_background_position = NA, title_slide_background_position = NA,
footnote_color = NA,
footnote_font_size = "90%",
footnote_position_bottom = "3em",
left_column_subtle_color = apply_alpha(primary_color, 0.6), left_column_subtle_color = apply_alpha(primary_color, 0.6),
left_column_selected_color = primary_color, left_column_selected_color = primary_color,
blockquote_left_color = apply_alpha(secondary_color, 0.5), blockquote_left_color = apply_alpha(secondary_color, 0.5),
header_h2_font_size = "45px", header_h2_font_size = "45px",
header_h3_font_size = "35px", header_h3_font_size = "35px",
text_slide_number_font_size = "0.9em", text_slide_number_font_size = "0.9em",
code_inline_font_size = "1em",
code_font_size = "0.9em",
text_font_google = NULL, text_font_google = NULL,
text_font_family = "'Droid Serif'", text_font_family = "'Droid Serif'",
text_font_weight = "normal", text_font_weight = "normal",
header_font_url = "https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz", header_font_url = "https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz",
code_font_google = NULL, code_font_google = NULL,
code_font_family = "'Source Code Pro'", 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_url = "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700",
code_font_family_fallback = "'Lucida Console', Monaco", code_font_family_fallback = "'Lucida Console', Monaco",
extra_css = NULL, extra_css = NULL,

+ 10
- 4
R/mono_accent.R Просмотреть файл

#' @param code_highlight_color Code Line Highlight, defaults to rgba(255,255,0,0.5) #' @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_color Inline Code Color, defaults to `base_color`
#' @param code_inline_background_color Inline Code Background Color, defaults to NA #' @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_background_color Inverse Background Color, defaults to `base_color`
#' @param inverse_text_color Inverse Text Color, defaults to `white_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_text_shadow Enables Shadow on text of inverse slides, defaults to `FALSE`
#' @param title_slide_background_image Title Slide Background Image URL, defaults to NA #' @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_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 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_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 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 blockquote_left_color Blockquote Left Border Color, defaults to `apply_alpha(base_color, 0.5)`
#' @param header_h2_font_size h2 Header Text Font Size, defaults to 45px #' @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 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_slide_number_font_size Slide Number Text Font Size, defaults to 0.9em
#' @param code_inline_font_size Inline Code Text Font Size, defaults to 1em
#' @param code_font_size Code Text Font Size, defaults to 0.9em
#' @param text_font_google Use `google_font()` to specify body font, defaults to `NULL` #' @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_family Body Text Font Family, defaults to 'Droid Serif'
#' @param text_font_weight Body Text Font Weight, defaults to normal #' @param text_font_weight Body Text Font Weight, defaults to normal
#' @param header_font_url Header Font URL, defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz #' @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_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_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_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 code_font_family_fallback Code Font Fallback, defaults to 'Lucida Console', Monaco
#' @template extra_css #' @template extra_css
code_highlight_color = "rgba(255,255,0,0.5)", code_highlight_color = "rgba(255,255,0,0.5)",
code_inline_color = base_color, code_inline_color = base_color,
code_inline_background_color = NA, code_inline_background_color = NA,
code_inline_font_size = "1em",
inverse_background_color = base_color, inverse_background_color = base_color,
inverse_text_color = white_color, inverse_text_color = white_color,
inverse_text_shadow = FALSE, inverse_text_shadow = FALSE,
title_slide_background_image = NA, title_slide_background_image = NA,
title_slide_background_size = NA, title_slide_background_size = NA,
title_slide_background_position = NA, title_slide_background_position = NA,
footnote_color = NA,
footnote_font_size = "90%",
footnote_position_bottom = "3em",
left_column_subtle_color = apply_alpha(base_color, 0.6), left_column_subtle_color = apply_alpha(base_color, 0.6),
left_column_selected_color = base_color, left_column_selected_color = base_color,
blockquote_left_color = apply_alpha(base_color, 0.5), blockquote_left_color = apply_alpha(base_color, 0.5),
header_h2_font_size = "45px", header_h2_font_size = "45px",
header_h3_font_size = "35px", header_h3_font_size = "35px",
text_slide_number_font_size = "0.9em", text_slide_number_font_size = "0.9em",
code_inline_font_size = "1em",
code_font_size = "0.9em",
text_font_google = NULL, text_font_google = NULL,
text_font_family = "'Droid Serif'", text_font_family = "'Droid Serif'",
text_font_weight = "normal", text_font_weight = "normal",
header_font_url = "https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz", header_font_url = "https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz",
code_font_google = NULL, code_font_google = NULL,
code_font_family = "'Source Code Pro'", 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_url = "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700",
code_font_family_fallback = "'Lucida Console', Monaco", code_font_family_fallback = "'Lucida Console', Monaco",
extra_css = NULL, extra_css = NULL,

+ 10
- 4
R/mono_accent_inverse.R Просмотреть файл

#' @param code_highlight_color Code Line Highlight, defaults to rgba(255,255,0,0.5) #' @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_color Inline Code Color, defaults to `base_color`
#' @param code_inline_background_color Inline Code Background Color, defaults to NA #' @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_background_color Inverse Background Color, defaults to `base_color`
#' @param inverse_text_color Inverse Text Color, defaults to `black_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_text_shadow Enables Shadow on text of inverse slides, defaults to `FALSE`
#' @param title_slide_background_image Title Slide Background Image URL, defaults to NA #' @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_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 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_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 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 blockquote_left_color Blockquote Left Border Color, defaults to `apply_alpha(base_color, 0.5)`
#' @param header_h2_font_size h2 Header Text Font Size, defaults to 45px #' @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 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_slide_number_font_size Slide Number Text Font Size, defaults to 0.9em
#' @param code_inline_font_size Inline Code Text Font Size, defaults to 1em
#' @param code_font_size Code Text Font Size, defaults to 0.9em
#' @param text_font_google Use `google_font()` to specify body font, defaults to `NULL` #' @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_family Body Text Font Family, defaults to 'Droid Serif'
#' @param text_font_weight Body Text Font Weight, defaults to normal #' @param text_font_weight Body Text Font Weight, defaults to normal
#' @param header_font_url Header Font URL, defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz #' @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_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_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_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 code_font_family_fallback Code Font Fallback, defaults to 'Lucida Console', Monaco
#' @template extra_css #' @template extra_css
code_highlight_color = "rgba(255,255,0,0.5)", code_highlight_color = "rgba(255,255,0,0.5)",
code_inline_color = base_color, code_inline_color = base_color,
code_inline_background_color = NA, code_inline_background_color = NA,
code_inline_font_size = "1em",
inverse_background_color = base_color, inverse_background_color = base_color,
inverse_text_color = black_color, inverse_text_color = black_color,
inverse_text_shadow = FALSE, inverse_text_shadow = FALSE,
title_slide_background_image = NA, title_slide_background_image = NA,
title_slide_background_size = NA, title_slide_background_size = NA,
title_slide_background_position = NA, title_slide_background_position = NA,
footnote_color = NA,
footnote_font_size = "90%",
footnote_position_bottom = "3em",
left_column_subtle_color = apply_alpha(base_color, 0.6), left_column_subtle_color = apply_alpha(base_color, 0.6),
left_column_selected_color = base_color, left_column_selected_color = base_color,
blockquote_left_color = apply_alpha(base_color, 0.5), blockquote_left_color = apply_alpha(base_color, 0.5),
header_h2_font_size = "45px", header_h2_font_size = "45px",
header_h3_font_size = "35px", header_h3_font_size = "35px",
text_slide_number_font_size = "0.9em", text_slide_number_font_size = "0.9em",
code_inline_font_size = "1em",
code_font_size = "0.9em",
text_font_google = NULL, text_font_google = NULL,
text_font_family = "'Droid Serif'", text_font_family = "'Droid Serif'",
text_font_weight = "normal", text_font_weight = "normal",
header_font_url = "https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz", header_font_url = "https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz",
code_font_google = NULL, code_font_google = NULL,
code_font_family = "'Source Code Pro'", 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_url = "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700",
code_font_family_fallback = "'Lucida Console', Monaco", code_font_family_fallback = "'Lucida Console', Monaco",
extra_css = NULL, extra_css = NULL,

+ 10
- 4
R/mono_dark.R Просмотреть файл

#' @param code_highlight_color Code Line Highlight, defaults to rgba(255,255,0,0.5) #' @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_color Inline Code Color, defaults to `base_color`
#' @param code_inline_background_color Inline Code Background Color, defaults to NA #' @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_background_color Inverse Background Color, defaults to `base_color`
#' @param inverse_text_color Inverse Text Color, defaults to `black_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_text_shadow Enables Shadow on text of inverse slides, defaults to `FALSE`
#' @param title_slide_background_image Title Slide Background Image URL, defaults to NA #' @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_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 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_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 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 blockquote_left_color Blockquote Left Border Color, defaults to `apply_alpha(base_color, 0.5)`
#' @param header_h2_font_size h2 Header Text Font Size, defaults to 45px #' @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 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_slide_number_font_size Slide Number Text Font Size, defaults to 0.9em
#' @param code_inline_font_size Inline Code Text Font Size, defaults to 1em
#' @param code_font_size Code Text Font Size, defaults to 0.9em
#' @param text_font_google Use `google_font()` to specify body font, defaults to `NULL` #' @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_family Body Text Font Family, defaults to 'Droid Serif'
#' @param text_font_weight Body Text Font Weight, defaults to normal #' @param text_font_weight Body Text Font Weight, defaults to normal
#' @param header_font_url Header Font URL, defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz #' @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_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_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_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 code_font_family_fallback Code Font Fallback, defaults to 'Lucida Console', Monaco
#' @template extra_css #' @template extra_css
code_highlight_color = "rgba(255,255,0,0.5)", code_highlight_color = "rgba(255,255,0,0.5)",
code_inline_color = base_color, code_inline_color = base_color,
code_inline_background_color = NA, code_inline_background_color = NA,
code_inline_font_size = "1em",
inverse_background_color = base_color, inverse_background_color = base_color,
inverse_text_color = black_color, inverse_text_color = black_color,
inverse_text_shadow = FALSE, inverse_text_shadow = FALSE,
title_slide_background_image = NA, title_slide_background_image = NA,
title_slide_background_size = NA, title_slide_background_size = NA,
title_slide_background_position = NA, title_slide_background_position = NA,
footnote_color = NA,
footnote_font_size = "90%",
footnote_position_bottom = "3em",
left_column_subtle_color = apply_alpha(base_color, 0.6), left_column_subtle_color = apply_alpha(base_color, 0.6),
left_column_selected_color = base_color, left_column_selected_color = base_color,
blockquote_left_color = apply_alpha(base_color, 0.5), blockquote_left_color = apply_alpha(base_color, 0.5),
header_h2_font_size = "45px", header_h2_font_size = "45px",
header_h3_font_size = "35px", header_h3_font_size = "35px",
text_slide_number_font_size = "0.9em", text_slide_number_font_size = "0.9em",
code_inline_font_size = "1em",
code_font_size = "0.9em",
text_font_google = NULL, text_font_google = NULL,
text_font_family = "'Droid Serif'", text_font_family = "'Droid Serif'",
text_font_weight = "normal", text_font_weight = "normal",
header_font_url = "https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz", header_font_url = "https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz",
code_font_google = NULL, code_font_google = NULL,
code_font_family = "'Source Code Pro'", 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_url = "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700",
code_font_family_fallback = "'Lucida Console', Monaco", code_font_family_fallback = "'Lucida Console', Monaco",
extra_css = NULL, extra_css = NULL,

+ 10
- 4
R/mono_light.R Просмотреть файл

#' @param code_highlight_color Code Line Highlight, defaults to rgba(255,255,0,0.5) #' @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_color Inline Code Color, defaults to `base_color`
#' @param code_inline_background_color Inline Code Background Color, defaults to NA #' @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_background_color Inverse Background Color, defaults to `base_color`
#' @param inverse_text_color Inverse Text Color, defaults to `white_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_text_shadow Enables Shadow on text of inverse slides, defaults to `FALSE`
#' @param title_slide_background_image Title Slide Background Image URL, defaults to NA #' @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_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 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_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 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 blockquote_left_color Blockquote Left Border Color, defaults to `apply_alpha(base_color, 0.5)`
#' @param header_h2_font_size h2 Header Text Font Size, defaults to 45px #' @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 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_slide_number_font_size Slide Number Text Font Size, defaults to 0.9em
#' @param code_inline_font_size Inline Code Text Font Size, defaults to 1em
#' @param code_font_size Code Text Font Size, defaults to 0.9em
#' @param text_font_google Use `google_font()` to specify body font, defaults to `NULL` #' @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_family Body Text Font Family, defaults to 'Droid Serif'
#' @param text_font_weight Body Text Font Weight, defaults to normal #' @param text_font_weight Body Text Font Weight, defaults to normal
#' @param header_font_url Header Font URL, defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz #' @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_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_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_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 code_font_family_fallback Code Font Fallback, defaults to 'Lucida Console', Monaco
#' @template extra_css #' @template extra_css
code_highlight_color = "rgba(255,255,0,0.5)", code_highlight_color = "rgba(255,255,0,0.5)",
code_inline_color = base_color, code_inline_color = base_color,
code_inline_background_color = NA, code_inline_background_color = NA,
code_inline_font_size = "1em",
inverse_background_color = base_color, inverse_background_color = base_color,
inverse_text_color = white_color, inverse_text_color = white_color,
inverse_text_shadow = FALSE, inverse_text_shadow = FALSE,
title_slide_background_image = NA, title_slide_background_image = NA,
title_slide_background_size = NA, title_slide_background_size = NA,
title_slide_background_position = NA, title_slide_background_position = NA,
footnote_color = NA,
footnote_font_size = "90%",
footnote_position_bottom = "3em",
left_column_subtle_color = apply_alpha(base_color, 0.6), left_column_subtle_color = apply_alpha(base_color, 0.6),
left_column_selected_color = base_color, left_column_selected_color = base_color,
blockquote_left_color = apply_alpha(base_color, 0.5), blockquote_left_color = apply_alpha(base_color, 0.5),
header_h2_font_size = "45px", header_h2_font_size = "45px",
header_h3_font_size = "35px", header_h3_font_size = "35px",
text_slide_number_font_size = "0.9em", text_slide_number_font_size = "0.9em",
code_inline_font_size = "1em",
code_font_size = "0.9em",
text_font_google = NULL, text_font_google = NULL,
text_font_family = "'Droid Serif'", text_font_family = "'Droid Serif'",
text_font_weight = "normal", text_font_weight = "normal",
header_font_url = "https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz", header_font_url = "https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz",
code_font_google = NULL, code_font_google = NULL,
code_font_family = "'Source Code Pro'", 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_url = "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700",
code_font_family_fallback = "'Lucida Console', Monaco", code_font_family_fallback = "'Lucida Console', Monaco",
extra_css = NULL, extra_css = NULL,

+ 10
- 4
R/solarized_dark.R Просмотреть файл

#' @param code_highlight_color Code Line Highlight, defaults to #268bd240 #' @param code_highlight_color Code Line Highlight, defaults to #268bd240
#' @param code_inline_color Inline Code Color, defaults to #6c71c4 #' @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_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_background_color Inverse Background Color, defaults to #fdf6e3
#' @param inverse_text_color Inverse Text Color, defaults to #002b36 #' @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_text_shadow Enables Shadow on text of inverse slides, defaults to `FALSE`
#' @param title_slide_background_image Title Slide Background Image URL, defaults to NA #' @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_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 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_subtle_color Left Column Text (not last), defaults to #586e75
#' @param left_column_selected_color Left Column Current Selection, defaults to #93a1a1 #' @param left_column_selected_color Left Column Current Selection, defaults to #93a1a1
#' @param blockquote_left_color Blockquote Left Border Color, defaults to #cb4b16 #' @param blockquote_left_color Blockquote Left Border Color, defaults to #cb4b16
#' @param header_h2_font_size h2 Header Text Font Size, defaults to 45px #' @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 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_slide_number_font_size Slide Number Text Font Size, defaults to 0.9em
#' @param code_inline_font_size Inline Code Text Font Size, defaults to 1em
#' @param code_font_size Code Text Font Size, defaults to 0.9em
#' @param text_font_google Use `google_font()` to specify body font, defaults to `NULL` #' @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_family Body Text Font Family, defaults to 'Droid Serif'
#' @param text_font_weight Body Text Font Weight, defaults to normal #' @param text_font_weight Body Text Font Weight, defaults to normal
#' @param header_font_url Header Font URL, defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz #' @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_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_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_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 code_font_family_fallback Code Font Fallback, defaults to 'Lucida Console', Monaco
#' @template extra_css #' @template extra_css
code_highlight_color = "#268bd240", code_highlight_color = "#268bd240",
code_inline_color = "#6c71c4", code_inline_color = "#6c71c4",
code_inline_background_color = NA, code_inline_background_color = NA,
code_inline_font_size = "1em",
inverse_background_color = "#fdf6e3", inverse_background_color = "#fdf6e3",
inverse_text_color = "#002b36", inverse_text_color = "#002b36",
inverse_text_shadow = FALSE, inverse_text_shadow = FALSE,
title_slide_background_image = NA, title_slide_background_image = NA,
title_slide_background_size = NA, title_slide_background_size = NA,
title_slide_background_position = NA, title_slide_background_position = NA,
footnote_color = NA,
footnote_font_size = "90%",
footnote_position_bottom = "3em",
left_column_subtle_color = "#586e75", left_column_subtle_color = "#586e75",
left_column_selected_color = "#93a1a1", left_column_selected_color = "#93a1a1",
blockquote_left_color = "#cb4b16", blockquote_left_color = "#cb4b16",
header_h2_font_size = "45px", header_h2_font_size = "45px",
header_h3_font_size = "35px", header_h3_font_size = "35px",
text_slide_number_font_size = "0.9em", text_slide_number_font_size = "0.9em",
code_inline_font_size = "1em",
code_font_size = "0.9em",
text_font_google = NULL, text_font_google = NULL,
text_font_family = "'Droid Serif'", text_font_family = "'Droid Serif'",
text_font_weight = "normal", text_font_weight = "normal",
header_font_url = "https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz", header_font_url = "https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz",
code_font_google = NULL, code_font_google = NULL,
code_font_family = "'Source Code Pro'", 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_url = "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700",
code_font_family_fallback = "'Lucida Console', Monaco", code_font_family_fallback = "'Lucida Console', Monaco",
extra_css = NULL, extra_css = NULL,

+ 10
- 4
R/solarized_light.R Просмотреть файл

#' @param code_highlight_color Code Line Highlight, defaults to #268bd240 #' @param code_highlight_color Code Line Highlight, defaults to #268bd240
#' @param code_inline_color Inline Code Color, defaults to #6c71c4 #' @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_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_background_color Inverse Background Color, defaults to #002b36
#' @param inverse_text_color Inverse Text Color, defaults to #fdf6e3 #' @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_text_shadow Enables Shadow on text of inverse slides, defaults to `FALSE`
#' @param title_slide_background_image Title Slide Background Image URL, defaults to NA #' @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_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 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_subtle_color Left Column Text (not last), defaults to #93a1a1
#' @param left_column_selected_color Left Column Current Selection, defaults to #586e75 #' @param left_column_selected_color Left Column Current Selection, defaults to #586e75
#' @param blockquote_left_color Blockquote Left Border Color, defaults to #cb4b16 #' @param blockquote_left_color Blockquote Left Border Color, defaults to #cb4b16
#' @param header_h2_font_size h2 Header Text Font Size, defaults to 45px #' @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 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_slide_number_font_size Slide Number Text Font Size, defaults to 0.9em
#' @param code_inline_font_size Inline Code Text Font Size, defaults to 1em
#' @param code_font_size Code Text Font Size, defaults to 0.9em
#' @param text_font_google Use `google_font()` to specify body font, defaults to `NULL` #' @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_family Body Text Font Family, defaults to 'Droid Serif'
#' @param text_font_weight Body Text Font Weight, defaults to normal #' @param text_font_weight Body Text Font Weight, defaults to normal
#' @param header_font_url Header Font URL, defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz #' @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_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_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_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 code_font_family_fallback Code Font Fallback, defaults to 'Lucida Console', Monaco
#' @template extra_css #' @template extra_css
code_highlight_color = "#268bd240", code_highlight_color = "#268bd240",
code_inline_color = "#6c71c4", code_inline_color = "#6c71c4",
code_inline_background_color = NA, code_inline_background_color = NA,
code_inline_font_size = "1em",
inverse_background_color = "#002b36", inverse_background_color = "#002b36",
inverse_text_color = "#fdf6e3", inverse_text_color = "#fdf6e3",
inverse_text_shadow = FALSE, inverse_text_shadow = FALSE,
title_slide_background_image = NA, title_slide_background_image = NA,
title_slide_background_size = NA, title_slide_background_size = NA,
title_slide_background_position = NA, title_slide_background_position = NA,
footnote_color = NA,
footnote_font_size = "90%",
footnote_position_bottom = "3em",
left_column_subtle_color = "#93a1a1", left_column_subtle_color = "#93a1a1",
left_column_selected_color = "#586e75", left_column_selected_color = "#586e75",
blockquote_left_color = "#cb4b16", blockquote_left_color = "#cb4b16",
header_h2_font_size = "45px", header_h2_font_size = "45px",
header_h3_font_size = "35px", header_h3_font_size = "35px",
text_slide_number_font_size = "0.9em", text_slide_number_font_size = "0.9em",
code_inline_font_size = "1em",
code_font_size = "0.9em",
text_font_google = NULL, text_font_google = NULL,
text_font_family = "'Droid Serif'", text_font_family = "'Droid Serif'",
text_font_weight = "normal", text_font_weight = "normal",
header_font_url = "https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz", header_font_url = "https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz",
code_font_google = NULL, code_font_google = NULL,
code_font_family = "'Source Code Pro'", 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_url = "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700",
code_font_family_fallback = "'Lucida Console', Monaco", code_font_family_fallback = "'Lucida Console', Monaco",
extra_css = NULL, extra_css = NULL,

+ 5
- 2
R/theme_settings.R Просмотреть файл

, "code_highlight_color", "rgba(255,255,0,0.5)", ".remark-code-line-highlighted", "Code Line Highlight" , "code_highlight_color", "rgba(255,255,0,0.5)", ".remark-code-line-highlighted", "Code Line Highlight"
, "code_inline_color", "#000", ".remark-inline-code", "Inline Code Color" , "code_inline_color", "#000", ".remark-inline-code", "Inline Code Color"
, "code_inline_background_color", NA_character_, ".remark-inline-code", "Inline Code Background Color" , "code_inline_background_color", NA_character_, ".remark-inline-code", "Inline Code Background Color"
, "code_inline_font_size", "1em", ".remark-inline-code", "Inline Code Text Font Size"
, "inverse_background_color", "#272822", ".inverse", "Inverse Background Color" , "inverse_background_color", "#272822", ".inverse", "Inverse Background Color"
, "inverse_text_color", "#d6d6d6", ".inverse", "Inverse Text Color" , "inverse_text_color", "#d6d6d6", ".inverse", "Inverse Text Color"
, "inverse_text_shadow", "{FALSE}", ".inverse", "Enables Shadow on text of inverse slides" , "inverse_text_shadow", "{FALSE}", ".inverse", "Enables Shadow on text of inverse slides"
, "title_slide_background_image", NA_character_, ".title-slide", "Title Slide Background Image URL" , "title_slide_background_image", NA_character_, ".title-slide", "Title Slide Background Image URL"
, "title_slide_background_size", NA_character_, ".title-slide", "Title Slide Background Image Size, defaults to \"cover\" if background image is set" , "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" , "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_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", "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" , "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" , "blockquote_left_color", "lightgray", "blockquote", "Blockquote Left Border Color"
, "header_h2_font_size", "45px", ".remark-slide-content h2", "h2 Header Text Font Size" , "header_h2_font_size", "45px", ".remark-slide-content h2", "h2 Header Text Font Size"
, "header_h3_font_size", "35px", ".remark-slide-content h3", "h3 Header Text Font Size" , "header_h3_font_size", "35px", ".remark-slide-content h3", "h3 Header Text Font Size"
, "text_slide_number_font_size", "0.9em", ".remark-slide-number", "Slide Number Text Font Size" , "text_slide_number_font_size", "0.9em", ".remark-slide-number", "Slide Number Text Font Size"
, "code_inline_font_size", "1em", ".remark-inline-code", "Inline Code Text Font Size"
, "code_font_size", "0.9em", ".remark-inline", "Code Text Font Size"
, "text_font_google", NULL, "body", "Use `google_font()` to specify body font" , "text_font_google", NULL, "body", "Use `google_font()` to specify body font"
, "text_font_family", "'Droid Serif'", "body", "Body Text Font Family" , "text_font_family", "'Droid Serif'", "body", "Body Text Font Family"
, "text_font_weight", "normal", "body", "Body Text Font Weight" , "text_font_weight", "normal", "body", "Body Text Font Weight"
, "header_font_url", "https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz", "@import url", "Header Font URL" , "header_font_url", "https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz", "@import url", "Header Font URL"
, "code_font_google", NULL, "body", "Use `google_font()` to specify code font" , "code_font_google", NULL, "body", "Use `google_font()` to specify code font"
, "code_font_family", "'Source Code Pro'", ".remark-code, .remark-inline-code", "Code Font Family" , "code_font_family", "'Source Code Pro'", ".remark-code, .remark-inline-code", "Code Font Family"
, "code_font_size", "0.9em", ".remark-inline", "Code Text Font Size"
, "code_font_url", "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700", "@import url", "Code Font URL" , "code_font_url", "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700", "@import url", "Code Font URL"
, "code_font_family_fallback", "'Lucida Console', Monaco", ".remark-code, .remark-inline-code", "Code Font Fallback" , "code_font_family_fallback", "'Lucida Console', Monaco", ".remark-code, .remark-inline-code", "Code Font Fallback"
) )

+ 10
- 4
R/write_theme.R Просмотреть файл

#' @param code_highlight_color Code Line Highlight, defaults to rgba(255,255,0,0.5) #' @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_color Inline Code Color, defaults to #000
#' @param code_inline_background_color Inline Code Background Color, defaults to NA #' @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_background_color Inverse Background Color, defaults to #272822
#' @param inverse_text_color Inverse Text Color, defaults to #d6d6d6 #' @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_text_shadow Enables Shadow on text of inverse slides, defaults to `FALSE`
#' @param title_slide_background_image Title Slide Background Image URL, defaults to NA #' @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_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 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_subtle_color Left Column Text (not last), defaults to #777
#' @param left_column_selected_color Left Column Current Selection, defaults to #000 #' @param left_column_selected_color Left Column Current Selection, defaults to #000
#' @param blockquote_left_color Blockquote Left Border Color, defaults to lightgray #' @param blockquote_left_color Blockquote Left Border Color, defaults to lightgray
#' @param header_h2_font_size h2 Header Text Font Size, defaults to 45px #' @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 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_slide_number_font_size Slide Number Text Font Size, defaults to 0.9em
#' @param code_inline_font_size Inline Code Text Font Size, defaults to 1em
#' @param code_font_size Code Text Font Size, defaults to 0.9em
#' @param text_font_google Use `google_font()` to specify body font, defaults to `NULL` #' @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_family Body Text Font Family, defaults to 'Droid Serif'
#' @param text_font_weight Body Text Font Weight, defaults to normal #' @param text_font_weight Body Text Font Weight, defaults to normal
#' @param header_font_url Header Font URL, defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz #' @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_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_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_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 code_font_family_fallback Code Font Fallback, defaults to 'Lucida Console', Monaco
#' @template extra_css #' @template extra_css
code_highlight_color = "rgba(255,255,0,0.5)", code_highlight_color = "rgba(255,255,0,0.5)",
code_inline_color = "#000", code_inline_color = "#000",
code_inline_background_color = NA, code_inline_background_color = NA,
code_inline_font_size = "1em",
inverse_background_color = "#272822", inverse_background_color = "#272822",
inverse_text_color = "#d6d6d6", inverse_text_color = "#d6d6d6",
inverse_text_shadow = FALSE, inverse_text_shadow = FALSE,
title_slide_background_image = NA, title_slide_background_image = NA,
title_slide_background_size = NA, title_slide_background_size = NA,
title_slide_background_position = NA, title_slide_background_position = NA,
footnote_color = NA,
footnote_font_size = "90%",
footnote_position_bottom = "3em",
left_column_subtle_color = "#777", left_column_subtle_color = "#777",
left_column_selected_color = "#000", left_column_selected_color = "#000",
blockquote_left_color = "lightgray", blockquote_left_color = "lightgray",
header_h2_font_size = "45px", header_h2_font_size = "45px",
header_h3_font_size = "35px", header_h3_font_size = "35px",
text_slide_number_font_size = "0.9em", text_slide_number_font_size = "0.9em",
code_inline_font_size = "1em",
code_font_size = "0.9em",
text_font_google = NULL, text_font_google = NULL,
text_font_family = "'Droid Serif'", text_font_family = "'Droid Serif'",
text_font_weight = "normal", text_font_weight = "normal",
header_font_url = "https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz", header_font_url = "https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz",
code_font_google = NULL, code_font_google = NULL,
code_font_family = "'Source Code Pro'", 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_url = "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700",
code_font_family_fallback = "'Lucida Console', Monaco", code_font_family_fallback = "'Lucida Console', Monaco",
extra_css = NULL, extra_css = NULL,

+ 3
- 2
inst/resources/template.css Просмотреть файл

text-decoration: none; text-decoration: none;
} }
.footnote { .footnote {
{{ifelse(!is.na(footnote_color), paste0("color: ", footnote_color, ";"), ""}}
position: absolute; position: absolute;
bottom: 3em;
bottom: {{footnote_position_bottom}};
padding-right: 4em; padding-right: 4em;
font-size: 90%;
font-size: {{footnote_font_size}};
} }
.remark-code-line-highlighted { .remark-code-line-highlighted {
background-color: {{code_highlight_color}}; background-color: {{code_highlight_color}};

Загрузка…
Отмена
Сохранить