| @@ -13,4 +13,6 @@ export(mono_accent) | |||
| export(mono_accent_inverse) | |||
| export(mono_dark) | |||
| export(mono_light) | |||
| export(solarized_dark) | |||
| export(solarized_light) | |||
| export(write_xaringan_theme) | |||
| @@ -0,0 +1,82 @@ | |||
| #' @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 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 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_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_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 outfile Customized xaringan CSS output file name | |||
| #' @template solarized_dark | |||
| #' @family Solarized themes | |||
| #' @export | |||
| solarized_dark <- function( | |||
| 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, | |||
| title_slide_text_color = inverse_text_color, | |||
| title_slide_background_color = inverse_background_color, | |||
| title_slide_background_image = "NA", | |||
| 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_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_url = "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700", | |||
| code_font_family_fallback = "'Lucida Console', Monaco", | |||
| outfile = "xaringan-themed.css" | |||
| ) { | |||
| # DO NOT EDIT - Generated from inst/scripts/generate_theme_functions.R | |||
| eval(parse(text = call_write_xaringan_theme())) | |||
| } | |||
| @@ -0,0 +1,82 @@ | |||
| #' @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 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 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_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_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 outfile Customized xaringan CSS output file name | |||
| #' @template solarized_light | |||
| #' @family Solarized themes | |||
| #' @export | |||
| solarized_light <- function( | |||
| 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, | |||
| title_slide_text_color = inverse_text_color, | |||
| title_slide_background_color = inverse_background_color, | |||
| title_slide_background_image = "NA", | |||
| 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_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_url = "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700", | |||
| code_font_family_fallback = "'Lucida Console', Monaco", | |||
| outfile = "xaringan-themed.css" | |||
| ) { | |||
| # DO NOT EDIT - Generated from inst/scripts/generate_theme_functions.R | |||
| eval(parse(text = call_write_xaringan_theme())) | |||
| } | |||
| @@ -237,3 +237,74 @@ template_duo_accent_inverse <- set_default( | |||
| left_column_selected_color = "{primary_color}", | |||
| blockquote_left_color = "{apply_alpha(secondary_color, 0.5)}", | |||
| table_row_even_background_color = "{darken_color(choose_dark_or_light(primary_color, secondary_color, primary_color), 0.3)}") | |||
| solarized <- list( | |||
| "base03" = "#002b36", | |||
| "base02" = "#073642", | |||
| "base01" = "#586e75", | |||
| "base00" = "#657b83", | |||
| "base0" = "#839496", | |||
| "base1" = "#93a1a1", | |||
| "base2" = "#eee8d5", | |||
| "base3" = "#fdf6e3", | |||
| "yellow" = "#b58900", | |||
| "orange" = "#cb4b16", | |||
| "red" = "#dc322f", | |||
| "magenta" = "#d33682", | |||
| "violet" = "#6c71c4", | |||
| "blue" = "#268bd2", | |||
| "cyan" = "#2aa198", | |||
| "green" = "#859900") | |||
| template_solarized_light <- set_default( | |||
| template_variables, | |||
| text_color = solarized$base00, | |||
| header_color = solarized$red, | |||
| background_color = solarized$base3, | |||
| link_color = solarized$yellow, | |||
| text_bold_color = solarized$magenta, | |||
| text_slide_number_color = solarized$base1, | |||
| code_highlight_color = "#268bd240", #xaringanthemer:::apply_alpha(solarized$blue, 0.25) | |||
| code_inline_color = solarized$violet, | |||
| code_inline_background_color = "NA", | |||
| inverse_background_color = solarized$base03, | |||
| inverse_text_color = solarized$base3, | |||
| 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", | |||
| left_column_subtle_color = solarized$base1, | |||
| left_column_selected_color = solarized$base01, | |||
| blockquote_left_color = solarized$orange, | |||
| table_border_color = solarized$base0, | |||
| table_row_border_color = solarized$base0, | |||
| table_row_even_background_color = solarized$base2 | |||
| ) | |||
| template_solarized_dark <- set_default( | |||
| template_variables, | |||
| text_color = solarized$base0, | |||
| header_color = solarized$red, | |||
| background_color = solarized$base03, | |||
| link_color = solarized$yellow, | |||
| text_bold_color = solarized$magenta, | |||
| text_slide_number_color = solarized$base01, | |||
| code_highlight_color = "#268bd240", #xaringanthemer:::apply_alpha(solarized$blue, 0.25) | |||
| code_inline_color = solarized$violet, | |||
| code_inline_background_color = "NA", | |||
| inverse_background_color = solarized$base3, | |||
| inverse_text_color = solarized$base03, | |||
| 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", | |||
| left_column_subtle_color = solarized$base01, | |||
| left_column_selected_color = solarized$base1, | |||
| blockquote_left_color = solarized$orange, | |||
| table_border_color = solarized$base00, | |||
| table_row_border_color = solarized$base00, | |||
| table_row_even_background_color = solarized$base02 | |||
| ) | |||
| @@ -141,3 +141,31 @@ setup_theme_function( | |||
| ), | |||
| file = here::here("R/duo_accent_inverse.R") | |||
| ) | |||
| # ---- Solarized Light ---- | |||
| setup_theme_function( | |||
| "solarized_light", | |||
| template_solarized_light, | |||
| "#' @template solarized_light", | |||
| "#' @family Solarized themes", | |||
| "#' @export", | |||
| body = c( | |||
| " # DO NOT EDIT - Generated from inst/scripts/generate_theme_functions.R", | |||
| " eval(parse(text = call_write_xaringan_theme()))" | |||
| ), | |||
| file = here::here("R/solarized_light.R") | |||
| ) | |||
| # ---- Solarized Dark ---- | |||
| setup_theme_function( | |||
| "solarized_dark", | |||
| template_solarized_dark, | |||
| "#' @template solarized_dark", | |||
| "#' @family Solarized themes", | |||
| "#' @export", | |||
| body = c( | |||
| " # DO NOT EDIT - Generated from inst/scripts/generate_theme_functions.R", | |||
| " eval(parse(text = call_write_xaringan_theme()))" | |||
| ), | |||
| file = here::here("R/solarized_dark.R") | |||
| ) | |||
| @@ -0,0 +1,5 @@ | |||
| #' @title Solarized Dark Theme | |||
| #' @description A dark theme based around on the solarized color scheme. | |||
| #' Works well with "\code{highlightStyle: solarized-dark}" or | |||
| #' "\code{highlighStyle: solarized-light}". | |||
| #' @references \url{http://ethanschoonover.com/solarized} | |||
| @@ -0,0 +1,5 @@ | |||
| #' @title Solarized Light Theme | |||
| #' @description A light theme based around on the solarized color scheme. | |||
| #' Works well with "\code{highlightStyle: solarized-dark}" or | |||
| #' "\code{highlighStyle: solarized-light}". | |||
| #' @references \url{http://ethanschoonover.com/solarized} | |||
| @@ -0,0 +1,116 @@ | |||
| % Generated by roxygen2: do not edit by hand | |||
| % Please edit documentation in R/solarized_dark.R | |||
| \name{solarized_dark} | |||
| \alias{solarized_dark} | |||
| \title{Solarized Dark Theme} | |||
| \usage{ | |||
| 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, | |||
| title_slide_text_color = inverse_text_color, | |||
| title_slide_background_color = inverse_background_color, | |||
| title_slide_background_image = "NA", 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_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_url = "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700", | |||
| code_font_family_fallback = "'Lucida Console', Monaco", | |||
| outfile = "xaringan-themed.css") | |||
| } | |||
| \arguments{ | |||
| \item{text_color}{Text Color, defaults to #839496} | |||
| \item{header_color}{Header Color, defaults to #dc322f} | |||
| \item{background_color}{Slide Background Color, defaults to #002b36} | |||
| \item{link_color}{Link Color, defaults to #b58900} | |||
| \item{text_bold_color}{Bold Text Color, defaults to #d33682} | |||
| \item{text_slide_number_color}{Slide Number Color, defaults to #586e75} | |||
| \item{code_highlight_color}{Code Line Highlight, defaults to #268bd240} | |||
| \item{code_inline_color}{Inline Code Color, defaults to #6c71c4} | |||
| \item{code_inline_background_color}{Inline Code Background Color, defaults to NA} | |||
| \item{inverse_background_color}{Inverse Background Color, defaults to #fdf6e3} | |||
| \item{inverse_text_color}{Inverse Text Color, defaults to #002b36} | |||
| \item{inverse_text_shadow}{Enables Shadow on text of inverse slides, defaults to \code{FALSE}} | |||
| \item{inverse_header_color}{Inverse Header Color, defaults to \code{inverse_text_color}} | |||
| \item{title_slide_text_color}{Title Slide Text Color, defaults to \code{inverse_text_color}} | |||
| \item{title_slide_background_color}{Title Slide Background Color, defaults to \code{inverse_background_color}} | |||
| \item{title_slide_background_image}{Title Slide Background Image URL, defaults to NA} | |||
| \item{left_column_subtle_color}{Left Column Text (not last), defaults to #586e75} | |||
| \item{left_column_selected_color}{Left Column Current Selection, defaults to #93a1a1} | |||
| \item{blockquote_left_color}{Blockquote Left Border Color, defaults to #cb4b16} | |||
| \item{table_border_color}{Table top/bottom border, defaults to #657b83} | |||
| \item{table_row_border_color}{Table row inner bottom border, defaults to #657b83} | |||
| \item{table_row_even_background_color}{Table Even Row Background Color, defaults to #073642} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font, defaults to \code{NULL}} | |||
| \item{text_font_family}{Body Text Font Family, defaults to 'Droid Serif'} | |||
| \item{text_font_weight}{Body Text Font Weight, defaults to normal} | |||
| \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_fallback}{Body Text Font Fallbacks, defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'} | |||
| \item{text_font_base}{Body Text Base Font (Total Failure Fallback), defaults to serif} | |||
| \item{header_font_google}{Use \code{google_font()} to specify header font, defaults to \code{NULL}} | |||
| \item{header_font_family}{Header Font Family, defaults to 'Yanone Kaffeesatz'} | |||
| \item{header_font_weight}{Header Font Weight, defaults to normal} | |||
| \item{header_font_url}{Header Font URL, defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz} | |||
| \item{code_font_google}{Use \code{google_font()} to specify code font, defaults to \code{NULL}} | |||
| \item{code_font_family}{Code Font Family, defaults to 'Source Code Pro'} | |||
| \item{code_font_url}{Code Font URL, defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700} | |||
| \item{code_font_family_fallback}{Code Font Fallback, defaults to 'Lucida Console', Monaco} | |||
| \item{outfile}{Customized xaringan CSS output file name} | |||
| } | |||
| \description{ | |||
| A dark theme based around on the solarized color scheme. | |||
| Works well with "\code{highlightStyle: solarized-dark}" or | |||
| "\code{highlighStyle: solarized-light}". | |||
| } | |||
| \references{ | |||
| \url{http://ethanschoonover.com/solarized} | |||
| } | |||
| \seealso{ | |||
| Other Solarized themes: \code{\link{solarized_light}} | |||
| } | |||
| @@ -0,0 +1,116 @@ | |||
| % Generated by roxygen2: do not edit by hand | |||
| % Please edit documentation in R/solarized_light.R | |||
| \name{solarized_light} | |||
| \alias{solarized_light} | |||
| \title{Solarized Light Theme} | |||
| \usage{ | |||
| 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, | |||
| title_slide_text_color = inverse_text_color, | |||
| title_slide_background_color = inverse_background_color, | |||
| title_slide_background_image = "NA", 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_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_url = "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700", | |||
| code_font_family_fallback = "'Lucida Console', Monaco", | |||
| outfile = "xaringan-themed.css") | |||
| } | |||
| \arguments{ | |||
| \item{text_color}{Text Color, defaults to #657b83} | |||
| \item{header_color}{Header Color, defaults to #dc322f} | |||
| \item{background_color}{Slide Background Color, defaults to #fdf6e3} | |||
| \item{link_color}{Link Color, defaults to #b58900} | |||
| \item{text_bold_color}{Bold Text Color, defaults to #d33682} | |||
| \item{text_slide_number_color}{Slide Number Color, defaults to #93a1a1} | |||
| \item{code_highlight_color}{Code Line Highlight, defaults to #268bd240} | |||
| \item{code_inline_color}{Inline Code Color, defaults to #6c71c4} | |||
| \item{code_inline_background_color}{Inline Code Background Color, defaults to NA} | |||
| \item{inverse_background_color}{Inverse Background Color, defaults to #002b36} | |||
| \item{inverse_text_color}{Inverse Text Color, defaults to #fdf6e3} | |||
| \item{inverse_text_shadow}{Enables Shadow on text of inverse slides, defaults to \code{FALSE}} | |||
| \item{inverse_header_color}{Inverse Header Color, defaults to \code{inverse_text_color}} | |||
| \item{title_slide_text_color}{Title Slide Text Color, defaults to \code{inverse_text_color}} | |||
| \item{title_slide_background_color}{Title Slide Background Color, defaults to \code{inverse_background_color}} | |||
| \item{title_slide_background_image}{Title Slide Background Image URL, defaults to NA} | |||
| \item{left_column_subtle_color}{Left Column Text (not last), defaults to #93a1a1} | |||
| \item{left_column_selected_color}{Left Column Current Selection, defaults to #586e75} | |||
| \item{blockquote_left_color}{Blockquote Left Border Color, defaults to #cb4b16} | |||
| \item{table_border_color}{Table top/bottom border, defaults to #839496} | |||
| \item{table_row_border_color}{Table row inner bottom border, defaults to #839496} | |||
| \item{table_row_even_background_color}{Table Even Row Background Color, defaults to #eee8d5} | |||
| \item{text_font_google}{Use \code{google_font()} to specify body font, defaults to \code{NULL}} | |||
| \item{text_font_family}{Body Text Font Family, defaults to 'Droid Serif'} | |||
| \item{text_font_weight}{Body Text Font Weight, defaults to normal} | |||
| \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_fallback}{Body Text Font Fallbacks, defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'} | |||
| \item{text_font_base}{Body Text Base Font (Total Failure Fallback), defaults to serif} | |||
| \item{header_font_google}{Use \code{google_font()} to specify header font, defaults to \code{NULL}} | |||
| \item{header_font_family}{Header Font Family, defaults to 'Yanone Kaffeesatz'} | |||
| \item{header_font_weight}{Header Font Weight, defaults to normal} | |||
| \item{header_font_url}{Header Font URL, defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz} | |||
| \item{code_font_google}{Use \code{google_font()} to specify code font, defaults to \code{NULL}} | |||
| \item{code_font_family}{Code Font Family, defaults to 'Source Code Pro'} | |||
| \item{code_font_url}{Code Font URL, defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700} | |||
| \item{code_font_family_fallback}{Code Font Fallback, defaults to 'Lucida Console', Monaco} | |||
| \item{outfile}{Customized xaringan CSS output file name} | |||
| } | |||
| \description{ | |||
| A light theme based around on the solarized color scheme. | |||
| Works well with "\code{highlightStyle: solarized-dark}" or | |||
| "\code{highlighStyle: solarized-light}". | |||
| } | |||
| \references{ | |||
| \url{http://ethanschoonover.com/solarized} | |||
| } | |||
| \seealso{ | |||
| Other Solarized themes: \code{\link{solarized_dark}} | |||
| } | |||