😎 Give your xaringan slides some style
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

2 líneas
260KB

  1. [{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/LICENSE.html","id":null,"dir":"","previous_headings":"","what":"MIT License","title":"MIT License","text":"Copyright (c) 2020 Garrick Aden-Buie Permission hereby granted, free charge, person obtaining copy software associated documentation files (“Software”), deal Software without restriction, including without limitation rights use, copy, modify, merge, publish, distribute, sublicense, /sell copies Software, permit persons Software furnished , subject following conditions: copyright notice permission notice shall included copies substantial portions Software. SOFTWARE PROVIDED “”, WITHOUT WARRANTY KIND, EXPRESS IMPLIED, INCLUDING LIMITED WARRANTIES MERCHANTABILITY, FITNESS PARTICULAR PURPOSE NONINFRINGEMENT. EVENT SHALL AUTHORS COPYRIGHT HOLDERS LIABLE CLAIM, DAMAGES LIABILITY, WHETHER ACTION CONTRACT, TORT OTHERWISE, ARISING , CONNECTION SOFTWARE USE DEALINGS SOFTWARE.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/fonts.html","id":"default-fonts","dir":"Articles","previous_headings":"","what":"Default Fonts","title":"Fonts","text":"default heading body fonts used xaringanthemer different xaringan default fonts. xaringanthemer, Cabin used headings Noto Sans body text. Cabin Clearing Pack box five dozen liquor jugs. Amazingly discotheques provide jukeboxes. fonts easier read screens distance presentations, support wide variety languages weights. Another reason change xaringan (remarkjs) default body font, Droid Serif, longer officially included Google Fonts. like use fonts default xaringan theme, can use following arguments style function.","code":"style_xaringan( text_font_family = \"Droid Serif\", text_font_url = \"https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic\", header_font_google = google_font(\"Yanone Kaffeesatz\") )"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/fonts.html","id":"custom-and-google-font-fonts","dir":"Articles","previous_headings":"","what":"Custom and Google Font Fonts","title":"Fonts","text":"xaringanthemer makes easy use Google Fonts presentations (provided internet connection presentation) fully specify font files. use Google Fonts, set <type>_font_google theme arguments – text_font_google, header_font_google, code_font_google — using google_font() helper. help documentation ?google_font provides info. set <type>_font_google theme arguments, <type>_font_family, <type>_font_weight <type>_font_url overwritten – <type> one header, text, code. use font hosted outside Google fonts, need provide <type>_font_family <type>_font_url. example, suppose want use code font ligatures code chunks, Fira Code, declared code_font_family. browser usage section Fira Code README provides CSS URL used @import statement can use code_font_url argument. Remember need supply either <type>_google_font using google_font() helper <type>_font_family <type>_font_url.","code":"style_mono_light( header_font_google = google_font(\"Josefin Slab\", \"600\"), text_font_google = google_font(\"Work Sans\", \"300\", \"300i\"), code_font_google = google_font(\"IBM Plex Mono\") ) style_solarized_dark( code_font_family = \"Fira Code\", code_font_url = \"https://cdn.jsdelivr.net/gh/tonsky/FiraCode@2/distr/fira_code.css\" )"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/fonts.html","id":"using-additional-fonts","dir":"Articles","previous_headings":"","what":"Using Additional Fonts","title":"Fonts","text":"want use additional fonts use custom CSS definitions, use extra_fonts argument pass list URLs google_font()s. Notice need add custom CSS (example, via extra_css) use fonts imported extra_fonts.","code":"style_mono_light( extra_fonts = list( google_font(\"Sofia\"), # Young Serif by uplaod.fr \"https://cdn.jsdelivr.net/gh/uplaod/YoungSerif/fonts/webfonts/fontface.css\", ), extra_css = list( \".title-slide h2\" = list(\"font-family\" = \"Sofia\"), blockquote = list(\"font-family\" = \"youngserifregular\") ) )"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/ggplot2-themes.html","id":"key-features","dir":"Articles","previous_headings":"","what":"Key Features","title":"ggplot2 Themes","text":"ggplot2 themes uses colors themes xaringanthemer style functions, set theme inside slides. Otherwise, draws xaringan-themer.css file. themes pick appropriate colors titles, grid lines, axis text, also sets default colors geoms like ggplot2::geom_point() ggplot2::geom_text(). also monotone color fill scales based around primary accent color used xaringan theme. use Google Fonts slides, ggplot2 themes use showtext package automatically match title axis text fonts plots heading text fonts xaringan theme. ’ve done best set everything just works, sometimes showtext package adds bit complication routine data visualization workflow. end vignette include tips working showtext.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/ggplot2-themes.html","id":"setup-your-theme","dir":"Articles","previous_headings":"","what":"Setup Your Theme","title":"ggplot2 Themes","text":"theme_xaringan() designed automatically use fonts colors used slides’ style theme. ’m going use moderately customized color theme based style_mono_accent(), results xaringan theme previewed slides . ’ve also picked fonts Google Fonts probably never use real presentation, ’re flashy enough make easy see ’re using standard default fonts. use hidden chunk like one inside slides’ R Markdown source file, theme_xaringan() know colors fonts ’ve picked. Adding theme_xaringan() ggplot, like demonstration plot using mpg dataset ggplot2, changes colors fonts plot theme. theme_xaringan() fonts colors match slide theme. default colors points (like geometries) changed well match slide colors. restore previous default colors ggplot2 geoms, call Add theme_xaringan_inverse() automatically create plot matches inverse slide style.","code":"```{r xaringan-themer, include=FALSE, warning=FALSE} library(xaringanthemer) style_mono_accent( base_color = \"#DC322F\", # bright red inverse_background_color = \"#002B36\", # dark dark blue inverse_header_color = \"#31b09e\", # light aqua green inverse_text_color = \"#FFFFFF\", # white title_slide_background_color = \"var(--base)\", text_font_google = google_font(\"Kelly Slab\"), header_font_google = google_font(\"Oleo Script\") ) ``` library(ggplot2) g_base <- ggplot(mpg) + aes(hwy, cty) + geom_point() + labs(x = \"Highway MPG\", y = \"City MPG\", title = \"Fuel Efficiency\") # Basic plot with default theme g_base # Fancy slide-matching themed plot g_base + theme_xaringan() theme_xaringan_restore_defaults() # theme_xaringan() on the left, theme_xaringan_inverse() on the right g_base + theme_xaringan_inverse()"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/ggplot2-themes.html","id":"using-xaringan-themer-css","dir":"Articles","previous_headings":"","what":"Using theme_xaringan() without calling a style function","title":"ggplot2 Themes","text":"’ve set custom xaringan theme, might want use theme’s CSS file new presentations instead rebuilding theme every new slide deck. cases, theme_xaringan() look CSS file written xaringanthemer slides’ directory sub-folder directory can use determine colors fonts used slides. happen multiple slide themes written xaringanthemer directory, one named xaringan-themer.css used. xaringanthemer picks wrong file, can use css_file theme_xaringan() specify exactly CSS file use. Note can use theme_xaringan() anywhere want, just xaringan slides! (example, theme_xaringan() working great vignettes!) means can use plot theme reports websites maintaining consistent look feel brand. Finally, don’t even need xaringanthemer CSS file. can specify key ingredients theme arguments theme_xaringan(), namely text, background, accent colors well text title fonts. R chunk replicated demonstrated theme, doesn’t require slide style set stored CSS file.","code":"theme_xaringan(css_file = \"my-slide-style.css\") theme_xaringan( text_color = \"#3D3E38\", background_color = \"#FFFFFF\", accent_color = \"#DC322F\", text_font = \"Kelly Slab\", text_font_use_google = TRUE, title_font = \"Oleo Script\", title_font_use_google = TRUE )"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/ggplot2-themes.html","id":"colors","dir":"Articles","previous_headings":"","what":"Colors","title":"ggplot2 Themes","text":"demonstrated , theme_xaringan() theme_xaringan_inverse() modify default colors fonts geometries. means geom_point(), geom_bar(), geom_text() geoms used plots reasonably match slide themes extra work. Whenever theme_xaringan() theme_xaringan_inverse() called, default values many ggplot2 geoms set default. can opt setting set_ggplot_defaults = FALSE using either theme. can also restore geom aesthetic defaults original values first time theme_xaringan() theme_xaringan_inverse() used running","code":"g_diamonds <- ggplot(diamonds, aes(x = cut)) + geom_bar() + labs(x = NULL, y = NULL, title = \"Diamond Cut Quality\") + ylim(0, 25000) g_diamonds + theme_xaringan() theme_xaringan_restore_defaults()"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/ggplot2-themes.html","id":"scale-xaringan","dir":"Articles","previous_headings":"Colors","what":"Custom Color and Fill Scales","title":"ggplot2 Themes","text":"xaringanthemer includes monotone color fill scales match ggplot2 theme. scale functions follow naming pattern scale_xaringan_<aes>_<data_type>(), <aes> replaced either color fill <data_type> one discrete continuous. scales use colorspace::sequential_hcl() create sequential, monotone color scale based primary accent color slides. Color scales matching inverse slides possible setting argument inverse = TRUE. general, color scales aren’t great representing underlying data. examples , color fill scales duplicate information displayed via aesthetics (height bar size point). recommend using scales primarily style, although scales can less effective depending color scheme. scales come options: Choose different primary color using color argument. Use inverse color slide theme color inverse = TRUE (applies color supplied). Invert direction discrete scales direction = -1. Control range continuous color scale used begin end. can also invert direction continuous color scale setting begin = 1 end = 0.","code":"ggplot(diamonds, aes(x = cut)) + geom_bar(aes(fill = ..count..), show.legend = FALSE) + labs(x = NULL, y = \"Count\", title = \"Diamond Cut Quality\") + theme_xaringan() + scale_xaringan_fill_continuous() ggplot(mpg, aes(x = hwy, y = cty)) + geom_count(aes(color = ..n..), show.legend = FALSE) + labs(x = \"Highway MPG\", y = \"City MPG\", title = \"Fuel Efficiency\") + theme_xaringan_inverse() + scale_xaringan_color_continuous(breaks = seq(3, 12, 2), inverse = TRUE, begin = 1, end = 0)"},{"path":[]},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/ggplot2-themes.html","id":"automatically-match-slide-and-plot-fonts","dir":"Articles","previous_headings":"Fonts","what":"Automatically match slide and plot fonts","title":"ggplot2 Themes","text":"xaringanthemer uses showtext sysfonts packages Yixuan Qiu automatically download register Google Fonts use ggplot2 plots. slide theme, use <type>_font_google argument google_font(\"<font name>\") helper (default xaringanthemer fonts) theme_xaringan() handle rest. demo theme, used style_mono_accent() text_font_google = google_font(\"Kelley Slab\") header_font_google = google_font(\"Oleo Script\"). theme_xaringan() applies header font plot axis titles text font axis ticks labels text geoms annotations.","code":"g_diamonds_with_text <- g_diamonds + geom_text(aes(y = ..count.., label = format(..count.., big.mark = \",\")), vjust = -0.30, size = 8, stat = \"count\") + labs(x = \"Cut\", y = \"Count\") g_diamonds_with_text + theme_xaringan()"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/ggplot2-themes.html","id":"manually-specify-plot-fonts","dir":"Articles","previous_headings":"Fonts","what":"Manually specify plot fonts","title":"ggplot2 Themes","text":"can also specify specific fonts plot theme. text_font title_font theme_xaringan() theme_xaringan_inverse() accept google_font()s directly.","code":"g_diamonds_with_text + theme_xaringan( text_font = google_font(\"Ranga\"), title_font = google_font(\"Holtwood One SC\") )"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/ggplot2-themes.html","id":"using-fonts-not-in-google-fonts","dir":"Articles","previous_headings":"Fonts","what":"Using fonts not in Google Fonts","title":"ggplot2 Themes","text":"want use font isn’t Google Fonts collection, need manually register font sysfonts can used plots. found nice open source font called Glacial Indifference Alfredo Marco Pradil available fontlibrary.org. theme style function, use sysfonts won’t know find TTF font files font. register font sysfonts, use sysfonts::font_add(), first need download font file — sysfonts::font_add() function requires font file local. inspecting CSS file link used text_font_url, found direct URL .ttf files GlacialIndifferenceRegular. ’ve included code used download font temporary file , case URL breaks, ’ve included Glacial Indifference xaringanthemer package.","code":"style_mono_accent( text_font_family = \"GlacialIndifferenceRegular\", text_font_url = \"https://fontlibrary.org/face/glacial-indifference\" ) font_url <- file.path( \"https://fontlibrary.org/assets/fonts/glacial-indifference/\", \"5f2cf277506e19ec77729122f27b1faf/0820b3c58fed35de298219f314635982\", \"GlacialIndifferenceRegular.ttf\" ) font_temp <- tempfile() download.file(font_url, font_temp) # Path to the local custom font file font_temp <- system.file( \"fonts/GlacialIndifferenceRegular.ttf\", package = \"xaringanthemer\" ) # Register the font with sysfonts/showtext sysfonts::font_add(family = \"GlacialIndifferenceRegular\", regular = font_temp) # Now it's available for use! g_diamonds_with_text + theme_xaringan( text_font = \"GlacialIndifferenceRegular\", title_font = \"GlacialIndifferenceRegular\" )"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/ggplot2-themes.html","id":"tips","dir":"Articles","previous_headings":"","what":"Tips for using the showtext package","title":"ggplot2 Themes","text":"Working fonts notoriously frustrating, showtext sysfonts great job ensuring Google Fonts custom fonts work platforms. ’ve seen examples , process mostly seamless, caveats places methods used packages may interrupt typical ggplot2 workflow.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/ggplot2-themes.html","id":"r-markdown","dir":"Articles","previous_headings":"Tips for using the showtext package","what":"R Markdown","title":"ggplot2 Themes","text":"use showtext package R Markdown, knitr requires fig.showtext chunk option set TRUE, either chunk producing figure globally document. xaringanthemer tries set chunk option , circumstances ’s possible call theme_xaringan() way xaringanthemer can’t set option . happens, xaringanthemer produce error: find facing error, follow instructions choose one two suggestions: Add fig.showtext = TRUE chunk producing figure set option globally setup chunk knitr::opts_chunk$set(fig.showtext = TRUE).","code":"Error in verify_fig_showtext(fn) : To use theme_xaringan_base() with knitr, you need to set the chunk option `fig.showtext = TRUE` for this chunk. Or you can set this option globally with `knitr::opts_chunk$set(fig.showtext = TRUE)`."},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/ggplot2-themes.html","id":"macos","dir":"Articles","previous_headings":"Tips for using the showtext package","what":"MacOS","title":"ggplot2 Themes","text":"MacOS, ’ll need xquartz installed sysfonts work properly. use homebrew, can install xquartz ","code":"brew cask install xquartz"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/ggplot2-themes.html","id":"in-rstudio","dir":"Articles","previous_headings":"Tips for using the showtext package","what":"In RStudio","title":"ggplot2 Themes","text":"showtext RStudio’s graphic device don’t always work well together. Depending version RStudio, try preview plots use theme_xaringan(), fonts preview still default sans font may see plot . work around , open new quartz() (MacOS) x11() (Windows/Unix) plot device. plots render separate window. usually create quartz() device similar size ratio slides.","code":"## On Windows # x11(width = 16 * 2/3, height = 9 * 2/3) ## On MacOS quartz(width = 16 * 2/3, height = 9 * 2/3) ## run plot code to preview in separate window dev.off() # call when done to close the device"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/themes.html","id":"monotone","dir":"Articles","previous_headings":"","what":"Monotone","title":"Themes","text":"Use functions automatically create consistent color palette slides, based around single color.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/themes.html","id":"style_mono_light","dir":"Articles","previous_headings":"Monotone","what":"style_mono_light()","title":"Themes","text":"light theme based around single color.","code":"style_mono_light(base_color = \"#23395b\")"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/themes.html","id":"style_mono_dark","dir":"Articles","previous_headings":"Monotone","what":"style_mono_dark()","title":"Themes","text":"dark theme based around single color.","code":"style_mono_dark(base_color = \"#cbf7ed\")"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/themes.html","id":"style_mono_accent","dir":"Articles","previous_headings":"Monotone","what":"style_mono_accent()","title":"Themes","text":"default xaringan theme single color used color accents select elements (headers, bold text, etc.).","code":"style_mono_accent(base_color = \"#43418A\")"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/themes.html","id":"style_mono_accent_inverse","dir":"Articles","previous_headings":"Monotone","what":"style_mono_accent_inverse()","title":"Themes","text":"“inverted” default xaringan theme single color used color accents select elements (headers, bold text, etc.).","code":"style_mono_accent_inverse(base_color = \"#3C989E\")"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/themes.html","id":"duotone","dir":"Articles","previous_headings":"","what":"Duotone","title":"Themes","text":"themes build two (ideally) complementary colors.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/themes.html","id":"style_duo","dir":"Articles","previous_headings":"Duotone","what":"style_duo()","title":"Themes","text":"two-colored theme based primary secondary color.","code":"style_duo(primary_color = \"#1F4257\", secondary_color = \"#F97B64\")"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/themes.html","id":"style_duo_accent","dir":"Articles","previous_headings":"Duotone","what":"style_duo_accent()","title":"Themes","text":"default Xaringan theme two accent colors.","code":"style_duo_accent(primary_color = \"#035AA6\", secondary_color = \"#03A696\")"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/themes.html","id":"style_duo_accent_inverse","dir":"Articles","previous_headings":"Duotone","what":"style_duo_accent_inverse()","title":"Themes","text":"“inverted” default Xaringan theme two accent colors.","code":"style_duo_accent_inverse(primary_color = \"#035AA6\", secondary_color = \"#03A696\")"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/themes.html","id":"solarized","dir":"Articles","previous_headings":"","what":"Solarized","title":"Themes","text":"also two themes based around solarized color palette, style_solarized_light() style_solarized_dark(). themes, advisted change syntax highlighting theme solarized-light solarized-dark (looks great paired constrasted).","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/themes.html","id":"style_solarized_light","dir":"Articles","previous_headings":"Solarized","what":"style_solarized_light()","title":"Themes","text":"","code":"style_solarized_light()"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/themes.html","id":"style_solarized_dark","dir":"Articles","previous_headings":"Solarized","what":"style_solarized_dark()","title":"Themes","text":", YAML header look --less like :","code":"style_solarized_dark() output: xaringan::moon_reader: css: [\"xaringan-themer.css\"] nature: highlightStyle: solarized-dark highlightLines: true countIncrementalSlides: false"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/themes.html","id":"colors","dir":"Articles","previous_headings":"","what":"Colors","title":"Themes","text":"designing xaringan theme, may additional colors desired color palette beyond used accent colors mono duotone styles. style*() functions xaringanthemer include colors argument lets quickly define additional colors use slides. argument takes vector named colors creates CSS classes color name set text color — e.g. .red — set background color — e.g. .bg-red. use custom CSS slides, color name also stored CSS variable — e.g. var(--red). slide text like rendered HTML simple demo shows colors action. Note color names colors need valid CSS names, \"purple-light\" work, \"purple light\" .","code":"colors = c( red = \"#f34213\", purple = \"#3e2f5b\", orange = \"#ff8811\", green = \"#136f63\", white = \"#FFFFFF\" ) This **.red[simple]** .white.bg-purple[demo] _.orange[shows]_ the colors .green[in action]."},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/xaringanthemer.html","id":"quick-intro","dir":"Articles","previous_headings":"","what":"Quick Intro","title":"Xaringan CSS Theme Generator","text":"First, add xaringan-themer.css file YAML header xaringan slides. , hidden chunk just knitr setup chunk, load xaringanthemer try one theme functions.","code":"output: xaringan::moon_reader: css: xaringan-themer.css ```{r xaringan-themer, include=FALSE, warning=FALSE} library(xaringanthemer) style_mono_accent( base_color = \"#1c5253\", header_font_google = google_font(\"Josefin Sans\"), text_font_google = google_font(\"Montserrat\", \"300\", \"300i\"), code_font_google = google_font(\"Fira Mono\") ) ```"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/xaringanthemer.html","id":"matching-ggplot-themes","dir":"Articles","previous_headings":"Quick Intro","what":"Matching ggplot Themes","title":"Xaringan CSS Theme Generator","text":"xaringanthemer even provides [ggplot2] theme theme_xaringan() uses colors fonts slide theme. Built showtext package, designed work seamlessly Google Fonts. Color fill scales also provided matching sequential color scales based primary color used slides. See ?scale_xaringan details. details examples can found vignette(\"ggplot2-themes\").","code":"library(ggplot2) ggplot(diamonds) + aes(cut, fill = cut) + geom_bar(show.legend = FALSE) + labs( x = \"Cut\", y = \"Count\", title = \"A Fancy diamonds Plot\" ) + theme_xaringan(background_color = \"#FFFFFF\") + scale_xaringan_fill_discrete()"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/xaringanthemer.html","id":"tab-completion","dir":"Articles","previous_headings":"Quick Intro","what":"Tab Completion","title":"Xaringan CSS Theme Generator","text":"xaringanthemer Tab friendly – use autocomplete explore template variables can adjust themes!","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/xaringanthemer.html","id":"r-markdown-template-in-rstudio","dir":"Articles","previous_headings":"Quick Intro","what":"R Markdown Template in RStudio","title":"Xaringan CSS Theme Generator","text":"can also skip just create Ninja Themed Presentation New R Markdown Document menu RStudio.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/xaringanthemer.html","id":"themes","dir":"Articles","previous_headings":"","what":"Themes","title":"Xaringan CSS Theme Generator","text":"xaringanthemer includes number functions provide themed xaringan styles. styling functions start style_ prefix. goal style function quickly set coordinated color palette slides based one two starter colors. Styles based one color start style_mono_ styles based two colors start style_duo_. starter colors used described final portion style function name. example, style_mono_accent() uses single color accent color. Note colors used demonstration , point style_ functions choose color palette! color palette uses two colors, can add additional colors colors argument. See Colors section information.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/xaringanthemer.html","id":"monotone","dir":"Articles","previous_headings":"Themes","what":"Monotone","title":"Xaringan CSS Theme Generator","text":"Use functions automatically create consistent color palette slides, based around single color.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/xaringanthemer.html","id":"style_mono_light","dir":"Articles","previous_headings":"Themes > Monotone","what":"style_mono_light()","title":"Xaringan CSS Theme Generator","text":"light theme based around single color.","code":"style_mono_light(base_color = \"#23395b\")"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/xaringanthemer.html","id":"style_mono_dark","dir":"Articles","previous_headings":"Themes > Monotone","what":"style_mono_dark()","title":"Xaringan CSS Theme Generator","text":"dark theme based around single color.","code":"style_mono_dark(base_color = \"#cbf7ed\")"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/xaringanthemer.html","id":"style_mono_accent","dir":"Articles","previous_headings":"Themes > Monotone","what":"style_mono_accent()","title":"Xaringan CSS Theme Generator","text":"default xaringan theme single color used color accents select elements (headers, bold text, etc.).","code":"style_mono_accent(base_color = \"#43418A\")"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/xaringanthemer.html","id":"style_mono_accent_inverse","dir":"Articles","previous_headings":"Themes > Monotone","what":"style_mono_accent_inverse()","title":"Xaringan CSS Theme Generator","text":"“inverted” default xaringan theme single color used color accents select elements (headers, bold text, etc.).","code":"style_mono_accent_inverse(base_color = \"#3C989E\")"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/xaringanthemer.html","id":"duotone","dir":"Articles","previous_headings":"Themes","what":"Duotone","title":"Xaringan CSS Theme Generator","text":"themes build two (ideally) complementary colors.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/xaringanthemer.html","id":"style_duo","dir":"Articles","previous_headings":"Themes > Duotone","what":"style_duo()","title":"Xaringan CSS Theme Generator","text":"two-colored theme based primary secondary color.","code":"style_duo(primary_color = \"#1F4257\", secondary_color = \"#F97B64\")"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/xaringanthemer.html","id":"style_duo_accent","dir":"Articles","previous_headings":"Themes > Duotone","what":"style_duo_accent()","title":"Xaringan CSS Theme Generator","text":"default Xaringan theme two accent colors.","code":"style_duo_accent(primary_color = \"#035AA6\", secondary_color = \"#03A696\")"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/xaringanthemer.html","id":"style_duo_accent_inverse","dir":"Articles","previous_headings":"Themes > Duotone","what":"style_duo_accent_inverse()","title":"Xaringan CSS Theme Generator","text":"“inverted” default Xaringan theme two accent colors.","code":"style_duo_accent_inverse(primary_color = \"#035AA6\", secondary_color = \"#03A696\")"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/xaringanthemer.html","id":"solarized","dir":"Articles","previous_headings":"Themes","what":"Solarized","title":"Xaringan CSS Theme Generator","text":"also two themes based around solarized color palette, style_solarized_light() style_solarized_dark(). themes, advisted change syntax highlighting theme solarized-light solarized-dark (looks great paired constrasted).","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/xaringanthemer.html","id":"style_solarized_light","dir":"Articles","previous_headings":"Themes > Solarized","what":"style_solarized_light()","title":"Xaringan CSS Theme Generator","text":"","code":"style_solarized_light()"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/xaringanthemer.html","id":"style_solarized_dark","dir":"Articles","previous_headings":"Themes > Solarized","what":"style_solarized_dark()","title":"Xaringan CSS Theme Generator","text":", YAML header look --less like :","code":"style_solarized_dark() output: xaringan::moon_reader: css: [\"xaringan-themer.css\"] nature: highlightStyle: solarized-dark highlightLines: true countIncrementalSlides: false"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/xaringanthemer.html","id":"theme-settings","dir":"Articles","previous_headings":"","what":"Theme Settings","title":"Xaringan CSS Theme Generator","text":"theme functions listed just wrappers around central function package, style_xaringan(). want start default xaringan theme make modifications, start . theme template variables repeated theme functions (instead relying ...) can use autocompletion find change defaults theme function. override default value theme functions, set appropriate argument theme function. table template variables included vignette(\"template-variables\", \"xaringanthemer\"). example, try loading xaringanthemer, type style_duo_theme( press Tab see theme options. theme options named first think element want change, property element. text_ theme options: text_color text_bold_color text_slide_number_color text_font_size text_slide_number_font_size … title slide theme options: title_slide_text_color title_slide_background_color title_slide_background_image title_slide_background_size title_slide_background_position","code":""},{"path":[]},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/xaringanthemer.html","id":"default-fonts","dir":"Articles","previous_headings":"Fonts","what":"Default Fonts","title":"Xaringan CSS Theme Generator","text":"default heading body fonts used xaringanthemer different xaringan default fonts. xaringanthemer, Cabin used headings Noto Sans body text. Cabin Clearing Pack box five dozen liquor jugs. Amazingly discotheques provide jukeboxes. fonts easier read screens distance presentations, support wide variety languages weights. Another reason change xaringan (remarkjs) default body font, Droid Serif, longer officially included Google Fonts. like use fonts default xaringan theme, can use following arguments style function.","code":"style_xaringan( text_font_family = \"Droid Serif\", text_font_url = \"https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic\", header_font_google = google_font(\"Yanone Kaffeesatz\") )"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/xaringanthemer.html","id":"custom-and-google-font-fonts","dir":"Articles","previous_headings":"Fonts","what":"Custom and Google Font Fonts","title":"Xaringan CSS Theme Generator","text":"xaringanthemer makes easy use Google Fonts presentations (provided internet connection presentation) fully specify font files. use Google Fonts, set <type>_font_google theme arguments – text_font_google, header_font_google, code_font_google — using google_font() helper. help documentation ?google_font provides info. set <type>_font_google theme arguments, <type>_font_family, <type>_font_weight <type>_font_url overwritten – <type> one header, text, code. use font hosted outside Google fonts, need provide <type>_font_family <type>_font_url. example, suppose want use code font ligatures code chunks, Fira Code, declared code_font_family. browser usage section Fira Code README provides CSS URL used @import statement can use code_font_url argument. Remember need supply either <type>_google_font using google_font() helper <type>_font_family <type>_font_url.","code":"style_mono_light( header_font_google = google_font(\"Josefin Slab\", \"600\"), text_font_google = google_font(\"Work Sans\", \"300\", \"300i\"), code_font_google = google_font(\"IBM Plex Mono\") ) style_solarized_dark( code_font_family = \"Fira Code\", code_font_url = \"https://cdn.jsdelivr.net/gh/tonsky/FiraCode@2/distr/fira_code.css\" )"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/xaringanthemer.html","id":"using-additional-fonts","dir":"Articles","previous_headings":"Fonts","what":"Using Additional Fonts","title":"Xaringan CSS Theme Generator","text":"want use additional fonts use custom CSS definitions, use extra_fonts argument pass list URLs google_font()s. Notice need add custom CSS (example, via extra_css) use fonts imported extra_fonts.","code":"style_mono_light( extra_fonts = list( google_font(\"Sofia\"), # Young Serif by uplaod.fr \"https://cdn.jsdelivr.net/gh/uplaod/YoungSerif/fonts/webfonts/fontface.css\", ), extra_css = list( \".title-slide h2\" = list(\"font-family\" = \"Sofia\"), blockquote = list(\"font-family\" = \"youngserifregular\") ) )"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/xaringanthemer.html","id":"colors","dir":"Articles","previous_headings":"","what":"Colors","title":"Xaringan CSS Theme Generator","text":"designing xaringan theme, may additional colors desired color palette beyond used accent colors mono duotone styles. style*() functions xaringanthemer include colors argument lets quickly define additional colors use slides. argument takes vector named colors creates CSS classes color name set text color — e.g. .red — set background color — e.g. .bg-red. use custom CSS slides, color name also stored CSS variable — e.g. var(--red). slide text like rendered HTML simple demo shows colors action. Note color names colors need valid CSS names, \"purple-light\" work, \"purple light\" .","code":"colors = c( red = \"#f34213\", purple = \"#3e2f5b\", orange = \"#ff8811\", green = \"#136f63\", white = \"#FFFFFF\" ) This **.red[simple]** .white.bg-purple[demo] _.orange[shows]_ the colors .green[in action]."},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/articles/xaringanthemer.html","id":"adding-custom-css","dir":"Articles","previous_headings":"","what":"Adding Custom CSS","title":"Xaringan CSS Theme Generator","text":"can also add custom CSS classes using extra_css argument theme functions. argument takes named list CSS definitions containing named list CSS property-value pairs. rather keep additional css definitions separate file, can call style_extra_css() separately. Just sure include new CSS file list applied files YAML header. helpful wanting define helper classes work remark.js .class[] syntax. Using example, add slide text .small[smaller font size]. xaringanthemer built Garrick Aden-Buie (@grrrck). Big thank Yihui Xie, especially xaringan. Also thanks Ole Petter Bang remark.js. Feel free file issue find bug theme suggestion – better yet, submit pull request!","code":"extra_css <- list( \".small\" = list(\"font-size\" = \"90%\"), \".full-width\" = list( display = \"flex\", width = \"100%\", flex = \"1 1 auto\" ) ) style_extra_css(css = extra_css, outfile = \"custom.css\") /* Extra CSS */ .small { font-size: 90%; } .full-width { display: flex; width: 100%; flex: 1 1 auto; }"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Garrick Aden-Buie. Author, maintainer.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"Aden-Buie G (2022). xaringanthemer: Custom 'xaringan' CSS Themes. https://pkg.garrickadenbuie.com/xaringanthemer/, https://github.com/gadenbuie/xaringanthemer.","code":"@Manual{, title = {xaringanthemer: Custom 'xaringan' CSS Themes}, author = {Garrick Aden-Buie}, year = {2022}, note = {https://pkg.garrickadenbuie.com/xaringanthemer/, https://github.com/gadenbuie/xaringanthemer}, }"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/index.html","id":"xaringanthemer-","dir":"","previous_headings":"","what":"Custom xaringan CSS Themes","title":"Custom xaringan CSS Themes","text":"Give xaringan slides style xaringanthemer within slides.Rmd file without (much) CSS.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/index.html","id":"installation","dir":"","previous_headings":"","what":"Installation","title":"Custom xaringan CSS Themes","text":"can install xaringanthemer CRAN can install development version xaringanthemer GitHub.","code":"install.packages(\"xaringanthemer\") # install.packages(\"remotes\") remotes::install_github(\"gadenbuie/xaringanthemer\")"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/index.html","id":"quick-intro","dir":"","previous_headings":"","what":"Quick Intro","title":"Custom xaringan CSS Themes","text":"First, add xaringan-themer.css file YAML header xaringan slides. , hidden chunk just knitr setup chunk, load xaringanthemer try one theme functions.","code":"output: xaringan::moon_reader: css: xaringan-themer.css ```{r xaringan-themer, include=FALSE, warning=FALSE} library(xaringanthemer) style_mono_accent( base_color = \"#1c5253\", header_font_google = google_font(\"Josefin Sans\"), text_font_google = google_font(\"Montserrat\", \"300\", \"300i\"), code_font_google = google_font(\"Fira Mono\") ) ```"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/index.html","id":"matching-ggplot-themes","dir":"","previous_headings":"Quick Intro","what":"Matching ggplot Themes","title":"Custom xaringan CSS Themes","text":"xaringanthemer even provides ggplot2 theme theme_xaringan() uses colors fonts slide theme. Built showtext package, designed work seamlessly Google Fonts. Color fill scales also provided matching sequential color scales based primary color used slides. See ?scale_xaringan details. details examples can found vignette(\"ggplot2-themes\").","code":"library(ggplot2) ggplot(diamonds) + aes(cut, fill = cut) + geom_bar(show.legend = FALSE) + labs( x = \"Cut\", y = \"Count\", title = \"A Fancy diamonds Plot\" ) + theme_xaringan(background_color = \"#FFFFFF\") + scale_xaringan_fill_discrete()"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/index.html","id":"tab-completion","dir":"","previous_headings":"Quick Intro","what":"Tab Completion","title":"Custom xaringan CSS Themes","text":"xaringanthemer Tab friendly – use autocomplete explore template variables can adjust themes!","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/index.html","id":"r-markdown-template-in-rstudio","dir":"","previous_headings":"Quick Intro","what":"R Markdown Template in RStudio","title":"Custom xaringan CSS Themes","text":"can also skip just create Ninja Themed Presentation New R Markdown Document menu RStudio.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/index.html","id":"features","dir":"","previous_headings":"","what":"Features","title":"Custom xaringan CSS Themes","text":"’s lot xaringanthemer can ! Discover xaringanthemer’s features.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/apply_alpha.html","id":null,"dir":"Reference","previous_headings":"","what":"Add alpha to hex color — apply_alpha","title":"Add alpha to hex color — apply_alpha","text":"Applies alpha (opacity) color hexadecimal form converting opacity [0, 1] range hex [0, 255] range appending hex color.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/apply_alpha.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add alpha to hex color — apply_alpha","text":"","code":"apply_alpha(color_hex, opacity = 0.5)"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/apply_alpha.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add alpha to hex color — apply_alpha","text":"color_hex character string representing hex color opacity Desired opacity output color","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/apply_alpha.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add alpha to hex color — apply_alpha","text":"character string added opacity level hexadecimal characters.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/apply_alpha.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add alpha to hex color — apply_alpha","text":"","code":"blue <- \"#0e6ba8\" blue_transparent <- apply_alpha(blue) if (requireNamespace(\"scales\", quietly = TRUE)) { scales::show_col(c(blue, blue_transparent)) }"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/choose_dark_or_light.html","id":null,"dir":"Reference","previous_headings":"","what":"Choose dark or light color — choose_dark_or_light","title":"Choose dark or light color — choose_dark_or_light","text":"Takes color input x returns either black white color (expression) dark light text used input color best contrast. Follows W3C Recommendations.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/choose_dark_or_light.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Choose dark or light color — choose_dark_or_light","text":"","code":"choose_dark_or_light(x, black = \"#000000\", white = \"#FFFFFF\")"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/choose_dark_or_light.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Choose dark or light color — choose_dark_or_light","text":"x background color (hex) black Text foreground color, e.g. \"#222\" substitute(darken_color(x, 0.8)), black text provides best contrast. white Text foreground color expression, e.g. \"#EEE\" substitute(lighten_color(x, 0.8)), white text provides best contrast.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/choose_dark_or_light.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Choose dark or light color — choose_dark_or_light","text":"black color white color according color provides greates contrast input color.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/choose_dark_or_light.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Choose dark or light color — choose_dark_or_light","text":"https://stackoverflow.com//3943023/2022615","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/choose_dark_or_light.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Choose dark or light color — choose_dark_or_light","text":"","code":"light_green <- \"#c4d6b0\" contrast_green <- choose_dark_or_light(light_green) dark_purple <- \"#381d2a\" contrast_purple <- choose_dark_or_light(dark_purple) if (requireNamespace(\"scales\", quietly = TRUE)) { scales::show_col(c(light_green, contrast_green, dark_purple, contrast_purple)) }"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/google_font.html","id":null,"dir":"Reference","previous_headings":"","what":"Specify Google Font — google_font","title":"Specify Google Font — google_font","text":"Builds Google Fonts URL family name. Extra weights given ... parameters. Languages can specified languages must one language codes given google_language_codes().","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/google_font.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Specify Google Font — google_font","text":"","code":"google_font(family, ..., languages = NULL)"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/google_font.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Specify Google Font — google_font","text":"family Font family ... Font weights include, example \"400\", \"400i\" languages Font languages include (dependent font.) See google_language_codes().","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/google_font.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Specify Google Font — google_font","text":"\"google_font\" object.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/google_font.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Specify Google Font — google_font","text":"","code":"google_font(\"Josefin Sans\", \"400\", \"400i\", \"600i\", \"700\") #> $family #> [1] \"Josefin Sans\" #> #> $weights #> [1] \"400,400i,600i,700\" #> #> $languages #> NULL #> #> $url #> [1] \"https://fonts.googleapis.com/css?family=Josefin+Sans:400,400i,600i,700&display=swap\" #> #> attr(,\"class\") #> [1] \"google_font\" google_font(\"Josefin Sans\", languages = c(\"latin-ext\", \"vietnamese\")) #> $family #> [1] \"Josefin Sans\" #> #> $weights #> NULL #> #> $languages #> [1] \"latin-ext,vietnamese\" #> #> $url #> [1] \"https://fonts.googleapis.com/css?family=Josefin+Sans&subset=latin-ext,vietnamese&display=swap\" #> #> attr(,\"class\") #> [1] \"google_font\""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/google_language_codes.html","id":null,"dir":"Reference","previous_headings":"","what":"List Valid Google Language Codes — google_language_codes","title":"List Valid Google Language Codes — google_language_codes","text":"Gives list valid Language Codes Google Fonts, validates language codes given valid.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/google_language_codes.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"List Valid Google Language Codes — google_language_codes","text":"","code":"google_language_codes( language_codes = c(\"latin\", \"latin-ext\", \"sinhala\", \"greek\", \"hebrew\", \"vietnamese\", \"cyrillic\", \"cyrillic-ext\", \"devanagari\", \"arabic\", \"khmer\", \"tamil\", \"greek-ext\", \"thai\", \"bengali\", \"gujarati\", \"oriya\", \"malayalam\", \"gurmukhi\", \"kannada\", \"telugu\", \"myanmar\") )"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/google_language_codes.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"List Valid Google Language Codes — google_language_codes","text":"language_codes Vector potential Google language codes","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/google_language_codes.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"List Valid Google Language Codes — google_language_codes","text":"vector Google Font language codes matching language_codes.","code":""},{"path":[]},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/lighten_darken_color.html","id":null,"dir":"Reference","previous_headings":"","what":"Generate lighter or darker version of a color — lighten_darken_color","title":"Generate lighter or darker version of a color — lighten_darken_color","text":"Produces linear blend color white black.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/lighten_darken_color.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Generate lighter or darker version of a color — lighten_darken_color","text":"","code":"lighten_color(color_hex, strength = 0.7) darken_color(color_hex, strength = 0.8)"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/lighten_darken_color.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Generate lighter or darker version of a color — lighten_darken_color","text":"color_hex character string representing hex color strength \"strength\" blend white black, 0 entirely original color 1 entirely white (lighten_color()) black (darken_color()).","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/lighten_darken_color.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Generate lighter or darker version of a color — lighten_darken_color","text":"character string lightened darkened color hexadecimal format.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/lighten_darken_color.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Generate lighter or darker version of a color — lighten_darken_color","text":"","code":"blue <- \"#0e6ba8\" blue_light <- lighten_color(blue, strength = 0.33) blue_dark <- darken_color(blue, strength = 0.33) if (requireNamespace(\"scales\", quietly = TRUE)) { scales::show_col(c(blue_light, blue, blue_dark)) }"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/scale_xaringan.html","id":null,"dir":"Reference","previous_headings":"","what":"Themed ggplot2 Scales — scale_xaringan","title":"Themed ggplot2 Scales — scale_xaringan","text":"Color fill single-color scales discrete continuous values, created using primary accent color xaringanthemer styles. See vignette(\"ggplot2-themes\") information examples xaringanthemer's ggplot2-related functions.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/scale_xaringan.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Themed ggplot2 Scales — scale_xaringan","text":"","code":"scale_xaringan_discrete( aes_type = c(\"color\", \"colour\", \"fill\"), ..., color = NULL, direction = 1, inverse = FALSE ) scale_xaringan_fill_discrete(..., color = NULL, direction = 1, inverse = FALSE) scale_xaringan_color_discrete( ..., color = NULL, direction = 1, inverse = FALSE ) scale_xaringan_colour_discrete( ..., color = NULL, direction = 1, inverse = FALSE ) scale_xaringan_continuous( aes_type = c(\"color\", \"colour\", \"fill\"), ..., color = NULL, begin = 0, end = 1, inverse = FALSE ) scale_xaringan_fill_continuous( ..., color = NULL, begin = 0, end = 1, inverse = FALSE ) scale_xaringan_color_continuous( ..., color = NULL, begin = 0, end = 1, inverse = FALSE ) scale_xaringan_colour_continuous( ..., color = NULL, begin = 0, end = 1, inverse = FALSE )"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/scale_xaringan.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Themed ggplot2 Scales — scale_xaringan","text":"aes_type type aesthetic scale applied. One \"color\", \"colour\", \"fill\". ... Arguments passed either colorspace scale functions — one colorspace::scale_color_discrete_sequential(), colorspace::scale_color_continuous_sequential(), colorspace::scale_fill_discrete_sequential(), colorspace::scale_fill_continuous_sequential() — ggplot2::continuous_scale ggplot2::discrete_scale. color color value, hex, override default color. Otherwise, primary color resulting scale chosen xaringanthemer slide styles. direction Direction discrete scale. Use values less 0 reverse direction, e.g. direction = -1. inverse color supplied inverse = TRUE, primary color chosen work well inverse slide styles, namely value inverse_header_color begin Number range [0, 1] indicating point color scale smallest data value mapped. end Number range [0, 1] indicating point color scale largest data value mapped.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/scale_xaringan.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Themed ggplot2 Scales — scale_xaringan","text":"","code":"# Requires ggplot2 has_ggplot2 <- requireNamespace(\"ggplot2\", quietly = TRUE) if (has_ggplot2) { library(ggplot2) # Saving the theme to a temp file because this is an example path_to_css_file <- tempfile(fileext = \".css\") # Create the xaringan theme: dark blue background with teal green accents style_duo( primary_color = \"#002b36\", secondary_color = \"#31b09e\", # Using basic fonts for this example, but the plot theme will # automatically use your theme font if you use Google fonts text_font_family = \"sans\", header_font_family = \"serif\", outfile = path_to_css_file ) # Here's some very basic example data ex <- data.frame( name = c(\"Couple\", \"Few\", \"Lots\", \"Many\"), n = c(2, 3, 5, 7) ) # Fill color scales demo ggplot(ex) + aes(name, n, fill = n) + geom_col() + ggtitle(\"Matching fill scales\") + # themed to match the slides: dark blue background with teal text theme_xaringan() + # Fill color matches teal text scale_xaringan_fill_continuous() # Color scales demo ggplot(ex) + aes(name, y = 1, color = name) + geom_point(size = 10) + ggtitle(\"Matching color scales\") + # themed to match the slides: dark blue background with teal text theme_xaringan() + # Fill color matches teal text scale_xaringan_color_discrete(direction = -1) }"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_duo.html","id":null,"dir":"Reference","previous_headings":"","what":"Duotone Theme — style_duo","title":"Duotone Theme — style_duo","text":"duotone theme designed work well two complementary colors.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_duo.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Duotone Theme — style_duo","text":"","code":"style_duo( primary_color = \"#1F4257\", secondary_color = \"#F97B64\", text_color = choose_dark_or_light(primary_color, darken_color(primary_color, 0.9), lighten_color(secondary_color, 0.99)), header_color = secondary_color, background_color = primary_color, link_color = secondary_color, text_bold_color = secondary_color, text_slide_number_color = text_color, padding = \"16px 64px 16px 64px\", background_image = NULL, background_size = NULL, background_position = NULL, code_highlight_color = \"rgba(255,255,0,0.5)\", code_inline_color = secondary_color, code_inline_background_color = NULL, code_inline_font_size = \"1em\", inverse_background_color = secondary_color, inverse_text_color = primary_color, inverse_text_shadow = FALSE, inverse_header_color = inverse_text_color, inverse_link_color = link_color, title_slide_text_color = secondary_color, title_slide_background_color = primary_color, title_slide_background_image = NULL, title_slide_background_size = NULL, title_slide_background_position = NULL, footnote_color = NULL, footnote_font_size = \"0.9em\", footnote_position_bottom = \"60px\", left_column_subtle_color = apply_alpha(secondary_color, 0.6), left_column_selected_color = secondary_color, blockquote_left_border_color = apply_alpha(secondary_color, 0.5), table_border_color = \"#666\", table_row_border_color = \"#ddd\", table_row_even_background_color = lighten_color(primary_color, 0.9), base_font_size = \"20px\", text_font_size = \"1rem\", header_h1_font_size = \"2.75rem\", header_h2_font_size = \"2.25rem\", header_h3_font_size = \"1.75rem\", header_background_auto = FALSE, header_background_color = header_color, header_background_text_color = background_color, header_background_padding = NULL, header_background_content_padding_top = \"7rem\", header_background_ignore_classes = c(\"normal\", \"inverse\", \"title\", \"middle\", \"bottom\"), text_slide_number_font_size = \"0.9rem\", text_font_google = NULL, text_font_family = xaringanthemer_font_default(\"text_font_family\"), text_font_weight = xaringanthemer_font_default(\"text_font_weight\"), text_bold_font_weight = \"bold\", text_font_url = xaringanthemer_font_default(\"text_font_url\"), text_font_family_fallback = xaringanthemer_font_default(\"text_font_family_fallback\"), text_font_base = \"sans-serif\", header_font_google = NULL, header_font_family = xaringanthemer_font_default(\"header_font_family\"), header_font_weight = xaringanthemer_font_default(\"header_font_weight\"), header_font_family_fallback = \"Georgia, serif\", header_font_url = xaringanthemer_font_default(\"header_font_url\"), code_font_google = NULL, code_font_family = xaringanthemer_font_default(\"code_font_family\"), code_font_size = \"0.9rem\", code_font_url = xaringanthemer_font_default(\"code_font_url\"), code_font_family_fallback = xaringanthemer_font_default(\"code_font_family_fallback\"), link_decoration = \"none\", colors = NULL, extra_css = NULL, extra_fonts = NULL, outfile = \"xaringan-themer.css\" )"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_duo.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Duotone Theme — style_duo","text":"primary_color Duotone Primary Color. Defaults #1F4257. Used multiple CSS rules. value variable also stored CSS variable can referenced var(--primary) argument style function custom CSS. secondary_color Duotone Secondary Color. Defaults #F97B64. Used multiple CSS rules. value variable also stored CSS variable can referenced var(--secondary) argument style function custom CSS. text_color Text Color. Defaults choose_dark_or_light(primary_color, darken_color(primary_color, 0.9), lighten_color(secondary_color, 0.99)). Modifies body element. value variable also stored CSS variable can referenced var(--text_color) argument style function custom CSS. header_color Header Color. Defaults secondary_color. Modifies h1, h2, h3 elements. value variable also stored CSS variable can referenced var(--header-color) argument style function custom CSS. background_color Slide Background Color. Defaults primary_color. Modifies .remark-slide-content class. value variable also stored CSS variable can referenced var(--background-color) argument style function custom CSS. link_color Link Color. Defaults secondary_color. Modifies , > code elements. value variable also stored CSS variable can referenced var(--link-color) argument style function custom CSS. text_bold_color Bold Text Color. Defaults secondary_color. Modifies strong element. value variable also stored CSS variable can referenced var(--text-bold-color) argument style function custom CSS. text_slide_number_color Slide Number Color. Defaults text_color. Modifies .remark-slide-number class. padding Slide Padding top right [bottom left] format. Defaults 16px 64px 16px 64px. Modifies .remark-slide-content class. Accepts CSS padding property values. background_image Background image applied every slide. Set title_slide_background_image = \"none\" remove background image title slide. Defaults NULL. Modifies .remark-slide-content class. background_size Background image size, requires background_image set. background_image set, background_size default cover background fills screen. background_image background_position set, default 100 percent. Defaults NULL. Modifies .remark-slide-content class. Accepts CSS background-size property values. background_position Background image position, requires background_image set, recommended adjust background_size. Defaults NULL. Modifies .remark-slide-content class. Accepts CSS background-position property values. code_highlight_color Code Line Highlight. Defaults rgba(255,255,0,0.5). Modifies .remark-code-line-highlighted class. value variable also stored CSS variable can referenced var(--code-highlight-color) argument style function custom CSS. code_inline_color Inline Code Color. Defaults secondary_color. Modifies .remark-inline-code class. code_inline_background_color Inline Code Background Color. Defaults NULL. Modifies .remark-inline-code class. code_inline_font_size Inline Code Text Font Size. Defaults 1em. Modifies .remark-inline-code class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--code-inline-font-size) argument style function custom CSS. inverse_background_color Inverse Background Color. Defaults secondary_color. Modifies .inverse class. value variable also stored CSS variable can referenced var(--inverse-background-color) argument style function custom CSS. inverse_text_color Inverse Text Color. Defaults primary_color. Modifies .inverse class. value variable also stored CSS variable can referenced var(--inverse-text-color) argument style function custom CSS. inverse_text_shadow Enables Shadow text inverse slides. Defaults FALSE. Modifies .inverse class. inverse_header_color Inverse Header Color. Defaults inverse_text_color. Modifies .inverse h1, .inverse h2, .inverse h3 classes. value variable also stored CSS variable can referenced var(--inverse-header-color) argument style function custom CSS. inverse_link_color Inverse Link Color. Defaults link_color. Modifies .inverse , .inverse > code classes. value variable also stored CSS variable can referenced var(--inverse-link-color) argument style function custom CSS. title_slide_text_color Title Slide Text Color. Defaults secondary_color. Modifies .title-slide class. value variable also stored CSS variable can referenced var(--title-slide-text-color) argument style function custom CSS. title_slide_background_color Title Slide Background Color. Defaults primary_color. Modifies .title-slide class. value variable also stored CSS variable can referenced var(--title-slide-background-color) argument style function custom CSS. title_slide_background_image Title Slide Background Image URL. Defaults NULL. Modifies .title-slide class. title_slide_background_size Title Slide Background Image Size, defaults \"cover\" background image set. Defaults NULL. Modifies .title-slide class. Accepts CSS background-size property values. title_slide_background_position Title Slide Background Image Position. Defaults NULL. Modifies .title-slide class. Accepts CSS background-position property values. footnote_color Footnote text color (NA, color text_color). Defaults NULL. Modifies .footnote class. footnote_font_size Footnote font size. Defaults 0.9em. Modifies .footnote class. Accepts CSS font-size property values. footnote_position_bottom Footnote location bottom screen. Defaults 60px. Modifies .footnote class. Accepts CSS position property values. left_column_subtle_color Left Column Text (last). Defaults apply_alpha(secondary_color, 0.6). Modifies .left-column h2, .left-column h3 classes. left_column_selected_color Left Column Current Selection. Defaults secondary_color. Modifies .left-column h2:last--type, .left-column h3:last-child classes. blockquote_left_border_color Blockquote Left Border Color. Defaults apply_alpha(secondary_color, 0.5). Modifies blockquote element. table_border_color Table top/bottom border. Defaults #666. Modifies table: border-top, border-bottom elements. table_row_border_color Table row inner bottom border. Defaults #ddd. Modifies table thead th: border-bottom elements. table_row_even_background_color Table Even Row Background Color. Defaults lighten_color(primary_color, 0.9). Modifies thead, tfoot, tr:nth-child(even) elements. base_font_size Base Font Size Slide Elements (must px). Defaults 20px. Modifies html element. value variable also stored CSS variable can referenced var(--base-font-size) argument style function custom CSS. text_font_size Slide Body Text Font Size. Defaults 1rem. Modifies .remark-slide-content class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--text-font-size) argument style function custom CSS. header_h1_font_size h1 Header Text Font Size. Defaults 2.75rem. Modifies .remark-slide-content h1 class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--header-h1-font-size) argument style function custom CSS. header_h2_font_size h2 Header Text Font Size. Defaults 2.25rem. Modifies .remark-slide-content h2 class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--header-h2-font-size) argument style function custom CSS. header_h3_font_size h3 Header Text Font Size. Defaults 1.75rem. Modifies .remark-slide-content h3 class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--header-h3-font-size) argument style function custom CSS. header_background_auto Add background slide title automatically h1 header elements. enabled, use class: header_background enable. Defaults FALSE. header_background_color Background Color h1 Header Background. Defaults header_color. Modifies .remark-slide-content h1 class. value variable also stored CSS variable can referenced var(--header-background-color) argument style function custom CSS. header_background_text_color Text Color h1 Header Background. Defaults background_color. Modifies .remark-slide-content h1 class. value variable also stored CSS variable can referenced var(--header-background-text-color) argument style function custom CSS. header_background_padding Padding h1 Header Background. Defaults NULL. Modifies .remark-slide-content h1 class. Accepts CSS padding property values. header_background_content_padding_top Top Padding Content Slide Header Background. Defaults 7rem. Modifies .remark-slide-content class. header_background_ignore_classes Slide Classes Header Background Applied. Defaults c('normal', 'inverse', 'title', 'middle', 'bottom'). Modifies .remark-slide-content class. text_slide_number_font_size Slide Number Text Font Size. Defaults 0.9rem. Modifies .remark-slide-number class. Accepts CSS font-size property values. text_font_google Use google_font() specify body font. Defaults NULL. Modifies body element. text_font_family Body Text Font Family (xaringan default 'Droid Serif'). Defaults xaringanthemer_font_default(\"text_font_family\"). Modifies body element. value variable also stored CSS variable can referenced var(--text-font-family) argument style function custom CSS. text_font_weight Body Text Font Weight. Defaults xaringanthemer_font_default(\"text_font_weight\"). Modifies body element. Accepts CSS font-weight property values. text_bold_font_weight Body Bold Text Font Weight. Defaults bold. Modifies strong element. text_font_url Body Text Font URL(s). Defaults xaringanthemer_font_default(\"text_font_url\"). Modifies @import url() elements. text_font_family_fallback Body Text Font Fallbacks. Defaults xaringanthemer_font_default(\"text_font_family_fallback\"). Modifies body element. value variable also stored CSS variable can referenced var(--text-font-family-fallback) argument style function custom CSS. text_font_base Body Text Base Font (Total Failure Fallback). Defaults sans-serif. Modifies body element. value variable also stored CSS variable can referenced var(--text-font-base) argument style function custom CSS. header_font_google Use google_font() specify header font. Defaults NULL. Modifies body element. header_font_family Header Font Family (xaringan default 'Yanone Kaffeesatz'). Defaults xaringanthemer_font_default(\"header_font_family\"). Modifies h1, h2, h3 elements. value variable also stored CSS variable can referenced var(--header-font-family) argument style function custom CSS. header_font_weight Header Font Weight. Defaults xaringanthemer_font_default(\"header_font_weight\"). Modifies h1, h2, h3 elements. Accepts CSS font-weight property values. header_font_family_fallback Header Font Family Fallback. Defaults Georgia, serif. Modifies h1, h2, h3 elements. value variable also stored CSS variable can referenced var(--header-font-family-fallback) argument style function custom CSS. header_font_url Header Font URL. Defaults xaringanthemer_font_default(\"header_font_url\"). Modifies @import url elements. code_font_google Use google_font() specify code font. Defaults NULL. Modifies body element. code_font_family Code Font Family. Defaults xaringanthemer_font_default(\"code_font_family\"). Modifies .remark-code, .remark-inline-code classes. value variable also stored CSS variable can referenced var(--code-font-family) argument style function custom CSS. code_font_size Code Text Font Size. Defaults 0.9rem. Modifies .remark-inline class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--code-font-size) argument style function custom CSS. code_font_url Code Font URL. Defaults xaringanthemer_font_default(\"code_font_url\"). Modifies @import url elements. code_font_family_fallback Code Font Fallback. Defaults xaringanthemer_font_default(\"code_font_family_fallback\"). Modifies .remark-code, .remark-inline-code classes. link_decoration Text decoration links. Defaults none. Modifies , > code elements. Accepts CSS text-decoration property values. colors named vector custom colors. names colors become CSS variables classes can used within slides. example, colors = c(blue = \"#bad4ed\") adds CSS variable --blue, .blue CSS class applies color text foreground color, .bg-blue CSS class applies color background. extra_css named list CSS definitions containing named list CSS property-value pairs, .e. list(\".class-id\" = list(\"css-property\" = \"value\")). extra_fonts list additional fonts import, list element can either URL character string call google_font(). use font imported extra_fonts, need write custom CSS rules apply font element class font-family property. See Fonts section vignette(\"xaringanthemer\") example. outfile Customized xaringan CSS output file name, default \"xaringan-themer.css\"","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_duo.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Duotone Theme — style_duo","text":"CSS styles written file path provided outfile (default xaringan-themer.css). outfile NULL, CSS returned directly character string.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_duo.html","id":"usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Duotone Theme — style_duo","text":"use styles created theme function, make sure use xaringan-themer.css CSS file slides' YAML header. change name output file using outfile argument, use name instead default file name.","code":"output: xaringan::moon_reader: css: xaringan-themer.css"},{"path":[]},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_duo.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Duotone Theme — style_duo","text":"","code":"# Create a xaringan style in a temporary file xaringan_themer_css <- tempfile(\"xaringan-themer-\", fileext = \".css\") style_duo( primary_color = \"#1f4257\", secondary_color = \"#f97b64\", outfile = xaringan_themer_css # omit in your slides to write the # styles to xaringan-themer.css ) # View the CSS: # file.edit(xaringan_themer_css)"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_duo_accent.html","id":null,"dir":"Reference","previous_headings":"","what":"Duotone Accent Theme — style_duo_accent","title":"Duotone Accent Theme — style_duo_accent","text":"default xaringan theme two colors used color accents select elements (headers, bold text, etc.).","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_duo_accent.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Duotone Accent Theme — style_duo_accent","text":"","code":"style_duo_accent( primary_color = \"#035AA6\", secondary_color = \"#03A696\", white_color = \"#FFFFFF\", black_color = \"#000000\", text_color = black_color, header_color = primary_color, background_color = white_color, link_color = choose_dark_or_light(secondary_color, primary_color, secondary_color), text_bold_color = choose_dark_or_light(secondary_color, primary_color, secondary_color), text_slide_number_color = primary_color, padding = \"16px 64px 16px 64px\", background_image = NULL, background_size = NULL, background_position = NULL, code_highlight_color = \"rgba(255,255,0,0.5)\", code_inline_color = choose_dark_or_light(secondary_color, primary_color, secondary_color), code_inline_background_color = NULL, code_inline_font_size = \"1em\", inverse_background_color = secondary_color, inverse_text_color = choose_dark_or_light(secondary_color, black_color, white_color), inverse_text_shadow = FALSE, inverse_header_color = inverse_text_color, inverse_link_color = link_color, title_slide_text_color = choose_dark_or_light(primary_color, black_color, white_color), title_slide_background_color = primary_color, title_slide_background_image = NULL, title_slide_background_size = NULL, title_slide_background_position = NULL, footnote_color = NULL, footnote_font_size = \"0.9em\", footnote_position_bottom = \"60px\", left_column_subtle_color = apply_alpha(primary_color, 0.6), left_column_selected_color = primary_color, blockquote_left_border_color = apply_alpha(secondary_color, 0.5), table_border_color = \"#666\", table_row_border_color = \"#ddd\", table_row_even_background_color = lighten_color(secondary_color, 0.8), base_font_size = \"20px\", text_font_size = \"1rem\", header_h1_font_size = \"2.75rem\", header_h2_font_size = \"2.25rem\", header_h3_font_size = \"1.75rem\", header_background_auto = FALSE, header_background_color = header_color, header_background_text_color = background_color, header_background_padding = NULL, header_background_content_padding_top = \"7rem\", header_background_ignore_classes = c(\"normal\", \"inverse\", \"title\", \"middle\", \"bottom\"), text_slide_number_font_size = \"0.9rem\", text_font_google = NULL, text_font_family = xaringanthemer_font_default(\"text_font_family\"), text_font_weight = xaringanthemer_font_default(\"text_font_weight\"), text_bold_font_weight = \"bold\", text_font_url = xaringanthemer_font_default(\"text_font_url\"), text_font_family_fallback = xaringanthemer_font_default(\"text_font_family_fallback\"), text_font_base = \"sans-serif\", header_font_google = NULL, header_font_family = xaringanthemer_font_default(\"header_font_family\"), header_font_weight = xaringanthemer_font_default(\"header_font_weight\"), header_font_family_fallback = \"Georgia, serif\", header_font_url = xaringanthemer_font_default(\"header_font_url\"), code_font_google = NULL, code_font_family = xaringanthemer_font_default(\"code_font_family\"), code_font_size = \"0.9rem\", code_font_url = xaringanthemer_font_default(\"code_font_url\"), code_font_family_fallback = xaringanthemer_font_default(\"code_font_family_fallback\"), link_decoration = \"none\", colors = NULL, extra_css = NULL, extra_fonts = NULL, outfile = \"xaringan-themer.css\" )"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_duo_accent.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Duotone Accent Theme — style_duo_accent","text":"primary_color Duotone Primary Color. Defaults #035AA6. Used multiple CSS rules. value variable also stored CSS variable can referenced var(--primary) argument style function custom CSS. secondary_color Duotone Secondary Color. Defaults #03A696. Used multiple CSS rules. value variable also stored CSS variable can referenced var(--secondary) argument style function custom CSS. white_color Brightest color used. Defaults #FFFFFF. Used multiple CSS rules. value variable also stored CSS variable can referenced var(--white) argument style function custom CSS. black_color Darkest color used. Defaults #000000. Used multiple CSS rules. value variable also stored CSS variable can referenced var(--black) argument style function custom CSS. text_color Text Color. Defaults black_color. Modifies body element. value variable also stored CSS variable can referenced var(--text_color) argument style function custom CSS. header_color Header Color. Defaults primary_color. Modifies h1, h2, h3 elements. value variable also stored CSS variable can referenced var(--header-color) argument style function custom CSS. background_color Slide Background Color. Defaults white_color. Modifies .remark-slide-content class. value variable also stored CSS variable can referenced var(--background-color) argument style function custom CSS. link_color Link Color. Defaults choose_dark_or_light(secondary_color, primary_color, secondary_color). Modifies , > code elements. value variable also stored CSS variable can referenced var(--link-color) argument style function custom CSS. text_bold_color Bold Text Color. Defaults choose_dark_or_light(secondary_color, primary_color, secondary_color). Modifies strong element. value variable also stored CSS variable can referenced var(--text-bold-color) argument style function custom CSS. text_slide_number_color Slide Number Color. Defaults primary_color. Modifies .remark-slide-number class. padding Slide Padding top right [bottom left] format. Defaults 16px 64px 16px 64px. Modifies .remark-slide-content class. Accepts CSS padding property values. background_image Background image applied every slide. Set title_slide_background_image = \"none\" remove background image title slide. Defaults NULL. Modifies .remark-slide-content class. background_size Background image size, requires background_image set. background_image set, background_size default cover background fills screen. background_image background_position set, default 100 percent. Defaults NULL. Modifies .remark-slide-content class. Accepts CSS background-size property values. background_position Background image position, requires background_image set, recommended adjust background_size. Defaults NULL. Modifies .remark-slide-content class. Accepts CSS background-position property values. code_highlight_color Code Line Highlight. Defaults rgba(255,255,0,0.5). Modifies .remark-code-line-highlighted class. value variable also stored CSS variable can referenced var(--code-highlight-color) argument style function custom CSS. code_inline_color Inline Code Color. Defaults choose_dark_or_light(secondary_color, primary_color, secondary_color). Modifies .remark-inline-code class. code_inline_background_color Inline Code Background Color. Defaults NULL. Modifies .remark-inline-code class. code_inline_font_size Inline Code Text Font Size. Defaults 1em. Modifies .remark-inline-code class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--code-inline-font-size) argument style function custom CSS. inverse_background_color Inverse Background Color. Defaults secondary_color. Modifies .inverse class. value variable also stored CSS variable can referenced var(--inverse-background-color) argument style function custom CSS. inverse_text_color Inverse Text Color. Defaults choose_dark_or_light(secondary_color, black_color, white_color). Modifies .inverse class. value variable also stored CSS variable can referenced var(--inverse-text-color) argument style function custom CSS. inverse_text_shadow Enables Shadow text inverse slides. Defaults FALSE. Modifies .inverse class. inverse_header_color Inverse Header Color. Defaults inverse_text_color. Modifies .inverse h1, .inverse h2, .inverse h3 classes. value variable also stored CSS variable can referenced var(--inverse-header-color) argument style function custom CSS. inverse_link_color Inverse Link Color. Defaults link_color. Modifies .inverse , .inverse > code classes. value variable also stored CSS variable can referenced var(--inverse-link-color) argument style function custom CSS. title_slide_text_color Title Slide Text Color. Defaults choose_dark_or_light(primary_color, black_color, white_color). Modifies .title-slide class. value variable also stored CSS variable can referenced var(--title-slide-text-color) argument style function custom CSS. title_slide_background_color Title Slide Background Color. Defaults primary_color. Modifies .title-slide class. value variable also stored CSS variable can referenced var(--title-slide-background-color) argument style function custom CSS. title_slide_background_image Title Slide Background Image URL. Defaults NULL. Modifies .title-slide class. title_slide_background_size Title Slide Background Image Size, defaults \"cover\" background image set. Defaults NULL. Modifies .title-slide class. Accepts CSS background-size property values. title_slide_background_position Title Slide Background Image Position. Defaults NULL. Modifies .title-slide class. Accepts CSS background-position property values. footnote_color Footnote text color (NA, color text_color). Defaults NULL. Modifies .footnote class. footnote_font_size Footnote font size. Defaults 0.9em. Modifies .footnote class. Accepts CSS font-size property values. footnote_position_bottom Footnote location bottom screen. Defaults 60px. Modifies .footnote class. Accepts CSS position property values. left_column_subtle_color Left Column Text (last). Defaults apply_alpha(primary_color, 0.6). Modifies .left-column h2, .left-column h3 classes. left_column_selected_color Left Column Current Selection. Defaults primary_color. Modifies .left-column h2:last--type, .left-column h3:last-child classes. blockquote_left_border_color Blockquote Left Border Color. Defaults apply_alpha(secondary_color, 0.5). Modifies blockquote element. table_border_color Table top/bottom border. Defaults #666. Modifies table: border-top, border-bottom elements. table_row_border_color Table row inner bottom border. Defaults #ddd. Modifies table thead th: border-bottom elements. table_row_even_background_color Table Even Row Background Color. Defaults lighten_color(secondary_color, 0.8). Modifies thead, tfoot, tr:nth-child(even) elements. base_font_size Base Font Size Slide Elements (must px). Defaults 20px. Modifies html element. value variable also stored CSS variable can referenced var(--base-font-size) argument style function custom CSS. text_font_size Slide Body Text Font Size. Defaults 1rem. Modifies .remark-slide-content class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--text-font-size) argument style function custom CSS. header_h1_font_size h1 Header Text Font Size. Defaults 2.75rem. Modifies .remark-slide-content h1 class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--header-h1-font-size) argument style function custom CSS. header_h2_font_size h2 Header Text Font Size. Defaults 2.25rem. Modifies .remark-slide-content h2 class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--header-h2-font-size) argument style function custom CSS. header_h3_font_size h3 Header Text Font Size. Defaults 1.75rem. Modifies .remark-slide-content h3 class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--header-h3-font-size) argument style function custom CSS. header_background_auto Add background slide title automatically h1 header elements. enabled, use class: header_background enable. Defaults FALSE. header_background_color Background Color h1 Header Background. Defaults header_color. Modifies .remark-slide-content h1 class. value variable also stored CSS variable can referenced var(--header-background-color) argument style function custom CSS. header_background_text_color Text Color h1 Header Background. Defaults background_color. Modifies .remark-slide-content h1 class. value variable also stored CSS variable can referenced var(--header-background-text-color) argument style function custom CSS. header_background_padding Padding h1 Header Background. Defaults NULL. Modifies .remark-slide-content h1 class. Accepts CSS padding property values. header_background_content_padding_top Top Padding Content Slide Header Background. Defaults 7rem. Modifies .remark-slide-content class. header_background_ignore_classes Slide Classes Header Background Applied. Defaults c('normal', 'inverse', 'title', 'middle', 'bottom'). Modifies .remark-slide-content class. text_slide_number_font_size Slide Number Text Font Size. Defaults 0.9rem. Modifies .remark-slide-number class. Accepts CSS font-size property values. text_font_google Use google_font() specify body font. Defaults NULL. Modifies body element. text_font_family Body Text Font Family (xaringan default 'Droid Serif'). Defaults xaringanthemer_font_default(\"text_font_family\"). Modifies body element. value variable also stored CSS variable can referenced var(--text-font-family) argument style function custom CSS. text_font_weight Body Text Font Weight. Defaults xaringanthemer_font_default(\"text_font_weight\"). Modifies body element. Accepts CSS font-weight property values. text_bold_font_weight Body Bold Text Font Weight. Defaults bold. Modifies strong element. text_font_url Body Text Font URL(s). Defaults xaringanthemer_font_default(\"text_font_url\"). Modifies @import url() elements. text_font_family_fallback Body Text Font Fallbacks. Defaults xaringanthemer_font_default(\"text_font_family_fallback\"). Modifies body element. value variable also stored CSS variable can referenced var(--text-font-family-fallback) argument style function custom CSS. text_font_base Body Text Base Font (Total Failure Fallback). Defaults sans-serif. Modifies body element. value variable also stored CSS variable can referenced var(--text-font-base) argument style function custom CSS. header_font_google Use google_font() specify header font. Defaults NULL. Modifies body element. header_font_family Header Font Family (xaringan default 'Yanone Kaffeesatz'). Defaults xaringanthemer_font_default(\"header_font_family\"). Modifies h1, h2, h3 elements. value variable also stored CSS variable can referenced var(--header-font-family) argument style function custom CSS. header_font_weight Header Font Weight. Defaults xaringanthemer_font_default(\"header_font_weight\"). Modifies h1, h2, h3 elements. Accepts CSS font-weight property values. header_font_family_fallback Header Font Family Fallback. Defaults Georgia, serif. Modifies h1, h2, h3 elements. value variable also stored CSS variable can referenced var(--header-font-family-fallback) argument style function custom CSS. header_font_url Header Font URL. Defaults xaringanthemer_font_default(\"header_font_url\"). Modifies @import url elements. code_font_google Use google_font() specify code font. Defaults NULL. Modifies body element. code_font_family Code Font Family. Defaults xaringanthemer_font_default(\"code_font_family\"). Modifies .remark-code, .remark-inline-code classes. value variable also stored CSS variable can referenced var(--code-font-family) argument style function custom CSS. code_font_size Code Text Font Size. Defaults 0.9rem. Modifies .remark-inline class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--code-font-size) argument style function custom CSS. code_font_url Code Font URL. Defaults xaringanthemer_font_default(\"code_font_url\"). Modifies @import url elements. code_font_family_fallback Code Font Fallback. Defaults xaringanthemer_font_default(\"code_font_family_fallback\"). Modifies .remark-code, .remark-inline-code classes. link_decoration Text decoration links. Defaults none. Modifies , > code elements. Accepts CSS text-decoration property values. colors named vector custom colors. names colors become CSS variables classes can used within slides. example, colors = c(blue = \"#bad4ed\") adds CSS variable --blue, .blue CSS class applies color text foreground color, .bg-blue CSS class applies color background. extra_css named list CSS definitions containing named list CSS property-value pairs, .e. list(\".class-id\" = list(\"css-property\" = \"value\")). extra_fonts list additional fonts import, list element can either URL character string call google_font(). use font imported extra_fonts, need write custom CSS rules apply font element class font-family property. See Fonts section vignette(\"xaringanthemer\") example. outfile Customized xaringan CSS output file name, default \"xaringan-themer.css\"","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_duo_accent.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Duotone Accent Theme — style_duo_accent","text":"CSS styles written file path provided outfile (default xaringan-themer.css). outfile NULL, CSS returned directly character string.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_duo_accent.html","id":"usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Duotone Accent Theme — style_duo_accent","text":"use styles created theme function, make sure use xaringan-themer.css CSS file slides' YAML header. change name output file using outfile argument, use name instead default file name.","code":"output: xaringan::moon_reader: css: xaringan-themer.css"},{"path":[]},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_duo_accent.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Duotone Accent Theme — style_duo_accent","text":"","code":"# Create a xaringan style in a temporary file xaringan_themer_css <- tempfile(\"xaringan-themer-\", fileext = \".css\") style_duo_accent( primary_color = \"#006747\", secondary_color = \"#cfc493\", outfile = xaringan_themer_css # omit in your slides to write the # styles to xaringan-themer.css ) # View the CSS: # file.edit(xaringan_themer_css)"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_duo_accent_inverse.html","id":null,"dir":"Reference","previous_headings":"","what":"Duotone Accent Inverse Theme — style_duo_accent_inverse","title":"Duotone Accent Inverse Theme — style_duo_accent_inverse","text":"\"inverted\" default xaringan theme two colors used color accents select elements (headers, bold text, etc.).","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_duo_accent_inverse.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Duotone Accent Inverse Theme — style_duo_accent_inverse","text":"","code":"style_duo_accent_inverse( primary_color = \"#035AA6\", secondary_color = \"#03A696\", white_color = \"#FFFFFF\", black_color = \"#000000\", text_color = white_color, header_color = primary_color, background_color = black_color, link_color = choose_dark_or_light(secondary_color, secondary_color, primary_color), text_bold_color = choose_dark_or_light(secondary_color, secondary_color, primary_color), text_slide_number_color = primary_color, padding = \"16px 64px 16px 64px\", background_image = NULL, background_size = NULL, background_position = NULL, code_highlight_color = \"rgba(255,255,0,0.5)\", code_inline_color = choose_dark_or_light(secondary_color, secondary_color, primary_color), code_inline_background_color = NULL, code_inline_font_size = \"1em\", inverse_background_color = secondary_color, inverse_text_color = choose_dark_or_light(secondary_color, black_color, white_color), inverse_text_shadow = FALSE, inverse_header_color = inverse_text_color, inverse_link_color = link_color, title_slide_text_color = choose_dark_or_light(primary_color, black_color, white_color), title_slide_background_color = primary_color, title_slide_background_image = NULL, title_slide_background_size = NULL, title_slide_background_position = NULL, footnote_color = NULL, footnote_font_size = \"0.9em\", footnote_position_bottom = \"60px\", left_column_subtle_color = apply_alpha(primary_color, 0.6), left_column_selected_color = primary_color, blockquote_left_border_color = apply_alpha(secondary_color, 0.5), table_border_color = \"#666\", table_row_border_color = \"#ddd\", table_row_even_background_color = darken_color(choose_dark_or_light(primary_color, secondary_color, primary_color), 0.2), base_font_size = \"20px\", text_font_size = \"1rem\", header_h1_font_size = \"2.75rem\", header_h2_font_size = \"2.25rem\", header_h3_font_size = \"1.75rem\", header_background_auto = FALSE, header_background_color = header_color, header_background_text_color = background_color, header_background_padding = NULL, header_background_content_padding_top = \"7rem\", header_background_ignore_classes = c(\"normal\", \"inverse\", \"title\", \"middle\", \"bottom\"), text_slide_number_font_size = \"0.9rem\", text_font_google = NULL, text_font_family = xaringanthemer_font_default(\"text_font_family\"), text_font_weight = xaringanthemer_font_default(\"text_font_weight\"), text_bold_font_weight = \"bold\", text_font_url = xaringanthemer_font_default(\"text_font_url\"), text_font_family_fallback = xaringanthemer_font_default(\"text_font_family_fallback\"), text_font_base = \"sans-serif\", header_font_google = NULL, header_font_family = xaringanthemer_font_default(\"header_font_family\"), header_font_weight = xaringanthemer_font_default(\"header_font_weight\"), header_font_family_fallback = \"Georgia, serif\", header_font_url = xaringanthemer_font_default(\"header_font_url\"), code_font_google = NULL, code_font_family = xaringanthemer_font_default(\"code_font_family\"), code_font_size = \"0.9rem\", code_font_url = xaringanthemer_font_default(\"code_font_url\"), code_font_family_fallback = xaringanthemer_font_default(\"code_font_family_fallback\"), link_decoration = \"none\", colors = NULL, extra_css = NULL, extra_fonts = NULL, outfile = \"xaringan-themer.css\" )"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_duo_accent_inverse.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Duotone Accent Inverse Theme — style_duo_accent_inverse","text":"primary_color Duotone Primary Color. Defaults #035AA6. Used multiple CSS rules. value variable also stored CSS variable can referenced var(--primary) argument style function custom CSS. secondary_color Duotone Secondary Color. Defaults #03A696. Used multiple CSS rules. value variable also stored CSS variable can referenced var(--secondary) argument style function custom CSS. white_color Brightest color used. Defaults #FFFFFF. Used multiple CSS rules. value variable also stored CSS variable can referenced var(--white) argument style function custom CSS. black_color Darkest color used. Defaults #000000. Used multiple CSS rules. value variable also stored CSS variable can referenced var(--black) argument style function custom CSS. text_color Text Color. Defaults white_color. Modifies body element. value variable also stored CSS variable can referenced var(--text_color) argument style function custom CSS. header_color Header Color. Defaults primary_color. Modifies h1, h2, h3 elements. value variable also stored CSS variable can referenced var(--header-color) argument style function custom CSS. background_color Slide Background Color. Defaults black_color. Modifies .remark-slide-content class. value variable also stored CSS variable can referenced var(--background-color) argument style function custom CSS. link_color Link Color. Defaults choose_dark_or_light(secondary_color, secondary_color, primary_color). Modifies , > code elements. value variable also stored CSS variable can referenced var(--link-color) argument style function custom CSS. text_bold_color Bold Text Color. Defaults choose_dark_or_light(secondary_color, secondary_color, primary_color). Modifies strong element. value variable also stored CSS variable can referenced var(--text-bold-color) argument style function custom CSS. text_slide_number_color Slide Number Color. Defaults primary_color. Modifies .remark-slide-number class. padding Slide Padding top right [bottom left] format. Defaults 16px 64px 16px 64px. Modifies .remark-slide-content class. Accepts CSS padding property values. background_image Background image applied every slide. Set title_slide_background_image = \"none\" remove background image title slide. Defaults NULL. Modifies .remark-slide-content class. background_size Background image size, requires background_image set. background_image set, background_size default cover background fills screen. background_image background_position set, default 100 percent. Defaults NULL. Modifies .remark-slide-content class. Accepts CSS background-size property values. background_position Background image position, requires background_image set, recommended adjust background_size. Defaults NULL. Modifies .remark-slide-content class. Accepts CSS background-position property values. code_highlight_color Code Line Highlight. Defaults rgba(255,255,0,0.5). Modifies .remark-code-line-highlighted class. value variable also stored CSS variable can referenced var(--code-highlight-color) argument style function custom CSS. code_inline_color Inline Code Color. Defaults choose_dark_or_light(secondary_color, secondary_color, primary_color). Modifies .remark-inline-code class. code_inline_background_color Inline Code Background Color. Defaults NULL. Modifies .remark-inline-code class. code_inline_font_size Inline Code Text Font Size. Defaults 1em. Modifies .remark-inline-code class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--code-inline-font-size) argument style function custom CSS. inverse_background_color Inverse Background Color. Defaults secondary_color. Modifies .inverse class. value variable also stored CSS variable can referenced var(--inverse-background-color) argument style function custom CSS. inverse_text_color Inverse Text Color. Defaults choose_dark_or_light(secondary_color, black_color, white_color). Modifies .inverse class. value variable also stored CSS variable can referenced var(--inverse-text-color) argument style function custom CSS. inverse_text_shadow Enables Shadow text inverse slides. Defaults FALSE. Modifies .inverse class. inverse_header_color Inverse Header Color. Defaults inverse_text_color. Modifies .inverse h1, .inverse h2, .inverse h3 classes. value variable also stored CSS variable can referenced var(--inverse-header-color) argument style function custom CSS. inverse_link_color Inverse Link Color. Defaults link_color. Modifies .inverse , .inverse > code classes. value variable also stored CSS variable can referenced var(--inverse-link-color) argument style function custom CSS. title_slide_text_color Title Slide Text Color. Defaults choose_dark_or_light(primary_color, black_color, white_color). Modifies .title-slide class. value variable also stored CSS variable can referenced var(--title-slide-text-color) argument style function custom CSS. title_slide_background_color Title Slide Background Color. Defaults primary_color. Modifies .title-slide class. value variable also stored CSS variable can referenced var(--title-slide-background-color) argument style function custom CSS. title_slide_background_image Title Slide Background Image URL. Defaults NULL. Modifies .title-slide class. title_slide_background_size Title Slide Background Image Size, defaults \"cover\" background image set. Defaults NULL. Modifies .title-slide class. Accepts CSS background-size property values. title_slide_background_position Title Slide Background Image Position. Defaults NULL. Modifies .title-slide class. Accepts CSS background-position property values. footnote_color Footnote text color (NA, color text_color). Defaults NULL. Modifies .footnote class. footnote_font_size Footnote font size. Defaults 0.9em. Modifies .footnote class. Accepts CSS font-size property values. footnote_position_bottom Footnote location bottom screen. Defaults 60px. Modifies .footnote class. Accepts CSS position property values. left_column_subtle_color Left Column Text (last). Defaults apply_alpha(primary_color, 0.6). Modifies .left-column h2, .left-column h3 classes. left_column_selected_color Left Column Current Selection. Defaults primary_color. Modifies .left-column h2:last--type, .left-column h3:last-child classes. blockquote_left_border_color Blockquote Left Border Color. Defaults apply_alpha(secondary_color, 0.5). Modifies blockquote element. table_border_color Table top/bottom border. Defaults #666. Modifies table: border-top, border-bottom elements. table_row_border_color Table row inner bottom border. Defaults #ddd. Modifies table thead th: border-bottom elements. table_row_even_background_color Table Even Row Background Color. Defaults darken_color(choose_dark_or_light(primary_color, secondary_color, primary_color), 0.2). Modifies thead, tfoot, tr:nth-child(even) elements. base_font_size Base Font Size Slide Elements (must px). Defaults 20px. Modifies html element. value variable also stored CSS variable can referenced var(--base-font-size) argument style function custom CSS. text_font_size Slide Body Text Font Size. Defaults 1rem. Modifies .remark-slide-content class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--text-font-size) argument style function custom CSS. header_h1_font_size h1 Header Text Font Size. Defaults 2.75rem. Modifies .remark-slide-content h1 class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--header-h1-font-size) argument style function custom CSS. header_h2_font_size h2 Header Text Font Size. Defaults 2.25rem. Modifies .remark-slide-content h2 class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--header-h2-font-size) argument style function custom CSS. header_h3_font_size h3 Header Text Font Size. Defaults 1.75rem. Modifies .remark-slide-content h3 class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--header-h3-font-size) argument style function custom CSS. header_background_auto Add background slide title automatically h1 header elements. enabled, use class: header_background enable. Defaults FALSE. header_background_color Background Color h1 Header Background. Defaults header_color. Modifies .remark-slide-content h1 class. value variable also stored CSS variable can referenced var(--header-background-color) argument style function custom CSS. header_background_text_color Text Color h1 Header Background. Defaults background_color. Modifies .remark-slide-content h1 class. value variable also stored CSS variable can referenced var(--header-background-text-color) argument style function custom CSS. header_background_padding Padding h1 Header Background. Defaults NULL. Modifies .remark-slide-content h1 class. Accepts CSS padding property values. header_background_content_padding_top Top Padding Content Slide Header Background. Defaults 7rem. Modifies .remark-slide-content class. header_background_ignore_classes Slide Classes Header Background Applied. Defaults c('normal', 'inverse', 'title', 'middle', 'bottom'). Modifies .remark-slide-content class. text_slide_number_font_size Slide Number Text Font Size. Defaults 0.9rem. Modifies .remark-slide-number class. Accepts CSS font-size property values. text_font_google Use google_font() specify body font. Defaults NULL. Modifies body element. text_font_family Body Text Font Family (xaringan default 'Droid Serif'). Defaults xaringanthemer_font_default(\"text_font_family\"). Modifies body element. value variable also stored CSS variable can referenced var(--text-font-family) argument style function custom CSS. text_font_weight Body Text Font Weight. Defaults xaringanthemer_font_default(\"text_font_weight\"). Modifies body element. Accepts CSS font-weight property values. text_bold_font_weight Body Bold Text Font Weight. Defaults bold. Modifies strong element. text_font_url Body Text Font URL(s). Defaults xaringanthemer_font_default(\"text_font_url\"). Modifies @import url() elements. text_font_family_fallback Body Text Font Fallbacks. Defaults xaringanthemer_font_default(\"text_font_family_fallback\"). Modifies body element. value variable also stored CSS variable can referenced var(--text-font-family-fallback) argument style function custom CSS. text_font_base Body Text Base Font (Total Failure Fallback). Defaults sans-serif. Modifies body element. value variable also stored CSS variable can referenced var(--text-font-base) argument style function custom CSS. header_font_google Use google_font() specify header font. Defaults NULL. Modifies body element. header_font_family Header Font Family (xaringan default 'Yanone Kaffeesatz'). Defaults xaringanthemer_font_default(\"header_font_family\"). Modifies h1, h2, h3 elements. value variable also stored CSS variable can referenced var(--header-font-family) argument style function custom CSS. header_font_weight Header Font Weight. Defaults xaringanthemer_font_default(\"header_font_weight\"). Modifies h1, h2, h3 elements. Accepts CSS font-weight property values. header_font_family_fallback Header Font Family Fallback. Defaults Georgia, serif. Modifies h1, h2, h3 elements. value variable also stored CSS variable can referenced var(--header-font-family-fallback) argument style function custom CSS. header_font_url Header Font URL. Defaults xaringanthemer_font_default(\"header_font_url\"). Modifies @import url elements. code_font_google Use google_font() specify code font. Defaults NULL. Modifies body element. code_font_family Code Font Family. Defaults xaringanthemer_font_default(\"code_font_family\"). Modifies .remark-code, .remark-inline-code classes. value variable also stored CSS variable can referenced var(--code-font-family) argument style function custom CSS. code_font_size Code Text Font Size. Defaults 0.9rem. Modifies .remark-inline class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--code-font-size) argument style function custom CSS. code_font_url Code Font URL. Defaults xaringanthemer_font_default(\"code_font_url\"). Modifies @import url elements. code_font_family_fallback Code Font Fallback. Defaults xaringanthemer_font_default(\"code_font_family_fallback\"). Modifies .remark-code, .remark-inline-code classes. link_decoration Text decoration links. Defaults none. Modifies , > code elements. Accepts CSS text-decoration property values. colors named vector custom colors. names colors become CSS variables classes can used within slides. example, colors = c(blue = \"#bad4ed\") adds CSS variable --blue, .blue CSS class applies color text foreground color, .bg-blue CSS class applies color background. extra_css named list CSS definitions containing named list CSS property-value pairs, .e. list(\".class-id\" = list(\"css-property\" = \"value\")). extra_fonts list additional fonts import, list element can either URL character string call google_font(). use font imported extra_fonts, need write custom CSS rules apply font element class font-family property. See Fonts section vignette(\"xaringanthemer\") example. outfile Customized xaringan CSS output file name, default \"xaringan-themer.css\"","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_duo_accent_inverse.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Duotone Accent Inverse Theme — style_duo_accent_inverse","text":"CSS styles written file path provided outfile (default xaringan-themer.css). outfile NULL, CSS returned directly character string.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_duo_accent_inverse.html","id":"usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Duotone Accent Inverse Theme — style_duo_accent_inverse","text":"use styles created theme function, make sure use xaringan-themer.css CSS file slides' YAML header. change name output file using outfile argument, use name instead default file name.","code":"output: xaringan::moon_reader: css: xaringan-themer.css"},{"path":[]},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_duo_accent_inverse.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Duotone Accent Inverse Theme — style_duo_accent_inverse","text":"","code":"# Create a xaringan style in a temporary file xaringan_themer_css <- tempfile(\"xaringan-themer-\", fileext = \".css\") style_duo_accent_inverse( primary_color = \"#006747\", secondary_color = \"#cfc493\", outfile = xaringan_themer_css # omit in your slides to write the # styles to xaringan-themer.css ) # View the CSS: # file.edit(xaringan_themer_css)"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_extra_css.html","id":null,"dir":"Reference","previous_headings":"","what":"Add Extra CSS Styles — style_extra_css","title":"Add Extra CSS Styles — style_extra_css","text":"Adds css elements target outfile, typically xaringanthemer css file. css argument takes list CSS classes definitions (see examples ) appends CSS rules outfile.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_extra_css.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add Extra CSS Styles — style_extra_css","text":"","code":"style_extra_css( css, outfile = \"xaringan-themer.css\", append = TRUE, heading = \"Extra CSS\" )"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_extra_css.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add Extra CSS Styles — style_extra_css","text":"css named list CSS definitions containing named list CSS property-value pairs, .e. list(\".class-id\" = list(\"css-property\" = \"value\")) outfile Customized xaringan CSS output file name, default \"xaringan-themer.css\" append TRUE output appended outfile; otherwise, overwrite contents outfile. heading Heading added extra CSS. Use NULL disable.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_extra_css.html","id":"css-list","dir":"Reference","previous_headings":"","what":"css list","title":"Add Extra CSS Styles — style_extra_css","text":"css input must named list css properties values within named list class identifiers, example list(\".class-id\" = list(\"css-property\" = \"value\")).","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_extra_css.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add Extra CSS Styles — style_extra_css","text":"","code":"style_extra_css( outfile = stdout(), css = list( \".red\" = list(color = \"red\"), \".small\" = list(\"font-size\" = \"90%\"), \".full-width\" = list( display = \"flex\", width = \"100%\", flex = \"1 1 auto\" ) ) ) #> #> #> /* Extra CSS */ #> .red { #> color: red; #> } #> .small { #> font-size: 90%; #> } #> .full-width { #> display: flex; #> width: 100%; #> flex: 1 1 auto; #> }"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_mono_accent.html","id":null,"dir":"Reference","previous_headings":"","what":"Monotone Accent Theme — style_mono_accent","title":"Monotone Accent Theme — style_mono_accent","text":"default xaringan theme single color used color accents select elements (headers, bold text, etc.).","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_mono_accent.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Monotone Accent Theme — style_mono_accent","text":"","code":"style_mono_accent( base_color = \"#43418A\", white_color = \"#FFFFFF\", black_color = \"#272822\", text_color = black_color, header_color = base_color, background_color = white_color, link_color = base_color, text_bold_color = base_color, text_slide_number_color = base_color, padding = \"16px 64px 16px 64px\", background_image = NULL, background_size = NULL, background_position = NULL, code_highlight_color = \"rgba(255,255,0,0.5)\", code_inline_color = base_color, code_inline_background_color = NULL, code_inline_font_size = \"1em\", inverse_background_color = base_color, inverse_text_color = white_color, inverse_text_shadow = FALSE, inverse_header_color = inverse_text_color, inverse_link_color = link_color, title_slide_text_color = inverse_text_color, title_slide_background_color = inverse_background_color, title_slide_background_image = NULL, title_slide_background_size = NULL, title_slide_background_position = NULL, footnote_color = NULL, footnote_font_size = \"0.9em\", footnote_position_bottom = \"60px\", left_column_subtle_color = apply_alpha(base_color, 0.6), left_column_selected_color = base_color, blockquote_left_border_color = apply_alpha(base_color, 0.5), table_border_color = \"#666\", table_row_border_color = \"#ddd\", table_row_even_background_color = lighten_color(base_color, 0.8), base_font_size = \"20px\", text_font_size = \"1rem\", header_h1_font_size = \"2.75rem\", header_h2_font_size = \"2.25rem\", header_h3_font_size = \"1.75rem\", header_background_auto = FALSE, header_background_color = header_color, header_background_text_color = background_color, header_background_padding = NULL, header_background_content_padding_top = \"7rem\", header_background_ignore_classes = c(\"normal\", \"inverse\", \"title\", \"middle\", \"bottom\"), text_slide_number_font_size = \"0.9rem\", text_font_google = NULL, text_font_family = xaringanthemer_font_default(\"text_font_family\"), text_font_weight = xaringanthemer_font_default(\"text_font_weight\"), text_bold_font_weight = \"bold\", text_font_url = xaringanthemer_font_default(\"text_font_url\"), text_font_family_fallback = xaringanthemer_font_default(\"text_font_family_fallback\"), text_font_base = \"sans-serif\", header_font_google = NULL, header_font_family = xaringanthemer_font_default(\"header_font_family\"), header_font_weight = xaringanthemer_font_default(\"header_font_weight\"), header_font_family_fallback = \"Georgia, serif\", header_font_url = xaringanthemer_font_default(\"header_font_url\"), code_font_google = NULL, code_font_family = xaringanthemer_font_default(\"code_font_family\"), code_font_size = \"0.9rem\", code_font_url = xaringanthemer_font_default(\"code_font_url\"), code_font_family_fallback = xaringanthemer_font_default(\"code_font_family_fallback\"), link_decoration = \"none\", colors = NULL, extra_css = NULL, extra_fonts = NULL, outfile = \"xaringan-themer.css\" )"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_mono_accent.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Monotone Accent Theme — style_mono_accent","text":"base_color Monotone Base Color, works best strong color. Defaults #43418A. Used multiple CSS rules. value variable also stored CSS variable can referenced var(--base) argument style function custom CSS. white_color Brightest color used. Defaults #FFFFFF. Used multiple CSS rules. value variable also stored CSS variable can referenced var(--white) argument style function custom CSS. black_color Darkest color used. Defaults #272822. Used multiple CSS rules. value variable also stored CSS variable can referenced var(--black) argument style function custom CSS. text_color Text Color. Defaults black_color. Modifies body element. value variable also stored CSS variable can referenced var(--text_color) argument style function custom CSS. header_color Header Color. Defaults base_color. Modifies h1, h2, h3 elements. value variable also stored CSS variable can referenced var(--header-color) argument style function custom CSS. background_color Slide Background Color. Defaults white_color. Modifies .remark-slide-content class. value variable also stored CSS variable can referenced var(--background-color) argument style function custom CSS. link_color Link Color. Defaults base_color. Modifies , > code elements. value variable also stored CSS variable can referenced var(--link-color) argument style function custom CSS. text_bold_color Bold Text Color. Defaults base_color. Modifies strong element. value variable also stored CSS variable can referenced var(--text-bold-color) argument style function custom CSS. text_slide_number_color Slide Number Color. Defaults base_color. Modifies .remark-slide-number class. padding Slide Padding top right [bottom left] format. Defaults 16px 64px 16px 64px. Modifies .remark-slide-content class. Accepts CSS padding property values. background_image Background image applied every slide. Set title_slide_background_image = \"none\" remove background image title slide. Defaults NULL. Modifies .remark-slide-content class. background_size Background image size, requires background_image set. background_image set, background_size default cover background fills screen. background_image background_position set, default 100 percent. Defaults NULL. Modifies .remark-slide-content class. Accepts CSS background-size property values. background_position Background image position, requires background_image set, recommended adjust background_size. Defaults NULL. Modifies .remark-slide-content class. Accepts CSS background-position property values. code_highlight_color Code Line Highlight. Defaults rgba(255,255,0,0.5). Modifies .remark-code-line-highlighted class. value variable also stored CSS variable can referenced var(--code-highlight-color) argument style function custom CSS. code_inline_color Inline Code Color. Defaults base_color. Modifies .remark-inline-code class. code_inline_background_color Inline Code Background Color. Defaults NULL. Modifies .remark-inline-code class. code_inline_font_size Inline Code Text Font Size. Defaults 1em. Modifies .remark-inline-code class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--code-inline-font-size) argument style function custom CSS. inverse_background_color Inverse Background Color. Defaults base_color. Modifies .inverse class. value variable also stored CSS variable can referenced var(--inverse-background-color) argument style function custom CSS. inverse_text_color Inverse Text Color. Defaults white_color. Modifies .inverse class. value variable also stored CSS variable can referenced var(--inverse-text-color) argument style function custom CSS. inverse_text_shadow Enables Shadow text inverse slides. Defaults FALSE. Modifies .inverse class. inverse_header_color Inverse Header Color. Defaults inverse_text_color. Modifies .inverse h1, .inverse h2, .inverse h3 classes. value variable also stored CSS variable can referenced var(--inverse-header-color) argument style function custom CSS. inverse_link_color Inverse Link Color. Defaults link_color. Modifies .inverse , .inverse > code classes. value variable also stored CSS variable can referenced var(--inverse-link-color) argument style function custom CSS. title_slide_text_color Title Slide Text Color. Defaults inverse_text_color. Modifies .title-slide class. value variable also stored CSS variable can referenced var(--title-slide-text-color) argument style function custom CSS. title_slide_background_color Title Slide Background Color. Defaults inverse_background_color. Modifies .title-slide class. value variable also stored CSS variable can referenced var(--title-slide-background-color) argument style function custom CSS. title_slide_background_image Title Slide Background Image URL. Defaults NULL. Modifies .title-slide class. title_slide_background_size Title Slide Background Image Size, defaults \"cover\" background image set. Defaults NULL. Modifies .title-slide class. Accepts CSS background-size property values. title_slide_background_position Title Slide Background Image Position. Defaults NULL. Modifies .title-slide class. Accepts CSS background-position property values. footnote_color Footnote text color (NA, color text_color). Defaults NULL. Modifies .footnote class. footnote_font_size Footnote font size. Defaults 0.9em. Modifies .footnote class. Accepts CSS font-size property values. footnote_position_bottom Footnote location bottom screen. Defaults 60px. Modifies .footnote class. Accepts CSS position property values. left_column_subtle_color Left Column Text (last). Defaults apply_alpha(base_color, 0.6). Modifies .left-column h2, .left-column h3 classes. left_column_selected_color Left Column Current Selection. Defaults base_color. Modifies .left-column h2:last--type, .left-column h3:last-child classes. blockquote_left_border_color Blockquote Left Border Color. Defaults apply_alpha(base_color, 0.5). Modifies blockquote element. table_border_color Table top/bottom border. Defaults #666. Modifies table: border-top, border-bottom elements. table_row_border_color Table row inner bottom border. Defaults #ddd. Modifies table thead th: border-bottom elements. table_row_even_background_color Table Even Row Background Color. Defaults lighten_color(base_color, 0.8). Modifies thead, tfoot, tr:nth-child(even) elements. base_font_size Base Font Size Slide Elements (must px). Defaults 20px. Modifies html element. value variable also stored CSS variable can referenced var(--base-font-size) argument style function custom CSS. text_font_size Slide Body Text Font Size. Defaults 1rem. Modifies .remark-slide-content class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--text-font-size) argument style function custom CSS. header_h1_font_size h1 Header Text Font Size. Defaults 2.75rem. Modifies .remark-slide-content h1 class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--header-h1-font-size) argument style function custom CSS. header_h2_font_size h2 Header Text Font Size. Defaults 2.25rem. Modifies .remark-slide-content h2 class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--header-h2-font-size) argument style function custom CSS. header_h3_font_size h3 Header Text Font Size. Defaults 1.75rem. Modifies .remark-slide-content h3 class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--header-h3-font-size) argument style function custom CSS. header_background_auto Add background slide title automatically h1 header elements. enabled, use class: header_background enable. Defaults FALSE. header_background_color Background Color h1 Header Background. Defaults header_color. Modifies .remark-slide-content h1 class. value variable also stored CSS variable can referenced var(--header-background-color) argument style function custom CSS. header_background_text_color Text Color h1 Header Background. Defaults background_color. Modifies .remark-slide-content h1 class. value variable also stored CSS variable can referenced var(--header-background-text-color) argument style function custom CSS. header_background_padding Padding h1 Header Background. Defaults NULL. Modifies .remark-slide-content h1 class. Accepts CSS padding property values. header_background_content_padding_top Top Padding Content Slide Header Background. Defaults 7rem. Modifies .remark-slide-content class. header_background_ignore_classes Slide Classes Header Background Applied. Defaults c('normal', 'inverse', 'title', 'middle', 'bottom'). Modifies .remark-slide-content class. text_slide_number_font_size Slide Number Text Font Size. Defaults 0.9rem. Modifies .remark-slide-number class. Accepts CSS font-size property values. text_font_google Use google_font() specify body font. Defaults NULL. Modifies body element. text_font_family Body Text Font Family (xaringan default 'Droid Serif'). Defaults xaringanthemer_font_default(\"text_font_family\"). Modifies body element. value variable also stored CSS variable can referenced var(--text-font-family) argument style function custom CSS. text_font_weight Body Text Font Weight. Defaults xaringanthemer_font_default(\"text_font_weight\"). Modifies body element. Accepts CSS font-weight property values. text_bold_font_weight Body Bold Text Font Weight. Defaults bold. Modifies strong element. text_font_url Body Text Font URL(s). Defaults xaringanthemer_font_default(\"text_font_url\"). Modifies @import url() elements. text_font_family_fallback Body Text Font Fallbacks. Defaults xaringanthemer_font_default(\"text_font_family_fallback\"). Modifies body element. value variable also stored CSS variable can referenced var(--text-font-family-fallback) argument style function custom CSS. text_font_base Body Text Base Font (Total Failure Fallback). Defaults sans-serif. Modifies body element. value variable also stored CSS variable can referenced var(--text-font-base) argument style function custom CSS. header_font_google Use google_font() specify header font. Defaults NULL. Modifies body element. header_font_family Header Font Family (xaringan default 'Yanone Kaffeesatz'). Defaults xaringanthemer_font_default(\"header_font_family\"). Modifies h1, h2, h3 elements. value variable also stored CSS variable can referenced var(--header-font-family) argument style function custom CSS. header_font_weight Header Font Weight. Defaults xaringanthemer_font_default(\"header_font_weight\"). Modifies h1, h2, h3 elements. Accepts CSS font-weight property values. header_font_family_fallback Header Font Family Fallback. Defaults Georgia, serif. Modifies h1, h2, h3 elements. value variable also stored CSS variable can referenced var(--header-font-family-fallback) argument style function custom CSS. header_font_url Header Font URL. Defaults xaringanthemer_font_default(\"header_font_url\"). Modifies @import url elements. code_font_google Use google_font() specify code font. Defaults NULL. Modifies body element. code_font_family Code Font Family. Defaults xaringanthemer_font_default(\"code_font_family\"). Modifies .remark-code, .remark-inline-code classes. value variable also stored CSS variable can referenced var(--code-font-family) argument style function custom CSS. code_font_size Code Text Font Size. Defaults 0.9rem. Modifies .remark-inline class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--code-font-size) argument style function custom CSS. code_font_url Code Font URL. Defaults xaringanthemer_font_default(\"code_font_url\"). Modifies @import url elements. code_font_family_fallback Code Font Fallback. Defaults xaringanthemer_font_default(\"code_font_family_fallback\"). Modifies .remark-code, .remark-inline-code classes. link_decoration Text decoration links. Defaults none. Modifies , > code elements. Accepts CSS text-decoration property values. colors named vector custom colors. names colors become CSS variables classes can used within slides. example, colors = c(blue = \"#bad4ed\") adds CSS variable --blue, .blue CSS class applies color text foreground color, .bg-blue CSS class applies color background. extra_css named list CSS definitions containing named list CSS property-value pairs, .e. list(\".class-id\" = list(\"css-property\" = \"value\")). extra_fonts list additional fonts import, list element can either URL character string call google_font(). use font imported extra_fonts, need write custom CSS rules apply font element class font-family property. See Fonts section vignette(\"xaringanthemer\") example. outfile Customized xaringan CSS output file name, default \"xaringan-themer.css\"","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_mono_accent.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Monotone Accent Theme — style_mono_accent","text":"CSS styles written file path provided outfile (default xaringan-themer.css). outfile NULL, CSS returned directly character string.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_mono_accent.html","id":"usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Monotone Accent Theme — style_mono_accent","text":"use styles created theme function, make sure use xaringan-themer.css CSS file slides' YAML header. change name output file using outfile argument, use name instead default file name.","code":"output: xaringan::moon_reader: css: xaringan-themer.css"},{"path":[]},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_mono_accent.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Monotone Accent Theme — style_mono_accent","text":"","code":"# Create a xaringan style in a temporary file xaringan_themer_css <- tempfile(\"xaringan-themer-\", fileext = \".css\") style_mono_accent( base_color = \"#43418A\", outfile = xaringan_themer_css # omit in your slides to write the # styles to xaringan-themer.css ) # View the CSS: # file.edit(xaringan_themer_css)"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_mono_accent_inverse.html","id":null,"dir":"Reference","previous_headings":"","what":"Monotone Accent Inverse Theme — style_mono_accent_inverse","title":"Monotone Accent Inverse Theme — style_mono_accent_inverse","text":"\"inverted\" default xaringan theme single color used color accents select elements (headers, bold text, etc.).","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_mono_accent_inverse.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Monotone Accent Inverse Theme — style_mono_accent_inverse","text":"","code":"style_mono_accent_inverse( base_color = \"#3C989E\", white_color = \"#FFFFFF\", black_color = darken_color(base_color, 0.9), text_color = white_color, header_color = base_color, background_color = black_color, link_color = base_color, text_bold_color = base_color, text_slide_number_color = base_color, padding = \"16px 64px 16px 64px\", background_image = NULL, background_size = NULL, background_position = NULL, code_highlight_color = \"rgba(255,255,0,0.5)\", code_inline_color = base_color, code_inline_background_color = NULL, code_inline_font_size = \"1em\", inverse_background_color = base_color, inverse_text_color = black_color, inverse_text_shadow = FALSE, inverse_header_color = inverse_text_color, inverse_link_color = link_color, title_slide_text_color = inverse_text_color, title_slide_background_color = inverse_background_color, title_slide_background_image = NULL, title_slide_background_size = NULL, title_slide_background_position = NULL, footnote_color = NULL, footnote_font_size = \"0.9em\", footnote_position_bottom = \"60px\", left_column_subtle_color = apply_alpha(base_color, 0.6), left_column_selected_color = base_color, blockquote_left_border_color = apply_alpha(base_color, 0.5), table_border_color = \"#666\", table_row_border_color = \"#ddd\", table_row_even_background_color = darken_color(base_color, 0.8), base_font_size = \"20px\", text_font_size = \"1rem\", header_h1_font_size = \"2.75rem\", header_h2_font_size = \"2.25rem\", header_h3_font_size = \"1.75rem\", header_background_auto = FALSE, header_background_color = header_color, header_background_text_color = background_color, header_background_padding = NULL, header_background_content_padding_top = \"7rem\", header_background_ignore_classes = c(\"normal\", \"inverse\", \"title\", \"middle\", \"bottom\"), text_slide_number_font_size = \"0.9rem\", text_font_google = NULL, text_font_family = xaringanthemer_font_default(\"text_font_family\"), text_font_weight = xaringanthemer_font_default(\"text_font_weight\"), text_bold_font_weight = \"bold\", text_font_url = xaringanthemer_font_default(\"text_font_url\"), text_font_family_fallback = xaringanthemer_font_default(\"text_font_family_fallback\"), text_font_base = \"sans-serif\", header_font_google = NULL, header_font_family = xaringanthemer_font_default(\"header_font_family\"), header_font_weight = xaringanthemer_font_default(\"header_font_weight\"), header_font_family_fallback = \"Georgia, serif\", header_font_url = xaringanthemer_font_default(\"header_font_url\"), code_font_google = NULL, code_font_family = xaringanthemer_font_default(\"code_font_family\"), code_font_size = \"0.9rem\", code_font_url = xaringanthemer_font_default(\"code_font_url\"), code_font_family_fallback = xaringanthemer_font_default(\"code_font_family_fallback\"), link_decoration = \"none\", colors = NULL, extra_css = NULL, extra_fonts = NULL, outfile = \"xaringan-themer.css\" )"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_mono_accent_inverse.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Monotone Accent Inverse Theme — style_mono_accent_inverse","text":"base_color Monotone Base Color, works best light color. Defaults #3C989E. Used multiple CSS rules. value variable also stored CSS variable can referenced var(--base) argument style function custom CSS. white_color Brightest color used, default light version base_color. Defaults #FFFFFF. Used multiple CSS rules. value variable also stored CSS variable can referenced var(--white) argument style function custom CSS. black_color Darkest color used, default dark, version base_color. Defaults darken_color(base_color, 0.9). Used multiple CSS rules. value variable also stored CSS variable can referenced var(--black) argument style function custom CSS. text_color Text Color. Defaults white_color. Modifies body element. value variable also stored CSS variable can referenced var(--text_color) argument style function custom CSS. header_color Header Color. Defaults base_color. Modifies h1, h2, h3 elements. value variable also stored CSS variable can referenced var(--header-color) argument style function custom CSS. background_color Slide Background Color. Defaults black_color. Modifies .remark-slide-content class. value variable also stored CSS variable can referenced var(--background-color) argument style function custom CSS. link_color Link Color. Defaults base_color. Modifies , > code elements. value variable also stored CSS variable can referenced var(--link-color) argument style function custom CSS. text_bold_color Bold Text Color. Defaults base_color. Modifies strong element. value variable also stored CSS variable can referenced var(--text-bold-color) argument style function custom CSS. text_slide_number_color Slide Number Color. Defaults base_color. Modifies .remark-slide-number class. padding Slide Padding top right [bottom left] format. Defaults 16px 64px 16px 64px. Modifies .remark-slide-content class. Accepts CSS padding property values. background_image Background image applied every slide. Set title_slide_background_image = \"none\" remove background image title slide. Defaults NULL. Modifies .remark-slide-content class. background_size Background image size, requires background_image set. background_image set, background_size default cover background fills screen. background_image background_position set, default 100 percent. Defaults NULL. Modifies .remark-slide-content class. Accepts CSS background-size property values. background_position Background image position, requires background_image set, recommended adjust background_size. Defaults NULL. Modifies .remark-slide-content class. Accepts CSS background-position property values. code_highlight_color Code Line Highlight. Defaults rgba(255,255,0,0.5). Modifies .remark-code-line-highlighted class. value variable also stored CSS variable can referenced var(--code-highlight-color) argument style function custom CSS. code_inline_color Inline Code Color. Defaults base_color. Modifies .remark-inline-code class. code_inline_background_color Inline Code Background Color. Defaults NULL. Modifies .remark-inline-code class. code_inline_font_size Inline Code Text Font Size. Defaults 1em. Modifies .remark-inline-code class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--code-inline-font-size) argument style function custom CSS. inverse_background_color Inverse Background Color. Defaults base_color. Modifies .inverse class. value variable also stored CSS variable can referenced var(--inverse-background-color) argument style function custom CSS. inverse_text_color Inverse Text Color. Defaults black_color. Modifies .inverse class. value variable also stored CSS variable can referenced var(--inverse-text-color) argument style function custom CSS. inverse_text_shadow Enables Shadow text inverse slides. Defaults FALSE. Modifies .inverse class. inverse_header_color Inverse Header Color. Defaults inverse_text_color. Modifies .inverse h1, .inverse h2, .inverse h3 classes. value variable also stored CSS variable can referenced var(--inverse-header-color) argument style function custom CSS. inverse_link_color Inverse Link Color. Defaults link_color. Modifies .inverse , .inverse > code classes. value variable also stored CSS variable can referenced var(--inverse-link-color) argument style function custom CSS. title_slide_text_color Title Slide Text Color. Defaults inverse_text_color. Modifies .title-slide class. value variable also stored CSS variable can referenced var(--title-slide-text-color) argument style function custom CSS. title_slide_background_color Title Slide Background Color. Defaults inverse_background_color. Modifies .title-slide class. value variable also stored CSS variable can referenced var(--title-slide-background-color) argument style function custom CSS. title_slide_background_image Title Slide Background Image URL. Defaults NULL. Modifies .title-slide class. title_slide_background_size Title Slide Background Image Size, defaults \"cover\" background image set. Defaults NULL. Modifies .title-slide class. Accepts CSS background-size property values. title_slide_background_position Title Slide Background Image Position. Defaults NULL. Modifies .title-slide class. Accepts CSS background-position property values. footnote_color Footnote text color (NA, color text_color). Defaults NULL. Modifies .footnote class. footnote_font_size Footnote font size. Defaults 0.9em. Modifies .footnote class. Accepts CSS font-size property values. footnote_position_bottom Footnote location bottom screen. Defaults 60px. Modifies .footnote class. Accepts CSS position property values. left_column_subtle_color Left Column Text (last). Defaults apply_alpha(base_color, 0.6). Modifies .left-column h2, .left-column h3 classes. left_column_selected_color Left Column Current Selection. Defaults base_color. Modifies .left-column h2:last--type, .left-column h3:last-child classes. blockquote_left_border_color Blockquote Left Border Color. Defaults apply_alpha(base_color, 0.5). Modifies blockquote element. table_border_color Table top/bottom border. Defaults #666. Modifies table: border-top, border-bottom elements. table_row_border_color Table row inner bottom border. Defaults #ddd. Modifies table thead th: border-bottom elements. table_row_even_background_color Table Even Row Background Color. Defaults darken_color(base_color, 0.8). Modifies thead, tfoot, tr:nth-child(even) elements. base_font_size Base Font Size Slide Elements (must px). Defaults 20px. Modifies html element. value variable also stored CSS variable can referenced var(--base-font-size) argument style function custom CSS. text_font_size Slide Body Text Font Size. Defaults 1rem. Modifies .remark-slide-content class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--text-font-size) argument style function custom CSS. header_h1_font_size h1 Header Text Font Size. Defaults 2.75rem. Modifies .remark-slide-content h1 class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--header-h1-font-size) argument style function custom CSS. header_h2_font_size h2 Header Text Font Size. Defaults 2.25rem. Modifies .remark-slide-content h2 class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--header-h2-font-size) argument style function custom CSS. header_h3_font_size h3 Header Text Font Size. Defaults 1.75rem. Modifies .remark-slide-content h3 class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--header-h3-font-size) argument style function custom CSS. header_background_auto Add background slide title automatically h1 header elements. enabled, use class: header_background enable. Defaults FALSE. header_background_color Background Color h1 Header Background. Defaults header_color. Modifies .remark-slide-content h1 class. value variable also stored CSS variable can referenced var(--header-background-color) argument style function custom CSS. header_background_text_color Text Color h1 Header Background. Defaults background_color. Modifies .remark-slide-content h1 class. value variable also stored CSS variable can referenced var(--header-background-text-color) argument style function custom CSS. header_background_padding Padding h1 Header Background. Defaults NULL. Modifies .remark-slide-content h1 class. Accepts CSS padding property values. header_background_content_padding_top Top Padding Content Slide Header Background. Defaults 7rem. Modifies .remark-slide-content class. header_background_ignore_classes Slide Classes Header Background Applied. Defaults c('normal', 'inverse', 'title', 'middle', 'bottom'). Modifies .remark-slide-content class. text_slide_number_font_size Slide Number Text Font Size. Defaults 0.9rem. Modifies .remark-slide-number class. Accepts CSS font-size property values. text_font_google Use google_font() specify body font. Defaults NULL. Modifies body element. text_font_family Body Text Font Family (xaringan default 'Droid Serif'). Defaults xaringanthemer_font_default(\"text_font_family\"). Modifies body element. value variable also stored CSS variable can referenced var(--text-font-family) argument style function custom CSS. text_font_weight Body Text Font Weight. Defaults xaringanthemer_font_default(\"text_font_weight\"). Modifies body element. Accepts CSS font-weight property values. text_bold_font_weight Body Bold Text Font Weight. Defaults bold. Modifies strong element. text_font_url Body Text Font URL(s). Defaults xaringanthemer_font_default(\"text_font_url\"). Modifies @import url() elements. text_font_family_fallback Body Text Font Fallbacks. Defaults xaringanthemer_font_default(\"text_font_family_fallback\"). Modifies body element. value variable also stored CSS variable can referenced var(--text-font-family-fallback) argument style function custom CSS. text_font_base Body Text Base Font (Total Failure Fallback). Defaults sans-serif. Modifies body element. value variable also stored CSS variable can referenced var(--text-font-base) argument style function custom CSS. header_font_google Use google_font() specify header font. Defaults NULL. Modifies body element. header_font_family Header Font Family (xaringan default 'Yanone Kaffeesatz'). Defaults xaringanthemer_font_default(\"header_font_family\"). Modifies h1, h2, h3 elements. value variable also stored CSS variable can referenced var(--header-font-family) argument style function custom CSS. header_font_weight Header Font Weight. Defaults xaringanthemer_font_default(\"header_font_weight\"). Modifies h1, h2, h3 elements. Accepts CSS font-weight property values. header_font_family_fallback Header Font Family Fallback. Defaults Georgia, serif. Modifies h1, h2, h3 elements. value variable also stored CSS variable can referenced var(--header-font-family-fallback) argument style function custom CSS. header_font_url Header Font URL. Defaults xaringanthemer_font_default(\"header_font_url\"). Modifies @import url elements. code_font_google Use google_font() specify code font. Defaults NULL. Modifies body element. code_font_family Code Font Family. Defaults xaringanthemer_font_default(\"code_font_family\"). Modifies .remark-code, .remark-inline-code classes. value variable also stored CSS variable can referenced var(--code-font-family) argument style function custom CSS. code_font_size Code Text Font Size. Defaults 0.9rem. Modifies .remark-inline class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--code-font-size) argument style function custom CSS. code_font_url Code Font URL. Defaults xaringanthemer_font_default(\"code_font_url\"). Modifies @import url elements. code_font_family_fallback Code Font Fallback. Defaults xaringanthemer_font_default(\"code_font_family_fallback\"). Modifies .remark-code, .remark-inline-code classes. link_decoration Text decoration links. Defaults none. Modifies , > code elements. Accepts CSS text-decoration property values. colors named vector custom colors. names colors become CSS variables classes can used within slides. example, colors = c(blue = \"#bad4ed\") adds CSS variable --blue, .blue CSS class applies color text foreground color, .bg-blue CSS class applies color background. extra_css named list CSS definitions containing named list CSS property-value pairs, .e. list(\".class-id\" = list(\"css-property\" = \"value\")). extra_fonts list additional fonts import, list element can either URL character string call google_font(). use font imported extra_fonts, need write custom CSS rules apply font element class font-family property. See Fonts section vignette(\"xaringanthemer\") example. outfile Customized xaringan CSS output file name, default \"xaringan-themer.css\"","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_mono_accent_inverse.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Monotone Accent Inverse Theme — style_mono_accent_inverse","text":"CSS styles written file path provided outfile (default xaringan-themer.css). outfile NULL, CSS returned directly character string.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_mono_accent_inverse.html","id":"usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Monotone Accent Inverse Theme — style_mono_accent_inverse","text":"use styles created theme function, make sure use xaringan-themer.css CSS file slides' YAML header. change name output file using outfile argument, use name instead default file name.","code":"output: xaringan::moon_reader: css: xaringan-themer.css"},{"path":[]},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_mono_accent_inverse.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Monotone Accent Inverse Theme — style_mono_accent_inverse","text":"","code":"# Create a xaringan style in a temporary file xaringan_themer_css <- tempfile(\"xaringan-themer-\", fileext = \".css\") style_mono_accent_inverse( base_color = \"#3c989e\", outfile = xaringan_themer_css # omit in your slides to write the # styles to xaringan-themer.css ) # View the CSS: # file.edit(xaringan_themer_css)"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_mono_dark.html","id":null,"dir":"Reference","previous_headings":"","what":"Monotone Dark Theme — style_mono_dark","title":"Monotone Dark Theme — style_mono_dark","text":"dark monotone theme based around single color.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_mono_dark.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Monotone Dark Theme — style_mono_dark","text":"","code":"style_mono_dark( base_color = \"#cbf7ed\", white_color = lighten_color(base_color, 0.8), black_color = darken_color(base_color, 0.85), text_color = white_color, header_color = base_color, background_color = black_color, link_color = base_color, text_bold_color = base_color, text_slide_number_color = base_color, padding = \"16px 64px 16px 64px\", background_image = NULL, background_size = NULL, background_position = NULL, code_highlight_color = \"rgba(255,255,0,0.5)\", code_inline_color = base_color, code_inline_background_color = NULL, code_inline_font_size = \"1em\", inverse_background_color = base_color, inverse_text_color = black_color, inverse_text_shadow = FALSE, inverse_header_color = inverse_text_color, inverse_link_color = link_color, title_slide_text_color = inverse_text_color, title_slide_background_color = inverse_background_color, title_slide_background_image = NULL, title_slide_background_size = NULL, title_slide_background_position = NULL, footnote_color = NULL, footnote_font_size = \"0.9em\", footnote_position_bottom = \"60px\", left_column_subtle_color = apply_alpha(base_color, 0.6), left_column_selected_color = base_color, blockquote_left_border_color = apply_alpha(base_color, 0.5), table_border_color = \"#666\", table_row_border_color = \"#ddd\", table_row_even_background_color = darken_color(base_color, 0.7), base_font_size = \"20px\", text_font_size = \"1rem\", header_h1_font_size = \"2.75rem\", header_h2_font_size = \"2.25rem\", header_h3_font_size = \"1.75rem\", header_background_auto = FALSE, header_background_color = header_color, header_background_text_color = background_color, header_background_padding = NULL, header_background_content_padding_top = \"7rem\", header_background_ignore_classes = c(\"normal\", \"inverse\", \"title\", \"middle\", \"bottom\"), text_slide_number_font_size = \"0.9rem\", text_font_google = NULL, text_font_family = xaringanthemer_font_default(\"text_font_family\"), text_font_weight = xaringanthemer_font_default(\"text_font_weight\"), text_bold_font_weight = \"bold\", text_font_url = xaringanthemer_font_default(\"text_font_url\"), text_font_family_fallback = xaringanthemer_font_default(\"text_font_family_fallback\"), text_font_base = \"sans-serif\", header_font_google = NULL, header_font_family = xaringanthemer_font_default(\"header_font_family\"), header_font_weight = xaringanthemer_font_default(\"header_font_weight\"), header_font_family_fallback = \"Georgia, serif\", header_font_url = xaringanthemer_font_default(\"header_font_url\"), code_font_google = NULL, code_font_family = xaringanthemer_font_default(\"code_font_family\"), code_font_size = \"0.9rem\", code_font_url = xaringanthemer_font_default(\"code_font_url\"), code_font_family_fallback = xaringanthemer_font_default(\"code_font_family_fallback\"), link_decoration = \"none\", colors = NULL, extra_css = NULL, extra_fonts = NULL, outfile = \"xaringan-themer.css\" )"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_mono_dark.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Monotone Dark Theme — style_mono_dark","text":"base_color Monotone Base Color, works best light color.. Defaults #cbf7ed. Used multiple CSS rules. value variable also stored CSS variable can referenced var(--base) argument style function custom CSS. white_color Brightest color used, default light version base_color. Defaults lighten_color(base_color, 0.8). Used multiple CSS rules. value variable also stored CSS variable can referenced var(--white) argument style function custom CSS. black_color Darkest color used, default dark, version base_color. Defaults darken_color(base_color, 0.85). Used multiple CSS rules. value variable also stored CSS variable can referenced var(--black) argument style function custom CSS. text_color Text Color. Defaults white_color. Modifies body element. value variable also stored CSS variable can referenced var(--text_color) argument style function custom CSS. header_color Header Color. Defaults base_color. Modifies h1, h2, h3 elements. value variable also stored CSS variable can referenced var(--header-color) argument style function custom CSS. background_color Slide Background Color. Defaults black_color. Modifies .remark-slide-content class. value variable also stored CSS variable can referenced var(--background-color) argument style function custom CSS. link_color Link Color. Defaults base_color. Modifies , > code elements. value variable also stored CSS variable can referenced var(--link-color) argument style function custom CSS. text_bold_color Bold Text Color. Defaults base_color. Modifies strong element. value variable also stored CSS variable can referenced var(--text-bold-color) argument style function custom CSS. text_slide_number_color Slide Number Color. Defaults base_color. Modifies .remark-slide-number class. padding Slide Padding top right [bottom left] format. Defaults 16px 64px 16px 64px. Modifies .remark-slide-content class. Accepts CSS padding property values. background_image Background image applied every slide. Set title_slide_background_image = \"none\" remove background image title slide. Defaults NULL. Modifies .remark-slide-content class. background_size Background image size, requires background_image set. background_image set, background_size default cover background fills screen. background_image background_position set, default 100 percent. Defaults NULL. Modifies .remark-slide-content class. Accepts CSS background-size property values. background_position Background image position, requires background_image set, recommended adjust background_size. Defaults NULL. Modifies .remark-slide-content class. Accepts CSS background-position property values. code_highlight_color Code Line Highlight. Defaults rgba(255,255,0,0.5). Modifies .remark-code-line-highlighted class. value variable also stored CSS variable can referenced var(--code-highlight-color) argument style function custom CSS. code_inline_color Inline Code Color. Defaults base_color. Modifies .remark-inline-code class. code_inline_background_color Inline Code Background Color. Defaults NULL. Modifies .remark-inline-code class. code_inline_font_size Inline Code Text Font Size. Defaults 1em. Modifies .remark-inline-code class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--code-inline-font-size) argument style function custom CSS. inverse_background_color Inverse Background Color. Defaults base_color. Modifies .inverse class. value variable also stored CSS variable can referenced var(--inverse-background-color) argument style function custom CSS. inverse_text_color Inverse Text Color. Defaults black_color. Modifies .inverse class. value variable also stored CSS variable can referenced var(--inverse-text-color) argument style function custom CSS. inverse_text_shadow Enables Shadow text inverse slides. Defaults FALSE. Modifies .inverse class. inverse_header_color Inverse Header Color. Defaults inverse_text_color. Modifies .inverse h1, .inverse h2, .inverse h3 classes. value variable also stored CSS variable can referenced var(--inverse-header-color) argument style function custom CSS. inverse_link_color Inverse Link Color. Defaults link_color. Modifies .inverse , .inverse > code classes. value variable also stored CSS variable can referenced var(--inverse-link-color) argument style function custom CSS. title_slide_text_color Title Slide Text Color. Defaults inverse_text_color. Modifies .title-slide class. value variable also stored CSS variable can referenced var(--title-slide-text-color) argument style function custom CSS. title_slide_background_color Title Slide Background Color. Defaults inverse_background_color. Modifies .title-slide class. value variable also stored CSS variable can referenced var(--title-slide-background-color) argument style function custom CSS. title_slide_background_image Title Slide Background Image URL. Defaults NULL. Modifies .title-slide class. title_slide_background_size Title Slide Background Image Size, defaults \"cover\" background image set. Defaults NULL. Modifies .title-slide class. Accepts CSS background-size property values. title_slide_background_position Title Slide Background Image Position. Defaults NULL. Modifies .title-slide class. Accepts CSS background-position property values. footnote_color Footnote text color (NA, color text_color). Defaults NULL. Modifies .footnote class. footnote_font_size Footnote font size. Defaults 0.9em. Modifies .footnote class. Accepts CSS font-size property values. footnote_position_bottom Footnote location bottom screen. Defaults 60px. Modifies .footnote class. Accepts CSS position property values. left_column_subtle_color Left Column Text (last). Defaults apply_alpha(base_color, 0.6). Modifies .left-column h2, .left-column h3 classes. left_column_selected_color Left Column Current Selection. Defaults base_color. Modifies .left-column h2:last--type, .left-column h3:last-child classes. blockquote_left_border_color Blockquote Left Border Color. Defaults apply_alpha(base_color, 0.5). Modifies blockquote element. table_border_color Table top/bottom border. Defaults #666. Modifies table: border-top, border-bottom elements. table_row_border_color Table row inner bottom border. Defaults #ddd. Modifies table thead th: border-bottom elements. table_row_even_background_color Table Even Row Background Color. Defaults darken_color(base_color, 0.7). Modifies thead, tfoot, tr:nth-child(even) elements. base_font_size Base Font Size Slide Elements (must px). Defaults 20px. Modifies html element. value variable also stored CSS variable can referenced var(--base-font-size) argument style function custom CSS. text_font_size Slide Body Text Font Size. Defaults 1rem. Modifies .remark-slide-content class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--text-font-size) argument style function custom CSS. header_h1_font_size h1 Header Text Font Size. Defaults 2.75rem. Modifies .remark-slide-content h1 class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--header-h1-font-size) argument style function custom CSS. header_h2_font_size h2 Header Text Font Size. Defaults 2.25rem. Modifies .remark-slide-content h2 class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--header-h2-font-size) argument style function custom CSS. header_h3_font_size h3 Header Text Font Size. Defaults 1.75rem. Modifies .remark-slide-content h3 class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--header-h3-font-size) argument style function custom CSS. header_background_auto Add background slide title automatically h1 header elements. enabled, use class: header_background enable. Defaults FALSE. header_background_color Background Color h1 Header Background. Defaults header_color. Modifies .remark-slide-content h1 class. value variable also stored CSS variable can referenced var(--header-background-color) argument style function custom CSS. header_background_text_color Text Color h1 Header Background. Defaults background_color. Modifies .remark-slide-content h1 class. value variable also stored CSS variable can referenced var(--header-background-text-color) argument style function custom CSS. header_background_padding Padding h1 Header Background. Defaults NULL. Modifies .remark-slide-content h1 class. Accepts CSS padding property values. header_background_content_padding_top Top Padding Content Slide Header Background. Defaults 7rem. Modifies .remark-slide-content class. header_background_ignore_classes Slide Classes Header Background Applied. Defaults c('normal', 'inverse', 'title', 'middle', 'bottom'). Modifies .remark-slide-content class. text_slide_number_font_size Slide Number Text Font Size. Defaults 0.9rem. Modifies .remark-slide-number class. Accepts CSS font-size property values. text_font_google Use google_font() specify body font. Defaults NULL. Modifies body element. text_font_family Body Text Font Family (xaringan default 'Droid Serif'). Defaults xaringanthemer_font_default(\"text_font_family\"). Modifies body element. value variable also stored CSS variable can referenced var(--text-font-family) argument style function custom CSS. text_font_weight Body Text Font Weight. Defaults xaringanthemer_font_default(\"text_font_weight\"). Modifies body element. Accepts CSS font-weight property values. text_bold_font_weight Body Bold Text Font Weight. Defaults bold. Modifies strong element. text_font_url Body Text Font URL(s). Defaults xaringanthemer_font_default(\"text_font_url\"). Modifies @import url() elements. text_font_family_fallback Body Text Font Fallbacks. Defaults xaringanthemer_font_default(\"text_font_family_fallback\"). Modifies body element. value variable also stored CSS variable can referenced var(--text-font-family-fallback) argument style function custom CSS. text_font_base Body Text Base Font (Total Failure Fallback). Defaults sans-serif. Modifies body element. value variable also stored CSS variable can referenced var(--text-font-base) argument style function custom CSS. header_font_google Use google_font() specify header font. Defaults NULL. Modifies body element. header_font_family Header Font Family (xaringan default 'Yanone Kaffeesatz'). Defaults xaringanthemer_font_default(\"header_font_family\"). Modifies h1, h2, h3 elements. value variable also stored CSS variable can referenced var(--header-font-family) argument style function custom CSS. header_font_weight Header Font Weight. Defaults xaringanthemer_font_default(\"header_font_weight\"). Modifies h1, h2, h3 elements. Accepts CSS font-weight property values. header_font_family_fallback Header Font Family Fallback. Defaults Georgia, serif. Modifies h1, h2, h3 elements. value variable also stored CSS variable can referenced var(--header-font-family-fallback) argument style function custom CSS. header_font_url Header Font URL. Defaults xaringanthemer_font_default(\"header_font_url\"). Modifies @import url elements. code_font_google Use google_font() specify code font. Defaults NULL. Modifies body element. code_font_family Code Font Family. Defaults xaringanthemer_font_default(\"code_font_family\"). Modifies .remark-code, .remark-inline-code classes. value variable also stored CSS variable can referenced var(--code-font-family) argument style function custom CSS. code_font_size Code Text Font Size. Defaults 0.9rem. Modifies .remark-inline class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--code-font-size) argument style function custom CSS. code_font_url Code Font URL. Defaults xaringanthemer_font_default(\"code_font_url\"). Modifies @import url elements. code_font_family_fallback Code Font Fallback. Defaults xaringanthemer_font_default(\"code_font_family_fallback\"). Modifies .remark-code, .remark-inline-code classes. link_decoration Text decoration links. Defaults none. Modifies , > code elements. Accepts CSS text-decoration property values. colors named vector custom colors. names colors become CSS variables classes can used within slides. example, colors = c(blue = \"#bad4ed\") adds CSS variable --blue, .blue CSS class applies color text foreground color, .bg-blue CSS class applies color background. extra_css named list CSS definitions containing named list CSS property-value pairs, .e. list(\".class-id\" = list(\"css-property\" = \"value\")). extra_fonts list additional fonts import, list element can either URL character string call google_font(). use font imported extra_fonts, need write custom CSS rules apply font element class font-family property. See Fonts section vignette(\"xaringanthemer\") example. outfile Customized xaringan CSS output file name, default \"xaringan-themer.css\"","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_mono_dark.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Monotone Dark Theme — style_mono_dark","text":"CSS styles written file path provided outfile (default xaringan-themer.css). outfile NULL, CSS returned directly character string.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_mono_dark.html","id":"usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Monotone Dark Theme — style_mono_dark","text":"use styles created theme function, make sure use xaringan-themer.css CSS file slides' YAML header. change name output file using outfile argument, use name instead default file name.","code":"output: xaringan::moon_reader: css: xaringan-themer.css"},{"path":[]},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_mono_dark.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Monotone Dark Theme — style_mono_dark","text":"","code":"# Create a xaringan style in a temporary file xaringan_themer_css <- tempfile(\"xaringan-themer-\", fileext = \".css\") style_mono_dark( base_color = \"#cbf7ed\", outfile = xaringan_themer_css # omit in your slides to write the # styles to xaringan-themer.css ) # View the CSS: # file.edit(xaringan_themer_css)"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_mono_light.html","id":null,"dir":"Reference","previous_headings":"","what":"Monotone Light Theme — style_mono_light","title":"Monotone Light Theme — style_mono_light","text":"light monotone theme based around single color.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_mono_light.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Monotone Light Theme — style_mono_light","text":"","code":"style_mono_light( base_color = \"#23395b\", white_color = lighten_color(base_color, 0.9), black_color = darken_color(base_color, 0.3), text_color = black_color, header_color = base_color, background_color = white_color, link_color = base_color, text_bold_color = base_color, text_slide_number_color = base_color, padding = \"16px 64px 16px 64px\", background_image = NULL, background_size = NULL, background_position = NULL, code_highlight_color = \"rgba(255,255,0,0.5)\", code_inline_color = base_color, code_inline_background_color = NULL, code_inline_font_size = \"1em\", inverse_background_color = base_color, inverse_text_color = white_color, inverse_text_shadow = FALSE, inverse_header_color = inverse_text_color, inverse_link_color = link_color, title_slide_text_color = inverse_text_color, title_slide_background_color = inverse_background_color, title_slide_background_image = NULL, title_slide_background_size = NULL, title_slide_background_position = NULL, footnote_color = NULL, footnote_font_size = \"0.9em\", footnote_position_bottom = \"60px\", left_column_subtle_color = apply_alpha(base_color, 0.6), left_column_selected_color = base_color, blockquote_left_border_color = apply_alpha(base_color, 0.5), table_border_color = \"#666\", table_row_border_color = \"#ddd\", table_row_even_background_color = lighten_color(base_color, 0.8), base_font_size = \"20px\", text_font_size = \"1rem\", header_h1_font_size = \"2.75rem\", header_h2_font_size = \"2.25rem\", header_h3_font_size = \"1.75rem\", header_background_auto = FALSE, header_background_color = header_color, header_background_text_color = background_color, header_background_padding = NULL, header_background_content_padding_top = \"7rem\", header_background_ignore_classes = c(\"normal\", \"inverse\", \"title\", \"middle\", \"bottom\"), text_slide_number_font_size = \"0.9rem\", text_font_google = NULL, text_font_family = xaringanthemer_font_default(\"text_font_family\"), text_font_weight = xaringanthemer_font_default(\"text_font_weight\"), text_bold_font_weight = \"bold\", text_font_url = xaringanthemer_font_default(\"text_font_url\"), text_font_family_fallback = xaringanthemer_font_default(\"text_font_family_fallback\"), text_font_base = \"sans-serif\", header_font_google = NULL, header_font_family = xaringanthemer_font_default(\"header_font_family\"), header_font_weight = xaringanthemer_font_default(\"header_font_weight\"), header_font_family_fallback = \"Georgia, serif\", header_font_url = xaringanthemer_font_default(\"header_font_url\"), code_font_google = NULL, code_font_family = xaringanthemer_font_default(\"code_font_family\"), code_font_size = \"0.9rem\", code_font_url = xaringanthemer_font_default(\"code_font_url\"), code_font_family_fallback = xaringanthemer_font_default(\"code_font_family_fallback\"), link_decoration = \"none\", colors = NULL, extra_css = NULL, extra_fonts = NULL, outfile = \"xaringan-themer.css\" )"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_mono_light.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Monotone Light Theme — style_mono_light","text":"base_color Monotone base color, works best strong color. Defaults #23395b. Used multiple CSS rules. value variable also stored CSS variable can referenced var(--base) argument style function custom CSS. white_color Brightest color used, default light version base_color. Defaults lighten_color(base_color, 0.9). Used multiple CSS rules. value variable also stored CSS variable can referenced var(--white) argument style function custom CSS. black_color Darkest color used, default dark, version base_color. Defaults darken_color(base_color, 0.3). Used multiple CSS rules. value variable also stored CSS variable can referenced var(--black) argument style function custom CSS. text_color Text Color. Defaults black_color. Modifies body element. value variable also stored CSS variable can referenced var(--text_color) argument style function custom CSS. header_color Header Color. Defaults base_color. Modifies h1, h2, h3 elements. value variable also stored CSS variable can referenced var(--header-color) argument style function custom CSS. background_color Slide Background Color. Defaults white_color. Modifies .remark-slide-content class. value variable also stored CSS variable can referenced var(--background-color) argument style function custom CSS. link_color Link Color. Defaults base_color. Modifies , > code elements. value variable also stored CSS variable can referenced var(--link-color) argument style function custom CSS. text_bold_color Bold Text Color. Defaults base_color. Modifies strong element. value variable also stored CSS variable can referenced var(--text-bold-color) argument style function custom CSS. text_slide_number_color Slide Number Color. Defaults base_color. Modifies .remark-slide-number class. padding Slide Padding top right [bottom left] format. Defaults 16px 64px 16px 64px. Modifies .remark-slide-content class. Accepts CSS padding property values. background_image Background image applied every slide. Set title_slide_background_image = \"none\" remove background image title slide. Defaults NULL. Modifies .remark-slide-content class. background_size Background image size, requires background_image set. background_image set, background_size default cover background fills screen. background_image background_position set, default 100 percent. Defaults NULL. Modifies .remark-slide-content class. Accepts CSS background-size property values. background_position Background image position, requires background_image set, recommended adjust background_size. Defaults NULL. Modifies .remark-slide-content class. Accepts CSS background-position property values. code_highlight_color Code Line Highlight. Defaults rgba(255,255,0,0.5). Modifies .remark-code-line-highlighted class. value variable also stored CSS variable can referenced var(--code-highlight-color) argument style function custom CSS. code_inline_color Inline Code Color. Defaults base_color. Modifies .remark-inline-code class. code_inline_background_color Inline Code Background Color. Defaults NULL. Modifies .remark-inline-code class. code_inline_font_size Inline Code Text Font Size. Defaults 1em. Modifies .remark-inline-code class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--code-inline-font-size) argument style function custom CSS. inverse_background_color Inverse Background Color. Defaults base_color. Modifies .inverse class. value variable also stored CSS variable can referenced var(--inverse-background-color) argument style function custom CSS. inverse_text_color Inverse Text Color. Defaults white_color. Modifies .inverse class. value variable also stored CSS variable can referenced var(--inverse-text-color) argument style function custom CSS. inverse_text_shadow Enables Shadow text inverse slides. Defaults FALSE. Modifies .inverse class. inverse_header_color Inverse Header Color. Defaults inverse_text_color. Modifies .inverse h1, .inverse h2, .inverse h3 classes. value variable also stored CSS variable can referenced var(--inverse-header-color) argument style function custom CSS. inverse_link_color Inverse Link Color. Defaults link_color. Modifies .inverse , .inverse > code classes. value variable also stored CSS variable can referenced var(--inverse-link-color) argument style function custom CSS. title_slide_text_color Title Slide Text Color. Defaults inverse_text_color. Modifies .title-slide class. value variable also stored CSS variable can referenced var(--title-slide-text-color) argument style function custom CSS. title_slide_background_color Title Slide Background Color. Defaults inverse_background_color. Modifies .title-slide class. value variable also stored CSS variable can referenced var(--title-slide-background-color) argument style function custom CSS. title_slide_background_image Title Slide Background Image URL. Defaults NULL. Modifies .title-slide class. title_slide_background_size Title Slide Background Image Size, defaults \"cover\" background image set. Defaults NULL. Modifies .title-slide class. Accepts CSS background-size property values. title_slide_background_position Title Slide Background Image Position. Defaults NULL. Modifies .title-slide class. Accepts CSS background-position property values. footnote_color Footnote text color (NA, color text_color). Defaults NULL. Modifies .footnote class. footnote_font_size Footnote font size. Defaults 0.9em. Modifies .footnote class. Accepts CSS font-size property values. footnote_position_bottom Footnote location bottom screen. Defaults 60px. Modifies .footnote class. Accepts CSS position property values. left_column_subtle_color Left Column Text (last). Defaults apply_alpha(base_color, 0.6). Modifies .left-column h2, .left-column h3 classes. left_column_selected_color Left Column Current Selection. Defaults base_color. Modifies .left-column h2:last--type, .left-column h3:last-child classes. blockquote_left_border_color Blockquote Left Border Color. Defaults apply_alpha(base_color, 0.5). Modifies blockquote element. table_border_color Table top/bottom border. Defaults #666. Modifies table: border-top, border-bottom elements. table_row_border_color Table row inner bottom border. Defaults #ddd. Modifies table thead th: border-bottom elements. table_row_even_background_color Table Even Row Background Color. Defaults lighten_color(base_color, 0.8). Modifies thead, tfoot, tr:nth-child(even) elements. base_font_size Base Font Size Slide Elements (must px). Defaults 20px. Modifies html element. value variable also stored CSS variable can referenced var(--base-font-size) argument style function custom CSS. text_font_size Slide Body Text Font Size. Defaults 1rem. Modifies .remark-slide-content class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--text-font-size) argument style function custom CSS. header_h1_font_size h1 Header Text Font Size. Defaults 2.75rem. Modifies .remark-slide-content h1 class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--header-h1-font-size) argument style function custom CSS. header_h2_font_size h2 Header Text Font Size. Defaults 2.25rem. Modifies .remark-slide-content h2 class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--header-h2-font-size) argument style function custom CSS. header_h3_font_size h3 Header Text Font Size. Defaults 1.75rem. Modifies .remark-slide-content h3 class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--header-h3-font-size) argument style function custom CSS. header_background_auto Add background slide title automatically h1 header elements. enabled, use class: header_background enable. Defaults FALSE. header_background_color Background Color h1 Header Background. Defaults header_color. Modifies .remark-slide-content h1 class. value variable also stored CSS variable can referenced var(--header-background-color) argument style function custom CSS. header_background_text_color Text Color h1 Header Background. Defaults background_color. Modifies .remark-slide-content h1 class. value variable also stored CSS variable can referenced var(--header-background-text-color) argument style function custom CSS. header_background_padding Padding h1 Header Background. Defaults NULL. Modifies .remark-slide-content h1 class. Accepts CSS padding property values. header_background_content_padding_top Top Padding Content Slide Header Background. Defaults 7rem. Modifies .remark-slide-content class. header_background_ignore_classes Slide Classes Header Background Applied. Defaults c('normal', 'inverse', 'title', 'middle', 'bottom'). Modifies .remark-slide-content class. text_slide_number_font_size Slide Number Text Font Size. Defaults 0.9rem. Modifies .remark-slide-number class. Accepts CSS font-size property values. text_font_google Use google_font() specify body font. Defaults NULL. Modifies body element. text_font_family Body Text Font Family (xaringan default 'Droid Serif'). Defaults xaringanthemer_font_default(\"text_font_family\"). Modifies body element. value variable also stored CSS variable can referenced var(--text-font-family) argument style function custom CSS. text_font_weight Body Text Font Weight. Defaults xaringanthemer_font_default(\"text_font_weight\"). Modifies body element. Accepts CSS font-weight property values. text_bold_font_weight Body Bold Text Font Weight. Defaults bold. Modifies strong element. text_font_url Body Text Font URL(s). Defaults xaringanthemer_font_default(\"text_font_url\"). Modifies @import url() elements. text_font_family_fallback Body Text Font Fallbacks. Defaults xaringanthemer_font_default(\"text_font_family_fallback\"). Modifies body element. value variable also stored CSS variable can referenced var(--text-font-family-fallback) argument style function custom CSS. text_font_base Body Text Base Font (Total Failure Fallback). Defaults sans-serif. Modifies body element. value variable also stored CSS variable can referenced var(--text-font-base) argument style function custom CSS. header_font_google Use google_font() specify header font. Defaults NULL. Modifies body element. header_font_family Header Font Family (xaringan default 'Yanone Kaffeesatz'). Defaults xaringanthemer_font_default(\"header_font_family\"). Modifies h1, h2, h3 elements. value variable also stored CSS variable can referenced var(--header-font-family) argument style function custom CSS. header_font_weight Header Font Weight. Defaults xaringanthemer_font_default(\"header_font_weight\"). Modifies h1, h2, h3 elements. Accepts CSS font-weight property values. header_font_family_fallback Header Font Family Fallback. Defaults Georgia, serif. Modifies h1, h2, h3 elements. value variable also stored CSS variable can referenced var(--header-font-family-fallback) argument style function custom CSS. header_font_url Header Font URL. Defaults xaringanthemer_font_default(\"header_font_url\"). Modifies @import url elements. code_font_google Use google_font() specify code font. Defaults NULL. Modifies body element. code_font_family Code Font Family. Defaults xaringanthemer_font_default(\"code_font_family\"). Modifies .remark-code, .remark-inline-code classes. value variable also stored CSS variable can referenced var(--code-font-family) argument style function custom CSS. code_font_size Code Text Font Size. Defaults 0.9rem. Modifies .remark-inline class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--code-font-size) argument style function custom CSS. code_font_url Code Font URL. Defaults xaringanthemer_font_default(\"code_font_url\"). Modifies @import url elements. code_font_family_fallback Code Font Fallback. Defaults xaringanthemer_font_default(\"code_font_family_fallback\"). Modifies .remark-code, .remark-inline-code classes. link_decoration Text decoration links. Defaults none. Modifies , > code elements. Accepts CSS text-decoration property values. colors named vector custom colors. names colors become CSS variables classes can used within slides. example, colors = c(blue = \"#bad4ed\") adds CSS variable --blue, .blue CSS class applies color text foreground color, .bg-blue CSS class applies color background. extra_css named list CSS definitions containing named list CSS property-value pairs, .e. list(\".class-id\" = list(\"css-property\" = \"value\")). extra_fonts list additional fonts import, list element can either URL character string call google_font(). use font imported extra_fonts, need write custom CSS rules apply font element class font-family property. See Fonts section vignette(\"xaringanthemer\") example. outfile Customized xaringan CSS output file name, default \"xaringan-themer.css\"","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_mono_light.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Monotone Light Theme — style_mono_light","text":"CSS styles written file path provided outfile (default xaringan-themer.css). outfile NULL, CSS returned directly character string.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_mono_light.html","id":"usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Monotone Light Theme — style_mono_light","text":"use styles created theme function, make sure use xaringan-themer.css CSS file slides' YAML header. change name output file using outfile argument, use name instead default file name.","code":"output: xaringan::moon_reader: css: xaringan-themer.css"},{"path":[]},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_mono_light.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Monotone Light Theme — style_mono_light","text":"","code":"# Create a xaringan style in a temporary file xaringan_themer_css <- tempfile(\"xaringan-themer-\", fileext = \".css\") style_mono_light( base_color = \"#23395b\", outfile = xaringan_themer_css # omit in your slides to write the # styles to xaringan-themer.css ) # View the CSS: # file.edit(xaringan_themer_css)"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_solarized_dark.html","id":null,"dir":"Reference","previous_headings":"","what":"Solarized Dark Theme — style_solarized_dark","title":"Solarized Dark Theme — style_solarized_dark","text":"dark theme based around solarized color scheme. Works well \"highlightStyle: solarized-dark\" \"highlighStyle: solarized-light\".","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_solarized_dark.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Solarized Dark Theme — style_solarized_dark","text":"","code":"style_solarized_dark( text_color = \"#839496\", header_color = \"#dc322f\", background_color = \"#002b36\", link_color = \"#b58900\", text_bold_color = \"#d33682\", text_slide_number_color = \"#586e75\", padding = \"16px 64px 16px 64px\", background_image = NULL, background_size = NULL, background_position = NULL, code_highlight_color = \"#268bd240\", code_inline_color = \"#6c71c4\", code_inline_background_color = NULL, code_inline_font_size = \"1em\", inverse_background_color = \"#fdf6e3\", inverse_text_color = \"#002b36\", inverse_text_shadow = FALSE, inverse_header_color = inverse_text_color, inverse_link_color = link_color, title_slide_text_color = inverse_text_color, title_slide_background_color = inverse_background_color, title_slide_background_image = NULL, title_slide_background_size = NULL, title_slide_background_position = NULL, footnote_color = NULL, footnote_font_size = \"0.9em\", footnote_position_bottom = \"60px\", left_column_subtle_color = \"#586e75\", left_column_selected_color = \"#93a1a1\", blockquote_left_border_color = \"#cb4b16\", table_border_color = \"#657b83\", table_row_border_color = \"#657b83\", table_row_even_background_color = \"#073642\", base_font_size = \"20px\", text_font_size = \"1rem\", header_h1_font_size = \"2.75rem\", header_h2_font_size = \"2.25rem\", header_h3_font_size = \"1.75rem\", header_background_auto = FALSE, header_background_color = header_color, header_background_text_color = background_color, header_background_padding = NULL, header_background_content_padding_top = \"7rem\", header_background_ignore_classes = c(\"normal\", \"inverse\", \"title\", \"middle\", \"bottom\"), text_slide_number_font_size = \"0.9rem\", text_font_google = NULL, text_font_family = xaringanthemer_font_default(\"text_font_family\"), text_font_weight = xaringanthemer_font_default(\"text_font_weight\"), text_bold_font_weight = \"bold\", text_font_url = xaringanthemer_font_default(\"text_font_url\"), text_font_family_fallback = xaringanthemer_font_default(\"text_font_family_fallback\"), text_font_base = \"sans-serif\", header_font_google = NULL, header_font_family = xaringanthemer_font_default(\"header_font_family\"), header_font_weight = xaringanthemer_font_default(\"header_font_weight\"), header_font_family_fallback = \"Georgia, serif\", header_font_url = xaringanthemer_font_default(\"header_font_url\"), code_font_google = NULL, code_font_family = xaringanthemer_font_default(\"code_font_family\"), code_font_size = \"0.9rem\", code_font_url = xaringanthemer_font_default(\"code_font_url\"), code_font_family_fallback = xaringanthemer_font_default(\"code_font_family_fallback\"), link_decoration = \"none\", colors = NULL, extra_css = NULL, extra_fonts = NULL, outfile = \"xaringan-themer.css\" )"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_solarized_dark.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Solarized Dark Theme — style_solarized_dark","text":"text_color Text Color. Defaults #839496. Modifies body element. value variable also stored CSS variable can referenced var(--text_color) argument style function custom CSS. header_color Header Color. Defaults #dc322f. Modifies h1, h2, h3 elements. value variable also stored CSS variable can referenced var(--header-color) argument style function custom CSS. background_color Slide Background Color. Defaults #002b36. Modifies .remark-slide-content class. value variable also stored CSS variable can referenced var(--background-color) argument style function custom CSS. link_color Link Color. Defaults #b58900. Modifies , > code elements. value variable also stored CSS variable can referenced var(--link-color) argument style function custom CSS. text_bold_color Bold Text Color. Defaults #d33682. Modifies strong element. value variable also stored CSS variable can referenced var(--text-bold-color) argument style function custom CSS. text_slide_number_color Slide Number Color. Defaults #586e75. Modifies .remark-slide-number class. padding Slide Padding top right [bottom left] format. Defaults 16px 64px 16px 64px. Modifies .remark-slide-content class. Accepts CSS padding property values. background_image Background image applied every slide. Set title_slide_background_image = \"none\" remove background image title slide. Defaults NULL. Modifies .remark-slide-content class. background_size Background image size, requires background_image set. background_image set, background_size default cover background fills screen. background_image background_position set, default 100 percent. Defaults NULL. Modifies .remark-slide-content class. Accepts CSS background-size property values. background_position Background image position, requires background_image set, recommended adjust background_size. Defaults NULL. Modifies .remark-slide-content class. Accepts CSS background-position property values. code_highlight_color Code Line Highlight. Defaults #268bd240. Modifies .remark-code-line-highlighted class. value variable also stored CSS variable can referenced var(--code-highlight-color) argument style function custom CSS. code_inline_color Inline Code Color. Defaults #6c71c4. Modifies .remark-inline-code class. code_inline_background_color Inline Code Background Color. Defaults NULL. Modifies .remark-inline-code class. code_inline_font_size Inline Code Text Font Size. Defaults 1em. Modifies .remark-inline-code class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--code-inline-font-size) argument style function custom CSS. inverse_background_color Inverse Background Color. Defaults #fdf6e3. Modifies .inverse class. value variable also stored CSS variable can referenced var(--inverse-background-color) argument style function custom CSS. inverse_text_color Inverse Text Color. Defaults #002b36. Modifies .inverse class. value variable also stored CSS variable can referenced var(--inverse-text-color) argument style function custom CSS. inverse_text_shadow Enables Shadow text inverse slides. Defaults FALSE. Modifies .inverse class. inverse_header_color Inverse Header Color. Defaults inverse_text_color. Modifies .inverse h1, .inverse h2, .inverse h3 classes. value variable also stored CSS variable can referenced var(--inverse-header-color) argument style function custom CSS. inverse_link_color Inverse Link Color. Defaults link_color. Modifies .inverse , .inverse > code classes. value variable also stored CSS variable can referenced var(--inverse-link-color) argument style function custom CSS. title_slide_text_color Title Slide Text Color. Defaults inverse_text_color. Modifies .title-slide class. value variable also stored CSS variable can referenced var(--title-slide-text-color) argument style function custom CSS. title_slide_background_color Title Slide Background Color. Defaults inverse_background_color. Modifies .title-slide class. value variable also stored CSS variable can referenced var(--title-slide-background-color) argument style function custom CSS. title_slide_background_image Title Slide Background Image URL. Defaults NULL. Modifies .title-slide class. title_slide_background_size Title Slide Background Image Size, defaults \"cover\" background image set. Defaults NULL. Modifies .title-slide class. Accepts CSS background-size property values. title_slide_background_position Title Slide Background Image Position. Defaults NULL. Modifies .title-slide class. Accepts CSS background-position property values. footnote_color Footnote text color (NA, color text_color). Defaults NULL. Modifies .footnote class. footnote_font_size Footnote font size. Defaults 0.9em. Modifies .footnote class. Accepts CSS font-size property values. footnote_position_bottom Footnote location bottom screen. Defaults 60px. Modifies .footnote class. Accepts CSS position property values. left_column_subtle_color Left Column Text (last). Defaults #586e75. Modifies .left-column h2, .left-column h3 classes. left_column_selected_color Left Column Current Selection. Defaults #93a1a1. Modifies .left-column h2:last--type, .left-column h3:last-child classes. blockquote_left_border_color Blockquote Left Border Color. Defaults #cb4b16. Modifies blockquote element. table_border_color Table top/bottom border. Defaults #657b83. Modifies table: border-top, border-bottom elements. table_row_border_color Table row inner bottom border. Defaults #657b83. Modifies table thead th: border-bottom elements. table_row_even_background_color Table Even Row Background Color. Defaults #073642. Modifies thead, tfoot, tr:nth-child(even) elements. base_font_size Base Font Size Slide Elements (must px). Defaults 20px. Modifies html element. value variable also stored CSS variable can referenced var(--base-font-size) argument style function custom CSS. text_font_size Slide Body Text Font Size. Defaults 1rem. Modifies .remark-slide-content class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--text-font-size) argument style function custom CSS. header_h1_font_size h1 Header Text Font Size. Defaults 2.75rem. Modifies .remark-slide-content h1 class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--header-h1-font-size) argument style function custom CSS. header_h2_font_size h2 Header Text Font Size. Defaults 2.25rem. Modifies .remark-slide-content h2 class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--header-h2-font-size) argument style function custom CSS. header_h3_font_size h3 Header Text Font Size. Defaults 1.75rem. Modifies .remark-slide-content h3 class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--header-h3-font-size) argument style function custom CSS. header_background_auto Add background slide title automatically h1 header elements. enabled, use class: header_background enable. Defaults FALSE. header_background_color Background Color h1 Header Background. Defaults header_color. Modifies .remark-slide-content h1 class. value variable also stored CSS variable can referenced var(--header-background-color) argument style function custom CSS. header_background_text_color Text Color h1 Header Background. Defaults background_color. Modifies .remark-slide-content h1 class. value variable also stored CSS variable can referenced var(--header-background-text-color) argument style function custom CSS. header_background_padding Padding h1 Header Background. Defaults NULL. Modifies .remark-slide-content h1 class. Accepts CSS padding property values. header_background_content_padding_top Top Padding Content Slide Header Background. Defaults 7rem. Modifies .remark-slide-content class. header_background_ignore_classes Slide Classes Header Background Applied. Defaults c('normal', 'inverse', 'title', 'middle', 'bottom'). Modifies .remark-slide-content class. text_slide_number_font_size Slide Number Text Font Size. Defaults 0.9rem. Modifies .remark-slide-number class. Accepts CSS font-size property values. text_font_google Use google_font() specify body font. Defaults NULL. Modifies body element. text_font_family Body Text Font Family (xaringan default 'Droid Serif'). Defaults xaringanthemer_font_default(\"text_font_family\"). Modifies body element. value variable also stored CSS variable can referenced var(--text-font-family) argument style function custom CSS. text_font_weight Body Text Font Weight. Defaults xaringanthemer_font_default(\"text_font_weight\"). Modifies body element. Accepts CSS font-weight property values. text_bold_font_weight Body Bold Text Font Weight. Defaults bold. Modifies strong element. text_font_url Body Text Font URL(s). Defaults xaringanthemer_font_default(\"text_font_url\"). Modifies @import url() elements. text_font_family_fallback Body Text Font Fallbacks. Defaults xaringanthemer_font_default(\"text_font_family_fallback\"). Modifies body element. value variable also stored CSS variable can referenced var(--text-font-family-fallback) argument style function custom CSS. text_font_base Body Text Base Font (Total Failure Fallback). Defaults sans-serif. Modifies body element. value variable also stored CSS variable can referenced var(--text-font-base) argument style function custom CSS. header_font_google Use google_font() specify header font. Defaults NULL. Modifies body element. header_font_family Header Font Family (xaringan default 'Yanone Kaffeesatz'). Defaults xaringanthemer_font_default(\"header_font_family\"). Modifies h1, h2, h3 elements. value variable also stored CSS variable can referenced var(--header-font-family) argument style function custom CSS. header_font_weight Header Font Weight. Defaults xaringanthemer_font_default(\"header_font_weight\"). Modifies h1, h2, h3 elements. Accepts CSS font-weight property values. header_font_family_fallback Header Font Family Fallback. Defaults Georgia, serif. Modifies h1, h2, h3 elements. value variable also stored CSS variable can referenced var(--header-font-family-fallback) argument style function custom CSS. header_font_url Header Font URL. Defaults xaringanthemer_font_default(\"header_font_url\"). Modifies @import url elements. code_font_google Use google_font() specify code font. Defaults NULL. Modifies body element. code_font_family Code Font Family. Defaults xaringanthemer_font_default(\"code_font_family\"). Modifies .remark-code, .remark-inline-code classes. value variable also stored CSS variable can referenced var(--code-font-family) argument style function custom CSS. code_font_size Code Text Font Size. Defaults 0.9rem. Modifies .remark-inline class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--code-font-size) argument style function custom CSS. code_font_url Code Font URL. Defaults xaringanthemer_font_default(\"code_font_url\"). Modifies @import url elements. code_font_family_fallback Code Font Fallback. Defaults xaringanthemer_font_default(\"code_font_family_fallback\"). Modifies .remark-code, .remark-inline-code classes. link_decoration Text decoration links. Defaults none. Modifies , > code elements. Accepts CSS text-decoration property values. colors named vector custom colors. names colors become CSS variables classes can used within slides. example, colors = c(blue = \"#bad4ed\") adds CSS variable --blue, .blue CSS class applies color text foreground color, .bg-blue CSS class applies color background. extra_css named list CSS definitions containing named list CSS property-value pairs, .e. list(\".class-id\" = list(\"css-property\" = \"value\")). extra_fonts list additional fonts import, list element can either URL character string call google_font(). use font imported extra_fonts, need write custom CSS rules apply font element class font-family property. See Fonts section vignette(\"xaringanthemer\") example. outfile Customized xaringan CSS output file name, default \"xaringan-themer.css\"","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_solarized_dark.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Solarized Dark Theme — style_solarized_dark","text":"CSS styles written file path provided outfile (default xaringan-themer.css). outfile NULL, CSS returned directly character string.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_solarized_dark.html","id":"usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Solarized Dark Theme — style_solarized_dark","text":"use styles created theme function, make sure use xaringan-themer.css CSS file slides' YAML header. change name output file using outfile argument, use name instead default file name.","code":"output: xaringan::moon_reader: css: xaringan-themer.css"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_solarized_dark.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Solarized Dark Theme — style_solarized_dark","text":"https://ethanschoonover.com/solarized/","code":""},{"path":[]},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_solarized_dark.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Solarized Dark Theme — style_solarized_dark","text":"","code":"# Create a xaringan style in a temporary file xaringan_themer_css <- tempfile(\"xaringan-themer-\", fileext = \".css\") style_solarized_dark( outfile = xaringan_themer_css # omit in your slides to write the # styles to xaringan-themer.css ) # View the CSS: # file.edit(xaringan_themer_css)"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_solarized_light.html","id":null,"dir":"Reference","previous_headings":"","what":"Solarized Light Theme — style_solarized_light","title":"Solarized Light Theme — style_solarized_light","text":"light theme based around solarized color scheme. Works well \"highlightStyle: solarized-dark\" \"highlighStyle: solarized-light\".","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_solarized_light.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Solarized Light Theme — style_solarized_light","text":"","code":"style_solarized_light( text_color = \"#657b83\", header_color = \"#dc322f\", background_color = \"#fdf6e3\", link_color = \"#b58900\", text_bold_color = \"#d33682\", text_slide_number_color = \"#93a1a1\", padding = \"16px 64px 16px 64px\", background_image = NULL, background_size = NULL, background_position = NULL, code_highlight_color = \"#268bd240\", code_inline_color = \"#6c71c4\", code_inline_background_color = NULL, code_inline_font_size = \"1em\", inverse_background_color = \"#002b36\", inverse_text_color = \"#fdf6e3\", inverse_text_shadow = FALSE, inverse_header_color = inverse_text_color, inverse_link_color = link_color, title_slide_text_color = inverse_text_color, title_slide_background_color = inverse_background_color, title_slide_background_image = NULL, title_slide_background_size = NULL, title_slide_background_position = NULL, footnote_color = NULL, footnote_font_size = \"0.9em\", footnote_position_bottom = \"60px\", left_column_subtle_color = \"#93a1a1\", left_column_selected_color = \"#586e75\", blockquote_left_border_color = \"#cb4b16\", table_border_color = \"#839496\", table_row_border_color = \"#839496\", table_row_even_background_color = \"#eee8d5\", base_font_size = \"20px\", text_font_size = \"1rem\", header_h1_font_size = \"2.75rem\", header_h2_font_size = \"2.25rem\", header_h3_font_size = \"1.75rem\", header_background_auto = FALSE, header_background_color = header_color, header_background_text_color = background_color, header_background_padding = NULL, header_background_content_padding_top = \"7rem\", header_background_ignore_classes = c(\"normal\", \"inverse\", \"title\", \"middle\", \"bottom\"), text_slide_number_font_size = \"0.9rem\", text_font_google = NULL, text_font_family = xaringanthemer_font_default(\"text_font_family\"), text_font_weight = xaringanthemer_font_default(\"text_font_weight\"), text_bold_font_weight = \"bold\", text_font_url = xaringanthemer_font_default(\"text_font_url\"), text_font_family_fallback = xaringanthemer_font_default(\"text_font_family_fallback\"), text_font_base = \"sans-serif\", header_font_google = NULL, header_font_family = xaringanthemer_font_default(\"header_font_family\"), header_font_weight = xaringanthemer_font_default(\"header_font_weight\"), header_font_family_fallback = \"Georgia, serif\", header_font_url = xaringanthemer_font_default(\"header_font_url\"), code_font_google = NULL, code_font_family = xaringanthemer_font_default(\"code_font_family\"), code_font_size = \"0.9rem\", code_font_url = xaringanthemer_font_default(\"code_font_url\"), code_font_family_fallback = xaringanthemer_font_default(\"code_font_family_fallback\"), link_decoration = \"none\", colors = NULL, extra_css = NULL, extra_fonts = NULL, outfile = \"xaringan-themer.css\" )"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_solarized_light.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Solarized Light Theme — style_solarized_light","text":"text_color Text Color. Defaults #657b83. Modifies body element. value variable also stored CSS variable can referenced var(--text_color) argument style function custom CSS. header_color Header Color. Defaults #dc322f. Modifies h1, h2, h3 elements. value variable also stored CSS variable can referenced var(--header-color) argument style function custom CSS. background_color Slide Background Color. Defaults #fdf6e3. Modifies .remark-slide-content class. value variable also stored CSS variable can referenced var(--background-color) argument style function custom CSS. link_color Link Color. Defaults #b58900. Modifies , > code elements. value variable also stored CSS variable can referenced var(--link-color) argument style function custom CSS. text_bold_color Bold Text Color. Defaults #d33682. Modifies strong element. value variable also stored CSS variable can referenced var(--text-bold-color) argument style function custom CSS. text_slide_number_color Slide Number Color. Defaults #93a1a1. Modifies .remark-slide-number class. padding Slide Padding top right [bottom left] format. Defaults 16px 64px 16px 64px. Modifies .remark-slide-content class. Accepts CSS padding property values. background_image Background image applied every slide. Set title_slide_background_image = \"none\" remove background image title slide. Defaults NULL. Modifies .remark-slide-content class. background_size Background image size, requires background_image set. background_image set, background_size default cover background fills screen. background_image background_position set, default 100 percent. Defaults NULL. Modifies .remark-slide-content class. Accepts CSS background-size property values. background_position Background image position, requires background_image set, recommended adjust background_size. Defaults NULL. Modifies .remark-slide-content class. Accepts CSS background-position property values. code_highlight_color Code Line Highlight. Defaults #268bd240. Modifies .remark-code-line-highlighted class. value variable also stored CSS variable can referenced var(--code-highlight-color) argument style function custom CSS. code_inline_color Inline Code Color. Defaults #6c71c4. Modifies .remark-inline-code class. code_inline_background_color Inline Code Background Color. Defaults NULL. Modifies .remark-inline-code class. code_inline_font_size Inline Code Text Font Size. Defaults 1em. Modifies .remark-inline-code class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--code-inline-font-size) argument style function custom CSS. inverse_background_color Inverse Background Color. Defaults #002b36. Modifies .inverse class. value variable also stored CSS variable can referenced var(--inverse-background-color) argument style function custom CSS. inverse_text_color Inverse Text Color. Defaults #fdf6e3. Modifies .inverse class. value variable also stored CSS variable can referenced var(--inverse-text-color) argument style function custom CSS. inverse_text_shadow Enables Shadow text inverse slides. Defaults FALSE. Modifies .inverse class. inverse_header_color Inverse Header Color. Defaults inverse_text_color. Modifies .inverse h1, .inverse h2, .inverse h3 classes. value variable also stored CSS variable can referenced var(--inverse-header-color) argument style function custom CSS. inverse_link_color Inverse Link Color. Defaults link_color. Modifies .inverse , .inverse > code classes. value variable also stored CSS variable can referenced var(--inverse-link-color) argument style function custom CSS. title_slide_text_color Title Slide Text Color. Defaults inverse_text_color. Modifies .title-slide class. value variable also stored CSS variable can referenced var(--title-slide-text-color) argument style function custom CSS. title_slide_background_color Title Slide Background Color. Defaults inverse_background_color. Modifies .title-slide class. value variable also stored CSS variable can referenced var(--title-slide-background-color) argument style function custom CSS. title_slide_background_image Title Slide Background Image URL. Defaults NULL. Modifies .title-slide class. title_slide_background_size Title Slide Background Image Size, defaults \"cover\" background image set. Defaults NULL. Modifies .title-slide class. Accepts CSS background-size property values. title_slide_background_position Title Slide Background Image Position. Defaults NULL. Modifies .title-slide class. Accepts CSS background-position property values. footnote_color Footnote text color (NA, color text_color). Defaults NULL. Modifies .footnote class. footnote_font_size Footnote font size. Defaults 0.9em. Modifies .footnote class. Accepts CSS font-size property values. footnote_position_bottom Footnote location bottom screen. Defaults 60px. Modifies .footnote class. Accepts CSS position property values. left_column_subtle_color Left Column Text (last). Defaults #93a1a1. Modifies .left-column h2, .left-column h3 classes. left_column_selected_color Left Column Current Selection. Defaults #586e75. Modifies .left-column h2:last--type, .left-column h3:last-child classes. blockquote_left_border_color Blockquote Left Border Color. Defaults #cb4b16. Modifies blockquote element. table_border_color Table top/bottom border. Defaults #839496. Modifies table: border-top, border-bottom elements. table_row_border_color Table row inner bottom border. Defaults #839496. Modifies table thead th: border-bottom elements. table_row_even_background_color Table Even Row Background Color. Defaults #eee8d5. Modifies thead, tfoot, tr:nth-child(even) elements. base_font_size Base Font Size Slide Elements (must px). Defaults 20px. Modifies html element. value variable also stored CSS variable can referenced var(--base-font-size) argument style function custom CSS. text_font_size Slide Body Text Font Size. Defaults 1rem. Modifies .remark-slide-content class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--text-font-size) argument style function custom CSS. header_h1_font_size h1 Header Text Font Size. Defaults 2.75rem. Modifies .remark-slide-content h1 class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--header-h1-font-size) argument style function custom CSS. header_h2_font_size h2 Header Text Font Size. Defaults 2.25rem. Modifies .remark-slide-content h2 class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--header-h2-font-size) argument style function custom CSS. header_h3_font_size h3 Header Text Font Size. Defaults 1.75rem. Modifies .remark-slide-content h3 class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--header-h3-font-size) argument style function custom CSS. header_background_auto Add background slide title automatically h1 header elements. enabled, use class: header_background enable. Defaults FALSE. header_background_color Background Color h1 Header Background. Defaults header_color. Modifies .remark-slide-content h1 class. value variable also stored CSS variable can referenced var(--header-background-color) argument style function custom CSS. header_background_text_color Text Color h1 Header Background. Defaults background_color. Modifies .remark-slide-content h1 class. value variable also stored CSS variable can referenced var(--header-background-text-color) argument style function custom CSS. header_background_padding Padding h1 Header Background. Defaults NULL. Modifies .remark-slide-content h1 class. Accepts CSS padding property values. header_background_content_padding_top Top Padding Content Slide Header Background. Defaults 7rem. Modifies .remark-slide-content class. header_background_ignore_classes Slide Classes Header Background Applied. Defaults c('normal', 'inverse', 'title', 'middle', 'bottom'). Modifies .remark-slide-content class. text_slide_number_font_size Slide Number Text Font Size. Defaults 0.9rem. Modifies .remark-slide-number class. Accepts CSS font-size property values. text_font_google Use google_font() specify body font. Defaults NULL. Modifies body element. text_font_family Body Text Font Family (xaringan default 'Droid Serif'). Defaults xaringanthemer_font_default(\"text_font_family\"). Modifies body element. value variable also stored CSS variable can referenced var(--text-font-family) argument style function custom CSS. text_font_weight Body Text Font Weight. Defaults xaringanthemer_font_default(\"text_font_weight\"). Modifies body element. Accepts CSS font-weight property values. text_bold_font_weight Body Bold Text Font Weight. Defaults bold. Modifies strong element. text_font_url Body Text Font URL(s). Defaults xaringanthemer_font_default(\"text_font_url\"). Modifies @import url() elements. text_font_family_fallback Body Text Font Fallbacks. Defaults xaringanthemer_font_default(\"text_font_family_fallback\"). Modifies body element. value variable also stored CSS variable can referenced var(--text-font-family-fallback) argument style function custom CSS. text_font_base Body Text Base Font (Total Failure Fallback). Defaults sans-serif. Modifies body element. value variable also stored CSS variable can referenced var(--text-font-base) argument style function custom CSS. header_font_google Use google_font() specify header font. Defaults NULL. Modifies body element. header_font_family Header Font Family (xaringan default 'Yanone Kaffeesatz'). Defaults xaringanthemer_font_default(\"header_font_family\"). Modifies h1, h2, h3 elements. value variable also stored CSS variable can referenced var(--header-font-family) argument style function custom CSS. header_font_weight Header Font Weight. Defaults xaringanthemer_font_default(\"header_font_weight\"). Modifies h1, h2, h3 elements. Accepts CSS font-weight property values. header_font_family_fallback Header Font Family Fallback. Defaults Georgia, serif. Modifies h1, h2, h3 elements. value variable also stored CSS variable can referenced var(--header-font-family-fallback) argument style function custom CSS. header_font_url Header Font URL. Defaults xaringanthemer_font_default(\"header_font_url\"). Modifies @import url elements. code_font_google Use google_font() specify code font. Defaults NULL. Modifies body element. code_font_family Code Font Family. Defaults xaringanthemer_font_default(\"code_font_family\"). Modifies .remark-code, .remark-inline-code classes. value variable also stored CSS variable can referenced var(--code-font-family) argument style function custom CSS. code_font_size Code Text Font Size. Defaults 0.9rem. Modifies .remark-inline class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--code-font-size) argument style function custom CSS. code_font_url Code Font URL. Defaults xaringanthemer_font_default(\"code_font_url\"). Modifies @import url elements. code_font_family_fallback Code Font Fallback. Defaults xaringanthemer_font_default(\"code_font_family_fallback\"). Modifies .remark-code, .remark-inline-code classes. link_decoration Text decoration links. Defaults none. Modifies , > code elements. Accepts CSS text-decoration property values. colors named vector custom colors. names colors become CSS variables classes can used within slides. example, colors = c(blue = \"#bad4ed\") adds CSS variable --blue, .blue CSS class applies color text foreground color, .bg-blue CSS class applies color background. extra_css named list CSS definitions containing named list CSS property-value pairs, .e. list(\".class-id\" = list(\"css-property\" = \"value\")). extra_fonts list additional fonts import, list element can either URL character string call google_font(). use font imported extra_fonts, need write custom CSS rules apply font element class font-family property. See Fonts section vignette(\"xaringanthemer\") example. outfile Customized xaringan CSS output file name, default \"xaringan-themer.css\"","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_solarized_light.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Solarized Light Theme — style_solarized_light","text":"CSS styles written file path provided outfile (default xaringan-themer.css). outfile NULL, CSS returned directly character string.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_solarized_light.html","id":"usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Solarized Light Theme — style_solarized_light","text":"use styles created theme function, make sure use xaringan-themer.css CSS file slides' YAML header. change name output file using outfile argument, use name instead default file name.","code":"output: xaringan::moon_reader: css: xaringan-themer.css"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_solarized_light.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Solarized Light Theme — style_solarized_light","text":"https://ethanschoonover.com/solarized/","code":""},{"path":[]},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_solarized_light.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Solarized Light Theme — style_solarized_light","text":"","code":"# Create a xaringan style in a temporary file xaringan_themer_css <- tempfile(\"xaringan-themer-\", fileext = \".css\") style_solarized_light( outfile = xaringan_themer_css # omit in your slides to write the # styles to xaringan-themer.css ) # View the CSS: # file.edit(xaringan_themer_css)"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_xaringan.html","id":null,"dir":"Reference","previous_headings":"","what":"Write A Customized Xaringan Theme — xaringanthemer_font_default","title":"Write A Customized Xaringan Theme — xaringanthemer_font_default","text":"Creates customized Xaringan theme CSS file.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_xaringan.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Write A Customized Xaringan Theme — xaringanthemer_font_default","text":"","code":"xaringanthemer_font_default(font_arg) style_xaringan( text_color = \"#000\", header_color = \"#000\", background_color = \"#FFF\", link_color = \"rgb(249, 38, 114)\", text_bold_color = NULL, text_slide_number_color = inverse_background_color, padding = \"16px 64px 16px 64px\", background_image = NULL, background_size = NULL, background_position = NULL, code_highlight_color = \"rgba(255,255,0,0.5)\", code_inline_color = \"#000\", code_inline_background_color = NULL, code_inline_font_size = \"1em\", inverse_background_color = \"#272822\", inverse_text_color = \"#d6d6d6\", inverse_text_shadow = FALSE, inverse_header_color = \"#f3f3f3\", inverse_link_color = link_color, title_slide_text_color = inverse_text_color, title_slide_background_color = inverse_background_color, title_slide_background_image = NULL, title_slide_background_size = NULL, title_slide_background_position = NULL, footnote_color = NULL, footnote_font_size = \"0.9em\", footnote_position_bottom = \"60px\", left_column_subtle_color = \"#777\", left_column_selected_color = \"#000\", blockquote_left_border_color = \"lightgray\", table_border_color = \"#666\", table_row_border_color = \"#ddd\", table_row_even_background_color = \"#eee\", base_font_size = \"20px\", text_font_size = \"1rem\", header_h1_font_size = \"2.75rem\", header_h2_font_size = \"2.25rem\", header_h3_font_size = \"1.75rem\", header_background_auto = FALSE, header_background_color = header_color, header_background_text_color = background_color, header_background_padding = NULL, header_background_content_padding_top = \"7rem\", header_background_ignore_classes = c(\"normal\", \"inverse\", \"title\", \"middle\", \"bottom\"), text_slide_number_font_size = \"0.9rem\", text_font_google = NULL, text_font_family = xaringanthemer_font_default(\"text_font_family\"), text_font_weight = xaringanthemer_font_default(\"text_font_weight\"), text_bold_font_weight = \"bold\", text_font_url = xaringanthemer_font_default(\"text_font_url\"), text_font_family_fallback = xaringanthemer_font_default(\"text_font_family_fallback\"), text_font_base = \"sans-serif\", header_font_google = NULL, header_font_family = xaringanthemer_font_default(\"header_font_family\"), header_font_weight = xaringanthemer_font_default(\"header_font_weight\"), header_font_family_fallback = \"Georgia, serif\", header_font_url = xaringanthemer_font_default(\"header_font_url\"), code_font_google = NULL, code_font_family = xaringanthemer_font_default(\"code_font_family\"), code_font_size = \"0.9rem\", code_font_url = xaringanthemer_font_default(\"code_font_url\"), code_font_family_fallback = xaringanthemer_font_default(\"code_font_family_fallback\"), link_decoration = \"none\", colors = NULL, extra_css = NULL, extra_fonts = NULL, outfile = \"xaringan-themer.css\" )"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_xaringan.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Write A Customized Xaringan Theme — xaringanthemer_font_default","text":"font_arg font argument xaringanthemer style_ function family. text_color Text Color. Defaults #000. Modifies body element. value variable also stored CSS variable can referenced var(--text_color) argument style function custom CSS. header_color Header Color. Defaults #000. Modifies h1, h2, h3 elements. value variable also stored CSS variable can referenced var(--header-color) argument style function custom CSS. background_color Slide Background Color. Defaults #FFF. Modifies .remark-slide-content class. value variable also stored CSS variable can referenced var(--background-color) argument style function custom CSS. link_color Link Color. Defaults rgb(249, 38, 114). Modifies , > code elements. value variable also stored CSS variable can referenced var(--link-color) argument style function custom CSS. text_bold_color Bold Text Color. Defaults NULL. Modifies strong element. value variable also stored CSS variable can referenced var(--text-bold-color) argument style function custom CSS. text_slide_number_color Slide Number Color. Defaults inverse_background_color. Modifies .remark-slide-number class. padding Slide Padding top right [bottom left] format. Defaults 16px 64px 16px 64px. Modifies .remark-slide-content class. Accepts CSS padding property values. background_image Background image applied every slide. Set title_slide_background_image = \"none\" remove background image title slide. Defaults NULL. Modifies .remark-slide-content class. background_size Background image size, requires background_image set. background_image set, background_size default cover background fills screen. background_image background_position set, default 100 percent. Defaults NULL. Modifies .remark-slide-content class. Accepts CSS background-size property values. background_position Background image position, requires background_image set, recommended adjust background_size. Defaults NULL. Modifies .remark-slide-content class. Accepts CSS background-position property values. code_highlight_color Code Line Highlight. Defaults rgba(255,255,0,0.5). Modifies .remark-code-line-highlighted class. value variable also stored CSS variable can referenced var(--code-highlight-color) argument style function custom CSS. code_inline_color Inline Code Color. Defaults #000. Modifies .remark-inline-code class. code_inline_background_color Inline Code Background Color. Defaults NULL. Modifies .remark-inline-code class. code_inline_font_size Inline Code Text Font Size. Defaults 1em. Modifies .remark-inline-code class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--code-inline-font-size) argument style function custom CSS. inverse_background_color Inverse Background Color. Defaults #272822. Modifies .inverse class. value variable also stored CSS variable can referenced var(--inverse-background-color) argument style function custom CSS. inverse_text_color Inverse Text Color. Defaults #d6d6d6. Modifies .inverse class. value variable also stored CSS variable can referenced var(--inverse-text-color) argument style function custom CSS. inverse_text_shadow Enables Shadow text inverse slides. Defaults FALSE. Modifies .inverse class. inverse_header_color Inverse Header Color. Defaults #f3f3f3. Modifies .inverse h1, .inverse h2, .inverse h3 classes. value variable also stored CSS variable can referenced var(--inverse-header-color) argument style function custom CSS. inverse_link_color Inverse Link Color. Defaults link_color. Modifies .inverse , .inverse > code classes. value variable also stored CSS variable can referenced var(--inverse-link-color) argument style function custom CSS. title_slide_text_color Title Slide Text Color. Defaults inverse_text_color. Modifies .title-slide class. value variable also stored CSS variable can referenced var(--title-slide-text-color) argument style function custom CSS. title_slide_background_color Title Slide Background Color. Defaults inverse_background_color. Modifies .title-slide class. value variable also stored CSS variable can referenced var(--title-slide-background-color) argument style function custom CSS. title_slide_background_image Title Slide Background Image URL. Defaults NULL. Modifies .title-slide class. title_slide_background_size Title Slide Background Image Size, defaults \"cover\" background image set. Defaults NULL. Modifies .title-slide class. Accepts CSS background-size property values. title_slide_background_position Title Slide Background Image Position. Defaults NULL. Modifies .title-slide class. Accepts CSS background-position property values. footnote_color Footnote text color (NA, color text_color). Defaults NULL. Modifies .footnote class. footnote_font_size Footnote font size. Defaults 0.9em. Modifies .footnote class. Accepts CSS font-size property values. footnote_position_bottom Footnote location bottom screen. Defaults 60px. Modifies .footnote class. Accepts CSS position property values. left_column_subtle_color Left Column Text (last). Defaults #777. Modifies .left-column h2, .left-column h3 classes. left_column_selected_color Left Column Current Selection. Defaults #000. Modifies .left-column h2:last--type, .left-column h3:last-child classes. blockquote_left_border_color Blockquote Left Border Color. Defaults lightgray. Modifies blockquote element. table_border_color Table top/bottom border. Defaults #666. Modifies table: border-top, border-bottom elements. table_row_border_color Table row inner bottom border. Defaults #ddd. Modifies table thead th: border-bottom elements. table_row_even_background_color Table Even Row Background Color. Defaults #eee. Modifies thead, tfoot, tr:nth-child(even) elements. base_font_size Base Font Size Slide Elements (must px). Defaults 20px. Modifies html element. value variable also stored CSS variable can referenced var(--base-font-size) argument style function custom CSS. text_font_size Slide Body Text Font Size. Defaults 1rem. Modifies .remark-slide-content class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--text-font-size) argument style function custom CSS. header_h1_font_size h1 Header Text Font Size. Defaults 2.75rem. Modifies .remark-slide-content h1 class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--header-h1-font-size) argument style function custom CSS. header_h2_font_size h2 Header Text Font Size. Defaults 2.25rem. Modifies .remark-slide-content h2 class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--header-h2-font-size) argument style function custom CSS. header_h3_font_size h3 Header Text Font Size. Defaults 1.75rem. Modifies .remark-slide-content h3 class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--header-h3-font-size) argument style function custom CSS. header_background_auto Add background slide title automatically h1 header elements. enabled, use class: header_background enable. Defaults FALSE. header_background_color Background Color h1 Header Background. Defaults header_color. Modifies .remark-slide-content h1 class. value variable also stored CSS variable can referenced var(--header-background-color) argument style function custom CSS. header_background_text_color Text Color h1 Header Background. Defaults background_color. Modifies .remark-slide-content h1 class. value variable also stored CSS variable can referenced var(--header-background-text-color) argument style function custom CSS. header_background_padding Padding h1 Header Background. Defaults NULL. Modifies .remark-slide-content h1 class. Accepts CSS padding property values. header_background_content_padding_top Top Padding Content Slide Header Background. Defaults 7rem. Modifies .remark-slide-content class. header_background_ignore_classes Slide Classes Header Background Applied. Defaults c('normal', 'inverse', 'title', 'middle', 'bottom'). Modifies .remark-slide-content class. text_slide_number_font_size Slide Number Text Font Size. Defaults 0.9rem. Modifies .remark-slide-number class. Accepts CSS font-size property values. text_font_google Use google_font() specify body font. Defaults NULL. Modifies body element. text_font_family Body Text Font Family (xaringan default 'Droid Serif'). Defaults xaringanthemer_font_default(\"text_font_family\"). Modifies body element. value variable also stored CSS variable can referenced var(--text-font-family) argument style function custom CSS. text_font_weight Body Text Font Weight. Defaults xaringanthemer_font_default(\"text_font_weight\"). Modifies body element. Accepts CSS font-weight property values. text_bold_font_weight Body Bold Text Font Weight. Defaults bold. Modifies strong element. text_font_url Body Text Font URL(s). Defaults xaringanthemer_font_default(\"text_font_url\"). Modifies @import url() elements. text_font_family_fallback Body Text Font Fallbacks. Defaults xaringanthemer_font_default(\"text_font_family_fallback\"). Modifies body element. value variable also stored CSS variable can referenced var(--text-font-family-fallback) argument style function custom CSS. text_font_base Body Text Base Font (Total Failure Fallback). Defaults sans-serif. Modifies body element. value variable also stored CSS variable can referenced var(--text-font-base) argument style function custom CSS. header_font_google Use google_font() specify header font. Defaults NULL. Modifies body element. header_font_family Header Font Family (xaringan default 'Yanone Kaffeesatz'). Defaults xaringanthemer_font_default(\"header_font_family\"). Modifies h1, h2, h3 elements. value variable also stored CSS variable can referenced var(--header-font-family) argument style function custom CSS. header_font_weight Header Font Weight. Defaults xaringanthemer_font_default(\"header_font_weight\"). Modifies h1, h2, h3 elements. Accepts CSS font-weight property values. header_font_family_fallback Header Font Family Fallback. Defaults Georgia, serif. Modifies h1, h2, h3 elements. value variable also stored CSS variable can referenced var(--header-font-family-fallback) argument style function custom CSS. header_font_url Header Font URL. Defaults xaringanthemer_font_default(\"header_font_url\"). Modifies @import url elements. code_font_google Use google_font() specify code font. Defaults NULL. Modifies body element. code_font_family Code Font Family. Defaults xaringanthemer_font_default(\"code_font_family\"). Modifies .remark-code, .remark-inline-code classes. value variable also stored CSS variable can referenced var(--code-font-family) argument style function custom CSS. code_font_size Code Text Font Size. Defaults 0.9rem. Modifies .remark-inline class. Accepts CSS font-size property values. value variable also stored CSS variable can referenced var(--code-font-size) argument style function custom CSS. code_font_url Code Font URL. Defaults xaringanthemer_font_default(\"code_font_url\"). Modifies @import url elements. code_font_family_fallback Code Font Fallback. Defaults xaringanthemer_font_default(\"code_font_family_fallback\"). Modifies .remark-code, .remark-inline-code classes. link_decoration Text decoration links. Defaults none. Modifies , > code elements. Accepts CSS text-decoration property values. colors named vector custom colors. names colors become CSS variables classes can used within slides. example, colors = c(blue = \"#bad4ed\") adds CSS variable --blue, .blue CSS class applies color text foreground color, .bg-blue CSS class applies color background. extra_css named list CSS definitions containing named list CSS property-value pairs, .e. list(\".class-id\" = list(\"css-property\" = \"value\")). extra_fonts list additional fonts import, list element can either URL character string call google_font(). use font imported extra_fonts, need write custom CSS rules apply font element class font-family property. See Fonts section vignette(\"xaringanthemer\") example. outfile Customized xaringan CSS output file name, default \"xaringan-themer.css\"","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_xaringan.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Write A Customized Xaringan Theme — xaringanthemer_font_default","text":"CSS styles written file path provided outfile (default xaringan-themer.css). outfile NULL, CSS returned directly character string.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_xaringan.html","id":"functions","dir":"Reference","previous_headings":"","what":"Functions","title":"Write A Customized Xaringan Theme — xaringanthemer_font_default","text":"xaringanthemer_font_default(): Default values font family, weight, URLs font fallbacks.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_xaringan.html","id":"usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Write A Customized Xaringan Theme — xaringanthemer_font_default","text":"use styles created theme function, make sure use xaringan-themer.css CSS file slides' YAML header. change name output file using outfile argument, use name instead default file name.","code":"output: xaringan::moon_reader: css: xaringan-themer.css"},{"path":[]},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/style_xaringan.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Write A Customized Xaringan Theme — xaringanthemer_font_default","text":"","code":"# Create a xaringan style in a temporary file xaringan_themer_css <- tempfile(\"xaringan-themer-\", fileext = \".css\") style_xaringan( text_color = \"#002b3\", inverse_background_color = \"#31b09e\", inverse_text_color = \"#002b3\", outfile = xaringan_themer_css # omit in your slides to write the # styles to xaringan-themer.css ) #> Warning: Colors that will be used by `theme_xaringan()` need to be in hexadecimal format: text_color, inverse_text_color # View the CSS: # file.edit(xaringan_themer_css)"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/theme_xaringan.html","id":null,"dir":"Reference","previous_headings":"","what":"A Plot Theme for ggplot2 by xaringanthemer — theme_xaringan","title":"A Plot Theme for ggplot2 by xaringanthemer — theme_xaringan","text":"Creates ggplot2 themes match xaringanthemer theme used xaringan slides seamlessly matches \"normal\" slide colors styles. See vignette(\"ggplot2-themes\") information examples.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/theme_xaringan.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"A Plot Theme for ggplot2 by xaringanthemer — theme_xaringan","text":"","code":"theme_xaringan( text_color = NULL, background_color = NULL, accent_color = NULL, accent_secondary_color = NULL, css_file = NULL, set_ggplot_defaults = TRUE, text_font = NULL, text_font_use_google = NULL, text_font_size = NULL, title_font = NULL, title_font_use_google = NULL, title_font_size = NULL, use_showtext = NULL )"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/theme_xaringan.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"A Plot Theme for ggplot2 by xaringanthemer — theme_xaringan","text":"text_color Color text foreground, inherits text_color background_color Color background, inherits background_color accent_color Color titles accents, inherits header_color accent_secondary_color Color secondary accents, inherits text_bold_color css_file Path xaringanthemer CSS file, theme variables values inferred. general, use xaringathemer defaults, need set . feature lets create ggplot2 theme xaringan slides, even saved theme CSS file creating CSS theme xaringanthemer slides' source file. set_ggplot_defaults defaults set ggplot2 geoms? Defaults TRUE. restore ggplot's defaults, previously set geom defaults, see theme_xaringan_restore_defaults(). text_font Font use text elements, passed sysfonts::font_add_google(), available text_font_use_google TRUE. Inherits text_font_family. manually specified, can google_font(). text_font_use_google text_font available Google Fonts? text_font_size Base text font size, inherits text_font_size, defaults 11. title_font Font use title elements, passed sysfonts::font_add_google(), available title_font_use_google TRUE. Inherits title_font_family. manually specified, can google_font(). title_font_use_google title_font available Google Fonts? title_font_size Base text font size, inherits title_font_size, defaults 14. use_showtext TRUE showtext package used register Google fonts. Set FALSE disable feature entirely, may result errors plotting fonts used available locally. default TRUE showtext package installed.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/theme_xaringan.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"A Plot Theme for ggplot2 by xaringanthemer — theme_xaringan","text":"ggplot2 theme","code":""},{"path":[]},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/theme_xaringan.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"A Plot Theme for ggplot2 by xaringanthemer — theme_xaringan","text":"","code":"# Requires ggplot2 has_ggplot2 <- requireNamespace(\"ggplot2\", quietly = TRUE) if (has_ggplot2) { # Because this is an example, we'll save the CSS to a temp file path_to_css_file <- tempfile(fileext = \".css\") # Create the xaringan theme: dark blue background with teal green accents style_duo( primary_color = \"#002b36\", secondary_color = \"#31b09e\", # Using basic fonts for this example, but the plot theme will # automatically use your theme font if you use Google fonts text_font_family = \"sans\", header_font_family = \"serif\", outfile = path_to_css_file ) library(ggplot2) ggplot(mpg) + aes(cty, hwy) + geom_point() + ggtitle(\"Fuel Efficiency of Various Cars\") + theme_xaringan() }"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/theme_xaringan_base.html","id":null,"dir":"Reference","previous_headings":"","what":"The ggplot2 xaringanthemer base plot theme — theme_xaringan_base","title":"The ggplot2 xaringanthemer base plot theme — theme_xaringan_base","text":"Provides base plot theme ggplot2 match xaringan slide theme created xaringanthemer. theme designed create general plot style two colors, background_color text_color (foreground color). Also accepts accent_color accent_secondary_color xaringanthemer required base theme. Use theme_xaringan() theme_xaringan_inverse() xaringan slides styled xaringanthemer plot theme matches slide style. See vignette(\"ggplot2-themes\") information examples.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/theme_xaringan_base.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"The ggplot2 xaringanthemer base plot theme — theme_xaringan_base","text":"","code":"theme_xaringan_base( text_color, background_color, ..., set_ggplot_defaults = TRUE, accent_color = NULL, accent_secondary_color = NULL, text_font = NULL, text_font_use_google = NULL, text_font_size = NULL, title_font = NULL, title_font_use_google = NULL, title_font_size = NULL, use_showtext = NULL )"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/theme_xaringan_base.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"The ggplot2 xaringanthemer base plot theme — theme_xaringan_base","text":"text_color Color text foreground background_color Color background ... Ignored set_ggplot_defaults defaults set ggplot2 geoms? Defaults TRUE. restore ggplot's defaults, previously set geom defaults, see theme_xaringan_restore_defaults(). accent_color Color titles accents, inherits header_color text_color. Used title base setting ggplot2::theme(), additionally setting color fill ggplot2 geom defaults. accent_secondary_color Color secondary accents, inherits text_bold_color accent_color. Used setting ggplot2 geom defaults. text_font Font use text elements, passed sysfonts::font_add_google(), available text_font_use_google TRUE. Inherits text_font_family. manually specified, can google_font(). text_font_use_google text_font available Google Fonts? text_font_size Base text font size, inherits text_font_size, defaults 11. title_font Font use title elements, passed sysfonts::font_add_google(), available title_font_use_google TRUE. Inherits title_font_family. manually specified, can google_font(). title_font_use_google title_font available Google Fonts? title_font_size Base text font size, inherits title_font_size, defaults 14. use_showtext TRUE showtext package used register Google fonts. Set FALSE disable feature entirely, may result errors plotting fonts used available locally. default TRUE showtext package installed.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/theme_xaringan_base.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"The ggplot2 xaringanthemer base plot theme — theme_xaringan_base","text":"ggplot2 theme","code":""},{"path":[]},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/theme_xaringan_base.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"The ggplot2 xaringanthemer base plot theme — theme_xaringan_base","text":"","code":"# Requires ggplot2 has_ggplot2 <- requireNamespace(\"ggplot2\", quietly = TRUE) if (has_ggplot2) { library(ggplot2) plot1 <- ggplot(mpg) + aes(cty, hwy) + geom_point() + theme_xaringan_base( text_color = \"#602f6b\", # imperial background_color = \"#f8f8f8\", # light gray accent_color = \"#317873\", # myrtle green title_font = \"sans\", text_font = \"serif\", set_ggplot_defaults = TRUE ) + labs( title = \"Fuel Efficiency of Various Cars\", subtitle = \"+ theme_xaringan_base()\", caption = \"xaringanthemer\" ) print(plot1) plot2 <- ggplot(mpg) + aes(hwy) + geom_histogram(binwidth = 2) + theme_xaringan_base( text_color = \"#a8a9c8\", # light purple background_color = \"#303163\", # deep slate purple accent_color = \"#ffff99\", # canary yellow title_font = \"sans\", text_font = \"serif\", set_ggplot_defaults = TRUE ) + labs( title = \"Highway Fuel Efficiency\", subtitle = \"+ theme_xaringan_base()\", caption = \"xaringanthemer\" ) print(plot2) }"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/theme_xaringan_get_value.html","id":null,"dir":"Reference","previous_headings":"","what":"Get the Value of xaringanthemer Style Setting — theme_xaringan_get_value","title":"Get the Value of xaringanthemer Style Setting — theme_xaringan_get_value","text":"helper function retrieve value style settings set xaringanthemer style function, use plotting circumstances.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/theme_xaringan_get_value.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get the Value of xaringanthemer Style Setting — theme_xaringan_get_value","text":"","code":"theme_xaringan_get_value(setting, css_file = NULL)"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/theme_xaringan_get_value.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Get the Value of xaringanthemer Style Setting — theme_xaringan_get_value","text":"setting xaringanthemer style setting css_file Path xaringanthemer CSS file, theme variables values inferred. general, use xaringathemer defaults, need set . feature lets create ggplot2 theme xaringan slides, even saved theme CSS file creating CSS theme xaringanthemer slides' source file.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/theme_xaringan_get_value.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get the Value of xaringanthemer Style Setting — theme_xaringan_get_value","text":"value xaringanthemer style parameter.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/theme_xaringan_get_value.html","id":"style-settings","dir":"Reference","previous_headings":"","what":"Style Settings","title":"Get the Value of xaringanthemer Style Setting — theme_xaringan_get_value","text":"Style settings used xaringanthemer include: background_color background_image background_position background_size blockquote_left_border_color code_font_family code_font_family_fallback code_font_google code_font_is_google code_font_size code_font_url code_highlight_color code_inline_background_color code_inline_color code_inline_font_size extra_css extra_fonts footnote_color footnote_font_size footnote_position_bottom header_background_auto header_background_color header_background_content_padding_top header_background_ignore_classes header_background_padding header_background_text_color header_color header_font_family header_font_google header_font_is_google header_font_url header_font_weight header_h1_font_size header_h2_font_size header_h3_font_size inverse_background_color inverse_header_color inverse_text_color inverse_text_shadow left_column_selected_color left_column_subtle_color link_color padding table_border_color table_row_border_color table_row_even_background_color text_bold_color text_color text_font_base text_font_family text_font_family_fallback text_font_google text_font_is_google text_font_size text_font_url text_font_weight text_slide_number_color text_slide_number_font_size title_slide_background_color title_slide_background_image title_slide_background_position title_slide_background_size title_slide_text_color","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/theme_xaringan_get_value.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Get the Value of xaringanthemer Style Setting — theme_xaringan_get_value","text":"","code":"# Create a xaringanthemer style in a temporary file for this example xaringan_themer_css <- tempfile(\"xaringan-themer\", fileext = \".css\") style_solarized_light(outfile = xaringan_themer_css) theme_xaringan_get_value(\"text_color\") #> [1] \"#657b83\" theme_xaringan_get_value(\"background_color\") #> [1] \"#fdf6e3\" theme_xaringan_get_value(\"header_color\") #> [1] \"#dc322f\" theme_xaringan_get_value(\"text_bold_color\") #> [1] \"#d33682\""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/theme_xaringan_inverse.html","id":null,"dir":"Reference","previous_headings":"","what":"An Inverse Plot Theme for ggplot2 by xaringanthemer — theme_xaringan_inverse","title":"An Inverse Plot Theme for ggplot2 by xaringanthemer — theme_xaringan_inverse","text":"ggplot2 xaringanthemer plot theme seamlessly match \"inverse\" xaringan slide colors styles styled xaringanthemer. See vignette(\"ggplot2-themes\") information examples.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/theme_xaringan_inverse.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"An Inverse Plot Theme for ggplot2 by xaringanthemer — theme_xaringan_inverse","text":"","code":"theme_xaringan_inverse( text_color = NULL, background_color = NULL, accent_color = NULL, accent_secondary_color = NULL, css_file = NULL, set_ggplot_defaults = TRUE, text_font = NULL, text_font_use_google = NULL, text_font_size = NULL, title_font = NULL, title_font_use_google = NULL, title_font_size = NULL, use_showtext = NULL )"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/theme_xaringan_inverse.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"An Inverse Plot Theme for ggplot2 by xaringanthemer — theme_xaringan_inverse","text":"text_color Color text foreground, inherits text_color background_color Color background, inherits background_color accent_color Color titles accents, inherits header_color accent_secondary_color Color secondary accents, inherits text_bold_color css_file Path xaringanthemer CSS file, theme variables values inferred. general, use xaringathemer defaults, need set . feature lets create ggplot2 theme xaringan slides, even saved theme CSS file creating CSS theme xaringanthemer slides' source file. set_ggplot_defaults defaults set ggplot2 geoms? Defaults TRUE. restore ggplot's defaults, previously set geom defaults, see theme_xaringan_restore_defaults(). text_font Font use text elements, passed sysfonts::font_add_google(), available text_font_use_google TRUE. Inherits text_font_family. manually specified, can google_font(). text_font_use_google text_font available Google Fonts? text_font_size Base text font size, inherits text_font_size, defaults 11. title_font Font use title elements, passed sysfonts::font_add_google(), available title_font_use_google TRUE. Inherits title_font_family. manually specified, can google_font(). title_font_use_google title_font available Google Fonts? title_font_size Base text font size, inherits title_font_size, defaults 14. use_showtext TRUE showtext package used register Google fonts. Set FALSE disable feature entirely, may result errors plotting fonts used available locally. default TRUE showtext package installed.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/theme_xaringan_inverse.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"An Inverse Plot Theme for ggplot2 by xaringanthemer — theme_xaringan_inverse","text":"ggplot2 theme","code":""},{"path":[]},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/theme_xaringan_inverse.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"An Inverse Plot Theme for ggplot2 by xaringanthemer — theme_xaringan_inverse","text":"","code":"# Requires ggplot2 has_ggplot2 <- requireNamespace(\"ggplot2\", quietly = TRUE) if (has_ggplot2) { # Because this is an example, we'll save the CSS to a temp file path_to_css_file <- tempfile(fileext = \".css\") # Create the xaringan theme: dark blue background with teal green accents style_duo( primary_color = \"#002b36\", secondary_color = \"#31b09e\", # Using basic fonts for this example, but the plot theme will # automatically use your theme font if you use Google fonts text_font_family = \"sans\", header_font_family = \"serif\", outfile = path_to_css_file ) library(ggplot2) ggplot(mpg) + aes(cty, hwy) + geom_point() + ggtitle(\"Fuel Efficiency of Various Cars\") + # themed to match the inverse slides: teal background with dark blue text theme_xaringan_inverse() }"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/theme_xaringan_set_defaults.html","id":null,"dir":"Reference","previous_headings":"","what":"Set and Restore ggplot2 geom Defaults — theme_xaringan_set_defaults","title":"Set and Restore ggplot2 geom Defaults — theme_xaringan_set_defaults","text":"Set ggplot2 geom defaults match theme_xaringan() theme_xaringan_set_defaults() restore standard previously-set defaults theme_xaringan_restore_defaults(). default, theme_xaringan_set_defaults() run theme_xaringan() theme_xaringan_inverse().","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/theme_xaringan_set_defaults.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Set and Restore ggplot2 geom Defaults — theme_xaringan_set_defaults","text":"","code":"theme_xaringan_set_defaults( text_color = NULL, background_color = NULL, accent_color = text_color, accent_secondary_color = accent_color, text_font = NULL ) theme_xaringan_restore_defaults()"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/theme_xaringan_set_defaults.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Set and Restore ggplot2 geom Defaults — theme_xaringan_set_defaults","text":"text_color Color text foreground, inherits text_color background_color Color background, inherits background_color accent_color Color titles accents, inherits header_color accent_secondary_color Color secondary accents, inherits text_bold_color text_font Font use text elements, passed sysfonts::font_add_google(), available text_font_use_google TRUE. Inherits text_font_family. Must length-one character.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/theme_xaringan_set_defaults.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Set and Restore ggplot2 geom Defaults — theme_xaringan_set_defaults","text":"Invisibly returns list current ggplot2 geom defaults Invisibly returns list current ggplot2 geom defaults","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/theme_xaringan_set_defaults.html","id":"functions","dir":"Reference","previous_headings":"","what":"Functions","title":"Set and Restore ggplot2 geom Defaults — theme_xaringan_set_defaults","text":"theme_xaringan_restore_defaults(): Restore previous standard ggplot2 geom defaults.","code":""},{"path":[]},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/xaringanthemer-deprecated.html","id":null,"dir":"Reference","previous_headings":"","what":"Deprecated or renamed functions — xaringanthemer-deprecated","title":"Deprecated or renamed functions — xaringanthemer-deprecated","text":"functions xaringanthemer deprecated renamed. Use style_xaringan() instead write_xaringan_theme(). Use style_extra_css() instead write_extra_css(). Use style_mono_light() instead mono_light(). Use style_mono_dark() instead mono_dark(). Use style_mono_accent() instead mono_accent(). Use style_mono_accent_inverse() instead mono_accent_inverse(). Use style_duo() instead duo(). Use style_duo_accent() instead duo_accent(). Use style_duo_accent_inverse() instead duo_accent_inverse(). Use style_solarized_light() instead solarized_light(). Use style_solarized_dark() instead solarized_dark().","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/xaringanthemer-deprecated.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Deprecated or renamed functions — xaringanthemer-deprecated","text":"","code":"write_xaringan_theme(...) write_extra_css(...) mono_light(...) mono_dark(...) mono_accent(...) mono_accent_inverse(...) duo(...) duo_accent(...) duo_accent_inverse(...) solarized_light(...) solarized_dark(...)"},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/xaringanthemer-deprecated.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Deprecated or renamed functions — xaringanthemer-deprecated","text":"... Argumets passed new renamed functions.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/xaringanthemer-deprecated.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Deprecated or renamed functions — xaringanthemer-deprecated","text":"result new renamed function.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/xaringanthemer-package.html","id":null,"dir":"Reference","previous_headings":"","what":"xaringanthemer: Custom 'xaringan' CSS Themes — xaringanthemer-package","title":"xaringanthemer: Custom 'xaringan' CSS Themes — xaringanthemer-package","text":"Create beautifully color-coordinated customized themes 'xaringan' slides, without writing CSS. Complete slide theme 'ggplot2' themes match font colors used slides. Customized styles can created directly slides' 'R Markdown' source file separate external script.","code":""},{"path":[]},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/reference/xaringanthemer-package.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"xaringanthemer: Custom 'xaringan' CSS Themes — xaringanthemer-package","text":"Maintainer: Garrick Aden-Buie garrick@adenbuie.com (ORCID)","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/news/index.html","id":"xaringanthemer-041","dir":"Changelog","previous_headings":"","what":"xaringanthemer 0.4.1","title":"xaringanthemer 0.4.1","text":"CRAN release: 2021-11-21 Text alignment code blocks left, center, right aligned slides longer matches slide text. Instead, code block width reduced, possible, block pushed left, center, right using margins (#68). style functions now permissive color names color argument. Color names valid CSS classes can also used CSS variable names, style_ function stops error color name contains spaces. (@jdlom #69) Fixed issue caused problems rendering xaringanthemer R Markdown template showtext package isn’t installed (thanks @beatrizmilz, #65).","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/news/index.html","id":"xaringanthemer-040","dir":"Changelog","previous_headings":"","what":"xaringanthemer 0.4.0","title":"xaringanthemer 0.4.0","text":"CRAN release: 2021-06-24 Added text_bold_font_weight argument xaringanthemer style functions corresponding CSS rule setting font-weight property <strong> elements (thanks @matiasandina, #50). style functions gain link_decoration argument set text-decoration property links (#57). Set slide number font size rem increasing font size slide level doesn’t result giant slide numbers (#53). xaringanthemer slide skeleton (R Markdown template) now render packages used template xaringanthemer’s Imports installed (#52). xaringanthemer longer sets fig.showtext chunk option showtext package isn’t installed also fig.showtext = FALSE (thanks @mikedecr #36, #56).","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/news/index.html","id":"xaringanthemer-033","dir":"Changelog","previous_headings":"","what":"xaringanthemer 0.3.3","title":"xaringanthemer 0.3.3","text":"CRAN release: 2021-03-04 Add inverse_link_color control color links inverse slides (thanks @dmi3kno, #44) .pull-right[] now clears floats just immediate sibling Add header_font_family_fallback control fallback fonts headings (thanks @mattwarkentin, #41) New xaringanthemer presentation skeleton kitchen sink typical slide elements goal making easier preview new themes development.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/news/index.html","id":"xaringanthemer-030","dir":"Changelog","previous_headings":"","what":"xaringanthemer 0.3.0","title":"xaringanthemer 0.3.0","text":"CRAN release: 2020-05-04 Adds theme_xaringan(), ggplot2 theme automatically uses colors font styles xaringanthemer style. Also adds scale_xaringan_discrete() scale_xaringan_continuous() functions use slides’ primary colors color fill aesthetics. theme functions can recover primary colors used xaringanthemer (>= 0.3.0) CSS file even don’t call style function directly slides. Renamed xaringanthemer functions create CSS styles use prefix “style_”. example, mono_light() now style_mono_light(). Additionally, write_xaringan_theme() now style_xaringan() write_extra_css() style_extra_css(). Overall, change makes xarignanthemer API much cleaner easier navigate. Previous function names deprecated still work. Added background_header_auto parameter adds background first h1 element (.e. # Slide Title) slide. enabled, background added automatically slides, long aren’t inverse, center, middle, bottom-styled slides. disabled, can still enable slide title headers adding header_background class slide. (thanks, @Btibert3, #10) underlying template now uses whisker package. xaringanthemer styles now use CSS variables throughout. settings used defining style stored CSS variables. variable names documented corresponding arguments. example, color selected background_color stored variable --background-color. variables can used custom CSS rules arguments style functions, example var(--background-color). xaringanthemer now uses different set default fonts heading body fonts. new defaults use Cabin headings Noto Sans body text. fonts easier read screens distance presentations, support wide variety languages weights. Another reason change xaringan (remarkjs) default body font, Droid Serif, longer officially included Google Fonts. Additional colors can provided colors argument, takes named vector colors. names become CSS classes CSS variables can used throughout slide styles. example, colors = c(red = \"#d34213\") creates .red CSS class red foreground text, .bg-red CSS class red background, --red CSS variable can referenced var(--red) _color argument style function.","code":""},{"path":"https://pkg.garrickadenbuie.com/xaringanthemer/dev/news/index.html","id":"bugfixes-and-improvements-0-3-0","dir":"Changelog","previous_headings":"","what":"Bugfixes and Improvements","title":"xaringanthemer 0.3.0","text":"Better handling multiple extra_fonts, including improved error messages. (Thanks @pat-s, #19). style_extra_css() (previously write_extra_css()) gained append argument can append overwrite existing file (thanks @pat-s, #17). underlying tibble holding theme template variables updated work tibble 3.0.0 (thanks @techisdead, @SymbolixAU, #32). css-help vignette removed may re-written future. Style function arguments accept CSS property values now documented argument documentation, including link MDN web docs page CSS property value (#33, thanks @TrashBirdEcology #18). Style functions return CSS text directly outfile = NULL.","code":""}]