[
  {
    "path": ".Rbuildignore",
    "content": "^.*\\.Rproj$\n^\\.Rproj\\.user$\n^README\\.Rmd$\n^LICENSE\\.md$\n^make\\.R$\n^vignettes/singles$\n^tests_$\n^_.+$\n^docs$\n^index\\.Rmd$\n^man-roxygen$\n^tic\\.R$\n^appveyor\\.yml$\n^\\.travis\\.yml$\n^pkgdown$\n^vignettes/fonts\\.Rmd$\n^vignettes/themes\\.Rmd$\n^data-raw$\n^.history$\n^doc$\n^Meta$\n^index\\.md$\n^\\.ccache$\n^\\.github$\n^clang-.*\n^gfortran.*\n^cran-comments\\.md$\n^CRAN-RELEASE$\n^CRAN-SUBMISSION$\n"
  },
  {
    "path": ".github/.gitignore",
    "content": "r-depends.rds\n*.html\n"
  },
  {
    "path": ".github/workflows/R-CMD-check.yaml",
    "content": "# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples\n# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help\non:\n  push:\n    branches: [main, master]\n  pull_request:\n    branches: [main, master]\n\nname: R-CMD-check\n\njobs:\n  R-CMD-check:\n    runs-on: ${{ matrix.config.os }}\n\n    name: ${{ matrix.config.os }} (${{ matrix.config.r }})\n\n    strategy:\n      fail-fast: false\n      matrix:\n        config:\n          - {os: macOS-latest,   r: 'release'}\n          - {os: windows-latest, r: 'release'}\n          - {os: ubuntu-latest,  r: 'devel', http-user-agent: 'release'}\n          - {os: ubuntu-latest,  r: 'release'}\n          - {os: ubuntu-latest,  r: 'oldrel-1'}\n\n    env:\n      GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}\n      R_KEEP_PKG_SOURCE: yes\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - uses: r-lib/actions/setup-pandoc@v2\n\n      - uses: r-lib/actions/setup-r@v2\n        with:\n          r-version: ${{ matrix.config.r }}\n          http-user-agent: ${{ matrix.config.http-user-agent }}\n          use-public-rspm: true\n\n      - uses: r-lib/actions/setup-r-dependencies@v2\n        with:\n          extra-packages: any::rcmdcheck\n          needs: check\n\n      - uses: r-lib/actions/check-r-package@v2\n        with:\n          upload-snapshots: true\n"
  },
  {
    "path": ".github/workflows/pkg-maintenance.yaml",
    "content": "on:\n  pull_request:\n  push:\n    branches: main\n\nname: Package Maintenance\n\njobs:\n  auto-pkg-maintenance:\n    uses: rstudio/education-workflows/.github/workflows/auto-pkg-maintenance.yaml@v1\n    with:\n      extra-packages: any::showtext, any::sysfonts, any::ggplot2\n"
  },
  {
    "path": ".github/workflows/pkgdown.yaml",
    "content": "# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples\n# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help\non:\n  push:\n    branches: [main, master]\n  pull_request:\n    branches: [main, master]\n  release:\n    types: [published]\n  workflow_dispatch:\n\nname: pkgdown\n\njobs:\n  pkgdown:\n    runs-on: ubuntu-latest\n    # Only restrict concurrency for non-PR jobs\n    concurrency:\n      group: pkgdown-${{ github.event_name != 'pull_request' || github.run_id }}\n    env:\n      GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}\n    steps:\n      - uses: actions/checkout@v2\n\n      - uses: r-lib/actions/setup-pandoc@v2\n\n      - uses: r-lib/actions/setup-r@v2\n        with:\n          use-public-rspm: true\n\n      - uses: r-lib/actions/setup-r-dependencies@v2\n        with:\n          extra-packages: any::pkgdown, local::.\n          needs: website\n\n      - name: Build site\n        run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)\n        shell: Rscript {0}\n\n      - name: Deploy to GitHub pages 🚀\n        if: github.event_name != 'pull_request'\n        uses: JamesIves/github-pages-deploy-action@4.1.4\n        with:\n          clean: false\n          branch: gh-pages\n          folder: docs\n"
  },
  {
    "path": ".gitignore",
    "content": ".Rproj.user\n.Rhistory\n.RData\n.Ruserdata\ninst/doc\n_tests\n_stuff\n\n.DS_Store\nREADME.html\n\n# vscode\n.history/\n\n# Directories that start with _\n/_*/\n\n## https://github.com/github/gitignore/blob/master/R.gitignore\n# History files\n.Rhistory\n.Rapp.history\n\n# Session Data files\n.RData\n\n# Example code in package build process\n*-Ex.R\n\n# Output files from R CMD build\n/*.tar.gz\n\n# Output files from R CMD check\n/*.Rcheck/\n\n# RStudio files\n.Rproj.user/\n\n# produced vignettes\nvignettes/*.html\nvignettes/*.pdf\n\n# OAuth2 token, see https://github.com/hadley/httr/releases/tag/v0.3\n.httr-oauth\n\n# knitr and R markdown default cache directories\n/*_cache/\n/cache/\n\n# Temporary files created by R markdown\n*.utf8.md\n*.knit.md\n\n# Shiny token, see https://shiny.rstudio.com/articles/shinyapps.html\nrsconnect/\n\n## https://github.com/github/gitignore/blob/master/Global/macOS.gitignore\n# General\n.DS_Store\n.AppleDouble\n.LSOverride\n\n# Icon must end with two \\r\nIcon\n\n\n# Thumbnails\n._*\n\n# Files that might appear in the root of a volume\n.DocumentRevisions-V100\n.fseventsd\n.Spotlight-V100\n.TemporaryItems\n.Trashes\n.VolumeIcon.icns\n.com.apple.timemachine.donotpresent\n\n# Directories potentially created on remote AFP share\n.AppleDB\n.AppleDesktop\nNetwork Trash Folder\nTemporary Items\n.apdisk\ndoc\nMeta\ndocs/\n"
  },
  {
    "path": "DESCRIPTION",
    "content": "Type: Package\nPackage: xaringanthemer\nTitle: Custom 'xaringan' CSS Themes\nVersion: 0.4.4.9000\nAuthors@R: \n    person(\"Garrick\", \"Aden-Buie\", , \"garrick@adenbuie.com\", role = c(\"aut\", \"cre\"),\n           comment = c(ORCID = \"0000-0002-7111-0077\"))\nDescription: Create beautifully color-coordinated and customized themes\n    for your 'xaringan' slides, without writing any CSS. Complete your\n    slide theme with 'ggplot2' themes that match the font and colors used\n    in your slides.  Customized styles can be created directly in your\n    slides' 'R Markdown' source file or in a separate external script.\nLicense: MIT + file LICENSE\nURL: https://pkg.garrickadenbuie.com/xaringanthemer/,\n    https://github.com/gadenbuie/xaringanthemer\nBugReports: https://github.com/gadenbuie/xaringanthemer/issues\nDepends:\n    R (>= 2.10)\nImports: \n    colorspace,\n    glue,\n    methods,\n    purrr,\n    utils,\n    whisker\nSuggests: \n    callr,\n    ggplot2,\n    knitr,\n    mockery,\n    rmarkdown,\n    scales,\n    showtext,\n    sysfonts,\n    testthat (>= 2.1.0),\n    xaringan\nVignetteBuilder: \n    knitr\nConfig/Needs/website: gadenbuie/grkgdown, pkgdown\nConfig/testthat/edition: 3\nEncoding: UTF-8\nRoxygen: list(markdown = TRUE)\nRoxygenNote: 7.3.2\n"
  },
  {
    "path": "LICENSE",
    "content": "YEAR: 2025\nCOPYRIGHT HOLDER: Garrick Aden-Buie\n"
  },
  {
    "path": "LICENSE.md",
    "content": "# MIT License\n\nCopyright (c) 2020 Garrick Aden-Buie\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
  },
  {
    "path": "NAMESPACE",
    "content": "# Generated by roxygen2: do not edit by hand\n\nS3method(print,google_font)\nS3method(print,xaringanthemer_default)\nexport(apply_alpha)\nexport(choose_dark_or_light)\nexport(darken_color)\nexport(duo)\nexport(duo_accent)\nexport(duo_accent_inverse)\nexport(google_font)\nexport(google_language_codes)\nexport(lighten_color)\nexport(mono_accent)\nexport(mono_accent_inverse)\nexport(mono_dark)\nexport(mono_light)\nexport(scale_xaringan_color_continuous)\nexport(scale_xaringan_color_discrete)\nexport(scale_xaringan_colour_continuous)\nexport(scale_xaringan_colour_discrete)\nexport(scale_xaringan_continuous)\nexport(scale_xaringan_discrete)\nexport(scale_xaringan_fill_continuous)\nexport(scale_xaringan_fill_discrete)\nexport(solarized_dark)\nexport(solarized_light)\nexport(style_duo)\nexport(style_duo_accent)\nexport(style_duo_accent_inverse)\nexport(style_extra_css)\nexport(style_mono_accent)\nexport(style_mono_accent_inverse)\nexport(style_mono_dark)\nexport(style_mono_light)\nexport(style_solarized_dark)\nexport(style_solarized_light)\nexport(style_xaringan)\nexport(theme_xaringan)\nexport(theme_xaringan_base)\nexport(theme_xaringan_get_value)\nexport(theme_xaringan_inverse)\nexport(theme_xaringan_restore_defaults)\nexport(theme_xaringan_set_defaults)\nexport(write_extra_css)\nexport(write_xaringan_theme)\nexport(xaringanthemer_font_default)\nimportFrom(grDevices,col2rgb)\nimportFrom(grDevices,hsv)\nimportFrom(grDevices,rgb)\nimportFrom(grDevices,rgb2hsv)\n"
  },
  {
    "path": "NEWS.md",
    "content": "# xaringanthemer (development version)\n\n# xaringanthemer 0.4.4\n\n- `scale_xaringan_continuous()` and `scale_xaringan_discrete()` now set\n  `na.value = \"grey50\"` by default for compatibility with ggplot2 > 3.5.2\n  (thanks @teunbrand, #82).\n\n# xaringanthemer 0.4.3\n\n- Update the spelling of `colour` for compatibility with ggplot2 >= 3.5.1 (@teunbrand #79).\n\n# xaringanthemer 0.4.2\n\n- Use `.table-unshaded` class on a tables to prevent xaringanthemer's table heading and row shading (thanks @dragonattheend, #74)\n\n- Use `inverse_text_color` as the default for `inverse_header_color` in most places (#60)\n\n- Fixed a bug that happened when providing named values for key theme colors (#62)\n\n- Re-document for CRAN\n\n\n# xaringanthemer 0.4.1\n\n* Text alignment in code blocks in `left`, `center`, or `right` aligned slides\n  no longer matches the slide text. Instead, the code block width is reduced,\n  if possible, and the block is pushed to the left, center, or right using\n  margins (#68).\n\n* The style functions are now more permissive about color names in the `color`\n  argument. Color names should be valid CSS classes that can also be used as CSS\n  variable names, but the `style_` function only stops with an error if the\n  color name contains spaces. (@jdlom #69)\n\n* Fixed an issue that caused problems rendering the xaringanthemer R Markdown\n  template if the showtext package isn't installed (thanks @beatrizmilz, #65).\n\n# xaringanthemer 0.4.0\n\n* Added `text_bold_font_weight` argument to xaringanthemer style functions with\n  a corresponding CSS rule setting the `font-weight` property of `<strong>`\n  elements (thanks @matiasandina, #50).\n\n* The style functions gain a `link_decoration` argument to set the\n  [`text-decoration`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration)\n  property for links (#57).\n\n* Set slide number font size in `rem` so that increasing the font size at the\n  slide level doesn't result in giant slide numbers (#53).\n\n* The xaringanthemer slide skeleton (R Markdown template) will now render when\n  packages that are used in the template but not in xaringanthemer's Imports are\n  not installed (#52).\n\n* xaringanthemer no longer sets the `fig.showtext` chunk option when the\n  showtext package isn't installed and also when `fig.showtext = FALSE`\n  (thanks @mikedecr #36, #56).\n\n# xaringanthemes 0.3.4\n\n* Maintenance release to avoid issues with upcoming R 4.1.0 (#49)\n\n# xaringanthemer 0.3.3\n\n* Add `inverse_link_color` to control color of links on inverse slides\n  (thanks @dmi3kno, #44)\n\n* .pull-right[] now clears floats just for its immediate sibling\n\n* Add `header_font_family_fallback` to control fallback fonts for headings\n  (thanks @mattwarkentin, #41)\n\n* New xaringanthemer presentation skeleton with a kitchen sink of typical\n  slide elements with the goal of making it easier to preview new themes\n  during development.\n\n# xaringanthemer 0.3.0\n\n* Adds `theme_xaringan()`, a ggplot2 theme that automatically uses the colors\n  and font styles of your xaringanthemer style. Also adds\n  `scale_xaringan_discrete()` and `scale_xaringan_continuous()` functions that\n  use your slides' primary colors for the color or fill aesthetics. These theme\n  functions can recover the primary colors used in a xaringanthemer (>= 0.3.0)\n  CSS file even if you don't call the style function directly in your slides.\n\n* Renamed all xaringanthemer functions that create CSS styles to use the\n  prefix \"`style_`\". For example, `mono_light()` is now `style_mono_light()`.\n  Additionally, `write_xaringan_theme()` is now `style_xaringan()` and\n  `write_extra_css()` is `style_extra_css()`. Overall, this change makes the\n  xarignanthemer API much cleaner and easier to navigate. Previous function\n  names are deprecated but still work.\n\n* Added `background_header_auto` parameter that adds a background under the\n  first `h1` element (i.e. `# Slide Title`) on a slide. When enabled, the\n  background is added automatically to slides, as long as they aren't\n  `inverse`, `center`, `middle`, or `bottom`-styled slides. When disabled,\n  you can still enable slide title headers by adding the `header_background`\n  class to a slide. (thanks, @Btibert3, #10)\n\n* The underlying template now uses the `whisker` package.\n\n* xaringanthemer styles now use CSS variables throughout. Most of the settings\n  used in defining a style are stored in CSS variables. The variable names are\n  documented in their corresponding arguments. For example, the color selected\n  for `background_color` is stored in the variable `--background-color`. These\n  variables can be used in custom CSS rules or in other arguments in any style\n  functions, for example as `var(--background-color)`.\n\n* xaringanthemer now uses a different set of default fonts for heading and body\n  fonts. The new defaults use [Cabin](https://fonts.google.com/specimen/Cabin)\n  for headings and [Noto Sans](https://fonts.google.com/specimen/Noto+Sans) for\n  body text. These fonts are easier to read on screens and at a distance during\n  presentations, and they support a wide variety of languages and weights.\n  Another reason for the change is that the xaringan (remarkjs) default body\n  font, _Droid Serif_, is no longer officially included in Google Fonts.\n\n* Additional colors can be provided in the `colors` argument, which takes a\n  named vector of colors. The names become both CSS classes and CSS variables\n  that can be used throughout your slide styles. For example,\n  `colors = c(red = \"#d34213\")` creates a `.red` CSS class for red foreground\n  text, a `.bg-red` CSS class for a red background, and a `--red` CSS variable\n  that can be referenced as `var(--red)` in any `_color` argument of your style\n  function.\n\n\n## Bugfixes and Improvements\n\n* Better handling of multiple `extra_fonts`, including improved error messages.\n  (Thanks @pat-s, #19).\n\n* `style_extra_css()` (previously `write_extra_css()`) gained an `append`\n  argument so that it can append to or overwrite an existing file (thanks @pat-s, #17).\n\n* The underlying tibble holding the theme template variables was updated to\n  work with `tibble 3.0.0` (thanks @techisdead, @SymbolixAU, #32).\n\n* The `css-help` vignette was removed and may be re-written in the future.\n\n* Style function arguments that accept CSS property values are now documented in\n  the argument documentation, including a link to the MDN web docs page for the\n  CSS property or value (#33, thanks @TrashBirdEcology #18).\n\n* Style functions return the CSS text directly when `outfile = NULL`.\n"
  },
  {
    "path": "R/color.R",
    "content": "#' @title Generate lighter or darker version of a color\n#' @description Produces a linear blend of the color with white or black.\n#' @param color_hex A character string representing a hex color\n#' @param strength The \"strength\" of the blend with white or black,\n#'   where 0 is entirely the original color and 1 is entirely white\n#'   (`lighten_color()`) or black (`darken_color()`).\n#' @examples\n#' blue <- \"#0e6ba8\"\n#' blue_light <- lighten_color(blue, strength = 0.33)\n#' blue_dark <- darken_color(blue, strength = 0.33)\n#'\n#' if (requireNamespace(\"scales\", quietly = TRUE)) {\n#'   scales::show_col(c(blue_light, blue, blue_dark))\n#' }\n#' @return A character string with the lightened or darkened color in\n#'   hexadecimal format.\n#' @name lighten_darken_color\nNULL\n\n#' @rdname lighten_darken_color\n#' @export\nlighten_color <- function(color_hex, strength = 0.7) {\n  stopifnot(strength >= 0 && strength <= 1)\n  color_rgb <- col2rgb(color_hex)[, 1]\n  color_rgb <- (1 - strength) * color_rgb + strength * 255\n  rgb(color_rgb[1], color_rgb[2], color_rgb[3], maxColorValue = 255)\n}\n\n#' @rdname lighten_darken_color\n#' @export\ndarken_color <- function(color_hex, strength = 0.8) {\n  stopifnot(strength >= 0 && strength <= 1)\n  color_rgb <- col2rgb(color_hex)[, 1]\n  color_rgb <- (1 - strength) * color_rgb\n  rgb(color_rgb[1], color_rgb[2], color_rgb[3], maxColorValue = 255)\n}\n\n#' @title Add alpha to hex color\n#' @description Applies alpha (or opacity) to a color in hexadecimal form by\n#'   converting opacity in the `[0, 1]` range to hex in the `[0, 255]` range\n#'   and appending to the hex color.\n#' @inheritParams lighten_darken_color\n#' @param opacity Desired opacity of the output color\n#' @examples\n#' blue <- \"#0e6ba8\"\n#' blue_transparent <- apply_alpha(blue)\n#'\n#' if (requireNamespace(\"scales\", quietly = TRUE)) {\n#'   scales::show_col(c(blue, blue_transparent))\n#' }\n#' @return A character string with added opacity level as hexadecimal characters.\n#' @export\napply_alpha <- function(color_hex, opacity = 0.5) {\n  paste0(color_hex, as.hexmode(round(255 * opacity, 0)))\n}\n\nadjust_value_color <- function(color_hex, strength = 0.5) {\n  color_hsv <- rgb2hsv(col2rgb(color_hex))[, 1]\n  color_hsv[\"v\"] <- strength\n  hsv(color_hsv[1], color_hsv[2], color_hsv[3])\n}\n\n#' Choose dark or light color\n#'\n#' Takes a color input as `x` and returns either the black or white color (or\n#' expression) if dark or light text should be used over the input color for\n#' best contrast. Follows W3C Recommendations.\n#'\n#' @references <https://stackoverflow.com/a/3943023/2022615>\n#' @param x The background color (hex)\n#' @param black Text or foreground color, e.g. \"#222\" or\n#' `substitute(darken_color(x, 0.8))`, if black text provides the best contrast.\n#' @param white Text or foreground color or expression, e.g. \"#EEE\" or\n#' `substitute(lighten_color(x, 0.8))`, if white text provides the best contrast.\n#' @examples\n#' light_green <- \"#c4d6b0\"\n#' contrast_green <- choose_dark_or_light(light_green)\n#' dark_purple <- \"#381d2a\"\n#' contrast_purple <- choose_dark_or_light(dark_purple)\n#'\n#' if (requireNamespace(\"scales\", quietly = TRUE)) {\n#'   scales::show_col(c(light_green, contrast_green, dark_purple, contrast_purple))\n#' }\n#' @return The `black` color or `white` color according to which color provides\n#'   the greates contrast with the input color.\n#'\n#' @export\nchoose_dark_or_light <- function(x, black = \"#000000\", white = \"#FFFFFF\") {\n  if (is_light_color(x)) eval(black) else eval(white)\n}\n\nis_light_color <- function(x) {\n  # this function returns TRUE if the given color\n  # is light-colored and requires dark text\n  color_rgb <- col2rgb(x)[, 1]\n  # from https://stackoverflow.com/a/3943023/2022615\n  color_rgb <- color_rgb / 255\n  color_rgb[color_rgb <= 0.03928] <- color_rgb[color_rgb <= 0.03928] / 12.92\n  color_rgb[color_rgb > 0.03928] <- ((color_rgb[color_rgb > 0.03928] + 0.055) / 1.055)^2.4\n  lum <- t(c(0.2126, 0.7152, 0.0722)) %*% color_rgb\n  lum[1, 1] > 0.179\n}\n\nprepare_colors <- function(colors = NULL) {\n  if (is.null(colors) || length(colors) < 1) return(NULL)\n\n  if (is.null(names(colors))) {\n    stop(\n      \"`colors` must have names corresponding to valid CSS classes\",\n      call. = FALSE\n    )\n  }\n\n  if (any(grepl(\"\\\\s\", names(colors)))) {\n    stop(\n      \"Color names in `colors` must be valid CSS classes\",\n      \" and cannot contain spaces\",\n      call. = FALSE)\n  }\n\n  maybe_bad_css <- unique(grep(\"^[_-]|[ .>~*:|+}/]\", names(colors), value = TRUE))\n  if (length(maybe_bad_css) > 0) {\n    warning(\n      \"Color names in `colors` should be valid CSS classes: \",\n      paste0(\"'\", maybe_bad_css, \"'\", collapse = \", \"),\n      call. = FALSE\n    )\n  }\n\n  whisker::iteratelist(colors, \"color_name\")\n}\n\nfull_length_hex <- function(x) {\n  varname <- substitute(x)\n  bad_hex_msg <- str_wrap(\n    \"`\", deparse(varname), \"` is not a hexadecimal color: \\\"\", x, \"\\\". \",\n    \"theme_xaringan() requires colors to be specified in hexadecimal format.\",\n    \" If you used valid CSS colors in your xaringan theme, please convert \",\n    \"these colors to hex format, e.g. \\\"#1a2b3c\\\".\"\n  )\n  check_color_is_hex(x, stop, bad_hex_msg)\n  x <- sub(\"^#\", \"\", x)\n  if (nchar(x) == 3) {\n    x <- strsplit(x, character(0))[[1]]\n    x <- rep(x, each = 2)\n    x <- paste(x, collapse = \"\")\n  }\n  paste0(\"#\", x)\n}\n\ncheck_color_is_hex <- function(\n  color,\n  throw = warning,\n  msg = \"{color} is not a hexadecimal color\"\n) {\n  is_probably_hex <- grepl(\"^#\", color) &&\n    !grepl(\"[^#0-9a-fA-F]\", color) &&\n    nchar(sub(\"^#\", \"\", color)) %in% c(3, 6)\n  if (!is_probably_hex) {\n    msg <- glue::glue(msg)\n    if (!is.null(throw)) throw(str_wrap(msg), call. = FALSE)\n  }\n  is_probably_hex\n}\n"
  },
  {
    "path": "R/css.R",
    "content": "read_css_vars <- function(file = NULL) {\n  if (is.null(file)) {\n    css_candidates <- find_xaringan_themer_css()\n    file <- choose_xaringan_themer_css(css_candidates)\n  }\n\n  css_get_root(file)\n}\n\nfind_xaringan_themer_css <- function() {\n  # finds xaringan themer files within or below current working directory\n  # and is only ever intended to be called in that situation\n  css_files <- list.files(pattern = \"css$\", recursive = TRUE, full.names = TRUE)\n  css_files_head <- purrr::map(css_files, readLines, n = 5)\n  is_xt <- grepl(pattern = \"generated by xaringanthemer\", css_files_head, fixed = TRUE)\n\n  css_files[is_xt]\n}\n\nchoose_xaringan_themer_css <- function(css_candidates = character(0)) {\n  if (!length(css_candidates)) {\n    stop(\"Unable to locate a xaringanthemer css file.\", call. = FALSE)\n  } else if (length(css_candidates) == 1) {\n    file <- css_candidates\n  } else if (length(css_candidates) > 1) {\n    is_xaringan_themer_css <- grepl(\"xaringan-themer.css\", css_candidates, fixed = TRUE)\n    if (any(is_xaringan_themer_css)) {\n      file <- css_candidates[is_xaringan_themer_css][1]\n    } else {\n      file <- css_candidates[1]\n      message(glue::glue(\"Using xaringanthemer theme in {file}\"))\n    }\n  }\n  file\n}\n\ncss_get_root <- function(file) {\n  x <- readLines(file, warn = FALSE)\n  x <- paste(x, collapse = \"\\n\")\n  where <- regexpr(\":root\\\\s*\\\\{[^}]+\\\\}\", x)\n  if (where < 0) return(NULL)\n  x <- substr(x, where, where + attr(where, \"match.length\"))\n  x <- strsplit(x, \"\\n\")[[1]]\n  m <- regexec(\"--(.+):\\\\s*(.+?);\", x)\n  x <- regmatches(x, m)\n  x <- purrr::compact(x)\n  vars <- gsub(\"-\", \"_\", purrr::map_chr(x, `[`, 2))\n  values <- purrr::map(x, `[`, 3)\n  names(values) <- vars\n  for (font_type in c(\"text\", \"header\", \"code\")) {\n    font_is_google <- paste0(font_type, \"_font_is_google\")\n    values[[font_is_google]] <- if (!is.null(values[[font_is_google]])) {\n      values[[font_is_google]] %in% c(\"1\", \"TRUE\", \"true\", \"yes\")\n    } else FALSE\n  }\n  values\n}\n\ncss_get_padding <- function(x) {\n  stopifnot(length(x) == 1)\n  x <- trimws(x)\n  x <- as.list(strsplit(x, \" \")[[1]])\n  stopifnot(length(x) %in% c(1, 2, 4))\n  names(x) <- c(\"top\", \"right\", \"bottom\", \"left\")[seq_along(x)]\n  list(\n    top = x$top,\n    right = x$right %||% x$top,\n    bottom = x$bottom %||% x$top,\n    left = x$left %||% x$right %||% x$top\n  )\n}\n"
  },
  {
    "path": "R/ggplot2.R",
    "content": "#' A Plot Theme for ggplot2 by xaringanthemer\n#'\n#' @description\n#'\n#' `r lifecycle::badge(\"maturing\")`\n#'\n#' Creates \\pkg{ggplot2} themes to match the xaringanthemer theme used in the\n#' \\pkg{xaringan} slides that seamlessly matches the \"normal\" slide colors and\n#' styles. See `vignette(\"ggplot2-themes\")` for more information and examples.\n#'\n#' @param text_color Color for text and foreground, inherits from `text_color`\n#' @param background_color Color for background, inherits from\n#'   `background_color`\n#' @param accent_color Color for titles and accents, inherits from\n#'   `header_color`\n#' @param accent_secondary_color Color for secondary accents, inherits from\n#'   `text_bold_color`\n#' @param css_file Path to a \\pkg{xaringanthemer} CSS file, from which the\n#'   theme variables and values will be inferred. In general, if you use the\n#'   \\pkg{xaringathemer} defaults, you will not need to set this. This feature\n#'   lets you create a \\pkg{ggplot2} theme for your \\pkg{xaringan} slides, even\n#'   if you have only saved your theme CSS file and you aren't creating your\n#'   CSS theme with \\pkg{xaringanthemer} in your slides' source file.\n#' @inheritParams theme_xaringan_base\n#'\n#' @examples\n#' # Requires ggplot2\n#' has_ggplot2 <- requireNamespace(\"ggplot2\", quietly = TRUE)\n#'\n#' if (has_ggplot2) {\n#'   # Because this is an example, we'll save the CSS to a temp file\n#'   path_to_css_file <- tempfile(fileext = \".css\")\n#'\n#'   # Create the xaringan theme: dark blue background with teal green accents\n#'   style_duo(\n#'     primary_color = \"#002b36\",\n#'     secondary_color = \"#31b09e\",\n#'     # Using basic fonts for this example, but the plot theme will\n#'     # automatically use your theme font if you use Google fonts\n#'     text_font_family = \"sans\",\n#'     header_font_family = \"serif\",\n#'     outfile = path_to_css_file\n#'   )\n#'\n#'   library(ggplot2)\n#'   ggplot(mpg) +\n#'     aes(cty, hwy) +\n#'     geom_point() +\n#'     ggtitle(\"Fuel Efficiency of Various Cars\") +\n#'     theme_xaringan()\n#' }\n#' @return A ggplot2 theme\n#' @family xaringanthemer ggplot2 themes\n#' @export\ntheme_xaringan <- function(\n  text_color = NULL,\n  background_color = NULL,\n  accent_color = NULL,\n  accent_secondary_color = NULL,\n  css_file = NULL,\n  set_ggplot_defaults = TRUE,\n  text_font = NULL,\n  text_font_use_google = NULL,\n  text_font_size = NULL,\n  title_font = NULL,\n  title_font_use_google = NULL,\n  title_font_size = NULL,\n  use_showtext = NULL\n) {\n  requires_xaringanthemer_env(css_file = css_file, try_css = TRUE)\n  requires_package(fn = \"xaringan_theme\")\n\n  background_color <- background_color %||% xaringanthemer_env$background_color\n  text_color <- text_color %||% xaringanthemer_env$text_color\n  accent_color <- accent_color %||% xaringanthemer_env$header_color\n  accent_secondary_color <- accent_secondary_color %||% xaringanthemer_env$text_bold_color %||% accent_color\n\n  theme_xaringan_base(\n    text_color,\n    background_color,\n    accent_color = accent_color,\n    accent_secondary_color = accent_secondary_color,\n    set_ggplot_defaults = set_ggplot_defaults,\n    text_font = text_font,\n    text_font_use_google = text_font_use_google,\n    text_font_size = text_font_size,\n    title_font = title_font,\n    title_font_use_google = title_font_use_google,\n    title_font_size = title_font_size,\n    use_showtext = use_showtext\n  )\n}\n\n#' An Inverse Plot Theme for ggplot2 by xaringanthemer\n#'\n#' @description\n#'\n#' `r lifecycle::badge(\"maturing\")`\n#'\n#' A \\pkg{ggplot2} xaringanthemer plot theme to seamlessly match the \"inverse\"\n#' \\pkg{xaringan} slide colors and styles as styled by [xaringanthemer]. See\n#' `vignette(\"ggplot2-themes\")` for more information and examples.\n#'\n#' @param text_color Color for text and foreground, inherits from `text_color`\n#' @param background_color Color for background, inherits from\n#'   `background_color`\n#' @param accent_color Color for titles and accents, inherits from\n#'   `header_color`\n#' @param accent_secondary_color Color for secondary accents, inherits from\n#'   `text_bold_color`\n#' @inheritParams theme_xaringan\n#' @inheritParams theme_xaringan_base\n#'\n#' @examples\n#' # Requires ggplot2\n#' has_ggplot2 <- requireNamespace(\"ggplot2\", quietly = TRUE)\n#'\n#' if (has_ggplot2) {\n#'   # Because this is an example, we'll save the CSS to a temp file\n#'   path_to_css_file <- tempfile(fileext = \".css\")\n#'\n#'   # Create the xaringan theme: dark blue background with teal green accents\n#'   style_duo(\n#'     primary_color = \"#002b36\",\n#'     secondary_color = \"#31b09e\",\n#'     # Using basic fonts for this example, but the plot theme will\n#'     # automatically use your theme font if you use Google fonts\n#'     text_font_family = \"sans\",\n#'     header_font_family = \"serif\",\n#'     outfile = path_to_css_file\n#'   )\n#'\n#'   library(ggplot2)\n#'   ggplot(mpg) +\n#'     aes(cty, hwy) +\n#'     geom_point() +\n#'     ggtitle(\"Fuel Efficiency of Various Cars\") +\n#'     # themed to match the inverse slides: teal background with dark blue text\n#'     theme_xaringan_inverse()\n#' }\n#' @return A ggplot2 theme\n#' @family xaringanthemer ggplot2 themes\n#' @export\ntheme_xaringan_inverse <- function(\n  text_color = NULL,\n  background_color = NULL,\n  accent_color = NULL,\n  accent_secondary_color = NULL,\n  css_file = NULL,\n  set_ggplot_defaults = TRUE,\n  text_font = NULL,\n  text_font_use_google = NULL,\n  text_font_size = NULL,\n  title_font = NULL,\n  title_font_use_google = NULL,\n  title_font_size = NULL,\n  use_showtext = NULL\n) {\n  requires_xaringanthemer_env(css_file = css_file, try_css = TRUE)\n  requires_package(fn = \"xaringan_theme\")\n\n  background_color <- background_color %||% xaringanthemer_env$inverse_background_color\n  text_color <- text_color %||% xaringanthemer_env$inverse_text_color\n  accent_color <- accent_color %||% xaringanthemer_env$inverse_header_color\n  accent_secondary_color <- accent_secondary_color %||% accent_color\n\n  theme_xaringan_base(\n    text_color,\n    background_color,\n    accent_color = accent_color,\n    accent_secondary_color = accent_secondary_color,\n    set_ggplot_defaults = set_ggplot_defaults,\n    text_font = text_font,\n    text_font_use_google = text_font_use_google,\n    text_font_size = text_font_size,\n    title_font = title_font,\n    title_font_use_google = title_font_use_google,\n    title_font_size = title_font_size,\n    use_showtext = use_showtext\n  )\n}\n\n#' The ggplot2 xaringanthemer base plot theme\n#'\n#' @description\n#'\n#' `r lifecycle::badge(\"maturing\")`\n#'\n#' Provides a base plot theme for \\pkg{ggplot2} to match the \\pkg{xaringan}\n#' slide theme created by [xaringanthemer]. The theme is designed to create a\n#' general plot style from two colors, a `background_color` and a `text_color`\n#' (or foreground color). Also accepts an `accent_color` and an\n#' `accent_secondary_color` that are [xaringanthemer] is not required for the\n#' base theme. Use [theme_xaringan()] or [theme_xaringan_inverse()] in xaringan\n#' slides styled by xaringanthemer for a plot theme that matches the slide\n#' style.  See `vignette(\"ggplot2-themes\")` for more information and examples.\n#'\n#' @param text_color Color for text and foreground\n#' @param background_color Color for background\n#' @param accent_color Color for titles and accents, inherits from\n#'   `header_color` or `text_color`. Used for the `title` base setting in\n#'   [ggplot2::theme()], and additionally for setting the `color` or `fill` of\n#'   \\pkg{ggplot2} geom defaults.\n#' @param accent_secondary_color Color for secondary accents, inherits from\n#'   `text_bold_color` or `accent_color`. Used only when setting \\pkg{ggplot2} geom\n#'   defaults.\n#' @param set_ggplot_defaults Should defaults be set for \\pkg{ggplot2} _geoms_?\n#'   Defaults to TRUE. To restore ggplot's defaults, or the previously set geom\n#'   defaults, see [theme_xaringan_restore_defaults()].\n#' @param text_font Font to use for text elements, passed to\n#'   [sysfonts::font_add_google()], if available and `text_font_use_google` is\n#'   `TRUE`. Inherits from `text_font_family`. If manually specified, can be a\n#'   [google_font()].\n#' @param text_font_use_google Is `text_font` available on [Google\n#'   Fonts](https://fonts.google.com)?\n#' @param text_font_size Base text font size, inherits from `text_font_size`, or\n#'   defaults to 11.\n#' @param title_font Font to use for title elements, passed to\n#'   [sysfonts::font_add_google()], if available and `title_font_use_google` is\n#'   `TRUE`. Inherits from `title_font_family`. If manually specified, can be a\n#'   [google_font()].\n#' @param title_font_use_google Is `title_font` available on [Google\n#'   Fonts](https://fonts.google.com)?\n#' @param title_font_size Base text font size, inherits from `title_font_size`,\n#'   or defaults to 14.\n#' @param use_showtext If `TRUE` the \\pkg{showtext} package will be\n#'   used to register Google fonts. Set to `FALSE` to disable this feature\n#'   entirely, which may result in errors during plotting if the fonts used are\n#'   not available locally. The default is `TRUE` when the \\pkg{showtext}\n#'   package is installed.\n#' @param ... Ignored\n#'\n#' @examples\n#' # Requires ggplot2\n#' has_ggplot2 <- requireNamespace(\"ggplot2\", quietly = TRUE)\n#'\n#' if (has_ggplot2) {\n#'   library(ggplot2)\n#'\n#'   plot1 <- ggplot(mpg) +\n#'     aes(cty, hwy) +\n#'     geom_point() +\n#'     theme_xaringan_base(\n#'       text_color = \"#602f6b\",       # imperial\n#'       background_color = \"#f8f8f8\", # light gray\n#'       accent_color = \"#317873\",     # myrtle green\n#'       title_font = \"sans\",\n#'       text_font = \"serif\",\n#'       set_ggplot_defaults = TRUE\n#'     ) +\n#'     labs(\n#'       title = \"Fuel Efficiency of Various Cars\",\n#'       subtitle = \"+ theme_xaringan_base()\",\n#'       caption = \"xaringanthemer\"\n#'     )\n#'\n#'   print(plot1)\n#'\n#'   plot2 <- ggplot(mpg) +\n#'     aes(hwy) +\n#'     geom_histogram(binwidth = 2) +\n#'     theme_xaringan_base(\n#'       text_color = \"#a8a9c8\",       # light purple\n#'       background_color = \"#303163\", # deep slate purple\n#'       accent_color = \"#ffff99\",     # canary yellow\n#'       title_font = \"sans\",\n#'       text_font = \"serif\",\n#'       set_ggplot_defaults = TRUE\n#'     ) +\n#'     labs(\n#'       title = \"Highway Fuel Efficiency\",\n#'       subtitle = \"+ theme_xaringan_base()\",\n#'       caption = \"xaringanthemer\"\n#'     )\n#'\n#'   print(plot2)\n#' }\n#' @return A ggplot2 theme\n#' @family xaringanthemer ggplot2 themes\n#' @export\ntheme_xaringan_base <- function(\n  text_color,\n  background_color,\n  ...,\n  set_ggplot_defaults = TRUE,\n  accent_color = NULL,\n  accent_secondary_color = NULL,\n  text_font = NULL,\n  text_font_use_google = NULL,\n  text_font_size = NULL,\n  title_font = NULL,\n  title_font_use_google = NULL,\n  title_font_size = NULL,\n  use_showtext = NULL\n) {\n  text_color <- full_length_hex(text_color)\n  background_color <- full_length_hex(background_color)\n\n  blend <- color_blender(text_color, background_color)\n\n  text_font_size <- text_font_size %||% web_to_point(xaringanthemer_env$text_font_size, scale = 1.25) %||% 11\n  title_font_size <- title_font_size %||% web_to_point(xaringanthemer_env$header_h3_font_size, scale = 0.8) %||% 14\n\n  text_font_use_google  <- text_font_use_google  %||% is_google_font(text_font)\n  title_font_use_google <- title_font_use_google %||% is_google_font(title_font)\n\n  if (is.null(use_showtext)) {\n    use_showtext <- requires_package(\"showtext\", \"theme_xaringan\", required = FALSE)\n  }\n  text_font <- if (!is.null(text_font)) {\n    register_font(text_font, identical(text_font_use_google, TRUE) && use_showtext)\n  } else {\n    get_theme_font(\"text\")\n  }\n  title_font <- if (!is.null(title_font)) {\n    register_font(title_font, identical(title_font_use_google, TRUE) && use_showtext)\n  } else {\n    get_theme_font(\"header\")\n  }\n\n  text_font  <- text_font %||% \"sans\"\n  title_font <- title_font %||% \"sans\"\n\n  if (set_ggplot_defaults) {\n    accent_color <- accent_color %||% xaringanthemer_env$header_color %||% text_color\n    accent_secondary_color <- accent_secondary_color %||% xaringanthemer_env$text_bold_color %||% accent_color\n    accent_color <- full_length_hex(accent_color)\n    accent_secondary_color <- full_length_hex(accent_secondary_color)\n    theme_xaringan_set_defaults(\n      text_color = text_color,\n      background_color = background_color,\n      accent_color = accent_color,\n      accent_secondary_color = accent_secondary_color,\n      text_font = text_font\n    )\n  }\n\n  theme <- ggplot2::theme(\n    line = ggplot2::element_line(color = blend(0.2)),\n    rect = ggplot2::element_rect(fill = background_color),\n    text = ggplot2::element_text(\n      color = blend(0.1),\n      family = text_font,\n      size = text_font_size\n    ),\n    title = ggplot2::element_text(\n      color = accent_color,\n      family = title_font,\n      size = title_font_size\n    ),\n    plot.background = ggplot2::element_rect(\n      fill = background_color,\n      color = background_color\n    ),\n    panel.background = ggplot2::element_rect(\n      fill = background_color,\n      color = background_color\n    ),\n    panel.grid.major = ggplot2::element_line(\n      color = blend(0.8),\n      inherit.blank = TRUE\n    ),\n    panel.grid.minor = ggplot2::element_line(\n      color = blend(0.9),\n      inherit.blank = TRUE\n    ),\n    axis.title = ggplot2::element_text(size = title_font_size * 0.8),\n    axis.ticks = ggplot2::element_line(color = blend(0.8)),\n    axis.text = ggplot2::element_text(color = blend(0.4)),\n    legend.key = ggplot2::element_rect(fill = \"transparent\", colour = NA),\n    plot.caption = ggplot2::element_text(\n      size = text_font_size * 0.8,\n      color = blend(0.3)\n    )\n  )\n\n  if (utils::packageVersion(\"ggplot2\") >= package_version(\"3.3.0\")) {\n    theme + ggplot2::theme(plot.title.position = \"plot\")\n  } else theme\n}\n\n#' Set and Restore ggplot2 geom Defaults\n#'\n#' @description\n#'\n#' `r lifecycle::badge(\"maturing\")`\n#'\n#' Set \\pkg{ggplot2} _geom_ defaults to match [theme_xaringan()] with\n#' `theme_xaringan_set_defaults()` and restore the standard or previously-set\n#' defaults with `theme_xaringan_restore_defaults()`. By default,\n#' `theme_xaringan_set_defaults()` is run with [theme_xaringan()] or\n#' [theme_xaringan_inverse()].\n#'\n#' @family xaringanthemer ggplot2 themes\n#' @param text_font Font to use for text elements, passed to\n#'   [sysfonts::font_add_google()], if available and `text_font_use_google` is\n#'   `TRUE`. Inherits from `text_font_family`. Must be a length-one character.\n#' @inheritParams theme_xaringan\n#' @inheritParams theme_xaringan_base\n#' @return Invisibly returns a list of the current ggplot2 geom defaults\n#' @export\ntheme_xaringan_set_defaults <- function(\n  text_color = NULL,\n  background_color = NULL,\n  accent_color = text_color,\n  accent_secondary_color = accent_color,\n  text_font = NULL\n) {\n  requires_package(\"ggplot2\")\n\n  blend <- color_blender(text_color, background_color)\n\n  xaringan_theme_defaults <- list(\n    \"line\"       = list(color = text_color),\n    \"vline\"      = list(color = accent_secondary_color),\n    \"hline\"      = list(color = accent_secondary_color),\n    \"abline\"     = list(color = accent_secondary_color),\n    \"segment\"    = list(color = text_color),\n    \"bar\"        = list(fill  = accent_color),\n    \"col\"        = list(fill  = accent_color),\n    \"boxplot\"    = list(color = text_color),\n    \"contour\"    = list(color = text_color),\n    \"density\"    = list(color = text_color,\n      fill  = text_color,\n      alpha = 0.1),\n    \"dotplot\"    = list(color = accent_color),\n    \"errorbarh\"  = list(color = text_color),\n    \"crossbar\"   = list(color = text_color),\n    \"errorbar\"   = list(color = text_color),\n    \"linerange\"  = list(color = text_color),\n    \"pointrange\" = list(color = text_color),\n    \"map\"        = list(color = text_color),\n    \"path\"       = list(color = text_color),\n    \"line\"       = list(color = text_color),\n    \"step\"       = list(color = text_color),\n    \"point\"      = list(color = accent_color),\n    \"polygon\"    = list(color = accent_color,\n      fill  = accent_color),\n    \"quantile\"   = list(color = text_color),\n    \"rug\"        = list(color = blend(0.5)),\n    \"segment\"    = list(color = text_color),\n    \"smooth\"     = list(fill  = blend(0.75),\n      color = accent_secondary_color),\n    \"spoke\"      = list(color = text_color),\n    \"label\"      = list(color = text_color,\n      family= text_font %||% get_theme_font(\"text\")),\n    \"text\"       = list(color = text_color,\n      family= text_font %||% get_theme_font(\"text\")),\n    \"rect\"       = list(fill  = text_color),\n    \"tile\"       = list(fill  = text_color),\n    \"violin\"     = list(fill  = text_color),\n    \"sf\"         = list(color = text_color)\n  )\n\n  geom_names <- purrr::set_names(names(xaringan_theme_defaults))\n\n  previous_defaults <- lapply(\n    geom_names,\n    function(geom) safely_set_geom(geom, xaringan_theme_defaults[[geom]])\n  )\n\n  if (is.null(xaringanthemer_env$old_ggplot_defaults)) {\n    xaringanthemer_env$old_ggplot_defaults <- previous_defaults\n  }\n\n  invisible(previous_defaults)\n}\n\n#' @describeIn theme_xaringan_set_defaults Restore previous or standard\n#'   \\pkg{ggplot2} _geom_ defaults.\n#' @return Invisibly returns a list of the current ggplot2 geom defaults\n#' @export\ntheme_xaringan_restore_defaults <- function() {\n  requires_package(\"ggplot2\")\n  requires_xaringanthemer_env(try_css = FALSE, requires_theme = FALSE)\n\n  if (is.null(xaringanthemer_env$old_ggplot_defaults)) {\n    return(invisible())\n  }\n\n  old_default <- xaringanthemer_env$old_ggplot_defaults\n  old_default_not_std <- vapply(old_default, function(x) length(x) > 0, logical(1))\n  old_default <- old_default[old_default_not_std]\n\n  restore_default <- utils::modifyList(xaringanthemer_env$std_ggplot_defaults, old_default)\n\n  geom_names <- purrr::set_names(names(restore_default))\n  previous_defaults <- lapply(\n    geom_names,\n    function(geom) safely_set_geom(geom, restore_default[[geom]])\n  )\n\n  invisible(previous_defaults)\n}\n\nsafely_set_geom <- function(geom, new) {\n  warn <- function(x) {\n    warning(x$message, call. = TRUE, immediate. = TRUE)\n    invisible()\n  }\n  tryCatch(\n    {\n      ggplot2::update_geom_defaults(geom, new)\n    },\n    error = warn,\n    warning = warn\n  )\n}\n\n\n# Color Scales ------------------------------------------------------------\n\n#' Themed ggplot2 Scales\n#'\n#' @description\n#'\n#' `r lifecycle::badge(\"maturing\")`\n#'\n#' Color and fill single-color scales for discrete and continuous values,\n#' created using the primary accent color of the xaringanthemer styles.  See\n#' `vignette(\"ggplot2-themes\")` for more information and examples of\n#' \\pkg{xaringanthemer}'s \\pkg{ggplot2}-related functions.\n#'\n#' @param ... Arguments passed on to either the \\pkg{colorspace} scale\n#'   functions — one of [colorspace::scale_color_discrete_sequential()],\n#'   [colorspace::scale_color_continuous_sequential()],\n#'   [colorspace::scale_fill_discrete_sequential()], or\n#'   [colorspace::scale_fill_continuous_sequential()] — or to\n#'   [ggplot2::continuous_scale] or [ggplot2::discrete_scale].\n#' @param color A color value, in hex, to override the default color. Otherwise,\n#'   the primary color of the resulting scale is chosen from the xaringanthemer\n#'   slide styles.\n#' @param inverse If `color` is not supplied and `inverse = TRUE`, a primary\n#'   color is chosen to work well with the inverse slide styles, namely the\n#'   value of `inverse_header_color`\n#' @param direction Direction of the discrete scale. Use values less than 0 to\n#'   reverse the direction, e.g. `direction = -1`.\n#' @inheritParams colorspace::scale_color_continuous_sequential\n#' @param aes_type The type of aesthetic to which the scale is being applied.\n#'   One of \"color\", \"colour\", or \"fill\".\n#'\n#'\n#' @examples\n#' # Requires ggplot2\n#' has_ggplot2 <- requireNamespace(\"ggplot2\", quietly = TRUE)\n#'\n#' if (has_ggplot2) {\n#'   library(ggplot2)\n#'   # Saving the theme to a temp file because this is an example\n#'   path_to_css_file <- tempfile(fileext = \".css\")\n#'\n#'   # Create the xaringan theme: dark blue background with teal green accents\n#'   style_duo(\n#'     primary_color = \"#002b36\",\n#'     secondary_color = \"#31b09e\",\n#'     # Using basic fonts for this example, but the plot theme will\n#'     # automatically use your theme font if you use Google fonts\n#'     text_font_family = \"sans\",\n#'     header_font_family = \"serif\",\n#'     outfile = path_to_css_file\n#'   )\n#'\n#'   # Here's some very basic example data\n#'   ex <- data.frame(\n#'     name = c(\"Couple\", \"Few\", \"Lots\", \"Many\"),\n#'     n = c(2, 3, 5, 7)\n#'   )\n#'\n#'   # Fill color scales demo\n#'   ggplot(ex) +\n#'     aes(name, n, fill = n) +\n#'     geom_col() +\n#'     ggtitle(\"Matching fill scales\") +\n#'     # themed to match the slides: dark blue background with teal text\n#'     theme_xaringan() +\n#'     # Fill color matches teal text\n#'     scale_xaringan_fill_continuous()\n#'\n#'   # Color scales demo\n#'   ggplot(ex) +\n#'     aes(name, y = 1, color = name) +\n#'     geom_point(size = 10) +\n#'     ggtitle(\"Matching color scales\") +\n#'     # themed to match the slides: dark blue background with teal text\n#'     theme_xaringan() +\n#'     # Fill color matches teal text\n#'     scale_xaringan_color_discrete(direction = -1)\n#' }\n#' @name scale_xaringan\nNULL\n\n#' @rdname scale_xaringan\n#' @export\nscale_xaringan_discrete <- function(\n  aes_type = c(\"color\", \"colour\", \"fill\"),\n  ...,\n  color = NULL,\n  direction = 1,\n  inverse = FALSE,\n  na.value = \"grey50\"\n) {\n  requires_package(\"ggplot2\", \"scale_xaringan_discrete\")\n\n  aes_type <- match.arg(aes_type)\n  color <- hex2HCL(get_theme_accent_color(color, inverse))\n\n  pal <- function(n) {\n    colors <- colorspace::sequential_hcl(\n      n = n,\n      c1 = color[1, \"C\"],\n      l1 = color[1, \"L\"],\n      h1 = color[1, \"H\"],\n      rev = direction >= 1\n    )\n  }\n\n  ggplot2::discrete_scale(aes_type, \"manual\", pal, ..., na.value = na.value)\n}\n\n#' @rdname scale_xaringan\n#' @export\nscale_xaringan_fill_discrete <- function(\n  ...,\n  color = NULL,\n  direction = 1,\n  inverse = FALSE\n) {\n  scale_xaringan_discrete(\n    \"fill\",\n    ...,\n    color = color,\n    direction = direction,\n    inverse = inverse\n  )\n}\n\n#' @rdname scale_xaringan\n#' @export\nscale_xaringan_color_discrete <- function(\n  ...,\n  color = NULL,\n  direction = 1,\n  inverse = FALSE\n) {\n  scale_xaringan_discrete(\n    \"color\",\n    ...,\n    color = color,\n    direction = direction,\n    inverse = inverse\n  )\n}\n\n#' @rdname scale_xaringan\n#' @export\nscale_xaringan_colour_discrete <- scale_xaringan_color_discrete\n\n#' @rdname scale_xaringan\n#' @export\nscale_xaringan_continuous <- function(\n  aes_type = c(\"color\", \"colour\", \"fill\"),\n  ...,\n  color = NULL,\n  begin = 0,\n  end = 1,\n  inverse = FALSE,\n  na.value = \"grey50\"\n) {\n  requires_package(\"ggplot2\", \"scale_xaringan_continuous\")\n  requires_package(\"scales\", \"scale_xaringan_continuous\")\n  aes_type <- match.arg(aes_type)\n  color <- hex2HCL(get_theme_accent_color(color, inverse))\n\n  colors <- suppressWarnings(colorspace::sequential_hcl(\n    n = 12,\n    c1 = color[1, \"C\"],\n    l1 = color[1, \"L\"],\n    h1 = color[1, \"H\"],\n    rev = TRUE\n  ))\n\n  rescaler <- function(x, ...) {\n    scales::rescale(x, to = c(begin, end), from = range(x, na.rm = TRUE))\n  }\n\n  ggplot2::continuous_scale(\n    aes_type,\n    \"continuous_sequential\",\n    palette = scales::gradient_n_pal(colors, values = NULL),\n    rescaler = rescaler,\n    oob = scales::censor,\n    na.value = na.value,\n    ...\n  )\n}\n\n#' @rdname scale_xaringan\n#' @export\nscale_xaringan_fill_continuous <- function(\n  ...,\n  color = NULL,\n  begin = 0,\n  end = 1,\n  inverse = FALSE\n) {\n  scale_xaringan_continuous(\n    \"fill\",\n    ...,\n    color = color,\n    begin = begin,\n    end = end,\n    inverse = inverse\n  )\n}\n\n#' @rdname scale_xaringan\n#' @export\nscale_xaringan_color_continuous <- function(\n  ...,\n  color = NULL,\n  begin = 0,\n  end = 1,\n  inverse = FALSE\n) {\n  scale_xaringan_continuous(\n    \"color\",\n    ...,\n    color = color,\n    begin = begin,\n    end = end,\n    inverse = inverse\n  )\n}\n\n#' @rdname scale_xaringan\n#' @export\nscale_xaringan_colour_continuous <- scale_xaringan_color_continuous\n\nget_theme_accent_color <- function(color = NULL, inverse = FALSE) {\n  color <-\n    if (!inverse) {\n      color %||%\n        xaringanthemer_env[[\"header_color\"]] %||%\n        xaringanthemer_env[[\"text_color\"]]\n    } else {\n      color %||% xaringanthemer_env[[\"inverse_header_color\"]]\n    }\n\n  if (is.null(color)) {\n    stop(\n      call. = FALSE,\n      \"No color provided and no default available. \",\n      \"Have you forgotten to use a style function to set the xaringan theme?\"\n    )\n  }\n\n  color\n}\n\nblend_colors <- function(x, y, alpha = 0.5) {\n  x <- colorspace::hex2RGB(x)\n  y <- colorspace::hex2RGB(y)\n  z <- colorspace::mixcolor(alpha, x, y)\n  colorspace::hex(z)\n}\n\ncolor_blender <- function(x, y) function(alpha = 0.5) blend_colors(x, y, alpha)\n\nhex2HCL <- function(x) {\n  colorspace::coords(methods::as(colorspace::hex2RGB(x), \"polarLUV\"))\n}\n\n\n# Fonts -------------------------------------------------------------------\n\nget_theme_font <- function(element = c(\"text\", \"header\", \"code\"), use_showtext = TRUE) {\n  element <- match.arg(element)\n\n  element_family <- paste0(element, \"_font_family\")\n  element_google <- paste0(element, \"_font_google\")\n  element_is_google <- paste0(element, \"_font_is_google\")\n  element_url <- paste0(element, \"_font_url\")\n\n  family <- xaringanthemer_env[[element_family]]\n  is_google_font <- xaringanthemer_env[[element_is_google]]\n  if (is.null(is_google_font)) {\n    is_google_font <- !is.null(xaringanthemer_env[[element_google]]) ||\n      grepl(\"fonts.google\", xaringanthemer_env[[element_url]], fixed = TRUE)\n  }\n\n  register_font(\n    family,\n    google = is_google_font,\n    fn = sys.calls()[[max(1, sys.nframe() - 1)]][[1]],\n    use_showtext = use_showtext\n  )\n}\n\nregister_font <- function(\n  family,\n  google = TRUE,\n  fn = sys.calls()[[max(1, sys.nframe() - 1)]][[1]],\n  ...,\n  use_showtext = TRUE\n) {\n  if (is.null(family) || !use_showtext) {\n    return(NULL)\n  }\n  if (is_google_font(family)) family <- family$family\n  family <- gsub(\"['\\\"]\", \"\", family)\n\n  if (!identical(xaringanthemer_env$showtext_auto, TRUE)) {\n    if (!requires_package(pkg = \"showtext\", fn, required = FALSE)) {\n      return(family)\n    }\n    showtext::showtext_auto()\n    xaringanthemer_env$showtext_auto <- TRUE\n  }\n\n  if (family %in% xaringanthemer_env[[\"registered_font_families\"]] %||% \"\") {\n    return(family)\n  }\n\n  if (!requires_package(pkg = \"sysfonts\", fn, required = FALSE)) {\n    return(family)\n  } else if (family == \"Droid Serif\") {\n    dstmp <- download_tmp_droid_serif()\n    if (!is.null(dstmp)) {\n      sysfonts::font_add(\n        family = \"Droid Serif\",\n        regular = dstmp\n      )\n    }\n  } else if (!family %in% sysfonts::font_families()) {\n    is_default_font <- family %in% c(\n      \"Roboto\",\n      \"Source Code Pro\",\n      \"Yanone Kaffeesatz\"\n    )\n    font_found <- family %in% sysfonts::font_families()\n    is_google_font <- identical(google, TRUE) || (missing(google) && is_default_font)\n    if (is_google_font) {\n      tryCatch(\n        {\n          sysfonts::font_add_google(family, ...)\n          font_found <- TRUE\n        },\n        error = function(e) {},\n        warning = function(w) {}\n      )\n    }\n    if (!font_found) { # warn user if font still not found\n      msg <- if (is_google_font) glue::glue(\n        \"Font '{family}' not found in Google Fonts. \",\n        \"Please manually register the font using `sysfonts::font_add()`.\"\n      ) else {\n        glue::glue(\n          \"Font '{family}' must be manually registered using `sysfonts::font_add()`.\"\n        )\n      }\n      warning(str_wrap(msg), call. = FALSE)\n    } else {\n      verify_fig_showtext(fn)\n    }\n  }\n  xaringanthemer_env[[\"registered_font_families\"]] <- c(\n    xaringanthemer_env[[\"registered_font_families\"]],\n    family\n  )\n  family\n}\n\ndownload_tmp_droid_serif <- function() {\n  if (isTRUE(xaringanthemer_env[[\"declined_droid_serif\"]])) return(NULL)\n  message(\n    \"Using 'Droid Serif' in `theme_xaringan()` requires downloading the font from Google Fonts into a temporary file. \"\n  )\n  ok_to_download <- utils::askYesNo(\"Do you want to try to download this font now?\")\n  if (identical(ok_to_download, FALSE)) {\n    xaringanthemer_env[[\"declined_droid_serif\"]] <- TRUE\n  }\n  if (!isTRUE(ok_to_download)) {\n    return(NULL)\n  }\n  dstmp <- tempfile(\"droid-serif\", fileext = \"ttf\")\n  utils::download.file(\n    \"https://github.com/google/fonts/raw/feb15862e0c66ec0e7531ca4c3ef2607071ea700/apache/droidserif/DroidSerif-Regular.ttf\",\n    dstmp,\n    quiet = TRUE\n  )\n  dstmp\n}\n\nverify_fig_showtext <- function(fn = \"theme_xaringan_base\") {\n  if (is.null(knitr::current_input())) return()\n  # Try to set fig.showtext automatically\n  if (isTRUE(knitr::opts_current$get(\"fig.showtext\"))) {\n    return()\n  }\n  stop(str_wrap(\n    \"To use \", fn, \"() with knitr, you need to set the chunk option \",\n    \"`fig.showtext = TRUE` for this chunk. Or you can set this option \",\n    \"globally with `knitr::opts_chunk$set(fig.showtext = TRUE)`.\"\n  ))\n}\n\nset_fig_showtext <- function() {\n  if (!requireNamespace(\"showtext\", quietly = TRUE)) {\n    return(invisible())\n  }\n\n  curr_fst_chunk <- knitr::opts_current$get(\"fig.showtext\")\n  curr_fst <- curr_fst_chunk %||% knitr::opts_chunk$get(\"fig.showtext\")\n\n  if (!is.null(curr_fst) && identical(curr_fst, FALSE)) {\n    return(invisible())\n  }\n  knitr::opts_chunk$set(fig.showtext = TRUE)\n}\n\nrequires_xaringanthemer_env <- function(\n  css_file = NULL,\n  try_css = TRUE,\n  requires_theme = TRUE\n) {\n  reload <- !is.null(css_file) && isTRUE(try_css)\n  pkg_env_exists <- exists(\"xaringanthemer_env\")\n  missing_theme <- requires_theme && pkg_env_exists && is.null(xaringanthemer_env$header_color)\n  if (reload || !pkg_env_exists || missing_theme) {\n    if (try_css) {\n      css_vars <- read_css_vars(css_file)\n      for (css_var in names(css_vars)) {\n        xaringanthemer_env[[css_var]] <- css_vars[[css_var]]\n      }\n      return(requires_xaringanthemer_env(try_css = FALSE))\n    } else {\n      stop(\"Please call a xaringanthemer theme function first.\")\n    }\n  }\n}\n\n#' Get the Value of xaringanthemer Style Setting\n#'\n#' A helper function to retrieve the value of style settings as set by a\n#' xaringanthemer style function, for use in plotting and other circumstances.\n#'\n#' @section Style Settings:\n#' Style settings used by xaringanthemer include:\n#'\n#' - `background_color`\n#' - `background_image`\n#' - `background_position`\n#' - `background_size`\n#' - `blockquote_left_border_color`\n#' - `code_font_family`\n#' - `code_font_family_fallback`\n#' - `code_font_google`\n#' - `code_font_is_google`\n#' - `code_font_size`\n#' - `code_font_url`\n#' - `code_highlight_color`\n#' - `code_inline_background_color`\n#' - `code_inline_color`\n#' - `code_inline_font_size`\n#' - `extra_css`\n#' - `extra_fonts`\n#' - `footnote_color`\n#' - `footnote_font_size`\n#' - `footnote_position_bottom`\n#' - `header_background_auto`\n#' - `header_background_color`\n#' - `header_background_content_padding_top`\n#' - `header_background_ignore_classes`\n#' - `header_background_padding`\n#' - `header_background_text_color`\n#' - `header_color`\n#' - `header_font_family`\n#' - `header_font_google`\n#' - `header_font_is_google`\n#' - `header_font_url`\n#' - `header_font_weight`\n#' - `header_h1_font_size`\n#' - `header_h2_font_size`\n#' - `header_h3_font_size`\n#' - `inverse_background_color`\n#' - `inverse_header_color`\n#' - `inverse_text_color`\n#' - `inverse_text_shadow`\n#' - `left_column_selected_color`\n#' - `left_column_subtle_color`\n#' - `link_color`\n#' - `padding`\n#' - `table_border_color`\n#' - `table_row_border_color`\n#' - `table_row_even_background_color`\n#' - `text_bold_color`\n#' - `text_color`\n#' - `text_font_base`\n#' - `text_font_family`\n#' - `text_font_family_fallback`\n#' - `text_font_google`\n#' - `text_font_is_google`\n#' - `text_font_size`\n#' - `text_font_url`\n#' - `text_font_weight`\n#' - `text_slide_number_color`\n#' - `text_slide_number_font_size`\n#' - `title_slide_background_color`\n#' - `title_slide_background_image`\n#' - `title_slide_background_position`\n#' - `title_slide_background_size`\n#' - `title_slide_text_color`\n#'\n#' @param setting A xaringanthemer style setting\n#' @inheritParams theme_xaringan\n#' @examples\n#' # Create a xaringanthemer style in a temporary file for this example\n#' xaringan_themer_css <- tempfile(\"xaringan-themer\", fileext = \".css\")\n#'\n#' style_solarized_light(outfile = xaringan_themer_css)\n#'\n#' theme_xaringan_get_value(\"text_color\")\n#' theme_xaringan_get_value(\"background_color\")\n#' theme_xaringan_get_value(\"header_color\")\n#' theme_xaringan_get_value(\"text_bold_color\")\n#' @return The value of the xaringanthemer style parameter.\n#' @export\ntheme_xaringan_get_value <- function(setting, css_file = NULL) {\n  requires_xaringanthemer_env(css_file = css_file)\n  if (length(setting) > 1) {\n    ret <- list()\n    for (var in setting) {\n      ret[[var]] <- xaringanthemer_env[[var]]\n    }\n    return(ret)\n  }\n\n  xaringanthemer_env[[setting]]\n}\n\nweb_to_point <- function(x, px_per_em = NULL, scale = 0.75) {\n  if (is.null(x)) {\n    return(NULL)\n  }\n  px_per_em <- px_per_em %||% get_base_font_size()\n  if (grepl(\"pt$\", x)) {\n    return(as.numeric(sub(\"pt$\", \"\", x)))\n  } else if (grepl(\"px$\", x)) {\n    x <- as.numeric(sub(\"px$\", \"\", x))\n    return(x * scale)\n  } else if (grepl(\"r?em$\", x)) {\n    x <- as.numeric(sub(\"r?em$\", \"\", x))\n    return(x * px_per_em * scale)\n  } else {\n    return()\n  }\n}\n\nget_base_font_size <- function() {\n  base_size <- xaringanthemer_env[[\"base_font_size\"]] %||%\n    xaringanthemer_env[[\"text_font_size\"]]\n\n  if (!grepl(\"px\", base_size)) {\n    # assume 16px base font size\n    16\n  } else {\n    as.numeric(sub(\"px\", \"\", base_size))\n  }\n}\n"
  },
  {
    "path": "R/style_duo.R",
    "content": "# Generated by inst/scripts/generate_theme_functions.R: do not edit by hand\n\n#' @param primary_color Duotone Primary Color. Defaults to #1F4257. Used in\n#'   multiple CSS rules. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--primary)` in any argument of a\n#'   style function or in custom CSS.\n#' @param secondary_color Duotone Secondary Color. Defaults to #F97B64. Used in\n#'   multiple CSS rules. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--secondary)` in any argument of\n#'   a style function or in custom CSS.\n#' @param text_color Text Color. Defaults to\n#'   `choose_dark_or_light(primary_color, darken_color(primary_color, 0.9), lighten_color(secondary_color, 0.99))`.\n#'   Modifies the `body` element. The value of this variable is also stored as\n#'   a CSS variable that can be referenced with `var(--text_color)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_color Header Color. Defaults to `secondary_color`. Modifies\n#'   the `h1, h2, h3` elements. The value of this variable is also stored as a\n#'   CSS variable that can be referenced with `var(--header-color)` in any\n#'   argument of a style function or in custom CSS.\n#' @param background_color Slide Background Color. Defaults to `primary_color`.\n#'   Modifies the `.remark-slide-content` class. The value of this variable is\n#'   also stored as a CSS variable that can be referenced with\n#'   `var(--background-color)` in any argument of a style function or in custom\n#'   CSS.\n#' @param link_color Link Color. Defaults to `secondary_color`. Modifies the\n#'   `a, a > code` elements. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--link-color)` in any argument\n#'   of a style function or in custom CSS.\n#' @param text_bold_color Bold Text Color. Defaults to `secondary_color`.\n#'   Modifies the `strong` element. The value of this variable is also stored\n#'   as a CSS variable that can be referenced with `var(--text-bold-color)` in\n#'   any argument of a style function or in custom CSS.\n#' @param text_slide_number_color Slide Number Color. Defaults to `text_color`.\n#'   Modifies the `.remark-slide-number` class.\n#' @param padding Slide Padding in `top right [bottom left]` format. Defaults\n#'   to 16px 64px 16px 64px. Modifies the `.remark-slide-content` class.\n#'   Accepts CSS\n#'   [padding](https://developer.mozilla.org/en-US/docs/Web/CSS/padding)\n#'   property values.\n#' @param background_image Background image applied to each *and every* slide.\n#'   Set `title_slide_background_image = \"none\"` to remove the background image\n#'   from the title slide. Defaults to `NULL`. Modifies the\n#'   `.remark-slide-content` class.\n#' @param background_size Background image size, requires `background_image` to\n#'   be set. If `background_image` is set, `background_size` will default to\n#'   `cover` so the background fills the screen. If both `background_image` and\n#'   `background_position` are set, will default to 100 percent. Defaults to\n#'   `NULL`. Modifies the `.remark-slide-content` class. Accepts CSS\n#'   [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)\n#'   property values.\n#' @param background_position Background image position, requires\n#'   `background_image` to be set, and it is recommended to adjust\n#'   `background_size`. Defaults to `NULL`. Modifies the\n#'   `.remark-slide-content` class. Accepts CSS\n#'   [background-position](https://developer.mozilla.org/en-US/docs/Web/CSS/background-position)\n#'   property values.\n#' @param code_highlight_color Code Line Highlight. Defaults to\n#'   rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class.\n#'   The value of this variable is also stored as a CSS variable that can be\n#'   referenced with `var(--code-highlight-color)` in any argument of a style\n#'   function or in custom CSS.\n#' @param code_inline_color Inline Code Color. Defaults to `secondary_color`.\n#'   Modifies the `.remark-inline-code` class.\n#' @param code_inline_background_color Inline Code Background Color. Defaults\n#'   to `NULL`. Modifies the `.remark-inline-code` class.\n#' @param code_inline_font_size Inline Code Text Font Size. Defaults to 1em.\n#'   Modifies the `.remark-inline-code` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--code-inline-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param inverse_background_color Inverse Background Color. Defaults to\n#'   `secondary_color`. Modifies the `.inverse` class. The value of this\n#'   variable is also stored as a CSS variable that can be referenced with\n#'   `var(--inverse-background-color)` in any argument of a style function or\n#'   in custom CSS.\n#' @param inverse_text_color Inverse Text Color. Defaults to `primary_color`.\n#'   Modifies the `.inverse` class. The value of this variable is also stored\n#'   as a CSS variable that can be referenced with `var(--inverse-text-color)`\n#'   in any argument of a style function or in custom CSS.\n#' @param inverse_text_shadow Enables Shadow on text of inverse slides.\n#'   Defaults to `FALSE`. Modifies the `.inverse` class.\n#' @param inverse_header_color Inverse Header Color. Defaults to\n#'   `inverse_text_color`. Modifies the `.inverse h1, .inverse h2, .inverse h3`\n#'   classes. The value of this variable is also stored as a CSS variable that\n#'   can be referenced with `var(--inverse-header-color)` in any argument of a\n#'   style function or in custom CSS.\n#' @param inverse_link_color Inverse Link Color. Defaults to `link_color`.\n#'   Modifies the `.inverse a, .inverse a > code` classes. The value of this\n#'   variable is also stored as a CSS variable that can be referenced with\n#'   `var(--inverse-link-color)` in any argument of a style function or in\n#'   custom CSS.\n#' @param title_slide_text_color Title Slide Text Color. Defaults to\n#'   `secondary_color`. Modifies the `.title-slide` class. The value of this\n#'   variable is also stored as a CSS variable that can be referenced with\n#'   `var(--title-slide-text-color)` in any argument of a style function or in\n#'   custom CSS.\n#' @param title_slide_background_color Title Slide Background Color. Defaults\n#'   to `primary_color`. Modifies the `.title-slide` class. The value of this\n#'   variable is also stored as a CSS variable that can be referenced with\n#'   `var(--title-slide-background-color)` in any argument of a style function\n#'   or in custom CSS.\n#' @param title_slide_background_image Title Slide Background Image URL.\n#'   Defaults to `NULL`. Modifies the `.title-slide` class.\n#' @param title_slide_background_size Title Slide Background Image Size,\n#'   defaults to \"cover\" if background image is set. Defaults to `NULL`.\n#'   Modifies the `.title-slide` class. Accepts CSS\n#'   [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)\n#'   property values.\n#' @param title_slide_background_position Title Slide Background Image\n#'   Position. Defaults to `NULL`. Modifies the `.title-slide` class. Accepts\n#'   CSS\n#'   [background-position](https://developer.mozilla.org/en-US/docs/Web/CSS/background-position)\n#'   property values.\n#' @param footnote_color Footnote text color (if `NA`, then it will be the same\n#'   color as `text_color`). Defaults to `NULL`. Modifies the `.footnote`\n#'   class.\n#' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies\n#'   the `.footnote` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values.\n#' @param footnote_position_bottom Footnote location from bottom of screen.\n#'   Defaults to 60px. Modifies the `.footnote` class. Accepts CSS\n#'   [position](https://developer.mozilla.org/en-US/docs/Web/CSS/position_value)\n#'   property values.\n#' @param left_column_subtle_color Left Column Text (not last). Defaults to\n#'   `apply_alpha(secondary_color, 0.6)`. Modifies the\n#'   `.left-column h2, .left-column h3` classes.\n#' @param left_column_selected_color Left Column Current Selection. Defaults to\n#'   `secondary_color`. Modifies the\n#'   `.left-column h2:last-of-type, .left-column h3:last-child` classes.\n#' @param blockquote_left_border_color Blockquote Left Border Color. Defaults\n#'   to `apply_alpha(secondary_color, 0.5)`. Modifies the `blockquote` element.\n#' @param table_border_color Table top/bottom border. Defaults to #666.\n#'   Modifies the `table: border-top, border-bottom` elements.\n#' @param table_row_border_color Table row inner bottom border. Defaults to\n#'   #ddd. Modifies the `table thead th: border-bottom` elements.\n#' @param table_row_even_background_color Table Even Row Background Color.\n#'   Defaults to `lighten_color(primary_color, 0.9)`. Modifies the\n#'   `thead, tfoot, tr:nth-child(even)` elements.\n#' @param base_font_size Base Font Size for All Slide Elements (must be `px`).\n#'   Defaults to 20px. Modifies the `html` element. The value of this variable\n#'   is also stored as a CSS variable that can be referenced with\n#'   `var(--base-font-size)` in any argument of a style function or in custom\n#'   CSS.\n#' @param text_font_size Slide Body Text Font Size. Defaults to 1rem. Modifies\n#'   the `.remark-slide-content` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--text-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_h1_font_size h1 Header Text Font Size. Defaults to 2.75rem.\n#'   Modifies the `.remark-slide-content h1` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-h1-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_h2_font_size h2 Header Text Font Size. Defaults to 2.25rem.\n#'   Modifies the `.remark-slide-content h2` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-h2-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_h3_font_size h3 Header Text Font Size. Defaults to 1.75rem.\n#'   Modifies the `.remark-slide-content h3` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-h3-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_background_auto Add background under slide title automatically\n#'   for h1 header elements. If not enabled, use `class: header_background` to\n#'   enable. Defaults to `FALSE`.\n#' @param header_background_color Background Color for h1 Header with\n#'   Background. Defaults to `header_color`. Modifies the\n#'   `.remark-slide-content h1` class. The value of this variable is also\n#'   stored as a CSS variable that can be referenced with\n#'   `var(--header-background-color)` in any argument of a style function or in\n#'   custom CSS.\n#' @param header_background_text_color Text Color for h1 Header with\n#'   Background. Defaults to `background_color`. Modifies the\n#'   `.remark-slide-content h1` class. The value of this variable is also\n#'   stored as a CSS variable that can be referenced with\n#'   `var(--header-background-text-color)` in any argument of a style function\n#'   or in custom CSS.\n#' @param header_background_padding Padding for h1 Header with Background.\n#'   Defaults to `NULL`. Modifies the `.remark-slide-content h1` class. Accepts\n#'   CSS [padding](https://developer.mozilla.org/en-US/docs/Web/CSS/padding)\n#'   property values.\n#' @param header_background_content_padding_top Top Padding for Content in\n#'   Slide with Header with Background. Defaults to 7rem. Modifies the\n#'   `.remark-slide-content` class.\n#' @param header_background_ignore_classes Slide Classes Where Header with\n#'   Background will not be Applied. Defaults to\n#'   `c('normal', 'inverse', 'title', 'middle', 'bottom')`. Modifies the\n#'   `.remark-slide-content` class.\n#' @param text_slide_number_font_size Slide Number Text Font Size. Defaults to\n#'   0.9rem. Modifies the `.remark-slide-number` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values.\n#' @param text_font_google Use `google_font()` to specify body font. Defaults\n#'   to `NULL`. Modifies the `body` element.\n#' @param text_font_family Body Text Font Family (xaringan default is\n#'   `'Droid Serif'`). Defaults to\n#'   `xaringanthemer_font_default(\"text_font_family\")`. Modifies the `body`\n#'   element. The value of this variable is also stored as a CSS variable that\n#'   can be referenced with `var(--text-font-family)` in any argument of a\n#'   style function or in custom CSS.\n#' @param text_font_weight Body Text Font Weight. Defaults to\n#'   `xaringanthemer_font_default(\"text_font_weight\")`. Modifies the `body`\n#'   element. Accepts CSS\n#'   [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)\n#'   property values.\n#' @param text_bold_font_weight Body Bold Text Font Weight. Defaults to bold.\n#'   Modifies the `strong` element.\n#' @param text_font_url Body Text Font URL(s). Defaults to\n#'   `xaringanthemer_font_default(\"text_font_url\")`. Modifies the\n#'   `@import url()` elements.\n#' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to\n#'   `xaringanthemer_font_default(\"text_font_family_fallback\")`. Modifies the\n#'   `body` element. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--text-font-family-fallback)` in\n#'   any argument of a style function or in custom CSS.\n#' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults\n#'   to sans-serif. Modifies the `body` element. The value of this variable is\n#'   also stored as a CSS variable that can be referenced with\n#'   `var(--text-font-base)` in any argument of a style function or in custom\n#'   CSS.\n#' @param header_font_google Use `google_font()` to specify header font.\n#'   Defaults to `NULL`. Modifies the `body` element.\n#' @param header_font_family Header Font Family (xaringan default is\n#'   `'Yanone Kaffeesatz'`). Defaults to\n#'   `xaringanthemer_font_default(\"header_font_family\")`. Modifies the\n#'   `h1, h2, h3` elements. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-font-family)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_font_weight Header Font Weight. Defaults to\n#'   `xaringanthemer_font_default(\"header_font_weight\")`. Modifies the\n#'   `h1, h2, h3` elements. Accepts CSS\n#'   [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)\n#'   property values.\n#' @param header_font_family_fallback Header Font Family Fallback. Defaults to\n#'   Georgia, serif. Modifies the `h1, h2, h3` elements. The value of this\n#'   variable is also stored as a CSS variable that can be referenced with\n#'   `var(--header-font-family-fallback)` in any argument of a style function\n#'   or in custom CSS.\n#' @param header_font_url Header Font URL. Defaults to\n#'   `xaringanthemer_font_default(\"header_font_url\")`. Modifies the\n#'   `@import url` elements.\n#' @param code_font_google Use `google_font()` to specify code font. Defaults\n#'   to `NULL`. Modifies the `body` element.\n#' @param code_font_family Code Font Family. Defaults to\n#'   `xaringanthemer_font_default(\"code_font_family\")`. Modifies the\n#'   `.remark-code, .remark-inline-code` classes. The value of this variable is\n#'   also stored as a CSS variable that can be referenced with\n#'   `var(--code-font-family)` in any argument of a style function or in custom\n#'   CSS.\n#' @param code_font_size Code Text Font Size. Defaults to 0.9rem. Modifies the\n#'   `.remark-inline` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--code-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param code_font_url Code Font URL. Defaults to\n#'   `xaringanthemer_font_default(\"code_font_url\")`. Modifies the `@import url`\n#'   elements.\n#' @param code_font_family_fallback Code Font Fallback. Defaults to\n#'   `xaringanthemer_font_default(\"code_font_family_fallback\")`. Modifies the\n#'   `.remark-code, .remark-inline-code` classes.\n#' @param link_decoration Text decoration of links. Defaults to none. Modifies\n#'   the `a, a > code` elements. Accepts CSS\n#'   [text-decoration](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration)\n#'   property values.\n#' @template theme_params\n#' @template style-usage\n#' @template style_duo\n#' @family Duotone themes\n#' @export\nstyle_duo <- function(\n  primary_color = \"#1F4257\",\n  secondary_color = \"#F97B64\",\n  text_color = choose_dark_or_light(primary_color, darken_color(primary_color, 0.9), lighten_color(secondary_color, 0.99)),\n  header_color = secondary_color,\n  background_color = primary_color,\n  link_color = secondary_color,\n  text_bold_color = secondary_color,\n  text_slide_number_color = text_color,\n  padding = \"16px 64px 16px 64px\",\n  background_image = NULL,\n  background_size = NULL,\n  background_position = NULL,\n  code_highlight_color = \"rgba(255,255,0,0.5)\",\n  code_inline_color = secondary_color,\n  code_inline_background_color = NULL,\n  code_inline_font_size = \"1em\",\n  inverse_background_color = secondary_color,\n  inverse_text_color = primary_color,\n  inverse_text_shadow = FALSE,\n  inverse_header_color = inverse_text_color,\n  inverse_link_color = link_color,\n  title_slide_text_color = secondary_color,\n  title_slide_background_color = primary_color,\n  title_slide_background_image = NULL,\n  title_slide_background_size = NULL,\n  title_slide_background_position = NULL,\n  footnote_color = NULL,\n  footnote_font_size = \"0.9em\",\n  footnote_position_bottom = \"60px\",\n  left_column_subtle_color = apply_alpha(secondary_color, 0.6),\n  left_column_selected_color = secondary_color,\n  blockquote_left_border_color = apply_alpha(secondary_color, 0.5),\n  table_border_color = \"#666\",\n  table_row_border_color = \"#ddd\",\n  table_row_even_background_color = lighten_color(primary_color, 0.9),\n  base_font_size = \"20px\",\n  text_font_size = \"1rem\",\n  header_h1_font_size = \"2.75rem\",\n  header_h2_font_size = \"2.25rem\",\n  header_h3_font_size = \"1.75rem\",\n  header_background_auto = FALSE,\n  header_background_color = header_color,\n  header_background_text_color = background_color,\n  header_background_padding = NULL,\n  header_background_content_padding_top = \"7rem\",\n  header_background_ignore_classes = c('normal', 'inverse', 'title', 'middle', 'bottom'),\n  text_slide_number_font_size = \"0.9rem\",\n  text_font_google = NULL,\n  text_font_family = xaringanthemer_font_default(\"text_font_family\"),\n  text_font_weight = xaringanthemer_font_default(\"text_font_weight\"),\n  text_bold_font_weight = \"bold\",\n  text_font_url = xaringanthemer_font_default(\"text_font_url\"),\n  text_font_family_fallback = xaringanthemer_font_default(\"text_font_family_fallback\"),\n  text_font_base = \"sans-serif\",\n  header_font_google = NULL,\n  header_font_family = xaringanthemer_font_default(\"header_font_family\"),\n  header_font_weight = xaringanthemer_font_default(\"header_font_weight\"),\n  header_font_family_fallback = \"Georgia, serif\",\n  header_font_url = xaringanthemer_font_default(\"header_font_url\"),\n  code_font_google = NULL,\n  code_font_family = xaringanthemer_font_default(\"code_font_family\"),\n  code_font_size = \"0.9rem\",\n  code_font_url = xaringanthemer_font_default(\"code_font_url\"),\n  code_font_family_fallback = xaringanthemer_font_default(\"code_font_family_fallback\"),\n  link_decoration = \"none\",\n  colors = NULL,\n  extra_css = NULL,\n  extra_fonts = NULL,\n  outfile = \"xaringan-themer.css\"\n) {\n  # DO NOT EDIT - Generated from inst/scripts/generate_theme_functions.R\n  primary_color <- unname(primary_color)\n  secondary_color <- unname(secondary_color)\n  colors <- c(primary = primary_color, secondary = secondary_color, colors)\n  eval(parse(text = call_style_xaringan()))\n}\n"
  },
  {
    "path": "R/style_duo_accent.R",
    "content": "# Generated by inst/scripts/generate_theme_functions.R: do not edit by hand\n\n#' @param primary_color Duotone Primary Color. Defaults to #035AA6. Used in\n#'   multiple CSS rules. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--primary)` in any argument of a\n#'   style function or in custom CSS.\n#' @param secondary_color Duotone Secondary Color. Defaults to #03A696. Used in\n#'   multiple CSS rules. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--secondary)` in any argument of\n#'   a style function or in custom CSS.\n#' @param white_color Brightest color used. Defaults to #FFFFFF. Used in\n#'   multiple CSS rules. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--white)` in any argument of a\n#'   style function or in custom CSS.\n#' @param black_color Darkest color used. Defaults to #000000. Used in multiple\n#'   CSS rules. The value of this variable is also stored as a CSS variable\n#'   that can be referenced with `var(--black)` in any argument of a style\n#'   function or in custom CSS.\n#' @param text_color Text Color. Defaults to `black_color`. Modifies the `body`\n#'   element. The value of this variable is also stored as a CSS variable that\n#'   can be referenced with `var(--text_color)` in any argument of a style\n#'   function or in custom CSS.\n#' @param header_color Header Color. Defaults to `primary_color`. Modifies the\n#'   `h1, h2, h3` elements. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-color)` in any argument\n#'   of a style function or in custom CSS.\n#' @param background_color Slide Background Color. Defaults to `white_color`.\n#'   Modifies the `.remark-slide-content` class. The value of this variable is\n#'   also stored as a CSS variable that can be referenced with\n#'   `var(--background-color)` in any argument of a style function or in custom\n#'   CSS.\n#' @param link_color Link Color. Defaults to\n#'   `choose_dark_or_light(secondary_color, primary_color, secondary_color)`.\n#'   Modifies the `a, a > code` elements. The value of this variable is also\n#'   stored as a CSS variable that can be referenced with `var(--link-color)`\n#'   in any argument of a style function or in custom CSS.\n#' @param text_bold_color Bold Text Color. Defaults to\n#'   `choose_dark_or_light(secondary_color, primary_color, secondary_color)`.\n#'   Modifies the `strong` element. The value of this variable is also stored\n#'   as a CSS variable that can be referenced with `var(--text-bold-color)` in\n#'   any argument of a style function or in custom CSS.\n#' @param text_slide_number_color Slide Number Color. Defaults to\n#'   `primary_color`. Modifies the `.remark-slide-number` class.\n#' @param padding Slide Padding in `top right [bottom left]` format. Defaults\n#'   to 16px 64px 16px 64px. Modifies the `.remark-slide-content` class.\n#'   Accepts CSS\n#'   [padding](https://developer.mozilla.org/en-US/docs/Web/CSS/padding)\n#'   property values.\n#' @param background_image Background image applied to each *and every* slide.\n#'   Set `title_slide_background_image = \"none\"` to remove the background image\n#'   from the title slide. Defaults to `NULL`. Modifies the\n#'   `.remark-slide-content` class.\n#' @param background_size Background image size, requires `background_image` to\n#'   be set. If `background_image` is set, `background_size` will default to\n#'   `cover` so the background fills the screen. If both `background_image` and\n#'   `background_position` are set, will default to 100 percent. Defaults to\n#'   `NULL`. Modifies the `.remark-slide-content` class. Accepts CSS\n#'   [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)\n#'   property values.\n#' @param background_position Background image position, requires\n#'   `background_image` to be set, and it is recommended to adjust\n#'   `background_size`. Defaults to `NULL`. Modifies the\n#'   `.remark-slide-content` class. Accepts CSS\n#'   [background-position](https://developer.mozilla.org/en-US/docs/Web/CSS/background-position)\n#'   property values.\n#' @param code_highlight_color Code Line Highlight. Defaults to\n#'   rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class.\n#'   The value of this variable is also stored as a CSS variable that can be\n#'   referenced with `var(--code-highlight-color)` in any argument of a style\n#'   function or in custom CSS.\n#' @param code_inline_color Inline Code Color. Defaults to\n#'   `choose_dark_or_light(secondary_color, primary_color, secondary_color)`.\n#'   Modifies the `.remark-inline-code` class.\n#' @param code_inline_background_color Inline Code Background Color. Defaults\n#'   to `NULL`. Modifies the `.remark-inline-code` class.\n#' @param code_inline_font_size Inline Code Text Font Size. Defaults to 1em.\n#'   Modifies the `.remark-inline-code` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--code-inline-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param inverse_background_color Inverse Background Color. Defaults to\n#'   `secondary_color`. Modifies the `.inverse` class. The value of this\n#'   variable is also stored as a CSS variable that can be referenced with\n#'   `var(--inverse-background-color)` in any argument of a style function or\n#'   in custom CSS.\n#' @param inverse_text_color Inverse Text Color. Defaults to\n#'   `choose_dark_or_light(secondary_color, black_color, white_color)`.\n#'   Modifies the `.inverse` class. The value of this variable is also stored\n#'   as a CSS variable that can be referenced with `var(--inverse-text-color)`\n#'   in any argument of a style function or in custom CSS.\n#' @param inverse_text_shadow Enables Shadow on text of inverse slides.\n#'   Defaults to `FALSE`. Modifies the `.inverse` class.\n#' @param inverse_header_color Inverse Header Color. Defaults to\n#'   `inverse_text_color`. Modifies the `.inverse h1, .inverse h2, .inverse h3`\n#'   classes. The value of this variable is also stored as a CSS variable that\n#'   can be referenced with `var(--inverse-header-color)` in any argument of a\n#'   style function or in custom CSS.\n#' @param inverse_link_color Inverse Link Color. Defaults to `link_color`.\n#'   Modifies the `.inverse a, .inverse a > code` classes. The value of this\n#'   variable is also stored as a CSS variable that can be referenced with\n#'   `var(--inverse-link-color)` in any argument of a style function or in\n#'   custom CSS.\n#' @param title_slide_text_color Title Slide Text Color. Defaults to\n#'   `choose_dark_or_light(primary_color, black_color, white_color)`. Modifies\n#'   the `.title-slide` class. The value of this variable is also stored as a\n#'   CSS variable that can be referenced with `var(--title-slide-text-color)`\n#'   in any argument of a style function or in custom CSS.\n#' @param title_slide_background_color Title Slide Background Color. Defaults\n#'   to `primary_color`. Modifies the `.title-slide` class. The value of this\n#'   variable is also stored as a CSS variable that can be referenced with\n#'   `var(--title-slide-background-color)` in any argument of a style function\n#'   or in custom CSS.\n#' @param title_slide_background_image Title Slide Background Image URL.\n#'   Defaults to `NULL`. Modifies the `.title-slide` class.\n#' @param title_slide_background_size Title Slide Background Image Size,\n#'   defaults to \"cover\" if background image is set. Defaults to `NULL`.\n#'   Modifies the `.title-slide` class. Accepts CSS\n#'   [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)\n#'   property values.\n#' @param title_slide_background_position Title Slide Background Image\n#'   Position. Defaults to `NULL`. Modifies the `.title-slide` class. Accepts\n#'   CSS\n#'   [background-position](https://developer.mozilla.org/en-US/docs/Web/CSS/background-position)\n#'   property values.\n#' @param footnote_color Footnote text color (if `NA`, then it will be the same\n#'   color as `text_color`). Defaults to `NULL`. Modifies the `.footnote`\n#'   class.\n#' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies\n#'   the `.footnote` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values.\n#' @param footnote_position_bottom Footnote location from bottom of screen.\n#'   Defaults to 60px. Modifies the `.footnote` class. Accepts CSS\n#'   [position](https://developer.mozilla.org/en-US/docs/Web/CSS/position_value)\n#'   property values.\n#' @param left_column_subtle_color Left Column Text (not last). Defaults to\n#'   `apply_alpha(primary_color, 0.6)`. Modifies the\n#'   `.left-column h2, .left-column h3` classes.\n#' @param left_column_selected_color Left Column Current Selection. Defaults to\n#'   `primary_color`. Modifies the\n#'   `.left-column h2:last-of-type, .left-column h3:last-child` classes.\n#' @param blockquote_left_border_color Blockquote Left Border Color. Defaults\n#'   to `apply_alpha(secondary_color, 0.5)`. Modifies the `blockquote` element.\n#' @param table_border_color Table top/bottom border. Defaults to #666.\n#'   Modifies the `table: border-top, border-bottom` elements.\n#' @param table_row_border_color Table row inner bottom border. Defaults to\n#'   #ddd. Modifies the `table thead th: border-bottom` elements.\n#' @param table_row_even_background_color Table Even Row Background Color.\n#'   Defaults to `lighten_color(secondary_color, 0.8)`. Modifies the\n#'   `thead, tfoot, tr:nth-child(even)` elements.\n#' @param base_font_size Base Font Size for All Slide Elements (must be `px`).\n#'   Defaults to 20px. Modifies the `html` element. The value of this variable\n#'   is also stored as a CSS variable that can be referenced with\n#'   `var(--base-font-size)` in any argument of a style function or in custom\n#'   CSS.\n#' @param text_font_size Slide Body Text Font Size. Defaults to 1rem. Modifies\n#'   the `.remark-slide-content` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--text-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_h1_font_size h1 Header Text Font Size. Defaults to 2.75rem.\n#'   Modifies the `.remark-slide-content h1` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-h1-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_h2_font_size h2 Header Text Font Size. Defaults to 2.25rem.\n#'   Modifies the `.remark-slide-content h2` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-h2-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_h3_font_size h3 Header Text Font Size. Defaults to 1.75rem.\n#'   Modifies the `.remark-slide-content h3` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-h3-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_background_auto Add background under slide title automatically\n#'   for h1 header elements. If not enabled, use `class: header_background` to\n#'   enable. Defaults to `FALSE`.\n#' @param header_background_color Background Color for h1 Header with\n#'   Background. Defaults to `header_color`. Modifies the\n#'   `.remark-slide-content h1` class. The value of this variable is also\n#'   stored as a CSS variable that can be referenced with\n#'   `var(--header-background-color)` in any argument of a style function or in\n#'   custom CSS.\n#' @param header_background_text_color Text Color for h1 Header with\n#'   Background. Defaults to `background_color`. Modifies the\n#'   `.remark-slide-content h1` class. The value of this variable is also\n#'   stored as a CSS variable that can be referenced with\n#'   `var(--header-background-text-color)` in any argument of a style function\n#'   or in custom CSS.\n#' @param header_background_padding Padding for h1 Header with Background.\n#'   Defaults to `NULL`. Modifies the `.remark-slide-content h1` class. Accepts\n#'   CSS [padding](https://developer.mozilla.org/en-US/docs/Web/CSS/padding)\n#'   property values.\n#' @param header_background_content_padding_top Top Padding for Content in\n#'   Slide with Header with Background. Defaults to 7rem. Modifies the\n#'   `.remark-slide-content` class.\n#' @param header_background_ignore_classes Slide Classes Where Header with\n#'   Background will not be Applied. Defaults to\n#'   `c('normal', 'inverse', 'title', 'middle', 'bottom')`. Modifies the\n#'   `.remark-slide-content` class.\n#' @param text_slide_number_font_size Slide Number Text Font Size. Defaults to\n#'   0.9rem. Modifies the `.remark-slide-number` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values.\n#' @param text_font_google Use `google_font()` to specify body font. Defaults\n#'   to `NULL`. Modifies the `body` element.\n#' @param text_font_family Body Text Font Family (xaringan default is\n#'   `'Droid Serif'`). Defaults to\n#'   `xaringanthemer_font_default(\"text_font_family\")`. Modifies the `body`\n#'   element. The value of this variable is also stored as a CSS variable that\n#'   can be referenced with `var(--text-font-family)` in any argument of a\n#'   style function or in custom CSS.\n#' @param text_font_weight Body Text Font Weight. Defaults to\n#'   `xaringanthemer_font_default(\"text_font_weight\")`. Modifies the `body`\n#'   element. Accepts CSS\n#'   [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)\n#'   property values.\n#' @param text_bold_font_weight Body Bold Text Font Weight. Defaults to bold.\n#'   Modifies the `strong` element.\n#' @param text_font_url Body Text Font URL(s). Defaults to\n#'   `xaringanthemer_font_default(\"text_font_url\")`. Modifies the\n#'   `@import url()` elements.\n#' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to\n#'   `xaringanthemer_font_default(\"text_font_family_fallback\")`. Modifies the\n#'   `body` element. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--text-font-family-fallback)` in\n#'   any argument of a style function or in custom CSS.\n#' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults\n#'   to sans-serif. Modifies the `body` element. The value of this variable is\n#'   also stored as a CSS variable that can be referenced with\n#'   `var(--text-font-base)` in any argument of a style function or in custom\n#'   CSS.\n#' @param header_font_google Use `google_font()` to specify header font.\n#'   Defaults to `NULL`. Modifies the `body` element.\n#' @param header_font_family Header Font Family (xaringan default is\n#'   `'Yanone Kaffeesatz'`). Defaults to\n#'   `xaringanthemer_font_default(\"header_font_family\")`. Modifies the\n#'   `h1, h2, h3` elements. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-font-family)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_font_weight Header Font Weight. Defaults to\n#'   `xaringanthemer_font_default(\"header_font_weight\")`. Modifies the\n#'   `h1, h2, h3` elements. Accepts CSS\n#'   [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)\n#'   property values.\n#' @param header_font_family_fallback Header Font Family Fallback. Defaults to\n#'   Georgia, serif. Modifies the `h1, h2, h3` elements. The value of this\n#'   variable is also stored as a CSS variable that can be referenced with\n#'   `var(--header-font-family-fallback)` in any argument of a style function\n#'   or in custom CSS.\n#' @param header_font_url Header Font URL. Defaults to\n#'   `xaringanthemer_font_default(\"header_font_url\")`. Modifies the\n#'   `@import url` elements.\n#' @param code_font_google Use `google_font()` to specify code font. Defaults\n#'   to `NULL`. Modifies the `body` element.\n#' @param code_font_family Code Font Family. Defaults to\n#'   `xaringanthemer_font_default(\"code_font_family\")`. Modifies the\n#'   `.remark-code, .remark-inline-code` classes. The value of this variable is\n#'   also stored as a CSS variable that can be referenced with\n#'   `var(--code-font-family)` in any argument of a style function or in custom\n#'   CSS.\n#' @param code_font_size Code Text Font Size. Defaults to 0.9rem. Modifies the\n#'   `.remark-inline` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--code-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param code_font_url Code Font URL. Defaults to\n#'   `xaringanthemer_font_default(\"code_font_url\")`. Modifies the `@import url`\n#'   elements.\n#' @param code_font_family_fallback Code Font Fallback. Defaults to\n#'   `xaringanthemer_font_default(\"code_font_family_fallback\")`. Modifies the\n#'   `.remark-code, .remark-inline-code` classes.\n#' @param link_decoration Text decoration of links. Defaults to none. Modifies\n#'   the `a, a > code` elements. Accepts CSS\n#'   [text-decoration](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration)\n#'   property values.\n#' @template theme_params\n#' @template style-usage\n#' @template style_duo_accent\n#' @family Duotone themes\n#' @export\nstyle_duo_accent <- function(\n  primary_color = \"#035AA6\",\n  secondary_color = \"#03A696\",\n  white_color = \"#FFFFFF\",\n  black_color = \"#000000\",\n  text_color = black_color,\n  header_color = primary_color,\n  background_color = white_color,\n  link_color = choose_dark_or_light(secondary_color, primary_color, secondary_color),\n  text_bold_color = choose_dark_or_light(secondary_color, primary_color, secondary_color),\n  text_slide_number_color = primary_color,\n  padding = \"16px 64px 16px 64px\",\n  background_image = NULL,\n  background_size = NULL,\n  background_position = NULL,\n  code_highlight_color = \"rgba(255,255,0,0.5)\",\n  code_inline_color = choose_dark_or_light(secondary_color, primary_color, secondary_color),\n  code_inline_background_color = NULL,\n  code_inline_font_size = \"1em\",\n  inverse_background_color = secondary_color,\n  inverse_text_color = choose_dark_or_light(secondary_color, black_color, white_color),\n  inverse_text_shadow = FALSE,\n  inverse_header_color = inverse_text_color,\n  inverse_link_color = link_color,\n  title_slide_text_color = choose_dark_or_light(primary_color, black_color, white_color),\n  title_slide_background_color = primary_color,\n  title_slide_background_image = NULL,\n  title_slide_background_size = NULL,\n  title_slide_background_position = NULL,\n  footnote_color = NULL,\n  footnote_font_size = \"0.9em\",\n  footnote_position_bottom = \"60px\",\n  left_column_subtle_color = apply_alpha(primary_color, 0.6),\n  left_column_selected_color = primary_color,\n  blockquote_left_border_color = apply_alpha(secondary_color, 0.5),\n  table_border_color = \"#666\",\n  table_row_border_color = \"#ddd\",\n  table_row_even_background_color = lighten_color(secondary_color, 0.8),\n  base_font_size = \"20px\",\n  text_font_size = \"1rem\",\n  header_h1_font_size = \"2.75rem\",\n  header_h2_font_size = \"2.25rem\",\n  header_h3_font_size = \"1.75rem\",\n  header_background_auto = FALSE,\n  header_background_color = header_color,\n  header_background_text_color = background_color,\n  header_background_padding = NULL,\n  header_background_content_padding_top = \"7rem\",\n  header_background_ignore_classes = c('normal', 'inverse', 'title', 'middle', 'bottom'),\n  text_slide_number_font_size = \"0.9rem\",\n  text_font_google = NULL,\n  text_font_family = xaringanthemer_font_default(\"text_font_family\"),\n  text_font_weight = xaringanthemer_font_default(\"text_font_weight\"),\n  text_bold_font_weight = \"bold\",\n  text_font_url = xaringanthemer_font_default(\"text_font_url\"),\n  text_font_family_fallback = xaringanthemer_font_default(\"text_font_family_fallback\"),\n  text_font_base = \"sans-serif\",\n  header_font_google = NULL,\n  header_font_family = xaringanthemer_font_default(\"header_font_family\"),\n  header_font_weight = xaringanthemer_font_default(\"header_font_weight\"),\n  header_font_family_fallback = \"Georgia, serif\",\n  header_font_url = xaringanthemer_font_default(\"header_font_url\"),\n  code_font_google = NULL,\n  code_font_family = xaringanthemer_font_default(\"code_font_family\"),\n  code_font_size = \"0.9rem\",\n  code_font_url = xaringanthemer_font_default(\"code_font_url\"),\n  code_font_family_fallback = xaringanthemer_font_default(\"code_font_family_fallback\"),\n  link_decoration = \"none\",\n  colors = NULL,\n  extra_css = NULL,\n  extra_fonts = NULL,\n  outfile = \"xaringan-themer.css\"\n) {\n  # DO NOT EDIT - Generated from inst/scripts/generate_theme_functions.R\n  primary_color <- unname(primary_color)\n  secondary_color <- unname(secondary_color)\n  white_color <- unname(white_color)\n  black_color <- unname(black_color)\n  colors <- c(primary = primary_color, secondary = secondary_color, white = white_color, black = black_color, colors)\n  eval(parse(text = call_style_xaringan()))\n}\n"
  },
  {
    "path": "R/style_duo_accent_inverse.R",
    "content": "# Generated by inst/scripts/generate_theme_functions.R: do not edit by hand\n\n#' @param primary_color Duotone Primary Color. Defaults to #035AA6. Used in\n#'   multiple CSS rules. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--primary)` in any argument of a\n#'   style function or in custom CSS.\n#' @param secondary_color Duotone Secondary Color. Defaults to #03A696. Used in\n#'   multiple CSS rules. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--secondary)` in any argument of\n#'   a style function or in custom CSS.\n#' @param white_color Brightest color used. Defaults to #FFFFFF. Used in\n#'   multiple CSS rules. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--white)` in any argument of a\n#'   style function or in custom CSS.\n#' @param black_color Darkest color used. Defaults to #000000. Used in multiple\n#'   CSS rules. The value of this variable is also stored as a CSS variable\n#'   that can be referenced with `var(--black)` in any argument of a style\n#'   function or in custom CSS.\n#' @param text_color Text Color. Defaults to `white_color`. Modifies the `body`\n#'   element. The value of this variable is also stored as a CSS variable that\n#'   can be referenced with `var(--text_color)` in any argument of a style\n#'   function or in custom CSS.\n#' @param header_color Header Color. Defaults to `primary_color`. Modifies the\n#'   `h1, h2, h3` elements. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-color)` in any argument\n#'   of a style function or in custom CSS.\n#' @param background_color Slide Background Color. Defaults to `black_color`.\n#'   Modifies the `.remark-slide-content` class. The value of this variable is\n#'   also stored as a CSS variable that can be referenced with\n#'   `var(--background-color)` in any argument of a style function or in custom\n#'   CSS.\n#' @param link_color Link Color. Defaults to\n#'   `choose_dark_or_light(secondary_color, secondary_color, primary_color)`.\n#'   Modifies the `a, a > code` elements. The value of this variable is also\n#'   stored as a CSS variable that can be referenced with `var(--link-color)`\n#'   in any argument of a style function or in custom CSS.\n#' @param text_bold_color Bold Text Color. Defaults to\n#'   `choose_dark_or_light(secondary_color, secondary_color, primary_color)`.\n#'   Modifies the `strong` element. The value of this variable is also stored\n#'   as a CSS variable that can be referenced with `var(--text-bold-color)` in\n#'   any argument of a style function or in custom CSS.\n#' @param text_slide_number_color Slide Number Color. Defaults to\n#'   `primary_color`. Modifies the `.remark-slide-number` class.\n#' @param padding Slide Padding in `top right [bottom left]` format. Defaults\n#'   to 16px 64px 16px 64px. Modifies the `.remark-slide-content` class.\n#'   Accepts CSS\n#'   [padding](https://developer.mozilla.org/en-US/docs/Web/CSS/padding)\n#'   property values.\n#' @param background_image Background image applied to each *and every* slide.\n#'   Set `title_slide_background_image = \"none\"` to remove the background image\n#'   from the title slide. Defaults to `NULL`. Modifies the\n#'   `.remark-slide-content` class.\n#' @param background_size Background image size, requires `background_image` to\n#'   be set. If `background_image` is set, `background_size` will default to\n#'   `cover` so the background fills the screen. If both `background_image` and\n#'   `background_position` are set, will default to 100 percent. Defaults to\n#'   `NULL`. Modifies the `.remark-slide-content` class. Accepts CSS\n#'   [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)\n#'   property values.\n#' @param background_position Background image position, requires\n#'   `background_image` to be set, and it is recommended to adjust\n#'   `background_size`. Defaults to `NULL`. Modifies the\n#'   `.remark-slide-content` class. Accepts CSS\n#'   [background-position](https://developer.mozilla.org/en-US/docs/Web/CSS/background-position)\n#'   property values.\n#' @param code_highlight_color Code Line Highlight. Defaults to\n#'   rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class.\n#'   The value of this variable is also stored as a CSS variable that can be\n#'   referenced with `var(--code-highlight-color)` in any argument of a style\n#'   function or in custom CSS.\n#' @param code_inline_color Inline Code Color. Defaults to\n#'   `choose_dark_or_light(secondary_color, secondary_color, primary_color)`.\n#'   Modifies the `.remark-inline-code` class.\n#' @param code_inline_background_color Inline Code Background Color. Defaults\n#'   to `NULL`. Modifies the `.remark-inline-code` class.\n#' @param code_inline_font_size Inline Code Text Font Size. Defaults to 1em.\n#'   Modifies the `.remark-inline-code` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--code-inline-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param inverse_background_color Inverse Background Color. Defaults to\n#'   `secondary_color`. Modifies the `.inverse` class. The value of this\n#'   variable is also stored as a CSS variable that can be referenced with\n#'   `var(--inverse-background-color)` in any argument of a style function or\n#'   in custom CSS.\n#' @param inverse_text_color Inverse Text Color. Defaults to\n#'   `choose_dark_or_light(secondary_color, black_color, white_color)`.\n#'   Modifies the `.inverse` class. The value of this variable is also stored\n#'   as a CSS variable that can be referenced with `var(--inverse-text-color)`\n#'   in any argument of a style function or in custom CSS.\n#' @param inverse_text_shadow Enables Shadow on text of inverse slides.\n#'   Defaults to `FALSE`. Modifies the `.inverse` class.\n#' @param inverse_header_color Inverse Header Color. Defaults to\n#'   `inverse_text_color`. Modifies the `.inverse h1, .inverse h2, .inverse h3`\n#'   classes. The value of this variable is also stored as a CSS variable that\n#'   can be referenced with `var(--inverse-header-color)` in any argument of a\n#'   style function or in custom CSS.\n#' @param inverse_link_color Inverse Link Color. Defaults to `link_color`.\n#'   Modifies the `.inverse a, .inverse a > code` classes. The value of this\n#'   variable is also stored as a CSS variable that can be referenced with\n#'   `var(--inverse-link-color)` in any argument of a style function or in\n#'   custom CSS.\n#' @param title_slide_text_color Title Slide Text Color. Defaults to\n#'   `choose_dark_or_light(primary_color, black_color, white_color)`. Modifies\n#'   the `.title-slide` class. The value of this variable is also stored as a\n#'   CSS variable that can be referenced with `var(--title-slide-text-color)`\n#'   in any argument of a style function or in custom CSS.\n#' @param title_slide_background_color Title Slide Background Color. Defaults\n#'   to `primary_color`. Modifies the `.title-slide` class. The value of this\n#'   variable is also stored as a CSS variable that can be referenced with\n#'   `var(--title-slide-background-color)` in any argument of a style function\n#'   or in custom CSS.\n#' @param title_slide_background_image Title Slide Background Image URL.\n#'   Defaults to `NULL`. Modifies the `.title-slide` class.\n#' @param title_slide_background_size Title Slide Background Image Size,\n#'   defaults to \"cover\" if background image is set. Defaults to `NULL`.\n#'   Modifies the `.title-slide` class. Accepts CSS\n#'   [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)\n#'   property values.\n#' @param title_slide_background_position Title Slide Background Image\n#'   Position. Defaults to `NULL`. Modifies the `.title-slide` class. Accepts\n#'   CSS\n#'   [background-position](https://developer.mozilla.org/en-US/docs/Web/CSS/background-position)\n#'   property values.\n#' @param footnote_color Footnote text color (if `NA`, then it will be the same\n#'   color as `text_color`). Defaults to `NULL`. Modifies the `.footnote`\n#'   class.\n#' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies\n#'   the `.footnote` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values.\n#' @param footnote_position_bottom Footnote location from bottom of screen.\n#'   Defaults to 60px. Modifies the `.footnote` class. Accepts CSS\n#'   [position](https://developer.mozilla.org/en-US/docs/Web/CSS/position_value)\n#'   property values.\n#' @param left_column_subtle_color Left Column Text (not last). Defaults to\n#'   `apply_alpha(primary_color, 0.6)`. Modifies the\n#'   `.left-column h2, .left-column h3` classes.\n#' @param left_column_selected_color Left Column Current Selection. Defaults to\n#'   `primary_color`. Modifies the\n#'   `.left-column h2:last-of-type, .left-column h3:last-child` classes.\n#' @param blockquote_left_border_color Blockquote Left Border Color. Defaults\n#'   to `apply_alpha(secondary_color, 0.5)`. Modifies the `blockquote` element.\n#' @param table_border_color Table top/bottom border. Defaults to #666.\n#'   Modifies the `table: border-top, border-bottom` elements.\n#' @param table_row_border_color Table row inner bottom border. Defaults to\n#'   #ddd. Modifies the `table thead th: border-bottom` elements.\n#' @param table_row_even_background_color Table Even Row Background Color.\n#'   Defaults to\n#'   `darken_color(choose_dark_or_light(primary_color, secondary_color, primary_color), 0.2)`.\n#'   Modifies the `thead, tfoot, tr:nth-child(even)` elements.\n#' @param base_font_size Base Font Size for All Slide Elements (must be `px`).\n#'   Defaults to 20px. Modifies the `html` element. The value of this variable\n#'   is also stored as a CSS variable that can be referenced with\n#'   `var(--base-font-size)` in any argument of a style function or in custom\n#'   CSS.\n#' @param text_font_size Slide Body Text Font Size. Defaults to 1rem. Modifies\n#'   the `.remark-slide-content` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--text-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_h1_font_size h1 Header Text Font Size. Defaults to 2.75rem.\n#'   Modifies the `.remark-slide-content h1` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-h1-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_h2_font_size h2 Header Text Font Size. Defaults to 2.25rem.\n#'   Modifies the `.remark-slide-content h2` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-h2-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_h3_font_size h3 Header Text Font Size. Defaults to 1.75rem.\n#'   Modifies the `.remark-slide-content h3` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-h3-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_background_auto Add background under slide title automatically\n#'   for h1 header elements. If not enabled, use `class: header_background` to\n#'   enable. Defaults to `FALSE`.\n#' @param header_background_color Background Color for h1 Header with\n#'   Background. Defaults to `header_color`. Modifies the\n#'   `.remark-slide-content h1` class. The value of this variable is also\n#'   stored as a CSS variable that can be referenced with\n#'   `var(--header-background-color)` in any argument of a style function or in\n#'   custom CSS.\n#' @param header_background_text_color Text Color for h1 Header with\n#'   Background. Defaults to `background_color`. Modifies the\n#'   `.remark-slide-content h1` class. The value of this variable is also\n#'   stored as a CSS variable that can be referenced with\n#'   `var(--header-background-text-color)` in any argument of a style function\n#'   or in custom CSS.\n#' @param header_background_padding Padding for h1 Header with Background.\n#'   Defaults to `NULL`. Modifies the `.remark-slide-content h1` class. Accepts\n#'   CSS [padding](https://developer.mozilla.org/en-US/docs/Web/CSS/padding)\n#'   property values.\n#' @param header_background_content_padding_top Top Padding for Content in\n#'   Slide with Header with Background. Defaults to 7rem. Modifies the\n#'   `.remark-slide-content` class.\n#' @param header_background_ignore_classes Slide Classes Where Header with\n#'   Background will not be Applied. Defaults to\n#'   `c('normal', 'inverse', 'title', 'middle', 'bottom')`. Modifies the\n#'   `.remark-slide-content` class.\n#' @param text_slide_number_font_size Slide Number Text Font Size. Defaults to\n#'   0.9rem. Modifies the `.remark-slide-number` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values.\n#' @param text_font_google Use `google_font()` to specify body font. Defaults\n#'   to `NULL`. Modifies the `body` element.\n#' @param text_font_family Body Text Font Family (xaringan default is\n#'   `'Droid Serif'`). Defaults to\n#'   `xaringanthemer_font_default(\"text_font_family\")`. Modifies the `body`\n#'   element. The value of this variable is also stored as a CSS variable that\n#'   can be referenced with `var(--text-font-family)` in any argument of a\n#'   style function or in custom CSS.\n#' @param text_font_weight Body Text Font Weight. Defaults to\n#'   `xaringanthemer_font_default(\"text_font_weight\")`. Modifies the `body`\n#'   element. Accepts CSS\n#'   [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)\n#'   property values.\n#' @param text_bold_font_weight Body Bold Text Font Weight. Defaults to bold.\n#'   Modifies the `strong` element.\n#' @param text_font_url Body Text Font URL(s). Defaults to\n#'   `xaringanthemer_font_default(\"text_font_url\")`. Modifies the\n#'   `@import url()` elements.\n#' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to\n#'   `xaringanthemer_font_default(\"text_font_family_fallback\")`. Modifies the\n#'   `body` element. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--text-font-family-fallback)` in\n#'   any argument of a style function or in custom CSS.\n#' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults\n#'   to sans-serif. Modifies the `body` element. The value of this variable is\n#'   also stored as a CSS variable that can be referenced with\n#'   `var(--text-font-base)` in any argument of a style function or in custom\n#'   CSS.\n#' @param header_font_google Use `google_font()` to specify header font.\n#'   Defaults to `NULL`. Modifies the `body` element.\n#' @param header_font_family Header Font Family (xaringan default is\n#'   `'Yanone Kaffeesatz'`). Defaults to\n#'   `xaringanthemer_font_default(\"header_font_family\")`. Modifies the\n#'   `h1, h2, h3` elements. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-font-family)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_font_weight Header Font Weight. Defaults to\n#'   `xaringanthemer_font_default(\"header_font_weight\")`. Modifies the\n#'   `h1, h2, h3` elements. Accepts CSS\n#'   [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)\n#'   property values.\n#' @param header_font_family_fallback Header Font Family Fallback. Defaults to\n#'   Georgia, serif. Modifies the `h1, h2, h3` elements. The value of this\n#'   variable is also stored as a CSS variable that can be referenced with\n#'   `var(--header-font-family-fallback)` in any argument of a style function\n#'   or in custom CSS.\n#' @param header_font_url Header Font URL. Defaults to\n#'   `xaringanthemer_font_default(\"header_font_url\")`. Modifies the\n#'   `@import url` elements.\n#' @param code_font_google Use `google_font()` to specify code font. Defaults\n#'   to `NULL`. Modifies the `body` element.\n#' @param code_font_family Code Font Family. Defaults to\n#'   `xaringanthemer_font_default(\"code_font_family\")`. Modifies the\n#'   `.remark-code, .remark-inline-code` classes. The value of this variable is\n#'   also stored as a CSS variable that can be referenced with\n#'   `var(--code-font-family)` in any argument of a style function or in custom\n#'   CSS.\n#' @param code_font_size Code Text Font Size. Defaults to 0.9rem. Modifies the\n#'   `.remark-inline` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--code-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param code_font_url Code Font URL. Defaults to\n#'   `xaringanthemer_font_default(\"code_font_url\")`. Modifies the `@import url`\n#'   elements.\n#' @param code_font_family_fallback Code Font Fallback. Defaults to\n#'   `xaringanthemer_font_default(\"code_font_family_fallback\")`. Modifies the\n#'   `.remark-code, .remark-inline-code` classes.\n#' @param link_decoration Text decoration of links. Defaults to none. Modifies\n#'   the `a, a > code` elements. Accepts CSS\n#'   [text-decoration](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration)\n#'   property values.\n#' @template theme_params\n#' @template style-usage\n#' @template style_duo_accent_inverse\n#' @family Duotone themes\n#' @export\nstyle_duo_accent_inverse <- function(\n  primary_color = \"#035AA6\",\n  secondary_color = \"#03A696\",\n  white_color = \"#FFFFFF\",\n  black_color = \"#000000\",\n  text_color = white_color,\n  header_color = primary_color,\n  background_color = black_color,\n  link_color = choose_dark_or_light(secondary_color, secondary_color, primary_color),\n  text_bold_color = choose_dark_or_light(secondary_color, secondary_color, primary_color),\n  text_slide_number_color = primary_color,\n  padding = \"16px 64px 16px 64px\",\n  background_image = NULL,\n  background_size = NULL,\n  background_position = NULL,\n  code_highlight_color = \"rgba(255,255,0,0.5)\",\n  code_inline_color = choose_dark_or_light(secondary_color, secondary_color, primary_color),\n  code_inline_background_color = NULL,\n  code_inline_font_size = \"1em\",\n  inverse_background_color = secondary_color,\n  inverse_text_color = choose_dark_or_light(secondary_color, black_color, white_color),\n  inverse_text_shadow = FALSE,\n  inverse_header_color = inverse_text_color,\n  inverse_link_color = link_color,\n  title_slide_text_color = choose_dark_or_light(primary_color, black_color, white_color),\n  title_slide_background_color = primary_color,\n  title_slide_background_image = NULL,\n  title_slide_background_size = NULL,\n  title_slide_background_position = NULL,\n  footnote_color = NULL,\n  footnote_font_size = \"0.9em\",\n  footnote_position_bottom = \"60px\",\n  left_column_subtle_color = apply_alpha(primary_color, 0.6),\n  left_column_selected_color = primary_color,\n  blockquote_left_border_color = apply_alpha(secondary_color, 0.5),\n  table_border_color = \"#666\",\n  table_row_border_color = \"#ddd\",\n  table_row_even_background_color = darken_color(choose_dark_or_light(primary_color, secondary_color, primary_color), 0.2),\n  base_font_size = \"20px\",\n  text_font_size = \"1rem\",\n  header_h1_font_size = \"2.75rem\",\n  header_h2_font_size = \"2.25rem\",\n  header_h3_font_size = \"1.75rem\",\n  header_background_auto = FALSE,\n  header_background_color = header_color,\n  header_background_text_color = background_color,\n  header_background_padding = NULL,\n  header_background_content_padding_top = \"7rem\",\n  header_background_ignore_classes = c('normal', 'inverse', 'title', 'middle', 'bottom'),\n  text_slide_number_font_size = \"0.9rem\",\n  text_font_google = NULL,\n  text_font_family = xaringanthemer_font_default(\"text_font_family\"),\n  text_font_weight = xaringanthemer_font_default(\"text_font_weight\"),\n  text_bold_font_weight = \"bold\",\n  text_font_url = xaringanthemer_font_default(\"text_font_url\"),\n  text_font_family_fallback = xaringanthemer_font_default(\"text_font_family_fallback\"),\n  text_font_base = \"sans-serif\",\n  header_font_google = NULL,\n  header_font_family = xaringanthemer_font_default(\"header_font_family\"),\n  header_font_weight = xaringanthemer_font_default(\"header_font_weight\"),\n  header_font_family_fallback = \"Georgia, serif\",\n  header_font_url = xaringanthemer_font_default(\"header_font_url\"),\n  code_font_google = NULL,\n  code_font_family = xaringanthemer_font_default(\"code_font_family\"),\n  code_font_size = \"0.9rem\",\n  code_font_url = xaringanthemer_font_default(\"code_font_url\"),\n  code_font_family_fallback = xaringanthemer_font_default(\"code_font_family_fallback\"),\n  link_decoration = \"none\",\n  colors = NULL,\n  extra_css = NULL,\n  extra_fonts = NULL,\n  outfile = \"xaringan-themer.css\"\n) {\n  # DO NOT EDIT - Generated from inst/scripts/generate_theme_functions.R\n  primary_color <- unname(primary_color)\n  secondary_color <- unname(secondary_color)\n  white_color <- unname(white_color)\n  black_color <- unname(black_color)\n  colors <- c(primary = primary_color, secondary = secondary_color, white = white_color, black = black_color, colors)\n  eval(parse(text = call_style_xaringan()))\n}\n"
  },
  {
    "path": "R/style_extra_css.R",
    "content": "#' Add Extra CSS Styles\n#'\n#' Adds css elements to target `outfile`, typically a xaringanthemer css file.\n#' The `css` argument takes a list of CSS classes and definitions (see examples below)\n#' and appends CSS rules to `outfile`.\n#'\n#' @section css list:\n#' The `css` input must be a named list of css properties and values within a\n#' named list of class identifiers, for example\n#' `list(\".class-id\" = list(\"css-property\" = \"value\"))`.\n#'\n#' @param css A named list of CSS definitions each containing a named list\n#'   of CSS property-value pairs, i.e.\n#'   `list(\".class-id\" = list(\"css-property\" = \"value\"))`\n#' @param append If `TRUE` output will be appended to `outfile`; otherwise,\n#'   it will overwrite the contents of `outfile`.\n#' @param heading Heading added above extra CSS. Use `NULL` to disable.\n#'\n#' @examples\n#' style_extra_css(\n#'   outfile = stdout(),\n#'   css = list(\n#'     \".red\" = list(color = \"red\"),\n#'     \".small\" = list(\"font-size\" = \"90%\"),\n#'     \".full-width\" = list(\n#'       display = \"flex\",\n#'       width = \"100%\",\n#'       flex = \"1 1 auto\"\n#'     )\n#'   )\n#' )\n#' @inheritParams style_xaringan\n#' @export\nstyle_extra_css <- function(\n  css,\n  outfile = \"xaringan-themer.css\",\n  append = TRUE,\n  heading = \"Extra CSS\"\n) {\n  has_heading <- !is.null(heading)\n  x <- paste0(\n    if (has_heading) paste0(\"/* \", heading, \" */\\n\"),\n    paste(list2css(css), collapse = \"\\n\")\n  )\n  if (append) x <- paste0(if (has_heading) \"\\n\\n\" else \"\\n\", x)\n  if (is.null(outfile)) return(x)\n  cat(\n    x,\n    file = outfile,\n    append = append,\n    sep = \"\\n\"\n  )\n  invisible(x)\n}\n\n#' @inheritParams style_extra_css\n#' @keywords internal\nlist2css <- function(css) {\n  `%.%` <- function(x, y) paste0(x, y)\n  error <- NULL\n  if (is.null(names(css))) {\n    stop(\"All elements in `css` list must be named\", call. = FALSE)\n  }\n  if (purrr::pluck_depth(css) != 3) {\n    stop(str_wrap(\n      \"`css` list must be a named list within a named list, e.g.:\\n\",\n      '  list(\".class-id\" = list(\"css-property\" = \"value\"))'\n    ))\n  }\n  if (any(names(css) == \"\")) {\n    not_named <- which(names(css) == \"\")\n    if (length(not_named) > 1) {\n      stop(str_wrap(\n        call. = FALSE,\n        \"All elements in `css` list must be named. Items \",\n        paste(not_named, collapse = \", \"),\n        \" are unnamed.\"\n      ))\n    } else {\n      stop(str_wrap(\n        call. = FALSE,\n        \"All elements in `css` list must be named. Item \",\n        not_named,\n        \" is not named.\"\n      ))\n    }\n  }\n  child_unnamed <- purrr::map_lgl(purrr::map(css, ~ {\n    is.null(names(.)) || any(names(.) == \"\")\n  }), ~ any(.))\n  if (any(child_unnamed)) {\n    has_unnamed <- names(css)[child_unnamed]\n    msg <- paste(\n      \"All properties of elements in `css` list must be named.\",\n      if (length(has_unnamed) > 1) \"Elements\" else \"Element\",\n      paste(has_unnamed, collapse = \", \"),\n      if (length(has_unnamed) > 1) \"have\" else \"has\",\n      \"unnamed property or properties.\"\n    )\n    stop(str_wrap(msg), call. = FALSE)\n  }\n\n  x <- purrr::imap_chr(css, function(rules, selector) {\n    paste(\n      sep = \"\\n\",\n      selector %.% \" {\",\n      paste(\n        purrr::imap_chr(rules, function(value, prop) {\n          \"  \" %.% prop %.% \": \" %.% value %.% \";\"\n        }),\n        collapse = \"\\n\"\n      ),\n      \"}\"\n    )\n  })\n  unname(x)\n}\n\nlist2fonts <- function(fonts) {\n  if (\n    length(setdiff(names(google_font('fam')), names(fonts))) == 0 &&\n      !inherits(fonts, \"google_font\")\n  ) {\n    # concatenating a string and a google_font() provides a wacky list\n    stop(\n      \"Multiple fonts in `extra_fonts` must be specified inside a `list()`.\",\n      call. = FALSE\n    )\n  }\n  if (inherits(fonts, \"google_font\")) {\n    fonts <- list(fonts)\n  }\n  fonts <- purrr::map_chr(fonts, function(f) {\n    if (inherits(f, \"google_font\")) {\n      f$url\n    } else if (inherits(f, \"character\")) {\n      f\n    } else {\n      NA_character_\n    }\n  })\n  paste0(\"@import url(\", fonts[!is.na(fonts)], \");\")\n}\n"
  },
  {
    "path": "R/style_font_default.R",
    "content": "#' @describeIn style_xaringan Default values for font family, weight, URLs and\n#'   font fallbacks.\n#' @param font_arg A font argument from the \\pkg{xaringanthemer} `style_`\n#'   function family.\n#' @export\nxaringanthemer_font_default <- function(font_arg) {\n  x <- switch(\n    font_arg,\n    text_font_family = \"Noto Sans\",\n    text_font_weight = \"normal\",\n    text_font_url = \"https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap\",\n    text_font_family_fallback = \"-apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial\",\n    header_font_family = \"Cabin\",\n    header_font_weight = \"600\",\n    header_font_url = \"https://fonts.googleapis.com/css?family=Cabin:600,600i&display=swap\",\n    code_font_family = \"Source Code Pro\",\n    code_font_url = \"https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap\",\n    code_font_family_fallback = \"Menlo, Consolas, Monaco, Liberation Mono, Lucida Console\",\n    stop(\"unknown font_arg: \", font_arg)\n  )\n  class(x) <- c(\"xaringanthemer_default\", class(x))\n  x\n}\n\n#' @export\nprint.xaringanthemer_default <- function(x, ...) {\n  print(unclass(x))\n}\n"
  },
  {
    "path": "R/style_mono_accent.R",
    "content": "# Generated by inst/scripts/generate_theme_functions.R: do not edit by hand\n\n#' @param base_color Monotone Base Color, works best with a strong color.\n#'   Defaults to #43418A. Used in multiple CSS rules. The value of this\n#'   variable is also stored as a CSS variable that can be referenced with\n#'   `var(--base)` in any argument of a style function or in custom CSS.\n#' @param white_color Brightest color used. Defaults to #FFFFFF. Used in\n#'   multiple CSS rules. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--white)` in any argument of a\n#'   style function or in custom CSS.\n#' @param black_color Darkest color used. Defaults to #272822. Used in multiple\n#'   CSS rules. The value of this variable is also stored as a CSS variable\n#'   that can be referenced with `var(--black)` in any argument of a style\n#'   function or in custom CSS.\n#' @param text_color Text Color. Defaults to `black_color`. Modifies the `body`\n#'   element. The value of this variable is also stored as a CSS variable that\n#'   can be referenced with `var(--text_color)` in any argument of a style\n#'   function or in custom CSS.\n#' @param header_color Header Color. Defaults to `base_color`. Modifies the\n#'   `h1, h2, h3` elements. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-color)` in any argument\n#'   of a style function or in custom CSS.\n#' @param background_color Slide Background Color. Defaults to `white_color`.\n#'   Modifies the `.remark-slide-content` class. The value of this variable is\n#'   also stored as a CSS variable that can be referenced with\n#'   `var(--background-color)` in any argument of a style function or in custom\n#'   CSS.\n#' @param link_color Link Color. Defaults to `base_color`. Modifies the\n#'   `a, a > code` elements. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--link-color)` in any argument\n#'   of a style function or in custom CSS.\n#' @param text_bold_color Bold Text Color. Defaults to `base_color`. Modifies\n#'   the `strong` element. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--text-bold-color)` in any\n#'   argument of a style function or in custom CSS.\n#' @param text_slide_number_color Slide Number Color. Defaults to `base_color`.\n#'   Modifies the `.remark-slide-number` class.\n#' @param padding Slide Padding in `top right [bottom left]` format. Defaults\n#'   to 16px 64px 16px 64px. Modifies the `.remark-slide-content` class.\n#'   Accepts CSS\n#'   [padding](https://developer.mozilla.org/en-US/docs/Web/CSS/padding)\n#'   property values.\n#' @param background_image Background image applied to each *and every* slide.\n#'   Set `title_slide_background_image = \"none\"` to remove the background image\n#'   from the title slide. Defaults to `NULL`. Modifies the\n#'   `.remark-slide-content` class.\n#' @param background_size Background image size, requires `background_image` to\n#'   be set. If `background_image` is set, `background_size` will default to\n#'   `cover` so the background fills the screen. If both `background_image` and\n#'   `background_position` are set, will default to 100 percent. Defaults to\n#'   `NULL`. Modifies the `.remark-slide-content` class. Accepts CSS\n#'   [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)\n#'   property values.\n#' @param background_position Background image position, requires\n#'   `background_image` to be set, and it is recommended to adjust\n#'   `background_size`. Defaults to `NULL`. Modifies the\n#'   `.remark-slide-content` class. Accepts CSS\n#'   [background-position](https://developer.mozilla.org/en-US/docs/Web/CSS/background-position)\n#'   property values.\n#' @param code_highlight_color Code Line Highlight. Defaults to\n#'   rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class.\n#'   The value of this variable is also stored as a CSS variable that can be\n#'   referenced with `var(--code-highlight-color)` in any argument of a style\n#'   function or in custom CSS.\n#' @param code_inline_color Inline Code Color. Defaults to `base_color`.\n#'   Modifies the `.remark-inline-code` class.\n#' @param code_inline_background_color Inline Code Background Color. Defaults\n#'   to `NULL`. Modifies the `.remark-inline-code` class.\n#' @param code_inline_font_size Inline Code Text Font Size. Defaults to 1em.\n#'   Modifies the `.remark-inline-code` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--code-inline-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param inverse_background_color Inverse Background Color. Defaults to\n#'   `base_color`. Modifies the `.inverse` class. The value of this variable is\n#'   also stored as a CSS variable that can be referenced with\n#'   `var(--inverse-background-color)` in any argument of a style function or\n#'   in custom CSS.\n#' @param inverse_text_color Inverse Text Color. Defaults to `white_color`.\n#'   Modifies the `.inverse` class. The value of this variable is also stored\n#'   as a CSS variable that can be referenced with `var(--inverse-text-color)`\n#'   in any argument of a style function or in custom CSS.\n#' @param inverse_text_shadow Enables Shadow on text of inverse slides.\n#'   Defaults to `FALSE`. Modifies the `.inverse` class.\n#' @param inverse_header_color Inverse Header Color. Defaults to\n#'   `inverse_text_color`. Modifies the `.inverse h1, .inverse h2, .inverse h3`\n#'   classes. The value of this variable is also stored as a CSS variable that\n#'   can be referenced with `var(--inverse-header-color)` in any argument of a\n#'   style function or in custom CSS.\n#' @param inverse_link_color Inverse Link Color. Defaults to `link_color`.\n#'   Modifies the `.inverse a, .inverse a > code` classes. The value of this\n#'   variable is also stored as a CSS variable that can be referenced with\n#'   `var(--inverse-link-color)` in any argument of a style function or in\n#'   custom CSS.\n#' @param title_slide_text_color Title Slide Text Color. Defaults to\n#'   `inverse_text_color`. Modifies the `.title-slide` class. The value of this\n#'   variable is also stored as a CSS variable that can be referenced with\n#'   `var(--title-slide-text-color)` in any argument of a style function or in\n#'   custom CSS.\n#' @param title_slide_background_color Title Slide Background Color. Defaults\n#'   to `inverse_background_color`. Modifies the `.title-slide` class. The\n#'   value of this variable is also stored as a CSS variable that can be\n#'   referenced with `var(--title-slide-background-color)` in any argument of a\n#'   style function or in custom CSS.\n#' @param title_slide_background_image Title Slide Background Image URL.\n#'   Defaults to `NULL`. Modifies the `.title-slide` class.\n#' @param title_slide_background_size Title Slide Background Image Size,\n#'   defaults to \"cover\" if background image is set. Defaults to `NULL`.\n#'   Modifies the `.title-slide` class. Accepts CSS\n#'   [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)\n#'   property values.\n#' @param title_slide_background_position Title Slide Background Image\n#'   Position. Defaults to `NULL`. Modifies the `.title-slide` class. Accepts\n#'   CSS\n#'   [background-position](https://developer.mozilla.org/en-US/docs/Web/CSS/background-position)\n#'   property values.\n#' @param footnote_color Footnote text color (if `NA`, then it will be the same\n#'   color as `text_color`). Defaults to `NULL`. Modifies the `.footnote`\n#'   class.\n#' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies\n#'   the `.footnote` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values.\n#' @param footnote_position_bottom Footnote location from bottom of screen.\n#'   Defaults to 60px. Modifies the `.footnote` class. Accepts CSS\n#'   [position](https://developer.mozilla.org/en-US/docs/Web/CSS/position_value)\n#'   property values.\n#' @param left_column_subtle_color Left Column Text (not last). Defaults to\n#'   `apply_alpha(base_color, 0.6)`. Modifies the\n#'   `.left-column h2, .left-column h3` classes.\n#' @param left_column_selected_color Left Column Current Selection. Defaults to\n#'   `base_color`. Modifies the\n#'   `.left-column h2:last-of-type, .left-column h3:last-child` classes.\n#' @param blockquote_left_border_color Blockquote Left Border Color. Defaults\n#'   to `apply_alpha(base_color, 0.5)`. Modifies the `blockquote` element.\n#' @param table_border_color Table top/bottom border. Defaults to #666.\n#'   Modifies the `table: border-top, border-bottom` elements.\n#' @param table_row_border_color Table row inner bottom border. Defaults to\n#'   #ddd. Modifies the `table thead th: border-bottom` elements.\n#' @param table_row_even_background_color Table Even Row Background Color.\n#'   Defaults to `lighten_color(base_color, 0.8)`. Modifies the\n#'   `thead, tfoot, tr:nth-child(even)` elements.\n#' @param base_font_size Base Font Size for All Slide Elements (must be `px`).\n#'   Defaults to 20px. Modifies the `html` element. The value of this variable\n#'   is also stored as a CSS variable that can be referenced with\n#'   `var(--base-font-size)` in any argument of a style function or in custom\n#'   CSS.\n#' @param text_font_size Slide Body Text Font Size. Defaults to 1rem. Modifies\n#'   the `.remark-slide-content` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--text-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_h1_font_size h1 Header Text Font Size. Defaults to 2.75rem.\n#'   Modifies the `.remark-slide-content h1` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-h1-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_h2_font_size h2 Header Text Font Size. Defaults to 2.25rem.\n#'   Modifies the `.remark-slide-content h2` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-h2-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_h3_font_size h3 Header Text Font Size. Defaults to 1.75rem.\n#'   Modifies the `.remark-slide-content h3` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-h3-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_background_auto Add background under slide title automatically\n#'   for h1 header elements. If not enabled, use `class: header_background` to\n#'   enable. Defaults to `FALSE`.\n#' @param header_background_color Background Color for h1 Header with\n#'   Background. Defaults to `header_color`. Modifies the\n#'   `.remark-slide-content h1` class. The value of this variable is also\n#'   stored as a CSS variable that can be referenced with\n#'   `var(--header-background-color)` in any argument of a style function or in\n#'   custom CSS.\n#' @param header_background_text_color Text Color for h1 Header with\n#'   Background. Defaults to `background_color`. Modifies the\n#'   `.remark-slide-content h1` class. The value of this variable is also\n#'   stored as a CSS variable that can be referenced with\n#'   `var(--header-background-text-color)` in any argument of a style function\n#'   or in custom CSS.\n#' @param header_background_padding Padding for h1 Header with Background.\n#'   Defaults to `NULL`. Modifies the `.remark-slide-content h1` class. Accepts\n#'   CSS [padding](https://developer.mozilla.org/en-US/docs/Web/CSS/padding)\n#'   property values.\n#' @param header_background_content_padding_top Top Padding for Content in\n#'   Slide with Header with Background. Defaults to 7rem. Modifies the\n#'   `.remark-slide-content` class.\n#' @param header_background_ignore_classes Slide Classes Where Header with\n#'   Background will not be Applied. Defaults to\n#'   `c('normal', 'inverse', 'title', 'middle', 'bottom')`. Modifies the\n#'   `.remark-slide-content` class.\n#' @param text_slide_number_font_size Slide Number Text Font Size. Defaults to\n#'   0.9rem. Modifies the `.remark-slide-number` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values.\n#' @param text_font_google Use `google_font()` to specify body font. Defaults\n#'   to `NULL`. Modifies the `body` element.\n#' @param text_font_family Body Text Font Family (xaringan default is\n#'   `'Droid Serif'`). Defaults to\n#'   `xaringanthemer_font_default(\"text_font_family\")`. Modifies the `body`\n#'   element. The value of this variable is also stored as a CSS variable that\n#'   can be referenced with `var(--text-font-family)` in any argument of a\n#'   style function or in custom CSS.\n#' @param text_font_weight Body Text Font Weight. Defaults to\n#'   `xaringanthemer_font_default(\"text_font_weight\")`. Modifies the `body`\n#'   element. Accepts CSS\n#'   [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)\n#'   property values.\n#' @param text_bold_font_weight Body Bold Text Font Weight. Defaults to bold.\n#'   Modifies the `strong` element.\n#' @param text_font_url Body Text Font URL(s). Defaults to\n#'   `xaringanthemer_font_default(\"text_font_url\")`. Modifies the\n#'   `@import url()` elements.\n#' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to\n#'   `xaringanthemer_font_default(\"text_font_family_fallback\")`. Modifies the\n#'   `body` element. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--text-font-family-fallback)` in\n#'   any argument of a style function or in custom CSS.\n#' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults\n#'   to sans-serif. Modifies the `body` element. The value of this variable is\n#'   also stored as a CSS variable that can be referenced with\n#'   `var(--text-font-base)` in any argument of a style function or in custom\n#'   CSS.\n#' @param header_font_google Use `google_font()` to specify header font.\n#'   Defaults to `NULL`. Modifies the `body` element.\n#' @param header_font_family Header Font Family (xaringan default is\n#'   `'Yanone Kaffeesatz'`). Defaults to\n#'   `xaringanthemer_font_default(\"header_font_family\")`. Modifies the\n#'   `h1, h2, h3` elements. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-font-family)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_font_weight Header Font Weight. Defaults to\n#'   `xaringanthemer_font_default(\"header_font_weight\")`. Modifies the\n#'   `h1, h2, h3` elements. Accepts CSS\n#'   [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)\n#'   property values.\n#' @param header_font_family_fallback Header Font Family Fallback. Defaults to\n#'   Georgia, serif. Modifies the `h1, h2, h3` elements. The value of this\n#'   variable is also stored as a CSS variable that can be referenced with\n#'   `var(--header-font-family-fallback)` in any argument of a style function\n#'   or in custom CSS.\n#' @param header_font_url Header Font URL. Defaults to\n#'   `xaringanthemer_font_default(\"header_font_url\")`. Modifies the\n#'   `@import url` elements.\n#' @param code_font_google Use `google_font()` to specify code font. Defaults\n#'   to `NULL`. Modifies the `body` element.\n#' @param code_font_family Code Font Family. Defaults to\n#'   `xaringanthemer_font_default(\"code_font_family\")`. Modifies the\n#'   `.remark-code, .remark-inline-code` classes. The value of this variable is\n#'   also stored as a CSS variable that can be referenced with\n#'   `var(--code-font-family)` in any argument of a style function or in custom\n#'   CSS.\n#' @param code_font_size Code Text Font Size. Defaults to 0.9rem. Modifies the\n#'   `.remark-inline` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--code-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param code_font_url Code Font URL. Defaults to\n#'   `xaringanthemer_font_default(\"code_font_url\")`. Modifies the `@import url`\n#'   elements.\n#' @param code_font_family_fallback Code Font Fallback. Defaults to\n#'   `xaringanthemer_font_default(\"code_font_family_fallback\")`. Modifies the\n#'   `.remark-code, .remark-inline-code` classes.\n#' @param link_decoration Text decoration of links. Defaults to none. Modifies\n#'   the `a, a > code` elements. Accepts CSS\n#'   [text-decoration](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration)\n#'   property values.\n#' @template theme_params\n#' @template style-usage\n#' @template style_mono_accent\n#' @family Monotone themes\n#' @export\nstyle_mono_accent <- function(\n  base_color = \"#43418A\",\n  white_color = \"#FFFFFF\",\n  black_color = \"#272822\",\n  text_color = black_color,\n  header_color = base_color,\n  background_color = white_color,\n  link_color = base_color,\n  text_bold_color = base_color,\n  text_slide_number_color = base_color,\n  padding = \"16px 64px 16px 64px\",\n  background_image = NULL,\n  background_size = NULL,\n  background_position = NULL,\n  code_highlight_color = \"rgba(255,255,0,0.5)\",\n  code_inline_color = base_color,\n  code_inline_background_color = NULL,\n  code_inline_font_size = \"1em\",\n  inverse_background_color = base_color,\n  inverse_text_color = white_color,\n  inverse_text_shadow = FALSE,\n  inverse_header_color = inverse_text_color,\n  inverse_link_color = link_color,\n  title_slide_text_color = inverse_text_color,\n  title_slide_background_color = inverse_background_color,\n  title_slide_background_image = NULL,\n  title_slide_background_size = NULL,\n  title_slide_background_position = NULL,\n  footnote_color = NULL,\n  footnote_font_size = \"0.9em\",\n  footnote_position_bottom = \"60px\",\n  left_column_subtle_color = apply_alpha(base_color, 0.6),\n  left_column_selected_color = base_color,\n  blockquote_left_border_color = apply_alpha(base_color, 0.5),\n  table_border_color = \"#666\",\n  table_row_border_color = \"#ddd\",\n  table_row_even_background_color = lighten_color(base_color, 0.8),\n  base_font_size = \"20px\",\n  text_font_size = \"1rem\",\n  header_h1_font_size = \"2.75rem\",\n  header_h2_font_size = \"2.25rem\",\n  header_h3_font_size = \"1.75rem\",\n  header_background_auto = FALSE,\n  header_background_color = header_color,\n  header_background_text_color = background_color,\n  header_background_padding = NULL,\n  header_background_content_padding_top = \"7rem\",\n  header_background_ignore_classes = c('normal', 'inverse', 'title', 'middle', 'bottom'),\n  text_slide_number_font_size = \"0.9rem\",\n  text_font_google = NULL,\n  text_font_family = xaringanthemer_font_default(\"text_font_family\"),\n  text_font_weight = xaringanthemer_font_default(\"text_font_weight\"),\n  text_bold_font_weight = \"bold\",\n  text_font_url = xaringanthemer_font_default(\"text_font_url\"),\n  text_font_family_fallback = xaringanthemer_font_default(\"text_font_family_fallback\"),\n  text_font_base = \"sans-serif\",\n  header_font_google = NULL,\n  header_font_family = xaringanthemer_font_default(\"header_font_family\"),\n  header_font_weight = xaringanthemer_font_default(\"header_font_weight\"),\n  header_font_family_fallback = \"Georgia, serif\",\n  header_font_url = xaringanthemer_font_default(\"header_font_url\"),\n  code_font_google = NULL,\n  code_font_family = xaringanthemer_font_default(\"code_font_family\"),\n  code_font_size = \"0.9rem\",\n  code_font_url = xaringanthemer_font_default(\"code_font_url\"),\n  code_font_family_fallback = xaringanthemer_font_default(\"code_font_family_fallback\"),\n  link_decoration = \"none\",\n  colors = NULL,\n  extra_css = NULL,\n  extra_fonts = NULL,\n  outfile = \"xaringan-themer.css\"\n) {\n  # DO NOT EDIT - Generated from inst/scripts/generate_theme_functions.R\n  base_color <- unname(base_color)\n  white_color <- unname(white_color)\n  black_color <- unname(black_color)\n  colors <- c(base = base_color, white = white_color, black = black_color, colors)\n  eval(parse(text = call_style_xaringan()))\n}\n"
  },
  {
    "path": "R/style_mono_accent_inverse.R",
    "content": "# Generated by inst/scripts/generate_theme_functions.R: do not edit by hand\n\n#' @param base_color Monotone Base Color, works best with a light color.\n#'   Defaults to #3C989E. Used in multiple CSS rules. The value of this\n#'   variable is also stored as a CSS variable that can be referenced with\n#'   `var(--base)` in any argument of a style function or in custom CSS.\n#' @param white_color Brightest color used, default is a very light version of\n#'   `base_color`. Defaults to #FFFFFF. Used in multiple CSS rules. The value\n#'   of this variable is also stored as a CSS variable that can be referenced\n#'   with `var(--white)` in any argument of a style function or in custom CSS.\n#' @param black_color Darkest color used, default is a very dark, version of\n#'   `base_color`. Defaults to `darken_color(base_color, 0.9)`. Used in\n#'   multiple CSS rules. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--black)` in any argument of a\n#'   style function or in custom CSS.\n#' @param text_color Text Color. Defaults to `white_color`. Modifies the `body`\n#'   element. The value of this variable is also stored as a CSS variable that\n#'   can be referenced with `var(--text_color)` in any argument of a style\n#'   function or in custom CSS.\n#' @param header_color Header Color. Defaults to `base_color`. Modifies the\n#'   `h1, h2, h3` elements. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-color)` in any argument\n#'   of a style function or in custom CSS.\n#' @param background_color Slide Background Color. Defaults to `black_color`.\n#'   Modifies the `.remark-slide-content` class. The value of this variable is\n#'   also stored as a CSS variable that can be referenced with\n#'   `var(--background-color)` in any argument of a style function or in custom\n#'   CSS.\n#' @param link_color Link Color. Defaults to `base_color`. Modifies the\n#'   `a, a > code` elements. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--link-color)` in any argument\n#'   of a style function or in custom CSS.\n#' @param text_bold_color Bold Text Color. Defaults to `base_color`. Modifies\n#'   the `strong` element. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--text-bold-color)` in any\n#'   argument of a style function or in custom CSS.\n#' @param text_slide_number_color Slide Number Color. Defaults to `base_color`.\n#'   Modifies the `.remark-slide-number` class.\n#' @param padding Slide Padding in `top right [bottom left]` format. Defaults\n#'   to 16px 64px 16px 64px. Modifies the `.remark-slide-content` class.\n#'   Accepts CSS\n#'   [padding](https://developer.mozilla.org/en-US/docs/Web/CSS/padding)\n#'   property values.\n#' @param background_image Background image applied to each *and every* slide.\n#'   Set `title_slide_background_image = \"none\"` to remove the background image\n#'   from the title slide. Defaults to `NULL`. Modifies the\n#'   `.remark-slide-content` class.\n#' @param background_size Background image size, requires `background_image` to\n#'   be set. If `background_image` is set, `background_size` will default to\n#'   `cover` so the background fills the screen. If both `background_image` and\n#'   `background_position` are set, will default to 100 percent. Defaults to\n#'   `NULL`. Modifies the `.remark-slide-content` class. Accepts CSS\n#'   [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)\n#'   property values.\n#' @param background_position Background image position, requires\n#'   `background_image` to be set, and it is recommended to adjust\n#'   `background_size`. Defaults to `NULL`. Modifies the\n#'   `.remark-slide-content` class. Accepts CSS\n#'   [background-position](https://developer.mozilla.org/en-US/docs/Web/CSS/background-position)\n#'   property values.\n#' @param code_highlight_color Code Line Highlight. Defaults to\n#'   rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class.\n#'   The value of this variable is also stored as a CSS variable that can be\n#'   referenced with `var(--code-highlight-color)` in any argument of a style\n#'   function or in custom CSS.\n#' @param code_inline_color Inline Code Color. Defaults to `base_color`.\n#'   Modifies the `.remark-inline-code` class.\n#' @param code_inline_background_color Inline Code Background Color. Defaults\n#'   to `NULL`. Modifies the `.remark-inline-code` class.\n#' @param code_inline_font_size Inline Code Text Font Size. Defaults to 1em.\n#'   Modifies the `.remark-inline-code` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--code-inline-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param inverse_background_color Inverse Background Color. Defaults to\n#'   `base_color`. Modifies the `.inverse` class. The value of this variable is\n#'   also stored as a CSS variable that can be referenced with\n#'   `var(--inverse-background-color)` in any argument of a style function or\n#'   in custom CSS.\n#' @param inverse_text_color Inverse Text Color. Defaults to `black_color`.\n#'   Modifies the `.inverse` class. The value of this variable is also stored\n#'   as a CSS variable that can be referenced with `var(--inverse-text-color)`\n#'   in any argument of a style function or in custom CSS.\n#' @param inverse_text_shadow Enables Shadow on text of inverse slides.\n#'   Defaults to `FALSE`. Modifies the `.inverse` class.\n#' @param inverse_header_color Inverse Header Color. Defaults to\n#'   `inverse_text_color`. Modifies the `.inverse h1, .inverse h2, .inverse h3`\n#'   classes. The value of this variable is also stored as a CSS variable that\n#'   can be referenced with `var(--inverse-header-color)` in any argument of a\n#'   style function or in custom CSS.\n#' @param inverse_link_color Inverse Link Color. Defaults to `link_color`.\n#'   Modifies the `.inverse a, .inverse a > code` classes. The value of this\n#'   variable is also stored as a CSS variable that can be referenced with\n#'   `var(--inverse-link-color)` in any argument of a style function or in\n#'   custom CSS.\n#' @param title_slide_text_color Title Slide Text Color. Defaults to\n#'   `inverse_text_color`. Modifies the `.title-slide` class. The value of this\n#'   variable is also stored as a CSS variable that can be referenced with\n#'   `var(--title-slide-text-color)` in any argument of a style function or in\n#'   custom CSS.\n#' @param title_slide_background_color Title Slide Background Color. Defaults\n#'   to `inverse_background_color`. Modifies the `.title-slide` class. The\n#'   value of this variable is also stored as a CSS variable that can be\n#'   referenced with `var(--title-slide-background-color)` in any argument of a\n#'   style function or in custom CSS.\n#' @param title_slide_background_image Title Slide Background Image URL.\n#'   Defaults to `NULL`. Modifies the `.title-slide` class.\n#' @param title_slide_background_size Title Slide Background Image Size,\n#'   defaults to \"cover\" if background image is set. Defaults to `NULL`.\n#'   Modifies the `.title-slide` class. Accepts CSS\n#'   [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)\n#'   property values.\n#' @param title_slide_background_position Title Slide Background Image\n#'   Position. Defaults to `NULL`. Modifies the `.title-slide` class. Accepts\n#'   CSS\n#'   [background-position](https://developer.mozilla.org/en-US/docs/Web/CSS/background-position)\n#'   property values.\n#' @param footnote_color Footnote text color (if `NA`, then it will be the same\n#'   color as `text_color`). Defaults to `NULL`. Modifies the `.footnote`\n#'   class.\n#' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies\n#'   the `.footnote` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values.\n#' @param footnote_position_bottom Footnote location from bottom of screen.\n#'   Defaults to 60px. Modifies the `.footnote` class. Accepts CSS\n#'   [position](https://developer.mozilla.org/en-US/docs/Web/CSS/position_value)\n#'   property values.\n#' @param left_column_subtle_color Left Column Text (not last). Defaults to\n#'   `apply_alpha(base_color, 0.6)`. Modifies the\n#'   `.left-column h2, .left-column h3` classes.\n#' @param left_column_selected_color Left Column Current Selection. Defaults to\n#'   `base_color`. Modifies the\n#'   `.left-column h2:last-of-type, .left-column h3:last-child` classes.\n#' @param blockquote_left_border_color Blockquote Left Border Color. Defaults\n#'   to `apply_alpha(base_color, 0.5)`. Modifies the `blockquote` element.\n#' @param table_border_color Table top/bottom border. Defaults to #666.\n#'   Modifies the `table: border-top, border-bottom` elements.\n#' @param table_row_border_color Table row inner bottom border. Defaults to\n#'   #ddd. Modifies the `table thead th: border-bottom` elements.\n#' @param table_row_even_background_color Table Even Row Background Color.\n#'   Defaults to `darken_color(base_color, 0.8)`. Modifies the\n#'   `thead, tfoot, tr:nth-child(even)` elements.\n#' @param base_font_size Base Font Size for All Slide Elements (must be `px`).\n#'   Defaults to 20px. Modifies the `html` element. The value of this variable\n#'   is also stored as a CSS variable that can be referenced with\n#'   `var(--base-font-size)` in any argument of a style function or in custom\n#'   CSS.\n#' @param text_font_size Slide Body Text Font Size. Defaults to 1rem. Modifies\n#'   the `.remark-slide-content` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--text-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_h1_font_size h1 Header Text Font Size. Defaults to 2.75rem.\n#'   Modifies the `.remark-slide-content h1` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-h1-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_h2_font_size h2 Header Text Font Size. Defaults to 2.25rem.\n#'   Modifies the `.remark-slide-content h2` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-h2-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_h3_font_size h3 Header Text Font Size. Defaults to 1.75rem.\n#'   Modifies the `.remark-slide-content h3` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-h3-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_background_auto Add background under slide title automatically\n#'   for h1 header elements. If not enabled, use `class: header_background` to\n#'   enable. Defaults to `FALSE`.\n#' @param header_background_color Background Color for h1 Header with\n#'   Background. Defaults to `header_color`. Modifies the\n#'   `.remark-slide-content h1` class. The value of this variable is also\n#'   stored as a CSS variable that can be referenced with\n#'   `var(--header-background-color)` in any argument of a style function or in\n#'   custom CSS.\n#' @param header_background_text_color Text Color for h1 Header with\n#'   Background. Defaults to `background_color`. Modifies the\n#'   `.remark-slide-content h1` class. The value of this variable is also\n#'   stored as a CSS variable that can be referenced with\n#'   `var(--header-background-text-color)` in any argument of a style function\n#'   or in custom CSS.\n#' @param header_background_padding Padding for h1 Header with Background.\n#'   Defaults to `NULL`. Modifies the `.remark-slide-content h1` class. Accepts\n#'   CSS [padding](https://developer.mozilla.org/en-US/docs/Web/CSS/padding)\n#'   property values.\n#' @param header_background_content_padding_top Top Padding for Content in\n#'   Slide with Header with Background. Defaults to 7rem. Modifies the\n#'   `.remark-slide-content` class.\n#' @param header_background_ignore_classes Slide Classes Where Header with\n#'   Background will not be Applied. Defaults to\n#'   `c('normal', 'inverse', 'title', 'middle', 'bottom')`. Modifies the\n#'   `.remark-slide-content` class.\n#' @param text_slide_number_font_size Slide Number Text Font Size. Defaults to\n#'   0.9rem. Modifies the `.remark-slide-number` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values.\n#' @param text_font_google Use `google_font()` to specify body font. Defaults\n#'   to `NULL`. Modifies the `body` element.\n#' @param text_font_family Body Text Font Family (xaringan default is\n#'   `'Droid Serif'`). Defaults to\n#'   `xaringanthemer_font_default(\"text_font_family\")`. Modifies the `body`\n#'   element. The value of this variable is also stored as a CSS variable that\n#'   can be referenced with `var(--text-font-family)` in any argument of a\n#'   style function or in custom CSS.\n#' @param text_font_weight Body Text Font Weight. Defaults to\n#'   `xaringanthemer_font_default(\"text_font_weight\")`. Modifies the `body`\n#'   element. Accepts CSS\n#'   [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)\n#'   property values.\n#' @param text_bold_font_weight Body Bold Text Font Weight. Defaults to bold.\n#'   Modifies the `strong` element.\n#' @param text_font_url Body Text Font URL(s). Defaults to\n#'   `xaringanthemer_font_default(\"text_font_url\")`. Modifies the\n#'   `@import url()` elements.\n#' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to\n#'   `xaringanthemer_font_default(\"text_font_family_fallback\")`. Modifies the\n#'   `body` element. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--text-font-family-fallback)` in\n#'   any argument of a style function or in custom CSS.\n#' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults\n#'   to sans-serif. Modifies the `body` element. The value of this variable is\n#'   also stored as a CSS variable that can be referenced with\n#'   `var(--text-font-base)` in any argument of a style function or in custom\n#'   CSS.\n#' @param header_font_google Use `google_font()` to specify header font.\n#'   Defaults to `NULL`. Modifies the `body` element.\n#' @param header_font_family Header Font Family (xaringan default is\n#'   `'Yanone Kaffeesatz'`). Defaults to\n#'   `xaringanthemer_font_default(\"header_font_family\")`. Modifies the\n#'   `h1, h2, h3` elements. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-font-family)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_font_weight Header Font Weight. Defaults to\n#'   `xaringanthemer_font_default(\"header_font_weight\")`. Modifies the\n#'   `h1, h2, h3` elements. Accepts CSS\n#'   [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)\n#'   property values.\n#' @param header_font_family_fallback Header Font Family Fallback. Defaults to\n#'   Georgia, serif. Modifies the `h1, h2, h3` elements. The value of this\n#'   variable is also stored as a CSS variable that can be referenced with\n#'   `var(--header-font-family-fallback)` in any argument of a style function\n#'   or in custom CSS.\n#' @param header_font_url Header Font URL. Defaults to\n#'   `xaringanthemer_font_default(\"header_font_url\")`. Modifies the\n#'   `@import url` elements.\n#' @param code_font_google Use `google_font()` to specify code font. Defaults\n#'   to `NULL`. Modifies the `body` element.\n#' @param code_font_family Code Font Family. Defaults to\n#'   `xaringanthemer_font_default(\"code_font_family\")`. Modifies the\n#'   `.remark-code, .remark-inline-code` classes. The value of this variable is\n#'   also stored as a CSS variable that can be referenced with\n#'   `var(--code-font-family)` in any argument of a style function or in custom\n#'   CSS.\n#' @param code_font_size Code Text Font Size. Defaults to 0.9rem. Modifies the\n#'   `.remark-inline` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--code-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param code_font_url Code Font URL. Defaults to\n#'   `xaringanthemer_font_default(\"code_font_url\")`. Modifies the `@import url`\n#'   elements.\n#' @param code_font_family_fallback Code Font Fallback. Defaults to\n#'   `xaringanthemer_font_default(\"code_font_family_fallback\")`. Modifies the\n#'   `.remark-code, .remark-inline-code` classes.\n#' @param link_decoration Text decoration of links. Defaults to none. Modifies\n#'   the `a, a > code` elements. Accepts CSS\n#'   [text-decoration](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration)\n#'   property values.\n#' @template theme_params\n#' @template style-usage\n#' @template style_mono_accent_inverse\n#' @family Monotone themes\n#' @export\nstyle_mono_accent_inverse <- function(\n  base_color = \"#3C989E\",\n  white_color = \"#FFFFFF\",\n  black_color = darken_color(base_color, 0.9),\n  text_color = white_color,\n  header_color = base_color,\n  background_color = black_color,\n  link_color = base_color,\n  text_bold_color = base_color,\n  text_slide_number_color = base_color,\n  padding = \"16px 64px 16px 64px\",\n  background_image = NULL,\n  background_size = NULL,\n  background_position = NULL,\n  code_highlight_color = \"rgba(255,255,0,0.5)\",\n  code_inline_color = base_color,\n  code_inline_background_color = NULL,\n  code_inline_font_size = \"1em\",\n  inverse_background_color = base_color,\n  inverse_text_color = black_color,\n  inverse_text_shadow = FALSE,\n  inverse_header_color = inverse_text_color,\n  inverse_link_color = link_color,\n  title_slide_text_color = inverse_text_color,\n  title_slide_background_color = inverse_background_color,\n  title_slide_background_image = NULL,\n  title_slide_background_size = NULL,\n  title_slide_background_position = NULL,\n  footnote_color = NULL,\n  footnote_font_size = \"0.9em\",\n  footnote_position_bottom = \"60px\",\n  left_column_subtle_color = apply_alpha(base_color, 0.6),\n  left_column_selected_color = base_color,\n  blockquote_left_border_color = apply_alpha(base_color, 0.5),\n  table_border_color = \"#666\",\n  table_row_border_color = \"#ddd\",\n  table_row_even_background_color = darken_color(base_color, 0.8),\n  base_font_size = \"20px\",\n  text_font_size = \"1rem\",\n  header_h1_font_size = \"2.75rem\",\n  header_h2_font_size = \"2.25rem\",\n  header_h3_font_size = \"1.75rem\",\n  header_background_auto = FALSE,\n  header_background_color = header_color,\n  header_background_text_color = background_color,\n  header_background_padding = NULL,\n  header_background_content_padding_top = \"7rem\",\n  header_background_ignore_classes = c('normal', 'inverse', 'title', 'middle', 'bottom'),\n  text_slide_number_font_size = \"0.9rem\",\n  text_font_google = NULL,\n  text_font_family = xaringanthemer_font_default(\"text_font_family\"),\n  text_font_weight = xaringanthemer_font_default(\"text_font_weight\"),\n  text_bold_font_weight = \"bold\",\n  text_font_url = xaringanthemer_font_default(\"text_font_url\"),\n  text_font_family_fallback = xaringanthemer_font_default(\"text_font_family_fallback\"),\n  text_font_base = \"sans-serif\",\n  header_font_google = NULL,\n  header_font_family = xaringanthemer_font_default(\"header_font_family\"),\n  header_font_weight = xaringanthemer_font_default(\"header_font_weight\"),\n  header_font_family_fallback = \"Georgia, serif\",\n  header_font_url = xaringanthemer_font_default(\"header_font_url\"),\n  code_font_google = NULL,\n  code_font_family = xaringanthemer_font_default(\"code_font_family\"),\n  code_font_size = \"0.9rem\",\n  code_font_url = xaringanthemer_font_default(\"code_font_url\"),\n  code_font_family_fallback = xaringanthemer_font_default(\"code_font_family_fallback\"),\n  link_decoration = \"none\",\n  colors = NULL,\n  extra_css = NULL,\n  extra_fonts = NULL,\n  outfile = \"xaringan-themer.css\"\n) {\n  # DO NOT EDIT - Generated from inst/scripts/generate_theme_functions.R\n  base_color <- unname(base_color)\n  white_color <- unname(white_color)\n  black_color <- unname(black_color)\n  colors <- c(base = base_color, white = white_color, black = black_color, colors)\n  eval(parse(text = call_style_xaringan()))\n}\n"
  },
  {
    "path": "R/style_mono_dark.R",
    "content": "# Generated by inst/scripts/generate_theme_functions.R: do not edit by hand\n\n#' @param base_color Monotone Base Color, works best with a light color..\n#'   Defaults to #cbf7ed. Used in multiple CSS rules. The value of this\n#'   variable is also stored as a CSS variable that can be referenced with\n#'   `var(--base)` in any argument of a style function or in custom CSS.\n#' @param white_color Brightest color used, default is a very light version of\n#'   `base_color`. Defaults to `lighten_color(base_color, 0.8)`. Used in\n#'   multiple CSS rules. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--white)` in any argument of a\n#'   style function or in custom CSS.\n#' @param black_color Darkest color used, default is a very dark, version of\n#'   `base_color`. Defaults to `darken_color(base_color, 0.85)`. Used in\n#'   multiple CSS rules. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--black)` in any argument of a\n#'   style function or in custom CSS.\n#' @param text_color Text Color. Defaults to `white_color`. Modifies the `body`\n#'   element. The value of this variable is also stored as a CSS variable that\n#'   can be referenced with `var(--text_color)` in any argument of a style\n#'   function or in custom CSS.\n#' @param header_color Header Color. Defaults to `base_color`. Modifies the\n#'   `h1, h2, h3` elements. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-color)` in any argument\n#'   of a style function or in custom CSS.\n#' @param background_color Slide Background Color. Defaults to `black_color`.\n#'   Modifies the `.remark-slide-content` class. The value of this variable is\n#'   also stored as a CSS variable that can be referenced with\n#'   `var(--background-color)` in any argument of a style function or in custom\n#'   CSS.\n#' @param link_color Link Color. Defaults to `base_color`. Modifies the\n#'   `a, a > code` elements. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--link-color)` in any argument\n#'   of a style function or in custom CSS.\n#' @param text_bold_color Bold Text Color. Defaults to `base_color`. Modifies\n#'   the `strong` element. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--text-bold-color)` in any\n#'   argument of a style function or in custom CSS.\n#' @param text_slide_number_color Slide Number Color. Defaults to `base_color`.\n#'   Modifies the `.remark-slide-number` class.\n#' @param padding Slide Padding in `top right [bottom left]` format. Defaults\n#'   to 16px 64px 16px 64px. Modifies the `.remark-slide-content` class.\n#'   Accepts CSS\n#'   [padding](https://developer.mozilla.org/en-US/docs/Web/CSS/padding)\n#'   property values.\n#' @param background_image Background image applied to each *and every* slide.\n#'   Set `title_slide_background_image = \"none\"` to remove the background image\n#'   from the title slide. Defaults to `NULL`. Modifies the\n#'   `.remark-slide-content` class.\n#' @param background_size Background image size, requires `background_image` to\n#'   be set. If `background_image` is set, `background_size` will default to\n#'   `cover` so the background fills the screen. If both `background_image` and\n#'   `background_position` are set, will default to 100 percent. Defaults to\n#'   `NULL`. Modifies the `.remark-slide-content` class. Accepts CSS\n#'   [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)\n#'   property values.\n#' @param background_position Background image position, requires\n#'   `background_image` to be set, and it is recommended to adjust\n#'   `background_size`. Defaults to `NULL`. Modifies the\n#'   `.remark-slide-content` class. Accepts CSS\n#'   [background-position](https://developer.mozilla.org/en-US/docs/Web/CSS/background-position)\n#'   property values.\n#' @param code_highlight_color Code Line Highlight. Defaults to\n#'   rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class.\n#'   The value of this variable is also stored as a CSS variable that can be\n#'   referenced with `var(--code-highlight-color)` in any argument of a style\n#'   function or in custom CSS.\n#' @param code_inline_color Inline Code Color. Defaults to `base_color`.\n#'   Modifies the `.remark-inline-code` class.\n#' @param code_inline_background_color Inline Code Background Color. Defaults\n#'   to `NULL`. Modifies the `.remark-inline-code` class.\n#' @param code_inline_font_size Inline Code Text Font Size. Defaults to 1em.\n#'   Modifies the `.remark-inline-code` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--code-inline-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param inverse_background_color Inverse Background Color. Defaults to\n#'   `base_color`. Modifies the `.inverse` class. The value of this variable is\n#'   also stored as a CSS variable that can be referenced with\n#'   `var(--inverse-background-color)` in any argument of a style function or\n#'   in custom CSS.\n#' @param inverse_text_color Inverse Text Color. Defaults to `black_color`.\n#'   Modifies the `.inverse` class. The value of this variable is also stored\n#'   as a CSS variable that can be referenced with `var(--inverse-text-color)`\n#'   in any argument of a style function or in custom CSS.\n#' @param inverse_text_shadow Enables Shadow on text of inverse slides.\n#'   Defaults to `FALSE`. Modifies the `.inverse` class.\n#' @param inverse_header_color Inverse Header Color. Defaults to\n#'   `inverse_text_color`. Modifies the `.inverse h1, .inverse h2, .inverse h3`\n#'   classes. The value of this variable is also stored as a CSS variable that\n#'   can be referenced with `var(--inverse-header-color)` in any argument of a\n#'   style function or in custom CSS.\n#' @param inverse_link_color Inverse Link Color. Defaults to `link_color`.\n#'   Modifies the `.inverse a, .inverse a > code` classes. The value of this\n#'   variable is also stored as a CSS variable that can be referenced with\n#'   `var(--inverse-link-color)` in any argument of a style function or in\n#'   custom CSS.\n#' @param title_slide_text_color Title Slide Text Color. Defaults to\n#'   `inverse_text_color`. Modifies the `.title-slide` class. The value of this\n#'   variable is also stored as a CSS variable that can be referenced with\n#'   `var(--title-slide-text-color)` in any argument of a style function or in\n#'   custom CSS.\n#' @param title_slide_background_color Title Slide Background Color. Defaults\n#'   to `inverse_background_color`. Modifies the `.title-slide` class. The\n#'   value of this variable is also stored as a CSS variable that can be\n#'   referenced with `var(--title-slide-background-color)` in any argument of a\n#'   style function or in custom CSS.\n#' @param title_slide_background_image Title Slide Background Image URL.\n#'   Defaults to `NULL`. Modifies the `.title-slide` class.\n#' @param title_slide_background_size Title Slide Background Image Size,\n#'   defaults to \"cover\" if background image is set. Defaults to `NULL`.\n#'   Modifies the `.title-slide` class. Accepts CSS\n#'   [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)\n#'   property values.\n#' @param title_slide_background_position Title Slide Background Image\n#'   Position. Defaults to `NULL`. Modifies the `.title-slide` class. Accepts\n#'   CSS\n#'   [background-position](https://developer.mozilla.org/en-US/docs/Web/CSS/background-position)\n#'   property values.\n#' @param footnote_color Footnote text color (if `NA`, then it will be the same\n#'   color as `text_color`). Defaults to `NULL`. Modifies the `.footnote`\n#'   class.\n#' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies\n#'   the `.footnote` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values.\n#' @param footnote_position_bottom Footnote location from bottom of screen.\n#'   Defaults to 60px. Modifies the `.footnote` class. Accepts CSS\n#'   [position](https://developer.mozilla.org/en-US/docs/Web/CSS/position_value)\n#'   property values.\n#' @param left_column_subtle_color Left Column Text (not last). Defaults to\n#'   `apply_alpha(base_color, 0.6)`. Modifies the\n#'   `.left-column h2, .left-column h3` classes.\n#' @param left_column_selected_color Left Column Current Selection. Defaults to\n#'   `base_color`. Modifies the\n#'   `.left-column h2:last-of-type, .left-column h3:last-child` classes.\n#' @param blockquote_left_border_color Blockquote Left Border Color. Defaults\n#'   to `apply_alpha(base_color, 0.5)`. Modifies the `blockquote` element.\n#' @param table_border_color Table top/bottom border. Defaults to #666.\n#'   Modifies the `table: border-top, border-bottom` elements.\n#' @param table_row_border_color Table row inner bottom border. Defaults to\n#'   #ddd. Modifies the `table thead th: border-bottom` elements.\n#' @param table_row_even_background_color Table Even Row Background Color.\n#'   Defaults to `darken_color(base_color, 0.7)`. Modifies the\n#'   `thead, tfoot, tr:nth-child(even)` elements.\n#' @param base_font_size Base Font Size for All Slide Elements (must be `px`).\n#'   Defaults to 20px. Modifies the `html` element. The value of this variable\n#'   is also stored as a CSS variable that can be referenced with\n#'   `var(--base-font-size)` in any argument of a style function or in custom\n#'   CSS.\n#' @param text_font_size Slide Body Text Font Size. Defaults to 1rem. Modifies\n#'   the `.remark-slide-content` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--text-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_h1_font_size h1 Header Text Font Size. Defaults to 2.75rem.\n#'   Modifies the `.remark-slide-content h1` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-h1-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_h2_font_size h2 Header Text Font Size. Defaults to 2.25rem.\n#'   Modifies the `.remark-slide-content h2` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-h2-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_h3_font_size h3 Header Text Font Size. Defaults to 1.75rem.\n#'   Modifies the `.remark-slide-content h3` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-h3-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_background_auto Add background under slide title automatically\n#'   for h1 header elements. If not enabled, use `class: header_background` to\n#'   enable. Defaults to `FALSE`.\n#' @param header_background_color Background Color for h1 Header with\n#'   Background. Defaults to `header_color`. Modifies the\n#'   `.remark-slide-content h1` class. The value of this variable is also\n#'   stored as a CSS variable that can be referenced with\n#'   `var(--header-background-color)` in any argument of a style function or in\n#'   custom CSS.\n#' @param header_background_text_color Text Color for h1 Header with\n#'   Background. Defaults to `background_color`. Modifies the\n#'   `.remark-slide-content h1` class. The value of this variable is also\n#'   stored as a CSS variable that can be referenced with\n#'   `var(--header-background-text-color)` in any argument of a style function\n#'   or in custom CSS.\n#' @param header_background_padding Padding for h1 Header with Background.\n#'   Defaults to `NULL`. Modifies the `.remark-slide-content h1` class. Accepts\n#'   CSS [padding](https://developer.mozilla.org/en-US/docs/Web/CSS/padding)\n#'   property values.\n#' @param header_background_content_padding_top Top Padding for Content in\n#'   Slide with Header with Background. Defaults to 7rem. Modifies the\n#'   `.remark-slide-content` class.\n#' @param header_background_ignore_classes Slide Classes Where Header with\n#'   Background will not be Applied. Defaults to\n#'   `c('normal', 'inverse', 'title', 'middle', 'bottom')`. Modifies the\n#'   `.remark-slide-content` class.\n#' @param text_slide_number_font_size Slide Number Text Font Size. Defaults to\n#'   0.9rem. Modifies the `.remark-slide-number` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values.\n#' @param text_font_google Use `google_font()` to specify body font. Defaults\n#'   to `NULL`. Modifies the `body` element.\n#' @param text_font_family Body Text Font Family (xaringan default is\n#'   `'Droid Serif'`). Defaults to\n#'   `xaringanthemer_font_default(\"text_font_family\")`. Modifies the `body`\n#'   element. The value of this variable is also stored as a CSS variable that\n#'   can be referenced with `var(--text-font-family)` in any argument of a\n#'   style function or in custom CSS.\n#' @param text_font_weight Body Text Font Weight. Defaults to\n#'   `xaringanthemer_font_default(\"text_font_weight\")`. Modifies the `body`\n#'   element. Accepts CSS\n#'   [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)\n#'   property values.\n#' @param text_bold_font_weight Body Bold Text Font Weight. Defaults to bold.\n#'   Modifies the `strong` element.\n#' @param text_font_url Body Text Font URL(s). Defaults to\n#'   `xaringanthemer_font_default(\"text_font_url\")`. Modifies the\n#'   `@import url()` elements.\n#' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to\n#'   `xaringanthemer_font_default(\"text_font_family_fallback\")`. Modifies the\n#'   `body` element. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--text-font-family-fallback)` in\n#'   any argument of a style function or in custom CSS.\n#' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults\n#'   to sans-serif. Modifies the `body` element. The value of this variable is\n#'   also stored as a CSS variable that can be referenced with\n#'   `var(--text-font-base)` in any argument of a style function or in custom\n#'   CSS.\n#' @param header_font_google Use `google_font()` to specify header font.\n#'   Defaults to `NULL`. Modifies the `body` element.\n#' @param header_font_family Header Font Family (xaringan default is\n#'   `'Yanone Kaffeesatz'`). Defaults to\n#'   `xaringanthemer_font_default(\"header_font_family\")`. Modifies the\n#'   `h1, h2, h3` elements. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-font-family)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_font_weight Header Font Weight. Defaults to\n#'   `xaringanthemer_font_default(\"header_font_weight\")`. Modifies the\n#'   `h1, h2, h3` elements. Accepts CSS\n#'   [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)\n#'   property values.\n#' @param header_font_family_fallback Header Font Family Fallback. Defaults to\n#'   Georgia, serif. Modifies the `h1, h2, h3` elements. The value of this\n#'   variable is also stored as a CSS variable that can be referenced with\n#'   `var(--header-font-family-fallback)` in any argument of a style function\n#'   or in custom CSS.\n#' @param header_font_url Header Font URL. Defaults to\n#'   `xaringanthemer_font_default(\"header_font_url\")`. Modifies the\n#'   `@import url` elements.\n#' @param code_font_google Use `google_font()` to specify code font. Defaults\n#'   to `NULL`. Modifies the `body` element.\n#' @param code_font_family Code Font Family. Defaults to\n#'   `xaringanthemer_font_default(\"code_font_family\")`. Modifies the\n#'   `.remark-code, .remark-inline-code` classes. The value of this variable is\n#'   also stored as a CSS variable that can be referenced with\n#'   `var(--code-font-family)` in any argument of a style function or in custom\n#'   CSS.\n#' @param code_font_size Code Text Font Size. Defaults to 0.9rem. Modifies the\n#'   `.remark-inline` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--code-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param code_font_url Code Font URL. Defaults to\n#'   `xaringanthemer_font_default(\"code_font_url\")`. Modifies the `@import url`\n#'   elements.\n#' @param code_font_family_fallback Code Font Fallback. Defaults to\n#'   `xaringanthemer_font_default(\"code_font_family_fallback\")`. Modifies the\n#'   `.remark-code, .remark-inline-code` classes.\n#' @param link_decoration Text decoration of links. Defaults to none. Modifies\n#'   the `a, a > code` elements. Accepts CSS\n#'   [text-decoration](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration)\n#'   property values.\n#' @template theme_params\n#' @template style-usage\n#' @template style_mono_dark\n#' @family Monotone themes\n#' @export\nstyle_mono_dark <- function(\n  base_color = \"#cbf7ed\",\n  white_color = lighten_color(base_color, 0.8),\n  black_color = darken_color(base_color, 0.85),\n  text_color = white_color,\n  header_color = base_color,\n  background_color = black_color,\n  link_color = base_color,\n  text_bold_color = base_color,\n  text_slide_number_color = base_color,\n  padding = \"16px 64px 16px 64px\",\n  background_image = NULL,\n  background_size = NULL,\n  background_position = NULL,\n  code_highlight_color = \"rgba(255,255,0,0.5)\",\n  code_inline_color = base_color,\n  code_inline_background_color = NULL,\n  code_inline_font_size = \"1em\",\n  inverse_background_color = base_color,\n  inverse_text_color = black_color,\n  inverse_text_shadow = FALSE,\n  inverse_header_color = inverse_text_color,\n  inverse_link_color = link_color,\n  title_slide_text_color = inverse_text_color,\n  title_slide_background_color = inverse_background_color,\n  title_slide_background_image = NULL,\n  title_slide_background_size = NULL,\n  title_slide_background_position = NULL,\n  footnote_color = NULL,\n  footnote_font_size = \"0.9em\",\n  footnote_position_bottom = \"60px\",\n  left_column_subtle_color = apply_alpha(base_color, 0.6),\n  left_column_selected_color = base_color,\n  blockquote_left_border_color = apply_alpha(base_color, 0.5),\n  table_border_color = \"#666\",\n  table_row_border_color = \"#ddd\",\n  table_row_even_background_color = darken_color(base_color, 0.7),\n  base_font_size = \"20px\",\n  text_font_size = \"1rem\",\n  header_h1_font_size = \"2.75rem\",\n  header_h2_font_size = \"2.25rem\",\n  header_h3_font_size = \"1.75rem\",\n  header_background_auto = FALSE,\n  header_background_color = header_color,\n  header_background_text_color = background_color,\n  header_background_padding = NULL,\n  header_background_content_padding_top = \"7rem\",\n  header_background_ignore_classes = c('normal', 'inverse', 'title', 'middle', 'bottom'),\n  text_slide_number_font_size = \"0.9rem\",\n  text_font_google = NULL,\n  text_font_family = xaringanthemer_font_default(\"text_font_family\"),\n  text_font_weight = xaringanthemer_font_default(\"text_font_weight\"),\n  text_bold_font_weight = \"bold\",\n  text_font_url = xaringanthemer_font_default(\"text_font_url\"),\n  text_font_family_fallback = xaringanthemer_font_default(\"text_font_family_fallback\"),\n  text_font_base = \"sans-serif\",\n  header_font_google = NULL,\n  header_font_family = xaringanthemer_font_default(\"header_font_family\"),\n  header_font_weight = xaringanthemer_font_default(\"header_font_weight\"),\n  header_font_family_fallback = \"Georgia, serif\",\n  header_font_url = xaringanthemer_font_default(\"header_font_url\"),\n  code_font_google = NULL,\n  code_font_family = xaringanthemer_font_default(\"code_font_family\"),\n  code_font_size = \"0.9rem\",\n  code_font_url = xaringanthemer_font_default(\"code_font_url\"),\n  code_font_family_fallback = xaringanthemer_font_default(\"code_font_family_fallback\"),\n  link_decoration = \"none\",\n  colors = NULL,\n  extra_css = NULL,\n  extra_fonts = NULL,\n  outfile = \"xaringan-themer.css\"\n) {\n  # DO NOT EDIT - Generated from inst/scripts/generate_theme_functions.R\n  base_color <- unname(base_color)\n  white_color <- unname(white_color)\n  black_color <- unname(black_color)\n  colors <- c(base = base_color, white = white_color, black = black_color, colors)\n  eval(parse(text = call_style_xaringan()))\n}\n"
  },
  {
    "path": "R/style_mono_light.R",
    "content": "# Generated by inst/scripts/generate_theme_functions.R: do not edit by hand\n\n#' @param base_color Monotone base color, works best with a strong color.\n#'   Defaults to #23395b. Used in multiple CSS rules. The value of this\n#'   variable is also stored as a CSS variable that can be referenced with\n#'   `var(--base)` in any argument of a style function or in custom CSS.\n#' @param white_color Brightest color used, default is a very light version of\n#'   `base_color`. Defaults to `lighten_color(base_color, 0.9)`. Used in\n#'   multiple CSS rules. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--white)` in any argument of a\n#'   style function or in custom CSS.\n#' @param black_color Darkest color used, default is a very dark, version of\n#'   `base_color`. Defaults to `darken_color(base_color, 0.3)`. Used in\n#'   multiple CSS rules. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--black)` in any argument of a\n#'   style function or in custom CSS.\n#' @param text_color Text Color. Defaults to `black_color`. Modifies the `body`\n#'   element. The value of this variable is also stored as a CSS variable that\n#'   can be referenced with `var(--text_color)` in any argument of a style\n#'   function or in custom CSS.\n#' @param header_color Header Color. Defaults to `base_color`. Modifies the\n#'   `h1, h2, h3` elements. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-color)` in any argument\n#'   of a style function or in custom CSS.\n#' @param background_color Slide Background Color. Defaults to `white_color`.\n#'   Modifies the `.remark-slide-content` class. The value of this variable is\n#'   also stored as a CSS variable that can be referenced with\n#'   `var(--background-color)` in any argument of a style function or in custom\n#'   CSS.\n#' @param link_color Link Color. Defaults to `base_color`. Modifies the\n#'   `a, a > code` elements. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--link-color)` in any argument\n#'   of a style function or in custom CSS.\n#' @param text_bold_color Bold Text Color. Defaults to `base_color`. Modifies\n#'   the `strong` element. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--text-bold-color)` in any\n#'   argument of a style function or in custom CSS.\n#' @param text_slide_number_color Slide Number Color. Defaults to `base_color`.\n#'   Modifies the `.remark-slide-number` class.\n#' @param padding Slide Padding in `top right [bottom left]` format. Defaults\n#'   to 16px 64px 16px 64px. Modifies the `.remark-slide-content` class.\n#'   Accepts CSS\n#'   [padding](https://developer.mozilla.org/en-US/docs/Web/CSS/padding)\n#'   property values.\n#' @param background_image Background image applied to each *and every* slide.\n#'   Set `title_slide_background_image = \"none\"` to remove the background image\n#'   from the title slide. Defaults to `NULL`. Modifies the\n#'   `.remark-slide-content` class.\n#' @param background_size Background image size, requires `background_image` to\n#'   be set. If `background_image` is set, `background_size` will default to\n#'   `cover` so the background fills the screen. If both `background_image` and\n#'   `background_position` are set, will default to 100 percent. Defaults to\n#'   `NULL`. Modifies the `.remark-slide-content` class. Accepts CSS\n#'   [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)\n#'   property values.\n#' @param background_position Background image position, requires\n#'   `background_image` to be set, and it is recommended to adjust\n#'   `background_size`. Defaults to `NULL`. Modifies the\n#'   `.remark-slide-content` class. Accepts CSS\n#'   [background-position](https://developer.mozilla.org/en-US/docs/Web/CSS/background-position)\n#'   property values.\n#' @param code_highlight_color Code Line Highlight. Defaults to\n#'   rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class.\n#'   The value of this variable is also stored as a CSS variable that can be\n#'   referenced with `var(--code-highlight-color)` in any argument of a style\n#'   function or in custom CSS.\n#' @param code_inline_color Inline Code Color. Defaults to `base_color`.\n#'   Modifies the `.remark-inline-code` class.\n#' @param code_inline_background_color Inline Code Background Color. Defaults\n#'   to `NULL`. Modifies the `.remark-inline-code` class.\n#' @param code_inline_font_size Inline Code Text Font Size. Defaults to 1em.\n#'   Modifies the `.remark-inline-code` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--code-inline-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param inverse_background_color Inverse Background Color. Defaults to\n#'   `base_color`. Modifies the `.inverse` class. The value of this variable is\n#'   also stored as a CSS variable that can be referenced with\n#'   `var(--inverse-background-color)` in any argument of a style function or\n#'   in custom CSS.\n#' @param inverse_text_color Inverse Text Color. Defaults to `white_color`.\n#'   Modifies the `.inverse` class. The value of this variable is also stored\n#'   as a CSS variable that can be referenced with `var(--inverse-text-color)`\n#'   in any argument of a style function or in custom CSS.\n#' @param inverse_text_shadow Enables Shadow on text of inverse slides.\n#'   Defaults to `FALSE`. Modifies the `.inverse` class.\n#' @param inverse_header_color Inverse Header Color. Defaults to\n#'   `inverse_text_color`. Modifies the `.inverse h1, .inverse h2, .inverse h3`\n#'   classes. The value of this variable is also stored as a CSS variable that\n#'   can be referenced with `var(--inverse-header-color)` in any argument of a\n#'   style function or in custom CSS.\n#' @param inverse_link_color Inverse Link Color. Defaults to `link_color`.\n#'   Modifies the `.inverse a, .inverse a > code` classes. The value of this\n#'   variable is also stored as a CSS variable that can be referenced with\n#'   `var(--inverse-link-color)` in any argument of a style function or in\n#'   custom CSS.\n#' @param title_slide_text_color Title Slide Text Color. Defaults to\n#'   `inverse_text_color`. Modifies the `.title-slide` class. The value of this\n#'   variable is also stored as a CSS variable that can be referenced with\n#'   `var(--title-slide-text-color)` in any argument of a style function or in\n#'   custom CSS.\n#' @param title_slide_background_color Title Slide Background Color. Defaults\n#'   to `inverse_background_color`. Modifies the `.title-slide` class. The\n#'   value of this variable is also stored as a CSS variable that can be\n#'   referenced with `var(--title-slide-background-color)` in any argument of a\n#'   style function or in custom CSS.\n#' @param title_slide_background_image Title Slide Background Image URL.\n#'   Defaults to `NULL`. Modifies the `.title-slide` class.\n#' @param title_slide_background_size Title Slide Background Image Size,\n#'   defaults to \"cover\" if background image is set. Defaults to `NULL`.\n#'   Modifies the `.title-slide` class. Accepts CSS\n#'   [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)\n#'   property values.\n#' @param title_slide_background_position Title Slide Background Image\n#'   Position. Defaults to `NULL`. Modifies the `.title-slide` class. Accepts\n#'   CSS\n#'   [background-position](https://developer.mozilla.org/en-US/docs/Web/CSS/background-position)\n#'   property values.\n#' @param footnote_color Footnote text color (if `NA`, then it will be the same\n#'   color as `text_color`). Defaults to `NULL`. Modifies the `.footnote`\n#'   class.\n#' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies\n#'   the `.footnote` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values.\n#' @param footnote_position_bottom Footnote location from bottom of screen.\n#'   Defaults to 60px. Modifies the `.footnote` class. Accepts CSS\n#'   [position](https://developer.mozilla.org/en-US/docs/Web/CSS/position_value)\n#'   property values.\n#' @param left_column_subtle_color Left Column Text (not last). Defaults to\n#'   `apply_alpha(base_color, 0.6)`. Modifies the\n#'   `.left-column h2, .left-column h3` classes.\n#' @param left_column_selected_color Left Column Current Selection. Defaults to\n#'   `base_color`. Modifies the\n#'   `.left-column h2:last-of-type, .left-column h3:last-child` classes.\n#' @param blockquote_left_border_color Blockquote Left Border Color. Defaults\n#'   to `apply_alpha(base_color, 0.5)`. Modifies the `blockquote` element.\n#' @param table_border_color Table top/bottom border. Defaults to #666.\n#'   Modifies the `table: border-top, border-bottom` elements.\n#' @param table_row_border_color Table row inner bottom border. Defaults to\n#'   #ddd. Modifies the `table thead th: border-bottom` elements.\n#' @param table_row_even_background_color Table Even Row Background Color.\n#'   Defaults to `lighten_color(base_color, 0.8)`. Modifies the\n#'   `thead, tfoot, tr:nth-child(even)` elements.\n#' @param base_font_size Base Font Size for All Slide Elements (must be `px`).\n#'   Defaults to 20px. Modifies the `html` element. The value of this variable\n#'   is also stored as a CSS variable that can be referenced with\n#'   `var(--base-font-size)` in any argument of a style function or in custom\n#'   CSS.\n#' @param text_font_size Slide Body Text Font Size. Defaults to 1rem. Modifies\n#'   the `.remark-slide-content` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--text-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_h1_font_size h1 Header Text Font Size. Defaults to 2.75rem.\n#'   Modifies the `.remark-slide-content h1` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-h1-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_h2_font_size h2 Header Text Font Size. Defaults to 2.25rem.\n#'   Modifies the `.remark-slide-content h2` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-h2-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_h3_font_size h3 Header Text Font Size. Defaults to 1.75rem.\n#'   Modifies the `.remark-slide-content h3` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-h3-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_background_auto Add background under slide title automatically\n#'   for h1 header elements. If not enabled, use `class: header_background` to\n#'   enable. Defaults to `FALSE`.\n#' @param header_background_color Background Color for h1 Header with\n#'   Background. Defaults to `header_color`. Modifies the\n#'   `.remark-slide-content h1` class. The value of this variable is also\n#'   stored as a CSS variable that can be referenced with\n#'   `var(--header-background-color)` in any argument of a style function or in\n#'   custom CSS.\n#' @param header_background_text_color Text Color for h1 Header with\n#'   Background. Defaults to `background_color`. Modifies the\n#'   `.remark-slide-content h1` class. The value of this variable is also\n#'   stored as a CSS variable that can be referenced with\n#'   `var(--header-background-text-color)` in any argument of a style function\n#'   or in custom CSS.\n#' @param header_background_padding Padding for h1 Header with Background.\n#'   Defaults to `NULL`. Modifies the `.remark-slide-content h1` class. Accepts\n#'   CSS [padding](https://developer.mozilla.org/en-US/docs/Web/CSS/padding)\n#'   property values.\n#' @param header_background_content_padding_top Top Padding for Content in\n#'   Slide with Header with Background. Defaults to 7rem. Modifies the\n#'   `.remark-slide-content` class.\n#' @param header_background_ignore_classes Slide Classes Where Header with\n#'   Background will not be Applied. Defaults to\n#'   `c('normal', 'inverse', 'title', 'middle', 'bottom')`. Modifies the\n#'   `.remark-slide-content` class.\n#' @param text_slide_number_font_size Slide Number Text Font Size. Defaults to\n#'   0.9rem. Modifies the `.remark-slide-number` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values.\n#' @param text_font_google Use `google_font()` to specify body font. Defaults\n#'   to `NULL`. Modifies the `body` element.\n#' @param text_font_family Body Text Font Family (xaringan default is\n#'   `'Droid Serif'`). Defaults to\n#'   `xaringanthemer_font_default(\"text_font_family\")`. Modifies the `body`\n#'   element. The value of this variable is also stored as a CSS variable that\n#'   can be referenced with `var(--text-font-family)` in any argument of a\n#'   style function or in custom CSS.\n#' @param text_font_weight Body Text Font Weight. Defaults to\n#'   `xaringanthemer_font_default(\"text_font_weight\")`. Modifies the `body`\n#'   element. Accepts CSS\n#'   [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)\n#'   property values.\n#' @param text_bold_font_weight Body Bold Text Font Weight. Defaults to bold.\n#'   Modifies the `strong` element.\n#' @param text_font_url Body Text Font URL(s). Defaults to\n#'   `xaringanthemer_font_default(\"text_font_url\")`. Modifies the\n#'   `@import url()` elements.\n#' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to\n#'   `xaringanthemer_font_default(\"text_font_family_fallback\")`. Modifies the\n#'   `body` element. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--text-font-family-fallback)` in\n#'   any argument of a style function or in custom CSS.\n#' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults\n#'   to sans-serif. Modifies the `body` element. The value of this variable is\n#'   also stored as a CSS variable that can be referenced with\n#'   `var(--text-font-base)` in any argument of a style function or in custom\n#'   CSS.\n#' @param header_font_google Use `google_font()` to specify header font.\n#'   Defaults to `NULL`. Modifies the `body` element.\n#' @param header_font_family Header Font Family (xaringan default is\n#'   `'Yanone Kaffeesatz'`). Defaults to\n#'   `xaringanthemer_font_default(\"header_font_family\")`. Modifies the\n#'   `h1, h2, h3` elements. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-font-family)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_font_weight Header Font Weight. Defaults to\n#'   `xaringanthemer_font_default(\"header_font_weight\")`. Modifies the\n#'   `h1, h2, h3` elements. Accepts CSS\n#'   [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)\n#'   property values.\n#' @param header_font_family_fallback Header Font Family Fallback. Defaults to\n#'   Georgia, serif. Modifies the `h1, h2, h3` elements. The value of this\n#'   variable is also stored as a CSS variable that can be referenced with\n#'   `var(--header-font-family-fallback)` in any argument of a style function\n#'   or in custom CSS.\n#' @param header_font_url Header Font URL. Defaults to\n#'   `xaringanthemer_font_default(\"header_font_url\")`. Modifies the\n#'   `@import url` elements.\n#' @param code_font_google Use `google_font()` to specify code font. Defaults\n#'   to `NULL`. Modifies the `body` element.\n#' @param code_font_family Code Font Family. Defaults to\n#'   `xaringanthemer_font_default(\"code_font_family\")`. Modifies the\n#'   `.remark-code, .remark-inline-code` classes. The value of this variable is\n#'   also stored as a CSS variable that can be referenced with\n#'   `var(--code-font-family)` in any argument of a style function or in custom\n#'   CSS.\n#' @param code_font_size Code Text Font Size. Defaults to 0.9rem. Modifies the\n#'   `.remark-inline` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--code-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param code_font_url Code Font URL. Defaults to\n#'   `xaringanthemer_font_default(\"code_font_url\")`. Modifies the `@import url`\n#'   elements.\n#' @param code_font_family_fallback Code Font Fallback. Defaults to\n#'   `xaringanthemer_font_default(\"code_font_family_fallback\")`. Modifies the\n#'   `.remark-code, .remark-inline-code` classes.\n#' @param link_decoration Text decoration of links. Defaults to none. Modifies\n#'   the `a, a > code` elements. Accepts CSS\n#'   [text-decoration](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration)\n#'   property values.\n#' @template theme_params\n#' @template style-usage\n#' @template style_mono_light\n#' @family Monotone themes\n#' @export\nstyle_mono_light <- function(\n  base_color = \"#23395b\",\n  white_color = lighten_color(base_color, 0.9),\n  black_color = darken_color(base_color, 0.3),\n  text_color = black_color,\n  header_color = base_color,\n  background_color = white_color,\n  link_color = base_color,\n  text_bold_color = base_color,\n  text_slide_number_color = base_color,\n  padding = \"16px 64px 16px 64px\",\n  background_image = NULL,\n  background_size = NULL,\n  background_position = NULL,\n  code_highlight_color = \"rgba(255,255,0,0.5)\",\n  code_inline_color = base_color,\n  code_inline_background_color = NULL,\n  code_inline_font_size = \"1em\",\n  inverse_background_color = base_color,\n  inverse_text_color = white_color,\n  inverse_text_shadow = FALSE,\n  inverse_header_color = inverse_text_color,\n  inverse_link_color = link_color,\n  title_slide_text_color = inverse_text_color,\n  title_slide_background_color = inverse_background_color,\n  title_slide_background_image = NULL,\n  title_slide_background_size = NULL,\n  title_slide_background_position = NULL,\n  footnote_color = NULL,\n  footnote_font_size = \"0.9em\",\n  footnote_position_bottom = \"60px\",\n  left_column_subtle_color = apply_alpha(base_color, 0.6),\n  left_column_selected_color = base_color,\n  blockquote_left_border_color = apply_alpha(base_color, 0.5),\n  table_border_color = \"#666\",\n  table_row_border_color = \"#ddd\",\n  table_row_even_background_color = lighten_color(base_color, 0.8),\n  base_font_size = \"20px\",\n  text_font_size = \"1rem\",\n  header_h1_font_size = \"2.75rem\",\n  header_h2_font_size = \"2.25rem\",\n  header_h3_font_size = \"1.75rem\",\n  header_background_auto = FALSE,\n  header_background_color = header_color,\n  header_background_text_color = background_color,\n  header_background_padding = NULL,\n  header_background_content_padding_top = \"7rem\",\n  header_background_ignore_classes = c('normal', 'inverse', 'title', 'middle', 'bottom'),\n  text_slide_number_font_size = \"0.9rem\",\n  text_font_google = NULL,\n  text_font_family = xaringanthemer_font_default(\"text_font_family\"),\n  text_font_weight = xaringanthemer_font_default(\"text_font_weight\"),\n  text_bold_font_weight = \"bold\",\n  text_font_url = xaringanthemer_font_default(\"text_font_url\"),\n  text_font_family_fallback = xaringanthemer_font_default(\"text_font_family_fallback\"),\n  text_font_base = \"sans-serif\",\n  header_font_google = NULL,\n  header_font_family = xaringanthemer_font_default(\"header_font_family\"),\n  header_font_weight = xaringanthemer_font_default(\"header_font_weight\"),\n  header_font_family_fallback = \"Georgia, serif\",\n  header_font_url = xaringanthemer_font_default(\"header_font_url\"),\n  code_font_google = NULL,\n  code_font_family = xaringanthemer_font_default(\"code_font_family\"),\n  code_font_size = \"0.9rem\",\n  code_font_url = xaringanthemer_font_default(\"code_font_url\"),\n  code_font_family_fallback = xaringanthemer_font_default(\"code_font_family_fallback\"),\n  link_decoration = \"none\",\n  colors = NULL,\n  extra_css = NULL,\n  extra_fonts = NULL,\n  outfile = \"xaringan-themer.css\"\n) {\n  # DO NOT EDIT - Generated from inst/scripts/generate_theme_functions.R\n  base_color <- unname(base_color)\n  white_color <- unname(white_color)\n  black_color <- unname(black_color)\n  colors <- c(base = base_color, white = white_color, black = black_color, colors)\n  eval(parse(text = call_style_xaringan()))\n}\n"
  },
  {
    "path": "R/style_solarized_dark.R",
    "content": "# Generated by inst/scripts/generate_theme_functions.R: do not edit by hand\n\n#' @param text_color Text Color. Defaults to #839496. Modifies the `body`\n#'   element. The value of this variable is also stored as a CSS variable that\n#'   can be referenced with `var(--text_color)` in any argument of a style\n#'   function or in custom CSS.\n#' @param header_color Header Color. Defaults to #dc322f. Modifies the\n#'   `h1, h2, h3` elements. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-color)` in any argument\n#'   of a style function or in custom CSS.\n#' @param background_color Slide Background Color. Defaults to #002b36.\n#'   Modifies the `.remark-slide-content` class. The value of this variable is\n#'   also stored as a CSS variable that can be referenced with\n#'   `var(--background-color)` in any argument of a style function or in custom\n#'   CSS.\n#' @param link_color Link Color. Defaults to #b58900. Modifies the\n#'   `a, a > code` elements. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--link-color)` in any argument\n#'   of a style function or in custom CSS.\n#' @param text_bold_color Bold Text Color. Defaults to #d33682. Modifies the\n#'   `strong` element. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--text-bold-color)` in any\n#'   argument of a style function or in custom CSS.\n#' @param text_slide_number_color Slide Number Color. Defaults to #586e75.\n#'   Modifies the `.remark-slide-number` class.\n#' @param padding Slide Padding in `top right [bottom left]` format. Defaults\n#'   to 16px 64px 16px 64px. Modifies the `.remark-slide-content` class.\n#'   Accepts CSS\n#'   [padding](https://developer.mozilla.org/en-US/docs/Web/CSS/padding)\n#'   property values.\n#' @param background_image Background image applied to each *and every* slide.\n#'   Set `title_slide_background_image = \"none\"` to remove the background image\n#'   from the title slide. Defaults to `NULL`. Modifies the\n#'   `.remark-slide-content` class.\n#' @param background_size Background image size, requires `background_image` to\n#'   be set. If `background_image` is set, `background_size` will default to\n#'   `cover` so the background fills the screen. If both `background_image` and\n#'   `background_position` are set, will default to 100 percent. Defaults to\n#'   `NULL`. Modifies the `.remark-slide-content` class. Accepts CSS\n#'   [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)\n#'   property values.\n#' @param background_position Background image position, requires\n#'   `background_image` to be set, and it is recommended to adjust\n#'   `background_size`. Defaults to `NULL`. Modifies the\n#'   `.remark-slide-content` class. Accepts CSS\n#'   [background-position](https://developer.mozilla.org/en-US/docs/Web/CSS/background-position)\n#'   property values.\n#' @param code_highlight_color Code Line Highlight. Defaults to #268bd240.\n#'   Modifies the `.remark-code-line-highlighted` class. The value of this\n#'   variable is also stored as a CSS variable that can be referenced with\n#'   `var(--code-highlight-color)` in any argument of a style function or in\n#'   custom CSS.\n#' @param code_inline_color Inline Code Color. Defaults to #6c71c4. Modifies\n#'   the `.remark-inline-code` class.\n#' @param code_inline_background_color Inline Code Background Color. Defaults\n#'   to `NULL`. Modifies the `.remark-inline-code` class.\n#' @param code_inline_font_size Inline Code Text Font Size. Defaults to 1em.\n#'   Modifies the `.remark-inline-code` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--code-inline-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param inverse_background_color Inverse Background Color. Defaults to\n#'   #fdf6e3. Modifies the `.inverse` class. The value of this variable is also\n#'   stored as a CSS variable that can be referenced with\n#'   `var(--inverse-background-color)` in any argument of a style function or\n#'   in custom CSS.\n#' @param inverse_text_color Inverse Text Color. Defaults to #002b36. Modifies\n#'   the `.inverse` class. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--inverse-text-color)` in any\n#'   argument of a style function or in custom CSS.\n#' @param inverse_text_shadow Enables Shadow on text of inverse slides.\n#'   Defaults to `FALSE`. Modifies the `.inverse` class.\n#' @param inverse_header_color Inverse Header Color. Defaults to\n#'   `inverse_text_color`. Modifies the `.inverse h1, .inverse h2, .inverse h3`\n#'   classes. The value of this variable is also stored as a CSS variable that\n#'   can be referenced with `var(--inverse-header-color)` in any argument of a\n#'   style function or in custom CSS.\n#' @param inverse_link_color Inverse Link Color. Defaults to `link_color`.\n#'   Modifies the `.inverse a, .inverse a > code` classes. The value of this\n#'   variable is also stored as a CSS variable that can be referenced with\n#'   `var(--inverse-link-color)` in any argument of a style function or in\n#'   custom CSS.\n#' @param title_slide_text_color Title Slide Text Color. Defaults to\n#'   `inverse_text_color`. Modifies the `.title-slide` class. The value of this\n#'   variable is also stored as a CSS variable that can be referenced with\n#'   `var(--title-slide-text-color)` in any argument of a style function or in\n#'   custom CSS.\n#' @param title_slide_background_color Title Slide Background Color. Defaults\n#'   to `inverse_background_color`. Modifies the `.title-slide` class. The\n#'   value of this variable is also stored as a CSS variable that can be\n#'   referenced with `var(--title-slide-background-color)` in any argument of a\n#'   style function or in custom CSS.\n#' @param title_slide_background_image Title Slide Background Image URL.\n#'   Defaults to `NULL`. Modifies the `.title-slide` class.\n#' @param title_slide_background_size Title Slide Background Image Size,\n#'   defaults to \"cover\" if background image is set. Defaults to `NULL`.\n#'   Modifies the `.title-slide` class. Accepts CSS\n#'   [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)\n#'   property values.\n#' @param title_slide_background_position Title Slide Background Image\n#'   Position. Defaults to `NULL`. Modifies the `.title-slide` class. Accepts\n#'   CSS\n#'   [background-position](https://developer.mozilla.org/en-US/docs/Web/CSS/background-position)\n#'   property values.\n#' @param footnote_color Footnote text color (if `NA`, then it will be the same\n#'   color as `text_color`). Defaults to `NULL`. Modifies the `.footnote`\n#'   class.\n#' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies\n#'   the `.footnote` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values.\n#' @param footnote_position_bottom Footnote location from bottom of screen.\n#'   Defaults to 60px. Modifies the `.footnote` class. Accepts CSS\n#'   [position](https://developer.mozilla.org/en-US/docs/Web/CSS/position_value)\n#'   property values.\n#' @param left_column_subtle_color Left Column Text (not last). Defaults to\n#'   #586e75. Modifies the `.left-column h2, .left-column h3` classes.\n#' @param left_column_selected_color Left Column Current Selection. Defaults to\n#'   #93a1a1. Modifies the\n#'   `.left-column h2:last-of-type, .left-column h3:last-child` classes.\n#' @param blockquote_left_border_color Blockquote Left Border Color. Defaults\n#'   to #cb4b16. Modifies the `blockquote` element.\n#' @param table_border_color Table top/bottom border. Defaults to #657b83.\n#'   Modifies the `table: border-top, border-bottom` elements.\n#' @param table_row_border_color Table row inner bottom border. Defaults to\n#'   #657b83. Modifies the `table thead th: border-bottom` elements.\n#' @param table_row_even_background_color Table Even Row Background Color.\n#'   Defaults to #073642. Modifies the `thead, tfoot, tr:nth-child(even)`\n#'   elements.\n#' @param base_font_size Base Font Size for All Slide Elements (must be `px`).\n#'   Defaults to 20px. Modifies the `html` element. The value of this variable\n#'   is also stored as a CSS variable that can be referenced with\n#'   `var(--base-font-size)` in any argument of a style function or in custom\n#'   CSS.\n#' @param text_font_size Slide Body Text Font Size. Defaults to 1rem. Modifies\n#'   the `.remark-slide-content` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--text-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_h1_font_size h1 Header Text Font Size. Defaults to 2.75rem.\n#'   Modifies the `.remark-slide-content h1` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-h1-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_h2_font_size h2 Header Text Font Size. Defaults to 2.25rem.\n#'   Modifies the `.remark-slide-content h2` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-h2-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_h3_font_size h3 Header Text Font Size. Defaults to 1.75rem.\n#'   Modifies the `.remark-slide-content h3` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-h3-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_background_auto Add background under slide title automatically\n#'   for h1 header elements. If not enabled, use `class: header_background` to\n#'   enable. Defaults to `FALSE`.\n#' @param header_background_color Background Color for h1 Header with\n#'   Background. Defaults to `header_color`. Modifies the\n#'   `.remark-slide-content h1` class. The value of this variable is also\n#'   stored as a CSS variable that can be referenced with\n#'   `var(--header-background-color)` in any argument of a style function or in\n#'   custom CSS.\n#' @param header_background_text_color Text Color for h1 Header with\n#'   Background. Defaults to `background_color`. Modifies the\n#'   `.remark-slide-content h1` class. The value of this variable is also\n#'   stored as a CSS variable that can be referenced with\n#'   `var(--header-background-text-color)` in any argument of a style function\n#'   or in custom CSS.\n#' @param header_background_padding Padding for h1 Header with Background.\n#'   Defaults to `NULL`. Modifies the `.remark-slide-content h1` class. Accepts\n#'   CSS [padding](https://developer.mozilla.org/en-US/docs/Web/CSS/padding)\n#'   property values.\n#' @param header_background_content_padding_top Top Padding for Content in\n#'   Slide with Header with Background. Defaults to 7rem. Modifies the\n#'   `.remark-slide-content` class.\n#' @param header_background_ignore_classes Slide Classes Where Header with\n#'   Background will not be Applied. Defaults to\n#'   `c('normal', 'inverse', 'title', 'middle', 'bottom')`. Modifies the\n#'   `.remark-slide-content` class.\n#' @param text_slide_number_font_size Slide Number Text Font Size. Defaults to\n#'   0.9rem. Modifies the `.remark-slide-number` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values.\n#' @param text_font_google Use `google_font()` to specify body font. Defaults\n#'   to `NULL`. Modifies the `body` element.\n#' @param text_font_family Body Text Font Family (xaringan default is\n#'   `'Droid Serif'`). Defaults to\n#'   `xaringanthemer_font_default(\"text_font_family\")`. Modifies the `body`\n#'   element. The value of this variable is also stored as a CSS variable that\n#'   can be referenced with `var(--text-font-family)` in any argument of a\n#'   style function or in custom CSS.\n#' @param text_font_weight Body Text Font Weight. Defaults to\n#'   `xaringanthemer_font_default(\"text_font_weight\")`. Modifies the `body`\n#'   element. Accepts CSS\n#'   [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)\n#'   property values.\n#' @param text_bold_font_weight Body Bold Text Font Weight. Defaults to bold.\n#'   Modifies the `strong` element.\n#' @param text_font_url Body Text Font URL(s). Defaults to\n#'   `xaringanthemer_font_default(\"text_font_url\")`. Modifies the\n#'   `@import url()` elements.\n#' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to\n#'   `xaringanthemer_font_default(\"text_font_family_fallback\")`. Modifies the\n#'   `body` element. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--text-font-family-fallback)` in\n#'   any argument of a style function or in custom CSS.\n#' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults\n#'   to sans-serif. Modifies the `body` element. The value of this variable is\n#'   also stored as a CSS variable that can be referenced with\n#'   `var(--text-font-base)` in any argument of a style function or in custom\n#'   CSS.\n#' @param header_font_google Use `google_font()` to specify header font.\n#'   Defaults to `NULL`. Modifies the `body` element.\n#' @param header_font_family Header Font Family (xaringan default is\n#'   `'Yanone Kaffeesatz'`). Defaults to\n#'   `xaringanthemer_font_default(\"header_font_family\")`. Modifies the\n#'   `h1, h2, h3` elements. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-font-family)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_font_weight Header Font Weight. Defaults to\n#'   `xaringanthemer_font_default(\"header_font_weight\")`. Modifies the\n#'   `h1, h2, h3` elements. Accepts CSS\n#'   [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)\n#'   property values.\n#' @param header_font_family_fallback Header Font Family Fallback. Defaults to\n#'   Georgia, serif. Modifies the `h1, h2, h3` elements. The value of this\n#'   variable is also stored as a CSS variable that can be referenced with\n#'   `var(--header-font-family-fallback)` in any argument of a style function\n#'   or in custom CSS.\n#' @param header_font_url Header Font URL. Defaults to\n#'   `xaringanthemer_font_default(\"header_font_url\")`. Modifies the\n#'   `@import url` elements.\n#' @param code_font_google Use `google_font()` to specify code font. Defaults\n#'   to `NULL`. Modifies the `body` element.\n#' @param code_font_family Code Font Family. Defaults to\n#'   `xaringanthemer_font_default(\"code_font_family\")`. Modifies the\n#'   `.remark-code, .remark-inline-code` classes. The value of this variable is\n#'   also stored as a CSS variable that can be referenced with\n#'   `var(--code-font-family)` in any argument of a style function or in custom\n#'   CSS.\n#' @param code_font_size Code Text Font Size. Defaults to 0.9rem. Modifies the\n#'   `.remark-inline` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--code-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param code_font_url Code Font URL. Defaults to\n#'   `xaringanthemer_font_default(\"code_font_url\")`. Modifies the `@import url`\n#'   elements.\n#' @param code_font_family_fallback Code Font Fallback. Defaults to\n#'   `xaringanthemer_font_default(\"code_font_family_fallback\")`. Modifies the\n#'   `.remark-code, .remark-inline-code` classes.\n#' @param link_decoration Text decoration of links. Defaults to none. Modifies\n#'   the `a, a > code` elements. Accepts CSS\n#'   [text-decoration](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration)\n#'   property values.\n#' @template theme_params\n#' @template style-usage\n#' @template style_solarized_dark\n#' @family Solarized themes\n#' @export\nstyle_solarized_dark <- function(\n  text_color = \"#839496\",\n  header_color = \"#dc322f\",\n  background_color = \"#002b36\",\n  link_color = \"#b58900\",\n  text_bold_color = \"#d33682\",\n  text_slide_number_color = \"#586e75\",\n  padding = \"16px 64px 16px 64px\",\n  background_image = NULL,\n  background_size = NULL,\n  background_position = NULL,\n  code_highlight_color = \"#268bd240\",\n  code_inline_color = \"#6c71c4\",\n  code_inline_background_color = NULL,\n  code_inline_font_size = \"1em\",\n  inverse_background_color = \"#fdf6e3\",\n  inverse_text_color = \"#002b36\",\n  inverse_text_shadow = FALSE,\n  inverse_header_color = inverse_text_color,\n  inverse_link_color = link_color,\n  title_slide_text_color = inverse_text_color,\n  title_slide_background_color = inverse_background_color,\n  title_slide_background_image = NULL,\n  title_slide_background_size = NULL,\n  title_slide_background_position = NULL,\n  footnote_color = NULL,\n  footnote_font_size = \"0.9em\",\n  footnote_position_bottom = \"60px\",\n  left_column_subtle_color = \"#586e75\",\n  left_column_selected_color = \"#93a1a1\",\n  blockquote_left_border_color = \"#cb4b16\",\n  table_border_color = \"#657b83\",\n  table_row_border_color = \"#657b83\",\n  table_row_even_background_color = \"#073642\",\n  base_font_size = \"20px\",\n  text_font_size = \"1rem\",\n  header_h1_font_size = \"2.75rem\",\n  header_h2_font_size = \"2.25rem\",\n  header_h3_font_size = \"1.75rem\",\n  header_background_auto = FALSE,\n  header_background_color = header_color,\n  header_background_text_color = background_color,\n  header_background_padding = NULL,\n  header_background_content_padding_top = \"7rem\",\n  header_background_ignore_classes = c('normal', 'inverse', 'title', 'middle', 'bottom'),\n  text_slide_number_font_size = \"0.9rem\",\n  text_font_google = NULL,\n  text_font_family = xaringanthemer_font_default(\"text_font_family\"),\n  text_font_weight = xaringanthemer_font_default(\"text_font_weight\"),\n  text_bold_font_weight = \"bold\",\n  text_font_url = xaringanthemer_font_default(\"text_font_url\"),\n  text_font_family_fallback = xaringanthemer_font_default(\"text_font_family_fallback\"),\n  text_font_base = \"sans-serif\",\n  header_font_google = NULL,\n  header_font_family = xaringanthemer_font_default(\"header_font_family\"),\n  header_font_weight = xaringanthemer_font_default(\"header_font_weight\"),\n  header_font_family_fallback = \"Georgia, serif\",\n  header_font_url = xaringanthemer_font_default(\"header_font_url\"),\n  code_font_google = NULL,\n  code_font_family = xaringanthemer_font_default(\"code_font_family\"),\n  code_font_size = \"0.9rem\",\n  code_font_url = xaringanthemer_font_default(\"code_font_url\"),\n  code_font_family_fallback = xaringanthemer_font_default(\"code_font_family_fallback\"),\n  link_decoration = \"none\",\n  colors = NULL,\n  extra_css = NULL,\n  extra_fonts = NULL,\n  outfile = \"xaringan-themer.css\"\n) {\n  # DO NOT EDIT - Generated from inst/scripts/generate_theme_functions.R\n  eval(parse(text = call_style_xaringan()))\n}\n"
  },
  {
    "path": "R/style_solarized_light.R",
    "content": "# Generated by inst/scripts/generate_theme_functions.R: do not edit by hand\n\n#' @param text_color Text Color. Defaults to #657b83. Modifies the `body`\n#'   element. The value of this variable is also stored as a CSS variable that\n#'   can be referenced with `var(--text_color)` in any argument of a style\n#'   function or in custom CSS.\n#' @param header_color Header Color. Defaults to #dc322f. Modifies the\n#'   `h1, h2, h3` elements. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-color)` in any argument\n#'   of a style function or in custom CSS.\n#' @param background_color Slide Background Color. Defaults to #fdf6e3.\n#'   Modifies the `.remark-slide-content` class. The value of this variable is\n#'   also stored as a CSS variable that can be referenced with\n#'   `var(--background-color)` in any argument of a style function or in custom\n#'   CSS.\n#' @param link_color Link Color. Defaults to #b58900. Modifies the\n#'   `a, a > code` elements. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--link-color)` in any argument\n#'   of a style function or in custom CSS.\n#' @param text_bold_color Bold Text Color. Defaults to #d33682. Modifies the\n#'   `strong` element. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--text-bold-color)` in any\n#'   argument of a style function or in custom CSS.\n#' @param text_slide_number_color Slide Number Color. Defaults to #93a1a1.\n#'   Modifies the `.remark-slide-number` class.\n#' @param padding Slide Padding in `top right [bottom left]` format. Defaults\n#'   to 16px 64px 16px 64px. Modifies the `.remark-slide-content` class.\n#'   Accepts CSS\n#'   [padding](https://developer.mozilla.org/en-US/docs/Web/CSS/padding)\n#'   property values.\n#' @param background_image Background image applied to each *and every* slide.\n#'   Set `title_slide_background_image = \"none\"` to remove the background image\n#'   from the title slide. Defaults to `NULL`. Modifies the\n#'   `.remark-slide-content` class.\n#' @param background_size Background image size, requires `background_image` to\n#'   be set. If `background_image` is set, `background_size` will default to\n#'   `cover` so the background fills the screen. If both `background_image` and\n#'   `background_position` are set, will default to 100 percent. Defaults to\n#'   `NULL`. Modifies the `.remark-slide-content` class. Accepts CSS\n#'   [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)\n#'   property values.\n#' @param background_position Background image position, requires\n#'   `background_image` to be set, and it is recommended to adjust\n#'   `background_size`. Defaults to `NULL`. Modifies the\n#'   `.remark-slide-content` class. Accepts CSS\n#'   [background-position](https://developer.mozilla.org/en-US/docs/Web/CSS/background-position)\n#'   property values.\n#' @param code_highlight_color Code Line Highlight. Defaults to #268bd240.\n#'   Modifies the `.remark-code-line-highlighted` class. The value of this\n#'   variable is also stored as a CSS variable that can be referenced with\n#'   `var(--code-highlight-color)` in any argument of a style function or in\n#'   custom CSS.\n#' @param code_inline_color Inline Code Color. Defaults to #6c71c4. Modifies\n#'   the `.remark-inline-code` class.\n#' @param code_inline_background_color Inline Code Background Color. Defaults\n#'   to `NULL`. Modifies the `.remark-inline-code` class.\n#' @param code_inline_font_size Inline Code Text Font Size. Defaults to 1em.\n#'   Modifies the `.remark-inline-code` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--code-inline-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param inverse_background_color Inverse Background Color. Defaults to\n#'   #002b36. Modifies the `.inverse` class. The value of this variable is also\n#'   stored as a CSS variable that can be referenced with\n#'   `var(--inverse-background-color)` in any argument of a style function or\n#'   in custom CSS.\n#' @param inverse_text_color Inverse Text Color. Defaults to #fdf6e3. Modifies\n#'   the `.inverse` class. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--inverse-text-color)` in any\n#'   argument of a style function or in custom CSS.\n#' @param inverse_text_shadow Enables Shadow on text of inverse slides.\n#'   Defaults to `FALSE`. Modifies the `.inverse` class.\n#' @param inverse_header_color Inverse Header Color. Defaults to\n#'   `inverse_text_color`. Modifies the `.inverse h1, .inverse h2, .inverse h3`\n#'   classes. The value of this variable is also stored as a CSS variable that\n#'   can be referenced with `var(--inverse-header-color)` in any argument of a\n#'   style function or in custom CSS.\n#' @param inverse_link_color Inverse Link Color. Defaults to `link_color`.\n#'   Modifies the `.inverse a, .inverse a > code` classes. The value of this\n#'   variable is also stored as a CSS variable that can be referenced with\n#'   `var(--inverse-link-color)` in any argument of a style function or in\n#'   custom CSS.\n#' @param title_slide_text_color Title Slide Text Color. Defaults to\n#'   `inverse_text_color`. Modifies the `.title-slide` class. The value of this\n#'   variable is also stored as a CSS variable that can be referenced with\n#'   `var(--title-slide-text-color)` in any argument of a style function or in\n#'   custom CSS.\n#' @param title_slide_background_color Title Slide Background Color. Defaults\n#'   to `inverse_background_color`. Modifies the `.title-slide` class. The\n#'   value of this variable is also stored as a CSS variable that can be\n#'   referenced with `var(--title-slide-background-color)` in any argument of a\n#'   style function or in custom CSS.\n#' @param title_slide_background_image Title Slide Background Image URL.\n#'   Defaults to `NULL`. Modifies the `.title-slide` class.\n#' @param title_slide_background_size Title Slide Background Image Size,\n#'   defaults to \"cover\" if background image is set. Defaults to `NULL`.\n#'   Modifies the `.title-slide` class. Accepts CSS\n#'   [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)\n#'   property values.\n#' @param title_slide_background_position Title Slide Background Image\n#'   Position. Defaults to `NULL`. Modifies the `.title-slide` class. Accepts\n#'   CSS\n#'   [background-position](https://developer.mozilla.org/en-US/docs/Web/CSS/background-position)\n#'   property values.\n#' @param footnote_color Footnote text color (if `NA`, then it will be the same\n#'   color as `text_color`). Defaults to `NULL`. Modifies the `.footnote`\n#'   class.\n#' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies\n#'   the `.footnote` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values.\n#' @param footnote_position_bottom Footnote location from bottom of screen.\n#'   Defaults to 60px. Modifies the `.footnote` class. Accepts CSS\n#'   [position](https://developer.mozilla.org/en-US/docs/Web/CSS/position_value)\n#'   property values.\n#' @param left_column_subtle_color Left Column Text (not last). Defaults to\n#'   #93a1a1. Modifies the `.left-column h2, .left-column h3` classes.\n#' @param left_column_selected_color Left Column Current Selection. Defaults to\n#'   #586e75. Modifies the\n#'   `.left-column h2:last-of-type, .left-column h3:last-child` classes.\n#' @param blockquote_left_border_color Blockquote Left Border Color. Defaults\n#'   to #cb4b16. Modifies the `blockquote` element.\n#' @param table_border_color Table top/bottom border. Defaults to #839496.\n#'   Modifies the `table: border-top, border-bottom` elements.\n#' @param table_row_border_color Table row inner bottom border. Defaults to\n#'   #839496. Modifies the `table thead th: border-bottom` elements.\n#' @param table_row_even_background_color Table Even Row Background Color.\n#'   Defaults to #eee8d5. Modifies the `thead, tfoot, tr:nth-child(even)`\n#'   elements.\n#' @param base_font_size Base Font Size for All Slide Elements (must be `px`).\n#'   Defaults to 20px. Modifies the `html` element. The value of this variable\n#'   is also stored as a CSS variable that can be referenced with\n#'   `var(--base-font-size)` in any argument of a style function or in custom\n#'   CSS.\n#' @param text_font_size Slide Body Text Font Size. Defaults to 1rem. Modifies\n#'   the `.remark-slide-content` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--text-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_h1_font_size h1 Header Text Font Size. Defaults to 2.75rem.\n#'   Modifies the `.remark-slide-content h1` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-h1-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_h2_font_size h2 Header Text Font Size. Defaults to 2.25rem.\n#'   Modifies the `.remark-slide-content h2` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-h2-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_h3_font_size h3 Header Text Font Size. Defaults to 1.75rem.\n#'   Modifies the `.remark-slide-content h3` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-h3-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_background_auto Add background under slide title automatically\n#'   for h1 header elements. If not enabled, use `class: header_background` to\n#'   enable. Defaults to `FALSE`.\n#' @param header_background_color Background Color for h1 Header with\n#'   Background. Defaults to `header_color`. Modifies the\n#'   `.remark-slide-content h1` class. The value of this variable is also\n#'   stored as a CSS variable that can be referenced with\n#'   `var(--header-background-color)` in any argument of a style function or in\n#'   custom CSS.\n#' @param header_background_text_color Text Color for h1 Header with\n#'   Background. Defaults to `background_color`. Modifies the\n#'   `.remark-slide-content h1` class. The value of this variable is also\n#'   stored as a CSS variable that can be referenced with\n#'   `var(--header-background-text-color)` in any argument of a style function\n#'   or in custom CSS.\n#' @param header_background_padding Padding for h1 Header with Background.\n#'   Defaults to `NULL`. Modifies the `.remark-slide-content h1` class. Accepts\n#'   CSS [padding](https://developer.mozilla.org/en-US/docs/Web/CSS/padding)\n#'   property values.\n#' @param header_background_content_padding_top Top Padding for Content in\n#'   Slide with Header with Background. Defaults to 7rem. Modifies the\n#'   `.remark-slide-content` class.\n#' @param header_background_ignore_classes Slide Classes Where Header with\n#'   Background will not be Applied. Defaults to\n#'   `c('normal', 'inverse', 'title', 'middle', 'bottom')`. Modifies the\n#'   `.remark-slide-content` class.\n#' @param text_slide_number_font_size Slide Number Text Font Size. Defaults to\n#'   0.9rem. Modifies the `.remark-slide-number` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values.\n#' @param text_font_google Use `google_font()` to specify body font. Defaults\n#'   to `NULL`. Modifies the `body` element.\n#' @param text_font_family Body Text Font Family (xaringan default is\n#'   `'Droid Serif'`). Defaults to\n#'   `xaringanthemer_font_default(\"text_font_family\")`. Modifies the `body`\n#'   element. The value of this variable is also stored as a CSS variable that\n#'   can be referenced with `var(--text-font-family)` in any argument of a\n#'   style function or in custom CSS.\n#' @param text_font_weight Body Text Font Weight. Defaults to\n#'   `xaringanthemer_font_default(\"text_font_weight\")`. Modifies the `body`\n#'   element. Accepts CSS\n#'   [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)\n#'   property values.\n#' @param text_bold_font_weight Body Bold Text Font Weight. Defaults to bold.\n#'   Modifies the `strong` element.\n#' @param text_font_url Body Text Font URL(s). Defaults to\n#'   `xaringanthemer_font_default(\"text_font_url\")`. Modifies the\n#'   `@import url()` elements.\n#' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to\n#'   `xaringanthemer_font_default(\"text_font_family_fallback\")`. Modifies the\n#'   `body` element. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--text-font-family-fallback)` in\n#'   any argument of a style function or in custom CSS.\n#' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults\n#'   to sans-serif. Modifies the `body` element. The value of this variable is\n#'   also stored as a CSS variable that can be referenced with\n#'   `var(--text-font-base)` in any argument of a style function or in custom\n#'   CSS.\n#' @param header_font_google Use `google_font()` to specify header font.\n#'   Defaults to `NULL`. Modifies the `body` element.\n#' @param header_font_family Header Font Family (xaringan default is\n#'   `'Yanone Kaffeesatz'`). Defaults to\n#'   `xaringanthemer_font_default(\"header_font_family\")`. Modifies the\n#'   `h1, h2, h3` elements. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-font-family)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_font_weight Header Font Weight. Defaults to\n#'   `xaringanthemer_font_default(\"header_font_weight\")`. Modifies the\n#'   `h1, h2, h3` elements. Accepts CSS\n#'   [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)\n#'   property values.\n#' @param header_font_family_fallback Header Font Family Fallback. Defaults to\n#'   Georgia, serif. Modifies the `h1, h2, h3` elements. The value of this\n#'   variable is also stored as a CSS variable that can be referenced with\n#'   `var(--header-font-family-fallback)` in any argument of a style function\n#'   or in custom CSS.\n#' @param header_font_url Header Font URL. Defaults to\n#'   `xaringanthemer_font_default(\"header_font_url\")`. Modifies the\n#'   `@import url` elements.\n#' @param code_font_google Use `google_font()` to specify code font. Defaults\n#'   to `NULL`. Modifies the `body` element.\n#' @param code_font_family Code Font Family. Defaults to\n#'   `xaringanthemer_font_default(\"code_font_family\")`. Modifies the\n#'   `.remark-code, .remark-inline-code` classes. The value of this variable is\n#'   also stored as a CSS variable that can be referenced with\n#'   `var(--code-font-family)` in any argument of a style function or in custom\n#'   CSS.\n#' @param code_font_size Code Text Font Size. Defaults to 0.9rem. Modifies the\n#'   `.remark-inline` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--code-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param code_font_url Code Font URL. Defaults to\n#'   `xaringanthemer_font_default(\"code_font_url\")`. Modifies the `@import url`\n#'   elements.\n#' @param code_font_family_fallback Code Font Fallback. Defaults to\n#'   `xaringanthemer_font_default(\"code_font_family_fallback\")`. Modifies the\n#'   `.remark-code, .remark-inline-code` classes.\n#' @param link_decoration Text decoration of links. Defaults to none. Modifies\n#'   the `a, a > code` elements. Accepts CSS\n#'   [text-decoration](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration)\n#'   property values.\n#' @template theme_params\n#' @template style-usage\n#' @template style_solarized_light\n#' @family Solarized themes\n#' @export\nstyle_solarized_light <- function(\n  text_color = \"#657b83\",\n  header_color = \"#dc322f\",\n  background_color = \"#fdf6e3\",\n  link_color = \"#b58900\",\n  text_bold_color = \"#d33682\",\n  text_slide_number_color = \"#93a1a1\",\n  padding = \"16px 64px 16px 64px\",\n  background_image = NULL,\n  background_size = NULL,\n  background_position = NULL,\n  code_highlight_color = \"#268bd240\",\n  code_inline_color = \"#6c71c4\",\n  code_inline_background_color = NULL,\n  code_inline_font_size = \"1em\",\n  inverse_background_color = \"#002b36\",\n  inverse_text_color = \"#fdf6e3\",\n  inverse_text_shadow = FALSE,\n  inverse_header_color = inverse_text_color,\n  inverse_link_color = link_color,\n  title_slide_text_color = inverse_text_color,\n  title_slide_background_color = inverse_background_color,\n  title_slide_background_image = NULL,\n  title_slide_background_size = NULL,\n  title_slide_background_position = NULL,\n  footnote_color = NULL,\n  footnote_font_size = \"0.9em\",\n  footnote_position_bottom = \"60px\",\n  left_column_subtle_color = \"#93a1a1\",\n  left_column_selected_color = \"#586e75\",\n  blockquote_left_border_color = \"#cb4b16\",\n  table_border_color = \"#839496\",\n  table_row_border_color = \"#839496\",\n  table_row_even_background_color = \"#eee8d5\",\n  base_font_size = \"20px\",\n  text_font_size = \"1rem\",\n  header_h1_font_size = \"2.75rem\",\n  header_h2_font_size = \"2.25rem\",\n  header_h3_font_size = \"1.75rem\",\n  header_background_auto = FALSE,\n  header_background_color = header_color,\n  header_background_text_color = background_color,\n  header_background_padding = NULL,\n  header_background_content_padding_top = \"7rem\",\n  header_background_ignore_classes = c('normal', 'inverse', 'title', 'middle', 'bottom'),\n  text_slide_number_font_size = \"0.9rem\",\n  text_font_google = NULL,\n  text_font_family = xaringanthemer_font_default(\"text_font_family\"),\n  text_font_weight = xaringanthemer_font_default(\"text_font_weight\"),\n  text_bold_font_weight = \"bold\",\n  text_font_url = xaringanthemer_font_default(\"text_font_url\"),\n  text_font_family_fallback = xaringanthemer_font_default(\"text_font_family_fallback\"),\n  text_font_base = \"sans-serif\",\n  header_font_google = NULL,\n  header_font_family = xaringanthemer_font_default(\"header_font_family\"),\n  header_font_weight = xaringanthemer_font_default(\"header_font_weight\"),\n  header_font_family_fallback = \"Georgia, serif\",\n  header_font_url = xaringanthemer_font_default(\"header_font_url\"),\n  code_font_google = NULL,\n  code_font_family = xaringanthemer_font_default(\"code_font_family\"),\n  code_font_size = \"0.9rem\",\n  code_font_url = xaringanthemer_font_default(\"code_font_url\"),\n  code_font_family_fallback = xaringanthemer_font_default(\"code_font_family_fallback\"),\n  link_decoration = \"none\",\n  colors = NULL,\n  extra_css = NULL,\n  extra_fonts = NULL,\n  outfile = \"xaringan-themer.css\"\n) {\n  # DO NOT EDIT - Generated from inst/scripts/generate_theme_functions.R\n  eval(parse(text = call_style_xaringan()))\n}\n"
  },
  {
    "path": "R/style_xaringan.R",
    "content": "# Generated by inst/scripts/generate_theme_functions.R: do not edit by hand\n\n#' @param text_color Text Color. Defaults to #000. Modifies the `body` element.\n#'   The value of this variable is also stored as a CSS variable that can be\n#'   referenced with `var(--text_color)` in any argument of a style function or\n#'   in custom CSS.\n#' @param header_color Header Color. Defaults to #000. Modifies the\n#'   `h1, h2, h3` elements. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-color)` in any argument\n#'   of a style function or in custom CSS.\n#' @param background_color Slide Background Color. Defaults to #FFF. Modifies\n#'   the `.remark-slide-content` class. The value of this variable is also\n#'   stored as a CSS variable that can be referenced with\n#'   `var(--background-color)` in any argument of a style function or in custom\n#'   CSS.\n#' @param link_color Link Color. Defaults to rgb(249, 38, 114). Modifies the\n#'   `a, a > code` elements. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--link-color)` in any argument\n#'   of a style function or in custom CSS.\n#' @param text_bold_color Bold Text Color. Defaults to `NULL`. Modifies the\n#'   `strong` element. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--text-bold-color)` in any\n#'   argument of a style function or in custom CSS.\n#' @param text_slide_number_color Slide Number Color. Defaults to\n#'   `inverse_background_color`. Modifies the `.remark-slide-number` class.\n#' @param padding Slide Padding in `top right [bottom left]` format. Defaults\n#'   to 16px 64px 16px 64px. Modifies the `.remark-slide-content` class.\n#'   Accepts CSS\n#'   [padding](https://developer.mozilla.org/en-US/docs/Web/CSS/padding)\n#'   property values.\n#' @param background_image Background image applied to each *and every* slide.\n#'   Set `title_slide_background_image = \"none\"` to remove the background image\n#'   from the title slide. Defaults to `NULL`. Modifies the\n#'   `.remark-slide-content` class.\n#' @param background_size Background image size, requires `background_image` to\n#'   be set. If `background_image` is set, `background_size` will default to\n#'   `cover` so the background fills the screen. If both `background_image` and\n#'   `background_position` are set, will default to 100 percent. Defaults to\n#'   `NULL`. Modifies the `.remark-slide-content` class. Accepts CSS\n#'   [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)\n#'   property values.\n#' @param background_position Background image position, requires\n#'   `background_image` to be set, and it is recommended to adjust\n#'   `background_size`. Defaults to `NULL`. Modifies the\n#'   `.remark-slide-content` class. Accepts CSS\n#'   [background-position](https://developer.mozilla.org/en-US/docs/Web/CSS/background-position)\n#'   property values.\n#' @param code_highlight_color Code Line Highlight. Defaults to\n#'   rgba(255,255,0,0.5). Modifies the `.remark-code-line-highlighted` class.\n#'   The value of this variable is also stored as a CSS variable that can be\n#'   referenced with `var(--code-highlight-color)` in any argument of a style\n#'   function or in custom CSS.\n#' @param code_inline_color Inline Code Color. Defaults to #000. Modifies the\n#'   `.remark-inline-code` class.\n#' @param code_inline_background_color Inline Code Background Color. Defaults\n#'   to `NULL`. Modifies the `.remark-inline-code` class.\n#' @param code_inline_font_size Inline Code Text Font Size. Defaults to 1em.\n#'   Modifies the `.remark-inline-code` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--code-inline-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param inverse_background_color Inverse Background Color. Defaults to\n#'   #272822. Modifies the `.inverse` class. The value of this variable is also\n#'   stored as a CSS variable that can be referenced with\n#'   `var(--inverse-background-color)` in any argument of a style function or\n#'   in custom CSS.\n#' @param inverse_text_color Inverse Text Color. Defaults to #d6d6d6. Modifies\n#'   the `.inverse` class. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--inverse-text-color)` in any\n#'   argument of a style function or in custom CSS.\n#' @param inverse_text_shadow Enables Shadow on text of inverse slides.\n#'   Defaults to `FALSE`. Modifies the `.inverse` class.\n#' @param inverse_header_color Inverse Header Color. Defaults to #f3f3f3.\n#'   Modifies the `.inverse h1, .inverse h2, .inverse h3` classes. The value of\n#'   this variable is also stored as a CSS variable that can be referenced with\n#'   `var(--inverse-header-color)` in any argument of a style function or in\n#'   custom CSS.\n#' @param inverse_link_color Inverse Link Color. Defaults to `link_color`.\n#'   Modifies the `.inverse a, .inverse a > code` classes. The value of this\n#'   variable is also stored as a CSS variable that can be referenced with\n#'   `var(--inverse-link-color)` in any argument of a style function or in\n#'   custom CSS.\n#' @param title_slide_text_color Title Slide Text Color. Defaults to\n#'   `inverse_text_color`. Modifies the `.title-slide` class. The value of this\n#'   variable is also stored as a CSS variable that can be referenced with\n#'   `var(--title-slide-text-color)` in any argument of a style function or in\n#'   custom CSS.\n#' @param title_slide_background_color Title Slide Background Color. Defaults\n#'   to `inverse_background_color`. Modifies the `.title-slide` class. The\n#'   value of this variable is also stored as a CSS variable that can be\n#'   referenced with `var(--title-slide-background-color)` in any argument of a\n#'   style function or in custom CSS.\n#' @param title_slide_background_image Title Slide Background Image URL.\n#'   Defaults to `NULL`. Modifies the `.title-slide` class.\n#' @param title_slide_background_size Title Slide Background Image Size,\n#'   defaults to \"cover\" if background image is set. Defaults to `NULL`.\n#'   Modifies the `.title-slide` class. Accepts CSS\n#'   [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)\n#'   property values.\n#' @param title_slide_background_position Title Slide Background Image\n#'   Position. Defaults to `NULL`. Modifies the `.title-slide` class. Accepts\n#'   CSS\n#'   [background-position](https://developer.mozilla.org/en-US/docs/Web/CSS/background-position)\n#'   property values.\n#' @param footnote_color Footnote text color (if `NA`, then it will be the same\n#'   color as `text_color`). Defaults to `NULL`. Modifies the `.footnote`\n#'   class.\n#' @param footnote_font_size Footnote font size. Defaults to 0.9em. Modifies\n#'   the `.footnote` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values.\n#' @param footnote_position_bottom Footnote location from bottom of screen.\n#'   Defaults to 60px. Modifies the `.footnote` class. Accepts CSS\n#'   [position](https://developer.mozilla.org/en-US/docs/Web/CSS/position_value)\n#'   property values.\n#' @param left_column_subtle_color Left Column Text (not last). Defaults to\n#'   #777. Modifies the `.left-column h2, .left-column h3` classes.\n#' @param left_column_selected_color Left Column Current Selection. Defaults to\n#'   #000. Modifies the\n#'   `.left-column h2:last-of-type, .left-column h3:last-child` classes.\n#' @param blockquote_left_border_color Blockquote Left Border Color. Defaults\n#'   to lightgray. Modifies the `blockquote` element.\n#' @param table_border_color Table top/bottom border. Defaults to #666.\n#'   Modifies the `table: border-top, border-bottom` elements.\n#' @param table_row_border_color Table row inner bottom border. Defaults to\n#'   #ddd. Modifies the `table thead th: border-bottom` elements.\n#' @param table_row_even_background_color Table Even Row Background Color.\n#'   Defaults to #eee. Modifies the `thead, tfoot, tr:nth-child(even)`\n#'   elements.\n#' @param base_font_size Base Font Size for All Slide Elements (must be `px`).\n#'   Defaults to 20px. Modifies the `html` element. The value of this variable\n#'   is also stored as a CSS variable that can be referenced with\n#'   `var(--base-font-size)` in any argument of a style function or in custom\n#'   CSS.\n#' @param text_font_size Slide Body Text Font Size. Defaults to 1rem. Modifies\n#'   the `.remark-slide-content` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--text-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_h1_font_size h1 Header Text Font Size. Defaults to 2.75rem.\n#'   Modifies the `.remark-slide-content h1` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-h1-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_h2_font_size h2 Header Text Font Size. Defaults to 2.25rem.\n#'   Modifies the `.remark-slide-content h2` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-h2-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_h3_font_size h3 Header Text Font Size. Defaults to 1.75rem.\n#'   Modifies the `.remark-slide-content h3` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-h3-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_background_auto Add background under slide title automatically\n#'   for h1 header elements. If not enabled, use `class: header_background` to\n#'   enable. Defaults to `FALSE`.\n#' @param header_background_color Background Color for h1 Header with\n#'   Background. Defaults to `header_color`. Modifies the\n#'   `.remark-slide-content h1` class. The value of this variable is also\n#'   stored as a CSS variable that can be referenced with\n#'   `var(--header-background-color)` in any argument of a style function or in\n#'   custom CSS.\n#' @param header_background_text_color Text Color for h1 Header with\n#'   Background. Defaults to `background_color`. Modifies the\n#'   `.remark-slide-content h1` class. The value of this variable is also\n#'   stored as a CSS variable that can be referenced with\n#'   `var(--header-background-text-color)` in any argument of a style function\n#'   or in custom CSS.\n#' @param header_background_padding Padding for h1 Header with Background.\n#'   Defaults to `NULL`. Modifies the `.remark-slide-content h1` class. Accepts\n#'   CSS [padding](https://developer.mozilla.org/en-US/docs/Web/CSS/padding)\n#'   property values.\n#' @param header_background_content_padding_top Top Padding for Content in\n#'   Slide with Header with Background. Defaults to 7rem. Modifies the\n#'   `.remark-slide-content` class.\n#' @param header_background_ignore_classes Slide Classes Where Header with\n#'   Background will not be Applied. Defaults to\n#'   `c('normal', 'inverse', 'title', 'middle', 'bottom')`. Modifies the\n#'   `.remark-slide-content` class.\n#' @param text_slide_number_font_size Slide Number Text Font Size. Defaults to\n#'   0.9rem. Modifies the `.remark-slide-number` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values.\n#' @param text_font_google Use `google_font()` to specify body font. Defaults\n#'   to `NULL`. Modifies the `body` element.\n#' @param text_font_family Body Text Font Family (xaringan default is\n#'   `'Droid Serif'`). Defaults to\n#'   `xaringanthemer_font_default(\"text_font_family\")`. Modifies the `body`\n#'   element. The value of this variable is also stored as a CSS variable that\n#'   can be referenced with `var(--text-font-family)` in any argument of a\n#'   style function or in custom CSS.\n#' @param text_font_weight Body Text Font Weight. Defaults to\n#'   `xaringanthemer_font_default(\"text_font_weight\")`. Modifies the `body`\n#'   element. Accepts CSS\n#'   [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)\n#'   property values.\n#' @param text_bold_font_weight Body Bold Text Font Weight. Defaults to bold.\n#'   Modifies the `strong` element.\n#' @param text_font_url Body Text Font URL(s). Defaults to\n#'   `xaringanthemer_font_default(\"text_font_url\")`. Modifies the\n#'   `@import url()` elements.\n#' @param text_font_family_fallback Body Text Font Fallbacks. Defaults to\n#'   `xaringanthemer_font_default(\"text_font_family_fallback\")`. Modifies the\n#'   `body` element. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--text-font-family-fallback)` in\n#'   any argument of a style function or in custom CSS.\n#' @param text_font_base Body Text Base Font (Total Failure Fallback). Defaults\n#'   to sans-serif. Modifies the `body` element. The value of this variable is\n#'   also stored as a CSS variable that can be referenced with\n#'   `var(--text-font-base)` in any argument of a style function or in custom\n#'   CSS.\n#' @param header_font_google Use `google_font()` to specify header font.\n#'   Defaults to `NULL`. Modifies the `body` element.\n#' @param header_font_family Header Font Family (xaringan default is\n#'   `'Yanone Kaffeesatz'`). Defaults to\n#'   `xaringanthemer_font_default(\"header_font_family\")`. Modifies the\n#'   `h1, h2, h3` elements. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--header-font-family)` in any\n#'   argument of a style function or in custom CSS.\n#' @param header_font_weight Header Font Weight. Defaults to\n#'   `xaringanthemer_font_default(\"header_font_weight\")`. Modifies the\n#'   `h1, h2, h3` elements. Accepts CSS\n#'   [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)\n#'   property values.\n#' @param header_font_family_fallback Header Font Family Fallback. Defaults to\n#'   Georgia, serif. Modifies the `h1, h2, h3` elements. The value of this\n#'   variable is also stored as a CSS variable that can be referenced with\n#'   `var(--header-font-family-fallback)` in any argument of a style function\n#'   or in custom CSS.\n#' @param header_font_url Header Font URL. Defaults to\n#'   `xaringanthemer_font_default(\"header_font_url\")`. Modifies the\n#'   `@import url` elements.\n#' @param code_font_google Use `google_font()` to specify code font. Defaults\n#'   to `NULL`. Modifies the `body` element.\n#' @param code_font_family Code Font Family. Defaults to\n#'   `xaringanthemer_font_default(\"code_font_family\")`. Modifies the\n#'   `.remark-code, .remark-inline-code` classes. The value of this variable is\n#'   also stored as a CSS variable that can be referenced with\n#'   `var(--code-font-family)` in any argument of a style function or in custom\n#'   CSS.\n#' @param code_font_size Code Text Font Size. Defaults to 0.9rem. Modifies the\n#'   `.remark-inline` class. Accepts CSS\n#'   [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\n#'   property values. The value of this variable is also stored as a CSS\n#'   variable that can be referenced with `var(--code-font-size)` in any\n#'   argument of a style function or in custom CSS.\n#' @param code_font_url Code Font URL. Defaults to\n#'   `xaringanthemer_font_default(\"code_font_url\")`. Modifies the `@import url`\n#'   elements.\n#' @param code_font_family_fallback Code Font Fallback. Defaults to\n#'   `xaringanthemer_font_default(\"code_font_family_fallback\")`. Modifies the\n#'   `.remark-code, .remark-inline-code` classes.\n#' @param link_decoration Text decoration of links. Defaults to none. Modifies\n#'   the `a, a > code` elements. Accepts CSS\n#'   [text-decoration](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration)\n#'   property values.\n#' @template theme_params\n#' @template style-usage\n#' @template style_xaringan\n#' @export\nstyle_xaringan <- function(\n  text_color = \"#000\",\n  header_color = \"#000\",\n  background_color = \"#FFF\",\n  link_color = \"rgb(249, 38, 114)\",\n  text_bold_color = NULL,\n  text_slide_number_color = inverse_background_color,\n  padding = \"16px 64px 16px 64px\",\n  background_image = NULL,\n  background_size = NULL,\n  background_position = NULL,\n  code_highlight_color = \"rgba(255,255,0,0.5)\",\n  code_inline_color = \"#000\",\n  code_inline_background_color = NULL,\n  code_inline_font_size = \"1em\",\n  inverse_background_color = \"#272822\",\n  inverse_text_color = \"#d6d6d6\",\n  inverse_text_shadow = FALSE,\n  inverse_header_color = \"#f3f3f3\",\n  inverse_link_color = link_color,\n  title_slide_text_color = inverse_text_color,\n  title_slide_background_color = inverse_background_color,\n  title_slide_background_image = NULL,\n  title_slide_background_size = NULL,\n  title_slide_background_position = NULL,\n  footnote_color = NULL,\n  footnote_font_size = \"0.9em\",\n  footnote_position_bottom = \"60px\",\n  left_column_subtle_color = \"#777\",\n  left_column_selected_color = \"#000\",\n  blockquote_left_border_color = \"lightgray\",\n  table_border_color = \"#666\",\n  table_row_border_color = \"#ddd\",\n  table_row_even_background_color = \"#eee\",\n  base_font_size = \"20px\",\n  text_font_size = \"1rem\",\n  header_h1_font_size = \"2.75rem\",\n  header_h2_font_size = \"2.25rem\",\n  header_h3_font_size = \"1.75rem\",\n  header_background_auto = FALSE,\n  header_background_color = header_color,\n  header_background_text_color = background_color,\n  header_background_padding = NULL,\n  header_background_content_padding_top = \"7rem\",\n  header_background_ignore_classes = c('normal', 'inverse', 'title', 'middle', 'bottom'),\n  text_slide_number_font_size = \"0.9rem\",\n  text_font_google = NULL,\n  text_font_family = xaringanthemer_font_default(\"text_font_family\"),\n  text_font_weight = xaringanthemer_font_default(\"text_font_weight\"),\n  text_bold_font_weight = \"bold\",\n  text_font_url = xaringanthemer_font_default(\"text_font_url\"),\n  text_font_family_fallback = xaringanthemer_font_default(\"text_font_family_fallback\"),\n  text_font_base = \"sans-serif\",\n  header_font_google = NULL,\n  header_font_family = xaringanthemer_font_default(\"header_font_family\"),\n  header_font_weight = xaringanthemer_font_default(\"header_font_weight\"),\n  header_font_family_fallback = \"Georgia, serif\",\n  header_font_url = xaringanthemer_font_default(\"header_font_url\"),\n  code_font_google = NULL,\n  code_font_family = xaringanthemer_font_default(\"code_font_family\"),\n  code_font_size = \"0.9rem\",\n  code_font_url = xaringanthemer_font_default(\"code_font_url\"),\n  code_font_family_fallback = xaringanthemer_font_default(\"code_font_family_fallback\"),\n  link_decoration = \"none\",\n  colors = NULL,\n  extra_css = NULL,\n  extra_fonts = NULL,\n  outfile = \"xaringan-themer.css\"\n) {\n  # DO NOT EDIT - Generated from inst/scripts/generate_theme_functions.R\n  force(text_font_family)\n  force(text_font_weight)\n  force(text_font_url)\n  force(text_font_family_fallback)\n  force(header_font_family)\n  force(header_font_weight)\n  force(header_font_url)\n  force(code_font_family)\n  force(code_font_url)\n  force(code_font_family_fallback)\n\n  # the defaults are google fonts\n  is_default <- function(type, suffix) {\n    # check if font arg value is from xaringanthemer_font_default\n    var <- paste0(type, \"_\", suffix)\n    inherits(\n      get(var, envir = parent.frame(2), inherits = FALSE),\n      \"xaringanthemer_default\"\n    )\n  }\n  for (var in c(\"text\", \"header\", \"code\")) {\n    suffixes <- c(\"font_family\", \"font_weight\", \"font_url\")\n    if (var == \"code\") suffixes <- setdiff(suffixes, \"font_weight\")\n    var_is_google <- all(vapply(suffixes, is_default, logical(1), type = var))\n    var_is_google <- as.integer(var_is_google)\n    r_set_font_is_google <- glue::glue(\"{var}_font_is_google <- {var_is_google}\")\n    eval(parse(text = r_set_font_is_google))\n  }\n\n  # Make sure font names are wrapped in quotes if they have spaces\n  f_args <- names(formals(sys.function()))\n  for (var in f_args[grepl(\"font_family$\", f_args)]) {\n    var_value <- get(var, inherits = FALSE)\n    if (!is.null(var_value)) {\n      eval(parse(text = paste0(var, \"<-quote_elements_w_spaces(\", var, \")\")))\n    }\n  }\n\n  # Warn if base_font_size isn't absolute\n  css_abs_units <- c(\"cm\", \"mm\", \"Q\", \"in\", \"pc\", \"pt\", \"px\")\n  if (!grepl(paste(tolower(css_abs_units), collapse = \"|\"), tolower(base_font_size))) {\n    warning(\n      glue::glue(\n        \"Base font size '{base_font_size}' is not in absolute units. \",\n        \"For best results, specify the `base_font_size` using absolute CSS units: \",\n        \"{paste(css_abs_units, collapse = ', ')}\"\n      ),\n      call. = FALSE,\n      immediate. = TRUE\n    )\n  }\n\n  # If certain colors aren't in hexadecimal it may cause problems with theme_xaringan()\n  # TODO: at some point I'd rather be able to process CSS colors or variables\n  colors_used_by_theme_xaringan <- list(\n    background_color = background_color,\n    text_color = text_color,\n    header_color = header_color,\n    text_bold_color = text_bold_color,\n    inverse_background_color = inverse_background_color,\n    inverse_text_color = inverse_text_color,\n    inverse_header_color = inverse_header_color\n  )\n  colors_used_by_theme_xaringan <- purrr::discard(colors_used_by_theme_xaringan, is.null)\n  colors_are_hex <- purrr::map_lgl(colors_used_by_theme_xaringan, check_color_is_hex, throw = NULL)\n\n  if (any(!colors_are_hex)) {\n    colors_better_as_hex <- names(colors_used_by_theme_xaringan)[!colors_are_hex]\n    colors_better_as_hex <- paste(colors_better_as_hex, collapse = \", \")\n    warning(\n      glue::glue(\"Colors that will be used by `theme_xaringan()` need to be in \",\n        \"hexadecimal format: {colors_better_as_hex}\"),\n      immediate. = TRUE,\n      call. = FALSE\n    )\n  }\n\n  # Use font_..._google args to overwrite font args\n  for (var in f_args[grepl(\"font_google$\", f_args)]) {\n    gf <- eval(parse(text = var))\n    if (is.null(gf)) next\n    if (!inherits(gf, \"google_font\")) {\n      stop(\"`\", var, \"` must be set using `google_font()`.\")\n    }\n    group <- strsplit(var, \"_\")[[1]][1]\n    if (group == \"text\") {\n      text_font_family <- quote_elements_w_spaces(gf$family)\n      text_font_weight <- gf$weights %||% \"normal\"\n      if (grepl(\",\", text_font_weight)) {\n        # Use first font weight if multiple are imported\n        text_font_weight <- substr(text_font_weight, 1, regexpr(\",\", text_font_weight)[1] - 1)\n      }\n      text_font_url <- gf$url\n    } else {\n      eval(parse(text = paste0(group, \"_font_family <- quote_elements_w_spaces(gf$family)\")))\n      eval(parse(text = paste0(group, \"_font_url <- gf$url\")))\n    }\n    eval(parse(text = paste0(group, \"_font_is_google <- 1\")))\n  }\n\n  extra_font_imports <- if (is.null(extra_fonts)) \"\" else list2fonts(extra_fonts)\n  extra_font_imports <- paste(extra_font_imports, collapse = \"\\n\")\n\n  # convert NA arguments to NULL\n  for (var in f_args) {\n    val <- eval(parse(text = var))\n    if (is.null(val)) next\n    val <- val[!is.na(val)]\n    is_na <- length(val) == 0\n    if (is_na) assign(var, NULL, envir = sys.frame(sys.nframe()))\n  }\n\n  # prepare variables for template\n  body_font_family <- paste(c(text_font_family, text_font_family_fallback, text_font_base), collapse = \", \")\n  background_size_fallback <- if (is.null(background_position)) \"cover\" else \"100%\"\n  background_size <- background_image %??% (background_size %||% background_size_fallback)\n  title_slide_background_size <- title_slide_background_size %||% (\n    title_slide_background_image %??% \"cover\"\n  )\n  table_row_even_background_color <- table_row_even_background_color %||% background_color\n\n  # stash theme settings in package env\n  lapply(f_args, function(n) assign(n, get(n), envir = xaringanthemer_env))\n  for (font_is_google in paste0(c(\"text\", \"code\", \"header\"), \"_font_is_google\")) {\n    assign(\n      font_is_google,\n      get(font_is_google, inherits = FALSE) == 1,\n      envir = xaringanthemer_env\n    )\n  }\n\n  xaringanthemer_version <- utils::packageVersion(\"xaringanthemer\")\n\n  # prepare header background object\n  needs_leading_dot <- !grepl(\"^\\\\.\", header_background_ignore_classes)\n  header_background_ignore_classes[needs_leading_dot] <- paste0(\n    \".\",\n    header_background_ignore_classes[needs_leading_dot]\n  )\n  header_background_ignore_classes <- purrr::map(\n    header_background_ignore_classes,\n    ~ list(class = .)\n  )\n  if (is.null(header_background_padding)) {\n    slide_padding <- css_get_padding(padding)\n    header_background_padding <- paste(\n      \"2rem\", slide_padding$right, \"1.5rem\", slide_padding$left\n    )\n  }\n  header_background <- list(\n    auto = header_background_auto,\n    background_color = header_background_color,\n    text_color = header_background_text_color,\n    padding = header_background_padding,\n    content_padding_top = header_background_content_padding_top,\n    ignore = header_background_ignore_classes\n  )\n\n  colors <- prepare_colors(colors)\n\n  tf <- system.file(\"resources\", \"template.css\", package = \"xaringanthemer\")\n  template <- readLines(tf, warn = FALSE)\n  template <- paste(template, collapse = \"\\n\")\n  x <- whisker::whisker.render(template)\n  if (!is.null(extra_css)) {\n    x <- c(x, style_extra_css(extra_css, outfile = NULL))\n  }\n  if (is.null(outfile)) {\n    return(x)\n  }\n  writeLines(x, con = outfile)\n  invisible(outfile)\n}\n"
  },
  {
    "path": "R/utils.R",
    "content": "`%||%` <- function(x, y) if (is.null(x)) y else x\n\n`%??%` <- function(x, y) if (!is.null(x)) y else NULL\n\nrequires_package <- function(pkg = \"ggplot2\", fn = \"\", required = TRUE) {\n  raise <- if (required) stop else warning\n  if (!requireNamespace(pkg, quietly = TRUE)) {\n    msg <- paste0(\n      \"`\",\n      pkg,\n      \"` is \",\n      if (required) \"required \" else \"suggested \",\n      if (fn != \"\") paste0(\"by \", fn, \"() \")[1],\n      \"but is not installed.\"\n    )\n    raise(msg, call. = FALSE)\n    return(invisible(FALSE))\n  }\n  invisible(TRUE)\n}\n\n#' @keywords internal\ncall_style_xaringan <- function() {\n  paste0(\n    \"style_xaringan(\",\n    paste(names(formals(style_xaringan)), collapse = \", \"),\n    \")\"\n  )\n}\n\n#' Specify Google Font\n#'\n#' Builds Google Fonts URL from family name. Extra weights are given in the\n#' `...` parameters. Languages can be specified in `languages` and must one or\n#' more of the language codes as given by `google_language_codes()`.\n#'\n#' @examples\n#' google_font(\"Josefin Sans\", \"400\", \"400i\", \"600i\", \"700\")\n#' google_font(\"Josefin Sans\", languages = c(\"latin-ext\", \"vietnamese\"))\n#' @param family Font family\n#' @param ... Font weights to include, example \"400\", \"400i\"\n#' @param languages Font languages to include (dependent on the font.) See\n#'   [google_language_codes()].\n#' @return A `\"google_font\"` object.\n#' @export\ngoogle_font <- function(family, ..., languages = NULL) {\n  base <- \"https://fonts.googleapis.com/css?family=\"\n  weights <- if (length(list(...))) paste(c(...), collapse = \",\")\n  languages <- if (!is.null(languages)) paste(google_language_codes(languages), collapse = \",\")\n  structure(\n    list(\n      family = family,\n      weights = weights,\n      languages = languages,\n      url = paste0(\n        base,\n        gsub(\" \", \"+\", family),\n        if (!is.null(weights)) paste0(\":\", weights),\n        if (!is.null(languages)) paste0(\"&subset=\", languages),\n        \"&display=swap\"\n      )\n    ),\n    class = \"google_font\"\n  )\n}\n\nis_google_font <- function(x) inherits(x, \"google_font\")\n\n#' @title List Valid Google Language Codes\n#' @description Gives a list of valid Language Codes for Google Fonts, or\n#'   validates that the language codes given are valid.\n#' @seealso [google_font()]\n#' @param language_codes Vector of potential Google language codes\n#' @return A vector of Google Font language codes matching `language_codes`.\n#' @export\ngoogle_language_codes <- function(\n  language_codes = c(\n    \"latin\",\n    \"latin-ext\",\n    \"sinhala\",\n    \"greek\",\n    \"hebrew\",\n    \"vietnamese\",\n    \"cyrillic\",\n    \"cyrillic-ext\",\n    \"devanagari\",\n    \"arabic\",\n    \"khmer\",\n    \"tamil\",\n    \"greek-ext\",\n    \"thai\",\n    \"bengali\",\n    \"gujarati\",\n    \"oriya\",\n    \"malayalam\",\n    \"gurmukhi\",\n    \"kannada\",\n    \"telugu\",\n    \"myanmar\"\n  )) {\n  unique(match.arg(language_codes, several.ok = TRUE))\n}\n\n#' @export\nprint.google_font <- function(x, ...) {\n  cat(\n    \"Family: \",\n    x$family,\n    if (!is.null(x$weights)) paste(\"\\nWeights:\", x$weights),\n    if (!is.null(x$languages)) paste(\"\\nLangs:  \", x$languages),\n    \"\\nURL:    \",\n    x$url\n  )\n}\n\nquote_elements_w_spaces <- function(x) {\n  x <- strsplit(x, \", ?\")[[1]]\n  has_space <- grepl(\"\\\\w \\\\w\", x)\n  not_quoted <- grepl(\"^\\\\w.+\\\\w$\", x)\n  x[has_space & not_quoted] <- paste0(\"'\", x[has_space & not_quoted], \"'\")\n  paste(x, collapse = \", \")\n}\n\nstr_wrap <- function(...) {\n  paste(strwrap(paste0(...)), collapse = \"\\n\")\n}\n"
  },
  {
    "path": "R/utils_theme-gen.R",
    "content": "# nocov start\n# Theme Generating Helpers ----------------------------------------------\n\nplural_element <- function(css_name) {\n  is_mult <- grepl(\",|and|or\", css_name)\n  is_class <- grepl(\"^\\\\.\", css_name)\n  ifelse(is_class,\n    ifelse(is_mult, \"classes\", \"class\"),\n    ifelse(is_mult, \"elements\", \"element\")\n  )\n}\n\nelement_description <- function(element) {\n  out <- rep(\"\", length(element))\n  multiple <- grepl(\"multiple\", element)\n  out[multiple] <- \"Used in multiple CSS rules.\"\n\n  ifelse(\n    multiple | is.na(element) | element == \"\",\n    out,\n    glue::glue(\"Modifies the `{element}` {plural_element(element)}.\")\n  )\n}\n\ndescribe_css_variable <- function(css_variable = NULL) {\n  if (is.null(css_variable)) return(\"\")\n  ifelse(\n    is.na(css_variable),\n    \"\",\n    glue::glue(\n      \" The value of this variable is also stored as a CSS variable that can be \",\n      \"referenced with `var({css_variable})` in any argument of a style \",\n      \"function or in custom CSS.\"\n    )\n  )\n}\n\ndescribe_css_property <- function(css_property = NULL) {\n  if (is.null(css_property)) return(\"\")\n  ifelse(\n    is.na(css_property),\n    \"\",\n    glue::glue(\" Accepts CSS {css_property} property values.\")\n  )\n}\n\n# nocov end\n"
  },
  {
    "path": "R/xaringanthemer-deprecated.R",
    "content": "#' Deprecated or renamed functions\n#'\n#' These functions in xaringanthemer have been deprecated or renamed.\n#'\n#' @param ... Argumets passed to the new or renamed functions.\n#' @return The result of the new or renamed function.\n#' @name xaringanthemer-deprecated\nNULL\n\n#' @description\n#' Use [style_xaringan()] instead of `write_xaringan_theme()`.\n#'\n#' @export\n#' @keywords internal\n#' @rdname xaringanthemer-deprecated\nwrite_xaringan_theme <- function(...) {\n  .Deprecated(msg = \"write_xaringan_theme() was renamed. Please use `style_xaringan()` instead.\")\n  style_xaringan(...)\n}\n\n#' @description\n#' Use [style_extra_css()] instead of `write_extra_css()`.\n#'\n#' @export\n#' @keywords internal\n#' @rdname xaringanthemer-deprecated\nwrite_extra_css <- function(...) {\n  .Deprecated(msg = \"write_extra_css() was renamed. Please use `style_extra_css()` instead.\")\n  style_extra_css(...)\n}\n\n\n#' @description\n#' Use [style_mono_light()] instead of `mono_light()`.\n#'\n#' @export\n#' @keywords internal\n#' @rdname xaringanthemer-deprecated\nmono_light <- function(...) {\n  .Deprecated(msg = \"mono_light() was renamed. Please use `style_mono_light()` instead.\")\n  style_mono_light(...)\n}\n\n#' @description\n#' Use [style_mono_dark()] instead of `mono_dark()`.\n#'\n#' @export\n#' @keywords internal\n#' @rdname xaringanthemer-deprecated\nmono_dark <- function(...) {\n  .Deprecated(msg = \"mono_dark() was renamed. Please use `style_mono_dark()` instead.\")\n  style_mono_dark(...)\n}\n\n#' @description\n#' Use [style_mono_accent()] instead of `mono_accent()`.\n#'\n#' @export\n#' @keywords internal\n#' @rdname xaringanthemer-deprecated\nmono_accent <- function(...) {\n  .Deprecated(msg = \"mono_accent() was renamed. Please use `style_mono_accent()` instead.\")\n  style_mono_accent(...)\n}\n\n#' @description\n#' Use [style_mono_accent_inverse()] instead of `mono_accent_inverse()`.\n#'\n#' @export\n#' @keywords internal\n#' @rdname xaringanthemer-deprecated\nmono_accent_inverse <- function(...) {\n  .Deprecated(msg = \"mono_accent_inverse() was renamed. Please use `style_mono_accent_inverse()` instead.\")\n  style_mono_accent_inverse(...)\n}\n\n#' @description\n#' Use [style_duo()] instead of `duo()`.\n#'\n#' @export\n#' @keywords internal\n#' @rdname xaringanthemer-deprecated\nduo <- function(...) {\n  .Deprecated(msg = \"duo() was renamed. Please use `style_duo()` instead.\")\n  style_duo(...)\n}\n\n#' @description\n#' Use [style_duo_accent()] instead of `duo_accent()`.\n#'\n#' @export\n#' @keywords internal\n#' @rdname xaringanthemer-deprecated\nduo_accent <- function(...) {\n  .Deprecated(msg = \"duo_accent() was renamed. Please use `style_duo_accent()` instead.\")\n  style_duo_accent(...)\n}\n\n#' @description\n#' Use [style_duo_accent_inverse()] instead of `duo_accent_inverse()`.\n#'\n#' @export\n#' @keywords internal\n#' @rdname xaringanthemer-deprecated\nduo_accent_inverse <- function(...) {\n  .Deprecated(msg = \"duo_accent_inverse() was renamed. Please use `style_duo_accent_inverse()` instead.\")\n  style_duo_accent_inverse(...)\n}\n\n#' @description\n#' Use [style_solarized_light()] instead of `solarized_light()`.\n#'\n#' @export\n#' @keywords internal\n#' @rdname xaringanthemer-deprecated\nsolarized_light <- function(...) {\n  .Deprecated(msg = \"solarized_light() was renamed. Please use `style_solarized_light()` instead.\")\n  style_solarized_light(...)\n}\n\n#' @description\n#' Use [style_solarized_dark()] instead of `solarized_dark()`.\n#'\n#' @export\n#' @keywords internal\n#' @rdname xaringanthemer-deprecated\nsolarized_dark <- function(...) {\n  .Deprecated(msg = \"solarized_dark() was renamed. Please use `style_solarized_dark()` instead.\")\n  style_solarized_dark(...)\n}\n"
  },
  {
    "path": "R/xaringanthemer-package.R",
    "content": "#' @importFrom grDevices col2rgb rgb rgb2hsv hsv\n#' @keywords internal\n\"_PACKAGE\"\n\nxaringanthemer_env <- new.env(parent = emptyenv())\n\n# I looked up these ggplot geom aesthetic defaults manually via e.g.\n# ggplot2::geom_line()$geom$default_aes\nxaringanthemer_env$std_ggplot_defaults <- list(\n  \"line\"       = list(colour  = \"black\"),\n  \"vline\"      = list(colour  = \"black\"),\n  \"hline\"      = list(colour  = \"black\"),\n  \"abline\"     = list(colour  = \"black\"),\n  \"segment\"    = list(colour  = \"black\"),\n  \"bar\"        = list(fill   = \"grey35\"),\n  \"col\"        = list(fill   = \"grey35\"),\n  \"boxplot\"    = list(colour  = \"grey20\", fill = \"white\"),\n  \"contour\"    = list(colour  = \"#3366FF\"),\n  \"density\"    = list(colour  = \"black\",\n    fill   = NA,\n    alpha  = NA),\n  \"dotplot\"    = list(colour  = \"black\"),\n  \"errorbarh\"  = list(colour  = \"black\"),\n  \"crossbar\"   = list(colour  = \"black\"),\n  \"errorbar\"   = list(colour  = \"black\"),\n  \"linerange\"  = list(colour  = \"black\"),\n  \"pointrange\" = list(colour  = \"black\"),\n  \"map\"        = list(colour  = \"black\"),\n  \"path\"       = list(colour  = \"black\"),\n  \"line\"       = list(colour  = \"black\"),\n  \"step\"       = list(colour  = \"black\"),\n  \"point\"      = list(colour  = \"black\"),\n  \"polygon\"    = list(colour  = NA,\n    fill   = \"grey20\"),\n  \"quantile\"   = list(colour  = \"#3366FF\"),\n  \"rug\"        = list(colour  = \"black\"),\n  \"segment\"    = list(colour  = \"black\"),\n  \"smooth\"     = list(fill   = \"grey60\",\n    colour  = \"#3366FF\"),\n  \"spoke\"      = list(colour  = \"black\"),\n  \"label\"      = list(colour  = \"black\",\n    family = \"\"),\n  \"text\"       = list(colour  = \"black\",\n    family = \"\"),\n  \"rect\"       = list(fill   = \"grey35\"),\n  \"tile\"       = list(fill   = \"grey20\"),\n  \"violin\"     = list(fill   = \"white\", colour = \"grey20\")\n)\n"
  },
  {
    "path": "R/zzz.R",
    "content": "# nocov start\n.onLoad <- function(libname, pkgname, ...) {\n\n  if (\"knitr\" %in% loadedNamespaces()) {\n    set_fig_showtext()\n  }\n\n  setHook(\n    packageEvent(\"knitr\", \"onLoad\"),\n    function(...) {\n      set_fig_showtext()\n    }\n  )\n\n  invisible()\n}\n# nocov end\n"
  },
  {
    "path": "README.Rmd",
    "content": "---\noutput: github_document\n---\n\n<!-- README.md is generated from README.Rmd. Please edit that file -->\n\n```{r setup, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  results = \"asis\",\n  echo = FALSE,\n  comment = \"#>\",\n  fig.path = \"man/figures/index-\",\n  out.width = \"100%\"\n)\nIS_README <- TRUE\nlibrary(xaringanthemer)\n```\n\n# xaringanthemer <img src=\"man/figures/logo.png\" align=\"right\" height=\"175px\" />\n\n<!-- badges: start -->\n[![CRAN status](https://www.r-pkg.org/badges/version/xaringanthemer)](https://CRAN.R-project.org/package=xaringanthemer)\n[![xaringanthemer status badge](https://gadenbuie.r-universe.dev/badges/xaringanthemer)](https://gadenbuie.r-universe.dev)\n[![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html)\n[![R-CMD-Check status badge](https://github.com/gadenbuie/xaringanthemer/workflows/R-CMD-check/badge.svg?branch=main)](https://github.com/gadenbuie/xaringanthemer/actions)\n[![Codecov](https://img.shields.io/codecov/c/github/gadenbuie/xaringanthemer)](https://app.codecov.io/github/gadenbuie/xaringanthemer)\n<!-- badges: end -->\n\n```{r child=\"man/fragments/_tagline-gif.Rmd\"}\n```\n\n## Installation\n\n```{r child=\"man/fragments/_installation.Rmd\"}\n```\n\n## Features\n\nThere's a lot more that **xaringanthemer** can do!\n[Discover xaringanthemer's features.](https://pkg.garrickadenbuie.com/xaringanthemer/articles/xaringanthemer.html)\n"
  },
  {
    "path": "README.md",
    "content": "\n<!-- README.md is generated from README.Rmd. Please edit that file -->\n\n# xaringanthemer <img src=\"man/figures/logo.png\" align=\"right\" height=\"175px\" />\n\n<!-- badges: start -->\n\n[![CRAN\nstatus](https://www.r-pkg.org/badges/version/xaringanthemer)](https://CRAN.R-project.org/package=xaringanthemer)\n[![xaringanthemer status\nbadge](https://gadenbuie.r-universe.dev/badges/xaringanthemer)](https://gadenbuie.r-universe.dev)\n[![Lifecycle:\nstable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html)\n[![R-CMD-Check status\nbadge](https://github.com/gadenbuie/xaringanthemer/workflows/R-CMD-check/badge.svg?branch=main)](https://github.com/gadenbuie/xaringanthemer/actions)\n[![Codecov](https://img.shields.io/codecov/c/github/gadenbuie/xaringanthemer)](https://app.codecov.io/github/gadenbuie/xaringanthemer)\n<!-- badges: end -->\n\nGive your [xaringan](https://github.com/yihui/xaringan) slides some\nstyle with **xaringanthemer** within your `slides.Rmd` file without\n(much) CSS.\n\n<img src=\"https://raw.githubusercontent.com/gadenbuie/xaringanthemer/assets/examples.gif\" alt=\"Animation previewing many xaringanthemer themes\" />\n\n## Installation\n\nYou can install **xaringanthemer** from CRAN\n\n``` r\ninstall.packages(\"xaringanthemer\")\n```\n\nor you can install the development version of xaringanthemer from\n[GitHub](https://github.com/gadenbuie/xaringanthemer).\n\n``` r\n# install.packages(\"remotes\")\nremotes::install_github(\"gadenbuie/xaringanthemer\")\n```\n\n## Features\n\nThere’s a lot more that **xaringanthemer** can do! [Discover\nxaringanthemer’s\nfeatures.](https://pkg.garrickadenbuie.com/xaringanthemer/articles/xaringanthemer.html)\n"
  },
  {
    "path": "cran-comments.md",
    "content": "## R CMD check results\n\n0 errors | 0 warnings | 0 note\n\nThis is a minor maintenance release to address changes in ggplot2.\n"
  },
  {
    "path": "data-raw/theme_template_variables.R",
    "content": "#nocov start\ntemplate_variables <- tibble::tribble(\n  ~ variable, ~ default, ~ element, ~ description, ~ css_variable\n  , \"text_color\", \"#000\", \"body\", \"Text Color\", \"--text_color\"\n  , \"header_color\", \"#000\", \"h1, h2, h3\", \"Header Color\", \"--header-color\"\n  , \"background_color\", \"#FFF\", \".remark-slide-content\", \"Slide Background Color\", \"--background-color\"\n  , \"link_color\", \"rgb(249, 38, 114)\", \"a, a > code\", \"Link Color\", \"--link-color\"\n  , \"text_bold_color\", \"{NULL}\", \"strong\", \"Bold Text Color\", \"--text-bold-color\"\n  , \"text_slide_number_color\", \"{inverse_background_color}\", \".remark-slide-number\", \"Slide Number Color\", NA_character_\n  , \"padding\", \"16px 64px 16px 64px\", \".remark-slide-content\", \"Slide Padding in `top right [bottom left]` format\", NA_character_\n  , \"background_image\", \"{NULL}\", \".remark-slide-content\", \"Background image applied to each *and every* slide. Set `title_slide_background_image = \\\"none\\\"` to remove the background image from the title slide\", NA_character_\n  , \"background_size\", \"{NULL}\", \".remark-slide-content\", \"Background image size, requires `background_image` to be set. If `background_image` is set, `background_size` will default to `cover` so the background fills the screen. If both `background_image` and `background_position` are set, will default to 100 percent\", NA_character_\n  , \"background_position\", \"{NULL}\", \".remark-slide-content\", \"Background image position, requires `background_image` to be set, and it is recommended to adjust `background_size`\", NA_character_\n  , \"code_highlight_color\", \"rgba(255,255,0,0.5)\", \".remark-code-line-highlighted\", \"Code Line Highlight\", \"--code-highlight-color\"\n  , \"code_inline_color\", \"#000\", \".remark-inline-code\", \"Inline Code Color\", NA_character_\n  , \"code_inline_background_color\", \"{NULL}\", \".remark-inline-code\", \"Inline Code Background Color\", NA_character_\n  , \"code_inline_font_size\", \"1em\", \".remark-inline-code\", \"Inline Code Text Font Size\", \"--code-inline-font-size\"\n  , \"inverse_background_color\", \"#272822\", \".inverse\", \"Inverse Background Color\", \"--inverse-background-color\"\n  , \"inverse_text_color\", \"#d6d6d6\", \".inverse\", \"Inverse Text Color\", \"--inverse-text-color\"\n  , \"inverse_text_shadow\", \"{FALSE}\", \".inverse\", \"Enables Shadow on text of inverse slides\", NA_character_\n  , \"inverse_header_color\", \"#f3f3f3\", \".inverse h1, .inverse h2, .inverse h3\", \"Inverse Header Color\", \"--inverse-header-color\"\n  , \"inverse_link_color\", \"{link_color}\", \".inverse a, .inverse a > code\", \"Inverse Link Color\", \"--inverse-link-color\"\n  , \"title_slide_text_color\", \"{inverse_text_color}\", \".title-slide\", \"Title Slide Text Color\", \"--title-slide-text-color\"\n  , \"title_slide_background_color\", \"{inverse_background_color}\", \".title-slide\", \"Title Slide Background Color\", \"--title-slide-background-color\"\n  , \"title_slide_background_image\", \"{NULL}\", \".title-slide\", \"Title Slide Background Image URL\", NA_character_\n  , \"title_slide_background_size\", \"{NULL}\", \".title-slide\", \"Title Slide Background Image Size, defaults to \\\"cover\\\" if background image is set\", NA_character_\n  , \"title_slide_background_position\", \"{NULL}\", \".title-slide\", \"Title Slide Background Image Position\", NA_character_\n  , \"footnote_color\", \"{NULL}\", \".footnote\", \"Footnote text color (if `NA`, then it will be the same color as `text_color`)\", NA_character_\n  , \"footnote_font_size\", \"0.9em\", \".footnote\", \"Footnote font size\", NA_character_\n  , \"footnote_position_bottom\", \"60px\", \".footnote\", \"Footnote location from bottom of screen\", NA_character_\n  , \"left_column_subtle_color\", \"#777\", \".left-column h2, .left-column h3\", \"Left Column Text (not last)\", NA_character_\n  , \"left_column_selected_color\", \"#000\", \".left-column h2:last-of-type, .left-column h3:last-child\", \"Left Column Current Selection\", NA_character_\n  , \"blockquote_left_border_color\", \"lightgray\", \"blockquote\", \"Blockquote Left Border Color\", NA_character_\n  , \"table_border_color\", \"#666\", \"table: border-top, border-bottom\", \"Table top/bottom border\", NA_character_\n  , \"table_row_border_color\", \"#ddd\", \"table thead th: border-bottom\", \"Table row inner bottom border\", NA_character_\n  , \"table_row_even_background_color\", \"#eee\", \"thead, tfoot, tr:nth-child(even)\", \"Table Even Row Background Color\", NA_character_\n  , \"base_font_size\", \"20px\", \"html\", \"Base Font Size for All Slide Elements (must be `px`)\", \"--base-font-size\"\n  , \"text_font_size\", \"1rem\", \".remark-slide-content\", \"Slide Body Text Font Size\", \"--text-font-size\"\n  , \"header_h1_font_size\", \"2.75rem\", \".remark-slide-content h1\", \"h1 Header Text Font Size\", \"--header-h1-font-size\"\n  , \"header_h2_font_size\", \"2.25rem\", \".remark-slide-content h2\", \"h2 Header Text Font Size\", \"--header-h2-font-size\"\n  , \"header_h3_font_size\", \"1.75rem\", \".remark-slide-content h3\", \"h3 Header Text Font Size\", \"--header-h3-font-size\"\n  , \"header_background_auto\", \"{FALSE}\", \"\", \"Add background under slide title automatically for h1 header elements. If not enabled, use `class: header_background` to enable\", NA_character_\n  , \"header_background_color\", \"{header_color}\", \".remark-slide-content h1\", \"Background Color for h1 Header with Background\", \"--header-background-color\"\n  , \"header_background_text_color\", \"{background_color}\", \".remark-slide-content h1\", \"Text Color for h1 Header with Background\", \"--header-background-text-color\"\n  , \"header_background_padding\", \"{NULL}\", \".remark-slide-content h1\", \"Padding for h1 Header with Background\", NA_character_\n  , \"header_background_content_padding_top\", \"7rem\", \".remark-slide-content\", \"Top Padding for Content in Slide with Header with Background\", NA_character_\n  , \"header_background_ignore_classes\", \"{c('normal', 'inverse', 'title', 'middle', 'bottom')}\", \".remark-slide-content\", \"Slide Classes Where Header with Background will not be Applied\", NA_character_\n  , \"text_slide_number_font_size\", \"0.9rem\", \".remark-slide-number\", \"Slide Number Text Font Size\", NA_character_\n  , \"text_font_google\", \"{NULL}\", \"body\", \"Use `google_font()` to specify body font\", NA_character_\n  , \"text_font_family\", '{xaringanthemer_font_default(\"text_font_family\")}', \"body\", \"Body Text Font Family (xaringan default is `'Droid Serif'`)\", \"--text-font-family\"\n  , \"text_font_weight\", '{xaringanthemer_font_default(\"text_font_weight\")}', \"body\", \"Body Text Font Weight\", NA_character_\n  , \"text_bold_font_weight\", 'bold', \"strong\", \"Body Bold Text Font Weight\", NA_character_\n  , \"text_font_url\", '{xaringanthemer_font_default(\"text_font_url\")}', \"@import url()\", \"Body Text Font URL(s)\", NA_character_\n  , \"text_font_family_fallback\", '{xaringanthemer_font_default(\"text_font_family_fallback\")}', \"body\", \"Body Text Font Fallbacks\", \"--text-font-family-fallback\"\n  , \"text_font_base\", \"sans-serif\", \"body\", \"Body Text Base Font (Total Failure Fallback)\", \"--text-font-base\"\n  , \"header_font_google\", \"{NULL}\", \"body\", \"Use `google_font()` to specify header font\", NA_character_\n  , \"header_font_family\", '{xaringanthemer_font_default(\"header_font_family\")}', \"h1, h2, h3\", \"Header Font Family (xaringan default is `'Yanone Kaffeesatz'`)\", \"--header-font-family\"\n  , \"header_font_weight\", '{xaringanthemer_font_default(\"header_font_weight\")}', \"h1, h2, h3\", \"Header Font Weight\", NA_character_\n  , \"header_font_family_fallback\", 'Georgia, serif', \"h1, h2, h3\", \"Header Font Family Fallback\", \"--header-font-family-fallback\"\n  , \"header_font_url\", '{xaringanthemer_font_default(\"header_font_url\")}', \"@import url\", \"Header Font URL\", NA_character_\n  , \"code_font_google\", \"{NULL}\", \"body\", \"Use `google_font()` to specify code font\", NA_character_\n  , \"code_font_family\", '{xaringanthemer_font_default(\"code_font_family\")}', \".remark-code, .remark-inline-code\", \"Code Font Family\", \"--code-font-family\"\n  , \"code_font_size\", \"0.9rem\", \".remark-inline\", \"Code Text Font Size\", \"--code-font-size\"\n  , \"code_font_url\", '{xaringanthemer_font_default(\"code_font_url\")}', \"@import url\", \"Code Font URL\", NA_character_\n  , \"code_font_family_fallback\", '{xaringanthemer_font_default(\"code_font_family_fallback\")}', \".remark-code, .remark-inline-code\", \"Code Font Fallback\", NA_character_\n  , \"link_decoration\", \"none\", \"a, a > code\", \"Text decoration of links\", NA_character_\n)\n\nset_default <- function(tv, ..., set_var = \"default\") {\n  vars <- c(...)\n  for (var in names(vars)) {\n    tv[tv$variable == var, set_var] <- vars[var]\n  }\n  tv\n}\n\ntemplate_variables$css_property <- NA_character_\nmdn_font_size <- \"[font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size)\"\nmdn_font_weight <- \"[font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)\"\nmdn_background_size <- \"[background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size)\"\nmdn_background_position <- \"[background-position](https://developer.mozilla.org/en-US/docs/Web/CSS/background-position)\"\nmdn_padding <- \"[padding](https://developer.mozilla.org/en-US/docs/Web/CSS/padding)\"\n\ntemplate_variables <- set_default(\n  template_variables,\n  set_var = \"css_property\",\n  padding = mdn_padding,\n  background_size = mdn_background_size,\n  background_position = mdn_background_position,\n  code_inline_font_size = mdn_font_size,\n  title_slide_background_position = mdn_background_position,\n  title_slide_background_size = mdn_background_size,\n  footnote_font_size = mdn_font_size,\n  footnote_position_bottom = \"[position](https://developer.mozilla.org/en-US/docs/Web/CSS/position_value)\",\n  text_font_size = mdn_font_size,\n  header_h1_font_size = mdn_font_size,\n  header_h2_font_size = mdn_font_size,\n  header_h3_font_size = mdn_font_size,\n  header_background_padding = mdn_padding,\n  text_slide_number_font_size = mdn_font_size,\n  text_font_weight = mdn_font_weight,\n  header_font_weight = mdn_font_weight,\n  code_font_size = mdn_font_size,\n  link_decoration = \"[text-decoration](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration)\"\n)\n\ntemplate_mono_light <- tibble::tribble(\n  ~ variable, ~ default, ~ element, ~ description, ~ css_variable\n  , \"base_color\", \"#23395b\", \"multiple\", \"Monotone base color, works best with a strong color\", \"--base\"\n  , \"white_color\", \"{lighten_color(base_color, 0.9)}\", \"multiple\", \"Brightest color used, default is a very light version of `base_color`\", \"--white\"\n  , \"black_color\", \"{darken_color(base_color, 0.3)}\", \"multiple\", \"Darkest color used, default is a very dark, version of `base_color`\", \"--black\"\n)\ntemplate_mono_light <- dplyr::bind_rows(template_mono_light, template_variables)\ntemplate_mono_light <- set_default(\n  template_mono_light,\n  text_color                      = \"{black_color}\",\n  header_color                    = \"{base_color}\",\n  background_color                = \"{white_color}\",\n  link_color                      = \"{base_color}\",\n  text_bold_color                 = \"{base_color}\",\n  text_slide_number_color         = \"{base_color}\",\n  code_inline_color               = \"{base_color}\",\n  inverse_background_color        = \"{base_color}\",\n  inverse_text_color              = \"{white_color}\",\n  inverse_header_color            = \"{inverse_text_color}\",\n  left_column_subtle_color        = \"{apply_alpha(base_color, 0.6)}\",\n  left_column_selected_color      = \"{base_color}\",\n  blockquote_left_border_color    = \"{apply_alpha(base_color, 0.5)}\",\n  table_row_even_background_color = \"{lighten_color(base_color, 0.8)}\")\n\ntemplate_mono_dark <- tibble::tribble(\n  ~ variable, ~ default, ~ element, ~ description, ~ css_variable\n  , \"base_color\", \"#cbf7ed\", \"multiple\", \"Monotone Base Color, works best with a light color.\", \"--base\"\n  , \"white_color\", \"{lighten_color(base_color, 0.8)}\", \"multiple\", \"Brightest color used, default is a very light version of `base_color`\", \"--white\"\n  , \"black_color\", \"{darken_color(base_color, 0.85)}\", \"multiple\", \"Darkest color used, default is a very dark, version of `base_color`\", \"--black\"\n)\ntemplate_mono_dark <- dplyr::bind_rows(template_mono_dark, template_variables)\ntemplate_mono_dark <- set_default(\n  template_mono_dark,\n  text_color                      = \"{white_color}\",\n  header_color                    = \"{base_color}\",\n  background_color                = \"{black_color}\",\n  link_color                      = \"{base_color}\",\n  text_bold_color                 = \"{base_color}\",\n  text_slide_number_color         = \"{base_color}\",\n  code_inline_color               = \"{base_color}\",\n  inverse_background_color        = \"{base_color}\",\n  inverse_text_color              = \"{black_color}\",\n  inverse_header_color            = \"{inverse_text_color}\",\n  left_column_subtle_color        = \"{apply_alpha(base_color, 0.6)}\",\n  left_column_selected_color      = \"{base_color}\",\n  blockquote_left_border_color    = \"{apply_alpha(base_color, 0.5)}\",\n  table_row_even_background_color = \"{darken_color(base_color, 0.7)}\")\n\ntemplate_mono_accent <- tibble::tribble(\n  ~ variable, ~ default, ~ element, ~ description, ~ css_variable\n  , \"base_color\", \"#43418A\", \"multiple\", \"Monotone Base Color, works best with a strong color\", \"--base\"\n  , \"white_color\", \"#FFFFFF\", \"multiple\", \"Brightest color used\", \"--white\"\n  , \"black_color\", \"#272822\", \"multiple\", \"Darkest color used\", \"--black\"\n)\ntemplate_mono_accent <- dplyr::bind_rows(template_mono_accent, template_variables)\ntemplate_mono_accent <- set_default(\n  template_mono_accent,\n  text_color                      = \"{black_color}\",\n  header_color                    = \"{base_color}\",\n  background_color                = \"{white_color}\",\n  link_color                      = \"{base_color}\",\n  text_bold_color                 = \"{base_color}\",\n  text_slide_number_color         = \"{base_color}\",\n  code_inline_color               = \"{base_color}\",\n  inverse_background_color        = \"{base_color}\",\n  inverse_text_color              = \"{white_color}\",\n  inverse_header_color            = \"{inverse_text_color}\",\n  left_column_subtle_color        = \"{apply_alpha(base_color, 0.6)}\",\n  left_column_selected_color      = \"{base_color}\",\n  blockquote_left_border_color    = \"{apply_alpha(base_color, 0.5)}\",\n  table_row_even_background_color = \"{lighten_color(base_color, 0.8)}\")\n\ntemplate_mono_accent_inverse <- tibble::tribble(\n  ~ variable, ~ default, ~ element, ~ description, ~ css_variable\n  , \"base_color\", \"#3C989E\", \"multiple\", \"Monotone Base Color, works best with a light color\", \"--base\"\n  , \"white_color\", \"#FFFFFF\", \"multiple\", \"Brightest color used, default is a very light version of `base_color`\", \"--white\"\n  , \"black_color\", \"{darken_color(base_color, 0.9)}\", \"multiple\", \"Darkest color used, default is a very dark, version of `base_color`\", \"--black\"\n)\ntemplate_mono_accent_inverse <- dplyr::bind_rows(template_mono_accent_inverse, template_variables)\ntemplate_mono_accent_inverse <- set_default(\n  template_mono_accent_inverse,\n  text_color                      = \"{white_color}\",\n  header_color                    = \"{base_color}\",\n  background_color                = \"{black_color}\",\n  link_color                      = \"{base_color}\",\n  text_bold_color                 = \"{base_color}\",\n  text_slide_number_color         = \"{base_color}\",\n  code_inline_color               = \"{base_color}\",\n  inverse_background_color        = \"{base_color}\",\n  inverse_text_color              = \"{black_color}\",\n  inverse_header_color            = \"{inverse_text_color}\",\n  left_column_subtle_color        = \"{apply_alpha(base_color, 0.6)}\",\n  left_column_selected_color      = \"{base_color}\",\n  blockquote_left_border_color    = \"{apply_alpha(base_color, 0.5)}\",\n  table_row_even_background_color = \"{darken_color(base_color, 0.8)}\")\n\ntemplate_duo_light <- tibble::tribble(\n  ~ variable, ~ default, ~ element, ~ description, ~ css_variable\n  , \"primary_color\", \"#1F4257\", \"multiple\", \"Duotone Secondary Color\", \"--primary\"\n  , \"secondary_color\", \"#F97B64\", \"multiple\", \"Duotone Primary Color\", \"--secondary\"\n  , \"white_color\", \"{lighten_color(primary_color, 0.99)}\", \"multiple\", \"Brightest color used, default is a very light version of `primary_color`\", \"--white\"\n  , \"black_color\", \"{darken_color(secondary_color, 0.9)}\", \"multiple\", \"Darkest color used, default is a very dark version of `secondary_color`\", \"--black\"\n)\ntemplate_duo_light <- dplyr::bind_rows(template_duo_light, template_variables)\ntemplate_duo_light <- set_default(\n  template_duo_light,\n  text_color                      = \"{black_color}\",\n  header_color                    = \"{primary_color}\",\n  background_color                = \"{white_color}\",\n  link_color                      = \"{secondary_color}\",\n  text_bold_color                 = \"{secondary_color}\",\n  text_slide_number_color         = \"{primary_color}\",\n  code_inline_color               = \"{secondary_color}\",\n  inverse_background_color        = \"{primary_color}\",\n  inverse_text_color              = \"{secondary_color}\",\n  inverse_header_color            = \"{inverse_text_color}\",\n  left_column_subtle_color        = \"{apply_alpha(secondary_color, 0.6)}\",\n  left_column_selected_color      = \"{secondary_color}\",\n  blockquote_left_border_color    = \"{apply_alpha(secondary_color, 0.5)}\",\n  table_row_even_background_color = \"{lighten_color(secondary_color, 0.9)}\")\n\ntemplate_duo <- tibble::tribble(\n  ~ variable, ~ default, ~ element, ~ description, ~ css_variable\n  , \"primary_color\", \"#1F4257\", \"multiple\", \"Duotone Primary Color\", \"--primary\"\n  , \"secondary_color\", \"#F97B64\", \"multiple\", \"Duotone Secondary Color\", \"--secondary\"\n)\ntemplate_duo <- dplyr::bind_rows(template_duo, template_variables)\ntemplate_duo <- set_default(\n  template_duo,\n  text_color                      = \"{choose_dark_or_light(primary_color, darken_color(primary_color, 0.9), lighten_color(secondary_color, 0.99))}\",\n  header_color                    = \"{secondary_color}\",\n  background_color                = \"{primary_color}\",\n  link_color                      = \"{secondary_color}\",\n  text_bold_color                 = \"{secondary_color}\",\n  text_slide_number_color         = \"{text_color}\",\n  code_inline_color               = \"{secondary_color}\",\n  inverse_background_color        = \"{secondary_color}\",\n  inverse_text_color              = \"{primary_color}\",\n  inverse_header_color            = \"{inverse_text_color}\",\n  title_slide_text_color          = \"{secondary_color}\",\n  title_slide_background_color    = \"{primary_color}\",\n  left_column_subtle_color        = \"{apply_alpha(secondary_color, 0.6)}\",\n  left_column_selected_color      = \"{secondary_color}\",\n  blockquote_left_border_color    = \"{apply_alpha(secondary_color, 0.5)}\",\n  table_row_even_background_color = \"{lighten_color(primary_color, 0.9)}\")\n\ntemplate_duo_accent <- tibble::tribble(\n  ~ variable, ~ default, ~ element, ~ description, ~ css_variable\n  , \"primary_color\", \"#035AA6\", \"multiple\", \"Duotone Primary Color\", \"--primary\"\n  , \"secondary_color\", \"#03A696\", \"multiple\", \"Duotone Secondary Color\", \"--secondary\"\n  , \"white_color\", \"#FFFFFF\", \"multiple\", \"Brightest color used\", \"--white\"\n  , \"black_color\", \"#000000\", \"multiple\", \"Darkest color used\", \"--black\"\n)\ntemplate_duo_accent <- dplyr::bind_rows(template_duo_accent, template_variables)\ntemplate_duo_accent <- set_default(\n  template_duo_accent,\n  text_color                      = \"{black_color}\",\n  header_color                    = \"{primary_color}\",\n  background_color                = \"{white_color}\",\n  link_color                      = \"{choose_dark_or_light(secondary_color, primary_color, secondary_color)}\",\n  text_bold_color                 = \"{choose_dark_or_light(secondary_color, primary_color, secondary_color)}\",\n  text_slide_number_color         = \"{primary_color}\",\n  code_inline_color               = \"{choose_dark_or_light(secondary_color, primary_color, secondary_color)}\",\n  inverse_background_color        = \"{secondary_color}\",\n  inverse_text_color              = \"{choose_dark_or_light(secondary_color, black_color, white_color)}\",\n  inverse_header_color            = \"{inverse_text_color}\",\n  title_slide_background_color    = \"{primary_color}\",\n  title_slide_text_color          = \"{choose_dark_or_light(primary_color, black_color, white_color)}\",\n  left_column_subtle_color        = \"{apply_alpha(primary_color, 0.6)}\",\n  left_column_selected_color      = \"{primary_color}\",\n  blockquote_left_border_color    = \"{apply_alpha(secondary_color, 0.5)}\",\n  table_row_even_background_color = \"{lighten_color(secondary_color, 0.8)}\")\n\ntemplate_duo_accent_inverse <- set_default(\n  template_duo_accent,\n  text_color                      = \"{white_color}\",\n  header_color                    = \"{primary_color}\",\n  background_color                = \"{black_color}\",\n  link_color                      = \"{choose_dark_or_light(secondary_color, secondary_color, primary_color)}\",\n  text_bold_color                 = \"{choose_dark_or_light(secondary_color, secondary_color, primary_color)}\",\n  text_slide_number_color         = \"{primary_color}\",\n  code_inline_color               = \"{choose_dark_or_light(secondary_color, secondary_color, primary_color)}\",\n  inverse_background_color        = \"{secondary_color}\",\n  inverse_text_color              = \"{choose_dark_or_light(secondary_color, black_color, white_color)}\",\n  inverse_header_color            = \"{inverse_text_color}\",\n  title_slide_background_color    = \"{primary_color}\",\n  title_slide_text_color          = \"{choose_dark_or_light(primary_color, black_color, white_color)}\",\n  left_column_subtle_color        = \"{apply_alpha(primary_color, 0.6)}\",\n  left_column_selected_color      = \"{primary_color}\",\n  blockquote_left_border_color    = \"{apply_alpha(secondary_color, 0.5)}\",\n  table_row_even_background_color = \"{darken_color(choose_dark_or_light(primary_color, secondary_color, primary_color), 0.2)}\")\n\nsolarized <- list(\n  \"base03\"  = \"#002b36\",\n  \"base02\"  = \"#073642\",\n  \"base01\"  = \"#586e75\",\n  \"base00\"  = \"#657b83\",\n  \"base0\"   = \"#839496\",\n  \"base1\"   = \"#93a1a1\",\n  \"base2\"   = \"#eee8d5\",\n  \"base3\"   = \"#fdf6e3\",\n  \"yellow\"  = \"#b58900\",\n  \"orange\"  = \"#cb4b16\",\n  \"red\"     = \"#dc322f\",\n  \"magenta\" = \"#d33682\",\n  \"violet\"  = \"#6c71c4\",\n  \"blue\"    = \"#268bd2\",\n  \"cyan\"    = \"#2aa198\",\n  \"green\"   = \"#859900\")\n\n\ntemplate_solarized_light <- set_default(\n  template_variables,\n  text_color                      = solarized$base00,\n  header_color                    = solarized$red,\n  background_color                = solarized$base3,\n  link_color                      = solarized$yellow,\n  text_bold_color                 = solarized$magenta,\n  text_slide_number_color         = solarized$base1,\n  code_highlight_color            = \"#268bd240\", #xaringanthemer:::apply_alpha(solarized$blue, 0.25)\n  code_inline_color               = solarized$violet,\n  inverse_background_color        = solarized$base03,\n  inverse_text_color              = solarized$base3,\n  inverse_header_color            = \"{inverse_text_color}\",\n  title_slide_text_color          = \"{inverse_text_color}\",\n  title_slide_background_color    = \"{inverse_background_color}\",\n  left_column_subtle_color        = solarized$base1,\n  left_column_selected_color      = solarized$base01,\n  blockquote_left_border_color    = solarized$orange,\n  table_border_color              = solarized$base0,\n  table_row_border_color          = solarized$base0,\n  table_row_even_background_color = solarized$base2\n)\n\ntemplate_solarized_dark <- set_default(\n  template_variables,\n  text_color                      = solarized$base0,\n  header_color                    = solarized$red,\n  background_color                = solarized$base03,\n  link_color                      = solarized$yellow,\n  text_bold_color                 = solarized$magenta,\n  text_slide_number_color         = solarized$base01,\n  code_highlight_color            = \"#268bd240\", #xaringanthemer:::apply_alpha(solarized$blue, 0.25)\n  code_inline_color               = solarized$violet,\n  inverse_background_color        = solarized$base3,\n  inverse_text_color              = solarized$base03,\n  inverse_header_color            = \"{inverse_text_color}\",\n  title_slide_text_color          = \"{inverse_text_color}\",\n  title_slide_background_color    = \"{inverse_background_color}\",\n  left_column_subtle_color        = solarized$base01,\n  left_column_selected_color      = solarized$base1,\n  blockquote_left_border_color    = solarized$orange,\n  table_border_color              = solarized$base00,\n  table_row_border_color          = solarized$base00,\n  table_row_even_background_color = solarized$base02\n)\n\nusethis::use_data(\n  template_variables,\n  template_mono_accent,\n  template_mono_accent_inverse,\n  template_mono_light,\n  template_mono_dark,\n  template_duo,\n  template_duo_light,\n  template_duo_accent,\n  template_duo_accent_inverse,\n  template_solarized_light,\n  template_solarized_dark,\n  internal = TRUE,\n  overwrite = TRUE\n)\n"
  },
  {
    "path": "index.Rmd",
    "content": "---\noutput: github_document\n---\n\n<!-- README.md is generated from README.Rmd. Please edit that file -->\n\n```{r setup, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  results = \"asis\",\n  echo = FALSE,\n  comment = \"#>\",\n  fig.path = \"man/figures/index-\",\n  out.width = \"100%\"\n)\nIS_README <- TRUE\nlibrary(xaringanthemer)\n```\n\n# xaringanthemer <img src=\"man/figures/logo.png\" align=\"right\" height=\"175px\" />\n\n<!-- badges: start -->\n[![CRAN status](https://www.r-pkg.org/badges/version/xaringanthemer)](https://CRAN.R-project.org/package=xaringanthemer)\n[![xaringanthemer status badge](https://gadenbuie.r-universe.dev/badges/xaringanthemer)](https://gadenbuie.r-universe.dev)\n[![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html)\n[![R-CMD-Check status badge](https://github.com/gadenbuie/xaringanthemer/workflows/R-CMD-check/badge.svg?branch=main)](https://github.com/gadenbuie/xaringanthemer/actions)\n[![Codecov](https://img.shields.io/codecov/c/github/gadenbuie/xaringanthemer)](https://codecov.io/github/gadenbuie/xaringanthemer)\n<!-- badges: end -->\n\n```{r child=\"man/fragments/_tagline-gif.Rmd\"}\n```\n\n## Installation\n\n```{r child=\"man/fragments/_installation.Rmd\"}\n```\n\n## Quick Intro\n\n[theme-functions]: #themes\n[theme-settings]: #theme-settings\n[template-variables]: vignettes/template-variables.md\n[ggplot2]: https://ggplot2.tidyverse.org\n\n```{r child=\"man/fragments/_quick-intro.Rmd\"}\n```\n\n## Features\n\nThere's a lot more that **xaringanthemer** can do!\n[Discover xaringanthemer's features.](https://pkg.garrickadenbuie.com/xaringanthemer/articles/xaringanthemer.html)\n"
  },
  {
    "path": "index.md",
    "content": "\n<!-- README.md is generated from README.Rmd. Please edit that file -->\n\n# xaringanthemer <img src=\"man/figures/logo.png\" align=\"right\" height=\"175px\" />\n\n<!-- badges: start -->\n\n[![CRAN\nstatus](https://www.r-pkg.org/badges/version/xaringanthemer)](https://CRAN.R-project.org/package=xaringanthemer)\n[![xaringanthemer status\nbadge](https://gadenbuie.r-universe.dev/badges/xaringanthemer)](https://gadenbuie.r-universe.dev)\n[![Lifecycle:\nstable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html)\n[![R-CMD-Check status\nbadge](https://github.com/gadenbuie/xaringanthemer/workflows/R-CMD-check/badge.svg?branch=main)](https://github.com/gadenbuie/xaringanthemer/actions)\n[![Codecov](https://img.shields.io/codecov/c/github/gadenbuie/xaringanthemer)](https://codecov.io/github/gadenbuie/xaringanthemer)\n<!-- badges: end -->\n\nGive your [xaringan](https://github.com/yihui/xaringan) slides some\nstyle with **xaringanthemer** within your `slides.Rmd` file without\n(much) CSS.\n\n<img src=\"https://raw.githubusercontent.com/gadenbuie/xaringanthemer/assets/examples.gif\" alt=\"Animation previewing many xaringanthemer themes\" />\n\n## Installation\n\nYou can install **xaringanthemer** from CRAN\n\n``` r\ninstall.packages(\"xaringanthemer\")\n```\n\nor you can install the development version of xaringanthemer from\n[GitHub](https://github.com/gadenbuie/xaringanthemer).\n\n``` r\n# install.packages(\"remotes\")\nremotes::install_github(\"gadenbuie/xaringanthemer\")\n```\n\n## Quick Intro\n\n<!-- Set link to theme-settings, template-variables, theme functions -->\n\nFirst, add the `xaringan-themer.css` file to the YAML header of your\nxaringan slides.\n\n``` yaml\noutput:\n  xaringan::moon_reader:\n    css: xaringan-themer.css\n```\n\nThen, in a hidden chunk just after the knitr setup chunk, load\n**xaringanthemer** and try one of the [theme functions](#themes).\n\n```` markdown\n```{r xaringan-themer, include=FALSE, warning=FALSE}\nlibrary(xaringanthemer)\nstyle_mono_accent(\n  base_color = \"#1c5253\",\n  header_font_google = google_font(\"Josefin Sans\"),\n  text_font_google   = google_font(\"Montserrat\", \"300\", \"300i\"),\n  code_font_google   = google_font(\"Fira Mono\")\n)\n```\n````\n\n<img src=\"https://raw.githubusercontent.com/gadenbuie/xaringanthemer/assets/example_mono_accent_1c5253.png\" alt=\"Example title and normal slides using a green xaringanthemer theme\" data-external=\"1\" />\n\n### Matching ggplot Themes\n\n**xaringanthemer** even provides a\n[ggplot2](https://ggplot2.tidyverse.org) theme with `theme_xaringan()`\nthat uses the colors and fonts from your slide theme. Built on the\n[showtext](https://github.com/yixuan/showtext) package, and designed to\nwork seamlessly with [Google Fonts](https://fonts.google.com).\n\nColor and fill scales are also provided for matching sequential color\nscales based on the primary color used in your slides. See\n`?scale_xaringan` for more details.\n\nMore details and examples can be found in `vignette(\"ggplot2-themes\")`.\n\n``` r\nlibrary(ggplot2)\nggplot(diamonds) +\n  aes(cut, fill = cut) +\n  geom_bar(show.legend = FALSE) +\n  labs(\n    x = \"Cut\",\n    y = \"Count\",\n    title = \"A Fancy diamonds Plot\"\n  ) +\n  theme_xaringan(background_color = \"#FFFFFF\") +\n  scale_xaringan_fill_discrete()\n```\n\n<img src=\"man/figures/index-theme_xaringan_demo-1.png\" width=\"100%\" />\n\n### Tab Completion\n\n**xaringanthemer** is <kbd>Tab</kbd> friendly – [use autocomplete to\nexplore](#theme-settings) the [template\nvariables](vignettes/template-variables.md) that you can adjust in each\nof the themes!\n\n<img src=\"https://raw.githubusercontent.com/gadenbuie/xaringanthemer/assets/example-rstudio-completion.gif\" alt=\"Demonstration of argument auto-completion with RStudio\" data-external=\"1\" />\n\n### R Markdown Template in RStudio\n\nYou can also skip the above and just create a *Ninja Themed\nPresentation* from the New R Markdown Document menu in RStudio.\n\n<center>\n<img src=\"https://raw.githubusercontent.com/gadenbuie/xaringanthemer/assets/rmarkdown-template-screenshot.png\" alt=\"The 'New R Markdown Document' menu in RStudio\" data-external=\"1\" />\n</center>\n\n## Features\n\nThere’s a lot more that **xaringanthemer** can do! [Discover\nxaringanthemer’s\nfeatures.](https://pkg.garrickadenbuie.com/xaringanthemer/articles/xaringanthemer.html)\n"
  },
  {
    "path": "inst/fonts/OFL.txt",
    "content": "Copyright 2019 Alfredo Marco Pradil (https://hanken.co/), with Reserved Font Name \"Glacial Indifference\".\n\r\n\r\nThis Font Software is licensed under the SIL Open Font License, Version 1.1.\r\nThis license is copied below, and is also available with a FAQ at:\r\nhttp://scripts.sil.org/OFL\r\n\r\n\r\n-----------------------------------------------------------\r\nSIL OPEN FONT LICENSE Version 1.1 - 26 February 2007\r\n-----------------------------------------------------------\r\n\r\nPREAMBLE\r\nThe goals of the Open Font License (OFL) are to stimulate worldwide\r\ndevelopment of collaborative font projects, to support the font creation\r\nefforts of academic and linguistic communities, and to provide a free and\r\nopen framework in which fonts may be shared and improved in partnership\r\nwith others.\r\n\r\nThe OFL allows the licensed fonts to be used, studied, modified and\r\nredistributed freely as long as they are not sold by themselves. The\r\nfonts, including any derivative works, can be bundled, embedded, \r\nredistributed and/or sold with any software provided that any reserved\r\nnames are not used by derivative works. The fonts and derivatives,\r\nhowever, cannot be released under any other type of license. The\r\nrequirement for fonts to remain under this license does not apply\r\nto any document created using the fonts or their derivatives.\r\n\r\nDEFINITIONS\r\n\"Font Software\" refers to the set of files released by the Copyright\r\nHolder(s) under this license and clearly marked as such. This may\r\ninclude source files, build scripts and documentation.\r\n\r\n\"Reserved Font Name\" refers to any names specified as such after the\r\ncopyright statement(s).\r\n\r\n\"Original Version\" refers to the collection of Font Software components as\r\ndistributed by the Copyright Holder(s).\r\n\r\n\"Modified Version\" refers to any derivative made by adding to, deleting,\r\nor substituting -- in part or in whole -- any of the components of the\r\nOriginal Version, by changing formats or by porting the Font Software to a\r\nnew environment.\r\n\r\n\"Author\" refers to any designer, engineer, programmer, technical\r\nwriter or other person who contributed to the Font Software.\r\n\r\nPERMISSION & CONDITIONS\r\nPermission is hereby granted, free of charge, to any person obtaining\r\na copy of the Font Software, to use, study, copy, merge, embed, modify,\r\nredistribute, and sell modified and unmodified copies of the Font\r\nSoftware, subject to the following conditions:\r\n\r\n1) Neither the Font Software nor any of its individual components,\r\nin Original or Modified Versions, may be sold by itself.\r\n\r\n2) Original or Modified Versions of the Font Software may be bundled,\r\nredistributed and/or sold with any software, provided that each copy\r\ncontains the above copyright notice and this license. These can be\r\nincluded either as stand-alone text files, human-readable headers or\r\nin the appropriate machine-readable metadata fields within text or\r\nbinary files as long as those fields can be easily viewed by the user.\r\n\r\n3) No Modified Version of the Font Software may use the Reserved Font\r\nName(s) unless explicit written permission is granted by the corresponding\r\nCopyright Holder. This restriction only applies to the primary font name as\r\npresented to the users.\r\n\r\n4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font\r\nSoftware shall not be used to promote, endorse or advertise any\r\nModified Version, except to acknowledge the contribution(s) of the\r\nCopyright Holder(s) and the Author(s) or with their explicit written\r\npermission.\r\n\r\n5) The Font Software, modified or unmodified, in part or in whole,\r\nmust be distributed entirely under this license, and must not be\r\ndistributed under any other license. The requirement for fonts to\r\nremain under this license does not apply to any document created\r\nusing the Font Software.\r\n\r\nTERMINATION\r\nThis license becomes null and void if any of the above conditions are\r\nnot met.\r\n\r\nDISCLAIMER\r\nTHE FONT SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\r\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF\r\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT\r\nOF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE\r\nCOPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\r\nINCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL\r\nDAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\r\nFROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM\r\nOTHER DEALINGS IN THE FONT SOFTWARE.\r\n"
  },
  {
    "path": "inst/resources/template.css",
    "content": "/* -------------------------------------------------------\n *\n *     !! This file was generated by xaringanthemer !!\n *\n *  Changes made to this file directly will be overwritten\n *  if you used xaringanthemer in your xaringan slides Rmd\n *\n *  Issues or likes?\n *    - https://github.com/gadenbuie/xaringanthemer\n *    - https://www.garrickadenbuie.com\n *\n *  Need help? Try:\n *    - vignette(package = \"xaringanthemer\")\n *    - ?xaringanthemer::style_xaringan\n *    - xaringan wiki: https://github.com/yihui/xaringan/wiki\n *    - remarkjs wiki: https://github.com/gnab/remark/wiki\n *\n{{#xaringanthemer_version}} *  Version: {{xaringanthemer_version}}{{/xaringanthemer_version}}\n *\n * ------------------------------------------------------- */\n@import url({{{text_font_url}}});\n@import url({{{header_font_url}}});\n@import url({{{code_font_url}}});\n{{#extra_font_imports}}{{{extra_font_imports}}}{{/extra_font_imports}}\n\n:root {\n  /* Fonts */\n  --text-font-family: {{text_font_family}};\n  --text-font-is-google: {{text_font_is_google}};\n  --text-font-family-fallback: {{text_font_family_fallback}};\n  --text-font-base: {{text_font_base}};\n  --header-font-family: {{header_font_family}};\n  --header-font-is-google: {{header_font_is_google}};\n  --header-font-family-fallback: {{header_font_family_fallback}};\n  --code-font-family: {{code_font_family}};\n  --code-font-is-google: {{code_font_is_google}};\n  --base-font-size: {{base_font_size}};\n  --text-font-size: {{text_font_size}};\n  --code-font-size: {{code_font_size}};\n  --code-inline-font-size: {{code_inline_font_size}};\n  --header-h1-font-size: {{header_h1_font_size}};\n  --header-h2-font-size: {{header_h2_font_size}};\n  --header-h3-font-size: {{header_h3_font_size}};\n\n  /* Colors */\n  --text-color: {{text_color}};\n  --header-color: {{header_color}};\n  --background-color: {{background_color}};\n  --link-color: {{link_color}};{{#text_bold_color}}\n  --text-bold-color: {{text_bold_color}};{{/text_bold_color}}\n  --code-highlight-color: {{code_highlight_color}};\n  --inverse-text-color: {{inverse_text_color}};\n  --inverse-background-color: {{inverse_background_color}};\n  --inverse-header-color: {{inverse_header_color}};\n  --inverse-link-color: {{inverse_link_color}};\n  --title-slide-background-color: {{title_slide_background_color}};\n  --title-slide-text-color: {{title_slide_text_color}};\n  --header-background-color: {{header_background_color}};\n  --header-background-text-color: {{header_background_text_color}};{{#colors}}\n  --{{color_name}}: {{value}};{{/colors}}\n}\n\nhtml {\n  font-size: var(--base-font-size);\n}\n\nbody {\n  font-family: var(--text-font-family), var(--text-font-family-fallback), var(--text-font-base);\n  font-weight: {{text_font_weight}};\n  color: var(--text-color);\n}\nh1, h2, h3 {\n  font-family: var(--header-font-family), var(--header-font-family-fallback);\n  font-weight: {{header_font_weight}};\n  color: var(--header-color);\n}\n.remark-slide-content {\n  background-color: var(--background-color);\n  font-size: {{text_font_size}};{{#background_image}}\n  background-image: url({{{background_image}}});{{#background_size}}\n  background-size: {{background_size}};{{/background_size}}{{#background_position}}\n  background-position: {{background_position}};{{/background_position}}{{/background_image}}\n  padding: {{padding}};\n  width: 100%;\n  height: 100%;\n}\n.remark-slide-content h1 {\n  font-size: var(--header-h1-font-size);\n}\n.remark-slide-content h2 {\n  font-size: var(--header-h2-font-size);\n}\n.remark-slide-content h3 {\n  font-size: var(--header-h3-font-size);\n}\n.remark-code, .remark-inline-code {\n  font-family: var(--code-font-family), {{code_font_family_fallback}}, monospace;\n}\n.remark-code {\n  font-size: var(--code-font-size);\n}\n.remark-inline-code {\n  font-size: var(--code-inline-font-size);{{#code_inline_color}}\n  color: {{code_inline_color}};{{/code_inline_color}}{{#code_inline_background_color}}\n  background-color: {{code_inline_background_color}};\n  padding: 2px;{{/code_inline_background_color}}\n}\n.remark-slide-number {\n  color: {{text_slide_number_color}};\n  opacity: 1;\n  font-size: {{text_slide_number_font_size}};\n}\nstrong {\n  font-weight: {{text_bold_font_weight}};{{#text_bold_color}}\n  color: var(--text-bold-color);{{/text_bold_color}}\n}\na, a > code {\n  color: var(--link-color);\n  text-decoration: {{link_decoration}};\n}\n.footnote {\n  position: absolute;{{#footnote_color}}\n  color: {{footnote_color}};{{/footnote_color}}\n  bottom: {{footnote_position_bottom}};\n  padding-right: 4em;\n  font-size: {{footnote_font_size}};\n}\n.remark-code-line-highlighted {\n  background-color: var(--code-highlight-color);\n}\n.inverse {\n  background-color: var(--inverse-background-color);\n  color: var(--inverse-text-color);\n  {{#inverse_text_shadow}}text-shadow: 0 0 20px #333;{{/inverse_text_shadow}}\n}\n.inverse h1, .inverse h2, .inverse h3 {\n  color: var(--inverse-header-color);\n}\n.inverse a, .inverse a > code {\n  color: var(--inverse-link-color);\n}\n.title-slide, .title-slide h1, .title-slide h2, .title-slide h3 {\n  color: var(--title-slide-text-color);\n}\n.title-slide {\n  background-color: var(--title-slide-background-color);{{#title_slide_background_image}}\n  background-image: url(\"{{{title_slide_background_image}}}\");{{/title_slide_background_image}}{{#title_slide_background_size}}\n  background-size: {{title_slide_background_size}};{{/title_slide_background_size}}{{#title_slide_background_position}}\n  background-position: {{title_slide_background_position}};{{/title_slide_background_position}}\n}\n.title-slide .remark-slide-number {\n  display: none;\n}\n/* Two-column layout */\n.left-column {\n  width: 20%;\n  height: 92%;\n  float: left;\n}\n.left-column h2, .left-column h3 {\n  color: {{left_column_subtle_color}};\n}\n.left-column h2:last-of-type, .left-column h3:last-child {\n  color: {{left_column_selected_color}};\n}\n.right-column {\n  width: 75%;\n  float: right;\n  padding-top: 1em;\n}\n.pull-left {\n  float: left;\n  width: 47%;\n}\n.pull-right {\n  float: right;\n  width: 47%;\n}\n.pull-right + * {\n  clear: both;\n}\nimg, video, iframe {\n  max-width: 100%;\n}\nblockquote {\n  border-left: solid 5px {{blockquote_left_border_color}};\n  padding-left: 1em;\n}\n.remark-slide table {\n  margin: auto;\n  border-top: 1px solid {{table_border_color}};\n  border-bottom: 1px solid {{table_border_color}};\n}\n.remark-slide table thead th {\n  border-bottom: 1px solid {{table_row_border_color}};\n}\nth, td {\n  padding: 5px;\n}\n.remark-slide table:not(.table-unshaded) thead,\n.remark-slide table:not(.table-unshaded) tfoot,\n.remark-slide table:not(.table-unshaded) tr:nth-child(even) {\n  background: {{table_row_even_background_color}};\n}\ntable.dataTable tbody {\n  background-color: var(--background-color);\n  color: var(--text-color);\n}\ntable.dataTable.display tbody tr.odd {\n  background-color: var(--background-color);\n}\ntable.dataTable.display tbody tr.even {\n  background-color: {{table_row_even_background_color}};\n}\ntable.dataTable.hover tbody tr:hover, table.dataTable.display tbody tr:hover {\n  background-color: rgba(255, 255, 255, 0.5);\n}\n.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_processing, .dataTables_wrapper .dataTables_paginate {\n  color: var(--text-color);\n}\n.dataTables_wrapper .dataTables_paginate .paginate_button {\n  color: var(--text-color) !important;\n}\n\n/* Horizontal alignment of code blocks */\n.remark-slide-content.left pre,\n.remark-slide-content.center pre,\n.remark-slide-content.right pre {\n  text-align: start;\n  width: max-content;\n  max-width: 100%;\n}\n.remark-slide-content.left pre,\n.remark-slide-content.right pre {\n  min-width: 50%;\n  min-width: min(40ch, 100%);\n}\n.remark-slide-content.center pre {\n  min-width: 66%;\n  min-width: min(50ch, 100%);\n}\n.remark-slide-content.left pre {\n  margin-left: unset;\n  margin-right: auto;\n}\n.remark-slide-content.center pre {\n  margin-left: auto;\n  margin-right: auto;\n}\n.remark-slide-content.right pre {\n  margin-left: auto;\n  margin-right: unset;\n}\n\n{{#header_background}}\n/* Slide Header Background for h1 elements */\n.remark-slide-content.header_background > h1{{#auto}},\n.remark-slide-content{{#ignore}}:not({{class}}){{/ignore}} > h1{{/auto}} {\n  display: block;\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 100%;\n  background: var(--header-background-color);\n  color: var(--header-background-text-color);\n  padding: {{padding}};\n  margin-top: 0;\n  box-sizing: border-box;\n}\n.remark-slide-content.header_background{{#auto}},\n.remark-slide-content{{#ignore}}:not({{class}}){{/ignore}}{{/auto}} {\n  padding-top: {{content_padding_top}};\n}\n\n{{/header_background}}\n@page { margin: 0; }\n@media print {\n  .remark-slide-scaler {\n    width: 100% !important;\n    height: 100% !important;\n    transform: scale(1) !important;\n    top: 0 !important;\n    left: 0 !important;\n  }\n}\n\n{{#colors}}\n.{{color_name}} {\n  color: var(--{{color_name}});\n}\n.bg-{{color_name}} {\n  background-color: var(--{{color_name}});\n}\n{{/colors}}\n"
  },
  {
    "path": "inst/resources/template_title-slide.css",
    "content": ".title-slide, .title-slide h1, .title-slide h2, .title-slide h3 {\n  background-color: #fff !important;\n  color: #222 !important;\n}\n.title-slide h3 {\n  font-family: 'Roboto Condensed', 'Avenir Next', 'Helvetica Neue', 'Helvetica', sans-serif;\n  font-weight: 400;\n  padding-top: 15px;\n  font-size: 28px;\n}\n.title-slide h3:nth-of-type(2) {\n  margin-top: 10px;\n  font-size: 28px;\n}\n.title-slide table {\n  padding-top: 35px !important;\n}\n.title-slide i.fa {\n  font-size: 2em;\n}\n"
  },
  {
    "path": "inst/rmarkdown/templates/xaringanthemer/skeleton/skeleton.Rmd",
    "content": "---\ntitle: \"Presentation Ninja\"\nsubtitle: \"&#x2694;&#xFE0F; xaringan +<br/>&#x1F60E; xaringanthemer\"  \nauthor: \n  - \"Yihui Xie\"\n  - \"Garrick Aden-Buie\"\ndate: '`r Sys.Date()`'\noutput:\n  xaringan::moon_reader:\n    css: xaringan-themer.css\n    nature:\n      slideNumberFormat: \"%current%\"\n      highlightStyle: github\n      highlightLines: true\n      ratio: 16:9\n      countIncrementalSlides: true\n---\n\n```{r setup, include=FALSE}\noptions(htmltools.dir.version = FALSE)\nknitr::opts_chunk$set(\n  fig.width=9, fig.height=3.5, fig.retina=3,\n  out.width = \"100%\",\n  cache = FALSE,\n  echo = TRUE,\n  message = FALSE, \n  warning = FALSE,\n  hiline = TRUE\n)\n```\n\n```{r xaringan-themer, include=FALSE, warning=FALSE}\nlibrary(xaringanthemer)\nstyle_duo_accent(\n  primary_color = \"#1381B0\",\n  secondary_color = \"#FF961C\",\n  inverse_header_color = \"#FFFFFF\"\n)\n```\n\n## Typography\n\nText can be **bold**, _italic_, ~~strikethrough~~, or `inline code`.\n\n[Link to another slide](#colors).\n\n### Lorem Ipsum\n\nDolor imperdiet nostra sapien scelerisque praesent curae metus facilisis dignissim tortor. \nLacinia neque mollis nascetur neque urna velit bibendum. \nHimenaeos suspendisse leo varius mus risus sagittis aliquet venenatis duis nec.\n\n- Dolor cubilia nostra nunc sodales\n\n- Consectetur aliquet mauris blandit\n\n- Ipsum dis nec porttitor urna sed\n\n---\nname: colors\n\n## Colors\n\n.left-column[\nText color\n\n[Link Color](#3)\n\n**Bold Color**\n\n_Italic Color_\n\n`Inline Code`\n]\n\n.right-column[\nLorem ipsum dolor sit amet, [consectetur adipiscing elit (link)](#3), \nsed do eiusmod tempor incididunt ut labore et dolore magna aliqua. \nErat nam at lectus urna.\nPellentesque elit ullamcorper **dignissim cras tincidunt (bold)** lobortis feugiat. \n_Eros donec ac odio tempor_ orci dapibus ultrices. \nId porta nibh venenatis cras sed felis eget velit aliquet.\nAliquam id diam maecenas ultricies mi.\nEnim sit amet \n`code_color(\"inline\")`\nvenenatis urna cursus eget nunc scelerisque viverra.\n]\n\n---\n\n# Big Topic or Inverse Slides `#`\n\n## Slide Headings `##`\n\n### Sub-slide Headings `###`\n\n#### Bold Call-Out `####`\n\nThis is a normal paragraph text. Only use header levels 1-4.\n\n##### Possible, but not recommended `#####`\n\n###### Definitely don't use h6 `######`\n\n---\n\n# Left-Column Headings\n\n.left-column[\n## First\n\n## Second\n\n## Third\n]\n\n.right-column[\nDolor quis aptent mus a dictum ultricies egestas.\n\nAmet egestas neque tempor fermentum proin massa!\n\nDolor elementum fermentum pharetra lectus arcu pulvinar.\n]\n\n---\nclass: inverse center middle\n\n# Topic Changing Interstitial\n\n--\n\n```\nclass: inverse center middle\n```\n\n---\nlayout: true\n\n## Blocks\n\n---\n\n### Blockquote\n\n> This is a blockquote following a header.\n>\n> When something is important enough, you do it even if the odds are not in your favor.\n\n---\n\n### Code Blocks\n\n#### R Code\n\n```{r eval=FALSE}\nggplot(gapminder) +\n  aes(x = gdpPercap, y = lifeExp, size = pop, color = country) +\n  geom_point() +\n  facet_wrap(~year)\n```\n\n#### JavaScript\n\n```js\nvar fun = function lang(l) {\n  dateformat.i18n = require('./lang/' + l)\n  return true;\n}\n```\n\n---\n\n### More R Code\n\n```{r eval=FALSE}\ndplyr::starwars %>% dplyr::slice_sample(n = 4)\n```\n\n---\n\n```{r message=TRUE, eval=requireNamespace(\"cli\", quietly = TRUE)}\ncli::cli_alert_success(\"It worked!\")\n```\n\n--\n\n```{r message=TRUE}\nmessage(\"Just a friendly message\")\n```\n\n--\n\n```{r warning=TRUE}\nwarning(\"This could be bad...\")\n```\n\n--\n\n```{r error=TRUE}\nstop(\"I hope you're sitting down for this\")\n```\n\n\n---\nlayout: true\n\n## Tables\n\n---\nexclude: `r if (requireNamespace(\"tibble\", quietly=TRUE)) \"false\" else \"true\"`\n\n```{r eval=requireNamespace(\"tibble\", quietly=TRUE)}\ntibble::as_tibble(mtcars)\n```\n\n---\n\n```{r}\nknitr::kable(head(mtcars), format = 'html')\n```\n\n---\nexclude: `r if (requireNamespace(\"DT\", quietly=TRUE)) \"false\" else \"true\"`\n\n```{r eval=requireNamespace(\"DT\", quietly=TRUE)}\nDT::datatable(head(mtcars), fillContainer = FALSE, options = list(pageLength = 4))\n```\n\n---\nlayout: true\n\n## Lists\n\n---\n\n.pull-left[\n#### Here is an unordered list:\n\n*   Item foo\n*   Item bar\n*   Item baz\n*   Item zip\n]\n\n.pull-right[\n\n#### And an ordered list:\n\n1.  Item one\n1.  Item two\n1.  Item three\n1.  Item four\n]\n\n---\n\n### And a nested list:\n\n- level 1 item\n  - level 2 item\n  - level 2 item\n    - level 3 item\n    - level 3 item\n- level 1 item\n  - level 2 item\n  - level 2 item\n  - level 2 item\n- level 1 item\n  - level 2 item\n  - level 2 item\n- level 1 item\n\n---\n\n### Nesting an ol in ul in an ol\n\n- level 1 item (ul)\n  1. level 2 item (ol)\n  1. level 2 item (ol)\n    - level 3 item (ul)\n    - level 3 item (ul)\n- level 1 item (ul)\n  1. level 2 item (ol)\n  1. level 2 item (ol)\n    - level 3 item (ul)\n    - level 3 item (ul)\n  1. level 4 item (ol)\n  1. level 4 item (ol)\n    - level 3 item (ul)\n    - level 3 item (ul)\n- level 1 item (ul)\n\n---\nlayout: true\n\n## Plots\n\n---\n\n```{r plot-example, eval=requireNamespace(\"ggplot2\", quietly=TRUE)}\nlibrary(ggplot2)\n(g <- ggplot(mpg) + aes(hwy, cty, color = class) + geom_point())\n```\n\n---\n\n```{r plot-example-themed, eval=requireNamespace(\"showtext\", quietly=TRUE) && requireNamespace(\"ggplot2\", quietly=TRUE)}\ng + xaringanthemer::theme_xaringan(text_font_size = 16, title_font_size = 18) +\n  ggtitle(\"A Plot About Cars\")\n```\n\n.footnote[Requires `{showtext}`]\n\n---\nlayout: false\n\n## Square image\n\n<center><img src=\"https://octodex.github.com/images/labtocat.png\" alt=\"GithHub Octocat\" height=\"400px\" /></center>\n\n.footnote[GitHub Octocat]\n\n---\n\n### Wide image\n\n![A wide image with a diagram of branching in git.](https://docs.github.com/assets/images/help/repository/branching.png)\n\n.footnote[Wide images scale to 100% slide width]\n\n---\n\n## Two images\n\n.pull-left[\n![A GitHub Octocat, style \"mother hubber\"](https://octodex.github.com/images/motherhubbertocat.png)\n]\n\n.pull-right[\n![A GitHub Octocat, style \"dinotcat\"](https://octodex.github.com/images/dinotocat.png)\n]\n\n---\n\n### Definition lists can be used with HTML syntax.\n\n<dl>\n<dt>Name</dt>\n<dd>Godzilla</dd>\n<dt>Born</dt>\n<dd>1952</dd>\n<dt>Birthplace</dt>\n<dd>Japan</dd>\n<dt>Color</dt>\n<dd>Green</dd>\n</dl>\n\n---\nclass: center, middle\n\n# Thanks!\n\nSlides created via the R packages:\n\n[**xaringan**](https://github.com/yihui/xaringan)<br>\n[gadenbuie/xaringanthemer](https://github.com/gadenbuie/xaringanthemer)\n\nThe chakra comes from [remark.js](https://remarkjs.com), [**knitr**](http://yihui.name/knitr), and [R Markdown](https://rmarkdown.rstudio.com).\n"
  },
  {
    "path": "inst/rmarkdown/templates/xaringanthemer/template.yaml",
    "content": "name: Ninja Themed Presentation\ndescription: >\n  Create a themed presentation using the xaringanthemer package, to make a\n  xaringan presentation based on remark.js.\ncreate_dir: false\n"
  },
  {
    "path": "inst/scripts/generate_theme_functions.R",
    "content": "source(here::here(\"R/utils_theme-gen.R\"))\nload(here::here(\"R/sysdata.rda\"))\n# R/theme_settings.R contains element_description() and plural_elements()\n\nsetup_theme_function <- function(\n  f_name = \"style_xaringan\",\n  template = template_variables,\n  ...,\n  file = \"\",\n  body = \"  eval(parse(text = call_style_xaringan()))\",\n  theme_colors = NULL\n) {\n  if (file == \"clip\" && !requireNamespace(\"clipr\", quietly = TRUE)) file <- \"\"\n  f_body_theme_colors <- include_theme_colors(theme_colors)\n  f_body <- c(\n    \"  # DO NOT EDIT - Generated from inst/scripts/generate_theme_functions.R\",\n    f_body_theme_colors,\n    body\n  )\n  tv <- template\n  f_def <- c(\n    \"# Generated by inst/scripts/generate_theme_functions.R: do not edit by hand\\n\",\n    as.character(\n      glue::glue_data(\n        tv,\n        \"#' @param {variable} {description}. \",\n        \"Defaults to {gsub('[{{}}]', '`', default)}. \",\n        \"{element_description(element)}\",\n        \"{describe_css_property(css_property)}\",\n        \"{describe_css_variable(css_variable)}\"\n      )\n    ),\n    \"#' @template theme_params\",\n    \"#' @template style-usage\",\n    ...,\n    glue::glue(\"{f_name} <- function(\"),\n    as.character(\n      glue::glue_data(\n        tv,\n        \"  {variable} = {ifelse(!grepl('^[{].+[}]$', default), paste0('\\\"', default, '\\\"'), gsub('[{}]', '', default))},\"\n      )\n    ),\n    \"  colors = NULL,\",\n    \"  extra_css = NULL,\",\n    \"  extra_fonts = NULL,\",\n    \"  outfile = \\\"xaringan-themer.css\\\"\",\n    \") {\"\n  )\n  if (!is.null(f_body)) f_def <- c(f_def, f_body, \"}\")\n  if (file == \"clip\") {\n    clipr::write_clip(f_def)\n    message(\"Wrote \", f_name, \" function signature to clipboard.\")\n  } else {\n    cat(reflow_roxygen(f_def), sep = \"\\n\", file = file)\n    message(\"Wrote \", f_name, \" to \", file)\n  }\n  invisible()\n}\n\nreflow_roxygen <- function(x) {\n  is_roxy_tag <- grepl(\"^#' @\", x)\n  roxy_tags <- x[is_roxy_tag]\n  roxy_tags <- sub(\"^#' \", \"\", roxy_tags)\n  roxy_tags <- purrr::map_chr(\n    roxy_tags,\n    ~ paste(\n      \"#'\", strwrap(\n        pack_inline_code(.x),\n        width = 77,\n        exdent = 2\n      ), collapse = \"\\n\")\n  )\n  roxy_tags <- gsub(\"\\u00A0\", \" \", roxy_tags)\n  x[is_roxy_tag] <- roxy_tags\n  x\n}\n\npack_inline_code <- function(x) {\n  stopifnot(length(x) == 1, is.character(x))\n  x <- strsplit(x, \"\")[[1]]\n  inline_code <- FALSE\n  for (i in seq_along(x)) {\n    if (identical(x[i], \"`\")) {\n      inline_code <- !inline_code\n    } else if (inline_code && identical(x[i], \" \")) {\n      x[i] <- \"\\u00A0\"\n    }\n  }\n  paste(x, collapse = \"\")\n}\n\ninclude_theme_colors <- function(theme_colors = NULL) {\n  if (is.null(theme_colors)) return(NULL)\n  unname <- glue::glue(\"{theme_colors} <- unname({theme_colors})\")\n  unname <- paste(unname, collapse = \"\\n  \")\n  x <- glue::glue('{names(theme_colors)} = {theme_colors}')\n  x <- paste(x, collapse = \", \")\n  glue::glue(\"  {unname}\\n  colors <- c({x}, colors)\", .trim = FALSE)\n}\n\n# ---- Write Xaringan Theme Function ----\nsetup_theme_function(\n  \"style_xaringan\",\n  template_variables,\n  \"#' @template style_xaringan\",\n  \"#' @export\",\n  body = paste0(\"  \", readLines(here::here(\"inst/scripts/style_xaringan_body.R\"))),\n  file = here::here(\"R/style_xaringan.R\")\n)\n\n# ---- Monotone Light ----\nsetup_theme_function(\n  \"style_mono_light\",\n  template_mono_light,\n  \"#' @template style_mono_light\",\n  \"#' @family Monotone themes\",\n  \"#' @export\",\n  file = here::here(\"R/style_mono_light.R\"),\n  theme_colors = c(base = \"base_color\", white = \"white_color\", black = \"black_color\")\n)\n\n# ---- Monotone Dark ----\nsetup_theme_function(\n  \"style_mono_dark\",\n  template_mono_dark,\n  \"#' @template style_mono_dark\",\n  \"#' @family Monotone themes\",\n  \"#' @export\",\n  file = here::here(\"R/style_mono_dark.R\"),\n  theme_colors = c(base = \"base_color\", white = \"white_color\", black = \"black_color\")\n)\n\n# ---- Monotone Accent ----\nsetup_theme_function(\n  \"style_mono_accent\",\n  template_mono_accent,\n  \"#' @template style_mono_accent\",\n  \"#' @family Monotone themes\",\n  \"#' @export\",\n  file = here::here(\"R/style_mono_accent.R\"),\n  theme_colors = c(base = \"base_color\", white = \"white_color\", black = \"black_color\")\n)\n\n# ---- Monotone Accent Inverse ----\nsetup_theme_function(\n  \"style_mono_accent_inverse\",\n  template_mono_accent_inverse,\n  \"#' @template style_mono_accent_inverse\",\n  \"#' @family Monotone themes\",\n  \"#' @export\",\n  file = here::here(\"R/style_mono_accent_inverse.R\"),\n  theme_colors = c(base = \"base_color\", white = \"white_color\", black = \"black_color\")\n)\n\n# ---- Duotone ----\nsetup_theme_function(\n  \"style_duo\",\n  template_duo,\n  \"#' @template style_duo\",\n  \"#' @family Duotone themes\",\n  \"#' @export\",\n  file = here::here(\"R/style_duo.R\"),\n  theme_colors = c(primary = \"primary_color\", secondary = \"secondary_color\")\n)\n\n# ---- Duotone Accent ----\nsetup_theme_function(\n  \"style_duo_accent\",\n  template_duo_accent,\n  \"#' @template style_duo_accent\",\n  \"#' @family Duotone themes\",\n  \"#' @export\",\n  file = here::here(\"R/style_duo_accent.R\"),\n  theme_colors = c(primary = \"primary_color\", secondary = \"secondary_color\",\n                   white = \"white_color\", black = \"black_color\")\n)\n\n# ---- Duotone Accent Inverse ----\nsetup_theme_function(\n  \"style_duo_accent_inverse\",\n  template_duo_accent_inverse,\n  \"#' @template style_duo_accent_inverse\",\n  \"#' @family Duotone themes\",\n  \"#' @export\",\n  file = here::here(\"R/style_duo_accent_inverse.R\"),\n  theme_colors = c(primary = \"primary_color\", secondary = \"secondary_color\",\n                   white = \"white_color\", black = \"black_color\")\n)\n\n# ---- Solarized Light ----\nsetup_theme_function(\n  \"style_solarized_light\",\n  template_solarized_light,\n  \"#' @template style_solarized_light\",\n  \"#' @family Solarized themes\",\n  \"#' @export\",\n  file = here::here(\"R/style_solarized_light.R\")\n)\n\n# ---- Solarized Dark ----\nsetup_theme_function(\n  \"style_solarized_dark\",\n  template_solarized_dark,\n  \"#' @template style_solarized_dark\",\n  \"#' @family Solarized themes\",\n  \"#' @export\",\n  file = here::here(\"R/style_solarized_dark.R\")\n)\n"
  },
  {
    "path": "inst/scripts/style_xaringan_body.R",
    "content": "force(text_font_family)\nforce(text_font_weight)\nforce(text_font_url)\nforce(text_font_family_fallback)\nforce(header_font_family)\nforce(header_font_weight)\nforce(header_font_url)\nforce(code_font_family)\nforce(code_font_url)\nforce(code_font_family_fallback)\n\n# the defaults are google fonts\nis_default <- function(type, suffix) {\n  # check if font arg value is from xaringanthemer_font_default\n  var <- paste0(type, \"_\", suffix)\n  inherits(\n    get(var, envir = parent.frame(2), inherits = FALSE),\n    \"xaringanthemer_default\"\n  )\n}\nfor (var in c(\"text\", \"header\", \"code\")) {\n  suffixes <- c(\"font_family\", \"font_weight\", \"font_url\")\n  if (var == \"code\") suffixes <- setdiff(suffixes, \"font_weight\")\n  var_is_google <- all(vapply(suffixes, is_default, logical(1), type = var))\n  var_is_google <- as.integer(var_is_google)\n  r_set_font_is_google <- glue::glue(\"{var}_font_is_google <- {var_is_google}\")\n  eval(parse(text = r_set_font_is_google))\n}\n\n# Make sure font names are wrapped in quotes if they have spaces\nf_args <- names(formals(sys.function()))\nfor (var in f_args[grepl(\"font_family$\", f_args)]) {\n  var_value <- get(var, inherits = FALSE)\n  if (!is.null(var_value)) {\n    eval(parse(text = paste0(var, \"<-quote_elements_w_spaces(\", var, \")\")))\n  }\n}\n\n# Warn if base_font_size isn't absolute\ncss_abs_units <- c(\"cm\", \"mm\", \"Q\", \"in\", \"pc\", \"pt\", \"px\")\nif (!grepl(paste(tolower(css_abs_units), collapse = \"|\"), tolower(base_font_size))) {\n  warning(\n    glue::glue(\n      \"Base font size '{base_font_size}' is not in absolute units. \",\n      \"For best results, specify the `base_font_size` using absolute CSS units: \",\n      \"{paste(css_abs_units, collapse = ', ')}\"\n    ),\n    call. = FALSE,\n    immediate. = TRUE\n  )\n}\n\n# If certain colors aren't in hexadecimal it may cause problems with theme_xaringan()\n# TODO: at some point I'd rather be able to process CSS colors or variables\ncolors_used_by_theme_xaringan <- list(\n  background_color = background_color,\n  text_color = text_color,\n  header_color = header_color,\n  text_bold_color = text_bold_color,\n  inverse_background_color = inverse_background_color,\n  inverse_text_color = inverse_text_color,\n  inverse_header_color = inverse_header_color\n)\ncolors_used_by_theme_xaringan <- purrr::discard(colors_used_by_theme_xaringan, is.null)\ncolors_are_hex <- purrr::map_lgl(colors_used_by_theme_xaringan, check_color_is_hex, throw = NULL)\n\nif (any(!colors_are_hex)) {\n  colors_better_as_hex <- names(colors_used_by_theme_xaringan)[!colors_are_hex]\n  colors_better_as_hex <- paste(colors_better_as_hex, collapse = \", \")\n  warning(\n    glue::glue(\"Colors that will be used by `theme_xaringan()` need to be in \",\n               \"hexadecimal format: {colors_better_as_hex}\"),\n    immediate. = TRUE,\n    call. = FALSE\n  )\n}\n\n# Use font_..._google args to overwrite font args\nfor (var in f_args[grepl(\"font_google$\", f_args)]) {\n  gf <- eval(parse(text = var))\n  if (is.null(gf)) next\n  if (!inherits(gf, \"google_font\")) {\n    stop(\"`\", var, \"` must be set using `google_font()`.\")\n  }\n  group <- strsplit(var, \"_\")[[1]][1]\n  if (group == \"text\") {\n    text_font_family <- quote_elements_w_spaces(gf$family)\n    text_font_weight <- gf$weights %||% \"normal\"\n    if (grepl(\",\", text_font_weight)) {\n      # Use first font weight if multiple are imported\n      text_font_weight <- substr(text_font_weight, 1, regexpr(\",\", text_font_weight)[1] - 1)\n    }\n    text_font_url <- gf$url\n  } else {\n    eval(parse(text = paste0(group, \"_font_family <- quote_elements_w_spaces(gf$family)\")))\n    eval(parse(text = paste0(group, \"_font_url <- gf$url\")))\n  }\n  eval(parse(text = paste0(group, \"_font_is_google <- 1\")))\n}\n\nextra_font_imports <- if (is.null(extra_fonts)) \"\" else list2fonts(extra_fonts)\nextra_font_imports <- paste(extra_font_imports, collapse = \"\\n\")\n\n# convert NA arguments to NULL\nfor (var in f_args) {\n  val <- eval(parse(text = var))\n  if (is.null(val)) next\n  val <- val[!is.na(val)]\n  is_na <- length(val) == 0\n  if (is_na) assign(var, NULL, envir = sys.frame(sys.nframe()))\n}\n\n# prepare variables for template\nbody_font_family <- paste(c(text_font_family, text_font_family_fallback, text_font_base), collapse = \", \")\nbackground_size_fallback <- if (is.null(background_position)) \"cover\" else \"100%\"\nbackground_size <- background_image %??% (background_size %||% background_size_fallback)\ntitle_slide_background_size <- title_slide_background_size %||% (\n  title_slide_background_image %??% \"cover\"\n)\ntable_row_even_background_color <- table_row_even_background_color %||% background_color\n\n# stash theme settings in package env\nlapply(f_args, function(n) assign(n, get(n), envir = xaringanthemer_env))\nfor (font_is_google in paste0(c(\"text\", \"code\", \"header\"), \"_font_is_google\")) {\n  assign(\n    font_is_google,\n    get(font_is_google, inherits = FALSE) == 1,\n    envir = xaringanthemer_env\n  )\n}\n\nxaringanthemer_version <- utils::packageVersion(\"xaringanthemer\")\n\n# prepare header background object\nneeds_leading_dot <- !grepl(\"^\\\\.\", header_background_ignore_classes)\nheader_background_ignore_classes[needs_leading_dot] <- paste0(\n  \".\",\n  header_background_ignore_classes[needs_leading_dot]\n)\nheader_background_ignore_classes <- purrr::map(\n  header_background_ignore_classes,\n  ~ list(class = .)\n)\nif (is.null(header_background_padding)) {\n  slide_padding <- css_get_padding(padding)\n  header_background_padding <- paste(\n    \"2rem\", slide_padding$right, \"1.5rem\", slide_padding$left\n  )\n}\nheader_background <- list(\n  auto = header_background_auto,\n  background_color = header_background_color,\n  text_color = header_background_text_color,\n  padding = header_background_padding,\n  content_padding_top = header_background_content_padding_top,\n  ignore = header_background_ignore_classes\n)\n\ncolors <- prepare_colors(colors)\n\ntf <- system.file(\"resources\", \"template.css\", package = \"xaringanthemer\")\ntemplate <- readLines(tf, warn = FALSE)\ntemplate <- paste(template, collapse = \"\\n\")\nx <- whisker::whisker.render(template)\nif (!is.null(extra_css)) {\n  x <- c(x, style_extra_css(extra_css, outfile = NULL))\n}\nif (is.null(outfile)) {\n  return(x)\n}\nwriteLines(x, con = outfile)\ninvisible(outfile)\n"
  },
  {
    "path": "make.R",
    "content": "callr::rscript(\"data-raw/theme_template_variables.R\")\nmessage(\"Building theme functions\")\ncallr::rscript(\"generate_theme_functions.R\", wd = here::here(\"inst/scripts\"))\nmessage(\"Writing documentation\")\ndevtools::document()\n\nmessage(\"Rendering README.Rmd for GitHub\")\nrmarkdown::render(\"README.Rmd\", quiet = TRUE)\nunlink(\"README.html\")\n\nmessage(\"Checking package\")\ndevtools::check(document = FALSE)\n\nmessage(\"Checking urls\")\nurlchecker::url_check()\n\nmessage(\"Building and Installing Package with Vignettes\")\ndevtools::install(build_vignettes = TRUE)\n"
  },
  {
    "path": "man/apply_alpha.Rd",
    "content": "% Generated by roxygen2: do not edit by hand\n% Please edit documentation in R/color.R\n\\name{apply_alpha}\n\\alias{apply_alpha}\n\\title{Add alpha to hex color}\n\\usage{\napply_alpha(color_hex, opacity = 0.5)\n}\n\\arguments{\n\\item{color_hex}{A character string representing a hex color}\n\n\\item{opacity}{Desired opacity of the output color}\n}\n\\value{\nA character string with added opacity level as hexadecimal characters.\n}\n\\description{\nApplies alpha (or opacity) to a color in hexadecimal form by\nconverting opacity in the \\verb{[0, 1]} range to hex in the \\verb{[0, 255]} range\nand appending to the hex color.\n}\n\\examples{\nblue <- \"#0e6ba8\"\nblue_transparent <- apply_alpha(blue)\n\nif (requireNamespace(\"scales\", quietly = TRUE)) {\n  scales::show_col(c(blue, blue_transparent))\n}\n}\n"
  },
  {
    "path": "man/choose_dark_or_light.Rd",
    "content": "% Generated by roxygen2: do not edit by hand\n% Please edit documentation in R/color.R\n\\name{choose_dark_or_light}\n\\alias{choose_dark_or_light}\n\\title{Choose dark or light color}\n\\usage{\nchoose_dark_or_light(x, black = \"#000000\", white = \"#FFFFFF\")\n}\n\\arguments{\n\\item{x}{The background color (hex)}\n\n\\item{black}{Text or foreground color, e.g. \"#222\" or\n\\code{substitute(darken_color(x, 0.8))}, if black text provides the best contrast.}\n\n\\item{white}{Text or foreground color or expression, e.g. \"#EEE\" or\n\\code{substitute(lighten_color(x, 0.8))}, if white text provides the best contrast.}\n}\n\\value{\nThe \\code{black} color or \\code{white} color according to which color provides\nthe greates contrast with the input color.\n}\n\\description{\nTakes a color input as \\code{x} and returns either the black or white color (or\nexpression) if dark or light text should be used over the input color for\nbest contrast. Follows W3C Recommendations.\n}\n\\examples{\nlight_green <- \"#c4d6b0\"\ncontrast_green <- choose_dark_or_light(light_green)\ndark_purple <- \"#381d2a\"\ncontrast_purple <- choose_dark_or_light(dark_purple)\n\nif (requireNamespace(\"scales\", quietly = TRUE)) {\n  scales::show_col(c(light_green, contrast_green, dark_purple, contrast_purple))\n}\n}\n\\references{\n\\url{https://stackoverflow.com/a/3943023/2022615}\n}\n"
  },
  {
    "path": "man/fragments/_colors.Rmd",
    "content": "When designing your xaringan theme,\nyou may have additional colors in your desired color palette\nbeyond those used in the accent colors of the mono and duotone styles.\n\nThe `style*()` functions in xaringanthemer\ninclude a `colors` argument that lets you \nquickly define additional colors to use in your slides.\nThis argument takes a vector of named colors\n\n```r\ncolors = c(\n  red = \"#f34213\",\n  purple = \"#3e2f5b\",\n  orange = \"#ff8811\",\n  green = \"#136f63\",\n  white = \"#FFFFFF\"\n)\n```\n\nand creates CSS classes from the color name \nthat set the text color — e.g. `.red` —\nor that set the background color — e.g. `.bg-red`.\nIf you use custom CSS in your slides,\nthe color name is also stored in a CSS variable —\ne.g. `var(--red)`.\n\nSo slide text like this\n\n```markdown\nThis **.red[simple]** .white.bg-purple[demo] \n_.orange[shows]_ the colors .green[in action].\n```\n\nwill be rendered in HTML as\n\n<blockquote>\nThis <strong><span style=\"color: #f34213\">simple</span></strong>\n<span style=\"color:#FFFFFF;background-color:#3e2f5b;\">demo</span>\n<em style=\"color:#ff8811\">shows</em>\nthe colors\n<span style=\"color:#136f63\">in action</span>.\n</blockquote>\n\nNote that the color names in `colors`\nneed to be valid CSS names,\nso `\"purple-light\"` will work,\nbut `\"purple light\"` will not.\n"
  },
  {
    "path": "man/fragments/_fonts.Rmd",
    "content": "<!-- Need to set [adding-custom-css] -->\n\n[google-fonts]: https://fonts.google.com\n\n<link href=\"https://fonts.googleapis.com/css2?family=Cabin:wght@600&family=Noto+Sans&display=swap\" rel=\"stylesheet\">\n\n```{css echo=FALSE}\n.cabin {\n  font-family: Cabin;\n  font-weight: 600\n}\n.noto-sans {\n  font-family: 'Noto Sans';\n}\n.font-preview {\n  padding: 1em;\n  margin-top: 1em;\n  margin-bottom: 1em;\n  border: 1px solid #dddddd;\n  border-radius: 3px;\n  font-size: 1.25em;\n}\n```\n\n### Default Fonts\n\nThe default heading and body fonts used in **xaringanthemer**\nare different than the xaringan default fonts.\nIn xaringanthemer,\n[Cabin](https://fonts.google.com/specimen/Cabin)\nis used for headings and \n[Noto Sans](https://fonts.google.com/specimen/Noto+Sans)\nfor body text.\n\n<div class=\"font-preview\">\n<p style=\"font-size: 1.5em\" class=\"cabin\">A Cabin in the Clearing</p>\n<p class=\"noto-sans\">Pack my box with five dozen liquor jugs. Amazingly few discotheques provide jukeboxes.</p>\n</div>\n\n\nThese fonts are easier to read on screens and at a distance during presentations, \nand they support a wide variety of languages and weights. \nAnother reason for the change is that the xaringan (remarkjs) default body font, \n_Droid Serif_, \nis no longer officially included in Google Fonts.\n\nIf you would like to use the fonts from the\n[default xaringan theme](https://slides.yihui.org/xaringan/), \nyou can use the following arguments in your style function.\n\n```{r eval=FALSE, echo=TRUE}\nstyle_xaringan(\n  text_font_family = \"Droid Serif\",\n  text_font_url = \"https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic\",\n  header_font_google = google_font(\"Yanone Kaffeesatz\")\n)\n```\n\n### Custom and _Google Font_ Fonts\n\n**xaringanthemer** makes it easy to use\n[Google Fonts][google-fonts]\nin your presentations\n(provided you have an internet connection during the presentation)\nor to fully specify your font files.\n\nTo use [Google Fonts][google-fonts], \nset the `<type>_font_google` theme arguments --\n```{r results='asis', echo=FALSE}\ncat(paste0(\"`\", tvv[grepl(\"_font_google$\", tvv)], \"`\", collapse = \", \"))\n```\n--- using the `google_font()` helper.\nThe help documentation in `?google_font` provides more info.\n\n```{r eval=FALSE, echo=TRUE}\nstyle_mono_light(\n  header_font_google = google_font(\"Josefin Slab\", \"600\"),\n  text_font_google   = google_font(\"Work Sans\", \"300\", \"300i\"),\n  code_font_google   = google_font(\"IBM Plex Mono\")\n)\n```\n\nIf you set an `<type>_font_google` theme arguments, \nthen `<type>_font_family`, `<type>_font_weight` and `<type>_font_url` \nare overwritten -- \nwhere `<type>` is one of `header`, `text`, or `code`.\n\nTo use a font hosted outside of Google fonts,\nyou need to provide both `<type>_font_family` and `<type>_font_url`.\nFor example, \nsuppose you want to use a code font with ligatures for your code chunks, \nsuch as \n[Fira Code](https://github.com/tonsky/FiraCode),\nwhich would be declared with `code_font_family`.\nThe\n[browser usage](https://github.com/tonsky/FiraCode#browser-support)\nsection of the Fira Code README\nprovides a CSS URL to be used with an `@import` statement\nthat you can use with the `code_font_url` argument.\n\n```{r eval=FALSE, echo=TRUE}\nstyle_solarized_dark(\n  code_font_family = \"Fira Code\",\n  code_font_url = \"https://cdn.jsdelivr.net/gh/tonsky/FiraCode@2/distr/fira_code.css\"\n)\n```\n\nRemember that you need to supply either \n`<type>_google_font` using the `google_font()` helper\n_or both_ `<type>_font_family` and `<type>_font_url`.\n\n### Using Additional Fonts\n\nIf you want to use additional fonts for use in [custom CSS definitions][adding-custom-css], \nuse the `extra_fonts` argument to pass a list of URLs or `google_font()`s.\nNotice that you will need to add custom CSS (for example, via `extra_css`)\nto use the fonts imported in `extra_fonts`.\n\n```{r eval=FALSE, echo=TRUE}\nstyle_mono_light(\n  extra_fonts = list(\n    google_font(\"Sofia\"),\n    # Young Serif by uplaod.fr\n    \"https://cdn.jsdelivr.net/gh/uplaod/YoungSerif/fonts/webfonts/fontface.css\",\n  ),\n  extra_css = list(\n    \".title-slide h2\" = list(\"font-family\" = \"Sofia\"),\n    blockquote = list(\"font-family\" = \"youngserifregular\")\n  )\n)\n```\n"
  },
  {
    "path": "man/fragments/_installation.Rmd",
    "content": "You can install **xaringanthemer** from CRAN\n\n```r\ninstall.packages(\"xaringanthemer\")\n```\n\nor you can install the development version of xaringanthemer from [GitHub](https://github.com/gadenbuie/xaringanthemer).\n\n```r\n# install.packages(\"remotes\")\nremotes::install_github(\"gadenbuie/xaringanthemer\")\n```\n"
  },
  {
    "path": "man/fragments/_quick-intro.Rmd",
    "content": "<!-- Set link to theme-settings, template-variables, theme functions -->\n\n```{r include=FALSE}\nIN_PKGDOWN <- identical(Sys.getenv(\"IN_PKGDOWN\"), \"true\")\n```\n\nFirst, add the `xaringan-themer.css` file to the YAML header of your xaringan slides.\n\n```yaml\noutput:\n  xaringan::moon_reader:\n    css: xaringan-themer.css\n```\n\nThen, in a hidden chunk just after the knitr setup chunk, load **xaringanthemer** and try one of the [theme functions][theme-functions].\n\n````markdown\n```{r xaringan-themer, include=FALSE, warning=FALSE}`r \"\"`\nlibrary(xaringanthemer)\nstyle_mono_accent(\n  base_color = \"#1c5253\",\n  header_font_google = google_font(\"Josefin Sans\"),\n  text_font_google   = google_font(\"Montserrat\", \"300\", \"300i\"),\n  code_font_google   = google_font(\"Fira Mono\")\n)\n```\n````\n\n<img src=\"https://raw.githubusercontent.com/gadenbuie/xaringanthemer/assets/example_mono_accent_1c5253.png\" alt=\"Example title and normal slides using a green xaringanthemer theme\" data-external=\"1\" />\n\n### Matching ggplot Themes\n\n[showtext]: https://github.com/yixuan/showtext\n\n**xaringanthemer** even provides a [ggplot2] theme \nwith `theme_xaringan()`\nthat uses the colors and fonts from your slide theme.\nBuilt on the [showtext] package,\nand designed to work seamlessly with [Google Fonts](https://fonts.google.com).\n\nColor and fill scales are also provided\nfor matching sequential color scales based on \nthe primary color used in your slides.\nSee `?scale_xaringan` for more details.\n\nMore details and examples can be found in `vignette(\"ggplot2-themes\")`.\n\n```{r xaringanthemer-ggplot-setup, include=FALSE, eval=!IN_PKGDOWN}\nstyle_mono_accent(\n  base_color = \"#1c5253\",\n  header_font_google = google_font(\"Josefin Sans\"),\n  text_font_google   = google_font(\"Montserrat\", \"300\", \"300i\"),\n  code_font_google   = google_font(\"Fira Mono\"),\n  outfile = NULL\n)\n```\n\n```{r theme_xaringan_demo, echo=TRUE, warning=FALSE, fig.width=13, fig.height=5.5, eval=!IN_PKGDOWN, fig.showtext=TRUE}\nlibrary(ggplot2)\nggplot(diamonds) +\n  aes(cut, fill = cut) +\n  geom_bar(show.legend = FALSE) +\n  labs(\n    x = \"Cut\",\n    y = \"Count\",\n    title = \"A Fancy diamonds Plot\"\n  ) +\n  theme_xaringan(background_color = \"#FFFFFF\") +\n  scale_xaringan_fill_discrete()\n```\n\n```{r link-to-plot-image, echo=FALSE, eval=IN_PKGDOWN, results='asis'}\ncat(\"![](../reference/figures/index-theme_xaringan_demo-1.png)\")\n```\n\n\n### Tab Completion\n\n**xaringanthemer** is <kbd>Tab</kbd> friendly -- [use autocomplete to explore][theme-settings] the [template variables][template-variables] that you can adjust in each of the themes!\n\n<img src=\"https://raw.githubusercontent.com/gadenbuie/xaringanthemer/assets/example-rstudio-completion.gif\" alt=\"Demonstration of argument auto-completion with RStudio\" data-external=\"1\" />\n\n### R Markdown Template in RStudio\n\nYou can also skip the above and just create a *Ninja Themed Presentation* from the New R Markdown Document menu in RStudio.\n\n<center>\n<img src=\"https://raw.githubusercontent.com/gadenbuie/xaringanthemer/assets/rmarkdown-template-screenshot.png\" alt=\"The 'New R Markdown Document' menu in RStudio\" data-external=\"1\" />\n</center>\n"
  },
  {
    "path": "man/fragments/_tagline-gif.Rmd",
    "content": "[xaringan]: https://github.com/yihui/xaringan\n\nGive your [xaringan] slides some style with **xaringanthemer** within your `slides.Rmd` file without (much) CSS.\n\n<img src=\"https://raw.githubusercontent.com/gadenbuie/xaringanthemer/assets/examples.gif\" alt=\"Animation previewing many xaringanthemer themes\" />\n"
  },
  {
    "path": "man/fragments/_thanks.Rmd",
    "content": "***\n\n[xaringan]: https://github.com/yihui/xaringan\n[remarkjs]: https://github.com/gnab/remark\n\n**xaringanthemer** was built by [Garrick Aden-Buie](https://www.garrickadenbuie.com) ([&commat;grrrck](https://twitter.com/grrrck)).\n\nBig thank you to [Yihui Xie](https://yihui.org/), especially for [xaringan].\nAlso thanks to [Ole Petter Bang](https://gnab.org/) for [remark.js][remarkjs].\n\nFeel free to [file an issue](https://github.com/gadenbuie/xaringanthemer/issues)\nif you find a bug or have a theme suggestion -- or better yet, submit a pull request!\n"
  },
  {
    "path": "man/fragments/_themes.Rmd",
    "content": "**xaringanthemer** includes a number of functions that provide\nthemed **xaringan** styles.\nAll of the styling functions start with the `style_` prefix.\n\nThe goal of each style function is to \nquickly set up a coordinated color palette for your slides\nbased on one or two starter colors.\nStyles based on one color start with `style_mono_`\nand styles based on two colors start with `style_duo_`.\nHow the starter colors are used is described \nin the final portion of the style function name.\nFor example, `style_mono_accent()` uses a single color as an accent color.\n\nNote that the colors used below are for demonstration only,\nthe point of the `style_` functions is for you to choose your own color palette!\n\nIf your color palette uses more than two colors,\nyou can add additional colors with the `colors` argument.\nSee the [Colors](#colors) section for more information.\n\n### Monotone\n\n```{r include=FALSE}\nIS_README <- exists(\"IS_README\") && IS_README\ninclude_graphic <- function(img_path) {\n  glue::glue(\n    '<img src=\"https://raw.githubusercontent.com/gadenbuie/', \n    'xaringanthemer/assets/{img_path}\" data-external=\"1\" />'\n  )\n}\n```\n\nUse these functions to automatically create a consistent color palette for your slides, based around a single color.\n\n#### `style_mono_light()`\n\nA light theme based around a single color.\n\n```{r style_mono_light}\ndemo_function_call <- function(f, n_params = 1) {\n  cat(sep = \"\",\n    \"```r\\n\",\n    paste(substitute(f)), \"(\",\n    if (n_params > 0) paste(collapse = \", \",\n      sapply(1:n_params, function(i) {\n        paste0(names(formals(f))[i], ' = \"', formals(f)[[i]], '\"')})),\n    \")\\n```\"\n    )\n}\ndemo_function_call(style_mono_light, 1)\n```\n\n`r include_graphic(\"example_mono_light.png\")`\n\n#### `style_mono_dark()`\n\nA dark theme based around a single color.\n\n```{r style_mono_dark}\ndemo_function_call(style_mono_dark, 1)\n```\n\n`r include_graphic(\"example_mono_dark.png\")`\n\n#### `style_mono_accent()`\n\nThe default xaringan theme with a single color used for color accents on select elements (headers, bold text, etc.).\n\n```{r style_mono_accent}\ndemo_function_call(style_mono_accent, 1)\n```\n\n`r include_graphic(\"example_mono_accent.png\")`\n\n#### `style_mono_accent_inverse()`\n\nAn \"inverted\" default xaringan theme with a single color used for color accents on select elements (headers, bold text, etc.).\n\n```{r style_mono_accent_inverse}\ndemo_function_call(style_mono_accent_inverse, 1)\n```\n\n`r include_graphic(\"example_mono_accent_inverse.png\")`\n\n\n### Duotone\n\nThese themes build from two (ideally) complementary colors.\n\n#### `style_duo()`\n\nA two-colored theme based on a primary and secondary color.\n\n```{r style_duo}\ndemo_function_call(style_duo, 2)\n```\n\n`r include_graphic(\"example_duo.png\")`\n\n#### `style_duo_accent()`\n\nThe default Xaringan theme with two accent colors.\n\n```{r style_duo_accent}\ndemo_function_call(style_duo_accent, 2)\n```\n\n`r include_graphic(\"example_duo_accent.png\")`\n\n#### `style_duo_accent_inverse()`\n\nAn \"inverted\" default Xaringan theme with two accent colors.\n\n```{r style_duo_accent_inverse}\ndemo_function_call(style_duo_accent_inverse, 2)\n```\n\n`r include_graphic(\"example_duo_accent_inverse.png\")`\n\n### Solarized\n\nThere are also two themes based around the [solarized color palette](https://ethanschoonover.com/solarized/), `style_solarized_light()` and `style_solarized_dark()`.\nFor both themes, it is advisted to change the syntax highlighting theme to `solarized-light` or `solarized-dark` (looks great paired or constrasted).\n\n#### `style_solarized_light()`\n\n```{r style_solarized_light}\ndemo_function_call(style_solarized_light, 0)\n```\n\n`r include_graphic(\"example_solarized_light.png\")`\n\n#### `style_solarized_dark()`\n\n```{r style_solarized_dark}\ndemo_function_call(style_solarized_dark, 0)\n```\n\n`r include_graphic(\"example_solarized_dark.png\")`\n\n\nTo do this, your YAML header should look more-or-less like this:\n\n```yaml\noutput:\n  xaringan::moon_reader:\n    css: [\"xaringan-themer.css\"]\n    nature:\n      highlightStyle: solarized-dark\n      highlightLines: true\n      countIncrementalSlides: false\n```\n"
  },
  {
    "path": "man/google_font.Rd",
    "content": "% Generated by roxygen2: do not edit by hand\n% Please edit documentation in R/utils.R\n\\name{google_font}\n\\alias{google_font}\n\\title{Specify Google Font}\n\\usage{\ngoogle_font(family, ..., languages = NULL)\n}\n\\arguments{\n\\item{family}{Font family}\n\n\\item{...}{Font weights to include, example \"400\", \"400i\"}\n\n\\item{languages}{Font languages to include (dependent on the font.) See\n\\code{\\link[=google_language_codes]{google_language_codes()}}.}\n}\n\\value{\nA \\code{\"google_font\"} object.\n}\n\\description{\nBuilds Google Fonts URL from family name. Extra weights are given in the\n\\code{...} parameters. Languages can be specified in \\code{languages} and must one or\nmore of the language codes as given by \\code{google_language_codes()}.\n}\n\\examples{\ngoogle_font(\"Josefin Sans\", \"400\", \"400i\", \"600i\", \"700\")\ngoogle_font(\"Josefin Sans\", languages = c(\"latin-ext\", \"vietnamese\"))\n}\n"
  },
  {
    "path": "man/google_language_codes.Rd",
    "content": "% Generated by roxygen2: do not edit by hand\n% Please edit documentation in R/utils.R\n\\name{google_language_codes}\n\\alias{google_language_codes}\n\\title{List Valid Google Language Codes}\n\\usage{\ngoogle_language_codes(\n  language_codes = c(\"latin\", \"latin-ext\", \"sinhala\", \"greek\", \"hebrew\", \"vietnamese\",\n    \"cyrillic\", \"cyrillic-ext\", \"devanagari\", \"arabic\", \"khmer\", \"tamil\", \"greek-ext\",\n    \"thai\", \"bengali\", \"gujarati\", \"oriya\", \"malayalam\", \"gurmukhi\", \"kannada\", \"telugu\",\n    \"myanmar\")\n)\n}\n\\arguments{\n\\item{language_codes}{Vector of potential Google language codes}\n}\n\\value{\nA vector of Google Font language codes matching \\code{language_codes}.\n}\n\\description{\nGives a list of valid Language Codes for Google Fonts, or\nvalidates that the language codes given are valid.\n}\n\\seealso{\n\\code{\\link[=google_font]{google_font()}}\n}\n"
  },
  {
    "path": "man/lighten_darken_color.Rd",
    "content": "% Generated by roxygen2: do not edit by hand\n% Please edit documentation in R/color.R\n\\name{lighten_darken_color}\n\\alias{lighten_darken_color}\n\\alias{lighten_color}\n\\alias{darken_color}\n\\title{Generate lighter or darker version of a color}\n\\usage{\nlighten_color(color_hex, strength = 0.7)\n\ndarken_color(color_hex, strength = 0.8)\n}\n\\arguments{\n\\item{color_hex}{A character string representing a hex color}\n\n\\item{strength}{The \"strength\" of the blend with white or black,\nwhere 0 is entirely the original color and 1 is entirely white\n(\\code{lighten_color()}) or black (\\code{darken_color()}).}\n}\n\\value{\nA character string with the lightened or darkened color in\nhexadecimal format.\n}\n\\description{\nProduces a linear blend of the color with white or black.\n}\n\\examples{\nblue <- \"#0e6ba8\"\nblue_light <- lighten_color(blue, strength = 0.33)\nblue_dark <- darken_color(blue, strength = 0.33)\n\nif (requireNamespace(\"scales\", quietly = TRUE)) {\n  scales::show_col(c(blue_light, blue, blue_dark))\n}\n}\n"
  },
  {
    "path": "man/scale_xaringan.Rd",
    "content": "% Generated by roxygen2: do not edit by hand\n% Please edit documentation in R/ggplot2.R\n\\name{scale_xaringan}\n\\alias{scale_xaringan}\n\\alias{scale_xaringan_discrete}\n\\alias{scale_xaringan_fill_discrete}\n\\alias{scale_xaringan_color_discrete}\n\\alias{scale_xaringan_colour_discrete}\n\\alias{scale_xaringan_continuous}\n\\alias{scale_xaringan_fill_continuous}\n\\alias{scale_xaringan_color_continuous}\n\\alias{scale_xaringan_colour_continuous}\n\\title{Themed ggplot2 Scales}\n\\usage{\nscale_xaringan_discrete(\n  aes_type = c(\"color\", \"colour\", \"fill\"),\n  ...,\n  color = NULL,\n  direction = 1,\n  inverse = FALSE,\n  na.value = \"grey50\"\n)\n\nscale_xaringan_fill_discrete(..., color = NULL, direction = 1, inverse = FALSE)\n\nscale_xaringan_color_discrete(\n  ...,\n  color = NULL,\n  direction = 1,\n  inverse = FALSE\n)\n\nscale_xaringan_colour_discrete(\n  ...,\n  color = NULL,\n  direction = 1,\n  inverse = FALSE\n)\n\nscale_xaringan_continuous(\n  aes_type = c(\"color\", \"colour\", \"fill\"),\n  ...,\n  color = NULL,\n  begin = 0,\n  end = 1,\n  inverse = FALSE,\n  na.value = \"grey50\"\n)\n\nscale_xaringan_fill_continuous(\n  ...,\n  color = NULL,\n  begin = 0,\n  end = 1,\n  inverse = FALSE\n)\n\nscale_xaringan_color_continuous(\n  ...,\n  color = NULL,\n  begin = 0,\n  end = 1,\n  inverse = FALSE\n)\n\nscale_xaringan_colour_continuous(\n  ...,\n  color = NULL,\n  begin = 0,\n  end = 1,\n  inverse = FALSE\n)\n}\n\\arguments{\n\\item{aes_type}{The type of aesthetic to which the scale is being applied.\nOne of \"color\", \"colour\", or \"fill\".}\n\n\\item{...}{Arguments passed on to either the \\pkg{colorspace} scale\nfunctions — one of \\code{\\link[colorspace:scale_colour_discrete_sequential]{colorspace::scale_color_discrete_sequential()}},\n\\code{\\link[colorspace:scale_colour_continuous_sequential]{colorspace::scale_color_continuous_sequential()}},\n\\code{\\link[colorspace:scale_colour_discrete_sequential]{colorspace::scale_fill_discrete_sequential()}}, or\n\\code{\\link[colorspace:scale_colour_continuous_sequential]{colorspace::scale_fill_continuous_sequential()}} — or to\n\\link[ggplot2:continuous_scale]{ggplot2::continuous_scale} or \\link[ggplot2:discrete_scale]{ggplot2::discrete_scale}.}\n\n\\item{color}{A color value, in hex, to override the default color. Otherwise,\nthe primary color of the resulting scale is chosen from the xaringanthemer\nslide styles.}\n\n\\item{direction}{Direction of the discrete scale. Use values less than 0 to\nreverse the direction, e.g. \\code{direction = -1}.}\n\n\\item{inverse}{If \\code{color} is not supplied and \\code{inverse = TRUE}, a primary\ncolor is chosen to work well with the inverse slide styles, namely the\nvalue of \\code{inverse_header_color}}\n\n\\item{na.value}{Color to be used for missing data points.}\n\n\\item{begin}{Number in the range of \\code{[0, 1]} indicating to which point in the color scale the smallest data value should be mapped.}\n\n\\item{end}{Number in the range of \\code{[0, 1]} indicating to which point in the color scale the largest data value should be mapped.}\n}\n\\description{\n\\ifelse{html}{\\href{https://lifecycle.r-lib.org/articles/stages.html#maturing}{\\figure{lifecycle-maturing.svg}{options: alt='[Maturing]'}}}{\\strong{[Maturing]}}\n\nColor and fill single-color scales for discrete and continuous values,\ncreated using the primary accent color of the xaringanthemer styles.  See\n\\code{vignette(\"ggplot2-themes\")} for more information and examples of\n\\pkg{xaringanthemer}'s \\pkg{ggplot2}-related functions.\n}\n\\examples{\n# Requires ggplot2\nhas_ggplot2 <- requireNamespace(\"ggplot2\", quietly = TRUE)\n\nif (has_ggplot2) {\n  library(ggplot2)\n  # Saving the theme to a temp file because this is an example\n  path_to_css_file <- tempfile(fileext = \".css\")\n\n  # Create the xaringan theme: dark blue background with teal green accents\n  style_duo(\n    primary_color = \"#002b36\",\n    secondary_color = \"#31b09e\",\n    # Using basic fonts for this example, but the plot theme will\n    # automatically use your theme font if you use Google fonts\n    text_font_family = \"sans\",\n    header_font_family = \"serif\",\n    outfile = path_to_css_file\n  )\n\n  # Here's some very basic example data\n  ex <- data.frame(\n    name = c(\"Couple\", \"Few\", \"Lots\", \"Many\"),\n    n = c(2, 3, 5, 7)\n  )\n\n  # Fill color scales demo\n  ggplot(ex) +\n    aes(name, n, fill = n) +\n    geom_col() +\n    ggtitle(\"Matching fill scales\") +\n    # themed to match the slides: dark blue background with teal text\n    theme_xaringan() +\n    # Fill color matches teal text\n    scale_xaringan_fill_continuous()\n\n  # Color scales demo\n  ggplot(ex) +\n    aes(name, y = 1, color = name) +\n    geom_point(size = 10) +\n    ggtitle(\"Matching color scales\") +\n    # themed to match the slides: dark blue background with teal text\n    theme_xaringan() +\n    # Fill color matches teal text\n    scale_xaringan_color_discrete(direction = -1)\n}\n}\n"
  },
  {
    "path": "man/style_duo.Rd",
    "content": "% Generated by roxygen2: do not edit by hand\n% Please edit documentation in R/style_duo.R\n\\name{style_duo}\n\\alias{style_duo}\n\\title{Duotone Theme}\n\\usage{\nstyle_duo(\n  primary_color = \"#1F4257\",\n  secondary_color = \"#F97B64\",\n  text_color = choose_dark_or_light(primary_color, darken_color(primary_color, 0.9),\n    lighten_color(secondary_color, 0.99)),\n  header_color = secondary_color,\n  background_color = primary_color,\n  link_color = secondary_color,\n  text_bold_color = secondary_color,\n  text_slide_number_color = text_color,\n  padding = \"16px 64px 16px 64px\",\n  background_image = NULL,\n  background_size = NULL,\n  background_position = NULL,\n  code_highlight_color = \"rgba(255,255,0,0.5)\",\n  code_inline_color = secondary_color,\n  code_inline_background_color = NULL,\n  code_inline_font_size = \"1em\",\n  inverse_background_color = secondary_color,\n  inverse_text_color = primary_color,\n  inverse_text_shadow = FALSE,\n  inverse_header_color = inverse_text_color,\n  inverse_link_color = link_color,\n  title_slide_text_color = secondary_color,\n  title_slide_background_color = primary_color,\n  title_slide_background_image = NULL,\n  title_slide_background_size = NULL,\n  title_slide_background_position = NULL,\n  footnote_color = NULL,\n  footnote_font_size = \"0.9em\",\n  footnote_position_bottom = \"60px\",\n  left_column_subtle_color = apply_alpha(secondary_color, 0.6),\n  left_column_selected_color = secondary_color,\n  blockquote_left_border_color = apply_alpha(secondary_color, 0.5),\n  table_border_color = \"#666\",\n  table_row_border_color = \"#ddd\",\n  table_row_even_background_color = lighten_color(primary_color, 0.9),\n  base_font_size = \"20px\",\n  text_font_size = \"1rem\",\n  header_h1_font_size = \"2.75rem\",\n  header_h2_font_size = \"2.25rem\",\n  header_h3_font_size = \"1.75rem\",\n  header_background_auto = FALSE,\n  header_background_color = header_color,\n  header_background_text_color = background_color,\n  header_background_padding = NULL,\n  header_background_content_padding_top = \"7rem\",\n  header_background_ignore_classes = c(\"normal\", \"inverse\", \"title\", \"middle\", \"bottom\"),\n  text_slide_number_font_size = \"0.9rem\",\n  text_font_google = NULL,\n  text_font_family = xaringanthemer_font_default(\"text_font_family\"),\n  text_font_weight = xaringanthemer_font_default(\"text_font_weight\"),\n  text_bold_font_weight = \"bold\",\n  text_font_url = xaringanthemer_font_default(\"text_font_url\"),\n  text_font_family_fallback = xaringanthemer_font_default(\"text_font_family_fallback\"),\n  text_font_base = \"sans-serif\",\n  header_font_google = NULL,\n  header_font_family = xaringanthemer_font_default(\"header_font_family\"),\n  header_font_weight = xaringanthemer_font_default(\"header_font_weight\"),\n  header_font_family_fallback = \"Georgia, serif\",\n  header_font_url = xaringanthemer_font_default(\"header_font_url\"),\n  code_font_google = NULL,\n  code_font_family = xaringanthemer_font_default(\"code_font_family\"),\n  code_font_size = \"0.9rem\",\n  code_font_url = xaringanthemer_font_default(\"code_font_url\"),\n  code_font_family_fallback = xaringanthemer_font_default(\"code_font_family_fallback\"),\n  link_decoration = \"none\",\n  colors = NULL,\n  extra_css = NULL,\n  extra_fonts = NULL,\n  outfile = \"xaringan-themer.css\"\n)\n}\n\\arguments{\n\\item{primary_color}{Duotone Primary Color. Defaults to #1F4257. Used in\nmultiple CSS rules. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--primary)} in any argument of a\nstyle function or in custom CSS.}\n\n\\item{secondary_color}{Duotone Secondary Color. Defaults to #F97B64. Used in\nmultiple CSS rules. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--secondary)} in any argument of\na style function or in custom CSS.}\n\n\\item{text_color}{Text Color. Defaults to\n\\code{choose_dark_or_light(primary_color, darken_color(primary_color, 0.9), lighten_color(secondary_color, 0.99))}.\nModifies the \\code{body} element. The value of this variable is also stored as\na CSS variable that can be referenced with \\code{var(--text_color)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_color}{Header Color. Defaults to \\code{secondary_color}. Modifies\nthe \\verb{h1, h2, h3} elements. The value of this variable is also stored as a\nCSS variable that can be referenced with \\code{var(--header-color)} in any\nargument of a style function or in custom CSS.}\n\n\\item{background_color}{Slide Background Color. Defaults to \\code{primary_color}.\nModifies the \\code{.remark-slide-content} class. The value of this variable is\nalso stored as a CSS variable that can be referenced with\n\\code{var(--background-color)} in any argument of a style function or in custom\nCSS.}\n\n\\item{link_color}{Link Color. Defaults to \\code{secondary_color}. Modifies the\n\\verb{a, a > code} elements. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--link-color)} in any argument\nof a style function or in custom CSS.}\n\n\\item{text_bold_color}{Bold Text Color. Defaults to \\code{secondary_color}.\nModifies the \\code{strong} element. The value of this variable is also stored\nas a CSS variable that can be referenced with \\code{var(--text-bold-color)} in\nany argument of a style function or in custom CSS.}\n\n\\item{text_slide_number_color}{Slide Number Color. Defaults to \\code{text_color}.\nModifies the \\code{.remark-slide-number} class.}\n\n\\item{padding}{Slide Padding in \\verb{top right [bottom left]} format. Defaults\nto 16px 64px 16px 64px. Modifies the \\code{.remark-slide-content} class.\nAccepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/padding}{padding}\nproperty values.}\n\n\\item{background_image}{Background image applied to each \\emph{and every} slide.\nSet \\code{title_slide_background_image = \"none\"} to remove the background image\nfrom the title slide. Defaults to \\code{NULL}. Modifies the\n\\code{.remark-slide-content} class.}\n\n\\item{background_size}{Background image size, requires \\code{background_image} to\nbe set. If \\code{background_image} is set, \\code{background_size} will default to\n\\code{cover} so the background fills the screen. If both \\code{background_image} and\n\\code{background_position} are set, will default to 100 percent. Defaults to\n\\code{NULL}. Modifies the \\code{.remark-slide-content} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}\nproperty values.}\n\n\\item{background_position}{Background image position, requires\n\\code{background_image} to be set, and it is recommended to adjust\n\\code{background_size}. Defaults to \\code{NULL}. Modifies the\n\\code{.remark-slide-content} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-position}{background-position}\nproperty values.}\n\n\\item{code_highlight_color}{Code Line Highlight. Defaults to\nrgba(255,255,0,0.5). Modifies the \\code{.remark-code-line-highlighted} class.\nThe value of this variable is also stored as a CSS variable that can be\nreferenced with \\code{var(--code-highlight-color)} in any argument of a style\nfunction or in custom CSS.}\n\n\\item{code_inline_color}{Inline Code Color. Defaults to \\code{secondary_color}.\nModifies the \\code{.remark-inline-code} class.}\n\n\\item{code_inline_background_color}{Inline Code Background Color. Defaults\nto \\code{NULL}. Modifies the \\code{.remark-inline-code} class.}\n\n\\item{code_inline_font_size}{Inline Code Text Font Size. Defaults to 1em.\nModifies the \\code{.remark-inline-code} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--code-inline-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{inverse_background_color}{Inverse Background Color. Defaults to\n\\code{secondary_color}. Modifies the \\code{.inverse} class. The value of this\nvariable is also stored as a CSS variable that can be referenced with\n\\code{var(--inverse-background-color)} in any argument of a style function or\nin custom CSS.}\n\n\\item{inverse_text_color}{Inverse Text Color. Defaults to \\code{primary_color}.\nModifies the \\code{.inverse} class. The value of this variable is also stored\nas a CSS variable that can be referenced with \\code{var(--inverse-text-color)}\nin any argument of a style function or in custom CSS.}\n\n\\item{inverse_text_shadow}{Enables Shadow on text of inverse slides.\nDefaults to \\code{FALSE}. Modifies the \\code{.inverse} class.}\n\n\\item{inverse_header_color}{Inverse Header Color. Defaults to\n\\code{inverse_text_color}. Modifies the \\verb{.inverse h1, .inverse h2, .inverse h3}\nclasses. The value of this variable is also stored as a CSS variable that\ncan be referenced with \\code{var(--inverse-header-color)} in any argument of a\nstyle function or in custom CSS.}\n\n\\item{inverse_link_color}{Inverse Link Color. Defaults to \\code{link_color}.\nModifies the \\verb{.inverse a, .inverse a > code} classes. The value of this\nvariable is also stored as a CSS variable that can be referenced with\n\\code{var(--inverse-link-color)} in any argument of a style function or in\ncustom CSS.}\n\n\\item{title_slide_text_color}{Title Slide Text Color. Defaults to\n\\code{secondary_color}. Modifies the \\code{.title-slide} class. The value of this\nvariable is also stored as a CSS variable that can be referenced with\n\\code{var(--title-slide-text-color)} in any argument of a style function or in\ncustom CSS.}\n\n\\item{title_slide_background_color}{Title Slide Background Color. Defaults\nto \\code{primary_color}. Modifies the \\code{.title-slide} class. The value of this\nvariable is also stored as a CSS variable that can be referenced with\n\\code{var(--title-slide-background-color)} in any argument of a style function\nor in custom CSS.}\n\n\\item{title_slide_background_image}{Title Slide Background Image URL.\nDefaults to \\code{NULL}. Modifies the \\code{.title-slide} class.}\n\n\\item{title_slide_background_size}{Title Slide Background Image Size,\ndefaults to \"cover\" if background image is set. Defaults to \\code{NULL}.\nModifies the \\code{.title-slide} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}\nproperty values.}\n\n\\item{title_slide_background_position}{Title Slide Background Image\nPosition. Defaults to \\code{NULL}. Modifies the \\code{.title-slide} class. Accepts\nCSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-position}{background-position}\nproperty values.}\n\n\\item{footnote_color}{Footnote text color (if \\code{NA}, then it will be the same\ncolor as \\code{text_color}). Defaults to \\code{NULL}. Modifies the \\code{.footnote}\nclass.}\n\n\\item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies\nthe \\code{.footnote} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values.}\n\n\\item{footnote_position_bottom}{Footnote location from bottom of screen.\nDefaults to 60px. Modifies the \\code{.footnote} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/position_value}{position}\nproperty values.}\n\n\\item{left_column_subtle_color}{Left Column Text (not last). Defaults to\n\\code{apply_alpha(secondary_color, 0.6)}. Modifies the\n\\verb{.left-column h2, .left-column h3} classes.}\n\n\\item{left_column_selected_color}{Left Column Current Selection. Defaults to\n\\code{secondary_color}. Modifies the\n\\verb{.left-column h2:last-of-type, .left-column h3:last-child} classes.}\n\n\\item{blockquote_left_border_color}{Blockquote Left Border Color. Defaults\nto \\code{apply_alpha(secondary_color, 0.5)}. Modifies the \\code{blockquote} element.}\n\n\\item{table_border_color}{Table top/bottom border. Defaults to #666.\nModifies the \\verb{table: border-top, border-bottom} elements.}\n\n\\item{table_row_border_color}{Table row inner bottom border. Defaults to\n#ddd. Modifies the \\verb{table thead th: border-bottom} elements.}\n\n\\item{table_row_even_background_color}{Table Even Row Background Color.\nDefaults to \\code{lighten_color(primary_color, 0.9)}. Modifies the\n\\verb{thead, tfoot, tr:nth-child(even)} elements.}\n\n\\item{base_font_size}{Base Font Size for All Slide Elements (must be \\code{px}).\nDefaults to 20px. Modifies the \\code{html} element. The value of this variable\nis also stored as a CSS variable that can be referenced with\n\\code{var(--base-font-size)} in any argument of a style function or in custom\nCSS.}\n\n\\item{text_font_size}{Slide Body Text Font Size. Defaults to 1rem. Modifies\nthe \\code{.remark-slide-content} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--text-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_h1_font_size}{h1 Header Text Font Size. Defaults to 2.75rem.\nModifies the \\verb{.remark-slide-content h1} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-h1-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_h2_font_size}{h2 Header Text Font Size. Defaults to 2.25rem.\nModifies the \\verb{.remark-slide-content h2} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-h2-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 1.75rem.\nModifies the \\verb{.remark-slide-content h3} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-h3-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_background_auto}{Add background under slide title automatically\nfor h1 header elements. If not enabled, use \\code{class: header_background} to\nenable. Defaults to \\code{FALSE}.}\n\n\\item{header_background_color}{Background Color for h1 Header with\nBackground. Defaults to \\code{header_color}. Modifies the\n\\verb{.remark-slide-content h1} class. The value of this variable is also\nstored as a CSS variable that can be referenced with\n\\code{var(--header-background-color)} in any argument of a style function or in\ncustom CSS.}\n\n\\item{header_background_text_color}{Text Color for h1 Header with\nBackground. Defaults to \\code{background_color}. Modifies the\n\\verb{.remark-slide-content h1} class. The value of this variable is also\nstored as a CSS variable that can be referenced with\n\\code{var(--header-background-text-color)} in any argument of a style function\nor in custom CSS.}\n\n\\item{header_background_padding}{Padding for h1 Header with Background.\nDefaults to \\code{NULL}. Modifies the \\verb{.remark-slide-content h1} class. Accepts\nCSS \\href{https://developer.mozilla.org/en-US/docs/Web/CSS/padding}{padding}\nproperty values.}\n\n\\item{header_background_content_padding_top}{Top Padding for Content in\nSlide with Header with Background. Defaults to 7rem. Modifies the\n\\code{.remark-slide-content} class.}\n\n\\item{header_background_ignore_classes}{Slide Classes Where Header with\nBackground will not be Applied. Defaults to\n\\code{c('normal', 'inverse', 'title', 'middle', 'bottom')}. Modifies the\n\\code{.remark-slide-content} class.}\n\n\\item{text_slide_number_font_size}{Slide Number Text Font Size. Defaults to\n0.9rem. Modifies the \\code{.remark-slide-number} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values.}\n\n\\item{text_font_google}{Use \\code{google_font()} to specify body font. Defaults\nto \\code{NULL}. Modifies the \\code{body} element.}\n\n\\item{text_font_family}{Body Text Font Family (xaringan default is\n\\code{'Droid Serif'}). Defaults to\n\\code{xaringanthemer_font_default(\"text_font_family\")}. Modifies the \\code{body}\nelement. The value of this variable is also stored as a CSS variable that\ncan be referenced with \\code{var(--text-font-family)} in any argument of a\nstyle function or in custom CSS.}\n\n\\item{text_font_weight}{Body Text Font Weight. Defaults to\n\\code{xaringanthemer_font_default(\"text_font_weight\")}. Modifies the \\code{body}\nelement. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}\nproperty values.}\n\n\\item{text_bold_font_weight}{Body Bold Text Font Weight. Defaults to bold.\nModifies the \\code{strong} element.}\n\n\\item{text_font_url}{Body Text Font URL(s). Defaults to\n\\code{xaringanthemer_font_default(\"text_font_url\")}. Modifies the\n\\verb{@import url()} elements.}\n\n\\item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to\n\\code{xaringanthemer_font_default(\"text_font_family_fallback\")}. Modifies the\n\\code{body} element. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--text-font-family-fallback)} in\nany argument of a style function or in custom CSS.}\n\n\\item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults\nto sans-serif. Modifies the \\code{body} element. The value of this variable is\nalso stored as a CSS variable that can be referenced with\n\\code{var(--text-font-base)} in any argument of a style function or in custom\nCSS.}\n\n\\item{header_font_google}{Use \\code{google_font()} to specify header font.\nDefaults to \\code{NULL}. Modifies the \\code{body} element.}\n\n\\item{header_font_family}{Header Font Family (xaringan default is\n\\code{'Yanone Kaffeesatz'}). Defaults to\n\\code{xaringanthemer_font_default(\"header_font_family\")}. Modifies the\n\\verb{h1, h2, h3} elements. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-font-family)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_font_weight}{Header Font Weight. Defaults to\n\\code{xaringanthemer_font_default(\"header_font_weight\")}. Modifies the\n\\verb{h1, h2, h3} elements. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}\nproperty values.}\n\n\\item{header_font_family_fallback}{Header Font Family Fallback. Defaults to\nGeorgia, serif. Modifies the \\verb{h1, h2, h3} elements. The value of this\nvariable is also stored as a CSS variable that can be referenced with\n\\code{var(--header-font-family-fallback)} in any argument of a style function\nor in custom CSS.}\n\n\\item{header_font_url}{Header Font URL. Defaults to\n\\code{xaringanthemer_font_default(\"header_font_url\")}. Modifies the\n\\verb{@import url} elements.}\n\n\\item{code_font_google}{Use \\code{google_font()} to specify code font. Defaults\nto \\code{NULL}. Modifies the \\code{body} element.}\n\n\\item{code_font_family}{Code Font Family. Defaults to\n\\code{xaringanthemer_font_default(\"code_font_family\")}. Modifies the\n\\verb{.remark-code, .remark-inline-code} classes. The value of this variable is\nalso stored as a CSS variable that can be referenced with\n\\code{var(--code-font-family)} in any argument of a style function or in custom\nCSS.}\n\n\\item{code_font_size}{Code Text Font Size. Defaults to 0.9rem. Modifies the\n\\code{.remark-inline} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--code-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{code_font_url}{Code Font URL. Defaults to\n\\code{xaringanthemer_font_default(\"code_font_url\")}. Modifies the \\verb{@import url}\nelements.}\n\n\\item{code_font_family_fallback}{Code Font Fallback. Defaults to\n\\code{xaringanthemer_font_default(\"code_font_family_fallback\")}. Modifies the\n\\verb{.remark-code, .remark-inline-code} classes.}\n\n\\item{link_decoration}{Text decoration of links. Defaults to none. Modifies\nthe \\verb{a, a > code} elements. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration}{text-decoration}\nproperty values.}\n\n\\item{colors}{A named vector of custom colors. The names of the colors\nbecome CSS variables and classes that can be used within your slides.\nFor example, \\code{colors = c(blue = \"#bad4ed\")} adds a CSS variable\n\\code{--blue}, a \\code{.blue} CSS class that applies the color to the text or\nforeground color, and a \\code{.bg-blue} CSS class that applies the color\nto the background.}\n\n\\item{extra_css}{A named list of CSS definitions each containing a named list\nof CSS property-value pairs, i.e.\n\\code{list(\".class-id\" = list(\"css-property\" = \"value\"))}.}\n\n\\item{extra_fonts}{A list of additional fonts to import, each list element\ncan be either a URL as a character string or a call to\n\\code{\\link{google_font}()}. To use a font imported in \\code{extra_fonts}, you\nwill need to write custom CSS rules that apply the font to an element or\nclass with the \\code{font-family} property. See the \\strong{Fonts} section of\n\\code{vignette(\"xaringanthemer\")} for an example.}\n\n\\item{outfile}{Customized xaringan CSS output file name, default is \"xaringan-themer.css\"}\n}\n\\value{\nThe CSS styles are written to the file path provided in \\code{outfile}\n(by default to \\code{xaringan-themer.css}). If \\code{outfile} is \\code{NULL}, the CSS is\nreturned directly as a character string.\n}\n\\description{\nA duotone theme designed to work well with two complementary\ncolors.\n}\n\\section{Usage}{\n To use the styles created by this theme function, make sure\nthat you use \\code{xaringan-themer.css} as your CSS file in your slides' YAML\nheader. If you change the name of the output file using the \\code{outfile}\nargument, use that name instead of the default file name.\n\n\\if{html}{\\out{<div class=\"sourceCode yaml\">}}\\preformatted{output:\nxaringan::moon_reader:\n  css: xaringan-themer.css\n}\\if{html}{\\out{</div>}}\n}\n\n\\examples{\n# Create a xaringan style in a temporary file\nxaringan_themer_css <- tempfile(\"xaringan-themer-\", fileext = \".css\")\n\nstyle_duo(\n  primary_color = \"#1f4257\",\n  secondary_color = \"#f97b64\",\n  outfile = xaringan_themer_css # omit in your slides to write the\n                                # styles to xaringan-themer.css\n)\n\n# View the CSS:\n# file.edit(xaringan_themer_css)\n}\n\\seealso{\nOther themes: \n\\code{\\link{style_duo_accent}()},\n\\code{\\link{style_duo_accent_inverse}()},\n\\code{\\link{style_mono_accent}()},\n\\code{\\link{style_mono_accent_inverse}()},\n\\code{\\link{style_mono_dark}()},\n\\code{\\link{style_mono_light}()},\n\\code{\\link{style_solarized_dark}()},\n\\code{\\link{style_solarized_light}()},\n\\code{\\link{xaringanthemer_font_default}()}\n\nOther Duotone themes: \n\\code{\\link{style_duo_accent}()},\n\\code{\\link{style_duo_accent_inverse}()}\n}\n\\concept{Duotone themes}\n\\concept{themes}\n"
  },
  {
    "path": "man/style_duo_accent.Rd",
    "content": "% Generated by roxygen2: do not edit by hand\n% Please edit documentation in R/style_duo_accent.R\n\\name{style_duo_accent}\n\\alias{style_duo_accent}\n\\title{Duotone Accent Theme}\n\\usage{\nstyle_duo_accent(\n  primary_color = \"#035AA6\",\n  secondary_color = \"#03A696\",\n  white_color = \"#FFFFFF\",\n  black_color = \"#000000\",\n  text_color = black_color,\n  header_color = primary_color,\n  background_color = white_color,\n  link_color = choose_dark_or_light(secondary_color, primary_color, secondary_color),\n  text_bold_color = choose_dark_or_light(secondary_color, primary_color, secondary_color),\n  text_slide_number_color = primary_color,\n  padding = \"16px 64px 16px 64px\",\n  background_image = NULL,\n  background_size = NULL,\n  background_position = NULL,\n  code_highlight_color = \"rgba(255,255,0,0.5)\",\n  code_inline_color = choose_dark_or_light(secondary_color, primary_color,\n    secondary_color),\n  code_inline_background_color = NULL,\n  code_inline_font_size = \"1em\",\n  inverse_background_color = secondary_color,\n  inverse_text_color = choose_dark_or_light(secondary_color, black_color, white_color),\n  inverse_text_shadow = FALSE,\n  inverse_header_color = inverse_text_color,\n  inverse_link_color = link_color,\n  title_slide_text_color = choose_dark_or_light(primary_color, black_color, white_color),\n  title_slide_background_color = primary_color,\n  title_slide_background_image = NULL,\n  title_slide_background_size = NULL,\n  title_slide_background_position = NULL,\n  footnote_color = NULL,\n  footnote_font_size = \"0.9em\",\n  footnote_position_bottom = \"60px\",\n  left_column_subtle_color = apply_alpha(primary_color, 0.6),\n  left_column_selected_color = primary_color,\n  blockquote_left_border_color = apply_alpha(secondary_color, 0.5),\n  table_border_color = \"#666\",\n  table_row_border_color = \"#ddd\",\n  table_row_even_background_color = lighten_color(secondary_color, 0.8),\n  base_font_size = \"20px\",\n  text_font_size = \"1rem\",\n  header_h1_font_size = \"2.75rem\",\n  header_h2_font_size = \"2.25rem\",\n  header_h3_font_size = \"1.75rem\",\n  header_background_auto = FALSE,\n  header_background_color = header_color,\n  header_background_text_color = background_color,\n  header_background_padding = NULL,\n  header_background_content_padding_top = \"7rem\",\n  header_background_ignore_classes = c(\"normal\", \"inverse\", \"title\", \"middle\", \"bottom\"),\n  text_slide_number_font_size = \"0.9rem\",\n  text_font_google = NULL,\n  text_font_family = xaringanthemer_font_default(\"text_font_family\"),\n  text_font_weight = xaringanthemer_font_default(\"text_font_weight\"),\n  text_bold_font_weight = \"bold\",\n  text_font_url = xaringanthemer_font_default(\"text_font_url\"),\n  text_font_family_fallback = xaringanthemer_font_default(\"text_font_family_fallback\"),\n  text_font_base = \"sans-serif\",\n  header_font_google = NULL,\n  header_font_family = xaringanthemer_font_default(\"header_font_family\"),\n  header_font_weight = xaringanthemer_font_default(\"header_font_weight\"),\n  header_font_family_fallback = \"Georgia, serif\",\n  header_font_url = xaringanthemer_font_default(\"header_font_url\"),\n  code_font_google = NULL,\n  code_font_family = xaringanthemer_font_default(\"code_font_family\"),\n  code_font_size = \"0.9rem\",\n  code_font_url = xaringanthemer_font_default(\"code_font_url\"),\n  code_font_family_fallback = xaringanthemer_font_default(\"code_font_family_fallback\"),\n  link_decoration = \"none\",\n  colors = NULL,\n  extra_css = NULL,\n  extra_fonts = NULL,\n  outfile = \"xaringan-themer.css\"\n)\n}\n\\arguments{\n\\item{primary_color}{Duotone Primary Color. Defaults to #035AA6. Used in\nmultiple CSS rules. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--primary)} in any argument of a\nstyle function or in custom CSS.}\n\n\\item{secondary_color}{Duotone Secondary Color. Defaults to #03A696. Used in\nmultiple CSS rules. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--secondary)} in any argument of\na style function or in custom CSS.}\n\n\\item{white_color}{Brightest color used. Defaults to #FFFFFF. Used in\nmultiple CSS rules. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--white)} in any argument of a\nstyle function or in custom CSS.}\n\n\\item{black_color}{Darkest color used. Defaults to #000000. Used in multiple\nCSS rules. The value of this variable is also stored as a CSS variable\nthat can be referenced with \\code{var(--black)} in any argument of a style\nfunction or in custom CSS.}\n\n\\item{text_color}{Text Color. Defaults to \\code{black_color}. Modifies the \\code{body}\nelement. The value of this variable is also stored as a CSS variable that\ncan be referenced with \\code{var(--text_color)} in any argument of a style\nfunction or in custom CSS.}\n\n\\item{header_color}{Header Color. Defaults to \\code{primary_color}. Modifies the\n\\verb{h1, h2, h3} elements. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-color)} in any argument\nof a style function or in custom CSS.}\n\n\\item{background_color}{Slide Background Color. Defaults to \\code{white_color}.\nModifies the \\code{.remark-slide-content} class. The value of this variable is\nalso stored as a CSS variable that can be referenced with\n\\code{var(--background-color)} in any argument of a style function or in custom\nCSS.}\n\n\\item{link_color}{Link Color. Defaults to\n\\code{choose_dark_or_light(secondary_color, primary_color, secondary_color)}.\nModifies the \\verb{a, a > code} elements. The value of this variable is also\nstored as a CSS variable that can be referenced with \\code{var(--link-color)}\nin any argument of a style function or in custom CSS.}\n\n\\item{text_bold_color}{Bold Text Color. Defaults to\n\\code{choose_dark_or_light(secondary_color, primary_color, secondary_color)}.\nModifies the \\code{strong} element. The value of this variable is also stored\nas a CSS variable that can be referenced with \\code{var(--text-bold-color)} in\nany argument of a style function or in custom CSS.}\n\n\\item{text_slide_number_color}{Slide Number Color. Defaults to\n\\code{primary_color}. Modifies the \\code{.remark-slide-number} class.}\n\n\\item{padding}{Slide Padding in \\verb{top right [bottom left]} format. Defaults\nto 16px 64px 16px 64px. Modifies the \\code{.remark-slide-content} class.\nAccepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/padding}{padding}\nproperty values.}\n\n\\item{background_image}{Background image applied to each \\emph{and every} slide.\nSet \\code{title_slide_background_image = \"none\"} to remove the background image\nfrom the title slide. Defaults to \\code{NULL}. Modifies the\n\\code{.remark-slide-content} class.}\n\n\\item{background_size}{Background image size, requires \\code{background_image} to\nbe set. If \\code{background_image} is set, \\code{background_size} will default to\n\\code{cover} so the background fills the screen. If both \\code{background_image} and\n\\code{background_position} are set, will default to 100 percent. Defaults to\n\\code{NULL}. Modifies the \\code{.remark-slide-content} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}\nproperty values.}\n\n\\item{background_position}{Background image position, requires\n\\code{background_image} to be set, and it is recommended to adjust\n\\code{background_size}. Defaults to \\code{NULL}. Modifies the\n\\code{.remark-slide-content} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-position}{background-position}\nproperty values.}\n\n\\item{code_highlight_color}{Code Line Highlight. Defaults to\nrgba(255,255,0,0.5). Modifies the \\code{.remark-code-line-highlighted} class.\nThe value of this variable is also stored as a CSS variable that can be\nreferenced with \\code{var(--code-highlight-color)} in any argument of a style\nfunction or in custom CSS.}\n\n\\item{code_inline_color}{Inline Code Color. Defaults to\n\\code{choose_dark_or_light(secondary_color, primary_color, secondary_color)}.\nModifies the \\code{.remark-inline-code} class.}\n\n\\item{code_inline_background_color}{Inline Code Background Color. Defaults\nto \\code{NULL}. Modifies the \\code{.remark-inline-code} class.}\n\n\\item{code_inline_font_size}{Inline Code Text Font Size. Defaults to 1em.\nModifies the \\code{.remark-inline-code} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--code-inline-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{inverse_background_color}{Inverse Background Color. Defaults to\n\\code{secondary_color}. Modifies the \\code{.inverse} class. The value of this\nvariable is also stored as a CSS variable that can be referenced with\n\\code{var(--inverse-background-color)} in any argument of a style function or\nin custom CSS.}\n\n\\item{inverse_text_color}{Inverse Text Color. Defaults to\n\\code{choose_dark_or_light(secondary_color, black_color, white_color)}.\nModifies the \\code{.inverse} class. The value of this variable is also stored\nas a CSS variable that can be referenced with \\code{var(--inverse-text-color)}\nin any argument of a style function or in custom CSS.}\n\n\\item{inverse_text_shadow}{Enables Shadow on text of inverse slides.\nDefaults to \\code{FALSE}. Modifies the \\code{.inverse} class.}\n\n\\item{inverse_header_color}{Inverse Header Color. Defaults to\n\\code{inverse_text_color}. Modifies the \\verb{.inverse h1, .inverse h2, .inverse h3}\nclasses. The value of this variable is also stored as a CSS variable that\ncan be referenced with \\code{var(--inverse-header-color)} in any argument of a\nstyle function or in custom CSS.}\n\n\\item{inverse_link_color}{Inverse Link Color. Defaults to \\code{link_color}.\nModifies the \\verb{.inverse a, .inverse a > code} classes. The value of this\nvariable is also stored as a CSS variable that can be referenced with\n\\code{var(--inverse-link-color)} in any argument of a style function or in\ncustom CSS.}\n\n\\item{title_slide_text_color}{Title Slide Text Color. Defaults to\n\\code{choose_dark_or_light(primary_color, black_color, white_color)}. Modifies\nthe \\code{.title-slide} class. The value of this variable is also stored as a\nCSS variable that can be referenced with \\code{var(--title-slide-text-color)}\nin any argument of a style function or in custom CSS.}\n\n\\item{title_slide_background_color}{Title Slide Background Color. Defaults\nto \\code{primary_color}. Modifies the \\code{.title-slide} class. The value of this\nvariable is also stored as a CSS variable that can be referenced with\n\\code{var(--title-slide-background-color)} in any argument of a style function\nor in custom CSS.}\n\n\\item{title_slide_background_image}{Title Slide Background Image URL.\nDefaults to \\code{NULL}. Modifies the \\code{.title-slide} class.}\n\n\\item{title_slide_background_size}{Title Slide Background Image Size,\ndefaults to \"cover\" if background image is set. Defaults to \\code{NULL}.\nModifies the \\code{.title-slide} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}\nproperty values.}\n\n\\item{title_slide_background_position}{Title Slide Background Image\nPosition. Defaults to \\code{NULL}. Modifies the \\code{.title-slide} class. Accepts\nCSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-position}{background-position}\nproperty values.}\n\n\\item{footnote_color}{Footnote text color (if \\code{NA}, then it will be the same\ncolor as \\code{text_color}). Defaults to \\code{NULL}. Modifies the \\code{.footnote}\nclass.}\n\n\\item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies\nthe \\code{.footnote} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values.}\n\n\\item{footnote_position_bottom}{Footnote location from bottom of screen.\nDefaults to 60px. Modifies the \\code{.footnote} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/position_value}{position}\nproperty values.}\n\n\\item{left_column_subtle_color}{Left Column Text (not last). Defaults to\n\\code{apply_alpha(primary_color, 0.6)}. Modifies the\n\\verb{.left-column h2, .left-column h3} classes.}\n\n\\item{left_column_selected_color}{Left Column Current Selection. Defaults to\n\\code{primary_color}. Modifies the\n\\verb{.left-column h2:last-of-type, .left-column h3:last-child} classes.}\n\n\\item{blockquote_left_border_color}{Blockquote Left Border Color. Defaults\nto \\code{apply_alpha(secondary_color, 0.5)}. Modifies the \\code{blockquote} element.}\n\n\\item{table_border_color}{Table top/bottom border. Defaults to #666.\nModifies the \\verb{table: border-top, border-bottom} elements.}\n\n\\item{table_row_border_color}{Table row inner bottom border. Defaults to\n#ddd. Modifies the \\verb{table thead th: border-bottom} elements.}\n\n\\item{table_row_even_background_color}{Table Even Row Background Color.\nDefaults to \\code{lighten_color(secondary_color, 0.8)}. Modifies the\n\\verb{thead, tfoot, tr:nth-child(even)} elements.}\n\n\\item{base_font_size}{Base Font Size for All Slide Elements (must be \\code{px}).\nDefaults to 20px. Modifies the \\code{html} element. The value of this variable\nis also stored as a CSS variable that can be referenced with\n\\code{var(--base-font-size)} in any argument of a style function or in custom\nCSS.}\n\n\\item{text_font_size}{Slide Body Text Font Size. Defaults to 1rem. Modifies\nthe \\code{.remark-slide-content} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--text-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_h1_font_size}{h1 Header Text Font Size. Defaults to 2.75rem.\nModifies the \\verb{.remark-slide-content h1} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-h1-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_h2_font_size}{h2 Header Text Font Size. Defaults to 2.25rem.\nModifies the \\verb{.remark-slide-content h2} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-h2-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 1.75rem.\nModifies the \\verb{.remark-slide-content h3} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-h3-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_background_auto}{Add background under slide title automatically\nfor h1 header elements. If not enabled, use \\code{class: header_background} to\nenable. Defaults to \\code{FALSE}.}\n\n\\item{header_background_color}{Background Color for h1 Header with\nBackground. Defaults to \\code{header_color}. Modifies the\n\\verb{.remark-slide-content h1} class. The value of this variable is also\nstored as a CSS variable that can be referenced with\n\\code{var(--header-background-color)} in any argument of a style function or in\ncustom CSS.}\n\n\\item{header_background_text_color}{Text Color for h1 Header with\nBackground. Defaults to \\code{background_color}. Modifies the\n\\verb{.remark-slide-content h1} class. The value of this variable is also\nstored as a CSS variable that can be referenced with\n\\code{var(--header-background-text-color)} in any argument of a style function\nor in custom CSS.}\n\n\\item{header_background_padding}{Padding for h1 Header with Background.\nDefaults to \\code{NULL}. Modifies the \\verb{.remark-slide-content h1} class. Accepts\nCSS \\href{https://developer.mozilla.org/en-US/docs/Web/CSS/padding}{padding}\nproperty values.}\n\n\\item{header_background_content_padding_top}{Top Padding for Content in\nSlide with Header with Background. Defaults to 7rem. Modifies the\n\\code{.remark-slide-content} class.}\n\n\\item{header_background_ignore_classes}{Slide Classes Where Header with\nBackground will not be Applied. Defaults to\n\\code{c('normal', 'inverse', 'title', 'middle', 'bottom')}. Modifies the\n\\code{.remark-slide-content} class.}\n\n\\item{text_slide_number_font_size}{Slide Number Text Font Size. Defaults to\n0.9rem. Modifies the \\code{.remark-slide-number} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values.}\n\n\\item{text_font_google}{Use \\code{google_font()} to specify body font. Defaults\nto \\code{NULL}. Modifies the \\code{body} element.}\n\n\\item{text_font_family}{Body Text Font Family (xaringan default is\n\\code{'Droid Serif'}). Defaults to\n\\code{xaringanthemer_font_default(\"text_font_family\")}. Modifies the \\code{body}\nelement. The value of this variable is also stored as a CSS variable that\ncan be referenced with \\code{var(--text-font-family)} in any argument of a\nstyle function or in custom CSS.}\n\n\\item{text_font_weight}{Body Text Font Weight. Defaults to\n\\code{xaringanthemer_font_default(\"text_font_weight\")}. Modifies the \\code{body}\nelement. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}\nproperty values.}\n\n\\item{text_bold_font_weight}{Body Bold Text Font Weight. Defaults to bold.\nModifies the \\code{strong} element.}\n\n\\item{text_font_url}{Body Text Font URL(s). Defaults to\n\\code{xaringanthemer_font_default(\"text_font_url\")}. Modifies the\n\\verb{@import url()} elements.}\n\n\\item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to\n\\code{xaringanthemer_font_default(\"text_font_family_fallback\")}. Modifies the\n\\code{body} element. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--text-font-family-fallback)} in\nany argument of a style function or in custom CSS.}\n\n\\item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults\nto sans-serif. Modifies the \\code{body} element. The value of this variable is\nalso stored as a CSS variable that can be referenced with\n\\code{var(--text-font-base)} in any argument of a style function or in custom\nCSS.}\n\n\\item{header_font_google}{Use \\code{google_font()} to specify header font.\nDefaults to \\code{NULL}. Modifies the \\code{body} element.}\n\n\\item{header_font_family}{Header Font Family (xaringan default is\n\\code{'Yanone Kaffeesatz'}). Defaults to\n\\code{xaringanthemer_font_default(\"header_font_family\")}. Modifies the\n\\verb{h1, h2, h3} elements. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-font-family)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_font_weight}{Header Font Weight. Defaults to\n\\code{xaringanthemer_font_default(\"header_font_weight\")}. Modifies the\n\\verb{h1, h2, h3} elements. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}\nproperty values.}\n\n\\item{header_font_family_fallback}{Header Font Family Fallback. Defaults to\nGeorgia, serif. Modifies the \\verb{h1, h2, h3} elements. The value of this\nvariable is also stored as a CSS variable that can be referenced with\n\\code{var(--header-font-family-fallback)} in any argument of a style function\nor in custom CSS.}\n\n\\item{header_font_url}{Header Font URL. Defaults to\n\\code{xaringanthemer_font_default(\"header_font_url\")}. Modifies the\n\\verb{@import url} elements.}\n\n\\item{code_font_google}{Use \\code{google_font()} to specify code font. Defaults\nto \\code{NULL}. Modifies the \\code{body} element.}\n\n\\item{code_font_family}{Code Font Family. Defaults to\n\\code{xaringanthemer_font_default(\"code_font_family\")}. Modifies the\n\\verb{.remark-code, .remark-inline-code} classes. The value of this variable is\nalso stored as a CSS variable that can be referenced with\n\\code{var(--code-font-family)} in any argument of a style function or in custom\nCSS.}\n\n\\item{code_font_size}{Code Text Font Size. Defaults to 0.9rem. Modifies the\n\\code{.remark-inline} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--code-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{code_font_url}{Code Font URL. Defaults to\n\\code{xaringanthemer_font_default(\"code_font_url\")}. Modifies the \\verb{@import url}\nelements.}\n\n\\item{code_font_family_fallback}{Code Font Fallback. Defaults to\n\\code{xaringanthemer_font_default(\"code_font_family_fallback\")}. Modifies the\n\\verb{.remark-code, .remark-inline-code} classes.}\n\n\\item{link_decoration}{Text decoration of links. Defaults to none. Modifies\nthe \\verb{a, a > code} elements. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration}{text-decoration}\nproperty values.}\n\n\\item{colors}{A named vector of custom colors. The names of the colors\nbecome CSS variables and classes that can be used within your slides.\nFor example, \\code{colors = c(blue = \"#bad4ed\")} adds a CSS variable\n\\code{--blue}, a \\code{.blue} CSS class that applies the color to the text or\nforeground color, and a \\code{.bg-blue} CSS class that applies the color\nto the background.}\n\n\\item{extra_css}{A named list of CSS definitions each containing a named list\nof CSS property-value pairs, i.e.\n\\code{list(\".class-id\" = list(\"css-property\" = \"value\"))}.}\n\n\\item{extra_fonts}{A list of additional fonts to import, each list element\ncan be either a URL as a character string or a call to\n\\code{\\link{google_font}()}. To use a font imported in \\code{extra_fonts}, you\nwill need to write custom CSS rules that apply the font to an element or\nclass with the \\code{font-family} property. See the \\strong{Fonts} section of\n\\code{vignette(\"xaringanthemer\")} for an example.}\n\n\\item{outfile}{Customized xaringan CSS output file name, default is \"xaringan-themer.css\"}\n}\n\\value{\nThe CSS styles are written to the file path provided in \\code{outfile}\n(by default to \\code{xaringan-themer.css}). If \\code{outfile} is \\code{NULL}, the CSS is\nreturned directly as a character string.\n}\n\\description{\nAn default xaringan theme with a two colors used for color\naccents on select elements (headers, bold text, etc.).\n}\n\\section{Usage}{\n To use the styles created by this theme function, make sure\nthat you use \\code{xaringan-themer.css} as your CSS file in your slides' YAML\nheader. If you change the name of the output file using the \\code{outfile}\nargument, use that name instead of the default file name.\n\n\\if{html}{\\out{<div class=\"sourceCode yaml\">}}\\preformatted{output:\nxaringan::moon_reader:\n  css: xaringan-themer.css\n}\\if{html}{\\out{</div>}}\n}\n\n\\examples{\n# Create a xaringan style in a temporary file\nxaringan_themer_css <- tempfile(\"xaringan-themer-\", fileext = \".css\")\n\nstyle_duo_accent(\n  primary_color = \"#006747\",\n  secondary_color = \"#cfc493\",\n  outfile = xaringan_themer_css # omit in your slides to write the\n                                # styles to xaringan-themer.css\n)\n\n# View the CSS:\n# file.edit(xaringan_themer_css)\n}\n\\seealso{\nOther themes: \n\\code{\\link{style_duo}()},\n\\code{\\link{style_duo_accent_inverse}()},\n\\code{\\link{style_mono_accent}()},\n\\code{\\link{style_mono_accent_inverse}()},\n\\code{\\link{style_mono_dark}()},\n\\code{\\link{style_mono_light}()},\n\\code{\\link{style_solarized_dark}()},\n\\code{\\link{style_solarized_light}()},\n\\code{\\link{xaringanthemer_font_default}()}\n\nOther Duotone themes: \n\\code{\\link{style_duo}()},\n\\code{\\link{style_duo_accent_inverse}()}\n}\n\\concept{Duotone themes}\n\\concept{themes}\n"
  },
  {
    "path": "man/style_duo_accent_inverse.Rd",
    "content": "% Generated by roxygen2: do not edit by hand\n% Please edit documentation in R/style_duo_accent_inverse.R\n\\name{style_duo_accent_inverse}\n\\alias{style_duo_accent_inverse}\n\\title{Duotone Accent Inverse Theme}\n\\usage{\nstyle_duo_accent_inverse(\n  primary_color = \"#035AA6\",\n  secondary_color = \"#03A696\",\n  white_color = \"#FFFFFF\",\n  black_color = \"#000000\",\n  text_color = white_color,\n  header_color = primary_color,\n  background_color = black_color,\n  link_color = choose_dark_or_light(secondary_color, secondary_color, primary_color),\n  text_bold_color = choose_dark_or_light(secondary_color, secondary_color, primary_color),\n  text_slide_number_color = primary_color,\n  padding = \"16px 64px 16px 64px\",\n  background_image = NULL,\n  background_size = NULL,\n  background_position = NULL,\n  code_highlight_color = \"rgba(255,255,0,0.5)\",\n  code_inline_color = choose_dark_or_light(secondary_color, secondary_color,\n    primary_color),\n  code_inline_background_color = NULL,\n  code_inline_font_size = \"1em\",\n  inverse_background_color = secondary_color,\n  inverse_text_color = choose_dark_or_light(secondary_color, black_color, white_color),\n  inverse_text_shadow = FALSE,\n  inverse_header_color = inverse_text_color,\n  inverse_link_color = link_color,\n  title_slide_text_color = choose_dark_or_light(primary_color, black_color, white_color),\n  title_slide_background_color = primary_color,\n  title_slide_background_image = NULL,\n  title_slide_background_size = NULL,\n  title_slide_background_position = NULL,\n  footnote_color = NULL,\n  footnote_font_size = \"0.9em\",\n  footnote_position_bottom = \"60px\",\n  left_column_subtle_color = apply_alpha(primary_color, 0.6),\n  left_column_selected_color = primary_color,\n  blockquote_left_border_color = apply_alpha(secondary_color, 0.5),\n  table_border_color = \"#666\",\n  table_row_border_color = \"#ddd\",\n  table_row_even_background_color = darken_color(choose_dark_or_light(primary_color,\n    secondary_color, primary_color), 0.2),\n  base_font_size = \"20px\",\n  text_font_size = \"1rem\",\n  header_h1_font_size = \"2.75rem\",\n  header_h2_font_size = \"2.25rem\",\n  header_h3_font_size = \"1.75rem\",\n  header_background_auto = FALSE,\n  header_background_color = header_color,\n  header_background_text_color = background_color,\n  header_background_padding = NULL,\n  header_background_content_padding_top = \"7rem\",\n  header_background_ignore_classes = c(\"normal\", \"inverse\", \"title\", \"middle\", \"bottom\"),\n  text_slide_number_font_size = \"0.9rem\",\n  text_font_google = NULL,\n  text_font_family = xaringanthemer_font_default(\"text_font_family\"),\n  text_font_weight = xaringanthemer_font_default(\"text_font_weight\"),\n  text_bold_font_weight = \"bold\",\n  text_font_url = xaringanthemer_font_default(\"text_font_url\"),\n  text_font_family_fallback = xaringanthemer_font_default(\"text_font_family_fallback\"),\n  text_font_base = \"sans-serif\",\n  header_font_google = NULL,\n  header_font_family = xaringanthemer_font_default(\"header_font_family\"),\n  header_font_weight = xaringanthemer_font_default(\"header_font_weight\"),\n  header_font_family_fallback = \"Georgia, serif\",\n  header_font_url = xaringanthemer_font_default(\"header_font_url\"),\n  code_font_google = NULL,\n  code_font_family = xaringanthemer_font_default(\"code_font_family\"),\n  code_font_size = \"0.9rem\",\n  code_font_url = xaringanthemer_font_default(\"code_font_url\"),\n  code_font_family_fallback = xaringanthemer_font_default(\"code_font_family_fallback\"),\n  link_decoration = \"none\",\n  colors = NULL,\n  extra_css = NULL,\n  extra_fonts = NULL,\n  outfile = \"xaringan-themer.css\"\n)\n}\n\\arguments{\n\\item{primary_color}{Duotone Primary Color. Defaults to #035AA6. Used in\nmultiple CSS rules. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--primary)} in any argument of a\nstyle function or in custom CSS.}\n\n\\item{secondary_color}{Duotone Secondary Color. Defaults to #03A696. Used in\nmultiple CSS rules. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--secondary)} in any argument of\na style function or in custom CSS.}\n\n\\item{white_color}{Brightest color used. Defaults to #FFFFFF. Used in\nmultiple CSS rules. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--white)} in any argument of a\nstyle function or in custom CSS.}\n\n\\item{black_color}{Darkest color used. Defaults to #000000. Used in multiple\nCSS rules. The value of this variable is also stored as a CSS variable\nthat can be referenced with \\code{var(--black)} in any argument of a style\nfunction or in custom CSS.}\n\n\\item{text_color}{Text Color. Defaults to \\code{white_color}. Modifies the \\code{body}\nelement. The value of this variable is also stored as a CSS variable that\ncan be referenced with \\code{var(--text_color)} in any argument of a style\nfunction or in custom CSS.}\n\n\\item{header_color}{Header Color. Defaults to \\code{primary_color}. Modifies the\n\\verb{h1, h2, h3} elements. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-color)} in any argument\nof a style function or in custom CSS.}\n\n\\item{background_color}{Slide Background Color. Defaults to \\code{black_color}.\nModifies the \\code{.remark-slide-content} class. The value of this variable is\nalso stored as a CSS variable that can be referenced with\n\\code{var(--background-color)} in any argument of a style function or in custom\nCSS.}\n\n\\item{link_color}{Link Color. Defaults to\n\\code{choose_dark_or_light(secondary_color, secondary_color, primary_color)}.\nModifies the \\verb{a, a > code} elements. The value of this variable is also\nstored as a CSS variable that can be referenced with \\code{var(--link-color)}\nin any argument of a style function or in custom CSS.}\n\n\\item{text_bold_color}{Bold Text Color. Defaults to\n\\code{choose_dark_or_light(secondary_color, secondary_color, primary_color)}.\nModifies the \\code{strong} element. The value of this variable is also stored\nas a CSS variable that can be referenced with \\code{var(--text-bold-color)} in\nany argument of a style function or in custom CSS.}\n\n\\item{text_slide_number_color}{Slide Number Color. Defaults to\n\\code{primary_color}. Modifies the \\code{.remark-slide-number} class.}\n\n\\item{padding}{Slide Padding in \\verb{top right [bottom left]} format. Defaults\nto 16px 64px 16px 64px. Modifies the \\code{.remark-slide-content} class.\nAccepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/padding}{padding}\nproperty values.}\n\n\\item{background_image}{Background image applied to each \\emph{and every} slide.\nSet \\code{title_slide_background_image = \"none\"} to remove the background image\nfrom the title slide. Defaults to \\code{NULL}. Modifies the\n\\code{.remark-slide-content} class.}\n\n\\item{background_size}{Background image size, requires \\code{background_image} to\nbe set. If \\code{background_image} is set, \\code{background_size} will default to\n\\code{cover} so the background fills the screen. If both \\code{background_image} and\n\\code{background_position} are set, will default to 100 percent. Defaults to\n\\code{NULL}. Modifies the \\code{.remark-slide-content} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}\nproperty values.}\n\n\\item{background_position}{Background image position, requires\n\\code{background_image} to be set, and it is recommended to adjust\n\\code{background_size}. Defaults to \\code{NULL}. Modifies the\n\\code{.remark-slide-content} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-position}{background-position}\nproperty values.}\n\n\\item{code_highlight_color}{Code Line Highlight. Defaults to\nrgba(255,255,0,0.5). Modifies the \\code{.remark-code-line-highlighted} class.\nThe value of this variable is also stored as a CSS variable that can be\nreferenced with \\code{var(--code-highlight-color)} in any argument of a style\nfunction or in custom CSS.}\n\n\\item{code_inline_color}{Inline Code Color. Defaults to\n\\code{choose_dark_or_light(secondary_color, secondary_color, primary_color)}.\nModifies the \\code{.remark-inline-code} class.}\n\n\\item{code_inline_background_color}{Inline Code Background Color. Defaults\nto \\code{NULL}. Modifies the \\code{.remark-inline-code} class.}\n\n\\item{code_inline_font_size}{Inline Code Text Font Size. Defaults to 1em.\nModifies the \\code{.remark-inline-code} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--code-inline-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{inverse_background_color}{Inverse Background Color. Defaults to\n\\code{secondary_color}. Modifies the \\code{.inverse} class. The value of this\nvariable is also stored as a CSS variable that can be referenced with\n\\code{var(--inverse-background-color)} in any argument of a style function or\nin custom CSS.}\n\n\\item{inverse_text_color}{Inverse Text Color. Defaults to\n\\code{choose_dark_or_light(secondary_color, black_color, white_color)}.\nModifies the \\code{.inverse} class. The value of this variable is also stored\nas a CSS variable that can be referenced with \\code{var(--inverse-text-color)}\nin any argument of a style function or in custom CSS.}\n\n\\item{inverse_text_shadow}{Enables Shadow on text of inverse slides.\nDefaults to \\code{FALSE}. Modifies the \\code{.inverse} class.}\n\n\\item{inverse_header_color}{Inverse Header Color. Defaults to\n\\code{inverse_text_color}. Modifies the \\verb{.inverse h1, .inverse h2, .inverse h3}\nclasses. The value of this variable is also stored as a CSS variable that\ncan be referenced with \\code{var(--inverse-header-color)} in any argument of a\nstyle function or in custom CSS.}\n\n\\item{inverse_link_color}{Inverse Link Color. Defaults to \\code{link_color}.\nModifies the \\verb{.inverse a, .inverse a > code} classes. The value of this\nvariable is also stored as a CSS variable that can be referenced with\n\\code{var(--inverse-link-color)} in any argument of a style function or in\ncustom CSS.}\n\n\\item{title_slide_text_color}{Title Slide Text Color. Defaults to\n\\code{choose_dark_or_light(primary_color, black_color, white_color)}. Modifies\nthe \\code{.title-slide} class. The value of this variable is also stored as a\nCSS variable that can be referenced with \\code{var(--title-slide-text-color)}\nin any argument of a style function or in custom CSS.}\n\n\\item{title_slide_background_color}{Title Slide Background Color. Defaults\nto \\code{primary_color}. Modifies the \\code{.title-slide} class. The value of this\nvariable is also stored as a CSS variable that can be referenced with\n\\code{var(--title-slide-background-color)} in any argument of a style function\nor in custom CSS.}\n\n\\item{title_slide_background_image}{Title Slide Background Image URL.\nDefaults to \\code{NULL}. Modifies the \\code{.title-slide} class.}\n\n\\item{title_slide_background_size}{Title Slide Background Image Size,\ndefaults to \"cover\" if background image is set. Defaults to \\code{NULL}.\nModifies the \\code{.title-slide} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}\nproperty values.}\n\n\\item{title_slide_background_position}{Title Slide Background Image\nPosition. Defaults to \\code{NULL}. Modifies the \\code{.title-slide} class. Accepts\nCSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-position}{background-position}\nproperty values.}\n\n\\item{footnote_color}{Footnote text color (if \\code{NA}, then it will be the same\ncolor as \\code{text_color}). Defaults to \\code{NULL}. Modifies the \\code{.footnote}\nclass.}\n\n\\item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies\nthe \\code{.footnote} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values.}\n\n\\item{footnote_position_bottom}{Footnote location from bottom of screen.\nDefaults to 60px. Modifies the \\code{.footnote} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/position_value}{position}\nproperty values.}\n\n\\item{left_column_subtle_color}{Left Column Text (not last). Defaults to\n\\code{apply_alpha(primary_color, 0.6)}. Modifies the\n\\verb{.left-column h2, .left-column h3} classes.}\n\n\\item{left_column_selected_color}{Left Column Current Selection. Defaults to\n\\code{primary_color}. Modifies the\n\\verb{.left-column h2:last-of-type, .left-column h3:last-child} classes.}\n\n\\item{blockquote_left_border_color}{Blockquote Left Border Color. Defaults\nto \\code{apply_alpha(secondary_color, 0.5)}. Modifies the \\code{blockquote} element.}\n\n\\item{table_border_color}{Table top/bottom border. Defaults to #666.\nModifies the \\verb{table: border-top, border-bottom} elements.}\n\n\\item{table_row_border_color}{Table row inner bottom border. Defaults to\n#ddd. Modifies the \\verb{table thead th: border-bottom} elements.}\n\n\\item{table_row_even_background_color}{Table Even Row Background Color.\nDefaults to\n\\code{darken_color(choose_dark_or_light(primary_color, secondary_color, primary_color), 0.2)}.\nModifies the \\verb{thead, tfoot, tr:nth-child(even)} elements.}\n\n\\item{base_font_size}{Base Font Size for All Slide Elements (must be \\code{px}).\nDefaults to 20px. Modifies the \\code{html} element. The value of this variable\nis also stored as a CSS variable that can be referenced with\n\\code{var(--base-font-size)} in any argument of a style function or in custom\nCSS.}\n\n\\item{text_font_size}{Slide Body Text Font Size. Defaults to 1rem. Modifies\nthe \\code{.remark-slide-content} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--text-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_h1_font_size}{h1 Header Text Font Size. Defaults to 2.75rem.\nModifies the \\verb{.remark-slide-content h1} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-h1-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_h2_font_size}{h2 Header Text Font Size. Defaults to 2.25rem.\nModifies the \\verb{.remark-slide-content h2} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-h2-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 1.75rem.\nModifies the \\verb{.remark-slide-content h3} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-h3-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_background_auto}{Add background under slide title automatically\nfor h1 header elements. If not enabled, use \\code{class: header_background} to\nenable. Defaults to \\code{FALSE}.}\n\n\\item{header_background_color}{Background Color for h1 Header with\nBackground. Defaults to \\code{header_color}. Modifies the\n\\verb{.remark-slide-content h1} class. The value of this variable is also\nstored as a CSS variable that can be referenced with\n\\code{var(--header-background-color)} in any argument of a style function or in\ncustom CSS.}\n\n\\item{header_background_text_color}{Text Color for h1 Header with\nBackground. Defaults to \\code{background_color}. Modifies the\n\\verb{.remark-slide-content h1} class. The value of this variable is also\nstored as a CSS variable that can be referenced with\n\\code{var(--header-background-text-color)} in any argument of a style function\nor in custom CSS.}\n\n\\item{header_background_padding}{Padding for h1 Header with Background.\nDefaults to \\code{NULL}. Modifies the \\verb{.remark-slide-content h1} class. Accepts\nCSS \\href{https://developer.mozilla.org/en-US/docs/Web/CSS/padding}{padding}\nproperty values.}\n\n\\item{header_background_content_padding_top}{Top Padding for Content in\nSlide with Header with Background. Defaults to 7rem. Modifies the\n\\code{.remark-slide-content} class.}\n\n\\item{header_background_ignore_classes}{Slide Classes Where Header with\nBackground will not be Applied. Defaults to\n\\code{c('normal', 'inverse', 'title', 'middle', 'bottom')}. Modifies the\n\\code{.remark-slide-content} class.}\n\n\\item{text_slide_number_font_size}{Slide Number Text Font Size. Defaults to\n0.9rem. Modifies the \\code{.remark-slide-number} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values.}\n\n\\item{text_font_google}{Use \\code{google_font()} to specify body font. Defaults\nto \\code{NULL}. Modifies the \\code{body} element.}\n\n\\item{text_font_family}{Body Text Font Family (xaringan default is\n\\code{'Droid Serif'}). Defaults to\n\\code{xaringanthemer_font_default(\"text_font_family\")}. Modifies the \\code{body}\nelement. The value of this variable is also stored as a CSS variable that\ncan be referenced with \\code{var(--text-font-family)} in any argument of a\nstyle function or in custom CSS.}\n\n\\item{text_font_weight}{Body Text Font Weight. Defaults to\n\\code{xaringanthemer_font_default(\"text_font_weight\")}. Modifies the \\code{body}\nelement. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}\nproperty values.}\n\n\\item{text_bold_font_weight}{Body Bold Text Font Weight. Defaults to bold.\nModifies the \\code{strong} element.}\n\n\\item{text_font_url}{Body Text Font URL(s). Defaults to\n\\code{xaringanthemer_font_default(\"text_font_url\")}. Modifies the\n\\verb{@import url()} elements.}\n\n\\item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to\n\\code{xaringanthemer_font_default(\"text_font_family_fallback\")}. Modifies the\n\\code{body} element. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--text-font-family-fallback)} in\nany argument of a style function or in custom CSS.}\n\n\\item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults\nto sans-serif. Modifies the \\code{body} element. The value of this variable is\nalso stored as a CSS variable that can be referenced with\n\\code{var(--text-font-base)} in any argument of a style function or in custom\nCSS.}\n\n\\item{header_font_google}{Use \\code{google_font()} to specify header font.\nDefaults to \\code{NULL}. Modifies the \\code{body} element.}\n\n\\item{header_font_family}{Header Font Family (xaringan default is\n\\code{'Yanone Kaffeesatz'}). Defaults to\n\\code{xaringanthemer_font_default(\"header_font_family\")}. Modifies the\n\\verb{h1, h2, h3} elements. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-font-family)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_font_weight}{Header Font Weight. Defaults to\n\\code{xaringanthemer_font_default(\"header_font_weight\")}. Modifies the\n\\verb{h1, h2, h3} elements. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}\nproperty values.}\n\n\\item{header_font_family_fallback}{Header Font Family Fallback. Defaults to\nGeorgia, serif. Modifies the \\verb{h1, h2, h3} elements. The value of this\nvariable is also stored as a CSS variable that can be referenced with\n\\code{var(--header-font-family-fallback)} in any argument of a style function\nor in custom CSS.}\n\n\\item{header_font_url}{Header Font URL. Defaults to\n\\code{xaringanthemer_font_default(\"header_font_url\")}. Modifies the\n\\verb{@import url} elements.}\n\n\\item{code_font_google}{Use \\code{google_font()} to specify code font. Defaults\nto \\code{NULL}. Modifies the \\code{body} element.}\n\n\\item{code_font_family}{Code Font Family. Defaults to\n\\code{xaringanthemer_font_default(\"code_font_family\")}. Modifies the\n\\verb{.remark-code, .remark-inline-code} classes. The value of this variable is\nalso stored as a CSS variable that can be referenced with\n\\code{var(--code-font-family)} in any argument of a style function or in custom\nCSS.}\n\n\\item{code_font_size}{Code Text Font Size. Defaults to 0.9rem. Modifies the\n\\code{.remark-inline} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--code-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{code_font_url}{Code Font URL. Defaults to\n\\code{xaringanthemer_font_default(\"code_font_url\")}. Modifies the \\verb{@import url}\nelements.}\n\n\\item{code_font_family_fallback}{Code Font Fallback. Defaults to\n\\code{xaringanthemer_font_default(\"code_font_family_fallback\")}. Modifies the\n\\verb{.remark-code, .remark-inline-code} classes.}\n\n\\item{link_decoration}{Text decoration of links. Defaults to none. Modifies\nthe \\verb{a, a > code} elements. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration}{text-decoration}\nproperty values.}\n\n\\item{colors}{A named vector of custom colors. The names of the colors\nbecome CSS variables and classes that can be used within your slides.\nFor example, \\code{colors = c(blue = \"#bad4ed\")} adds a CSS variable\n\\code{--blue}, a \\code{.blue} CSS class that applies the color to the text or\nforeground color, and a \\code{.bg-blue} CSS class that applies the color\nto the background.}\n\n\\item{extra_css}{A named list of CSS definitions each containing a named list\nof CSS property-value pairs, i.e.\n\\code{list(\".class-id\" = list(\"css-property\" = \"value\"))}.}\n\n\\item{extra_fonts}{A list of additional fonts to import, each list element\ncan be either a URL as a character string or a call to\n\\code{\\link{google_font}()}. To use a font imported in \\code{extra_fonts}, you\nwill need to write custom CSS rules that apply the font to an element or\nclass with the \\code{font-family} property. See the \\strong{Fonts} section of\n\\code{vignette(\"xaringanthemer\")} for an example.}\n\n\\item{outfile}{Customized xaringan CSS output file name, default is \"xaringan-themer.css\"}\n}\n\\value{\nThe CSS styles are written to the file path provided in \\code{outfile}\n(by default to \\code{xaringan-themer.css}). If \\code{outfile} is \\code{NULL}, the CSS is\nreturned directly as a character string.\n}\n\\description{\nAn \"inverted\" default xaringan theme with a two colors used\nfor color accents on select elements (headers, bold text, etc.).\n}\n\\section{Usage}{\n To use the styles created by this theme function, make sure\nthat you use \\code{xaringan-themer.css} as your CSS file in your slides' YAML\nheader. If you change the name of the output file using the \\code{outfile}\nargument, use that name instead of the default file name.\n\n\\if{html}{\\out{<div class=\"sourceCode yaml\">}}\\preformatted{output:\nxaringan::moon_reader:\n  css: xaringan-themer.css\n}\\if{html}{\\out{</div>}}\n}\n\n\\examples{\n# Create a xaringan style in a temporary file\nxaringan_themer_css <- tempfile(\"xaringan-themer-\", fileext = \".css\")\n\nstyle_duo_accent_inverse(\n  primary_color = \"#006747\",\n  secondary_color = \"#cfc493\",\n  outfile = xaringan_themer_css # omit in your slides to write the\n                                # styles to xaringan-themer.css\n)\n\n# View the CSS:\n# file.edit(xaringan_themer_css)\n}\n\\seealso{\nOther themes: \n\\code{\\link{style_duo}()},\n\\code{\\link{style_duo_accent}()},\n\\code{\\link{style_mono_accent}()},\n\\code{\\link{style_mono_accent_inverse}()},\n\\code{\\link{style_mono_dark}()},\n\\code{\\link{style_mono_light}()},\n\\code{\\link{style_solarized_dark}()},\n\\code{\\link{style_solarized_light}()},\n\\code{\\link{xaringanthemer_font_default}()}\n\nOther Duotone themes: \n\\code{\\link{style_duo}()},\n\\code{\\link{style_duo_accent}()}\n}\n\\concept{Duotone themes}\n\\concept{themes}\n"
  },
  {
    "path": "man/style_extra_css.Rd",
    "content": "% Generated by roxygen2: do not edit by hand\n% Please edit documentation in R/style_extra_css.R\n\\name{style_extra_css}\n\\alias{style_extra_css}\n\\title{Add Extra CSS Styles}\n\\usage{\nstyle_extra_css(\n  css,\n  outfile = \"xaringan-themer.css\",\n  append = TRUE,\n  heading = \"Extra CSS\"\n)\n}\n\\arguments{\n\\item{css}{A named list of CSS definitions each containing a named list\nof CSS property-value pairs, i.e.\n\\code{list(\".class-id\" = list(\"css-property\" = \"value\"))}}\n\n\\item{outfile}{Customized xaringan CSS output file name, default is \"xaringan-themer.css\"}\n\n\\item{append}{If \\code{TRUE} output will be appended to \\code{outfile}; otherwise,\nit will overwrite the contents of \\code{outfile}.}\n\n\\item{heading}{Heading added above extra CSS. Use \\code{NULL} to disable.}\n}\n\\description{\nAdds css elements to target \\code{outfile}, typically a xaringanthemer css file.\nThe \\code{css} argument takes a list of CSS classes and definitions (see examples below)\nand appends CSS rules to \\code{outfile}.\n}\n\\section{css list}{\n\nThe \\code{css} input must be a named list of css properties and values within a\nnamed list of class identifiers, for example\n\\code{list(\".class-id\" = list(\"css-property\" = \"value\"))}.\n}\n\n\\examples{\nstyle_extra_css(\n  outfile = stdout(),\n  css = list(\n    \".red\" = list(color = \"red\"),\n    \".small\" = list(\"font-size\" = \"90\\%\"),\n    \".full-width\" = list(\n      display = \"flex\",\n      width = \"100\\%\",\n      flex = \"1 1 auto\"\n    )\n  )\n)\n}\n"
  },
  {
    "path": "man/style_mono_accent.Rd",
    "content": "% Generated by roxygen2: do not edit by hand\n% Please edit documentation in R/style_mono_accent.R\n\\name{style_mono_accent}\n\\alias{style_mono_accent}\n\\title{Monotone Accent Theme}\n\\usage{\nstyle_mono_accent(\n  base_color = \"#43418A\",\n  white_color = \"#FFFFFF\",\n  black_color = \"#272822\",\n  text_color = black_color,\n  header_color = base_color,\n  background_color = white_color,\n  link_color = base_color,\n  text_bold_color = base_color,\n  text_slide_number_color = base_color,\n  padding = \"16px 64px 16px 64px\",\n  background_image = NULL,\n  background_size = NULL,\n  background_position = NULL,\n  code_highlight_color = \"rgba(255,255,0,0.5)\",\n  code_inline_color = base_color,\n  code_inline_background_color = NULL,\n  code_inline_font_size = \"1em\",\n  inverse_background_color = base_color,\n  inverse_text_color = white_color,\n  inverse_text_shadow = FALSE,\n  inverse_header_color = inverse_text_color,\n  inverse_link_color = link_color,\n  title_slide_text_color = inverse_text_color,\n  title_slide_background_color = inverse_background_color,\n  title_slide_background_image = NULL,\n  title_slide_background_size = NULL,\n  title_slide_background_position = NULL,\n  footnote_color = NULL,\n  footnote_font_size = \"0.9em\",\n  footnote_position_bottom = \"60px\",\n  left_column_subtle_color = apply_alpha(base_color, 0.6),\n  left_column_selected_color = base_color,\n  blockquote_left_border_color = apply_alpha(base_color, 0.5),\n  table_border_color = \"#666\",\n  table_row_border_color = \"#ddd\",\n  table_row_even_background_color = lighten_color(base_color, 0.8),\n  base_font_size = \"20px\",\n  text_font_size = \"1rem\",\n  header_h1_font_size = \"2.75rem\",\n  header_h2_font_size = \"2.25rem\",\n  header_h3_font_size = \"1.75rem\",\n  header_background_auto = FALSE,\n  header_background_color = header_color,\n  header_background_text_color = background_color,\n  header_background_padding = NULL,\n  header_background_content_padding_top = \"7rem\",\n  header_background_ignore_classes = c(\"normal\", \"inverse\", \"title\", \"middle\", \"bottom\"),\n  text_slide_number_font_size = \"0.9rem\",\n  text_font_google = NULL,\n  text_font_family = xaringanthemer_font_default(\"text_font_family\"),\n  text_font_weight = xaringanthemer_font_default(\"text_font_weight\"),\n  text_bold_font_weight = \"bold\",\n  text_font_url = xaringanthemer_font_default(\"text_font_url\"),\n  text_font_family_fallback = xaringanthemer_font_default(\"text_font_family_fallback\"),\n  text_font_base = \"sans-serif\",\n  header_font_google = NULL,\n  header_font_family = xaringanthemer_font_default(\"header_font_family\"),\n  header_font_weight = xaringanthemer_font_default(\"header_font_weight\"),\n  header_font_family_fallback = \"Georgia, serif\",\n  header_font_url = xaringanthemer_font_default(\"header_font_url\"),\n  code_font_google = NULL,\n  code_font_family = xaringanthemer_font_default(\"code_font_family\"),\n  code_font_size = \"0.9rem\",\n  code_font_url = xaringanthemer_font_default(\"code_font_url\"),\n  code_font_family_fallback = xaringanthemer_font_default(\"code_font_family_fallback\"),\n  link_decoration = \"none\",\n  colors = NULL,\n  extra_css = NULL,\n  extra_fonts = NULL,\n  outfile = \"xaringan-themer.css\"\n)\n}\n\\arguments{\n\\item{base_color}{Monotone Base Color, works best with a strong color.\nDefaults to #43418A. Used in multiple CSS rules. The value of this\nvariable is also stored as a CSS variable that can be referenced with\n\\code{var(--base)} in any argument of a style function or in custom CSS.}\n\n\\item{white_color}{Brightest color used. Defaults to #FFFFFF. Used in\nmultiple CSS rules. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--white)} in any argument of a\nstyle function or in custom CSS.}\n\n\\item{black_color}{Darkest color used. Defaults to #272822. Used in multiple\nCSS rules. The value of this variable is also stored as a CSS variable\nthat can be referenced with \\code{var(--black)} in any argument of a style\nfunction or in custom CSS.}\n\n\\item{text_color}{Text Color. Defaults to \\code{black_color}. Modifies the \\code{body}\nelement. The value of this variable is also stored as a CSS variable that\ncan be referenced with \\code{var(--text_color)} in any argument of a style\nfunction or in custom CSS.}\n\n\\item{header_color}{Header Color. Defaults to \\code{base_color}. Modifies the\n\\verb{h1, h2, h3} elements. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-color)} in any argument\nof a style function or in custom CSS.}\n\n\\item{background_color}{Slide Background Color. Defaults to \\code{white_color}.\nModifies the \\code{.remark-slide-content} class. The value of this variable is\nalso stored as a CSS variable that can be referenced with\n\\code{var(--background-color)} in any argument of a style function or in custom\nCSS.}\n\n\\item{link_color}{Link Color. Defaults to \\code{base_color}. Modifies the\n\\verb{a, a > code} elements. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--link-color)} in any argument\nof a style function or in custom CSS.}\n\n\\item{text_bold_color}{Bold Text Color. Defaults to \\code{base_color}. Modifies\nthe \\code{strong} element. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--text-bold-color)} in any\nargument of a style function or in custom CSS.}\n\n\\item{text_slide_number_color}{Slide Number Color. Defaults to \\code{base_color}.\nModifies the \\code{.remark-slide-number} class.}\n\n\\item{padding}{Slide Padding in \\verb{top right [bottom left]} format. Defaults\nto 16px 64px 16px 64px. Modifies the \\code{.remark-slide-content} class.\nAccepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/padding}{padding}\nproperty values.}\n\n\\item{background_image}{Background image applied to each \\emph{and every} slide.\nSet \\code{title_slide_background_image = \"none\"} to remove the background image\nfrom the title slide. Defaults to \\code{NULL}. Modifies the\n\\code{.remark-slide-content} class.}\n\n\\item{background_size}{Background image size, requires \\code{background_image} to\nbe set. If \\code{background_image} is set, \\code{background_size} will default to\n\\code{cover} so the background fills the screen. If both \\code{background_image} and\n\\code{background_position} are set, will default to 100 percent. Defaults to\n\\code{NULL}. Modifies the \\code{.remark-slide-content} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}\nproperty values.}\n\n\\item{background_position}{Background image position, requires\n\\code{background_image} to be set, and it is recommended to adjust\n\\code{background_size}. Defaults to \\code{NULL}. Modifies the\n\\code{.remark-slide-content} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-position}{background-position}\nproperty values.}\n\n\\item{code_highlight_color}{Code Line Highlight. Defaults to\nrgba(255,255,0,0.5). Modifies the \\code{.remark-code-line-highlighted} class.\nThe value of this variable is also stored as a CSS variable that can be\nreferenced with \\code{var(--code-highlight-color)} in any argument of a style\nfunction or in custom CSS.}\n\n\\item{code_inline_color}{Inline Code Color. Defaults to \\code{base_color}.\nModifies the \\code{.remark-inline-code} class.}\n\n\\item{code_inline_background_color}{Inline Code Background Color. Defaults\nto \\code{NULL}. Modifies the \\code{.remark-inline-code} class.}\n\n\\item{code_inline_font_size}{Inline Code Text Font Size. Defaults to 1em.\nModifies the \\code{.remark-inline-code} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--code-inline-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{inverse_background_color}{Inverse Background Color. Defaults to\n\\code{base_color}. Modifies the \\code{.inverse} class. The value of this variable is\nalso stored as a CSS variable that can be referenced with\n\\code{var(--inverse-background-color)} in any argument of a style function or\nin custom CSS.}\n\n\\item{inverse_text_color}{Inverse Text Color. Defaults to \\code{white_color}.\nModifies the \\code{.inverse} class. The value of this variable is also stored\nas a CSS variable that can be referenced with \\code{var(--inverse-text-color)}\nin any argument of a style function or in custom CSS.}\n\n\\item{inverse_text_shadow}{Enables Shadow on text of inverse slides.\nDefaults to \\code{FALSE}. Modifies the \\code{.inverse} class.}\n\n\\item{inverse_header_color}{Inverse Header Color. Defaults to\n\\code{inverse_text_color}. Modifies the \\verb{.inverse h1, .inverse h2, .inverse h3}\nclasses. The value of this variable is also stored as a CSS variable that\ncan be referenced with \\code{var(--inverse-header-color)} in any argument of a\nstyle function or in custom CSS.}\n\n\\item{inverse_link_color}{Inverse Link Color. Defaults to \\code{link_color}.\nModifies the \\verb{.inverse a, .inverse a > code} classes. The value of this\nvariable is also stored as a CSS variable that can be referenced with\n\\code{var(--inverse-link-color)} in any argument of a style function or in\ncustom CSS.}\n\n\\item{title_slide_text_color}{Title Slide Text Color. Defaults to\n\\code{inverse_text_color}. Modifies the \\code{.title-slide} class. The value of this\nvariable is also stored as a CSS variable that can be referenced with\n\\code{var(--title-slide-text-color)} in any argument of a style function or in\ncustom CSS.}\n\n\\item{title_slide_background_color}{Title Slide Background Color. Defaults\nto \\code{inverse_background_color}. Modifies the \\code{.title-slide} class. The\nvalue of this variable is also stored as a CSS variable that can be\nreferenced with \\code{var(--title-slide-background-color)} in any argument of a\nstyle function or in custom CSS.}\n\n\\item{title_slide_background_image}{Title Slide Background Image URL.\nDefaults to \\code{NULL}. Modifies the \\code{.title-slide} class.}\n\n\\item{title_slide_background_size}{Title Slide Background Image Size,\ndefaults to \"cover\" if background image is set. Defaults to \\code{NULL}.\nModifies the \\code{.title-slide} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}\nproperty values.}\n\n\\item{title_slide_background_position}{Title Slide Background Image\nPosition. Defaults to \\code{NULL}. Modifies the \\code{.title-slide} class. Accepts\nCSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-position}{background-position}\nproperty values.}\n\n\\item{footnote_color}{Footnote text color (if \\code{NA}, then it will be the same\ncolor as \\code{text_color}). Defaults to \\code{NULL}. Modifies the \\code{.footnote}\nclass.}\n\n\\item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies\nthe \\code{.footnote} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values.}\n\n\\item{footnote_position_bottom}{Footnote location from bottom of screen.\nDefaults to 60px. Modifies the \\code{.footnote} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/position_value}{position}\nproperty values.}\n\n\\item{left_column_subtle_color}{Left Column Text (not last). Defaults to\n\\code{apply_alpha(base_color, 0.6)}. Modifies the\n\\verb{.left-column h2, .left-column h3} classes.}\n\n\\item{left_column_selected_color}{Left Column Current Selection. Defaults to\n\\code{base_color}. Modifies the\n\\verb{.left-column h2:last-of-type, .left-column h3:last-child} classes.}\n\n\\item{blockquote_left_border_color}{Blockquote Left Border Color. Defaults\nto \\code{apply_alpha(base_color, 0.5)}. Modifies the \\code{blockquote} element.}\n\n\\item{table_border_color}{Table top/bottom border. Defaults to #666.\nModifies the \\verb{table: border-top, border-bottom} elements.}\n\n\\item{table_row_border_color}{Table row inner bottom border. Defaults to\n#ddd. Modifies the \\verb{table thead th: border-bottom} elements.}\n\n\\item{table_row_even_background_color}{Table Even Row Background Color.\nDefaults to \\code{lighten_color(base_color, 0.8)}. Modifies the\n\\verb{thead, tfoot, tr:nth-child(even)} elements.}\n\n\\item{base_font_size}{Base Font Size for All Slide Elements (must be \\code{px}).\nDefaults to 20px. Modifies the \\code{html} element. The value of this variable\nis also stored as a CSS variable that can be referenced with\n\\code{var(--base-font-size)} in any argument of a style function or in custom\nCSS.}\n\n\\item{text_font_size}{Slide Body Text Font Size. Defaults to 1rem. Modifies\nthe \\code{.remark-slide-content} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--text-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_h1_font_size}{h1 Header Text Font Size. Defaults to 2.75rem.\nModifies the \\verb{.remark-slide-content h1} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-h1-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_h2_font_size}{h2 Header Text Font Size. Defaults to 2.25rem.\nModifies the \\verb{.remark-slide-content h2} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-h2-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 1.75rem.\nModifies the \\verb{.remark-slide-content h3} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-h3-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_background_auto}{Add background under slide title automatically\nfor h1 header elements. If not enabled, use \\code{class: header_background} to\nenable. Defaults to \\code{FALSE}.}\n\n\\item{header_background_color}{Background Color for h1 Header with\nBackground. Defaults to \\code{header_color}. Modifies the\n\\verb{.remark-slide-content h1} class. The value of this variable is also\nstored as a CSS variable that can be referenced with\n\\code{var(--header-background-color)} in any argument of a style function or in\ncustom CSS.}\n\n\\item{header_background_text_color}{Text Color for h1 Header with\nBackground. Defaults to \\code{background_color}. Modifies the\n\\verb{.remark-slide-content h1} class. The value of this variable is also\nstored as a CSS variable that can be referenced with\n\\code{var(--header-background-text-color)} in any argument of a style function\nor in custom CSS.}\n\n\\item{header_background_padding}{Padding for h1 Header with Background.\nDefaults to \\code{NULL}. Modifies the \\verb{.remark-slide-content h1} class. Accepts\nCSS \\href{https://developer.mozilla.org/en-US/docs/Web/CSS/padding}{padding}\nproperty values.}\n\n\\item{header_background_content_padding_top}{Top Padding for Content in\nSlide with Header with Background. Defaults to 7rem. Modifies the\n\\code{.remark-slide-content} class.}\n\n\\item{header_background_ignore_classes}{Slide Classes Where Header with\nBackground will not be Applied. Defaults to\n\\code{c('normal', 'inverse', 'title', 'middle', 'bottom')}. Modifies the\n\\code{.remark-slide-content} class.}\n\n\\item{text_slide_number_font_size}{Slide Number Text Font Size. Defaults to\n0.9rem. Modifies the \\code{.remark-slide-number} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values.}\n\n\\item{text_font_google}{Use \\code{google_font()} to specify body font. Defaults\nto \\code{NULL}. Modifies the \\code{body} element.}\n\n\\item{text_font_family}{Body Text Font Family (xaringan default is\n\\code{'Droid Serif'}). Defaults to\n\\code{xaringanthemer_font_default(\"text_font_family\")}. Modifies the \\code{body}\nelement. The value of this variable is also stored as a CSS variable that\ncan be referenced with \\code{var(--text-font-family)} in any argument of a\nstyle function or in custom CSS.}\n\n\\item{text_font_weight}{Body Text Font Weight. Defaults to\n\\code{xaringanthemer_font_default(\"text_font_weight\")}. Modifies the \\code{body}\nelement. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}\nproperty values.}\n\n\\item{text_bold_font_weight}{Body Bold Text Font Weight. Defaults to bold.\nModifies the \\code{strong} element.}\n\n\\item{text_font_url}{Body Text Font URL(s). Defaults to\n\\code{xaringanthemer_font_default(\"text_font_url\")}. Modifies the\n\\verb{@import url()} elements.}\n\n\\item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to\n\\code{xaringanthemer_font_default(\"text_font_family_fallback\")}. Modifies the\n\\code{body} element. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--text-font-family-fallback)} in\nany argument of a style function or in custom CSS.}\n\n\\item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults\nto sans-serif. Modifies the \\code{body} element. The value of this variable is\nalso stored as a CSS variable that can be referenced with\n\\code{var(--text-font-base)} in any argument of a style function or in custom\nCSS.}\n\n\\item{header_font_google}{Use \\code{google_font()} to specify header font.\nDefaults to \\code{NULL}. Modifies the \\code{body} element.}\n\n\\item{header_font_family}{Header Font Family (xaringan default is\n\\code{'Yanone Kaffeesatz'}). Defaults to\n\\code{xaringanthemer_font_default(\"header_font_family\")}. Modifies the\n\\verb{h1, h2, h3} elements. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-font-family)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_font_weight}{Header Font Weight. Defaults to\n\\code{xaringanthemer_font_default(\"header_font_weight\")}. Modifies the\n\\verb{h1, h2, h3} elements. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}\nproperty values.}\n\n\\item{header_font_family_fallback}{Header Font Family Fallback. Defaults to\nGeorgia, serif. Modifies the \\verb{h1, h2, h3} elements. The value of this\nvariable is also stored as a CSS variable that can be referenced with\n\\code{var(--header-font-family-fallback)} in any argument of a style function\nor in custom CSS.}\n\n\\item{header_font_url}{Header Font URL. Defaults to\n\\code{xaringanthemer_font_default(\"header_font_url\")}. Modifies the\n\\verb{@import url} elements.}\n\n\\item{code_font_google}{Use \\code{google_font()} to specify code font. Defaults\nto \\code{NULL}. Modifies the \\code{body} element.}\n\n\\item{code_font_family}{Code Font Family. Defaults to\n\\code{xaringanthemer_font_default(\"code_font_family\")}. Modifies the\n\\verb{.remark-code, .remark-inline-code} classes. The value of this variable is\nalso stored as a CSS variable that can be referenced with\n\\code{var(--code-font-family)} in any argument of a style function or in custom\nCSS.}\n\n\\item{code_font_size}{Code Text Font Size. Defaults to 0.9rem. Modifies the\n\\code{.remark-inline} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--code-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{code_font_url}{Code Font URL. Defaults to\n\\code{xaringanthemer_font_default(\"code_font_url\")}. Modifies the \\verb{@import url}\nelements.}\n\n\\item{code_font_family_fallback}{Code Font Fallback. Defaults to\n\\code{xaringanthemer_font_default(\"code_font_family_fallback\")}. Modifies the\n\\verb{.remark-code, .remark-inline-code} classes.}\n\n\\item{link_decoration}{Text decoration of links. Defaults to none. Modifies\nthe \\verb{a, a > code} elements. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration}{text-decoration}\nproperty values.}\n\n\\item{colors}{A named vector of custom colors. The names of the colors\nbecome CSS variables and classes that can be used within your slides.\nFor example, \\code{colors = c(blue = \"#bad4ed\")} adds a CSS variable\n\\code{--blue}, a \\code{.blue} CSS class that applies the color to the text or\nforeground color, and a \\code{.bg-blue} CSS class that applies the color\nto the background.}\n\n\\item{extra_css}{A named list of CSS definitions each containing a named list\nof CSS property-value pairs, i.e.\n\\code{list(\".class-id\" = list(\"css-property\" = \"value\"))}.}\n\n\\item{extra_fonts}{A list of additional fonts to import, each list element\ncan be either a URL as a character string or a call to\n\\code{\\link{google_font}()}. To use a font imported in \\code{extra_fonts}, you\nwill need to write custom CSS rules that apply the font to an element or\nclass with the \\code{font-family} property. See the \\strong{Fonts} section of\n\\code{vignette(\"xaringanthemer\")} for an example.}\n\n\\item{outfile}{Customized xaringan CSS output file name, default is \"xaringan-themer.css\"}\n}\n\\value{\nThe CSS styles are written to the file path provided in \\code{outfile}\n(by default to \\code{xaringan-themer.css}). If \\code{outfile} is \\code{NULL}, the CSS is\nreturned directly as a character string.\n}\n\\description{\nThe default xaringan theme with a single color used for color\naccents on select elements (headers, bold text, etc.).\n}\n\\section{Usage}{\n To use the styles created by this theme function, make sure\nthat you use \\code{xaringan-themer.css} as your CSS file in your slides' YAML\nheader. If you change the name of the output file using the \\code{outfile}\nargument, use that name instead of the default file name.\n\n\\if{html}{\\out{<div class=\"sourceCode yaml\">}}\\preformatted{output:\nxaringan::moon_reader:\n  css: xaringan-themer.css\n}\\if{html}{\\out{</div>}}\n}\n\n\\examples{\n# Create a xaringan style in a temporary file\nxaringan_themer_css <- tempfile(\"xaringan-themer-\", fileext = \".css\")\n\nstyle_mono_accent(\n  base_color = \"#43418A\",\n  outfile = xaringan_themer_css # omit in your slides to write the\n                                # styles to xaringan-themer.css\n)\n\n# View the CSS:\n# file.edit(xaringan_themer_css)\n}\n\\seealso{\nOther themes: \n\\code{\\link{style_duo}()},\n\\code{\\link{style_duo_accent}()},\n\\code{\\link{style_duo_accent_inverse}()},\n\\code{\\link{style_mono_accent_inverse}()},\n\\code{\\link{style_mono_dark}()},\n\\code{\\link{style_mono_light}()},\n\\code{\\link{style_solarized_dark}()},\n\\code{\\link{style_solarized_light}()},\n\\code{\\link{xaringanthemer_font_default}()}\n\nOther Monotone themes: \n\\code{\\link{style_mono_accent_inverse}()},\n\\code{\\link{style_mono_dark}()},\n\\code{\\link{style_mono_light}()}\n}\n\\concept{Monotone themes}\n\\concept{themes}\n"
  },
  {
    "path": "man/style_mono_accent_inverse.Rd",
    "content": "% Generated by roxygen2: do not edit by hand\n% Please edit documentation in R/style_mono_accent_inverse.R\n\\name{style_mono_accent_inverse}\n\\alias{style_mono_accent_inverse}\n\\title{Monotone Accent Inverse Theme}\n\\usage{\nstyle_mono_accent_inverse(\n  base_color = \"#3C989E\",\n  white_color = \"#FFFFFF\",\n  black_color = darken_color(base_color, 0.9),\n  text_color = white_color,\n  header_color = base_color,\n  background_color = black_color,\n  link_color = base_color,\n  text_bold_color = base_color,\n  text_slide_number_color = base_color,\n  padding = \"16px 64px 16px 64px\",\n  background_image = NULL,\n  background_size = NULL,\n  background_position = NULL,\n  code_highlight_color = \"rgba(255,255,0,0.5)\",\n  code_inline_color = base_color,\n  code_inline_background_color = NULL,\n  code_inline_font_size = \"1em\",\n  inverse_background_color = base_color,\n  inverse_text_color = black_color,\n  inverse_text_shadow = FALSE,\n  inverse_header_color = inverse_text_color,\n  inverse_link_color = link_color,\n  title_slide_text_color = inverse_text_color,\n  title_slide_background_color = inverse_background_color,\n  title_slide_background_image = NULL,\n  title_slide_background_size = NULL,\n  title_slide_background_position = NULL,\n  footnote_color = NULL,\n  footnote_font_size = \"0.9em\",\n  footnote_position_bottom = \"60px\",\n  left_column_subtle_color = apply_alpha(base_color, 0.6),\n  left_column_selected_color = base_color,\n  blockquote_left_border_color = apply_alpha(base_color, 0.5),\n  table_border_color = \"#666\",\n  table_row_border_color = \"#ddd\",\n  table_row_even_background_color = darken_color(base_color, 0.8),\n  base_font_size = \"20px\",\n  text_font_size = \"1rem\",\n  header_h1_font_size = \"2.75rem\",\n  header_h2_font_size = \"2.25rem\",\n  header_h3_font_size = \"1.75rem\",\n  header_background_auto = FALSE,\n  header_background_color = header_color,\n  header_background_text_color = background_color,\n  header_background_padding = NULL,\n  header_background_content_padding_top = \"7rem\",\n  header_background_ignore_classes = c(\"normal\", \"inverse\", \"title\", \"middle\", \"bottom\"),\n  text_slide_number_font_size = \"0.9rem\",\n  text_font_google = NULL,\n  text_font_family = xaringanthemer_font_default(\"text_font_family\"),\n  text_font_weight = xaringanthemer_font_default(\"text_font_weight\"),\n  text_bold_font_weight = \"bold\",\n  text_font_url = xaringanthemer_font_default(\"text_font_url\"),\n  text_font_family_fallback = xaringanthemer_font_default(\"text_font_family_fallback\"),\n  text_font_base = \"sans-serif\",\n  header_font_google = NULL,\n  header_font_family = xaringanthemer_font_default(\"header_font_family\"),\n  header_font_weight = xaringanthemer_font_default(\"header_font_weight\"),\n  header_font_family_fallback = \"Georgia, serif\",\n  header_font_url = xaringanthemer_font_default(\"header_font_url\"),\n  code_font_google = NULL,\n  code_font_family = xaringanthemer_font_default(\"code_font_family\"),\n  code_font_size = \"0.9rem\",\n  code_font_url = xaringanthemer_font_default(\"code_font_url\"),\n  code_font_family_fallback = xaringanthemer_font_default(\"code_font_family_fallback\"),\n  link_decoration = \"none\",\n  colors = NULL,\n  extra_css = NULL,\n  extra_fonts = NULL,\n  outfile = \"xaringan-themer.css\"\n)\n}\n\\arguments{\n\\item{base_color}{Monotone Base Color, works best with a light color.\nDefaults to #3C989E. Used in multiple CSS rules. The value of this\nvariable is also stored as a CSS variable that can be referenced with\n\\code{var(--base)} in any argument of a style function or in custom CSS.}\n\n\\item{white_color}{Brightest color used, default is a very light version of\n\\code{base_color}. Defaults to #FFFFFF. Used in multiple CSS rules. The value\nof this variable is also stored as a CSS variable that can be referenced\nwith \\code{var(--white)} in any argument of a style function or in custom CSS.}\n\n\\item{black_color}{Darkest color used, default is a very dark, version of\n\\code{base_color}. Defaults to \\code{darken_color(base_color, 0.9)}. Used in\nmultiple CSS rules. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--black)} in any argument of a\nstyle function or in custom CSS.}\n\n\\item{text_color}{Text Color. Defaults to \\code{white_color}. Modifies the \\code{body}\nelement. The value of this variable is also stored as a CSS variable that\ncan be referenced with \\code{var(--text_color)} in any argument of a style\nfunction or in custom CSS.}\n\n\\item{header_color}{Header Color. Defaults to \\code{base_color}. Modifies the\n\\verb{h1, h2, h3} elements. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-color)} in any argument\nof a style function or in custom CSS.}\n\n\\item{background_color}{Slide Background Color. Defaults to \\code{black_color}.\nModifies the \\code{.remark-slide-content} class. The value of this variable is\nalso stored as a CSS variable that can be referenced with\n\\code{var(--background-color)} in any argument of a style function or in custom\nCSS.}\n\n\\item{link_color}{Link Color. Defaults to \\code{base_color}. Modifies the\n\\verb{a, a > code} elements. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--link-color)} in any argument\nof a style function or in custom CSS.}\n\n\\item{text_bold_color}{Bold Text Color. Defaults to \\code{base_color}. Modifies\nthe \\code{strong} element. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--text-bold-color)} in any\nargument of a style function or in custom CSS.}\n\n\\item{text_slide_number_color}{Slide Number Color. Defaults to \\code{base_color}.\nModifies the \\code{.remark-slide-number} class.}\n\n\\item{padding}{Slide Padding in \\verb{top right [bottom left]} format. Defaults\nto 16px 64px 16px 64px. Modifies the \\code{.remark-slide-content} class.\nAccepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/padding}{padding}\nproperty values.}\n\n\\item{background_image}{Background image applied to each \\emph{and every} slide.\nSet \\code{title_slide_background_image = \"none\"} to remove the background image\nfrom the title slide. Defaults to \\code{NULL}. Modifies the\n\\code{.remark-slide-content} class.}\n\n\\item{background_size}{Background image size, requires \\code{background_image} to\nbe set. If \\code{background_image} is set, \\code{background_size} will default to\n\\code{cover} so the background fills the screen. If both \\code{background_image} and\n\\code{background_position} are set, will default to 100 percent. Defaults to\n\\code{NULL}. Modifies the \\code{.remark-slide-content} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}\nproperty values.}\n\n\\item{background_position}{Background image position, requires\n\\code{background_image} to be set, and it is recommended to adjust\n\\code{background_size}. Defaults to \\code{NULL}. Modifies the\n\\code{.remark-slide-content} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-position}{background-position}\nproperty values.}\n\n\\item{code_highlight_color}{Code Line Highlight. Defaults to\nrgba(255,255,0,0.5). Modifies the \\code{.remark-code-line-highlighted} class.\nThe value of this variable is also stored as a CSS variable that can be\nreferenced with \\code{var(--code-highlight-color)} in any argument of a style\nfunction or in custom CSS.}\n\n\\item{code_inline_color}{Inline Code Color. Defaults to \\code{base_color}.\nModifies the \\code{.remark-inline-code} class.}\n\n\\item{code_inline_background_color}{Inline Code Background Color. Defaults\nto \\code{NULL}. Modifies the \\code{.remark-inline-code} class.}\n\n\\item{code_inline_font_size}{Inline Code Text Font Size. Defaults to 1em.\nModifies the \\code{.remark-inline-code} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--code-inline-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{inverse_background_color}{Inverse Background Color. Defaults to\n\\code{base_color}. Modifies the \\code{.inverse} class. The value of this variable is\nalso stored as a CSS variable that can be referenced with\n\\code{var(--inverse-background-color)} in any argument of a style function or\nin custom CSS.}\n\n\\item{inverse_text_color}{Inverse Text Color. Defaults to \\code{black_color}.\nModifies the \\code{.inverse} class. The value of this variable is also stored\nas a CSS variable that can be referenced with \\code{var(--inverse-text-color)}\nin any argument of a style function or in custom CSS.}\n\n\\item{inverse_text_shadow}{Enables Shadow on text of inverse slides.\nDefaults to \\code{FALSE}. Modifies the \\code{.inverse} class.}\n\n\\item{inverse_header_color}{Inverse Header Color. Defaults to\n\\code{inverse_text_color}. Modifies the \\verb{.inverse h1, .inverse h2, .inverse h3}\nclasses. The value of this variable is also stored as a CSS variable that\ncan be referenced with \\code{var(--inverse-header-color)} in any argument of a\nstyle function or in custom CSS.}\n\n\\item{inverse_link_color}{Inverse Link Color. Defaults to \\code{link_color}.\nModifies the \\verb{.inverse a, .inverse a > code} classes. The value of this\nvariable is also stored as a CSS variable that can be referenced with\n\\code{var(--inverse-link-color)} in any argument of a style function or in\ncustom CSS.}\n\n\\item{title_slide_text_color}{Title Slide Text Color. Defaults to\n\\code{inverse_text_color}. Modifies the \\code{.title-slide} class. The value of this\nvariable is also stored as a CSS variable that can be referenced with\n\\code{var(--title-slide-text-color)} in any argument of a style function or in\ncustom CSS.}\n\n\\item{title_slide_background_color}{Title Slide Background Color. Defaults\nto \\code{inverse_background_color}. Modifies the \\code{.title-slide} class. The\nvalue of this variable is also stored as a CSS variable that can be\nreferenced with \\code{var(--title-slide-background-color)} in any argument of a\nstyle function or in custom CSS.}\n\n\\item{title_slide_background_image}{Title Slide Background Image URL.\nDefaults to \\code{NULL}. Modifies the \\code{.title-slide} class.}\n\n\\item{title_slide_background_size}{Title Slide Background Image Size,\ndefaults to \"cover\" if background image is set. Defaults to \\code{NULL}.\nModifies the \\code{.title-slide} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}\nproperty values.}\n\n\\item{title_slide_background_position}{Title Slide Background Image\nPosition. Defaults to \\code{NULL}. Modifies the \\code{.title-slide} class. Accepts\nCSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-position}{background-position}\nproperty values.}\n\n\\item{footnote_color}{Footnote text color (if \\code{NA}, then it will be the same\ncolor as \\code{text_color}). Defaults to \\code{NULL}. Modifies the \\code{.footnote}\nclass.}\n\n\\item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies\nthe \\code{.footnote} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values.}\n\n\\item{footnote_position_bottom}{Footnote location from bottom of screen.\nDefaults to 60px. Modifies the \\code{.footnote} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/position_value}{position}\nproperty values.}\n\n\\item{left_column_subtle_color}{Left Column Text (not last). Defaults to\n\\code{apply_alpha(base_color, 0.6)}. Modifies the\n\\verb{.left-column h2, .left-column h3} classes.}\n\n\\item{left_column_selected_color}{Left Column Current Selection. Defaults to\n\\code{base_color}. Modifies the\n\\verb{.left-column h2:last-of-type, .left-column h3:last-child} classes.}\n\n\\item{blockquote_left_border_color}{Blockquote Left Border Color. Defaults\nto \\code{apply_alpha(base_color, 0.5)}. Modifies the \\code{blockquote} element.}\n\n\\item{table_border_color}{Table top/bottom border. Defaults to #666.\nModifies the \\verb{table: border-top, border-bottom} elements.}\n\n\\item{table_row_border_color}{Table row inner bottom border. Defaults to\n#ddd. Modifies the \\verb{table thead th: border-bottom} elements.}\n\n\\item{table_row_even_background_color}{Table Even Row Background Color.\nDefaults to \\code{darken_color(base_color, 0.8)}. Modifies the\n\\verb{thead, tfoot, tr:nth-child(even)} elements.}\n\n\\item{base_font_size}{Base Font Size for All Slide Elements (must be \\code{px}).\nDefaults to 20px. Modifies the \\code{html} element. The value of this variable\nis also stored as a CSS variable that can be referenced with\n\\code{var(--base-font-size)} in any argument of a style function or in custom\nCSS.}\n\n\\item{text_font_size}{Slide Body Text Font Size. Defaults to 1rem. Modifies\nthe \\code{.remark-slide-content} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--text-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_h1_font_size}{h1 Header Text Font Size. Defaults to 2.75rem.\nModifies the \\verb{.remark-slide-content h1} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-h1-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_h2_font_size}{h2 Header Text Font Size. Defaults to 2.25rem.\nModifies the \\verb{.remark-slide-content h2} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-h2-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 1.75rem.\nModifies the \\verb{.remark-slide-content h3} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-h3-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_background_auto}{Add background under slide title automatically\nfor h1 header elements. If not enabled, use \\code{class: header_background} to\nenable. Defaults to \\code{FALSE}.}\n\n\\item{header_background_color}{Background Color for h1 Header with\nBackground. Defaults to \\code{header_color}. Modifies the\n\\verb{.remark-slide-content h1} class. The value of this variable is also\nstored as a CSS variable that can be referenced with\n\\code{var(--header-background-color)} in any argument of a style function or in\ncustom CSS.}\n\n\\item{header_background_text_color}{Text Color for h1 Header with\nBackground. Defaults to \\code{background_color}. Modifies the\n\\verb{.remark-slide-content h1} class. The value of this variable is also\nstored as a CSS variable that can be referenced with\n\\code{var(--header-background-text-color)} in any argument of a style function\nor in custom CSS.}\n\n\\item{header_background_padding}{Padding for h1 Header with Background.\nDefaults to \\code{NULL}. Modifies the \\verb{.remark-slide-content h1} class. Accepts\nCSS \\href{https://developer.mozilla.org/en-US/docs/Web/CSS/padding}{padding}\nproperty values.}\n\n\\item{header_background_content_padding_top}{Top Padding for Content in\nSlide with Header with Background. Defaults to 7rem. Modifies the\n\\code{.remark-slide-content} class.}\n\n\\item{header_background_ignore_classes}{Slide Classes Where Header with\nBackground will not be Applied. Defaults to\n\\code{c('normal', 'inverse', 'title', 'middle', 'bottom')}. Modifies the\n\\code{.remark-slide-content} class.}\n\n\\item{text_slide_number_font_size}{Slide Number Text Font Size. Defaults to\n0.9rem. Modifies the \\code{.remark-slide-number} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values.}\n\n\\item{text_font_google}{Use \\code{google_font()} to specify body font. Defaults\nto \\code{NULL}. Modifies the \\code{body} element.}\n\n\\item{text_font_family}{Body Text Font Family (xaringan default is\n\\code{'Droid Serif'}). Defaults to\n\\code{xaringanthemer_font_default(\"text_font_family\")}. Modifies the \\code{body}\nelement. The value of this variable is also stored as a CSS variable that\ncan be referenced with \\code{var(--text-font-family)} in any argument of a\nstyle function or in custom CSS.}\n\n\\item{text_font_weight}{Body Text Font Weight. Defaults to\n\\code{xaringanthemer_font_default(\"text_font_weight\")}. Modifies the \\code{body}\nelement. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}\nproperty values.}\n\n\\item{text_bold_font_weight}{Body Bold Text Font Weight. Defaults to bold.\nModifies the \\code{strong} element.}\n\n\\item{text_font_url}{Body Text Font URL(s). Defaults to\n\\code{xaringanthemer_font_default(\"text_font_url\")}. Modifies the\n\\verb{@import url()} elements.}\n\n\\item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to\n\\code{xaringanthemer_font_default(\"text_font_family_fallback\")}. Modifies the\n\\code{body} element. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--text-font-family-fallback)} in\nany argument of a style function or in custom CSS.}\n\n\\item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults\nto sans-serif. Modifies the \\code{body} element. The value of this variable is\nalso stored as a CSS variable that can be referenced with\n\\code{var(--text-font-base)} in any argument of a style function or in custom\nCSS.}\n\n\\item{header_font_google}{Use \\code{google_font()} to specify header font.\nDefaults to \\code{NULL}. Modifies the \\code{body} element.}\n\n\\item{header_font_family}{Header Font Family (xaringan default is\n\\code{'Yanone Kaffeesatz'}). Defaults to\n\\code{xaringanthemer_font_default(\"header_font_family\")}. Modifies the\n\\verb{h1, h2, h3} elements. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-font-family)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_font_weight}{Header Font Weight. Defaults to\n\\code{xaringanthemer_font_default(\"header_font_weight\")}. Modifies the\n\\verb{h1, h2, h3} elements. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}\nproperty values.}\n\n\\item{header_font_family_fallback}{Header Font Family Fallback. Defaults to\nGeorgia, serif. Modifies the \\verb{h1, h2, h3} elements. The value of this\nvariable is also stored as a CSS variable that can be referenced with\n\\code{var(--header-font-family-fallback)} in any argument of a style function\nor in custom CSS.}\n\n\\item{header_font_url}{Header Font URL. Defaults to\n\\code{xaringanthemer_font_default(\"header_font_url\")}. Modifies the\n\\verb{@import url} elements.}\n\n\\item{code_font_google}{Use \\code{google_font()} to specify code font. Defaults\nto \\code{NULL}. Modifies the \\code{body} element.}\n\n\\item{code_font_family}{Code Font Family. Defaults to\n\\code{xaringanthemer_font_default(\"code_font_family\")}. Modifies the\n\\verb{.remark-code, .remark-inline-code} classes. The value of this variable is\nalso stored as a CSS variable that can be referenced with\n\\code{var(--code-font-family)} in any argument of a style function or in custom\nCSS.}\n\n\\item{code_font_size}{Code Text Font Size. Defaults to 0.9rem. Modifies the\n\\code{.remark-inline} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--code-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{code_font_url}{Code Font URL. Defaults to\n\\code{xaringanthemer_font_default(\"code_font_url\")}. Modifies the \\verb{@import url}\nelements.}\n\n\\item{code_font_family_fallback}{Code Font Fallback. Defaults to\n\\code{xaringanthemer_font_default(\"code_font_family_fallback\")}. Modifies the\n\\verb{.remark-code, .remark-inline-code} classes.}\n\n\\item{link_decoration}{Text decoration of links. Defaults to none. Modifies\nthe \\verb{a, a > code} elements. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration}{text-decoration}\nproperty values.}\n\n\\item{colors}{A named vector of custom colors. The names of the colors\nbecome CSS variables and classes that can be used within your slides.\nFor example, \\code{colors = c(blue = \"#bad4ed\")} adds a CSS variable\n\\code{--blue}, a \\code{.blue} CSS class that applies the color to the text or\nforeground color, and a \\code{.bg-blue} CSS class that applies the color\nto the background.}\n\n\\item{extra_css}{A named list of CSS definitions each containing a named list\nof CSS property-value pairs, i.e.\n\\code{list(\".class-id\" = list(\"css-property\" = \"value\"))}.}\n\n\\item{extra_fonts}{A list of additional fonts to import, each list element\ncan be either a URL as a character string or a call to\n\\code{\\link{google_font}()}. To use a font imported in \\code{extra_fonts}, you\nwill need to write custom CSS rules that apply the font to an element or\nclass with the \\code{font-family} property. See the \\strong{Fonts} section of\n\\code{vignette(\"xaringanthemer\")} for an example.}\n\n\\item{outfile}{Customized xaringan CSS output file name, default is \"xaringan-themer.css\"}\n}\n\\value{\nThe CSS styles are written to the file path provided in \\code{outfile}\n(by default to \\code{xaringan-themer.css}). If \\code{outfile} is \\code{NULL}, the CSS is\nreturned directly as a character string.\n}\n\\description{\nAn \"inverted\" default xaringan theme with a single color used\nfor color accents on select elements (headers, bold text, etc.).\n}\n\\section{Usage}{\n To use the styles created by this theme function, make sure\nthat you use \\code{xaringan-themer.css} as your CSS file in your slides' YAML\nheader. If you change the name of the output file using the \\code{outfile}\nargument, use that name instead of the default file name.\n\n\\if{html}{\\out{<div class=\"sourceCode yaml\">}}\\preformatted{output:\nxaringan::moon_reader:\n  css: xaringan-themer.css\n}\\if{html}{\\out{</div>}}\n}\n\n\\examples{\n# Create a xaringan style in a temporary file\nxaringan_themer_css <- tempfile(\"xaringan-themer-\", fileext = \".css\")\n\nstyle_mono_accent_inverse(\n  base_color = \"#3c989e\",\n  outfile = xaringan_themer_css # omit in your slides to write the\n                                # styles to xaringan-themer.css\n)\n\n# View the CSS:\n# file.edit(xaringan_themer_css)\n}\n\\seealso{\nOther themes: \n\\code{\\link{style_duo}()},\n\\code{\\link{style_duo_accent}()},\n\\code{\\link{style_duo_accent_inverse}()},\n\\code{\\link{style_mono_accent}()},\n\\code{\\link{style_mono_dark}()},\n\\code{\\link{style_mono_light}()},\n\\code{\\link{style_solarized_dark}()},\n\\code{\\link{style_solarized_light}()},\n\\code{\\link{xaringanthemer_font_default}()}\n\nOther Monotone themes: \n\\code{\\link{style_mono_accent}()},\n\\code{\\link{style_mono_dark}()},\n\\code{\\link{style_mono_light}()}\n}\n\\concept{Monotone themes}\n\\concept{themes}\n"
  },
  {
    "path": "man/style_mono_dark.Rd",
    "content": "% Generated by roxygen2: do not edit by hand\n% Please edit documentation in R/style_mono_dark.R\n\\name{style_mono_dark}\n\\alias{style_mono_dark}\n\\title{Monotone Dark Theme}\n\\usage{\nstyle_mono_dark(\n  base_color = \"#cbf7ed\",\n  white_color = lighten_color(base_color, 0.8),\n  black_color = darken_color(base_color, 0.85),\n  text_color = white_color,\n  header_color = base_color,\n  background_color = black_color,\n  link_color = base_color,\n  text_bold_color = base_color,\n  text_slide_number_color = base_color,\n  padding = \"16px 64px 16px 64px\",\n  background_image = NULL,\n  background_size = NULL,\n  background_position = NULL,\n  code_highlight_color = \"rgba(255,255,0,0.5)\",\n  code_inline_color = base_color,\n  code_inline_background_color = NULL,\n  code_inline_font_size = \"1em\",\n  inverse_background_color = base_color,\n  inverse_text_color = black_color,\n  inverse_text_shadow = FALSE,\n  inverse_header_color = inverse_text_color,\n  inverse_link_color = link_color,\n  title_slide_text_color = inverse_text_color,\n  title_slide_background_color = inverse_background_color,\n  title_slide_background_image = NULL,\n  title_slide_background_size = NULL,\n  title_slide_background_position = NULL,\n  footnote_color = NULL,\n  footnote_font_size = \"0.9em\",\n  footnote_position_bottom = \"60px\",\n  left_column_subtle_color = apply_alpha(base_color, 0.6),\n  left_column_selected_color = base_color,\n  blockquote_left_border_color = apply_alpha(base_color, 0.5),\n  table_border_color = \"#666\",\n  table_row_border_color = \"#ddd\",\n  table_row_even_background_color = darken_color(base_color, 0.7),\n  base_font_size = \"20px\",\n  text_font_size = \"1rem\",\n  header_h1_font_size = \"2.75rem\",\n  header_h2_font_size = \"2.25rem\",\n  header_h3_font_size = \"1.75rem\",\n  header_background_auto = FALSE,\n  header_background_color = header_color,\n  header_background_text_color = background_color,\n  header_background_padding = NULL,\n  header_background_content_padding_top = \"7rem\",\n  header_background_ignore_classes = c(\"normal\", \"inverse\", \"title\", \"middle\", \"bottom\"),\n  text_slide_number_font_size = \"0.9rem\",\n  text_font_google = NULL,\n  text_font_family = xaringanthemer_font_default(\"text_font_family\"),\n  text_font_weight = xaringanthemer_font_default(\"text_font_weight\"),\n  text_bold_font_weight = \"bold\",\n  text_font_url = xaringanthemer_font_default(\"text_font_url\"),\n  text_font_family_fallback = xaringanthemer_font_default(\"text_font_family_fallback\"),\n  text_font_base = \"sans-serif\",\n  header_font_google = NULL,\n  header_font_family = xaringanthemer_font_default(\"header_font_family\"),\n  header_font_weight = xaringanthemer_font_default(\"header_font_weight\"),\n  header_font_family_fallback = \"Georgia, serif\",\n  header_font_url = xaringanthemer_font_default(\"header_font_url\"),\n  code_font_google = NULL,\n  code_font_family = xaringanthemer_font_default(\"code_font_family\"),\n  code_font_size = \"0.9rem\",\n  code_font_url = xaringanthemer_font_default(\"code_font_url\"),\n  code_font_family_fallback = xaringanthemer_font_default(\"code_font_family_fallback\"),\n  link_decoration = \"none\",\n  colors = NULL,\n  extra_css = NULL,\n  extra_fonts = NULL,\n  outfile = \"xaringan-themer.css\"\n)\n}\n\\arguments{\n\\item{base_color}{Monotone Base Color, works best with a light color..\nDefaults to #cbf7ed. Used in multiple CSS rules. The value of this\nvariable is also stored as a CSS variable that can be referenced with\n\\code{var(--base)} in any argument of a style function or in custom CSS.}\n\n\\item{white_color}{Brightest color used, default is a very light version of\n\\code{base_color}. Defaults to \\code{lighten_color(base_color, 0.8)}. Used in\nmultiple CSS rules. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--white)} in any argument of a\nstyle function or in custom CSS.}\n\n\\item{black_color}{Darkest color used, default is a very dark, version of\n\\code{base_color}. Defaults to \\code{darken_color(base_color, 0.85)}. Used in\nmultiple CSS rules. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--black)} in any argument of a\nstyle function or in custom CSS.}\n\n\\item{text_color}{Text Color. Defaults to \\code{white_color}. Modifies the \\code{body}\nelement. The value of this variable is also stored as a CSS variable that\ncan be referenced with \\code{var(--text_color)} in any argument of a style\nfunction or in custom CSS.}\n\n\\item{header_color}{Header Color. Defaults to \\code{base_color}. Modifies the\n\\verb{h1, h2, h3} elements. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-color)} in any argument\nof a style function or in custom CSS.}\n\n\\item{background_color}{Slide Background Color. Defaults to \\code{black_color}.\nModifies the \\code{.remark-slide-content} class. The value of this variable is\nalso stored as a CSS variable that can be referenced with\n\\code{var(--background-color)} in any argument of a style function or in custom\nCSS.}\n\n\\item{link_color}{Link Color. Defaults to \\code{base_color}. Modifies the\n\\verb{a, a > code} elements. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--link-color)} in any argument\nof a style function or in custom CSS.}\n\n\\item{text_bold_color}{Bold Text Color. Defaults to \\code{base_color}. Modifies\nthe \\code{strong} element. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--text-bold-color)} in any\nargument of a style function or in custom CSS.}\n\n\\item{text_slide_number_color}{Slide Number Color. Defaults to \\code{base_color}.\nModifies the \\code{.remark-slide-number} class.}\n\n\\item{padding}{Slide Padding in \\verb{top right [bottom left]} format. Defaults\nto 16px 64px 16px 64px. Modifies the \\code{.remark-slide-content} class.\nAccepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/padding}{padding}\nproperty values.}\n\n\\item{background_image}{Background image applied to each \\emph{and every} slide.\nSet \\code{title_slide_background_image = \"none\"} to remove the background image\nfrom the title slide. Defaults to \\code{NULL}. Modifies the\n\\code{.remark-slide-content} class.}\n\n\\item{background_size}{Background image size, requires \\code{background_image} to\nbe set. If \\code{background_image} is set, \\code{background_size} will default to\n\\code{cover} so the background fills the screen. If both \\code{background_image} and\n\\code{background_position} are set, will default to 100 percent. Defaults to\n\\code{NULL}. Modifies the \\code{.remark-slide-content} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}\nproperty values.}\n\n\\item{background_position}{Background image position, requires\n\\code{background_image} to be set, and it is recommended to adjust\n\\code{background_size}. Defaults to \\code{NULL}. Modifies the\n\\code{.remark-slide-content} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-position}{background-position}\nproperty values.}\n\n\\item{code_highlight_color}{Code Line Highlight. Defaults to\nrgba(255,255,0,0.5). Modifies the \\code{.remark-code-line-highlighted} class.\nThe value of this variable is also stored as a CSS variable that can be\nreferenced with \\code{var(--code-highlight-color)} in any argument of a style\nfunction or in custom CSS.}\n\n\\item{code_inline_color}{Inline Code Color. Defaults to \\code{base_color}.\nModifies the \\code{.remark-inline-code} class.}\n\n\\item{code_inline_background_color}{Inline Code Background Color. Defaults\nto \\code{NULL}. Modifies the \\code{.remark-inline-code} class.}\n\n\\item{code_inline_font_size}{Inline Code Text Font Size. Defaults to 1em.\nModifies the \\code{.remark-inline-code} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--code-inline-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{inverse_background_color}{Inverse Background Color. Defaults to\n\\code{base_color}. Modifies the \\code{.inverse} class. The value of this variable is\nalso stored as a CSS variable that can be referenced with\n\\code{var(--inverse-background-color)} in any argument of a style function or\nin custom CSS.}\n\n\\item{inverse_text_color}{Inverse Text Color. Defaults to \\code{black_color}.\nModifies the \\code{.inverse} class. The value of this variable is also stored\nas a CSS variable that can be referenced with \\code{var(--inverse-text-color)}\nin any argument of a style function or in custom CSS.}\n\n\\item{inverse_text_shadow}{Enables Shadow on text of inverse slides.\nDefaults to \\code{FALSE}. Modifies the \\code{.inverse} class.}\n\n\\item{inverse_header_color}{Inverse Header Color. Defaults to\n\\code{inverse_text_color}. Modifies the \\verb{.inverse h1, .inverse h2, .inverse h3}\nclasses. The value of this variable is also stored as a CSS variable that\ncan be referenced with \\code{var(--inverse-header-color)} in any argument of a\nstyle function or in custom CSS.}\n\n\\item{inverse_link_color}{Inverse Link Color. Defaults to \\code{link_color}.\nModifies the \\verb{.inverse a, .inverse a > code} classes. The value of this\nvariable is also stored as a CSS variable that can be referenced with\n\\code{var(--inverse-link-color)} in any argument of a style function or in\ncustom CSS.}\n\n\\item{title_slide_text_color}{Title Slide Text Color. Defaults to\n\\code{inverse_text_color}. Modifies the \\code{.title-slide} class. The value of this\nvariable is also stored as a CSS variable that can be referenced with\n\\code{var(--title-slide-text-color)} in any argument of a style function or in\ncustom CSS.}\n\n\\item{title_slide_background_color}{Title Slide Background Color. Defaults\nto \\code{inverse_background_color}. Modifies the \\code{.title-slide} class. The\nvalue of this variable is also stored as a CSS variable that can be\nreferenced with \\code{var(--title-slide-background-color)} in any argument of a\nstyle function or in custom CSS.}\n\n\\item{title_slide_background_image}{Title Slide Background Image URL.\nDefaults to \\code{NULL}. Modifies the \\code{.title-slide} class.}\n\n\\item{title_slide_background_size}{Title Slide Background Image Size,\ndefaults to \"cover\" if background image is set. Defaults to \\code{NULL}.\nModifies the \\code{.title-slide} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}\nproperty values.}\n\n\\item{title_slide_background_position}{Title Slide Background Image\nPosition. Defaults to \\code{NULL}. Modifies the \\code{.title-slide} class. Accepts\nCSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-position}{background-position}\nproperty values.}\n\n\\item{footnote_color}{Footnote text color (if \\code{NA}, then it will be the same\ncolor as \\code{text_color}). Defaults to \\code{NULL}. Modifies the \\code{.footnote}\nclass.}\n\n\\item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies\nthe \\code{.footnote} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values.}\n\n\\item{footnote_position_bottom}{Footnote location from bottom of screen.\nDefaults to 60px. Modifies the \\code{.footnote} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/position_value}{position}\nproperty values.}\n\n\\item{left_column_subtle_color}{Left Column Text (not last). Defaults to\n\\code{apply_alpha(base_color, 0.6)}. Modifies the\n\\verb{.left-column h2, .left-column h3} classes.}\n\n\\item{left_column_selected_color}{Left Column Current Selection. Defaults to\n\\code{base_color}. Modifies the\n\\verb{.left-column h2:last-of-type, .left-column h3:last-child} classes.}\n\n\\item{blockquote_left_border_color}{Blockquote Left Border Color. Defaults\nto \\code{apply_alpha(base_color, 0.5)}. Modifies the \\code{blockquote} element.}\n\n\\item{table_border_color}{Table top/bottom border. Defaults to #666.\nModifies the \\verb{table: border-top, border-bottom} elements.}\n\n\\item{table_row_border_color}{Table row inner bottom border. Defaults to\n#ddd. Modifies the \\verb{table thead th: border-bottom} elements.}\n\n\\item{table_row_even_background_color}{Table Even Row Background Color.\nDefaults to \\code{darken_color(base_color, 0.7)}. Modifies the\n\\verb{thead, tfoot, tr:nth-child(even)} elements.}\n\n\\item{base_font_size}{Base Font Size for All Slide Elements (must be \\code{px}).\nDefaults to 20px. Modifies the \\code{html} element. The value of this variable\nis also stored as a CSS variable that can be referenced with\n\\code{var(--base-font-size)} in any argument of a style function or in custom\nCSS.}\n\n\\item{text_font_size}{Slide Body Text Font Size. Defaults to 1rem. Modifies\nthe \\code{.remark-slide-content} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--text-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_h1_font_size}{h1 Header Text Font Size. Defaults to 2.75rem.\nModifies the \\verb{.remark-slide-content h1} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-h1-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_h2_font_size}{h2 Header Text Font Size. Defaults to 2.25rem.\nModifies the \\verb{.remark-slide-content h2} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-h2-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 1.75rem.\nModifies the \\verb{.remark-slide-content h3} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-h3-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_background_auto}{Add background under slide title automatically\nfor h1 header elements. If not enabled, use \\code{class: header_background} to\nenable. Defaults to \\code{FALSE}.}\n\n\\item{header_background_color}{Background Color for h1 Header with\nBackground. Defaults to \\code{header_color}. Modifies the\n\\verb{.remark-slide-content h1} class. The value of this variable is also\nstored as a CSS variable that can be referenced with\n\\code{var(--header-background-color)} in any argument of a style function or in\ncustom CSS.}\n\n\\item{header_background_text_color}{Text Color for h1 Header with\nBackground. Defaults to \\code{background_color}. Modifies the\n\\verb{.remark-slide-content h1} class. The value of this variable is also\nstored as a CSS variable that can be referenced with\n\\code{var(--header-background-text-color)} in any argument of a style function\nor in custom CSS.}\n\n\\item{header_background_padding}{Padding for h1 Header with Background.\nDefaults to \\code{NULL}. Modifies the \\verb{.remark-slide-content h1} class. Accepts\nCSS \\href{https://developer.mozilla.org/en-US/docs/Web/CSS/padding}{padding}\nproperty values.}\n\n\\item{header_background_content_padding_top}{Top Padding for Content in\nSlide with Header with Background. Defaults to 7rem. Modifies the\n\\code{.remark-slide-content} class.}\n\n\\item{header_background_ignore_classes}{Slide Classes Where Header with\nBackground will not be Applied. Defaults to\n\\code{c('normal', 'inverse', 'title', 'middle', 'bottom')}. Modifies the\n\\code{.remark-slide-content} class.}\n\n\\item{text_slide_number_font_size}{Slide Number Text Font Size. Defaults to\n0.9rem. Modifies the \\code{.remark-slide-number} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values.}\n\n\\item{text_font_google}{Use \\code{google_font()} to specify body font. Defaults\nto \\code{NULL}. Modifies the \\code{body} element.}\n\n\\item{text_font_family}{Body Text Font Family (xaringan default is\n\\code{'Droid Serif'}). Defaults to\n\\code{xaringanthemer_font_default(\"text_font_family\")}. Modifies the \\code{body}\nelement. The value of this variable is also stored as a CSS variable that\ncan be referenced with \\code{var(--text-font-family)} in any argument of a\nstyle function or in custom CSS.}\n\n\\item{text_font_weight}{Body Text Font Weight. Defaults to\n\\code{xaringanthemer_font_default(\"text_font_weight\")}. Modifies the \\code{body}\nelement. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}\nproperty values.}\n\n\\item{text_bold_font_weight}{Body Bold Text Font Weight. Defaults to bold.\nModifies the \\code{strong} element.}\n\n\\item{text_font_url}{Body Text Font URL(s). Defaults to\n\\code{xaringanthemer_font_default(\"text_font_url\")}. Modifies the\n\\verb{@import url()} elements.}\n\n\\item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to\n\\code{xaringanthemer_font_default(\"text_font_family_fallback\")}. Modifies the\n\\code{body} element. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--text-font-family-fallback)} in\nany argument of a style function or in custom CSS.}\n\n\\item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults\nto sans-serif. Modifies the \\code{body} element. The value of this variable is\nalso stored as a CSS variable that can be referenced with\n\\code{var(--text-font-base)} in any argument of a style function or in custom\nCSS.}\n\n\\item{header_font_google}{Use \\code{google_font()} to specify header font.\nDefaults to \\code{NULL}. Modifies the \\code{body} element.}\n\n\\item{header_font_family}{Header Font Family (xaringan default is\n\\code{'Yanone Kaffeesatz'}). Defaults to\n\\code{xaringanthemer_font_default(\"header_font_family\")}. Modifies the\n\\verb{h1, h2, h3} elements. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-font-family)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_font_weight}{Header Font Weight. Defaults to\n\\code{xaringanthemer_font_default(\"header_font_weight\")}. Modifies the\n\\verb{h1, h2, h3} elements. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}\nproperty values.}\n\n\\item{header_font_family_fallback}{Header Font Family Fallback. Defaults to\nGeorgia, serif. Modifies the \\verb{h1, h2, h3} elements. The value of this\nvariable is also stored as a CSS variable that can be referenced with\n\\code{var(--header-font-family-fallback)} in any argument of a style function\nor in custom CSS.}\n\n\\item{header_font_url}{Header Font URL. Defaults to\n\\code{xaringanthemer_font_default(\"header_font_url\")}. Modifies the\n\\verb{@import url} elements.}\n\n\\item{code_font_google}{Use \\code{google_font()} to specify code font. Defaults\nto \\code{NULL}. Modifies the \\code{body} element.}\n\n\\item{code_font_family}{Code Font Family. Defaults to\n\\code{xaringanthemer_font_default(\"code_font_family\")}. Modifies the\n\\verb{.remark-code, .remark-inline-code} classes. The value of this variable is\nalso stored as a CSS variable that can be referenced with\n\\code{var(--code-font-family)} in any argument of a style function or in custom\nCSS.}\n\n\\item{code_font_size}{Code Text Font Size. Defaults to 0.9rem. Modifies the\n\\code{.remark-inline} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--code-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{code_font_url}{Code Font URL. Defaults to\n\\code{xaringanthemer_font_default(\"code_font_url\")}. Modifies the \\verb{@import url}\nelements.}\n\n\\item{code_font_family_fallback}{Code Font Fallback. Defaults to\n\\code{xaringanthemer_font_default(\"code_font_family_fallback\")}. Modifies the\n\\verb{.remark-code, .remark-inline-code} classes.}\n\n\\item{link_decoration}{Text decoration of links. Defaults to none. Modifies\nthe \\verb{a, a > code} elements. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration}{text-decoration}\nproperty values.}\n\n\\item{colors}{A named vector of custom colors. The names of the colors\nbecome CSS variables and classes that can be used within your slides.\nFor example, \\code{colors = c(blue = \"#bad4ed\")} adds a CSS variable\n\\code{--blue}, a \\code{.blue} CSS class that applies the color to the text or\nforeground color, and a \\code{.bg-blue} CSS class that applies the color\nto the background.}\n\n\\item{extra_css}{A named list of CSS definitions each containing a named list\nof CSS property-value pairs, i.e.\n\\code{list(\".class-id\" = list(\"css-property\" = \"value\"))}.}\n\n\\item{extra_fonts}{A list of additional fonts to import, each list element\ncan be either a URL as a character string or a call to\n\\code{\\link{google_font}()}. To use a font imported in \\code{extra_fonts}, you\nwill need to write custom CSS rules that apply the font to an element or\nclass with the \\code{font-family} property. See the \\strong{Fonts} section of\n\\code{vignette(\"xaringanthemer\")} for an example.}\n\n\\item{outfile}{Customized xaringan CSS output file name, default is \"xaringan-themer.css\"}\n}\n\\value{\nThe CSS styles are written to the file path provided in \\code{outfile}\n(by default to \\code{xaringan-themer.css}). If \\code{outfile} is \\code{NULL}, the CSS is\nreturned directly as a character string.\n}\n\\description{\nA dark monotone theme based around a single color.\n}\n\\section{Usage}{\n To use the styles created by this theme function, make sure\nthat you use \\code{xaringan-themer.css} as your CSS file in your slides' YAML\nheader. If you change the name of the output file using the \\code{outfile}\nargument, use that name instead of the default file name.\n\n\\if{html}{\\out{<div class=\"sourceCode yaml\">}}\\preformatted{output:\nxaringan::moon_reader:\n  css: xaringan-themer.css\n}\\if{html}{\\out{</div>}}\n}\n\n\\examples{\n# Create a xaringan style in a temporary file\nxaringan_themer_css <- tempfile(\"xaringan-themer-\", fileext = \".css\")\n\nstyle_mono_dark(\n  base_color = \"#cbf7ed\",\n  outfile = xaringan_themer_css # omit in your slides to write the\n                                # styles to xaringan-themer.css\n)\n\n# View the CSS:\n# file.edit(xaringan_themer_css)\n}\n\\seealso{\nOther themes: \n\\code{\\link{style_duo}()},\n\\code{\\link{style_duo_accent}()},\n\\code{\\link{style_duo_accent_inverse}()},\n\\code{\\link{style_mono_accent}()},\n\\code{\\link{style_mono_accent_inverse}()},\n\\code{\\link{style_mono_light}()},\n\\code{\\link{style_solarized_dark}()},\n\\code{\\link{style_solarized_light}()},\n\\code{\\link{xaringanthemer_font_default}()}\n\nOther Monotone themes: \n\\code{\\link{style_mono_accent}()},\n\\code{\\link{style_mono_accent_inverse}()},\n\\code{\\link{style_mono_light}()}\n}\n\\concept{Monotone themes}\n\\concept{themes}\n"
  },
  {
    "path": "man/style_mono_light.Rd",
    "content": "% Generated by roxygen2: do not edit by hand\n% Please edit documentation in R/style_mono_light.R\n\\name{style_mono_light}\n\\alias{style_mono_light}\n\\title{Monotone Light Theme}\n\\usage{\nstyle_mono_light(\n  base_color = \"#23395b\",\n  white_color = lighten_color(base_color, 0.9),\n  black_color = darken_color(base_color, 0.3),\n  text_color = black_color,\n  header_color = base_color,\n  background_color = white_color,\n  link_color = base_color,\n  text_bold_color = base_color,\n  text_slide_number_color = base_color,\n  padding = \"16px 64px 16px 64px\",\n  background_image = NULL,\n  background_size = NULL,\n  background_position = NULL,\n  code_highlight_color = \"rgba(255,255,0,0.5)\",\n  code_inline_color = base_color,\n  code_inline_background_color = NULL,\n  code_inline_font_size = \"1em\",\n  inverse_background_color = base_color,\n  inverse_text_color = white_color,\n  inverse_text_shadow = FALSE,\n  inverse_header_color = inverse_text_color,\n  inverse_link_color = link_color,\n  title_slide_text_color = inverse_text_color,\n  title_slide_background_color = inverse_background_color,\n  title_slide_background_image = NULL,\n  title_slide_background_size = NULL,\n  title_slide_background_position = NULL,\n  footnote_color = NULL,\n  footnote_font_size = \"0.9em\",\n  footnote_position_bottom = \"60px\",\n  left_column_subtle_color = apply_alpha(base_color, 0.6),\n  left_column_selected_color = base_color,\n  blockquote_left_border_color = apply_alpha(base_color, 0.5),\n  table_border_color = \"#666\",\n  table_row_border_color = \"#ddd\",\n  table_row_even_background_color = lighten_color(base_color, 0.8),\n  base_font_size = \"20px\",\n  text_font_size = \"1rem\",\n  header_h1_font_size = \"2.75rem\",\n  header_h2_font_size = \"2.25rem\",\n  header_h3_font_size = \"1.75rem\",\n  header_background_auto = FALSE,\n  header_background_color = header_color,\n  header_background_text_color = background_color,\n  header_background_padding = NULL,\n  header_background_content_padding_top = \"7rem\",\n  header_background_ignore_classes = c(\"normal\", \"inverse\", \"title\", \"middle\", \"bottom\"),\n  text_slide_number_font_size = \"0.9rem\",\n  text_font_google = NULL,\n  text_font_family = xaringanthemer_font_default(\"text_font_family\"),\n  text_font_weight = xaringanthemer_font_default(\"text_font_weight\"),\n  text_bold_font_weight = \"bold\",\n  text_font_url = xaringanthemer_font_default(\"text_font_url\"),\n  text_font_family_fallback = xaringanthemer_font_default(\"text_font_family_fallback\"),\n  text_font_base = \"sans-serif\",\n  header_font_google = NULL,\n  header_font_family = xaringanthemer_font_default(\"header_font_family\"),\n  header_font_weight = xaringanthemer_font_default(\"header_font_weight\"),\n  header_font_family_fallback = \"Georgia, serif\",\n  header_font_url = xaringanthemer_font_default(\"header_font_url\"),\n  code_font_google = NULL,\n  code_font_family = xaringanthemer_font_default(\"code_font_family\"),\n  code_font_size = \"0.9rem\",\n  code_font_url = xaringanthemer_font_default(\"code_font_url\"),\n  code_font_family_fallback = xaringanthemer_font_default(\"code_font_family_fallback\"),\n  link_decoration = \"none\",\n  colors = NULL,\n  extra_css = NULL,\n  extra_fonts = NULL,\n  outfile = \"xaringan-themer.css\"\n)\n}\n\\arguments{\n\\item{base_color}{Monotone base color, works best with a strong color.\nDefaults to #23395b. Used in multiple CSS rules. The value of this\nvariable is also stored as a CSS variable that can be referenced with\n\\code{var(--base)} in any argument of a style function or in custom CSS.}\n\n\\item{white_color}{Brightest color used, default is a very light version of\n\\code{base_color}. Defaults to \\code{lighten_color(base_color, 0.9)}. Used in\nmultiple CSS rules. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--white)} in any argument of a\nstyle function or in custom CSS.}\n\n\\item{black_color}{Darkest color used, default is a very dark, version of\n\\code{base_color}. Defaults to \\code{darken_color(base_color, 0.3)}. Used in\nmultiple CSS rules. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--black)} in any argument of a\nstyle function or in custom CSS.}\n\n\\item{text_color}{Text Color. Defaults to \\code{black_color}. Modifies the \\code{body}\nelement. The value of this variable is also stored as a CSS variable that\ncan be referenced with \\code{var(--text_color)} in any argument of a style\nfunction or in custom CSS.}\n\n\\item{header_color}{Header Color. Defaults to \\code{base_color}. Modifies the\n\\verb{h1, h2, h3} elements. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-color)} in any argument\nof a style function or in custom CSS.}\n\n\\item{background_color}{Slide Background Color. Defaults to \\code{white_color}.\nModifies the \\code{.remark-slide-content} class. The value of this variable is\nalso stored as a CSS variable that can be referenced with\n\\code{var(--background-color)} in any argument of a style function or in custom\nCSS.}\n\n\\item{link_color}{Link Color. Defaults to \\code{base_color}. Modifies the\n\\verb{a, a > code} elements. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--link-color)} in any argument\nof a style function or in custom CSS.}\n\n\\item{text_bold_color}{Bold Text Color. Defaults to \\code{base_color}. Modifies\nthe \\code{strong} element. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--text-bold-color)} in any\nargument of a style function or in custom CSS.}\n\n\\item{text_slide_number_color}{Slide Number Color. Defaults to \\code{base_color}.\nModifies the \\code{.remark-slide-number} class.}\n\n\\item{padding}{Slide Padding in \\verb{top right [bottom left]} format. Defaults\nto 16px 64px 16px 64px. Modifies the \\code{.remark-slide-content} class.\nAccepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/padding}{padding}\nproperty values.}\n\n\\item{background_image}{Background image applied to each \\emph{and every} slide.\nSet \\code{title_slide_background_image = \"none\"} to remove the background image\nfrom the title slide. Defaults to \\code{NULL}. Modifies the\n\\code{.remark-slide-content} class.}\n\n\\item{background_size}{Background image size, requires \\code{background_image} to\nbe set. If \\code{background_image} is set, \\code{background_size} will default to\n\\code{cover} so the background fills the screen. If both \\code{background_image} and\n\\code{background_position} are set, will default to 100 percent. Defaults to\n\\code{NULL}. Modifies the \\code{.remark-slide-content} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}\nproperty values.}\n\n\\item{background_position}{Background image position, requires\n\\code{background_image} to be set, and it is recommended to adjust\n\\code{background_size}. Defaults to \\code{NULL}. Modifies the\n\\code{.remark-slide-content} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-position}{background-position}\nproperty values.}\n\n\\item{code_highlight_color}{Code Line Highlight. Defaults to\nrgba(255,255,0,0.5). Modifies the \\code{.remark-code-line-highlighted} class.\nThe value of this variable is also stored as a CSS variable that can be\nreferenced with \\code{var(--code-highlight-color)} in any argument of a style\nfunction or in custom CSS.}\n\n\\item{code_inline_color}{Inline Code Color. Defaults to \\code{base_color}.\nModifies the \\code{.remark-inline-code} class.}\n\n\\item{code_inline_background_color}{Inline Code Background Color. Defaults\nto \\code{NULL}. Modifies the \\code{.remark-inline-code} class.}\n\n\\item{code_inline_font_size}{Inline Code Text Font Size. Defaults to 1em.\nModifies the \\code{.remark-inline-code} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--code-inline-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{inverse_background_color}{Inverse Background Color. Defaults to\n\\code{base_color}. Modifies the \\code{.inverse} class. The value of this variable is\nalso stored as a CSS variable that can be referenced with\n\\code{var(--inverse-background-color)} in any argument of a style function or\nin custom CSS.}\n\n\\item{inverse_text_color}{Inverse Text Color. Defaults to \\code{white_color}.\nModifies the \\code{.inverse} class. The value of this variable is also stored\nas a CSS variable that can be referenced with \\code{var(--inverse-text-color)}\nin any argument of a style function or in custom CSS.}\n\n\\item{inverse_text_shadow}{Enables Shadow on text of inverse slides.\nDefaults to \\code{FALSE}. Modifies the \\code{.inverse} class.}\n\n\\item{inverse_header_color}{Inverse Header Color. Defaults to\n\\code{inverse_text_color}. Modifies the \\verb{.inverse h1, .inverse h2, .inverse h3}\nclasses. The value of this variable is also stored as a CSS variable that\ncan be referenced with \\code{var(--inverse-header-color)} in any argument of a\nstyle function or in custom CSS.}\n\n\\item{inverse_link_color}{Inverse Link Color. Defaults to \\code{link_color}.\nModifies the \\verb{.inverse a, .inverse a > code} classes. The value of this\nvariable is also stored as a CSS variable that can be referenced with\n\\code{var(--inverse-link-color)} in any argument of a style function or in\ncustom CSS.}\n\n\\item{title_slide_text_color}{Title Slide Text Color. Defaults to\n\\code{inverse_text_color}. Modifies the \\code{.title-slide} class. The value of this\nvariable is also stored as a CSS variable that can be referenced with\n\\code{var(--title-slide-text-color)} in any argument of a style function or in\ncustom CSS.}\n\n\\item{title_slide_background_color}{Title Slide Background Color. Defaults\nto \\code{inverse_background_color}. Modifies the \\code{.title-slide} class. The\nvalue of this variable is also stored as a CSS variable that can be\nreferenced with \\code{var(--title-slide-background-color)} in any argument of a\nstyle function or in custom CSS.}\n\n\\item{title_slide_background_image}{Title Slide Background Image URL.\nDefaults to \\code{NULL}. Modifies the \\code{.title-slide} class.}\n\n\\item{title_slide_background_size}{Title Slide Background Image Size,\ndefaults to \"cover\" if background image is set. Defaults to \\code{NULL}.\nModifies the \\code{.title-slide} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}\nproperty values.}\n\n\\item{title_slide_background_position}{Title Slide Background Image\nPosition. Defaults to \\code{NULL}. Modifies the \\code{.title-slide} class. Accepts\nCSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-position}{background-position}\nproperty values.}\n\n\\item{footnote_color}{Footnote text color (if \\code{NA}, then it will be the same\ncolor as \\code{text_color}). Defaults to \\code{NULL}. Modifies the \\code{.footnote}\nclass.}\n\n\\item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies\nthe \\code{.footnote} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values.}\n\n\\item{footnote_position_bottom}{Footnote location from bottom of screen.\nDefaults to 60px. Modifies the \\code{.footnote} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/position_value}{position}\nproperty values.}\n\n\\item{left_column_subtle_color}{Left Column Text (not last). Defaults to\n\\code{apply_alpha(base_color, 0.6)}. Modifies the\n\\verb{.left-column h2, .left-column h3} classes.}\n\n\\item{left_column_selected_color}{Left Column Current Selection. Defaults to\n\\code{base_color}. Modifies the\n\\verb{.left-column h2:last-of-type, .left-column h3:last-child} classes.}\n\n\\item{blockquote_left_border_color}{Blockquote Left Border Color. Defaults\nto \\code{apply_alpha(base_color, 0.5)}. Modifies the \\code{blockquote} element.}\n\n\\item{table_border_color}{Table top/bottom border. Defaults to #666.\nModifies the \\verb{table: border-top, border-bottom} elements.}\n\n\\item{table_row_border_color}{Table row inner bottom border. Defaults to\n#ddd. Modifies the \\verb{table thead th: border-bottom} elements.}\n\n\\item{table_row_even_background_color}{Table Even Row Background Color.\nDefaults to \\code{lighten_color(base_color, 0.8)}. Modifies the\n\\verb{thead, tfoot, tr:nth-child(even)} elements.}\n\n\\item{base_font_size}{Base Font Size for All Slide Elements (must be \\code{px}).\nDefaults to 20px. Modifies the \\code{html} element. The value of this variable\nis also stored as a CSS variable that can be referenced with\n\\code{var(--base-font-size)} in any argument of a style function or in custom\nCSS.}\n\n\\item{text_font_size}{Slide Body Text Font Size. Defaults to 1rem. Modifies\nthe \\code{.remark-slide-content} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--text-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_h1_font_size}{h1 Header Text Font Size. Defaults to 2.75rem.\nModifies the \\verb{.remark-slide-content h1} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-h1-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_h2_font_size}{h2 Header Text Font Size. Defaults to 2.25rem.\nModifies the \\verb{.remark-slide-content h2} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-h2-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 1.75rem.\nModifies the \\verb{.remark-slide-content h3} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-h3-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_background_auto}{Add background under slide title automatically\nfor h1 header elements. If not enabled, use \\code{class: header_background} to\nenable. Defaults to \\code{FALSE}.}\n\n\\item{header_background_color}{Background Color for h1 Header with\nBackground. Defaults to \\code{header_color}. Modifies the\n\\verb{.remark-slide-content h1} class. The value of this variable is also\nstored as a CSS variable that can be referenced with\n\\code{var(--header-background-color)} in any argument of a style function or in\ncustom CSS.}\n\n\\item{header_background_text_color}{Text Color for h1 Header with\nBackground. Defaults to \\code{background_color}. Modifies the\n\\verb{.remark-slide-content h1} class. The value of this variable is also\nstored as a CSS variable that can be referenced with\n\\code{var(--header-background-text-color)} in any argument of a style function\nor in custom CSS.}\n\n\\item{header_background_padding}{Padding for h1 Header with Background.\nDefaults to \\code{NULL}. Modifies the \\verb{.remark-slide-content h1} class. Accepts\nCSS \\href{https://developer.mozilla.org/en-US/docs/Web/CSS/padding}{padding}\nproperty values.}\n\n\\item{header_background_content_padding_top}{Top Padding for Content in\nSlide with Header with Background. Defaults to 7rem. Modifies the\n\\code{.remark-slide-content} class.}\n\n\\item{header_background_ignore_classes}{Slide Classes Where Header with\nBackground will not be Applied. Defaults to\n\\code{c('normal', 'inverse', 'title', 'middle', 'bottom')}. Modifies the\n\\code{.remark-slide-content} class.}\n\n\\item{text_slide_number_font_size}{Slide Number Text Font Size. Defaults to\n0.9rem. Modifies the \\code{.remark-slide-number} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values.}\n\n\\item{text_font_google}{Use \\code{google_font()} to specify body font. Defaults\nto \\code{NULL}. Modifies the \\code{body} element.}\n\n\\item{text_font_family}{Body Text Font Family (xaringan default is\n\\code{'Droid Serif'}). Defaults to\n\\code{xaringanthemer_font_default(\"text_font_family\")}. Modifies the \\code{body}\nelement. The value of this variable is also stored as a CSS variable that\ncan be referenced with \\code{var(--text-font-family)} in any argument of a\nstyle function or in custom CSS.}\n\n\\item{text_font_weight}{Body Text Font Weight. Defaults to\n\\code{xaringanthemer_font_default(\"text_font_weight\")}. Modifies the \\code{body}\nelement. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}\nproperty values.}\n\n\\item{text_bold_font_weight}{Body Bold Text Font Weight. Defaults to bold.\nModifies the \\code{strong} element.}\n\n\\item{text_font_url}{Body Text Font URL(s). Defaults to\n\\code{xaringanthemer_font_default(\"text_font_url\")}. Modifies the\n\\verb{@import url()} elements.}\n\n\\item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to\n\\code{xaringanthemer_font_default(\"text_font_family_fallback\")}. Modifies the\n\\code{body} element. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--text-font-family-fallback)} in\nany argument of a style function or in custom CSS.}\n\n\\item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults\nto sans-serif. Modifies the \\code{body} element. The value of this variable is\nalso stored as a CSS variable that can be referenced with\n\\code{var(--text-font-base)} in any argument of a style function or in custom\nCSS.}\n\n\\item{header_font_google}{Use \\code{google_font()} to specify header font.\nDefaults to \\code{NULL}. Modifies the \\code{body} element.}\n\n\\item{header_font_family}{Header Font Family (xaringan default is\n\\code{'Yanone Kaffeesatz'}). Defaults to\n\\code{xaringanthemer_font_default(\"header_font_family\")}. Modifies the\n\\verb{h1, h2, h3} elements. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-font-family)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_font_weight}{Header Font Weight. Defaults to\n\\code{xaringanthemer_font_default(\"header_font_weight\")}. Modifies the\n\\verb{h1, h2, h3} elements. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}\nproperty values.}\n\n\\item{header_font_family_fallback}{Header Font Family Fallback. Defaults to\nGeorgia, serif. Modifies the \\verb{h1, h2, h3} elements. The value of this\nvariable is also stored as a CSS variable that can be referenced with\n\\code{var(--header-font-family-fallback)} in any argument of a style function\nor in custom CSS.}\n\n\\item{header_font_url}{Header Font URL. Defaults to\n\\code{xaringanthemer_font_default(\"header_font_url\")}. Modifies the\n\\verb{@import url} elements.}\n\n\\item{code_font_google}{Use \\code{google_font()} to specify code font. Defaults\nto \\code{NULL}. Modifies the \\code{body} element.}\n\n\\item{code_font_family}{Code Font Family. Defaults to\n\\code{xaringanthemer_font_default(\"code_font_family\")}. Modifies the\n\\verb{.remark-code, .remark-inline-code} classes. The value of this variable is\nalso stored as a CSS variable that can be referenced with\n\\code{var(--code-font-family)} in any argument of a style function or in custom\nCSS.}\n\n\\item{code_font_size}{Code Text Font Size. Defaults to 0.9rem. Modifies the\n\\code{.remark-inline} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--code-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{code_font_url}{Code Font URL. Defaults to\n\\code{xaringanthemer_font_default(\"code_font_url\")}. Modifies the \\verb{@import url}\nelements.}\n\n\\item{code_font_family_fallback}{Code Font Fallback. Defaults to\n\\code{xaringanthemer_font_default(\"code_font_family_fallback\")}. Modifies the\n\\verb{.remark-code, .remark-inline-code} classes.}\n\n\\item{link_decoration}{Text decoration of links. Defaults to none. Modifies\nthe \\verb{a, a > code} elements. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration}{text-decoration}\nproperty values.}\n\n\\item{colors}{A named vector of custom colors. The names of the colors\nbecome CSS variables and classes that can be used within your slides.\nFor example, \\code{colors = c(blue = \"#bad4ed\")} adds a CSS variable\n\\code{--blue}, a \\code{.blue} CSS class that applies the color to the text or\nforeground color, and a \\code{.bg-blue} CSS class that applies the color\nto the background.}\n\n\\item{extra_css}{A named list of CSS definitions each containing a named list\nof CSS property-value pairs, i.e.\n\\code{list(\".class-id\" = list(\"css-property\" = \"value\"))}.}\n\n\\item{extra_fonts}{A list of additional fonts to import, each list element\ncan be either a URL as a character string or a call to\n\\code{\\link{google_font}()}. To use a font imported in \\code{extra_fonts}, you\nwill need to write custom CSS rules that apply the font to an element or\nclass with the \\code{font-family} property. See the \\strong{Fonts} section of\n\\code{vignette(\"xaringanthemer\")} for an example.}\n\n\\item{outfile}{Customized xaringan CSS output file name, default is \"xaringan-themer.css\"}\n}\n\\value{\nThe CSS styles are written to the file path provided in \\code{outfile}\n(by default to \\code{xaringan-themer.css}). If \\code{outfile} is \\code{NULL}, the CSS is\nreturned directly as a character string.\n}\n\\description{\nA light monotone theme based around a single color.\n}\n\\section{Usage}{\n To use the styles created by this theme function, make sure\nthat you use \\code{xaringan-themer.css} as your CSS file in your slides' YAML\nheader. If you change the name of the output file using the \\code{outfile}\nargument, use that name instead of the default file name.\n\n\\if{html}{\\out{<div class=\"sourceCode yaml\">}}\\preformatted{output:\nxaringan::moon_reader:\n  css: xaringan-themer.css\n}\\if{html}{\\out{</div>}}\n}\n\n\\examples{\n# Create a xaringan style in a temporary file\nxaringan_themer_css <- tempfile(\"xaringan-themer-\", fileext = \".css\")\n\nstyle_mono_light(\n  base_color = \"#23395b\",\n  outfile = xaringan_themer_css # omit in your slides to write the\n                                # styles to xaringan-themer.css\n)\n\n# View the CSS:\n# file.edit(xaringan_themer_css)\n}\n\\seealso{\nOther themes: \n\\code{\\link{style_duo}()},\n\\code{\\link{style_duo_accent}()},\n\\code{\\link{style_duo_accent_inverse}()},\n\\code{\\link{style_mono_accent}()},\n\\code{\\link{style_mono_accent_inverse}()},\n\\code{\\link{style_mono_dark}()},\n\\code{\\link{style_solarized_dark}()},\n\\code{\\link{style_solarized_light}()},\n\\code{\\link{xaringanthemer_font_default}()}\n\nOther Monotone themes: \n\\code{\\link{style_mono_accent}()},\n\\code{\\link{style_mono_accent_inverse}()},\n\\code{\\link{style_mono_dark}()}\n}\n\\concept{Monotone themes}\n\\concept{themes}\n"
  },
  {
    "path": "man/style_solarized_dark.Rd",
    "content": "% Generated by roxygen2: do not edit by hand\n% Please edit documentation in R/style_solarized_dark.R\n\\name{style_solarized_dark}\n\\alias{style_solarized_dark}\n\\title{Solarized Dark Theme}\n\\usage{\nstyle_solarized_dark(\n  text_color = \"#839496\",\n  header_color = \"#dc322f\",\n  background_color = \"#002b36\",\n  link_color = \"#b58900\",\n  text_bold_color = \"#d33682\",\n  text_slide_number_color = \"#586e75\",\n  padding = \"16px 64px 16px 64px\",\n  background_image = NULL,\n  background_size = NULL,\n  background_position = NULL,\n  code_highlight_color = \"#268bd240\",\n  code_inline_color = \"#6c71c4\",\n  code_inline_background_color = NULL,\n  code_inline_font_size = \"1em\",\n  inverse_background_color = \"#fdf6e3\",\n  inverse_text_color = \"#002b36\",\n  inverse_text_shadow = FALSE,\n  inverse_header_color = inverse_text_color,\n  inverse_link_color = link_color,\n  title_slide_text_color = inverse_text_color,\n  title_slide_background_color = inverse_background_color,\n  title_slide_background_image = NULL,\n  title_slide_background_size = NULL,\n  title_slide_background_position = NULL,\n  footnote_color = NULL,\n  footnote_font_size = \"0.9em\",\n  footnote_position_bottom = \"60px\",\n  left_column_subtle_color = \"#586e75\",\n  left_column_selected_color = \"#93a1a1\",\n  blockquote_left_border_color = \"#cb4b16\",\n  table_border_color = \"#657b83\",\n  table_row_border_color = \"#657b83\",\n  table_row_even_background_color = \"#073642\",\n  base_font_size = \"20px\",\n  text_font_size = \"1rem\",\n  header_h1_font_size = \"2.75rem\",\n  header_h2_font_size = \"2.25rem\",\n  header_h3_font_size = \"1.75rem\",\n  header_background_auto = FALSE,\n  header_background_color = header_color,\n  header_background_text_color = background_color,\n  header_background_padding = NULL,\n  header_background_content_padding_top = \"7rem\",\n  header_background_ignore_classes = c(\"normal\", \"inverse\", \"title\", \"middle\", \"bottom\"),\n  text_slide_number_font_size = \"0.9rem\",\n  text_font_google = NULL,\n  text_font_family = xaringanthemer_font_default(\"text_font_family\"),\n  text_font_weight = xaringanthemer_font_default(\"text_font_weight\"),\n  text_bold_font_weight = \"bold\",\n  text_font_url = xaringanthemer_font_default(\"text_font_url\"),\n  text_font_family_fallback = xaringanthemer_font_default(\"text_font_family_fallback\"),\n  text_font_base = \"sans-serif\",\n  header_font_google = NULL,\n  header_font_family = xaringanthemer_font_default(\"header_font_family\"),\n  header_font_weight = xaringanthemer_font_default(\"header_font_weight\"),\n  header_font_family_fallback = \"Georgia, serif\",\n  header_font_url = xaringanthemer_font_default(\"header_font_url\"),\n  code_font_google = NULL,\n  code_font_family = xaringanthemer_font_default(\"code_font_family\"),\n  code_font_size = \"0.9rem\",\n  code_font_url = xaringanthemer_font_default(\"code_font_url\"),\n  code_font_family_fallback = xaringanthemer_font_default(\"code_font_family_fallback\"),\n  link_decoration = \"none\",\n  colors = NULL,\n  extra_css = NULL,\n  extra_fonts = NULL,\n  outfile = \"xaringan-themer.css\"\n)\n}\n\\arguments{\n\\item{text_color}{Text Color. Defaults to #839496. Modifies the \\code{body}\nelement. The value of this variable is also stored as a CSS variable that\ncan be referenced with \\code{var(--text_color)} in any argument of a style\nfunction or in custom CSS.}\n\n\\item{header_color}{Header Color. Defaults to #dc322f. Modifies the\n\\verb{h1, h2, h3} elements. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-color)} in any argument\nof a style function or in custom CSS.}\n\n\\item{background_color}{Slide Background Color. Defaults to #002b36.\nModifies the \\code{.remark-slide-content} class. The value of this variable is\nalso stored as a CSS variable that can be referenced with\n\\code{var(--background-color)} in any argument of a style function or in custom\nCSS.}\n\n\\item{link_color}{Link Color. Defaults to #b58900. Modifies the\n\\verb{a, a > code} elements. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--link-color)} in any argument\nof a style function or in custom CSS.}\n\n\\item{text_bold_color}{Bold Text Color. Defaults to #d33682. Modifies the\n\\code{strong} element. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--text-bold-color)} in any\nargument of a style function or in custom CSS.}\n\n\\item{text_slide_number_color}{Slide Number Color. Defaults to #586e75.\nModifies the \\code{.remark-slide-number} class.}\n\n\\item{padding}{Slide Padding in \\verb{top right [bottom left]} format. Defaults\nto 16px 64px 16px 64px. Modifies the \\code{.remark-slide-content} class.\nAccepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/padding}{padding}\nproperty values.}\n\n\\item{background_image}{Background image applied to each \\emph{and every} slide.\nSet \\code{title_slide_background_image = \"none\"} to remove the background image\nfrom the title slide. Defaults to \\code{NULL}. Modifies the\n\\code{.remark-slide-content} class.}\n\n\\item{background_size}{Background image size, requires \\code{background_image} to\nbe set. If \\code{background_image} is set, \\code{background_size} will default to\n\\code{cover} so the background fills the screen. If both \\code{background_image} and\n\\code{background_position} are set, will default to 100 percent. Defaults to\n\\code{NULL}. Modifies the \\code{.remark-slide-content} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}\nproperty values.}\n\n\\item{background_position}{Background image position, requires\n\\code{background_image} to be set, and it is recommended to adjust\n\\code{background_size}. Defaults to \\code{NULL}. Modifies the\n\\code{.remark-slide-content} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-position}{background-position}\nproperty values.}\n\n\\item{code_highlight_color}{Code Line Highlight. Defaults to #268bd240.\nModifies the \\code{.remark-code-line-highlighted} class. The value of this\nvariable is also stored as a CSS variable that can be referenced with\n\\code{var(--code-highlight-color)} in any argument of a style function or in\ncustom CSS.}\n\n\\item{code_inline_color}{Inline Code Color. Defaults to #6c71c4. Modifies\nthe \\code{.remark-inline-code} class.}\n\n\\item{code_inline_background_color}{Inline Code Background Color. Defaults\nto \\code{NULL}. Modifies the \\code{.remark-inline-code} class.}\n\n\\item{code_inline_font_size}{Inline Code Text Font Size. Defaults to 1em.\nModifies the \\code{.remark-inline-code} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--code-inline-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{inverse_background_color}{Inverse Background Color. Defaults to\n#fdf6e3. Modifies the \\code{.inverse} class. The value of this variable is also\nstored as a CSS variable that can be referenced with\n\\code{var(--inverse-background-color)} in any argument of a style function or\nin custom CSS.}\n\n\\item{inverse_text_color}{Inverse Text Color. Defaults to #002b36. Modifies\nthe \\code{.inverse} class. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--inverse-text-color)} in any\nargument of a style function or in custom CSS.}\n\n\\item{inverse_text_shadow}{Enables Shadow on text of inverse slides.\nDefaults to \\code{FALSE}. Modifies the \\code{.inverse} class.}\n\n\\item{inverse_header_color}{Inverse Header Color. Defaults to\n\\code{inverse_text_color}. Modifies the \\verb{.inverse h1, .inverse h2, .inverse h3}\nclasses. The value of this variable is also stored as a CSS variable that\ncan be referenced with \\code{var(--inverse-header-color)} in any argument of a\nstyle function or in custom CSS.}\n\n\\item{inverse_link_color}{Inverse Link Color. Defaults to \\code{link_color}.\nModifies the \\verb{.inverse a, .inverse a > code} classes. The value of this\nvariable is also stored as a CSS variable that can be referenced with\n\\code{var(--inverse-link-color)} in any argument of a style function or in\ncustom CSS.}\n\n\\item{title_slide_text_color}{Title Slide Text Color. Defaults to\n\\code{inverse_text_color}. Modifies the \\code{.title-slide} class. The value of this\nvariable is also stored as a CSS variable that can be referenced with\n\\code{var(--title-slide-text-color)} in any argument of a style function or in\ncustom CSS.}\n\n\\item{title_slide_background_color}{Title Slide Background Color. Defaults\nto \\code{inverse_background_color}. Modifies the \\code{.title-slide} class. The\nvalue of this variable is also stored as a CSS variable that can be\nreferenced with \\code{var(--title-slide-background-color)} in any argument of a\nstyle function or in custom CSS.}\n\n\\item{title_slide_background_image}{Title Slide Background Image URL.\nDefaults to \\code{NULL}. Modifies the \\code{.title-slide} class.}\n\n\\item{title_slide_background_size}{Title Slide Background Image Size,\ndefaults to \"cover\" if background image is set. Defaults to \\code{NULL}.\nModifies the \\code{.title-slide} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}\nproperty values.}\n\n\\item{title_slide_background_position}{Title Slide Background Image\nPosition. Defaults to \\code{NULL}. Modifies the \\code{.title-slide} class. Accepts\nCSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-position}{background-position}\nproperty values.}\n\n\\item{footnote_color}{Footnote text color (if \\code{NA}, then it will be the same\ncolor as \\code{text_color}). Defaults to \\code{NULL}. Modifies the \\code{.footnote}\nclass.}\n\n\\item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies\nthe \\code{.footnote} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values.}\n\n\\item{footnote_position_bottom}{Footnote location from bottom of screen.\nDefaults to 60px. Modifies the \\code{.footnote} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/position_value}{position}\nproperty values.}\n\n\\item{left_column_subtle_color}{Left Column Text (not last). Defaults to\n#586e75. Modifies the \\verb{.left-column h2, .left-column h3} classes.}\n\n\\item{left_column_selected_color}{Left Column Current Selection. Defaults to\n#93a1a1. Modifies the\n\\verb{.left-column h2:last-of-type, .left-column h3:last-child} classes.}\n\n\\item{blockquote_left_border_color}{Blockquote Left Border Color. Defaults\nto #cb4b16. Modifies the \\code{blockquote} element.}\n\n\\item{table_border_color}{Table top/bottom border. Defaults to #657b83.\nModifies the \\verb{table: border-top, border-bottom} elements.}\n\n\\item{table_row_border_color}{Table row inner bottom border. Defaults to\n#657b83. Modifies the \\verb{table thead th: border-bottom} elements.}\n\n\\item{table_row_even_background_color}{Table Even Row Background Color.\nDefaults to #073642. Modifies the \\verb{thead, tfoot, tr:nth-child(even)}\nelements.}\n\n\\item{base_font_size}{Base Font Size for All Slide Elements (must be \\code{px}).\nDefaults to 20px. Modifies the \\code{html} element. The value of this variable\nis also stored as a CSS variable that can be referenced with\n\\code{var(--base-font-size)} in any argument of a style function or in custom\nCSS.}\n\n\\item{text_font_size}{Slide Body Text Font Size. Defaults to 1rem. Modifies\nthe \\code{.remark-slide-content} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--text-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_h1_font_size}{h1 Header Text Font Size. Defaults to 2.75rem.\nModifies the \\verb{.remark-slide-content h1} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-h1-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_h2_font_size}{h2 Header Text Font Size. Defaults to 2.25rem.\nModifies the \\verb{.remark-slide-content h2} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-h2-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 1.75rem.\nModifies the \\verb{.remark-slide-content h3} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-h3-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_background_auto}{Add background under slide title automatically\nfor h1 header elements. If not enabled, use \\code{class: header_background} to\nenable. Defaults to \\code{FALSE}.}\n\n\\item{header_background_color}{Background Color for h1 Header with\nBackground. Defaults to \\code{header_color}. Modifies the\n\\verb{.remark-slide-content h1} class. The value of this variable is also\nstored as a CSS variable that can be referenced with\n\\code{var(--header-background-color)} in any argument of a style function or in\ncustom CSS.}\n\n\\item{header_background_text_color}{Text Color for h1 Header with\nBackground. Defaults to \\code{background_color}. Modifies the\n\\verb{.remark-slide-content h1} class. The value of this variable is also\nstored as a CSS variable that can be referenced with\n\\code{var(--header-background-text-color)} in any argument of a style function\nor in custom CSS.}\n\n\\item{header_background_padding}{Padding for h1 Header with Background.\nDefaults to \\code{NULL}. Modifies the \\verb{.remark-slide-content h1} class. Accepts\nCSS \\href{https://developer.mozilla.org/en-US/docs/Web/CSS/padding}{padding}\nproperty values.}\n\n\\item{header_background_content_padding_top}{Top Padding for Content in\nSlide with Header with Background. Defaults to 7rem. Modifies the\n\\code{.remark-slide-content} class.}\n\n\\item{header_background_ignore_classes}{Slide Classes Where Header with\nBackground will not be Applied. Defaults to\n\\code{c('normal', 'inverse', 'title', 'middle', 'bottom')}. Modifies the\n\\code{.remark-slide-content} class.}\n\n\\item{text_slide_number_font_size}{Slide Number Text Font Size. Defaults to\n0.9rem. Modifies the \\code{.remark-slide-number} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values.}\n\n\\item{text_font_google}{Use \\code{google_font()} to specify body font. Defaults\nto \\code{NULL}. Modifies the \\code{body} element.}\n\n\\item{text_font_family}{Body Text Font Family (xaringan default is\n\\code{'Droid Serif'}). Defaults to\n\\code{xaringanthemer_font_default(\"text_font_family\")}. Modifies the \\code{body}\nelement. The value of this variable is also stored as a CSS variable that\ncan be referenced with \\code{var(--text-font-family)} in any argument of a\nstyle function or in custom CSS.}\n\n\\item{text_font_weight}{Body Text Font Weight. Defaults to\n\\code{xaringanthemer_font_default(\"text_font_weight\")}. Modifies the \\code{body}\nelement. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}\nproperty values.}\n\n\\item{text_bold_font_weight}{Body Bold Text Font Weight. Defaults to bold.\nModifies the \\code{strong} element.}\n\n\\item{text_font_url}{Body Text Font URL(s). Defaults to\n\\code{xaringanthemer_font_default(\"text_font_url\")}. Modifies the\n\\verb{@import url()} elements.}\n\n\\item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to\n\\code{xaringanthemer_font_default(\"text_font_family_fallback\")}. Modifies the\n\\code{body} element. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--text-font-family-fallback)} in\nany argument of a style function or in custom CSS.}\n\n\\item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults\nto sans-serif. Modifies the \\code{body} element. The value of this variable is\nalso stored as a CSS variable that can be referenced with\n\\code{var(--text-font-base)} in any argument of a style function or in custom\nCSS.}\n\n\\item{header_font_google}{Use \\code{google_font()} to specify header font.\nDefaults to \\code{NULL}. Modifies the \\code{body} element.}\n\n\\item{header_font_family}{Header Font Family (xaringan default is\n\\code{'Yanone Kaffeesatz'}). Defaults to\n\\code{xaringanthemer_font_default(\"header_font_family\")}. Modifies the\n\\verb{h1, h2, h3} elements. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-font-family)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_font_weight}{Header Font Weight. Defaults to\n\\code{xaringanthemer_font_default(\"header_font_weight\")}. Modifies the\n\\verb{h1, h2, h3} elements. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}\nproperty values.}\n\n\\item{header_font_family_fallback}{Header Font Family Fallback. Defaults to\nGeorgia, serif. Modifies the \\verb{h1, h2, h3} elements. The value of this\nvariable is also stored as a CSS variable that can be referenced with\n\\code{var(--header-font-family-fallback)} in any argument of a style function\nor in custom CSS.}\n\n\\item{header_font_url}{Header Font URL. Defaults to\n\\code{xaringanthemer_font_default(\"header_font_url\")}. Modifies the\n\\verb{@import url} elements.}\n\n\\item{code_font_google}{Use \\code{google_font()} to specify code font. Defaults\nto \\code{NULL}. Modifies the \\code{body} element.}\n\n\\item{code_font_family}{Code Font Family. Defaults to\n\\code{xaringanthemer_font_default(\"code_font_family\")}. Modifies the\n\\verb{.remark-code, .remark-inline-code} classes. The value of this variable is\nalso stored as a CSS variable that can be referenced with\n\\code{var(--code-font-family)} in any argument of a style function or in custom\nCSS.}\n\n\\item{code_font_size}{Code Text Font Size. Defaults to 0.9rem. Modifies the\n\\code{.remark-inline} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--code-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{code_font_url}{Code Font URL. Defaults to\n\\code{xaringanthemer_font_default(\"code_font_url\")}. Modifies the \\verb{@import url}\nelements.}\n\n\\item{code_font_family_fallback}{Code Font Fallback. Defaults to\n\\code{xaringanthemer_font_default(\"code_font_family_fallback\")}. Modifies the\n\\verb{.remark-code, .remark-inline-code} classes.}\n\n\\item{link_decoration}{Text decoration of links. Defaults to none. Modifies\nthe \\verb{a, a > code} elements. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration}{text-decoration}\nproperty values.}\n\n\\item{colors}{A named vector of custom colors. The names of the colors\nbecome CSS variables and classes that can be used within your slides.\nFor example, \\code{colors = c(blue = \"#bad4ed\")} adds a CSS variable\n\\code{--blue}, a \\code{.blue} CSS class that applies the color to the text or\nforeground color, and a \\code{.bg-blue} CSS class that applies the color\nto the background.}\n\n\\item{extra_css}{A named list of CSS definitions each containing a named list\nof CSS property-value pairs, i.e.\n\\code{list(\".class-id\" = list(\"css-property\" = \"value\"))}.}\n\n\\item{extra_fonts}{A list of additional fonts to import, each list element\ncan be either a URL as a character string or a call to\n\\code{\\link{google_font}()}. To use a font imported in \\code{extra_fonts}, you\nwill need to write custom CSS rules that apply the font to an element or\nclass with the \\code{font-family} property. See the \\strong{Fonts} section of\n\\code{vignette(\"xaringanthemer\")} for an example.}\n\n\\item{outfile}{Customized xaringan CSS output file name, default is \"xaringan-themer.css\"}\n}\n\\value{\nThe CSS styles are written to the file path provided in \\code{outfile}\n(by default to \\code{xaringan-themer.css}). If \\code{outfile} is \\code{NULL}, the CSS is\nreturned directly as a character string.\n}\n\\description{\nA dark theme based around on the solarized color scheme.\nWorks well with \"\\code{highlightStyle: solarized-dark}\" or\n\"\\code{highlighStyle: solarized-light}\".\n}\n\\section{Usage}{\n To use the styles created by this theme function, make sure\nthat you use \\code{xaringan-themer.css} as your CSS file in your slides' YAML\nheader. If you change the name of the output file using the \\code{outfile}\nargument, use that name instead of the default file name.\n\n\\if{html}{\\out{<div class=\"sourceCode yaml\">}}\\preformatted{output:\nxaringan::moon_reader:\n  css: xaringan-themer.css\n}\\if{html}{\\out{</div>}}\n}\n\n\\examples{\n# Create a xaringan style in a temporary file\nxaringan_themer_css <- tempfile(\"xaringan-themer-\", fileext = \".css\")\n\nstyle_solarized_dark(\n  outfile = xaringan_themer_css # omit in your slides to write the\n                                # styles to xaringan-themer.css\n)\n\n# View the CSS:\n# file.edit(xaringan_themer_css)\n}\n\\references{\n\\url{https://ethanschoonover.com/solarized/}\n}\n\\seealso{\nOther themes: \n\\code{\\link{style_duo}()},\n\\code{\\link{style_duo_accent}()},\n\\code{\\link{style_duo_accent_inverse}()},\n\\code{\\link{style_mono_accent}()},\n\\code{\\link{style_mono_accent_inverse}()},\n\\code{\\link{style_mono_dark}()},\n\\code{\\link{style_mono_light}()},\n\\code{\\link{style_solarized_light}()},\n\\code{\\link{xaringanthemer_font_default}()}\n\nOther Solarized themes: \n\\code{\\link{style_solarized_light}()}\n}\n\\concept{Solarized themes}\n\\concept{themes}\n"
  },
  {
    "path": "man/style_solarized_light.Rd",
    "content": "% Generated by roxygen2: do not edit by hand\n% Please edit documentation in R/style_solarized_light.R\n\\name{style_solarized_light}\n\\alias{style_solarized_light}\n\\title{Solarized Light Theme}\n\\usage{\nstyle_solarized_light(\n  text_color = \"#657b83\",\n  header_color = \"#dc322f\",\n  background_color = \"#fdf6e3\",\n  link_color = \"#b58900\",\n  text_bold_color = \"#d33682\",\n  text_slide_number_color = \"#93a1a1\",\n  padding = \"16px 64px 16px 64px\",\n  background_image = NULL,\n  background_size = NULL,\n  background_position = NULL,\n  code_highlight_color = \"#268bd240\",\n  code_inline_color = \"#6c71c4\",\n  code_inline_background_color = NULL,\n  code_inline_font_size = \"1em\",\n  inverse_background_color = \"#002b36\",\n  inverse_text_color = \"#fdf6e3\",\n  inverse_text_shadow = FALSE,\n  inverse_header_color = inverse_text_color,\n  inverse_link_color = link_color,\n  title_slide_text_color = inverse_text_color,\n  title_slide_background_color = inverse_background_color,\n  title_slide_background_image = NULL,\n  title_slide_background_size = NULL,\n  title_slide_background_position = NULL,\n  footnote_color = NULL,\n  footnote_font_size = \"0.9em\",\n  footnote_position_bottom = \"60px\",\n  left_column_subtle_color = \"#93a1a1\",\n  left_column_selected_color = \"#586e75\",\n  blockquote_left_border_color = \"#cb4b16\",\n  table_border_color = \"#839496\",\n  table_row_border_color = \"#839496\",\n  table_row_even_background_color = \"#eee8d5\",\n  base_font_size = \"20px\",\n  text_font_size = \"1rem\",\n  header_h1_font_size = \"2.75rem\",\n  header_h2_font_size = \"2.25rem\",\n  header_h3_font_size = \"1.75rem\",\n  header_background_auto = FALSE,\n  header_background_color = header_color,\n  header_background_text_color = background_color,\n  header_background_padding = NULL,\n  header_background_content_padding_top = \"7rem\",\n  header_background_ignore_classes = c(\"normal\", \"inverse\", \"title\", \"middle\", \"bottom\"),\n  text_slide_number_font_size = \"0.9rem\",\n  text_font_google = NULL,\n  text_font_family = xaringanthemer_font_default(\"text_font_family\"),\n  text_font_weight = xaringanthemer_font_default(\"text_font_weight\"),\n  text_bold_font_weight = \"bold\",\n  text_font_url = xaringanthemer_font_default(\"text_font_url\"),\n  text_font_family_fallback = xaringanthemer_font_default(\"text_font_family_fallback\"),\n  text_font_base = \"sans-serif\",\n  header_font_google = NULL,\n  header_font_family = xaringanthemer_font_default(\"header_font_family\"),\n  header_font_weight = xaringanthemer_font_default(\"header_font_weight\"),\n  header_font_family_fallback = \"Georgia, serif\",\n  header_font_url = xaringanthemer_font_default(\"header_font_url\"),\n  code_font_google = NULL,\n  code_font_family = xaringanthemer_font_default(\"code_font_family\"),\n  code_font_size = \"0.9rem\",\n  code_font_url = xaringanthemer_font_default(\"code_font_url\"),\n  code_font_family_fallback = xaringanthemer_font_default(\"code_font_family_fallback\"),\n  link_decoration = \"none\",\n  colors = NULL,\n  extra_css = NULL,\n  extra_fonts = NULL,\n  outfile = \"xaringan-themer.css\"\n)\n}\n\\arguments{\n\\item{text_color}{Text Color. Defaults to #657b83. Modifies the \\code{body}\nelement. The value of this variable is also stored as a CSS variable that\ncan be referenced with \\code{var(--text_color)} in any argument of a style\nfunction or in custom CSS.}\n\n\\item{header_color}{Header Color. Defaults to #dc322f. Modifies the\n\\verb{h1, h2, h3} elements. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-color)} in any argument\nof a style function or in custom CSS.}\n\n\\item{background_color}{Slide Background Color. Defaults to #fdf6e3.\nModifies the \\code{.remark-slide-content} class. The value of this variable is\nalso stored as a CSS variable that can be referenced with\n\\code{var(--background-color)} in any argument of a style function or in custom\nCSS.}\n\n\\item{link_color}{Link Color. Defaults to #b58900. Modifies the\n\\verb{a, a > code} elements. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--link-color)} in any argument\nof a style function or in custom CSS.}\n\n\\item{text_bold_color}{Bold Text Color. Defaults to #d33682. Modifies the\n\\code{strong} element. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--text-bold-color)} in any\nargument of a style function or in custom CSS.}\n\n\\item{text_slide_number_color}{Slide Number Color. Defaults to #93a1a1.\nModifies the \\code{.remark-slide-number} class.}\n\n\\item{padding}{Slide Padding in \\verb{top right [bottom left]} format. Defaults\nto 16px 64px 16px 64px. Modifies the \\code{.remark-slide-content} class.\nAccepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/padding}{padding}\nproperty values.}\n\n\\item{background_image}{Background image applied to each \\emph{and every} slide.\nSet \\code{title_slide_background_image = \"none\"} to remove the background image\nfrom the title slide. Defaults to \\code{NULL}. Modifies the\n\\code{.remark-slide-content} class.}\n\n\\item{background_size}{Background image size, requires \\code{background_image} to\nbe set. If \\code{background_image} is set, \\code{background_size} will default to\n\\code{cover} so the background fills the screen. If both \\code{background_image} and\n\\code{background_position} are set, will default to 100 percent. Defaults to\n\\code{NULL}. Modifies the \\code{.remark-slide-content} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}\nproperty values.}\n\n\\item{background_position}{Background image position, requires\n\\code{background_image} to be set, and it is recommended to adjust\n\\code{background_size}. Defaults to \\code{NULL}. Modifies the\n\\code{.remark-slide-content} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-position}{background-position}\nproperty values.}\n\n\\item{code_highlight_color}{Code Line Highlight. Defaults to #268bd240.\nModifies the \\code{.remark-code-line-highlighted} class. The value of this\nvariable is also stored as a CSS variable that can be referenced with\n\\code{var(--code-highlight-color)} in any argument of a style function or in\ncustom CSS.}\n\n\\item{code_inline_color}{Inline Code Color. Defaults to #6c71c4. Modifies\nthe \\code{.remark-inline-code} class.}\n\n\\item{code_inline_background_color}{Inline Code Background Color. Defaults\nto \\code{NULL}. Modifies the \\code{.remark-inline-code} class.}\n\n\\item{code_inline_font_size}{Inline Code Text Font Size. Defaults to 1em.\nModifies the \\code{.remark-inline-code} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--code-inline-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{inverse_background_color}{Inverse Background Color. Defaults to\n#002b36. Modifies the \\code{.inverse} class. The value of this variable is also\nstored as a CSS variable that can be referenced with\n\\code{var(--inverse-background-color)} in any argument of a style function or\nin custom CSS.}\n\n\\item{inverse_text_color}{Inverse Text Color. Defaults to #fdf6e3. Modifies\nthe \\code{.inverse} class. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--inverse-text-color)} in any\nargument of a style function or in custom CSS.}\n\n\\item{inverse_text_shadow}{Enables Shadow on text of inverse slides.\nDefaults to \\code{FALSE}. Modifies the \\code{.inverse} class.}\n\n\\item{inverse_header_color}{Inverse Header Color. Defaults to\n\\code{inverse_text_color}. Modifies the \\verb{.inverse h1, .inverse h2, .inverse h3}\nclasses. The value of this variable is also stored as a CSS variable that\ncan be referenced with \\code{var(--inverse-header-color)} in any argument of a\nstyle function or in custom CSS.}\n\n\\item{inverse_link_color}{Inverse Link Color. Defaults to \\code{link_color}.\nModifies the \\verb{.inverse a, .inverse a > code} classes. The value of this\nvariable is also stored as a CSS variable that can be referenced with\n\\code{var(--inverse-link-color)} in any argument of a style function or in\ncustom CSS.}\n\n\\item{title_slide_text_color}{Title Slide Text Color. Defaults to\n\\code{inverse_text_color}. Modifies the \\code{.title-slide} class. The value of this\nvariable is also stored as a CSS variable that can be referenced with\n\\code{var(--title-slide-text-color)} in any argument of a style function or in\ncustom CSS.}\n\n\\item{title_slide_background_color}{Title Slide Background Color. Defaults\nto \\code{inverse_background_color}. Modifies the \\code{.title-slide} class. The\nvalue of this variable is also stored as a CSS variable that can be\nreferenced with \\code{var(--title-slide-background-color)} in any argument of a\nstyle function or in custom CSS.}\n\n\\item{title_slide_background_image}{Title Slide Background Image URL.\nDefaults to \\code{NULL}. Modifies the \\code{.title-slide} class.}\n\n\\item{title_slide_background_size}{Title Slide Background Image Size,\ndefaults to \"cover\" if background image is set. Defaults to \\code{NULL}.\nModifies the \\code{.title-slide} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}\nproperty values.}\n\n\\item{title_slide_background_position}{Title Slide Background Image\nPosition. Defaults to \\code{NULL}. Modifies the \\code{.title-slide} class. Accepts\nCSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-position}{background-position}\nproperty values.}\n\n\\item{footnote_color}{Footnote text color (if \\code{NA}, then it will be the same\ncolor as \\code{text_color}). Defaults to \\code{NULL}. Modifies the \\code{.footnote}\nclass.}\n\n\\item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies\nthe \\code{.footnote} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values.}\n\n\\item{footnote_position_bottom}{Footnote location from bottom of screen.\nDefaults to 60px. Modifies the \\code{.footnote} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/position_value}{position}\nproperty values.}\n\n\\item{left_column_subtle_color}{Left Column Text (not last). Defaults to\n#93a1a1. Modifies the \\verb{.left-column h2, .left-column h3} classes.}\n\n\\item{left_column_selected_color}{Left Column Current Selection. Defaults to\n#586e75. Modifies the\n\\verb{.left-column h2:last-of-type, .left-column h3:last-child} classes.}\n\n\\item{blockquote_left_border_color}{Blockquote Left Border Color. Defaults\nto #cb4b16. Modifies the \\code{blockquote} element.}\n\n\\item{table_border_color}{Table top/bottom border. Defaults to #839496.\nModifies the \\verb{table: border-top, border-bottom} elements.}\n\n\\item{table_row_border_color}{Table row inner bottom border. Defaults to\n#839496. Modifies the \\verb{table thead th: border-bottom} elements.}\n\n\\item{table_row_even_background_color}{Table Even Row Background Color.\nDefaults to #eee8d5. Modifies the \\verb{thead, tfoot, tr:nth-child(even)}\nelements.}\n\n\\item{base_font_size}{Base Font Size for All Slide Elements (must be \\code{px}).\nDefaults to 20px. Modifies the \\code{html} element. The value of this variable\nis also stored as a CSS variable that can be referenced with\n\\code{var(--base-font-size)} in any argument of a style function or in custom\nCSS.}\n\n\\item{text_font_size}{Slide Body Text Font Size. Defaults to 1rem. Modifies\nthe \\code{.remark-slide-content} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--text-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_h1_font_size}{h1 Header Text Font Size. Defaults to 2.75rem.\nModifies the \\verb{.remark-slide-content h1} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-h1-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_h2_font_size}{h2 Header Text Font Size. Defaults to 2.25rem.\nModifies the \\verb{.remark-slide-content h2} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-h2-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 1.75rem.\nModifies the \\verb{.remark-slide-content h3} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-h3-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_background_auto}{Add background under slide title automatically\nfor h1 header elements. If not enabled, use \\code{class: header_background} to\nenable. Defaults to \\code{FALSE}.}\n\n\\item{header_background_color}{Background Color for h1 Header with\nBackground. Defaults to \\code{header_color}. Modifies the\n\\verb{.remark-slide-content h1} class. The value of this variable is also\nstored as a CSS variable that can be referenced with\n\\code{var(--header-background-color)} in any argument of a style function or in\ncustom CSS.}\n\n\\item{header_background_text_color}{Text Color for h1 Header with\nBackground. Defaults to \\code{background_color}. Modifies the\n\\verb{.remark-slide-content h1} class. The value of this variable is also\nstored as a CSS variable that can be referenced with\n\\code{var(--header-background-text-color)} in any argument of a style function\nor in custom CSS.}\n\n\\item{header_background_padding}{Padding for h1 Header with Background.\nDefaults to \\code{NULL}. Modifies the \\verb{.remark-slide-content h1} class. Accepts\nCSS \\href{https://developer.mozilla.org/en-US/docs/Web/CSS/padding}{padding}\nproperty values.}\n\n\\item{header_background_content_padding_top}{Top Padding for Content in\nSlide with Header with Background. Defaults to 7rem. Modifies the\n\\code{.remark-slide-content} class.}\n\n\\item{header_background_ignore_classes}{Slide Classes Where Header with\nBackground will not be Applied. Defaults to\n\\code{c('normal', 'inverse', 'title', 'middle', 'bottom')}. Modifies the\n\\code{.remark-slide-content} class.}\n\n\\item{text_slide_number_font_size}{Slide Number Text Font Size. Defaults to\n0.9rem. Modifies the \\code{.remark-slide-number} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values.}\n\n\\item{text_font_google}{Use \\code{google_font()} to specify body font. Defaults\nto \\code{NULL}. Modifies the \\code{body} element.}\n\n\\item{text_font_family}{Body Text Font Family (xaringan default is\n\\code{'Droid Serif'}). Defaults to\n\\code{xaringanthemer_font_default(\"text_font_family\")}. Modifies the \\code{body}\nelement. The value of this variable is also stored as a CSS variable that\ncan be referenced with \\code{var(--text-font-family)} in any argument of a\nstyle function or in custom CSS.}\n\n\\item{text_font_weight}{Body Text Font Weight. Defaults to\n\\code{xaringanthemer_font_default(\"text_font_weight\")}. Modifies the \\code{body}\nelement. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}\nproperty values.}\n\n\\item{text_bold_font_weight}{Body Bold Text Font Weight. Defaults to bold.\nModifies the \\code{strong} element.}\n\n\\item{text_font_url}{Body Text Font URL(s). Defaults to\n\\code{xaringanthemer_font_default(\"text_font_url\")}. Modifies the\n\\verb{@import url()} elements.}\n\n\\item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to\n\\code{xaringanthemer_font_default(\"text_font_family_fallback\")}. Modifies the\n\\code{body} element. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--text-font-family-fallback)} in\nany argument of a style function or in custom CSS.}\n\n\\item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults\nto sans-serif. Modifies the \\code{body} element. The value of this variable is\nalso stored as a CSS variable that can be referenced with\n\\code{var(--text-font-base)} in any argument of a style function or in custom\nCSS.}\n\n\\item{header_font_google}{Use \\code{google_font()} to specify header font.\nDefaults to \\code{NULL}. Modifies the \\code{body} element.}\n\n\\item{header_font_family}{Header Font Family (xaringan default is\n\\code{'Yanone Kaffeesatz'}). Defaults to\n\\code{xaringanthemer_font_default(\"header_font_family\")}. Modifies the\n\\verb{h1, h2, h3} elements. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-font-family)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_font_weight}{Header Font Weight. Defaults to\n\\code{xaringanthemer_font_default(\"header_font_weight\")}. Modifies the\n\\verb{h1, h2, h3} elements. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}\nproperty values.}\n\n\\item{header_font_family_fallback}{Header Font Family Fallback. Defaults to\nGeorgia, serif. Modifies the \\verb{h1, h2, h3} elements. The value of this\nvariable is also stored as a CSS variable that can be referenced with\n\\code{var(--header-font-family-fallback)} in any argument of a style function\nor in custom CSS.}\n\n\\item{header_font_url}{Header Font URL. Defaults to\n\\code{xaringanthemer_font_default(\"header_font_url\")}. Modifies the\n\\verb{@import url} elements.}\n\n\\item{code_font_google}{Use \\code{google_font()} to specify code font. Defaults\nto \\code{NULL}. Modifies the \\code{body} element.}\n\n\\item{code_font_family}{Code Font Family. Defaults to\n\\code{xaringanthemer_font_default(\"code_font_family\")}. Modifies the\n\\verb{.remark-code, .remark-inline-code} classes. The value of this variable is\nalso stored as a CSS variable that can be referenced with\n\\code{var(--code-font-family)} in any argument of a style function or in custom\nCSS.}\n\n\\item{code_font_size}{Code Text Font Size. Defaults to 0.9rem. Modifies the\n\\code{.remark-inline} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--code-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{code_font_url}{Code Font URL. Defaults to\n\\code{xaringanthemer_font_default(\"code_font_url\")}. Modifies the \\verb{@import url}\nelements.}\n\n\\item{code_font_family_fallback}{Code Font Fallback. Defaults to\n\\code{xaringanthemer_font_default(\"code_font_family_fallback\")}. Modifies the\n\\verb{.remark-code, .remark-inline-code} classes.}\n\n\\item{link_decoration}{Text decoration of links. Defaults to none. Modifies\nthe \\verb{a, a > code} elements. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration}{text-decoration}\nproperty values.}\n\n\\item{colors}{A named vector of custom colors. The names of the colors\nbecome CSS variables and classes that can be used within your slides.\nFor example, \\code{colors = c(blue = \"#bad4ed\")} adds a CSS variable\n\\code{--blue}, a \\code{.blue} CSS class that applies the color to the text or\nforeground color, and a \\code{.bg-blue} CSS class that applies the color\nto the background.}\n\n\\item{extra_css}{A named list of CSS definitions each containing a named list\nof CSS property-value pairs, i.e.\n\\code{list(\".class-id\" = list(\"css-property\" = \"value\"))}.}\n\n\\item{extra_fonts}{A list of additional fonts to import, each list element\ncan be either a URL as a character string or a call to\n\\code{\\link{google_font}()}. To use a font imported in \\code{extra_fonts}, you\nwill need to write custom CSS rules that apply the font to an element or\nclass with the \\code{font-family} property. See the \\strong{Fonts} section of\n\\code{vignette(\"xaringanthemer\")} for an example.}\n\n\\item{outfile}{Customized xaringan CSS output file name, default is \"xaringan-themer.css\"}\n}\n\\value{\nThe CSS styles are written to the file path provided in \\code{outfile}\n(by default to \\code{xaringan-themer.css}). If \\code{outfile} is \\code{NULL}, the CSS is\nreturned directly as a character string.\n}\n\\description{\nA light theme based around on the solarized color scheme.\nWorks well with \"\\code{highlightStyle: solarized-dark}\" or\n\"\\code{highlighStyle: solarized-light}\".\n}\n\\section{Usage}{\n To use the styles created by this theme function, make sure\nthat you use \\code{xaringan-themer.css} as your CSS file in your slides' YAML\nheader. If you change the name of the output file using the \\code{outfile}\nargument, use that name instead of the default file name.\n\n\\if{html}{\\out{<div class=\"sourceCode yaml\">}}\\preformatted{output:\nxaringan::moon_reader:\n  css: xaringan-themer.css\n}\\if{html}{\\out{</div>}}\n}\n\n\\examples{\n# Create a xaringan style in a temporary file\nxaringan_themer_css <- tempfile(\"xaringan-themer-\", fileext = \".css\")\n\nstyle_solarized_light(\n  outfile = xaringan_themer_css # omit in your slides to write the\n                                # styles to xaringan-themer.css\n)\n\n# View the CSS:\n# file.edit(xaringan_themer_css)\n}\n\\references{\n\\url{https://ethanschoonover.com/solarized/}\n}\n\\seealso{\nOther themes: \n\\code{\\link{style_duo}()},\n\\code{\\link{style_duo_accent}()},\n\\code{\\link{style_duo_accent_inverse}()},\n\\code{\\link{style_mono_accent}()},\n\\code{\\link{style_mono_accent_inverse}()},\n\\code{\\link{style_mono_dark}()},\n\\code{\\link{style_mono_light}()},\n\\code{\\link{style_solarized_dark}()},\n\\code{\\link{xaringanthemer_font_default}()}\n\nOther Solarized themes: \n\\code{\\link{style_solarized_dark}()}\n}\n\\concept{Solarized themes}\n\\concept{themes}\n"
  },
  {
    "path": "man/style_xaringan.Rd",
    "content": "% Generated by roxygen2: do not edit by hand\n% Please edit documentation in R/style_font_default.R, R/style_xaringan.R\n\\name{xaringanthemer_font_default}\n\\alias{xaringanthemer_font_default}\n\\alias{style_xaringan}\n\\title{Write A Customized Xaringan Theme}\n\\usage{\nxaringanthemer_font_default(font_arg)\n\nstyle_xaringan(\n  text_color = \"#000\",\n  header_color = \"#000\",\n  background_color = \"#FFF\",\n  link_color = \"rgb(249, 38, 114)\",\n  text_bold_color = NULL,\n  text_slide_number_color = inverse_background_color,\n  padding = \"16px 64px 16px 64px\",\n  background_image = NULL,\n  background_size = NULL,\n  background_position = NULL,\n  code_highlight_color = \"rgba(255,255,0,0.5)\",\n  code_inline_color = \"#000\",\n  code_inline_background_color = NULL,\n  code_inline_font_size = \"1em\",\n  inverse_background_color = \"#272822\",\n  inverse_text_color = \"#d6d6d6\",\n  inverse_text_shadow = FALSE,\n  inverse_header_color = \"#f3f3f3\",\n  inverse_link_color = link_color,\n  title_slide_text_color = inverse_text_color,\n  title_slide_background_color = inverse_background_color,\n  title_slide_background_image = NULL,\n  title_slide_background_size = NULL,\n  title_slide_background_position = NULL,\n  footnote_color = NULL,\n  footnote_font_size = \"0.9em\",\n  footnote_position_bottom = \"60px\",\n  left_column_subtle_color = \"#777\",\n  left_column_selected_color = \"#000\",\n  blockquote_left_border_color = \"lightgray\",\n  table_border_color = \"#666\",\n  table_row_border_color = \"#ddd\",\n  table_row_even_background_color = \"#eee\",\n  base_font_size = \"20px\",\n  text_font_size = \"1rem\",\n  header_h1_font_size = \"2.75rem\",\n  header_h2_font_size = \"2.25rem\",\n  header_h3_font_size = \"1.75rem\",\n  header_background_auto = FALSE,\n  header_background_color = header_color,\n  header_background_text_color = background_color,\n  header_background_padding = NULL,\n  header_background_content_padding_top = \"7rem\",\n  header_background_ignore_classes = c(\"normal\", \"inverse\", \"title\", \"middle\", \"bottom\"),\n  text_slide_number_font_size = \"0.9rem\",\n  text_font_google = NULL,\n  text_font_family = xaringanthemer_font_default(\"text_font_family\"),\n  text_font_weight = xaringanthemer_font_default(\"text_font_weight\"),\n  text_bold_font_weight = \"bold\",\n  text_font_url = xaringanthemer_font_default(\"text_font_url\"),\n  text_font_family_fallback = xaringanthemer_font_default(\"text_font_family_fallback\"),\n  text_font_base = \"sans-serif\",\n  header_font_google = NULL,\n  header_font_family = xaringanthemer_font_default(\"header_font_family\"),\n  header_font_weight = xaringanthemer_font_default(\"header_font_weight\"),\n  header_font_family_fallback = \"Georgia, serif\",\n  header_font_url = xaringanthemer_font_default(\"header_font_url\"),\n  code_font_google = NULL,\n  code_font_family = xaringanthemer_font_default(\"code_font_family\"),\n  code_font_size = \"0.9rem\",\n  code_font_url = xaringanthemer_font_default(\"code_font_url\"),\n  code_font_family_fallback = xaringanthemer_font_default(\"code_font_family_fallback\"),\n  link_decoration = \"none\",\n  colors = NULL,\n  extra_css = NULL,\n  extra_fonts = NULL,\n  outfile = \"xaringan-themer.css\"\n)\n}\n\\arguments{\n\\item{font_arg}{A font argument from the \\pkg{xaringanthemer} \\code{style_}\nfunction family.}\n\n\\item{text_color}{Text Color. Defaults to #000. Modifies the \\code{body} element.\nThe value of this variable is also stored as a CSS variable that can be\nreferenced with \\code{var(--text_color)} in any argument of a style function or\nin custom CSS.}\n\n\\item{header_color}{Header Color. Defaults to #000. Modifies the\n\\verb{h1, h2, h3} elements. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-color)} in any argument\nof a style function or in custom CSS.}\n\n\\item{background_color}{Slide Background Color. Defaults to #FFF. Modifies\nthe \\code{.remark-slide-content} class. The value of this variable is also\nstored as a CSS variable that can be referenced with\n\\code{var(--background-color)} in any argument of a style function or in custom\nCSS.}\n\n\\item{link_color}{Link Color. Defaults to rgb(249, 38, 114). Modifies the\n\\verb{a, a > code} elements. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--link-color)} in any argument\nof a style function or in custom CSS.}\n\n\\item{text_bold_color}{Bold Text Color. Defaults to \\code{NULL}. Modifies the\n\\code{strong} element. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--text-bold-color)} in any\nargument of a style function or in custom CSS.}\n\n\\item{text_slide_number_color}{Slide Number Color. Defaults to\n\\code{inverse_background_color}. Modifies the \\code{.remark-slide-number} class.}\n\n\\item{padding}{Slide Padding in \\verb{top right [bottom left]} format. Defaults\nto 16px 64px 16px 64px. Modifies the \\code{.remark-slide-content} class.\nAccepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/padding}{padding}\nproperty values.}\n\n\\item{background_image}{Background image applied to each \\emph{and every} slide.\nSet \\code{title_slide_background_image = \"none\"} to remove the background image\nfrom the title slide. Defaults to \\code{NULL}. Modifies the\n\\code{.remark-slide-content} class.}\n\n\\item{background_size}{Background image size, requires \\code{background_image} to\nbe set. If \\code{background_image} is set, \\code{background_size} will default to\n\\code{cover} so the background fills the screen. If both \\code{background_image} and\n\\code{background_position} are set, will default to 100 percent. Defaults to\n\\code{NULL}. Modifies the \\code{.remark-slide-content} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}\nproperty values.}\n\n\\item{background_position}{Background image position, requires\n\\code{background_image} to be set, and it is recommended to adjust\n\\code{background_size}. Defaults to \\code{NULL}. Modifies the\n\\code{.remark-slide-content} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-position}{background-position}\nproperty values.}\n\n\\item{code_highlight_color}{Code Line Highlight. Defaults to\nrgba(255,255,0,0.5). Modifies the \\code{.remark-code-line-highlighted} class.\nThe value of this variable is also stored as a CSS variable that can be\nreferenced with \\code{var(--code-highlight-color)} in any argument of a style\nfunction or in custom CSS.}\n\n\\item{code_inline_color}{Inline Code Color. Defaults to #000. Modifies the\n\\code{.remark-inline-code} class.}\n\n\\item{code_inline_background_color}{Inline Code Background Color. Defaults\nto \\code{NULL}. Modifies the \\code{.remark-inline-code} class.}\n\n\\item{code_inline_font_size}{Inline Code Text Font Size. Defaults to 1em.\nModifies the \\code{.remark-inline-code} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--code-inline-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{inverse_background_color}{Inverse Background Color. Defaults to\n#272822. Modifies the \\code{.inverse} class. The value of this variable is also\nstored as a CSS variable that can be referenced with\n\\code{var(--inverse-background-color)} in any argument of a style function or\nin custom CSS.}\n\n\\item{inverse_text_color}{Inverse Text Color. Defaults to #d6d6d6. Modifies\nthe \\code{.inverse} class. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--inverse-text-color)} in any\nargument of a style function or in custom CSS.}\n\n\\item{inverse_text_shadow}{Enables Shadow on text of inverse slides.\nDefaults to \\code{FALSE}. Modifies the \\code{.inverse} class.}\n\n\\item{inverse_header_color}{Inverse Header Color. Defaults to #f3f3f3.\nModifies the \\verb{.inverse h1, .inverse h2, .inverse h3} classes. The value of\nthis variable is also stored as a CSS variable that can be referenced with\n\\code{var(--inverse-header-color)} in any argument of a style function or in\ncustom CSS.}\n\n\\item{inverse_link_color}{Inverse Link Color. Defaults to \\code{link_color}.\nModifies the \\verb{.inverse a, .inverse a > code} classes. The value of this\nvariable is also stored as a CSS variable that can be referenced with\n\\code{var(--inverse-link-color)} in any argument of a style function or in\ncustom CSS.}\n\n\\item{title_slide_text_color}{Title Slide Text Color. Defaults to\n\\code{inverse_text_color}. Modifies the \\code{.title-slide} class. The value of this\nvariable is also stored as a CSS variable that can be referenced with\n\\code{var(--title-slide-text-color)} in any argument of a style function or in\ncustom CSS.}\n\n\\item{title_slide_background_color}{Title Slide Background Color. Defaults\nto \\code{inverse_background_color}. Modifies the \\code{.title-slide} class. The\nvalue of this variable is also stored as a CSS variable that can be\nreferenced with \\code{var(--title-slide-background-color)} in any argument of a\nstyle function or in custom CSS.}\n\n\\item{title_slide_background_image}{Title Slide Background Image URL.\nDefaults to \\code{NULL}. Modifies the \\code{.title-slide} class.}\n\n\\item{title_slide_background_size}{Title Slide Background Image Size,\ndefaults to \"cover\" if background image is set. Defaults to \\code{NULL}.\nModifies the \\code{.title-slide} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}{background-size}\nproperty values.}\n\n\\item{title_slide_background_position}{Title Slide Background Image\nPosition. Defaults to \\code{NULL}. Modifies the \\code{.title-slide} class. Accepts\nCSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/background-position}{background-position}\nproperty values.}\n\n\\item{footnote_color}{Footnote text color (if \\code{NA}, then it will be the same\ncolor as \\code{text_color}). Defaults to \\code{NULL}. Modifies the \\code{.footnote}\nclass.}\n\n\\item{footnote_font_size}{Footnote font size. Defaults to 0.9em. Modifies\nthe \\code{.footnote} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values.}\n\n\\item{footnote_position_bottom}{Footnote location from bottom of screen.\nDefaults to 60px. Modifies the \\code{.footnote} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/position_value}{position}\nproperty values.}\n\n\\item{left_column_subtle_color}{Left Column Text (not last). Defaults to\n#777. Modifies the \\verb{.left-column h2, .left-column h3} classes.}\n\n\\item{left_column_selected_color}{Left Column Current Selection. Defaults to\n#000. Modifies the\n\\verb{.left-column h2:last-of-type, .left-column h3:last-child} classes.}\n\n\\item{blockquote_left_border_color}{Blockquote Left Border Color. Defaults\nto lightgray. Modifies the \\code{blockquote} element.}\n\n\\item{table_border_color}{Table top/bottom border. Defaults to #666.\nModifies the \\verb{table: border-top, border-bottom} elements.}\n\n\\item{table_row_border_color}{Table row inner bottom border. Defaults to\n#ddd. Modifies the \\verb{table thead th: border-bottom} elements.}\n\n\\item{table_row_even_background_color}{Table Even Row Background Color.\nDefaults to #eee. Modifies the \\verb{thead, tfoot, tr:nth-child(even)}\nelements.}\n\n\\item{base_font_size}{Base Font Size for All Slide Elements (must be \\code{px}).\nDefaults to 20px. Modifies the \\code{html} element. The value of this variable\nis also stored as a CSS variable that can be referenced with\n\\code{var(--base-font-size)} in any argument of a style function or in custom\nCSS.}\n\n\\item{text_font_size}{Slide Body Text Font Size. Defaults to 1rem. Modifies\nthe \\code{.remark-slide-content} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--text-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_h1_font_size}{h1 Header Text Font Size. Defaults to 2.75rem.\nModifies the \\verb{.remark-slide-content h1} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-h1-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_h2_font_size}{h2 Header Text Font Size. Defaults to 2.25rem.\nModifies the \\verb{.remark-slide-content h2} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-h2-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_h3_font_size}{h3 Header Text Font Size. Defaults to 1.75rem.\nModifies the \\verb{.remark-slide-content h3} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-h3-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_background_auto}{Add background under slide title automatically\nfor h1 header elements. If not enabled, use \\code{class: header_background} to\nenable. Defaults to \\code{FALSE}.}\n\n\\item{header_background_color}{Background Color for h1 Header with\nBackground. Defaults to \\code{header_color}. Modifies the\n\\verb{.remark-slide-content h1} class. The value of this variable is also\nstored as a CSS variable that can be referenced with\n\\code{var(--header-background-color)} in any argument of a style function or in\ncustom CSS.}\n\n\\item{header_background_text_color}{Text Color for h1 Header with\nBackground. Defaults to \\code{background_color}. Modifies the\n\\verb{.remark-slide-content h1} class. The value of this variable is also\nstored as a CSS variable that can be referenced with\n\\code{var(--header-background-text-color)} in any argument of a style function\nor in custom CSS.}\n\n\\item{header_background_padding}{Padding for h1 Header with Background.\nDefaults to \\code{NULL}. Modifies the \\verb{.remark-slide-content h1} class. Accepts\nCSS \\href{https://developer.mozilla.org/en-US/docs/Web/CSS/padding}{padding}\nproperty values.}\n\n\\item{header_background_content_padding_top}{Top Padding for Content in\nSlide with Header with Background. Defaults to 7rem. Modifies the\n\\code{.remark-slide-content} class.}\n\n\\item{header_background_ignore_classes}{Slide Classes Where Header with\nBackground will not be Applied. Defaults to\n\\code{c('normal', 'inverse', 'title', 'middle', 'bottom')}. Modifies the\n\\code{.remark-slide-content} class.}\n\n\\item{text_slide_number_font_size}{Slide Number Text Font Size. Defaults to\n0.9rem. Modifies the \\code{.remark-slide-number} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values.}\n\n\\item{text_font_google}{Use \\code{google_font()} to specify body font. Defaults\nto \\code{NULL}. Modifies the \\code{body} element.}\n\n\\item{text_font_family}{Body Text Font Family (xaringan default is\n\\code{'Droid Serif'}). Defaults to\n\\code{xaringanthemer_font_default(\"text_font_family\")}. Modifies the \\code{body}\nelement. The value of this variable is also stored as a CSS variable that\ncan be referenced with \\code{var(--text-font-family)} in any argument of a\nstyle function or in custom CSS.}\n\n\\item{text_font_weight}{Body Text Font Weight. Defaults to\n\\code{xaringanthemer_font_default(\"text_font_weight\")}. Modifies the \\code{body}\nelement. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}\nproperty values.}\n\n\\item{text_bold_font_weight}{Body Bold Text Font Weight. Defaults to bold.\nModifies the \\code{strong} element.}\n\n\\item{text_font_url}{Body Text Font URL(s). Defaults to\n\\code{xaringanthemer_font_default(\"text_font_url\")}. Modifies the\n\\verb{@import url()} elements.}\n\n\\item{text_font_family_fallback}{Body Text Font Fallbacks. Defaults to\n\\code{xaringanthemer_font_default(\"text_font_family_fallback\")}. Modifies the\n\\code{body} element. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--text-font-family-fallback)} in\nany argument of a style function or in custom CSS.}\n\n\\item{text_font_base}{Body Text Base Font (Total Failure Fallback). Defaults\nto sans-serif. Modifies the \\code{body} element. The value of this variable is\nalso stored as a CSS variable that can be referenced with\n\\code{var(--text-font-base)} in any argument of a style function or in custom\nCSS.}\n\n\\item{header_font_google}{Use \\code{google_font()} to specify header font.\nDefaults to \\code{NULL}. Modifies the \\code{body} element.}\n\n\\item{header_font_family}{Header Font Family (xaringan default is\n\\code{'Yanone Kaffeesatz'}). Defaults to\n\\code{xaringanthemer_font_default(\"header_font_family\")}. Modifies the\n\\verb{h1, h2, h3} elements. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--header-font-family)} in any\nargument of a style function or in custom CSS.}\n\n\\item{header_font_weight}{Header Font Weight. Defaults to\n\\code{xaringanthemer_font_default(\"header_font_weight\")}. Modifies the\n\\verb{h1, h2, h3} elements. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight}\nproperty values.}\n\n\\item{header_font_family_fallback}{Header Font Family Fallback. Defaults to\nGeorgia, serif. Modifies the \\verb{h1, h2, h3} elements. The value of this\nvariable is also stored as a CSS variable that can be referenced with\n\\code{var(--header-font-family-fallback)} in any argument of a style function\nor in custom CSS.}\n\n\\item{header_font_url}{Header Font URL. Defaults to\n\\code{xaringanthemer_font_default(\"header_font_url\")}. Modifies the\n\\verb{@import url} elements.}\n\n\\item{code_font_google}{Use \\code{google_font()} to specify code font. Defaults\nto \\code{NULL}. Modifies the \\code{body} element.}\n\n\\item{code_font_family}{Code Font Family. Defaults to\n\\code{xaringanthemer_font_default(\"code_font_family\")}. Modifies the\n\\verb{.remark-code, .remark-inline-code} classes. The value of this variable is\nalso stored as a CSS variable that can be referenced with\n\\code{var(--code-font-family)} in any argument of a style function or in custom\nCSS.}\n\n\\item{code_font_size}{Code Text Font Size. Defaults to 0.9rem. Modifies the\n\\code{.remark-inline} class. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}{font-size}\nproperty values. The value of this variable is also stored as a CSS\nvariable that can be referenced with \\code{var(--code-font-size)} in any\nargument of a style function or in custom CSS.}\n\n\\item{code_font_url}{Code Font URL. Defaults to\n\\code{xaringanthemer_font_default(\"code_font_url\")}. Modifies the \\verb{@import url}\nelements.}\n\n\\item{code_font_family_fallback}{Code Font Fallback. Defaults to\n\\code{xaringanthemer_font_default(\"code_font_family_fallback\")}. Modifies the\n\\verb{.remark-code, .remark-inline-code} classes.}\n\n\\item{link_decoration}{Text decoration of links. Defaults to none. Modifies\nthe \\verb{a, a > code} elements. Accepts CSS\n\\href{https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration}{text-decoration}\nproperty values.}\n\n\\item{colors}{A named vector of custom colors. The names of the colors\nbecome CSS variables and classes that can be used within your slides.\nFor example, \\code{colors = c(blue = \"#bad4ed\")} adds a CSS variable\n\\code{--blue}, a \\code{.blue} CSS class that applies the color to the text or\nforeground color, and a \\code{.bg-blue} CSS class that applies the color\nto the background.}\n\n\\item{extra_css}{A named list of CSS definitions each containing a named list\nof CSS property-value pairs, i.e.\n\\code{list(\".class-id\" = list(\"css-property\" = \"value\"))}.}\n\n\\item{extra_fonts}{A list of additional fonts to import, each list element\ncan be either a URL as a character string or a call to\n\\code{\\link{google_font}()}. To use a font imported in \\code{extra_fonts}, you\nwill need to write custom CSS rules that apply the font to an element or\nclass with the \\code{font-family} property. See the \\strong{Fonts} section of\n\\code{vignette(\"xaringanthemer\")} for an example.}\n\n\\item{outfile}{Customized xaringan CSS output file name, default is \"xaringan-themer.css\"}\n}\n\\value{\nThe CSS styles are written to the file path provided in \\code{outfile}\n(by default to \\code{xaringan-themer.css}). If \\code{outfile} is \\code{NULL}, the CSS is\nreturned directly as a character string.\n}\n\\description{\nCreates a customized Xaringan theme CSS file.\n}\n\\section{Functions}{\n\\itemize{\n\\item \\code{xaringanthemer_font_default()}: Default values for font family, weight, URLs and\nfont fallbacks.\n\n}}\n\\section{Usage}{\n To use the styles created by this theme function, make sure\nthat you use \\code{xaringan-themer.css} as your CSS file in your slides' YAML\nheader. If you change the name of the output file using the \\code{outfile}\nargument, use that name instead of the default file name.\n\n\\if{html}{\\out{<div class=\"sourceCode yaml\">}}\\preformatted{output:\nxaringan::moon_reader:\n  css: xaringan-themer.css\n}\\if{html}{\\out{</div>}}\n}\n\n\\examples{\n# Create a xaringan style in a temporary file\nxaringan_themer_css <- tempfile(\"xaringan-themer-\", fileext = \".css\")\n\nstyle_xaringan(\n  text_color = \"#002b3\",\n  inverse_background_color = \"#31b09e\",\n  inverse_text_color = \"#002b3\",\n  outfile = xaringan_themer_css # omit in your slides to write the\n                                # styles to xaringan-themer.css\n)\n\n# View the CSS:\n# file.edit(xaringan_themer_css)\n}\n\\seealso{\nOther themes: \n\\code{\\link{style_duo}()},\n\\code{\\link{style_duo_accent}()},\n\\code{\\link{style_duo_accent_inverse}()},\n\\code{\\link{style_mono_accent}()},\n\\code{\\link{style_mono_accent_inverse}()},\n\\code{\\link{style_mono_dark}()},\n\\code{\\link{style_mono_light}()},\n\\code{\\link{style_solarized_dark}()},\n\\code{\\link{style_solarized_light}()}\n}\n\\concept{themes}\n"
  },
  {
    "path": "man/theme_xaringan.Rd",
    "content": "% Generated by roxygen2: do not edit by hand\n% Please edit documentation in R/ggplot2.R\n\\name{theme_xaringan}\n\\alias{theme_xaringan}\n\\title{A Plot Theme for ggplot2 by xaringanthemer}\n\\usage{\ntheme_xaringan(\n  text_color = NULL,\n  background_color = NULL,\n  accent_color = NULL,\n  accent_secondary_color = NULL,\n  css_file = NULL,\n  set_ggplot_defaults = TRUE,\n  text_font = NULL,\n  text_font_use_google = NULL,\n  text_font_size = NULL,\n  title_font = NULL,\n  title_font_use_google = NULL,\n  title_font_size = NULL,\n  use_showtext = NULL\n)\n}\n\\arguments{\n\\item{text_color}{Color for text and foreground, inherits from \\code{text_color}}\n\n\\item{background_color}{Color for background, inherits from\n\\code{background_color}}\n\n\\item{accent_color}{Color for titles and accents, inherits from\n\\code{header_color}}\n\n\\item{accent_secondary_color}{Color for secondary accents, inherits from\n\\code{text_bold_color}}\n\n\\item{css_file}{Path to a \\pkg{xaringanthemer} CSS file, from which the\ntheme variables and values will be inferred. In general, if you use the\n\\pkg{xaringathemer} defaults, you will not need to set this. This feature\nlets you create a \\pkg{ggplot2} theme for your \\pkg{xaringan} slides, even\nif you have only saved your theme CSS file and you aren't creating your\nCSS theme with \\pkg{xaringanthemer} in your slides' source file.}\n\n\\item{set_ggplot_defaults}{Should defaults be set for \\pkg{ggplot2} \\emph{geoms}?\nDefaults to TRUE. To restore ggplot's defaults, or the previously set geom\ndefaults, see \\code{\\link[=theme_xaringan_restore_defaults]{theme_xaringan_restore_defaults()}}.}\n\n\\item{text_font}{Font to use for text elements, passed to\n\\code{\\link[sysfonts:font_add_google]{sysfonts::font_add_google()}}, if available and \\code{text_font_use_google} is\n\\code{TRUE}. Inherits from \\code{text_font_family}. If manually specified, can be a\n\\code{\\link[=google_font]{google_font()}}.}\n\n\\item{text_font_use_google}{Is \\code{text_font} available on \\href{https://fonts.google.com}{Google Fonts}?}\n\n\\item{text_font_size}{Base text font size, inherits from \\code{text_font_size}, or\ndefaults to 11.}\n\n\\item{title_font}{Font to use for title elements, passed to\n\\code{\\link[sysfonts:font_add_google]{sysfonts::font_add_google()}}, if available and \\code{title_font_use_google} is\n\\code{TRUE}. Inherits from \\code{title_font_family}. If manually specified, can be a\n\\code{\\link[=google_font]{google_font()}}.}\n\n\\item{title_font_use_google}{Is \\code{title_font} available on \\href{https://fonts.google.com}{Google Fonts}?}\n\n\\item{title_font_size}{Base text font size, inherits from \\code{title_font_size},\nor defaults to 14.}\n\n\\item{use_showtext}{If \\code{TRUE} the \\pkg{showtext} package will be\nused to register Google fonts. Set to \\code{FALSE} to disable this feature\nentirely, which may result in errors during plotting if the fonts used are\nnot available locally. The default is \\code{TRUE} when the \\pkg{showtext}\npackage is installed.}\n}\n\\value{\nA ggplot2 theme\n}\n\\description{\n\\ifelse{html}{\\href{https://lifecycle.r-lib.org/articles/stages.html#maturing}{\\figure{lifecycle-maturing.svg}{options: alt='[Maturing]'}}}{\\strong{[Maturing]}}\n\nCreates \\pkg{ggplot2} themes to match the xaringanthemer theme used in the\n\\pkg{xaringan} slides that seamlessly matches the \"normal\" slide colors and\nstyles. See \\code{vignette(\"ggplot2-themes\")} for more information and examples.\n}\n\\examples{\n# Requires ggplot2\nhas_ggplot2 <- requireNamespace(\"ggplot2\", quietly = TRUE)\n\nif (has_ggplot2) {\n  # Because this is an example, we'll save the CSS to a temp file\n  path_to_css_file <- tempfile(fileext = \".css\")\n\n  # Create the xaringan theme: dark blue background with teal green accents\n  style_duo(\n    primary_color = \"#002b36\",\n    secondary_color = \"#31b09e\",\n    # Using basic fonts for this example, but the plot theme will\n    # automatically use your theme font if you use Google fonts\n    text_font_family = \"sans\",\n    header_font_family = \"serif\",\n    outfile = path_to_css_file\n  )\n\n  library(ggplot2)\n  ggplot(mpg) +\n    aes(cty, hwy) +\n    geom_point() +\n    ggtitle(\"Fuel Efficiency of Various Cars\") +\n    theme_xaringan()\n}\n}\n\\seealso{\nOther xaringanthemer ggplot2 themes: \n\\code{\\link{theme_xaringan_base}()},\n\\code{\\link{theme_xaringan_inverse}()},\n\\code{\\link{theme_xaringan_set_defaults}()}\n}\n\\concept{xaringanthemer ggplot2 themes}\n"
  },
  {
    "path": "man/theme_xaringan_base.Rd",
    "content": "% Generated by roxygen2: do not edit by hand\n% Please edit documentation in R/ggplot2.R\n\\name{theme_xaringan_base}\n\\alias{theme_xaringan_base}\n\\title{The ggplot2 xaringanthemer base plot theme}\n\\usage{\ntheme_xaringan_base(\n  text_color,\n  background_color,\n  ...,\n  set_ggplot_defaults = TRUE,\n  accent_color = NULL,\n  accent_secondary_color = NULL,\n  text_font = NULL,\n  text_font_use_google = NULL,\n  text_font_size = NULL,\n  title_font = NULL,\n  title_font_use_google = NULL,\n  title_font_size = NULL,\n  use_showtext = NULL\n)\n}\n\\arguments{\n\\item{text_color}{Color for text and foreground}\n\n\\item{background_color}{Color for background}\n\n\\item{...}{Ignored}\n\n\\item{set_ggplot_defaults}{Should defaults be set for \\pkg{ggplot2} \\emph{geoms}?\nDefaults to TRUE. To restore ggplot's defaults, or the previously set geom\ndefaults, see \\code{\\link[=theme_xaringan_restore_defaults]{theme_xaringan_restore_defaults()}}.}\n\n\\item{accent_color}{Color for titles and accents, inherits from\n\\code{header_color} or \\code{text_color}. Used for the \\code{title} base setting in\n\\code{\\link[ggplot2:theme]{ggplot2::theme()}}, and additionally for setting the \\code{color} or \\code{fill} of\n\\pkg{ggplot2} geom defaults.}\n\n\\item{accent_secondary_color}{Color for secondary accents, inherits from\n\\code{text_bold_color} or \\code{accent_color}. Used only when setting \\pkg{ggplot2} geom\ndefaults.}\n\n\\item{text_font}{Font to use for text elements, passed to\n\\code{\\link[sysfonts:font_add_google]{sysfonts::font_add_google()}}, if available and \\code{text_font_use_google} is\n\\code{TRUE}. Inherits from \\code{text_font_family}. If manually specified, can be a\n\\code{\\link[=google_font]{google_font()}}.}\n\n\\item{text_font_use_google}{Is \\code{text_font} available on \\href{https://fonts.google.com}{Google Fonts}?}\n\n\\item{text_font_size}{Base text font size, inherits from \\code{text_font_size}, or\ndefaults to 11.}\n\n\\item{title_font}{Font to use for title elements, passed to\n\\code{\\link[sysfonts:font_add_google]{sysfonts::font_add_google()}}, if available and \\code{title_font_use_google} is\n\\code{TRUE}. Inherits from \\code{title_font_family}. If manually specified, can be a\n\\code{\\link[=google_font]{google_font()}}.}\n\n\\item{title_font_use_google}{Is \\code{title_font} available on \\href{https://fonts.google.com}{Google Fonts}?}\n\n\\item{title_font_size}{Base text font size, inherits from \\code{title_font_size},\nor defaults to 14.}\n\n\\item{use_showtext}{If \\code{TRUE} the \\pkg{showtext} package will be\nused to register Google fonts. Set to \\code{FALSE} to disable this feature\nentirely, which may result in errors during plotting if the fonts used are\nnot available locally. The default is \\code{TRUE} when the \\pkg{showtext}\npackage is installed.}\n}\n\\value{\nA ggplot2 theme\n}\n\\description{\n\\ifelse{html}{\\href{https://lifecycle.r-lib.org/articles/stages.html#maturing}{\\figure{lifecycle-maturing.svg}{options: alt='[Maturing]'}}}{\\strong{[Maturing]}}\n\nProvides a base plot theme for \\pkg{ggplot2} to match the \\pkg{xaringan}\nslide theme created by \\link{xaringanthemer}. The theme is designed to create a\ngeneral plot style from two colors, a \\code{background_color} and a \\code{text_color}\n(or foreground color). Also accepts an \\code{accent_color} and an\n\\code{accent_secondary_color} that are \\link{xaringanthemer} is not required for the\nbase theme. Use \\code{\\link[=theme_xaringan]{theme_xaringan()}} or \\code{\\link[=theme_xaringan_inverse]{theme_xaringan_inverse()}} in xaringan\nslides styled by xaringanthemer for a plot theme that matches the slide\nstyle.  See \\code{vignette(\"ggplot2-themes\")} for more information and examples.\n}\n\\examples{\n# Requires ggplot2\nhas_ggplot2 <- requireNamespace(\"ggplot2\", quietly = TRUE)\n\nif (has_ggplot2) {\n  library(ggplot2)\n\n  plot1 <- ggplot(mpg) +\n    aes(cty, hwy) +\n    geom_point() +\n    theme_xaringan_base(\n      text_color = \"#602f6b\",       # imperial\n      background_color = \"#f8f8f8\", # light gray\n      accent_color = \"#317873\",     # myrtle green\n      title_font = \"sans\",\n      text_font = \"serif\",\n      set_ggplot_defaults = TRUE\n    ) +\n    labs(\n      title = \"Fuel Efficiency of Various Cars\",\n      subtitle = \"+ theme_xaringan_base()\",\n      caption = \"xaringanthemer\"\n    )\n\n  print(plot1)\n\n  plot2 <- ggplot(mpg) +\n    aes(hwy) +\n    geom_histogram(binwidth = 2) +\n    theme_xaringan_base(\n      text_color = \"#a8a9c8\",       # light purple\n      background_color = \"#303163\", # deep slate purple\n      accent_color = \"#ffff99\",     # canary yellow\n      title_font = \"sans\",\n      text_font = \"serif\",\n      set_ggplot_defaults = TRUE\n    ) +\n    labs(\n      title = \"Highway Fuel Efficiency\",\n      subtitle = \"+ theme_xaringan_base()\",\n      caption = \"xaringanthemer\"\n    )\n\n  print(plot2)\n}\n}\n\\seealso{\nOther xaringanthemer ggplot2 themes: \n\\code{\\link{theme_xaringan}()},\n\\code{\\link{theme_xaringan_inverse}()},\n\\code{\\link{theme_xaringan_set_defaults}()}\n}\n\\concept{xaringanthemer ggplot2 themes}\n"
  },
  {
    "path": "man/theme_xaringan_get_value.Rd",
    "content": "% Generated by roxygen2: do not edit by hand\n% Please edit documentation in R/ggplot2.R\n\\name{theme_xaringan_get_value}\n\\alias{theme_xaringan_get_value}\n\\title{Get the Value of xaringanthemer Style Setting}\n\\usage{\ntheme_xaringan_get_value(setting, css_file = NULL)\n}\n\\arguments{\n\\item{setting}{A xaringanthemer style setting}\n\n\\item{css_file}{Path to a \\pkg{xaringanthemer} CSS file, from which the\ntheme variables and values will be inferred. In general, if you use the\n\\pkg{xaringathemer} defaults, you will not need to set this. This feature\nlets you create a \\pkg{ggplot2} theme for your \\pkg{xaringan} slides, even\nif you have only saved your theme CSS file and you aren't creating your\nCSS theme with \\pkg{xaringanthemer} in your slides' source file.}\n}\n\\value{\nThe value of the xaringanthemer style parameter.\n}\n\\description{\nA helper function to retrieve the value of style settings as set by a\nxaringanthemer style function, for use in plotting and other circumstances.\n}\n\\section{Style Settings}{\n\nStyle settings used by xaringanthemer include:\n\\itemize{\n\\item \\code{background_color}\n\\item \\code{background_image}\n\\item \\code{background_position}\n\\item \\code{background_size}\n\\item \\code{blockquote_left_border_color}\n\\item \\code{code_font_family}\n\\item \\code{code_font_family_fallback}\n\\item \\code{code_font_google}\n\\item \\code{code_font_is_google}\n\\item \\code{code_font_size}\n\\item \\code{code_font_url}\n\\item \\code{code_highlight_color}\n\\item \\code{code_inline_background_color}\n\\item \\code{code_inline_color}\n\\item \\code{code_inline_font_size}\n\\item \\code{extra_css}\n\\item \\code{extra_fonts}\n\\item \\code{footnote_color}\n\\item \\code{footnote_font_size}\n\\item \\code{footnote_position_bottom}\n\\item \\code{header_background_auto}\n\\item \\code{header_background_color}\n\\item \\code{header_background_content_padding_top}\n\\item \\code{header_background_ignore_classes}\n\\item \\code{header_background_padding}\n\\item \\code{header_background_text_color}\n\\item \\code{header_color}\n\\item \\code{header_font_family}\n\\item \\code{header_font_google}\n\\item \\code{header_font_is_google}\n\\item \\code{header_font_url}\n\\item \\code{header_font_weight}\n\\item \\code{header_h1_font_size}\n\\item \\code{header_h2_font_size}\n\\item \\code{header_h3_font_size}\n\\item \\code{inverse_background_color}\n\\item \\code{inverse_header_color}\n\\item \\code{inverse_text_color}\n\\item \\code{inverse_text_shadow}\n\\item \\code{left_column_selected_color}\n\\item \\code{left_column_subtle_color}\n\\item \\code{link_color}\n\\item \\code{padding}\n\\item \\code{table_border_color}\n\\item \\code{table_row_border_color}\n\\item \\code{table_row_even_background_color}\n\\item \\code{text_bold_color}\n\\item \\code{text_color}\n\\item \\code{text_font_base}\n\\item \\code{text_font_family}\n\\item \\code{text_font_family_fallback}\n\\item \\code{text_font_google}\n\\item \\code{text_font_is_google}\n\\item \\code{text_font_size}\n\\item \\code{text_font_url}\n\\item \\code{text_font_weight}\n\\item \\code{text_slide_number_color}\n\\item \\code{text_slide_number_font_size}\n\\item \\code{title_slide_background_color}\n\\item \\code{title_slide_background_image}\n\\item \\code{title_slide_background_position}\n\\item \\code{title_slide_background_size}\n\\item \\code{title_slide_text_color}\n}\n}\n\n\\examples{\n# Create a xaringanthemer style in a temporary file for this example\nxaringan_themer_css <- tempfile(\"xaringan-themer\", fileext = \".css\")\n\nstyle_solarized_light(outfile = xaringan_themer_css)\n\ntheme_xaringan_get_value(\"text_color\")\ntheme_xaringan_get_value(\"background_color\")\ntheme_xaringan_get_value(\"header_color\")\ntheme_xaringan_get_value(\"text_bold_color\")\n}\n"
  },
  {
    "path": "man/theme_xaringan_inverse.Rd",
    "content": "% Generated by roxygen2: do not edit by hand\n% Please edit documentation in R/ggplot2.R\n\\name{theme_xaringan_inverse}\n\\alias{theme_xaringan_inverse}\n\\title{An Inverse Plot Theme for ggplot2 by xaringanthemer}\n\\usage{\ntheme_xaringan_inverse(\n  text_color = NULL,\n  background_color = NULL,\n  accent_color = NULL,\n  accent_secondary_color = NULL,\n  css_file = NULL,\n  set_ggplot_defaults = TRUE,\n  text_font = NULL,\n  text_font_use_google = NULL,\n  text_font_size = NULL,\n  title_font = NULL,\n  title_font_use_google = NULL,\n  title_font_size = NULL,\n  use_showtext = NULL\n)\n}\n\\arguments{\n\\item{text_color}{Color for text and foreground, inherits from \\code{text_color}}\n\n\\item{background_color}{Color for background, inherits from\n\\code{background_color}}\n\n\\item{accent_color}{Color for titles and accents, inherits from\n\\code{header_color}}\n\n\\item{accent_secondary_color}{Color for secondary accents, inherits from\n\\code{text_bold_color}}\n\n\\item{css_file}{Path to a \\pkg{xaringanthemer} CSS file, from which the\ntheme variables and values will be inferred. In general, if you use the\n\\pkg{xaringathemer} defaults, you will not need to set this. This feature\nlets you create a \\pkg{ggplot2} theme for your \\pkg{xaringan} slides, even\nif you have only saved your theme CSS file and you aren't creating your\nCSS theme with \\pkg{xaringanthemer} in your slides' source file.}\n\n\\item{set_ggplot_defaults}{Should defaults be set for \\pkg{ggplot2} \\emph{geoms}?\nDefaults to TRUE. To restore ggplot's defaults, or the previously set geom\ndefaults, see \\code{\\link[=theme_xaringan_restore_defaults]{theme_xaringan_restore_defaults()}}.}\n\n\\item{text_font}{Font to use for text elements, passed to\n\\code{\\link[sysfonts:font_add_google]{sysfonts::font_add_google()}}, if available and \\code{text_font_use_google} is\n\\code{TRUE}. Inherits from \\code{text_font_family}. If manually specified, can be a\n\\code{\\link[=google_font]{google_font()}}.}\n\n\\item{text_font_use_google}{Is \\code{text_font} available on \\href{https://fonts.google.com}{Google Fonts}?}\n\n\\item{text_font_size}{Base text font size, inherits from \\code{text_font_size}, or\ndefaults to 11.}\n\n\\item{title_font}{Font to use for title elements, passed to\n\\code{\\link[sysfonts:font_add_google]{sysfonts::font_add_google()}}, if available and \\code{title_font_use_google} is\n\\code{TRUE}. Inherits from \\code{title_font_family}. If manually specified, can be a\n\\code{\\link[=google_font]{google_font()}}.}\n\n\\item{title_font_use_google}{Is \\code{title_font} available on \\href{https://fonts.google.com}{Google Fonts}?}\n\n\\item{title_font_size}{Base text font size, inherits from \\code{title_font_size},\nor defaults to 14.}\n\n\\item{use_showtext}{If \\code{TRUE} the \\pkg{showtext} package will be\nused to register Google fonts. Set to \\code{FALSE} to disable this feature\nentirely, which may result in errors during plotting if the fonts used are\nnot available locally. The default is \\code{TRUE} when the \\pkg{showtext}\npackage is installed.}\n}\n\\value{\nA ggplot2 theme\n}\n\\description{\n\\ifelse{html}{\\href{https://lifecycle.r-lib.org/articles/stages.html#maturing}{\\figure{lifecycle-maturing.svg}{options: alt='[Maturing]'}}}{\\strong{[Maturing]}}\n\nA \\pkg{ggplot2} xaringanthemer plot theme to seamlessly match the \"inverse\"\n\\pkg{xaringan} slide colors and styles as styled by \\link{xaringanthemer}. See\n\\code{vignette(\"ggplot2-themes\")} for more information and examples.\n}\n\\examples{\n# Requires ggplot2\nhas_ggplot2 <- requireNamespace(\"ggplot2\", quietly = TRUE)\n\nif (has_ggplot2) {\n  # Because this is an example, we'll save the CSS to a temp file\n  path_to_css_file <- tempfile(fileext = \".css\")\n\n  # Create the xaringan theme: dark blue background with teal green accents\n  style_duo(\n    primary_color = \"#002b36\",\n    secondary_color = \"#31b09e\",\n    # Using basic fonts for this example, but the plot theme will\n    # automatically use your theme font if you use Google fonts\n    text_font_family = \"sans\",\n    header_font_family = \"serif\",\n    outfile = path_to_css_file\n  )\n\n  library(ggplot2)\n  ggplot(mpg) +\n    aes(cty, hwy) +\n    geom_point() +\n    ggtitle(\"Fuel Efficiency of Various Cars\") +\n    # themed to match the inverse slides: teal background with dark blue text\n    theme_xaringan_inverse()\n}\n}\n\\seealso{\nOther xaringanthemer ggplot2 themes: \n\\code{\\link{theme_xaringan}()},\n\\code{\\link{theme_xaringan_base}()},\n\\code{\\link{theme_xaringan_set_defaults}()}\n}\n\\concept{xaringanthemer ggplot2 themes}\n"
  },
  {
    "path": "man/theme_xaringan_set_defaults.Rd",
    "content": "% Generated by roxygen2: do not edit by hand\n% Please edit documentation in R/ggplot2.R\n\\name{theme_xaringan_set_defaults}\n\\alias{theme_xaringan_set_defaults}\n\\alias{theme_xaringan_restore_defaults}\n\\title{Set and Restore ggplot2 geom Defaults}\n\\usage{\ntheme_xaringan_set_defaults(\n  text_color = NULL,\n  background_color = NULL,\n  accent_color = text_color,\n  accent_secondary_color = accent_color,\n  text_font = NULL\n)\n\ntheme_xaringan_restore_defaults()\n}\n\\arguments{\n\\item{text_color}{Color for text and foreground, inherits from \\code{text_color}}\n\n\\item{background_color}{Color for background, inherits from\n\\code{background_color}}\n\n\\item{accent_color}{Color for titles and accents, inherits from\n\\code{header_color}}\n\n\\item{accent_secondary_color}{Color for secondary accents, inherits from\n\\code{text_bold_color}}\n\n\\item{text_font}{Font to use for text elements, passed to\n\\code{\\link[sysfonts:font_add_google]{sysfonts::font_add_google()}}, if available and \\code{text_font_use_google} is\n\\code{TRUE}. Inherits from \\code{text_font_family}. Must be a length-one character.}\n}\n\\value{\nInvisibly returns a list of the current ggplot2 geom defaults\n\nInvisibly returns a list of the current ggplot2 geom defaults\n}\n\\description{\n\\ifelse{html}{\\href{https://lifecycle.r-lib.org/articles/stages.html#maturing}{\\figure{lifecycle-maturing.svg}{options: alt='[Maturing]'}}}{\\strong{[Maturing]}}\n\nSet \\pkg{ggplot2} \\emph{geom} defaults to match \\code{\\link[=theme_xaringan]{theme_xaringan()}} with\n\\code{theme_xaringan_set_defaults()} and restore the standard or previously-set\ndefaults with \\code{theme_xaringan_restore_defaults()}. By default,\n\\code{theme_xaringan_set_defaults()} is run with \\code{\\link[=theme_xaringan]{theme_xaringan()}} or\n\\code{\\link[=theme_xaringan_inverse]{theme_xaringan_inverse()}}.\n}\n\\section{Functions}{\n\\itemize{\n\\item \\code{theme_xaringan_restore_defaults()}: Restore previous or standard\n\\pkg{ggplot2} \\emph{geom} defaults.\n\n}}\n\\seealso{\nOther xaringanthemer ggplot2 themes: \n\\code{\\link{theme_xaringan}()},\n\\code{\\link{theme_xaringan_base}()},\n\\code{\\link{theme_xaringan_inverse}()}\n}\n\\concept{xaringanthemer ggplot2 themes}\n"
  },
  {
    "path": "man/xaringanthemer-deprecated.Rd",
    "content": "% Generated by roxygen2: do not edit by hand\n% Please edit documentation in R/xaringanthemer-deprecated.R\n\\name{xaringanthemer-deprecated}\n\\alias{xaringanthemer-deprecated}\n\\alias{write_xaringan_theme}\n\\alias{write_extra_css}\n\\alias{mono_light}\n\\alias{mono_dark}\n\\alias{mono_accent}\n\\alias{mono_accent_inverse}\n\\alias{duo}\n\\alias{duo_accent}\n\\alias{duo_accent_inverse}\n\\alias{solarized_light}\n\\alias{solarized_dark}\n\\title{Deprecated or renamed functions}\n\\usage{\nwrite_xaringan_theme(...)\n\nwrite_extra_css(...)\n\nmono_light(...)\n\nmono_dark(...)\n\nmono_accent(...)\n\nmono_accent_inverse(...)\n\nduo(...)\n\nduo_accent(...)\n\nduo_accent_inverse(...)\n\nsolarized_light(...)\n\nsolarized_dark(...)\n}\n\\arguments{\n\\item{...}{Argumets passed to the new or renamed functions.}\n}\n\\value{\nThe result of the new or renamed function.\n}\n\\description{\nThese functions in xaringanthemer have been deprecated or renamed.\n\nUse \\code{\\link[=style_xaringan]{style_xaringan()}} instead of \\code{write_xaringan_theme()}.\n\nUse \\code{\\link[=style_extra_css]{style_extra_css()}} instead of \\code{write_extra_css()}.\n\nUse \\code{\\link[=style_mono_light]{style_mono_light()}} instead of \\code{mono_light()}.\n\nUse \\code{\\link[=style_mono_dark]{style_mono_dark()}} instead of \\code{mono_dark()}.\n\nUse \\code{\\link[=style_mono_accent]{style_mono_accent()}} instead of \\code{mono_accent()}.\n\nUse \\code{\\link[=style_mono_accent_inverse]{style_mono_accent_inverse()}} instead of \\code{mono_accent_inverse()}.\n\nUse \\code{\\link[=style_duo]{style_duo()}} instead of \\code{duo()}.\n\nUse \\code{\\link[=style_duo_accent]{style_duo_accent()}} instead of \\code{duo_accent()}.\n\nUse \\code{\\link[=style_duo_accent_inverse]{style_duo_accent_inverse()}} instead of \\code{duo_accent_inverse()}.\n\nUse \\code{\\link[=style_solarized_light]{style_solarized_light()}} instead of \\code{solarized_light()}.\n\nUse \\code{\\link[=style_solarized_dark]{style_solarized_dark()}} instead of \\code{solarized_dark()}.\n}\n\\keyword{internal}\n"
  },
  {
    "path": "man/xaringanthemer-package.Rd",
    "content": "% Generated by roxygen2: do not edit by hand\n% Please edit documentation in R/xaringanthemer-package.R\n\\docType{package}\n\\name{xaringanthemer-package}\n\\alias{xaringanthemer}\n\\alias{xaringanthemer-package}\n\\title{xaringanthemer: Custom 'xaringan' CSS Themes}\n\\description{\n\\if{html}{\\figure{logo.png}{options: style='float: right' alt='logo' width='120'}}\n\nCreate beautifully color-coordinated and customized themes for your 'xaringan' slides, without writing any CSS. Complete your slide theme with 'ggplot2' themes that match the font and colors used in your slides. Customized styles can be created directly in your slides' 'R Markdown' source file or in a separate external script.\n}\n\\seealso{\nUseful links:\n\\itemize{\n  \\item \\url{https://pkg.garrickadenbuie.com/xaringanthemer/}\n  \\item \\url{https://github.com/gadenbuie/xaringanthemer}\n  \\item Report bugs at \\url{https://github.com/gadenbuie/xaringanthemer/issues}\n}\n\n}\n\\author{\n\\strong{Maintainer}: Garrick Aden-Buie \\email{garrick@adenbuie.com} (\\href{https://orcid.org/0000-0002-7111-0077}{ORCID})\n\n}\n\\keyword{internal}\n"
  },
  {
    "path": "man-roxygen/style-usage.R",
    "content": "#' @section Usage: To use the styles created by this theme function, make sure\n#'   that you use `xaringan-themer.css` as your CSS file in your slides' YAML\n#'   header. If you change the name of the output file using the `outfile`\n#'   argument, use that name instead of the default file name.\n#'\n#' ```yaml\n#' output:\n#' xaringan::moon_reader:\n#'   css: xaringan-themer.css\n#' ````\n#'\n#' @return The CSS styles are written to the file path provided in `outfile`\n#'   (by default to `xaringan-themer.css`). If `outfile` is `NULL`, the CSS is\n#'   returned directly as a character string.\n#'\n"
  },
  {
    "path": "man-roxygen/style_duo.R",
    "content": "#' @title Duotone Theme\n#' @description A duotone theme designed to work well with two complementary\n#'   colors.\n#' @examples\n#' # Create a xaringan style in a temporary file\n#' xaringan_themer_css <- tempfile(\"xaringan-themer-\", fileext = \".css\")\n#'\n#' style_duo(\n#'   primary_color = \"#1f4257\",\n#'   secondary_color = \"#f97b64\",\n#'   outfile = xaringan_themer_css # omit in your slides to write the\n#'                                 # styles to xaringan-themer.css\n#' )\n#'\n#' # View the CSS:\n#' # file.edit(xaringan_themer_css)\n"
  },
  {
    "path": "man-roxygen/style_duo_accent.R",
    "content": "#' @title Duotone Accent Theme\n#' @description An default xaringan theme with a two colors used for color\n#'   accents on select elements (headers, bold text, etc.).\n#' @examples\n#' # Create a xaringan style in a temporary file\n#' xaringan_themer_css <- tempfile(\"xaringan-themer-\", fileext = \".css\")\n#'\n#' style_duo_accent(\n#'   primary_color = \"#006747\",\n#'   secondary_color = \"#cfc493\",\n#'   outfile = xaringan_themer_css # omit in your slides to write the\n#'                                 # styles to xaringan-themer.css\n#' )\n#'\n#' # View the CSS:\n#' # file.edit(xaringan_themer_css)\n"
  },
  {
    "path": "man-roxygen/style_duo_accent_inverse.R",
    "content": "#' @title Duotone Accent Inverse Theme\n#' @description An \"inverted\" default xaringan theme with a two colors used\n#'   for color accents on select elements (headers, bold text, etc.).\n#' @examples\n#' # Create a xaringan style in a temporary file\n#' xaringan_themer_css <- tempfile(\"xaringan-themer-\", fileext = \".css\")\n#'\n#' style_duo_accent_inverse(\n#'   primary_color = \"#006747\",\n#'   secondary_color = \"#cfc493\",\n#'   outfile = xaringan_themer_css # omit in your slides to write the\n#'                                 # styles to xaringan-themer.css\n#' )\n#'\n#' # View the CSS:\n#' # file.edit(xaringan_themer_css)\n"
  },
  {
    "path": "man-roxygen/style_mono_accent.R",
    "content": "#' @title Monotone Accent Theme\n#' @description The default xaringan theme with a single color used for color\n#'   accents on select elements (headers, bold text, etc.).\n#' @examples\n#' # Create a xaringan style in a temporary file\n#' xaringan_themer_css <- tempfile(\"xaringan-themer-\", fileext = \".css\")\n#'\n#' style_mono_accent(\n#'   base_color = \"#43418A\",\n#'   outfile = xaringan_themer_css # omit in your slides to write the\n#'                                 # styles to xaringan-themer.css\n#' )\n#'\n#' # View the CSS:\n#' # file.edit(xaringan_themer_css)\n"
  },
  {
    "path": "man-roxygen/style_mono_accent_inverse.R",
    "content": "#' @title Monotone Accent Inverse Theme\n#' @description An \"inverted\" default xaringan theme with a single color used\n#'   for color accents on select elements (headers, bold text, etc.).\n#' @examples\n#' # Create a xaringan style in a temporary file\n#' xaringan_themer_css <- tempfile(\"xaringan-themer-\", fileext = \".css\")\n#'\n#' style_mono_accent_inverse(\n#'   base_color = \"#3c989e\",\n#'   outfile = xaringan_themer_css # omit in your slides to write the\n#'                                 # styles to xaringan-themer.css\n#' )\n#'\n#' # View the CSS:\n#' # file.edit(xaringan_themer_css)\n"
  },
  {
    "path": "man-roxygen/style_mono_dark.R",
    "content": "#' @title Monotone Dark Theme\n#' @description A dark monotone theme based around a single color.\n#' @examples\n#' # Create a xaringan style in a temporary file\n#' xaringan_themer_css <- tempfile(\"xaringan-themer-\", fileext = \".css\")\n#'\n#' style_mono_dark(\n#'   base_color = \"#cbf7ed\",\n#'   outfile = xaringan_themer_css # omit in your slides to write the\n#'                                 # styles to xaringan-themer.css\n#' )\n#'\n#' # View the CSS:\n#' # file.edit(xaringan_themer_css)\n"
  },
  {
    "path": "man-roxygen/style_mono_light.R",
    "content": "#' @title Monotone Light Theme\n#' @description A light monotone theme based around a single color.\n#' @examples\n#' # Create a xaringan style in a temporary file\n#' xaringan_themer_css <- tempfile(\"xaringan-themer-\", fileext = \".css\")\n#'\n#' style_mono_light(\n#'   base_color = \"#23395b\",\n#'   outfile = xaringan_themer_css # omit in your slides to write the\n#'                                 # styles to xaringan-themer.css\n#' )\n#'\n#' # View the CSS:\n#' # file.edit(xaringan_themer_css)\n"
  },
  {
    "path": "man-roxygen/style_solarized_dark.R",
    "content": "#' @title Solarized Dark Theme\n#' @description A dark theme based around on the solarized color scheme.\n#'   Works well with \"\\code{highlightStyle: solarized-dark}\" or\n#'   \"\\code{highlighStyle: solarized-light}\".\n#' @references \\url{https://ethanschoonover.com/solarized/}\n#' @examples\n#' # Create a xaringan style in a temporary file\n#' xaringan_themer_css <- tempfile(\"xaringan-themer-\", fileext = \".css\")\n#'\n#' style_solarized_dark(\n#'   outfile = xaringan_themer_css # omit in your slides to write the\n#'                                 # styles to xaringan-themer.css\n#' )\n#'\n#' # View the CSS:\n#' # file.edit(xaringan_themer_css)\n"
  },
  {
    "path": "man-roxygen/style_solarized_light.R",
    "content": "#' @title Solarized Light Theme\n#' @description A light theme based around on the solarized color scheme.\n#'   Works well with \"\\code{highlightStyle: solarized-dark}\" or\n#'   \"\\code{highlighStyle: solarized-light}\".\n#' @references \\url{https://ethanschoonover.com/solarized/}\n#' @examples\n#' # Create a xaringan style in a temporary file\n#' xaringan_themer_css <- tempfile(\"xaringan-themer-\", fileext = \".css\")\n#'\n#' style_solarized_light(\n#'   outfile = xaringan_themer_css # omit in your slides to write the\n#'                                 # styles to xaringan-themer.css\n#' )\n#'\n#' # View the CSS:\n#' # file.edit(xaringan_themer_css)\n"
  },
  {
    "path": "man-roxygen/style_xaringan.R",
    "content": "#' @title Write A Customized Xaringan Theme\n#' @description Creates a customized Xaringan theme CSS file.\n#' @examples\n#' # Create a xaringan style in a temporary file\n#' xaringan_themer_css <- tempfile(\"xaringan-themer-\", fileext = \".css\")\n#'\n#' style_xaringan(\n#'   text_color = \"#002b3\",\n#'   inverse_background_color = \"#31b09e\",\n#'   inverse_text_color = \"#002b3\",\n#'   outfile = xaringan_themer_css # omit in your slides to write the\n#'                                 # styles to xaringan-themer.css\n#' )\n#'\n#' # View the CSS:\n#' # file.edit(xaringan_themer_css)\n"
  },
  {
    "path": "man-roxygen/theme_params.R",
    "content": "#' @param extra_css A named list of CSS definitions each containing a named list\n#'   of CSS property-value pairs, i.e.\n#'   \\code{list(\".class-id\" = list(\"css-property\" = \"value\"))}.\n#' @param extra_fonts A list of additional fonts to import, each list element\n#'   can be either a URL as a character string or a call to\n#'   \\code{\\link{google_font}()}. To use a font imported in `extra_fonts`, you\n#'   will need to write custom CSS rules that apply the font to an element or\n#'   class with the `font-family` property. See the **Fonts** section of\n#'   `vignette(\"xaringanthemer\")` for an example.\n#' @param colors A named vector of custom colors. The names of the colors\n#'   become CSS variables and classes that can be used within your slides.\n#'   For example, `colors = c(blue = \"#bad4ed\")` adds a CSS variable\n#'   `--blue`, a `.blue` CSS class that applies the color to the text or\n#'   foreground color, and a `.bg-blue` CSS class that applies the color\n#'   to the background.\n#' @param outfile Customized xaringan CSS output file name, default is \"xaringan-themer.css\"\n#' @family themes\n"
  },
  {
    "path": "pkgdown/_pkgdown.yml",
    "content": "authors:\n  Garrick Aden-Buie:\n    href: https://www.garrickadenbuie.com\n\nurl: https://pkg.garrickadenbuie.com/xaringanthemer/\n\nhome:\n  description: |\n    Give your xaringan slides some style with xaringanthemer.\n    Easy slide and plot themes for xaringan slides.\n\ndevelopment:\n  mode: auto\n\ntemplate:\n  package: grkgdown\n\nnavbar:\n  type: light\n  left:\n    - text: Features\n      href: articles/xaringanthemer.html\n    - text: Reference\n      href: reference/index.html\n    - text: Themes\n      menu:\n        - text: Themes\n        - text: Slide Themes\n          href: articles/themes.html\n        - text: ggplot2 Themes\n          href: articles/ggplot2-themes.html\n        - text: -------\n        - text: More Customization\n        - text: Fonts\n          href: articles/fonts.html\n        - text: Template Variables\n          href: articles/template-variables.html\n  right:\n    news:\n      icon: far fa-newspaper fa-lg\n      text: \"\"\n      menu:\n      - text: \"xaringanthemer 0.3.0\"\n        href: https://garrickadenbuie.com/blog/xaringanthemer-v0-3-0/\n      - text: -------\n      - text: \"Changelog\"\n        href: news/index.html\n    github:\n      icon: fab fa-github fa-lg\n      href: https://github.com/gadenbuie/xaringanthemer\n    twitter:\n      icon: fab fa-twitter fa-lg\n      href: https://twitter.com/grrrck\n    home:\n      icon: fas fa-home fa-lg\n      href: https://www.garrickadenbuie.com\n\nreference:\n- title: Writing CSS\n  desc: Functions that write CSS from inside a xaringan R markdown document.\n  contents:\n    - style_xaringan\n    - style_extra_css\n- title: xaringan Themes\n  desc: |\n    Parameterized styles for xaringan slides using one (mono)\n    or two (duo) base colors. Bonus: slide styles based on the\n    solarized color palette.\n  contents:\n    - starts_with(\"style_mono\")\n    - starts_with(\"style_duo\")\n    - starts_with(\"style_solarized\")\n- title: Google Fonts\n  desc: Helper functions for using Google Fonts in your slide styles.\n  contents:\n    - starts_with(\"google_\")\n- title: ggplot2 Themes\n  desc: Plot themes for ggplot2 to match your xaringanthemer slide styles.\n  contents:\n    - theme_xaringan\n    - theme_xaringan_inverse\n    - theme_xaringan_base\n    - theme_xaringan_set_defaults\n    - starts_with(\"scale_xaringan\")\n- title: Helper functions\n  desc: Helpers for Google fonts and color adjustments.\n  contents:\n    - theme_xaringan_get_value\n    - ends_with(\"color\")\n    - apply_alpha\n    - choose_dark_or_light\n"
  },
  {
    "path": "pkgdown/extra.css",
    "content": ":root {\n  --bs-light-rgb: 249, 250, 250;\n}\n\n.bg-light {\n  --bs-bg-opacity: 0.95;\n}\n\npre {\n  border: none;\n  border-left: 2px solid #cfd5d8;\n  border-radius: 0;\n  background-color: var(--bs-body-bg);\n  line-height: 1.33;\n}\n\nmain pre a {\n  text-decoration: none;\n}\n\nmain pre a:hover {\n  text-decoration: underline;\n}\n\n@media (max-width: 575.98px) {\n  .container main pre {\n    margin-left: calc(var(--bs-gutter-x) * -.5);\n    margin-right: calc(var(--bs-gutter-x) * -.5 - 1px);\n    border-radius: 0;\n    padding-left: 1rem;\n    padding-right: 1rem;\n  }\n}\n"
  },
  {
    "path": "tests/testthat/_snaps/utils.md",
    "content": "# printing google_font works\n\n    Code\n      google_font(\"Josefin Sans\", \"400\", \"400i\", \"600i\", \"700\")\n    Output\n      Family:  Josefin Sans \n      Weights: 400,400i,600i,700 \n      URL:     https://fonts.googleapis.com/css?family=Josefin+Sans:400,400i,600i,700&display=swap\n\n"
  },
  {
    "path": "tests/testthat/css/duo-header_bg.css",
    "content": "/* -------------------------------------------------------\n *\n *     !! This file was generated by xaringanthemer !!\n *\n *  Changes made to this file directly will be overwritten\n *  if you used xaringanthemer in your xaringan slides Rmd\n *\n *  Issues or likes?\n *    - https://github.com/gadenbuie/xaringanthemer\n *    - https://www.garrickadenbuie.com\n *\n *  Need help? Try:\n *    - vignette(package = \"xaringanthemer\")\n *    - ?xaringanthemer::style_xaringan\n *    - xaringan wiki: https://github.com/yihui/xaringan/wiki\n *    - remarkjs wiki: https://github.com/gnab/remark/wiki\n *\n *  Version: a.b.c.d.eeee\n *\n * ------------------------------------------------------- */\n@import url(https://fonts.googleapis.com/css?family=Noto+Serif&display=swap);\n@import url(https://fonts.googleapis.com/css?family=Cabin:600,600i&display=swap);\n@import url(https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap);\n\n\n:root {\n  /* Fonts */\n  --text-font-family: 'Noto Serif';\n  --text-font-is-google: 1;\n  --text-font-family-fallback: -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial;\n  --text-font-base: sans-serif;\n  --header-font-family: Cabin;\n  --header-font-is-google: 1;\n  --header-font-family-fallback: Georgia, serif;\n  --code-font-family: 'Source Code Pro';\n  --code-font-is-google: 1;\n  --base-font-size: 20px;\n  --text-font-size: 1rem;\n  --code-font-size: 0.9rem;\n  --code-inline-font-size: 1em;\n  --header-h1-font-size: 2.75rem;\n  --header-h2-font-size: 2.25rem;\n  --header-h3-font-size: 1.75rem;\n\n  /* Colors */\n  --text-color: #FEFDFD;\n  --header-color: #F97B64;\n  --background-color: #1F4257;\n  --link-color: #F97B64;\n  --text-bold-color: #F97B64;\n  --code-highlight-color: rgba(255,255,0,0.5);\n  --inverse-text-color: #1F4257;\n  --inverse-background-color: #F97B64;\n  --inverse-header-color: #1F4257;\n  --inverse-link-color: #F97B64;\n  --title-slide-background-color: #1F4257;\n  --title-slide-text-color: #F97B64;\n  --header-background-color: #F97B64;\n  --header-background-text-color: #1F4257;\n  --primary: #1F4257;\n  --secondary: #F97B64;\n}\n\nhtml {\n  font-size: var(--base-font-size);\n}\n\nbody {\n  font-family: var(--text-font-family), var(--text-font-family-fallback), var(--text-font-base);\n  font-weight: normal;\n  color: var(--text-color);\n}\nh1, h2, h3 {\n  font-family: var(--header-font-family), var(--header-font-family-fallback);\n  font-weight: 600;\n  color: var(--header-color);\n}\n.remark-slide-content {\n  background-color: var(--background-color);\n  font-size: 1rem;\n  padding: 16px 64px 16px 64px;\n  width: 100%;\n  height: 100%;\n}\n.remark-slide-content h1 {\n  font-size: var(--header-h1-font-size);\n}\n.remark-slide-content h2 {\n  font-size: var(--header-h2-font-size);\n}\n.remark-slide-content h3 {\n  font-size: var(--header-h3-font-size);\n}\n.remark-code, .remark-inline-code {\n  font-family: var(--code-font-family), Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;\n}\n.remark-code {\n  font-size: var(--code-font-size);\n}\n.remark-inline-code {\n  font-size: var(--code-inline-font-size);\n  color: #F97B64;\n}\n.remark-slide-number {\n  color: #FEFDFD;\n  opacity: 1;\n  font-size: 0.9rem;\n}\nstrong {\n  font-weight: bold;\n  color: var(--text-bold-color);\n}\na, a > code {\n  color: var(--link-color);\n  text-decoration: none;\n}\n.footnote {\n  position: absolute;\n  bottom: 60px;\n  padding-right: 4em;\n  font-size: 0.9em;\n}\n.remark-code-line-highlighted {\n  background-color: var(--code-highlight-color);\n}\n.inverse {\n  background-color: var(--inverse-background-color);\n  color: var(--inverse-text-color);\n  \n}\n.inverse h1, .inverse h2, .inverse h3 {\n  color: var(--inverse-header-color);\n}\n.inverse a, .inverse a > code {\n  color: var(--inverse-link-color);\n}\n.title-slide, .title-slide h1, .title-slide h2, .title-slide h3 {\n  color: var(--title-slide-text-color);\n}\n.title-slide {\n  background-color: var(--title-slide-background-color);\n}\n.title-slide .remark-slide-number {\n  display: none;\n}\n/* Two-column layout */\n.left-column {\n  width: 20%;\n  height: 92%;\n  float: left;\n}\n.left-column h2, .left-column h3 {\n  color: #F97B6499;\n}\n.left-column h2:last-of-type, .left-column h3:last-child {\n  color: #F97B64;\n}\n.right-column {\n  width: 75%;\n  float: right;\n  padding-top: 1em;\n}\n.pull-left {\n  float: left;\n  width: 47%;\n}\n.pull-right {\n  float: right;\n  width: 47%;\n}\n.pull-right + * {\n  clear: both;\n}\nimg, video, iframe {\n  max-width: 100%;\n}\nblockquote {\n  border-left: solid 5px #F97B6480;\n  padding-left: 1em;\n}\n.remark-slide table {\n  margin: auto;\n  border-top: 1px solid #666;\n  border-bottom: 1px solid #666;\n}\n.remark-slide table thead th {\n  border-bottom: 1px solid #ddd;\n}\nth, td {\n  padding: 5px;\n}\n.remark-slide table:not(.table-unshaded) thead,\n.remark-slide table:not(.table-unshaded) tfoot,\n.remark-slide table:not(.table-unshaded) tr:nth-child(even) {\n  background: #E8ECEE;\n}\ntable.dataTable tbody {\n  background-color: var(--background-color);\n  color: var(--text-color);\n}\ntable.dataTable.display tbody tr.odd {\n  background-color: var(--background-color);\n}\ntable.dataTable.display tbody tr.even {\n  background-color: #E8ECEE;\n}\ntable.dataTable.hover tbody tr:hover, table.dataTable.display tbody tr:hover {\n  background-color: rgba(255, 255, 255, 0.5);\n}\n.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_processing, .dataTables_wrapper .dataTables_paginate {\n  color: var(--text-color);\n}\n.dataTables_wrapper .dataTables_paginate .paginate_button {\n  color: var(--text-color) !important;\n}\n\n/* Horizontal alignment of code blocks */\n.remark-slide-content.left pre,\n.remark-slide-content.center pre,\n.remark-slide-content.right pre {\n  text-align: start;\n  width: max-content;\n  max-width: 100%;\n}\n.remark-slide-content.left pre,\n.remark-slide-content.right pre {\n  min-width: 50%;\n  min-width: min(40ch, 100%);\n}\n.remark-slide-content.center pre {\n  min-width: 66%;\n  min-width: min(50ch, 100%);\n}\n.remark-slide-content.left pre {\n  margin-left: unset;\n  margin-right: auto;\n}\n.remark-slide-content.center pre {\n  margin-left: auto;\n  margin-right: auto;\n}\n.remark-slide-content.right pre {\n  margin-left: auto;\n  margin-right: unset;\n}\n\n/* Slide Header Background for h1 elements */\n.remark-slide-content.header_background > h1,\n.remark-slide-content:not(.normal):not(.inverse):not(.title):not(.middle):not(.bottom) > h1 {\n  display: block;\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 100%;\n  background: var(--header-background-color);\n  color: var(--header-background-text-color);\n  padding: 2rem 64px 1.5rem 64px;\n  margin-top: 0;\n  box-sizing: border-box;\n}\n.remark-slide-content.header_background,\n.remark-slide-content:not(.normal):not(.inverse):not(.title):not(.middle):not(.bottom) {\n  padding-top: 7rem;\n}\n\n@page { margin: 0; }\n@media print {\n  .remark-slide-scaler {\n    width: 100% !important;\n    height: 100% !important;\n    transform: scale(1) !important;\n    top: 0 !important;\n    left: 0 !important;\n  }\n}\n\n.primary {\n  color: var(--primary);\n}\n.bg-primary {\n  background-color: var(--primary);\n}\n.secondary {\n  color: var(--secondary);\n}\n.bg-secondary {\n  background-color: var(--secondary);\n}\n"
  },
  {
    "path": "tests/testthat/css/duo.css",
    "content": "/* -------------------------------------------------------\n *\n *     !! This file was generated by xaringanthemer !!\n *\n *  Changes made to this file directly will be overwritten\n *  if you used xaringanthemer in your xaringan slides Rmd\n *\n *  Issues or likes?\n *    - https://github.com/gadenbuie/xaringanthemer\n *    - https://www.garrickadenbuie.com\n *\n *  Need help? Try:\n *    - vignette(package = \"xaringanthemer\")\n *    - ?xaringanthemer::style_xaringan\n *    - xaringan wiki: https://github.com/yihui/xaringan/wiki\n *    - remarkjs wiki: https://github.com/gnab/remark/wiki\n *\n *  Version: a.b.c.d.eeee\n *\n * ------------------------------------------------------- */\n@import url(https://fonts.googleapis.com/css?family=Noto+Serif&display=swap);\n@import url(https://fonts.googleapis.com/css?family=Cabin:600,600i&display=swap);\n@import url(https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap);\n\n\n:root {\n  /* Fonts */\n  --text-font-family: 'Noto Serif';\n  --text-font-is-google: 1;\n  --text-font-family-fallback: -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial;\n  --text-font-base: sans-serif;\n  --header-font-family: Cabin;\n  --header-font-is-google: 1;\n  --header-font-family-fallback: Georgia, serif;\n  --code-font-family: 'Source Code Pro';\n  --code-font-is-google: 1;\n  --base-font-size: 20px;\n  --text-font-size: 1rem;\n  --code-font-size: 0.9rem;\n  --code-inline-font-size: 1em;\n  --header-h1-font-size: 2.75rem;\n  --header-h2-font-size: 2.25rem;\n  --header-h3-font-size: 1.75rem;\n\n  /* Colors */\n  --text-color: #FEFDFD;\n  --header-color: #F97B64;\n  --background-color: #1F4257;\n  --link-color: #F97B64;\n  --text-bold-color: #F97B64;\n  --code-highlight-color: rgba(255,255,0,0.5);\n  --inverse-text-color: #1F4257;\n  --inverse-background-color: #F97B64;\n  --inverse-header-color: #1F4257;\n  --inverse-link-color: #F97B64;\n  --title-slide-background-color: #1F4257;\n  --title-slide-text-color: #F97B64;\n  --header-background-color: #F97B64;\n  --header-background-text-color: #1F4257;\n  --primary: #1F4257;\n  --secondary: #F97B64;\n}\n\nhtml {\n  font-size: var(--base-font-size);\n}\n\nbody {\n  font-family: var(--text-font-family), var(--text-font-family-fallback), var(--text-font-base);\n  font-weight: normal;\n  color: var(--text-color);\n}\nh1, h2, h3 {\n  font-family: var(--header-font-family), var(--header-font-family-fallback);\n  font-weight: 600;\n  color: var(--header-color);\n}\n.remark-slide-content {\n  background-color: var(--background-color);\n  font-size: 1rem;\n  padding: 16px 64px 16px 64px;\n  width: 100%;\n  height: 100%;\n}\n.remark-slide-content h1 {\n  font-size: var(--header-h1-font-size);\n}\n.remark-slide-content h2 {\n  font-size: var(--header-h2-font-size);\n}\n.remark-slide-content h3 {\n  font-size: var(--header-h3-font-size);\n}\n.remark-code, .remark-inline-code {\n  font-family: var(--code-font-family), Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;\n}\n.remark-code {\n  font-size: var(--code-font-size);\n}\n.remark-inline-code {\n  font-size: var(--code-inline-font-size);\n  color: #F97B64;\n}\n.remark-slide-number {\n  color: #FEFDFD;\n  opacity: 1;\n  font-size: 0.9rem;\n}\nstrong {\n  font-weight: bold;\n  color: var(--text-bold-color);\n}\na, a > code {\n  color: var(--link-color);\n  text-decoration: none;\n}\n.footnote {\n  position: absolute;\n  bottom: 60px;\n  padding-right: 4em;\n  font-size: 0.9em;\n}\n.remark-code-line-highlighted {\n  background-color: var(--code-highlight-color);\n}\n.inverse {\n  background-color: var(--inverse-background-color);\n  color: var(--inverse-text-color);\n  \n}\n.inverse h1, .inverse h2, .inverse h3 {\n  color: var(--inverse-header-color);\n}\n.inverse a, .inverse a > code {\n  color: var(--inverse-link-color);\n}\n.title-slide, .title-slide h1, .title-slide h2, .title-slide h3 {\n  color: var(--title-slide-text-color);\n}\n.title-slide {\n  background-color: var(--title-slide-background-color);\n}\n.title-slide .remark-slide-number {\n  display: none;\n}\n/* Two-column layout */\n.left-column {\n  width: 20%;\n  height: 92%;\n  float: left;\n}\n.left-column h2, .left-column h3 {\n  color: #F97B6499;\n}\n.left-column h2:last-of-type, .left-column h3:last-child {\n  color: #F97B64;\n}\n.right-column {\n  width: 75%;\n  float: right;\n  padding-top: 1em;\n}\n.pull-left {\n  float: left;\n  width: 47%;\n}\n.pull-right {\n  float: right;\n  width: 47%;\n}\n.pull-right + * {\n  clear: both;\n}\nimg, video, iframe {\n  max-width: 100%;\n}\nblockquote {\n  border-left: solid 5px #F97B6480;\n  padding-left: 1em;\n}\n.remark-slide table {\n  margin: auto;\n  border-top: 1px solid #666;\n  border-bottom: 1px solid #666;\n}\n.remark-slide table thead th {\n  border-bottom: 1px solid #ddd;\n}\nth, td {\n  padding: 5px;\n}\n.remark-slide table:not(.table-unshaded) thead,\n.remark-slide table:not(.table-unshaded) tfoot,\n.remark-slide table:not(.table-unshaded) tr:nth-child(even) {\n  background: #E8ECEE;\n}\ntable.dataTable tbody {\n  background-color: var(--background-color);\n  color: var(--text-color);\n}\ntable.dataTable.display tbody tr.odd {\n  background-color: var(--background-color);\n}\ntable.dataTable.display tbody tr.even {\n  background-color: #E8ECEE;\n}\ntable.dataTable.hover tbody tr:hover, table.dataTable.display tbody tr:hover {\n  background-color: rgba(255, 255, 255, 0.5);\n}\n.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_processing, .dataTables_wrapper .dataTables_paginate {\n  color: var(--text-color);\n}\n.dataTables_wrapper .dataTables_paginate .paginate_button {\n  color: var(--text-color) !important;\n}\n\n/* Horizontal alignment of code blocks */\n.remark-slide-content.left pre,\n.remark-slide-content.center pre,\n.remark-slide-content.right pre {\n  text-align: start;\n  width: max-content;\n  max-width: 100%;\n}\n.remark-slide-content.left pre,\n.remark-slide-content.right pre {\n  min-width: 50%;\n  min-width: min(40ch, 100%);\n}\n.remark-slide-content.center pre {\n  min-width: 66%;\n  min-width: min(50ch, 100%);\n}\n.remark-slide-content.left pre {\n  margin-left: unset;\n  margin-right: auto;\n}\n.remark-slide-content.center pre {\n  margin-left: auto;\n  margin-right: auto;\n}\n.remark-slide-content.right pre {\n  margin-left: auto;\n  margin-right: unset;\n}\n\n/* Slide Header Background for h1 elements */\n.remark-slide-content.header_background > h1 {\n  display: block;\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 100%;\n  background: var(--header-background-color);\n  color: var(--header-background-text-color);\n  padding: 2rem 64px 1.5rem 64px;\n  margin-top: 0;\n  box-sizing: border-box;\n}\n.remark-slide-content.header_background {\n  padding-top: 7rem;\n}\n\n@page { margin: 0; }\n@media print {\n  .remark-slide-scaler {\n    width: 100% !important;\n    height: 100% !important;\n    transform: scale(1) !important;\n    top: 0 !important;\n    left: 0 !important;\n  }\n}\n\n.primary {\n  color: var(--primary);\n}\n.bg-primary {\n  background-color: var(--primary);\n}\n.secondary {\n  color: var(--secondary);\n}\n.bg-secondary {\n  background-color: var(--secondary);\n}\n"
  },
  {
    "path": "tests/testthat/css/duo_accent.css",
    "content": "/* -------------------------------------------------------\n *\n *     !! This file was generated by xaringanthemer !!\n *\n *  Changes made to this file directly will be overwritten\n *  if you used xaringanthemer in your xaringan slides Rmd\n *\n *  Issues or likes?\n *    - https://github.com/gadenbuie/xaringanthemer\n *    - https://www.garrickadenbuie.com\n *\n *  Need help? Try:\n *    - vignette(package = \"xaringanthemer\")\n *    - ?xaringanthemer::style_xaringan\n *    - xaringan wiki: https://github.com/yihui/xaringan/wiki\n *    - remarkjs wiki: https://github.com/gnab/remark/wiki\n *\n *  Version: a.b.c.d.eeee\n *\n * ------------------------------------------------------- */\n@import url(https://fonts.googleapis.com/css?family=Noto+Serif&display=swap);\n@import url(https://fonts.googleapis.com/css?family=Cabin:600,600i&display=swap);\n@import url(https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap);\n\n\n:root {\n  /* Fonts */\n  --text-font-family: 'Noto Serif';\n  --text-font-is-google: 1;\n  --text-font-family-fallback: -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial;\n  --text-font-base: sans-serif;\n  --header-font-family: Cabin;\n  --header-font-is-google: 1;\n  --header-font-family-fallback: Georgia, serif;\n  --code-font-family: 'Source Code Pro';\n  --code-font-is-google: 1;\n  --base-font-size: 20px;\n  --text-font-size: 1rem;\n  --code-font-size: 0.9rem;\n  --code-inline-font-size: 1em;\n  --header-h1-font-size: 2.75rem;\n  --header-h2-font-size: 2.25rem;\n  --header-h3-font-size: 1.75rem;\n\n  /* Colors */\n  --text-color: #000000;\n  --header-color: #035AA6;\n  --background-color: #FFFFFF;\n  --link-color: #035AA6;\n  --text-bold-color: #035AA6;\n  --code-highlight-color: rgba(255,255,0,0.5);\n  --inverse-text-color: #000000;\n  --inverse-background-color: #03A696;\n  --inverse-header-color: #000000;\n  --inverse-link-color: #035AA6;\n  --title-slide-background-color: #035AA6;\n  --title-slide-text-color: #FFFFFF;\n  --header-background-color: #035AA6;\n  --header-background-text-color: #FFFFFF;\n  --primary: #035AA6;\n  --secondary: #03A696;\n  --white: #FFFFFF;\n  --black: #000000;\n}\n\nhtml {\n  font-size: var(--base-font-size);\n}\n\nbody {\n  font-family: var(--text-font-family), var(--text-font-family-fallback), var(--text-font-base);\n  font-weight: normal;\n  color: var(--text-color);\n}\nh1, h2, h3 {\n  font-family: var(--header-font-family), var(--header-font-family-fallback);\n  font-weight: 600;\n  color: var(--header-color);\n}\n.remark-slide-content {\n  background-color: var(--background-color);\n  font-size: 1rem;\n  padding: 16px 64px 16px 64px;\n  width: 100%;\n  height: 100%;\n}\n.remark-slide-content h1 {\n  font-size: var(--header-h1-font-size);\n}\n.remark-slide-content h2 {\n  font-size: var(--header-h2-font-size);\n}\n.remark-slide-content h3 {\n  font-size: var(--header-h3-font-size);\n}\n.remark-code, .remark-inline-code {\n  font-family: var(--code-font-family), Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;\n}\n.remark-code {\n  font-size: var(--code-font-size);\n}\n.remark-inline-code {\n  font-size: var(--code-inline-font-size);\n  color: #035AA6;\n}\n.remark-slide-number {\n  color: #035AA6;\n  opacity: 1;\n  font-size: 0.9rem;\n}\nstrong {\n  font-weight: bold;\n  color: var(--text-bold-color);\n}\na, a > code {\n  color: var(--link-color);\n  text-decoration: none;\n}\n.footnote {\n  position: absolute;\n  bottom: 60px;\n  padding-right: 4em;\n  font-size: 0.9em;\n}\n.remark-code-line-highlighted {\n  background-color: var(--code-highlight-color);\n}\n.inverse {\n  background-color: var(--inverse-background-color);\n  color: var(--inverse-text-color);\n  \n}\n.inverse h1, .inverse h2, .inverse h3 {\n  color: var(--inverse-header-color);\n}\n.inverse a, .inverse a > code {\n  color: var(--inverse-link-color);\n}\n.title-slide, .title-slide h1, .title-slide h2, .title-slide h3 {\n  color: var(--title-slide-text-color);\n}\n.title-slide {\n  background-color: var(--title-slide-background-color);\n}\n.title-slide .remark-slide-number {\n  display: none;\n}\n/* Two-column layout */\n.left-column {\n  width: 20%;\n  height: 92%;\n  float: left;\n}\n.left-column h2, .left-column h3 {\n  color: #035AA699;\n}\n.left-column h2:last-of-type, .left-column h3:last-child {\n  color: #035AA6;\n}\n.right-column {\n  width: 75%;\n  float: right;\n  padding-top: 1em;\n}\n.pull-left {\n  float: left;\n  width: 47%;\n}\n.pull-right {\n  float: right;\n  width: 47%;\n}\n.pull-right + * {\n  clear: both;\n}\nimg, video, iframe {\n  max-width: 100%;\n}\nblockquote {\n  border-left: solid 5px #03A69680;\n  padding-left: 1em;\n}\n.remark-slide table {\n  margin: auto;\n  border-top: 1px solid #666;\n  border-bottom: 1px solid #666;\n}\n.remark-slide table thead th {\n  border-bottom: 1px solid #ddd;\n}\nth, td {\n  padding: 5px;\n}\n.remark-slide table:not(.table-unshaded) thead,\n.remark-slide table:not(.table-unshaded) tfoot,\n.remark-slide table:not(.table-unshaded) tr:nth-child(even) {\n  background: #CCEDEA;\n}\ntable.dataTable tbody {\n  background-color: var(--background-color);\n  color: var(--text-color);\n}\ntable.dataTable.display tbody tr.odd {\n  background-color: var(--background-color);\n}\ntable.dataTable.display tbody tr.even {\n  background-color: #CCEDEA;\n}\ntable.dataTable.hover tbody tr:hover, table.dataTable.display tbody tr:hover {\n  background-color: rgba(255, 255, 255, 0.5);\n}\n.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_processing, .dataTables_wrapper .dataTables_paginate {\n  color: var(--text-color);\n}\n.dataTables_wrapper .dataTables_paginate .paginate_button {\n  color: var(--text-color) !important;\n}\n\n/* Horizontal alignment of code blocks */\n.remark-slide-content.left pre,\n.remark-slide-content.center pre,\n.remark-slide-content.right pre {\n  text-align: start;\n  width: max-content;\n  max-width: 100%;\n}\n.remark-slide-content.left pre,\n.remark-slide-content.right pre {\n  min-width: 50%;\n  min-width: min(40ch, 100%);\n}\n.remark-slide-content.center pre {\n  min-width: 66%;\n  min-width: min(50ch, 100%);\n}\n.remark-slide-content.left pre {\n  margin-left: unset;\n  margin-right: auto;\n}\n.remark-slide-content.center pre {\n  margin-left: auto;\n  margin-right: auto;\n}\n.remark-slide-content.right pre {\n  margin-left: auto;\n  margin-right: unset;\n}\n\n/* Slide Header Background for h1 elements */\n.remark-slide-content.header_background > h1 {\n  display: block;\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 100%;\n  background: var(--header-background-color);\n  color: var(--header-background-text-color);\n  padding: 2rem 64px 1.5rem 64px;\n  margin-top: 0;\n  box-sizing: border-box;\n}\n.remark-slide-content.header_background {\n  padding-top: 7rem;\n}\n\n@page { margin: 0; }\n@media print {\n  .remark-slide-scaler {\n    width: 100% !important;\n    height: 100% !important;\n    transform: scale(1) !important;\n    top: 0 !important;\n    left: 0 !important;\n  }\n}\n\n.primary {\n  color: var(--primary);\n}\n.bg-primary {\n  background-color: var(--primary);\n}\n.secondary {\n  color: var(--secondary);\n}\n.bg-secondary {\n  background-color: var(--secondary);\n}\n.white {\n  color: var(--white);\n}\n.bg-white {\n  background-color: var(--white);\n}\n.black {\n  color: var(--black);\n}\n.bg-black {\n  background-color: var(--black);\n}\n"
  },
  {
    "path": "tests/testthat/css/duo_accent_inverse.css",
    "content": "/* -------------------------------------------------------\n *\n *     !! This file was generated by xaringanthemer !!\n *\n *  Changes made to this file directly will be overwritten\n *  if you used xaringanthemer in your xaringan slides Rmd\n *\n *  Issues or likes?\n *    - https://github.com/gadenbuie/xaringanthemer\n *    - https://www.garrickadenbuie.com\n *\n *  Need help? Try:\n *    - vignette(package = \"xaringanthemer\")\n *    - ?xaringanthemer::style_xaringan\n *    - xaringan wiki: https://github.com/yihui/xaringan/wiki\n *    - remarkjs wiki: https://github.com/gnab/remark/wiki\n *\n *  Version: a.b.c.d.eeee\n *\n * ------------------------------------------------------- */\n@import url(https://fonts.googleapis.com/css?family=Noto+Serif&display=swap);\n@import url(https://fonts.googleapis.com/css?family=Cabin:600,600i&display=swap);\n@import url(https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap);\n\n\n:root {\n  /* Fonts */\n  --text-font-family: 'Noto Serif';\n  --text-font-is-google: 1;\n  --text-font-family-fallback: -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial;\n  --text-font-base: sans-serif;\n  --header-font-family: Cabin;\n  --header-font-is-google: 1;\n  --header-font-family-fallback: Georgia, serif;\n  --code-font-family: 'Source Code Pro';\n  --code-font-is-google: 1;\n  --base-font-size: 20px;\n  --text-font-size: 1rem;\n  --code-font-size: 0.9rem;\n  --code-inline-font-size: 1em;\n  --header-h1-font-size: 2.75rem;\n  --header-h2-font-size: 2.25rem;\n  --header-h3-font-size: 1.75rem;\n\n  /* Colors */\n  --text-color: #FFFFFF;\n  --header-color: #035AA6;\n  --background-color: #000000;\n  --link-color: #03A696;\n  --text-bold-color: #03A696;\n  --code-highlight-color: rgba(255,255,0,0.5);\n  --inverse-text-color: #000000;\n  --inverse-background-color: #03A696;\n  --inverse-header-color: #000000;\n  --inverse-link-color: #03A696;\n  --title-slide-background-color: #035AA6;\n  --title-slide-text-color: #FFFFFF;\n  --header-background-color: #035AA6;\n  --header-background-text-color: #000000;\n  --primary: #035AA6;\n  --secondary: #03A696;\n  --white: #FFFFFF;\n  --black: #000000;\n}\n\nhtml {\n  font-size: var(--base-font-size);\n}\n\nbody {\n  font-family: var(--text-font-family), var(--text-font-family-fallback), var(--text-font-base);\n  font-weight: normal;\n  color: var(--text-color);\n}\nh1, h2, h3 {\n  font-family: var(--header-font-family), var(--header-font-family-fallback);\n  font-weight: 600;\n  color: var(--header-color);\n}\n.remark-slide-content {\n  background-color: var(--background-color);\n  font-size: 1rem;\n  padding: 16px 64px 16px 64px;\n  width: 100%;\n  height: 100%;\n}\n.remark-slide-content h1 {\n  font-size: var(--header-h1-font-size);\n}\n.remark-slide-content h2 {\n  font-size: var(--header-h2-font-size);\n}\n.remark-slide-content h3 {\n  font-size: var(--header-h3-font-size);\n}\n.remark-code, .remark-inline-code {\n  font-family: var(--code-font-family), Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;\n}\n.remark-code {\n  font-size: var(--code-font-size);\n}\n.remark-inline-code {\n  font-size: var(--code-inline-font-size);\n  color: #03A696;\n}\n.remark-slide-number {\n  color: #035AA6;\n  opacity: 1;\n  font-size: 0.9rem;\n}\nstrong {\n  font-weight: bold;\n  color: var(--text-bold-color);\n}\na, a > code {\n  color: var(--link-color);\n  text-decoration: none;\n}\n.footnote {\n  position: absolute;\n  bottom: 60px;\n  padding-right: 4em;\n  font-size: 0.9em;\n}\n.remark-code-line-highlighted {\n  background-color: var(--code-highlight-color);\n}\n.inverse {\n  background-color: var(--inverse-background-color);\n  color: var(--inverse-text-color);\n  \n}\n.inverse h1, .inverse h2, .inverse h3 {\n  color: var(--inverse-header-color);\n}\n.inverse a, .inverse a > code {\n  color: var(--inverse-link-color);\n}\n.title-slide, .title-slide h1, .title-slide h2, .title-slide h3 {\n  color: var(--title-slide-text-color);\n}\n.title-slide {\n  background-color: var(--title-slide-background-color);\n}\n.title-slide .remark-slide-number {\n  display: none;\n}\n/* Two-column layout */\n.left-column {\n  width: 20%;\n  height: 92%;\n  float: left;\n}\n.left-column h2, .left-column h3 {\n  color: #035AA699;\n}\n.left-column h2:last-of-type, .left-column h3:last-child {\n  color: #035AA6;\n}\n.right-column {\n  width: 75%;\n  float: right;\n  padding-top: 1em;\n}\n.pull-left {\n  float: left;\n  width: 47%;\n}\n.pull-right {\n  float: right;\n  width: 47%;\n}\n.pull-right + * {\n  clear: both;\n}\nimg, video, iframe {\n  max-width: 100%;\n}\nblockquote {\n  border-left: solid 5px #03A69680;\n  padding-left: 1em;\n}\n.remark-slide table {\n  margin: auto;\n  border-top: 1px solid #666;\n  border-bottom: 1px solid #666;\n}\n.remark-slide table thead th {\n  border-bottom: 1px solid #ddd;\n}\nth, td {\n  padding: 5px;\n}\n.remark-slide table:not(.table-unshaded) thead,\n.remark-slide table:not(.table-unshaded) tfoot,\n.remark-slide table:not(.table-unshaded) tr:nth-child(even) {\n  background: #024884;\n}\ntable.dataTable tbody {\n  background-color: var(--background-color);\n  color: var(--text-color);\n}\ntable.dataTable.display tbody tr.odd {\n  background-color: var(--background-color);\n}\ntable.dataTable.display tbody tr.even {\n  background-color: #024884;\n}\ntable.dataTable.hover tbody tr:hover, table.dataTable.display tbody tr:hover {\n  background-color: rgba(255, 255, 255, 0.5);\n}\n.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_processing, .dataTables_wrapper .dataTables_paginate {\n  color: var(--text-color);\n}\n.dataTables_wrapper .dataTables_paginate .paginate_button {\n  color: var(--text-color) !important;\n}\n\n/* Horizontal alignment of code blocks */\n.remark-slide-content.left pre,\n.remark-slide-content.center pre,\n.remark-slide-content.right pre {\n  text-align: start;\n  width: max-content;\n  max-width: 100%;\n}\n.remark-slide-content.left pre,\n.remark-slide-content.right pre {\n  min-width: 50%;\n  min-width: min(40ch, 100%);\n}\n.remark-slide-content.center pre {\n  min-width: 66%;\n  min-width: min(50ch, 100%);\n}\n.remark-slide-content.left pre {\n  margin-left: unset;\n  margin-right: auto;\n}\n.remark-slide-content.center pre {\n  margin-left: auto;\n  margin-right: auto;\n}\n.remark-slide-content.right pre {\n  margin-left: auto;\n  margin-right: unset;\n}\n\n/* Slide Header Background for h1 elements */\n.remark-slide-content.header_background > h1 {\n  display: block;\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 100%;\n  background: var(--header-background-color);\n  color: var(--header-background-text-color);\n  padding: 2rem 64px 1.5rem 64px;\n  margin-top: 0;\n  box-sizing: border-box;\n}\n.remark-slide-content.header_background {\n  padding-top: 7rem;\n}\n\n@page { margin: 0; }\n@media print {\n  .remark-slide-scaler {\n    width: 100% !important;\n    height: 100% !important;\n    transform: scale(1) !important;\n    top: 0 !important;\n    left: 0 !important;\n  }\n}\n\n.primary {\n  color: var(--primary);\n}\n.bg-primary {\n  background-color: var(--primary);\n}\n.secondary {\n  color: var(--secondary);\n}\n.bg-secondary {\n  background-color: var(--secondary);\n}\n.white {\n  color: var(--white);\n}\n.bg-white {\n  background-color: var(--white);\n}\n.black {\n  color: var(--black);\n}\n.bg-black {\n  background-color: var(--black);\n}\n"
  },
  {
    "path": "tests/testthat/css/google_fonts.css",
    "content": "/* -------------------------------------------------------\n *\n *     !! This file was generated by xaringanthemer !!\n *\n *  Changes made to this file directly will be overwritten\n *  if you used xaringanthemer in your xaringan slides Rmd\n *\n *  Issues or likes?\n *    - https://github.com/gadenbuie/xaringanthemer\n *    - https://www.garrickadenbuie.com\n *\n *  Need help? Try:\n *    - vignette(package = \"xaringanthemer\")\n *    - ?xaringanthemer::style_xaringan\n *    - xaringan wiki: https://github.com/yihui/xaringan/wiki\n *    - remarkjs wiki: https://github.com/gnab/remark/wiki\n *\n *  Version: a.b.c.d.eeee\n *\n * ------------------------------------------------------- */\n@import url(https://fonts.googleapis.com/css?family=Noto+Serif&display=swap);\n@import url(https://fonts.googleapis.com/css?family=IBM+Plex+Serif:700&display=swap);\n@import url(https://fonts.googleapis.com/css?family=IBM+Plex+Mono&display=swap);\n\n\n:root {\n  /* Fonts */\n  --text-font-family: 'Noto Serif';\n  --text-font-is-google: 1;\n  --text-font-family-fallback: -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial;\n  --text-font-base: sans-serif;\n  --header-font-family: 'IBM Plex Serif';\n  --header-font-is-google: 1;\n  --header-font-family-fallback: Georgia, serif;\n  --code-font-family: 'IBM Plex Mono';\n  --code-font-is-google: 1;\n  --base-font-size: 20px;\n  --text-font-size: 1rem;\n  --code-font-size: 0.9rem;\n  --code-inline-font-size: 1em;\n  --header-h1-font-size: 2.75rem;\n  --header-h2-font-size: 2.25rem;\n  --header-h3-font-size: 1.75rem;\n\n  /* Colors */\n  --text-color: #000;\n  --header-color: #000;\n  --background-color: #FFF;\n  --link-color: rgb(249, 38, 114);\n  --code-highlight-color: rgba(255,255,0,0.5);\n  --inverse-text-color: #d6d6d6;\n  --inverse-background-color: #272822;\n  --inverse-header-color: #f3f3f3;\n  --inverse-link-color: rgb(249, 38, 114);\n  --title-slide-background-color: #272822;\n  --title-slide-text-color: #d6d6d6;\n  --header-background-color: #000;\n  --header-background-text-color: #FFF;\n}\n\nhtml {\n  font-size: var(--base-font-size);\n}\n\nbody {\n  font-family: var(--text-font-family), var(--text-font-family-fallback), var(--text-font-base);\n  font-weight: normal;\n  color: var(--text-color);\n}\nh1, h2, h3 {\n  font-family: var(--header-font-family), var(--header-font-family-fallback);\n  font-weight: 600;\n  color: var(--header-color);\n}\n.remark-slide-content {\n  background-color: var(--background-color);\n  font-size: 1rem;\n  padding: 16px 64px 16px 64px;\n  width: 100%;\n  height: 100%;\n}\n.remark-slide-content h1 {\n  font-size: var(--header-h1-font-size);\n}\n.remark-slide-content h2 {\n  font-size: var(--header-h2-font-size);\n}\n.remark-slide-content h3 {\n  font-size: var(--header-h3-font-size);\n}\n.remark-code, .remark-inline-code {\n  font-family: var(--code-font-family), Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;\n}\n.remark-code {\n  font-size: var(--code-font-size);\n}\n.remark-inline-code {\n  font-size: var(--code-inline-font-size);\n  color: #000;\n}\n.remark-slide-number {\n  color: #272822;\n  opacity: 1;\n  font-size: 0.9rem;\n}\nstrong {\n  font-weight: bold;\n}\na, a > code {\n  color: var(--link-color);\n  text-decoration: none;\n}\n.footnote {\n  position: absolute;\n  bottom: 60px;\n  padding-right: 4em;\n  font-size: 0.9em;\n}\n.remark-code-line-highlighted {\n  background-color: var(--code-highlight-color);\n}\n.inverse {\n  background-color: var(--inverse-background-color);\n  color: var(--inverse-text-color);\n  \n}\n.inverse h1, .inverse h2, .inverse h3 {\n  color: var(--inverse-header-color);\n}\n.inverse a, .inverse a > code {\n  color: var(--inverse-link-color);\n}\n.title-slide, .title-slide h1, .title-slide h2, .title-slide h3 {\n  color: var(--title-slide-text-color);\n}\n.title-slide {\n  background-color: var(--title-slide-background-color);\n}\n.title-slide .remark-slide-number {\n  display: none;\n}\n/* Two-column layout */\n.left-column {\n  width: 20%;\n  height: 92%;\n  float: left;\n}\n.left-column h2, .left-column h3 {\n  color: #777;\n}\n.left-column h2:last-of-type, .left-column h3:last-child {\n  color: #000;\n}\n.right-column {\n  width: 75%;\n  float: right;\n  padding-top: 1em;\n}\n.pull-left {\n  float: left;\n  width: 47%;\n}\n.pull-right {\n  float: right;\n  width: 47%;\n}\n.pull-right + * {\n  clear: both;\n}\nimg, video, iframe {\n  max-width: 100%;\n}\nblockquote {\n  border-left: solid 5px lightgray;\n  padding-left: 1em;\n}\n.remark-slide table {\n  margin: auto;\n  border-top: 1px solid #666;\n  border-bottom: 1px solid #666;\n}\n.remark-slide table thead th {\n  border-bottom: 1px solid #ddd;\n}\nth, td {\n  padding: 5px;\n}\n.remark-slide table:not(.table-unshaded) thead,\n.remark-slide table:not(.table-unshaded) tfoot,\n.remark-slide table:not(.table-unshaded) tr:nth-child(even) {\n  background: #eee;\n}\ntable.dataTable tbody {\n  background-color: var(--background-color);\n  color: var(--text-color);\n}\ntable.dataTable.display tbody tr.odd {\n  background-color: var(--background-color);\n}\ntable.dataTable.display tbody tr.even {\n  background-color: #eee;\n}\ntable.dataTable.hover tbody tr:hover, table.dataTable.display tbody tr:hover {\n  background-color: rgba(255, 255, 255, 0.5);\n}\n.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_processing, .dataTables_wrapper .dataTables_paginate {\n  color: var(--text-color);\n}\n.dataTables_wrapper .dataTables_paginate .paginate_button {\n  color: var(--text-color) !important;\n}\n\n/* Horizontal alignment of code blocks */\n.remark-slide-content.left pre,\n.remark-slide-content.center pre,\n.remark-slide-content.right pre {\n  text-align: start;\n  width: max-content;\n  max-width: 100%;\n}\n.remark-slide-content.left pre,\n.remark-slide-content.right pre {\n  min-width: 50%;\n  min-width: min(40ch, 100%);\n}\n.remark-slide-content.center pre {\n  min-width: 66%;\n  min-width: min(50ch, 100%);\n}\n.remark-slide-content.left pre {\n  margin-left: unset;\n  margin-right: auto;\n}\n.remark-slide-content.center pre {\n  margin-left: auto;\n  margin-right: auto;\n}\n.remark-slide-content.right pre {\n  margin-left: auto;\n  margin-right: unset;\n}\n\n/* Slide Header Background for h1 elements */\n.remark-slide-content.header_background > h1 {\n  display: block;\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 100%;\n  background: var(--header-background-color);\n  color: var(--header-background-text-color);\n  padding: 2rem 64px 1.5rem 64px;\n  margin-top: 0;\n  box-sizing: border-box;\n}\n.remark-slide-content.header_background {\n  padding-top: 7rem;\n}\n\n@page { margin: 0; }\n@media print {\n  .remark-slide-scaler {\n    width: 100% !important;\n    height: 100% !important;\n    transform: scale(1) !important;\n    top: 0 !important;\n    left: 0 !important;\n  }\n}\n\n"
  },
  {
    "path": "tests/testthat/css/mono_accent.css",
    "content": "/* -------------------------------------------------------\n *\n *     !! This file was generated by xaringanthemer !!\n *\n *  Changes made to this file directly will be overwritten\n *  if you used xaringanthemer in your xaringan slides Rmd\n *\n *  Issues or likes?\n *    - https://github.com/gadenbuie/xaringanthemer\n *    - https://www.garrickadenbuie.com\n *\n *  Need help? Try:\n *    - vignette(package = \"xaringanthemer\")\n *    - ?xaringanthemer::style_xaringan\n *    - xaringan wiki: https://github.com/yihui/xaringan/wiki\n *    - remarkjs wiki: https://github.com/gnab/remark/wiki\n *\n *  Version: a.b.c.d.eeee\n *\n * ------------------------------------------------------- */\n@import url(https://fonts.googleapis.com/css?family=Noto+Serif&display=swap);\n@import url(https://fonts.googleapis.com/css?family=Cabin:600,600i&display=swap);\n@import url(https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap);\n\n\n:root {\n  /* Fonts */\n  --text-font-family: 'Noto Serif';\n  --text-font-is-google: 1;\n  --text-font-family-fallback: -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial;\n  --text-font-base: sans-serif;\n  --header-font-family: Cabin;\n  --header-font-is-google: 1;\n  --header-font-family-fallback: Georgia, serif;\n  --code-font-family: 'Source Code Pro';\n  --code-font-is-google: 1;\n  --base-font-size: 20px;\n  --text-font-size: 1rem;\n  --code-font-size: 0.9rem;\n  --code-inline-font-size: 1em;\n  --header-h1-font-size: 2.75rem;\n  --header-h2-font-size: 2.25rem;\n  --header-h3-font-size: 1.75rem;\n\n  /* Colors */\n  --text-color: #272822;\n  --header-color: #43418A;\n  --background-color: #FFFFFF;\n  --link-color: #43418A;\n  --text-bold-color: #43418A;\n  --code-highlight-color: rgba(255,255,0,0.5);\n  --inverse-text-color: #FFFFFF;\n  --inverse-background-color: #43418A;\n  --inverse-header-color: #FFFFFF;\n  --inverse-link-color: #43418A;\n  --title-slide-background-color: #43418A;\n  --title-slide-text-color: #FFFFFF;\n  --header-background-color: #43418A;\n  --header-background-text-color: #FFFFFF;\n  --base: #43418A;\n  --white: #FFFFFF;\n  --black: #272822;\n}\n\nhtml {\n  font-size: var(--base-font-size);\n}\n\nbody {\n  font-family: var(--text-font-family), var(--text-font-family-fallback), var(--text-font-base);\n  font-weight: normal;\n  color: var(--text-color);\n}\nh1, h2, h3 {\n  font-family: var(--header-font-family), var(--header-font-family-fallback);\n  font-weight: 600;\n  color: var(--header-color);\n}\n.remark-slide-content {\n  background-color: var(--background-color);\n  font-size: 1rem;\n  padding: 16px 64px 16px 64px;\n  width: 100%;\n  height: 100%;\n}\n.remark-slide-content h1 {\n  font-size: var(--header-h1-font-size);\n}\n.remark-slide-content h2 {\n  font-size: var(--header-h2-font-size);\n}\n.remark-slide-content h3 {\n  font-size: var(--header-h3-font-size);\n}\n.remark-code, .remark-inline-code {\n  font-family: var(--code-font-family), Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;\n}\n.remark-code {\n  font-size: var(--code-font-size);\n}\n.remark-inline-code {\n  font-size: var(--code-inline-font-size);\n  color: #43418A;\n}\n.remark-slide-number {\n  color: #43418A;\n  opacity: 1;\n  font-size: 0.9rem;\n}\nstrong {\n  font-weight: bold;\n  color: var(--text-bold-color);\n}\na, a > code {\n  color: var(--link-color);\n  text-decoration: none;\n}\n.footnote {\n  position: absolute;\n  bottom: 60px;\n  padding-right: 4em;\n  font-size: 0.9em;\n}\n.remark-code-line-highlighted {\n  background-color: var(--code-highlight-color);\n}\n.inverse {\n  background-color: var(--inverse-background-color);\n  color: var(--inverse-text-color);\n  \n}\n.inverse h1, .inverse h2, .inverse h3 {\n  color: var(--inverse-header-color);\n}\n.inverse a, .inverse a > code {\n  color: var(--inverse-link-color);\n}\n.title-slide, .title-slide h1, .title-slide h2, .title-slide h3 {\n  color: var(--title-slide-text-color);\n}\n.title-slide {\n  background-color: var(--title-slide-background-color);\n}\n.title-slide .remark-slide-number {\n  display: none;\n}\n/* Two-column layout */\n.left-column {\n  width: 20%;\n  height: 92%;\n  float: left;\n}\n.left-column h2, .left-column h3 {\n  color: #43418A99;\n}\n.left-column h2:last-of-type, .left-column h3:last-child {\n  color: #43418A;\n}\n.right-column {\n  width: 75%;\n  float: right;\n  padding-top: 1em;\n}\n.pull-left {\n  float: left;\n  width: 47%;\n}\n.pull-right {\n  float: right;\n  width: 47%;\n}\n.pull-right + * {\n  clear: both;\n}\nimg, video, iframe {\n  max-width: 100%;\n}\nblockquote {\n  border-left: solid 5px #43418A80;\n  padding-left: 1em;\n}\n.remark-slide table {\n  margin: auto;\n  border-top: 1px solid #666;\n  border-bottom: 1px solid #666;\n}\n.remark-slide table thead th {\n  border-bottom: 1px solid #ddd;\n}\nth, td {\n  padding: 5px;\n}\n.remark-slide table:not(.table-unshaded) thead,\n.remark-slide table:not(.table-unshaded) tfoot,\n.remark-slide table:not(.table-unshaded) tr:nth-child(even) {\n  background: #D9D9E7;\n}\ntable.dataTable tbody {\n  background-color: var(--background-color);\n  color: var(--text-color);\n}\ntable.dataTable.display tbody tr.odd {\n  background-color: var(--background-color);\n}\ntable.dataTable.display tbody tr.even {\n  background-color: #D9D9E7;\n}\ntable.dataTable.hover tbody tr:hover, table.dataTable.display tbody tr:hover {\n  background-color: rgba(255, 255, 255, 0.5);\n}\n.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_processing, .dataTables_wrapper .dataTables_paginate {\n  color: var(--text-color);\n}\n.dataTables_wrapper .dataTables_paginate .paginate_button {\n  color: var(--text-color) !important;\n}\n\n/* Horizontal alignment of code blocks */\n.remark-slide-content.left pre,\n.remark-slide-content.center pre,\n.remark-slide-content.right pre {\n  text-align: start;\n  width: max-content;\n  max-width: 100%;\n}\n.remark-slide-content.left pre,\n.remark-slide-content.right pre {\n  min-width: 50%;\n  min-width: min(40ch, 100%);\n}\n.remark-slide-content.center pre {\n  min-width: 66%;\n  min-width: min(50ch, 100%);\n}\n.remark-slide-content.left pre {\n  margin-left: unset;\n  margin-right: auto;\n}\n.remark-slide-content.center pre {\n  margin-left: auto;\n  margin-right: auto;\n}\n.remark-slide-content.right pre {\n  margin-left: auto;\n  margin-right: unset;\n}\n\n/* Slide Header Background for h1 elements */\n.remark-slide-content.header_background > h1 {\n  display: block;\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 100%;\n  background: var(--header-background-color);\n  color: var(--header-background-text-color);\n  padding: 2rem 64px 1.5rem 64px;\n  margin-top: 0;\n  box-sizing: border-box;\n}\n.remark-slide-content.header_background {\n  padding-top: 7rem;\n}\n\n@page { margin: 0; }\n@media print {\n  .remark-slide-scaler {\n    width: 100% !important;\n    height: 100% !important;\n    transform: scale(1) !important;\n    top: 0 !important;\n    left: 0 !important;\n  }\n}\n\n.base {\n  color: var(--base);\n}\n.bg-base {\n  background-color: var(--base);\n}\n.white {\n  color: var(--white);\n}\n.bg-white {\n  background-color: var(--white);\n}\n.black {\n  color: var(--black);\n}\n.bg-black {\n  background-color: var(--black);\n}\n"
  },
  {
    "path": "tests/testthat/css/mono_accent_inverse.css",
    "content": "/* -------------------------------------------------------\n *\n *     !! This file was generated by xaringanthemer !!\n *\n *  Changes made to this file directly will be overwritten\n *  if you used xaringanthemer in your xaringan slides Rmd\n *\n *  Issues or likes?\n *    - https://github.com/gadenbuie/xaringanthemer\n *    - https://www.garrickadenbuie.com\n *\n *  Need help? Try:\n *    - vignette(package = \"xaringanthemer\")\n *    - ?xaringanthemer::style_xaringan\n *    - xaringan wiki: https://github.com/yihui/xaringan/wiki\n *    - remarkjs wiki: https://github.com/gnab/remark/wiki\n *\n *  Version: a.b.c.d.eeee\n *\n * ------------------------------------------------------- */\n@import url(https://fonts.googleapis.com/css?family=Noto+Serif&display=swap);\n@import url(https://fonts.googleapis.com/css?family=Cabin:600,600i&display=swap);\n@import url(https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap);\n\n\n:root {\n  /* Fonts */\n  --text-font-family: 'Noto Serif';\n  --text-font-is-google: 1;\n  --text-font-family-fallback: -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial;\n  --text-font-base: sans-serif;\n  --header-font-family: Cabin;\n  --header-font-is-google: 1;\n  --header-font-family-fallback: Georgia, serif;\n  --code-font-family: 'Source Code Pro';\n  --code-font-is-google: 1;\n  --base-font-size: 20px;\n  --text-font-size: 1rem;\n  --code-font-size: 0.9rem;\n  --code-inline-font-size: 1em;\n  --header-h1-font-size: 2.75rem;\n  --header-h2-font-size: 2.25rem;\n  --header-h3-font-size: 1.75rem;\n\n  /* Colors */\n  --text-color: #FFFFFF;\n  --header-color: #3C989E;\n  --background-color: #050F0F;\n  --link-color: #3C989E;\n  --text-bold-color: #3C989E;\n  --code-highlight-color: rgba(255,255,0,0.5);\n  --inverse-text-color: #050F0F;\n  --inverse-background-color: #3C989E;\n  --inverse-header-color: #050F0F;\n  --inverse-link-color: #3C989E;\n  --title-slide-background-color: #3C989E;\n  --title-slide-text-color: #050F0F;\n  --header-background-color: #3C989E;\n  --header-background-text-color: #050F0F;\n  --base: #3C989E;\n  --white: #FFFFFF;\n  --black: #050F0F;\n}\n\nhtml {\n  font-size: var(--base-font-size);\n}\n\nbody {\n  font-family: var(--text-font-family), var(--text-font-family-fallback), var(--text-font-base);\n  font-weight: normal;\n  color: var(--text-color);\n}\nh1, h2, h3 {\n  font-family: var(--header-font-family), var(--header-font-family-fallback);\n  font-weight: 600;\n  color: var(--header-color);\n}\n.remark-slide-content {\n  background-color: var(--background-color);\n  font-size: 1rem;\n  padding: 16px 64px 16px 64px;\n  width: 100%;\n  height: 100%;\n}\n.remark-slide-content h1 {\n  font-size: var(--header-h1-font-size);\n}\n.remark-slide-content h2 {\n  font-size: var(--header-h2-font-size);\n}\n.remark-slide-content h3 {\n  font-size: var(--header-h3-font-size);\n}\n.remark-code, .remark-inline-code {\n  font-family: var(--code-font-family), Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;\n}\n.remark-code {\n  font-size: var(--code-font-size);\n}\n.remark-inline-code {\n  font-size: var(--code-inline-font-size);\n  color: #3C989E;\n}\n.remark-slide-number {\n  color: #3C989E;\n  opacity: 1;\n  font-size: 0.9rem;\n}\nstrong {\n  font-weight: bold;\n  color: var(--text-bold-color);\n}\na, a > code {\n  color: var(--link-color);\n  text-decoration: none;\n}\n.footnote {\n  position: absolute;\n  bottom: 60px;\n  padding-right: 4em;\n  font-size: 0.9em;\n}\n.remark-code-line-highlighted {\n  background-color: var(--code-highlight-color);\n}\n.inverse {\n  background-color: var(--inverse-background-color);\n  color: var(--inverse-text-color);\n  \n}\n.inverse h1, .inverse h2, .inverse h3 {\n  color: var(--inverse-header-color);\n}\n.inverse a, .inverse a > code {\n  color: var(--inverse-link-color);\n}\n.title-slide, .title-slide h1, .title-slide h2, .title-slide h3 {\n  color: var(--title-slide-text-color);\n}\n.title-slide {\n  background-color: var(--title-slide-background-color);\n}\n.title-slide .remark-slide-number {\n  display: none;\n}\n/* Two-column layout */\n.left-column {\n  width: 20%;\n  height: 92%;\n  float: left;\n}\n.left-column h2, .left-column h3 {\n  color: #3C989E99;\n}\n.left-column h2:last-of-type, .left-column h3:last-child {\n  color: #3C989E;\n}\n.right-column {\n  width: 75%;\n  float: right;\n  padding-top: 1em;\n}\n.pull-left {\n  float: left;\n  width: 47%;\n}\n.pull-right {\n  float: right;\n  width: 47%;\n}\n.pull-right + * {\n  clear: both;\n}\nimg, video, iframe {\n  max-width: 100%;\n}\nblockquote {\n  border-left: solid 5px #3C989E80;\n  padding-left: 1em;\n}\n.remark-slide table {\n  margin: auto;\n  border-top: 1px solid #666;\n  border-bottom: 1px solid #666;\n}\n.remark-slide table thead th {\n  border-bottom: 1px solid #ddd;\n}\nth, td {\n  padding: 5px;\n}\n.remark-slide table:not(.table-unshaded) thead,\n.remark-slide table:not(.table-unshaded) tfoot,\n.remark-slide table:not(.table-unshaded) tr:nth-child(even) {\n  background: #0B1E1F;\n}\ntable.dataTable tbody {\n  background-color: var(--background-color);\n  color: var(--text-color);\n}\ntable.dataTable.display tbody tr.odd {\n  background-color: var(--background-color);\n}\ntable.dataTable.display tbody tr.even {\n  background-color: #0B1E1F;\n}\ntable.dataTable.hover tbody tr:hover, table.dataTable.display tbody tr:hover {\n  background-color: rgba(255, 255, 255, 0.5);\n}\n.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_processing, .dataTables_wrapper .dataTables_paginate {\n  color: var(--text-color);\n}\n.dataTables_wrapper .dataTables_paginate .paginate_button {\n  color: var(--text-color) !important;\n}\n\n/* Horizontal alignment of code blocks */\n.remark-slide-content.left pre,\n.remark-slide-content.center pre,\n.remark-slide-content.right pre {\n  text-align: start;\n  width: max-content;\n  max-width: 100%;\n}\n.remark-slide-content.left pre,\n.remark-slide-content.right pre {\n  min-width: 50%;\n  min-width: min(40ch, 100%);\n}\n.remark-slide-content.center pre {\n  min-width: 66%;\n  min-width: min(50ch, 100%);\n}\n.remark-slide-content.left pre {\n  margin-left: unset;\n  margin-right: auto;\n}\n.remark-slide-content.center pre {\n  margin-left: auto;\n  margin-right: auto;\n}\n.remark-slide-content.right pre {\n  margin-left: auto;\n  margin-right: unset;\n}\n\n/* Slide Header Background for h1 elements */\n.remark-slide-content.header_background > h1 {\n  display: block;\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 100%;\n  background: var(--header-background-color);\n  color: var(--header-background-text-color);\n  padding: 2rem 64px 1.5rem 64px;\n  margin-top: 0;\n  box-sizing: border-box;\n}\n.remark-slide-content.header_background {\n  padding-top: 7rem;\n}\n\n@page { margin: 0; }\n@media print {\n  .remark-slide-scaler {\n    width: 100% !important;\n    height: 100% !important;\n    transform: scale(1) !important;\n    top: 0 !important;\n    left: 0 !important;\n  }\n}\n\n.base {\n  color: var(--base);\n}\n.bg-base {\n  background-color: var(--base);\n}\n.white {\n  color: var(--white);\n}\n.bg-white {\n  background-color: var(--white);\n}\n.black {\n  color: var(--black);\n}\n.bg-black {\n  background-color: var(--black);\n}\n"
  },
  {
    "path": "tests/testthat/css/mono_dark.css",
    "content": "/* -------------------------------------------------------\n *\n *     !! This file was generated by xaringanthemer !!\n *\n *  Changes made to this file directly will be overwritten\n *  if you used xaringanthemer in your xaringan slides Rmd\n *\n *  Issues or likes?\n *    - https://github.com/gadenbuie/xaringanthemer\n *    - https://www.garrickadenbuie.com\n *\n *  Need help? Try:\n *    - vignette(package = \"xaringanthemer\")\n *    - ?xaringanthemer::style_xaringan\n *    - xaringan wiki: https://github.com/yihui/xaringan/wiki\n *    - remarkjs wiki: https://github.com/gnab/remark/wiki\n *\n *  Version: a.b.c.d.eeee\n *\n * ------------------------------------------------------- */\n@import url(https://fonts.googleapis.com/css?family=Noto+Serif&display=swap);\n@import url(https://fonts.googleapis.com/css?family=Cabin:600,600i&display=swap);\n@import url(https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap);\n\n\n:root {\n  /* Fonts */\n  --text-font-family: 'Noto Serif';\n  --text-font-is-google: 1;\n  --text-font-family-fallback: -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial;\n  --text-font-base: sans-serif;\n  --header-font-family: Cabin;\n  --header-font-is-google: 1;\n  --header-font-family-fallback: Georgia, serif;\n  --code-font-family: 'Source Code Pro';\n  --code-font-is-google: 1;\n  --base-font-size: 20px;\n  --text-font-size: 1rem;\n  --code-font-size: 0.9rem;\n  --code-inline-font-size: 1em;\n  --header-h1-font-size: 2.75rem;\n  --header-h2-font-size: 2.25rem;\n  --header-h3-font-size: 1.75rem;\n\n  /* Colors */\n  --text-color: #F4FDFB;\n  --header-color: #cbf7ed;\n  --background-color: #1E2523;\n  --link-color: #cbf7ed;\n  --text-bold-color: #cbf7ed;\n  --code-highlight-color: rgba(255,255,0,0.5);\n  --inverse-text-color: #1E2523;\n  --inverse-background-color: #cbf7ed;\n  --inverse-header-color: #1E2523;\n  --inverse-link-color: #cbf7ed;\n  --title-slide-background-color: #cbf7ed;\n  --title-slide-text-color: #1E2523;\n  --header-background-color: #cbf7ed;\n  --header-background-text-color: #1E2523;\n  --base: #cbf7ed;\n  --white: #F4FDFB;\n  --black: #1E2523;\n}\n\nhtml {\n  font-size: var(--base-font-size);\n}\n\nbody {\n  font-family: var(--text-font-family), var(--text-font-family-fallback), var(--text-font-base);\n  font-weight: normal;\n  color: var(--text-color);\n}\nh1, h2, h3 {\n  font-family: var(--header-font-family), var(--header-font-family-fallback);\n  font-weight: 600;\n  color: var(--header-color);\n}\n.remark-slide-content {\n  background-color: var(--background-color);\n  font-size: 1rem;\n  padding: 16px 64px 16px 64px;\n  width: 100%;\n  height: 100%;\n}\n.remark-slide-content h1 {\n  font-size: var(--header-h1-font-size);\n}\n.remark-slide-content h2 {\n  font-size: var(--header-h2-font-size);\n}\n.remark-slide-content h3 {\n  font-size: var(--header-h3-font-size);\n}\n.remark-code, .remark-inline-code {\n  font-family: var(--code-font-family), Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;\n}\n.remark-code {\n  font-size: var(--code-font-size);\n}\n.remark-inline-code {\n  font-size: var(--code-inline-font-size);\n  color: #cbf7ed;\n}\n.remark-slide-number {\n  color: #cbf7ed;\n  opacity: 1;\n  font-size: 0.9rem;\n}\nstrong {\n  font-weight: bold;\n  color: var(--text-bold-color);\n}\na, a > code {\n  color: var(--link-color);\n  text-decoration: none;\n}\n.footnote {\n  position: absolute;\n  bottom: 60px;\n  padding-right: 4em;\n  font-size: 0.9em;\n}\n.remark-code-line-highlighted {\n  background-color: var(--code-highlight-color);\n}\n.inverse {\n  background-color: var(--inverse-background-color);\n  color: var(--inverse-text-color);\n  \n}\n.inverse h1, .inverse h2, .inverse h3 {\n  color: var(--inverse-header-color);\n}\n.inverse a, .inverse a > code {\n  color: var(--inverse-link-color);\n}\n.title-slide, .title-slide h1, .title-slide h2, .title-slide h3 {\n  color: var(--title-slide-text-color);\n}\n.title-slide {\n  background-color: var(--title-slide-background-color);\n}\n.title-slide .remark-slide-number {\n  display: none;\n}\n/* Two-column layout */\n.left-column {\n  width: 20%;\n  height: 92%;\n  float: left;\n}\n.left-column h2, .left-column h3 {\n  color: #cbf7ed99;\n}\n.left-column h2:last-of-type, .left-column h3:last-child {\n  color: #cbf7ed;\n}\n.right-column {\n  width: 75%;\n  float: right;\n  padding-top: 1em;\n}\n.pull-left {\n  float: left;\n  width: 47%;\n}\n.pull-right {\n  float: right;\n  width: 47%;\n}\n.pull-right + * {\n  clear: both;\n}\nimg, video, iframe {\n  max-width: 100%;\n}\nblockquote {\n  border-left: solid 5px #cbf7ed80;\n  padding-left: 1em;\n}\n.remark-slide table {\n  margin: auto;\n  border-top: 1px solid #666;\n  border-bottom: 1px solid #666;\n}\n.remark-slide table thead th {\n  border-bottom: 1px solid #ddd;\n}\nth, td {\n  padding: 5px;\n}\n.remark-slide table:not(.table-unshaded) thead,\n.remark-slide table:not(.table-unshaded) tfoot,\n.remark-slide table:not(.table-unshaded) tr:nth-child(even) {\n  background: #3C4A47;\n}\ntable.dataTable tbody {\n  background-color: var(--background-color);\n  color: var(--text-color);\n}\ntable.dataTable.display tbody tr.odd {\n  background-color: var(--background-color);\n}\ntable.dataTable.display tbody tr.even {\n  background-color: #3C4A47;\n}\ntable.dataTable.hover tbody tr:hover, table.dataTable.display tbody tr:hover {\n  background-color: rgba(255, 255, 255, 0.5);\n}\n.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_processing, .dataTables_wrapper .dataTables_paginate {\n  color: var(--text-color);\n}\n.dataTables_wrapper .dataTables_paginate .paginate_button {\n  color: var(--text-color) !important;\n}\n\n/* Horizontal alignment of code blocks */\n.remark-slide-content.left pre,\n.remark-slide-content.center pre,\n.remark-slide-content.right pre {\n  text-align: start;\n  width: max-content;\n  max-width: 100%;\n}\n.remark-slide-content.left pre,\n.remark-slide-content.right pre {\n  min-width: 50%;\n  min-width: min(40ch, 100%);\n}\n.remark-slide-content.center pre {\n  min-width: 66%;\n  min-width: min(50ch, 100%);\n}\n.remark-slide-content.left pre {\n  margin-left: unset;\n  margin-right: auto;\n}\n.remark-slide-content.center pre {\n  margin-left: auto;\n  margin-right: auto;\n}\n.remark-slide-content.right pre {\n  margin-left: auto;\n  margin-right: unset;\n}\n\n/* Slide Header Background for h1 elements */\n.remark-slide-content.header_background > h1 {\n  display: block;\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 100%;\n  background: var(--header-background-color);\n  color: var(--header-background-text-color);\n  padding: 2rem 64px 1.5rem 64px;\n  margin-top: 0;\n  box-sizing: border-box;\n}\n.remark-slide-content.header_background {\n  padding-top: 7rem;\n}\n\n@page { margin: 0; }\n@media print {\n  .remark-slide-scaler {\n    width: 100% !important;\n    height: 100% !important;\n    transform: scale(1) !important;\n    top: 0 !important;\n    left: 0 !important;\n  }\n}\n\n.base {\n  color: var(--base);\n}\n.bg-base {\n  background-color: var(--base);\n}\n.white {\n  color: var(--white);\n}\n.bg-white {\n  background-color: var(--white);\n}\n.black {\n  color: var(--black);\n}\n.bg-black {\n  background-color: var(--black);\n}\n"
  },
  {
    "path": "tests/testthat/css/mono_light-header_bg.css",
    "content": "/* -------------------------------------------------------\n *\n *     !! This file was generated by xaringanthemer !!\n *\n *  Changes made to this file directly will be overwritten\n *  if you used xaringanthemer in your xaringan slides Rmd\n *\n *  Issues or likes?\n *    - https://github.com/gadenbuie/xaringanthemer\n *    - https://www.garrickadenbuie.com\n *\n *  Need help? Try:\n *    - vignette(package = \"xaringanthemer\")\n *    - ?xaringanthemer::style_xaringan\n *    - xaringan wiki: https://github.com/yihui/xaringan/wiki\n *    - remarkjs wiki: https://github.com/gnab/remark/wiki\n *\n *  Version: a.b.c.d.eeee\n *\n * ------------------------------------------------------- */\n@import url(https://fonts.googleapis.com/css?family=Noto+Serif&display=swap);\n@import url(https://fonts.googleapis.com/css?family=Cabin:600,600i&display=swap);\n@import url(https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap);\n\n\n:root {\n  /* Fonts */\n  --text-font-family: 'Noto Serif';\n  --text-font-is-google: 1;\n  --text-font-family-fallback: -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial;\n  --text-font-base: sans-serif;\n  --header-font-family: Cabin;\n  --header-font-is-google: 1;\n  --header-font-family-fallback: Georgia, serif;\n  --code-font-family: 'Source Code Pro';\n  --code-font-is-google: 1;\n  --base-font-size: 20px;\n  --text-font-size: 1rem;\n  --code-font-size: 0.9rem;\n  --code-inline-font-size: 1em;\n  --header-h1-font-size: 2.75rem;\n  --header-h2-font-size: 2.25rem;\n  --header-h3-font-size: 1.75rem;\n\n  /* Colors */\n  --text-color: #18273F;\n  --header-color: #23395b;\n  --background-color: #E9EBEE;\n  --link-color: #23395b;\n  --text-bold-color: #23395b;\n  --code-highlight-color: rgba(255,255,0,0.5);\n  --inverse-text-color: #E9EBEE;\n  --inverse-background-color: #23395b;\n  --inverse-header-color: #E9EBEE;\n  --inverse-link-color: #23395b;\n  --title-slide-background-color: #23395b;\n  --title-slide-text-color: #E9EBEE;\n  --header-background-color: #23395b;\n  --header-background-text-color: #E9EBEE;\n  --base: #23395b;\n  --white: #E9EBEE;\n  --black: #18273F;\n}\n\nhtml {\n  font-size: var(--base-font-size);\n}\n\nbody {\n  font-family: var(--text-font-family), var(--text-font-family-fallback), var(--text-font-base);\n  font-weight: normal;\n  color: var(--text-color);\n}\nh1, h2, h3 {\n  font-family: var(--header-font-family), var(--header-font-family-fallback);\n  font-weight: 600;\n  color: var(--header-color);\n}\n.remark-slide-content {\n  background-color: var(--background-color);\n  font-size: 1rem;\n  padding: 16px 64px 16px 64px;\n  width: 100%;\n  height: 100%;\n}\n.remark-slide-content h1 {\n  font-size: var(--header-h1-font-size);\n}\n.remark-slide-content h2 {\n  font-size: var(--header-h2-font-size);\n}\n.remark-slide-content h3 {\n  font-size: var(--header-h3-font-size);\n}\n.remark-code, .remark-inline-code {\n  font-family: var(--code-font-family), Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;\n}\n.remark-code {\n  font-size: var(--code-font-size);\n}\n.remark-inline-code {\n  font-size: var(--code-inline-font-size);\n  color: #23395b;\n}\n.remark-slide-number {\n  color: #23395b;\n  opacity: 1;\n  font-size: 0.9rem;\n}\nstrong {\n  font-weight: bold;\n  color: var(--text-bold-color);\n}\na, a > code {\n  color: var(--link-color);\n  text-decoration: none;\n}\n.footnote {\n  position: absolute;\n  bottom: 60px;\n  padding-right: 4em;\n  font-size: 0.9em;\n}\n.remark-code-line-highlighted {\n  background-color: var(--code-highlight-color);\n}\n.inverse {\n  background-color: var(--inverse-background-color);\n  color: var(--inverse-text-color);\n  \n}\n.inverse h1, .inverse h2, .inverse h3 {\n  color: var(--inverse-header-color);\n}\n.inverse a, .inverse a > code {\n  color: var(--inverse-link-color);\n}\n.title-slide, .title-slide h1, .title-slide h2, .title-slide h3 {\n  color: var(--title-slide-text-color);\n}\n.title-slide {\n  background-color: var(--title-slide-background-color);\n}\n.title-slide .remark-slide-number {\n  display: none;\n}\n/* Two-column layout */\n.left-column {\n  width: 20%;\n  height: 92%;\n  float: left;\n}\n.left-column h2, .left-column h3 {\n  color: #23395b99;\n}\n.left-column h2:last-of-type, .left-column h3:last-child {\n  color: #23395b;\n}\n.right-column {\n  width: 75%;\n  float: right;\n  padding-top: 1em;\n}\n.pull-left {\n  float: left;\n  width: 47%;\n}\n.pull-right {\n  float: right;\n  width: 47%;\n}\n.pull-right + * {\n  clear: both;\n}\nimg, video, iframe {\n  max-width: 100%;\n}\nblockquote {\n  border-left: solid 5px #23395b80;\n  padding-left: 1em;\n}\n.remark-slide table {\n  margin: auto;\n  border-top: 1px solid #666;\n  border-bottom: 1px solid #666;\n}\n.remark-slide table thead th {\n  border-bottom: 1px solid #ddd;\n}\nth, td {\n  padding: 5px;\n}\n.remark-slide table:not(.table-unshaded) thead,\n.remark-slide table:not(.table-unshaded) tfoot,\n.remark-slide table:not(.table-unshaded) tr:nth-child(even) {\n  background: #D3D7DE;\n}\ntable.dataTable tbody {\n  background-color: var(--background-color);\n  color: var(--text-color);\n}\ntable.dataTable.display tbody tr.odd {\n  background-color: var(--background-color);\n}\ntable.dataTable.display tbody tr.even {\n  background-color: #D3D7DE;\n}\ntable.dataTable.hover tbody tr:hover, table.dataTable.display tbody tr:hover {\n  background-color: rgba(255, 255, 255, 0.5);\n}\n.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_processing, .dataTables_wrapper .dataTables_paginate {\n  color: var(--text-color);\n}\n.dataTables_wrapper .dataTables_paginate .paginate_button {\n  color: var(--text-color) !important;\n}\n\n/* Horizontal alignment of code blocks */\n.remark-slide-content.left pre,\n.remark-slide-content.center pre,\n.remark-slide-content.right pre {\n  text-align: start;\n  width: max-content;\n  max-width: 100%;\n}\n.remark-slide-content.left pre,\n.remark-slide-content.right pre {\n  min-width: 50%;\n  min-width: min(40ch, 100%);\n}\n.remark-slide-content.center pre {\n  min-width: 66%;\n  min-width: min(50ch, 100%);\n}\n.remark-slide-content.left pre {\n  margin-left: unset;\n  margin-right: auto;\n}\n.remark-slide-content.center pre {\n  margin-left: auto;\n  margin-right: auto;\n}\n.remark-slide-content.right pre {\n  margin-left: auto;\n  margin-right: unset;\n}\n\n/* Slide Header Background for h1 elements */\n.remark-slide-content.header_background > h1,\n.remark-slide-content:not(.normal):not(.inverse):not(.title):not(.middle):not(.bottom) > h1 {\n  display: block;\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 100%;\n  background: var(--header-background-color);\n  color: var(--header-background-text-color);\n  padding: 2rem 64px 1.5rem 64px;\n  margin-top: 0;\n  box-sizing: border-box;\n}\n.remark-slide-content.header_background,\n.remark-slide-content:not(.normal):not(.inverse):not(.title):not(.middle):not(.bottom) {\n  padding-top: 7rem;\n}\n\n@page { margin: 0; }\n@media print {\n  .remark-slide-scaler {\n    width: 100% !important;\n    height: 100% !important;\n    transform: scale(1) !important;\n    top: 0 !important;\n    left: 0 !important;\n  }\n}\n\n.base {\n  color: var(--base);\n}\n.bg-base {\n  background-color: var(--base);\n}\n.white {\n  color: var(--white);\n}\n.bg-white {\n  background-color: var(--white);\n}\n.black {\n  color: var(--black);\n}\n.bg-black {\n  background-color: var(--black);\n}\n"
  },
  {
    "path": "tests/testthat/css/mono_light.css",
    "content": "/* -------------------------------------------------------\n *\n *     !! This file was generated by xaringanthemer !!\n *\n *  Changes made to this file directly will be overwritten\n *  if you used xaringanthemer in your xaringan slides Rmd\n *\n *  Issues or likes?\n *    - https://github.com/gadenbuie/xaringanthemer\n *    - https://www.garrickadenbuie.com\n *\n *  Need help? Try:\n *    - vignette(package = \"xaringanthemer\")\n *    - ?xaringanthemer::style_xaringan\n *    - xaringan wiki: https://github.com/yihui/xaringan/wiki\n *    - remarkjs wiki: https://github.com/gnab/remark/wiki\n *\n *  Version: a.b.c.d.eeee\n *\n * ------------------------------------------------------- */\n@import url(https://fonts.googleapis.com/css?family=Noto+Serif&display=swap);\n@import url(https://fonts.googleapis.com/css?family=Cabin:600,600i&display=swap);\n@import url(https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap);\n\n\n:root {\n  /* Fonts */\n  --text-font-family: 'Noto Serif';\n  --text-font-is-google: 1;\n  --text-font-family-fallback: -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial;\n  --text-font-base: sans-serif;\n  --header-font-family: Cabin;\n  --header-font-is-google: 1;\n  --header-font-family-fallback: Georgia, serif;\n  --code-font-family: 'Source Code Pro';\n  --code-font-is-google: 1;\n  --base-font-size: 20px;\n  --text-font-size: 1rem;\n  --code-font-size: 0.9rem;\n  --code-inline-font-size: 1em;\n  --header-h1-font-size: 2.75rem;\n  --header-h2-font-size: 2.25rem;\n  --header-h3-font-size: 1.75rem;\n\n  /* Colors */\n  --text-color: #18273F;\n  --header-color: #23395b;\n  --background-color: #E9EBEE;\n  --link-color: #23395b;\n  --text-bold-color: #23395b;\n  --code-highlight-color: rgba(255,255,0,0.5);\n  --inverse-text-color: #E9EBEE;\n  --inverse-background-color: #23395b;\n  --inverse-header-color: #E9EBEE;\n  --inverse-link-color: #23395b;\n  --title-slide-background-color: #23395b;\n  --title-slide-text-color: #E9EBEE;\n  --header-background-color: #23395b;\n  --header-background-text-color: #E9EBEE;\n  --base: #23395b;\n  --white: #E9EBEE;\n  --black: #18273F;\n}\n\nhtml {\n  font-size: var(--base-font-size);\n}\n\nbody {\n  font-family: var(--text-font-family), var(--text-font-family-fallback), var(--text-font-base);\n  font-weight: normal;\n  color: var(--text-color);\n}\nh1, h2, h3 {\n  font-family: var(--header-font-family), var(--header-font-family-fallback);\n  font-weight: 600;\n  color: var(--header-color);\n}\n.remark-slide-content {\n  background-color: var(--background-color);\n  font-size: 1rem;\n  padding: 16px 64px 16px 64px;\n  width: 100%;\n  height: 100%;\n}\n.remark-slide-content h1 {\n  font-size: var(--header-h1-font-size);\n}\n.remark-slide-content h2 {\n  font-size: var(--header-h2-font-size);\n}\n.remark-slide-content h3 {\n  font-size: var(--header-h3-font-size);\n}\n.remark-code, .remark-inline-code {\n  font-family: var(--code-font-family), Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;\n}\n.remark-code {\n  font-size: var(--code-font-size);\n}\n.remark-inline-code {\n  font-size: var(--code-inline-font-size);\n  color: #23395b;\n}\n.remark-slide-number {\n  color: #23395b;\n  opacity: 1;\n  font-size: 0.9rem;\n}\nstrong {\n  font-weight: bold;\n  color: var(--text-bold-color);\n}\na, a > code {\n  color: var(--link-color);\n  text-decoration: none;\n}\n.footnote {\n  position: absolute;\n  bottom: 60px;\n  padding-right: 4em;\n  font-size: 0.9em;\n}\n.remark-code-line-highlighted {\n  background-color: var(--code-highlight-color);\n}\n.inverse {\n  background-color: var(--inverse-background-color);\n  color: var(--inverse-text-color);\n  \n}\n.inverse h1, .inverse h2, .inverse h3 {\n  color: var(--inverse-header-color);\n}\n.inverse a, .inverse a > code {\n  color: var(--inverse-link-color);\n}\n.title-slide, .title-slide h1, .title-slide h2, .title-slide h3 {\n  color: var(--title-slide-text-color);\n}\n.title-slide {\n  background-color: var(--title-slide-background-color);\n}\n.title-slide .remark-slide-number {\n  display: none;\n}\n/* Two-column layout */\n.left-column {\n  width: 20%;\n  height: 92%;\n  float: left;\n}\n.left-column h2, .left-column h3 {\n  color: #23395b99;\n}\n.left-column h2:last-of-type, .left-column h3:last-child {\n  color: #23395b;\n}\n.right-column {\n  width: 75%;\n  float: right;\n  padding-top: 1em;\n}\n.pull-left {\n  float: left;\n  width: 47%;\n}\n.pull-right {\n  float: right;\n  width: 47%;\n}\n.pull-right + * {\n  clear: both;\n}\nimg, video, iframe {\n  max-width: 100%;\n}\nblockquote {\n  border-left: solid 5px #23395b80;\n  padding-left: 1em;\n}\n.remark-slide table {\n  margin: auto;\n  border-top: 1px solid #666;\n  border-bottom: 1px solid #666;\n}\n.remark-slide table thead th {\n  border-bottom: 1px solid #ddd;\n}\nth, td {\n  padding: 5px;\n}\n.remark-slide table:not(.table-unshaded) thead,\n.remark-slide table:not(.table-unshaded) tfoot,\n.remark-slide table:not(.table-unshaded) tr:nth-child(even) {\n  background: #D3D7DE;\n}\ntable.dataTable tbody {\n  background-color: var(--background-color);\n  color: var(--text-color);\n}\ntable.dataTable.display tbody tr.odd {\n  background-color: var(--background-color);\n}\ntable.dataTable.display tbody tr.even {\n  background-color: #D3D7DE;\n}\ntable.dataTable.hover tbody tr:hover, table.dataTable.display tbody tr:hover {\n  background-color: rgba(255, 255, 255, 0.5);\n}\n.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_processing, .dataTables_wrapper .dataTables_paginate {\n  color: var(--text-color);\n}\n.dataTables_wrapper .dataTables_paginate .paginate_button {\n  color: var(--text-color) !important;\n}\n\n/* Horizontal alignment of code blocks */\n.remark-slide-content.left pre,\n.remark-slide-content.center pre,\n.remark-slide-content.right pre {\n  text-align: start;\n  width: max-content;\n  max-width: 100%;\n}\n.remark-slide-content.left pre,\n.remark-slide-content.right pre {\n  min-width: 50%;\n  min-width: min(40ch, 100%);\n}\n.remark-slide-content.center pre {\n  min-width: 66%;\n  min-width: min(50ch, 100%);\n}\n.remark-slide-content.left pre {\n  margin-left: unset;\n  margin-right: auto;\n}\n.remark-slide-content.center pre {\n  margin-left: auto;\n  margin-right: auto;\n}\n.remark-slide-content.right pre {\n  margin-left: auto;\n  margin-right: unset;\n}\n\n/* Slide Header Background for h1 elements */\n.remark-slide-content.header_background > h1 {\n  display: block;\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 100%;\n  background: var(--header-background-color);\n  color: var(--header-background-text-color);\n  padding: 2rem 64px 1.5rem 64px;\n  margin-top: 0;\n  box-sizing: border-box;\n}\n.remark-slide-content.header_background {\n  padding-top: 7rem;\n}\n\n@page { margin: 0; }\n@media print {\n  .remark-slide-scaler {\n    width: 100% !important;\n    height: 100% !important;\n    transform: scale(1) !important;\n    top: 0 !important;\n    left: 0 !important;\n  }\n}\n\n.base {\n  color: var(--base);\n}\n.bg-base {\n  background-color: var(--base);\n}\n.white {\n  color: var(--white);\n}\n.bg-white {\n  background-color: var(--white);\n}\n.black {\n  color: var(--black);\n}\n.bg-black {\n  background-color: var(--black);\n}\n"
  },
  {
    "path": "tests/testthat/css/solarized_dark-header_bg.css",
    "content": "/* -------------------------------------------------------\n *\n *     !! This file was generated by xaringanthemer !!\n *\n *  Changes made to this file directly will be overwritten\n *  if you used xaringanthemer in your xaringan slides Rmd\n *\n *  Issues or likes?\n *    - https://github.com/gadenbuie/xaringanthemer\n *    - https://www.garrickadenbuie.com\n *\n *  Need help? Try:\n *    - vignette(package = \"xaringanthemer\")\n *    - ?xaringanthemer::style_xaringan\n *    - xaringan wiki: https://github.com/yihui/xaringan/wiki\n *    - remarkjs wiki: https://github.com/gnab/remark/wiki\n *\n *  Version: a.b.c.d.eeee\n *\n * ------------------------------------------------------- */\n@import url(https://fonts.googleapis.com/css?family=Noto+Serif&display=swap);\n@import url(https://fonts.googleapis.com/css?family=Cabin:600,600i&display=swap);\n@import url(https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap);\n\n\n:root {\n  /* Fonts */\n  --text-font-family: 'Noto Serif';\n  --text-font-is-google: 1;\n  --text-font-family-fallback: -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial;\n  --text-font-base: sans-serif;\n  --header-font-family: Cabin;\n  --header-font-is-google: 1;\n  --header-font-family-fallback: Georgia, serif;\n  --code-font-family: 'Source Code Pro';\n  --code-font-is-google: 1;\n  --base-font-size: 20px;\n  --text-font-size: 1rem;\n  --code-font-size: 0.9rem;\n  --code-inline-font-size: 1em;\n  --header-h1-font-size: 2.75rem;\n  --header-h2-font-size: 2.25rem;\n  --header-h3-font-size: 1.75rem;\n\n  /* Colors */\n  --text-color: #839496;\n  --header-color: #dc322f;\n  --background-color: #002b36;\n  --link-color: #b58900;\n  --text-bold-color: #d33682;\n  --code-highlight-color: #268bd240;\n  --inverse-text-color: #002b36;\n  --inverse-background-color: #fdf6e3;\n  --inverse-header-color: #002b36;\n  --inverse-link-color: #b58900;\n  --title-slide-background-color: #fdf6e3;\n  --title-slide-text-color: #002b36;\n  --header-background-color: #dc322f;\n  --header-background-text-color: #002b36;\n}\n\nhtml {\n  font-size: var(--base-font-size);\n}\n\nbody {\n  font-family: var(--text-font-family), var(--text-font-family-fallback), var(--text-font-base);\n  font-weight: normal;\n  color: var(--text-color);\n}\nh1, h2, h3 {\n  font-family: var(--header-font-family), var(--header-font-family-fallback);\n  font-weight: 600;\n  color: var(--header-color);\n}\n.remark-slide-content {\n  background-color: var(--background-color);\n  font-size: 1rem;\n  padding: 16px 64px 16px 64px;\n  width: 100%;\n  height: 100%;\n}\n.remark-slide-content h1 {\n  font-size: var(--header-h1-font-size);\n}\n.remark-slide-content h2 {\n  font-size: var(--header-h2-font-size);\n}\n.remark-slide-content h3 {\n  font-size: var(--header-h3-font-size);\n}\n.remark-code, .remark-inline-code {\n  font-family: var(--code-font-family), Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;\n}\n.remark-code {\n  font-size: var(--code-font-size);\n}\n.remark-inline-code {\n  font-size: var(--code-inline-font-size);\n  color: #6c71c4;\n}\n.remark-slide-number {\n  color: #586e75;\n  opacity: 1;\n  font-size: 0.9rem;\n}\nstrong {\n  font-weight: bold;\n  color: var(--text-bold-color);\n}\na, a > code {\n  color: var(--link-color);\n  text-decoration: none;\n}\n.footnote {\n  position: absolute;\n  bottom: 60px;\n  padding-right: 4em;\n  font-size: 0.9em;\n}\n.remark-code-line-highlighted {\n  background-color: var(--code-highlight-color);\n}\n.inverse {\n  background-color: var(--inverse-background-color);\n  color: var(--inverse-text-color);\n  \n}\n.inverse h1, .inverse h2, .inverse h3 {\n  color: var(--inverse-header-color);\n}\n.inverse a, .inverse a > code {\n  color: var(--inverse-link-color);\n}\n.title-slide, .title-slide h1, .title-slide h2, .title-slide h3 {\n  color: var(--title-slide-text-color);\n}\n.title-slide {\n  background-color: var(--title-slide-background-color);\n}\n.title-slide .remark-slide-number {\n  display: none;\n}\n/* Two-column layout */\n.left-column {\n  width: 20%;\n  height: 92%;\n  float: left;\n}\n.left-column h2, .left-column h3 {\n  color: #586e75;\n}\n.left-column h2:last-of-type, .left-column h3:last-child {\n  color: #93a1a1;\n}\n.right-column {\n  width: 75%;\n  float: right;\n  padding-top: 1em;\n}\n.pull-left {\n  float: left;\n  width: 47%;\n}\n.pull-right {\n  float: right;\n  width: 47%;\n}\n.pull-right + * {\n  clear: both;\n}\nimg, video, iframe {\n  max-width: 100%;\n}\nblockquote {\n  border-left: solid 5px #cb4b16;\n  padding-left: 1em;\n}\n.remark-slide table {\n  margin: auto;\n  border-top: 1px solid #657b83;\n  border-bottom: 1px solid #657b83;\n}\n.remark-slide table thead th {\n  border-bottom: 1px solid #657b83;\n}\nth, td {\n  padding: 5px;\n}\n.remark-slide table:not(.table-unshaded) thead,\n.remark-slide table:not(.table-unshaded) tfoot,\n.remark-slide table:not(.table-unshaded) tr:nth-child(even) {\n  background: #073642;\n}\ntable.dataTable tbody {\n  background-color: var(--background-color);\n  color: var(--text-color);\n}\ntable.dataTable.display tbody tr.odd {\n  background-color: var(--background-color);\n}\ntable.dataTable.display tbody tr.even {\n  background-color: #073642;\n}\ntable.dataTable.hover tbody tr:hover, table.dataTable.display tbody tr:hover {\n  background-color: rgba(255, 255, 255, 0.5);\n}\n.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_processing, .dataTables_wrapper .dataTables_paginate {\n  color: var(--text-color);\n}\n.dataTables_wrapper .dataTables_paginate .paginate_button {\n  color: var(--text-color) !important;\n}\n\n/* Horizontal alignment of code blocks */\n.remark-slide-content.left pre,\n.remark-slide-content.center pre,\n.remark-slide-content.right pre {\n  text-align: start;\n  width: max-content;\n  max-width: 100%;\n}\n.remark-slide-content.left pre,\n.remark-slide-content.right pre {\n  min-width: 50%;\n  min-width: min(40ch, 100%);\n}\n.remark-slide-content.center pre {\n  min-width: 66%;\n  min-width: min(50ch, 100%);\n}\n.remark-slide-content.left pre {\n  margin-left: unset;\n  margin-right: auto;\n}\n.remark-slide-content.center pre {\n  margin-left: auto;\n  margin-right: auto;\n}\n.remark-slide-content.right pre {\n  margin-left: auto;\n  margin-right: unset;\n}\n\n/* Slide Header Background for h1 elements */\n.remark-slide-content.header_background > h1,\n.remark-slide-content:not(.normal):not(.inverse):not(.title):not(.middle):not(.bottom) > h1 {\n  display: block;\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 100%;\n  background: var(--header-background-color);\n  color: var(--header-background-text-color);\n  padding: 2rem 64px 1.5rem 64px;\n  margin-top: 0;\n  box-sizing: border-box;\n}\n.remark-slide-content.header_background,\n.remark-slide-content:not(.normal):not(.inverse):not(.title):not(.middle):not(.bottom) {\n  padding-top: 7rem;\n}\n\n@page { margin: 0; }\n@media print {\n  .remark-slide-scaler {\n    width: 100% !important;\n    height: 100% !important;\n    transform: scale(1) !important;\n    top: 0 !important;\n    left: 0 !important;\n  }\n}\n\n"
  },
  {
    "path": "tests/testthat/css/solarized_dark.css",
    "content": "/* -------------------------------------------------------\n *\n *     !! This file was generated by xaringanthemer !!\n *\n *  Changes made to this file directly will be overwritten\n *  if you used xaringanthemer in your xaringan slides Rmd\n *\n *  Issues or likes?\n *    - https://github.com/gadenbuie/xaringanthemer\n *    - https://www.garrickadenbuie.com\n *\n *  Need help? Try:\n *    - vignette(package = \"xaringanthemer\")\n *    - ?xaringanthemer::style_xaringan\n *    - xaringan wiki: https://github.com/yihui/xaringan/wiki\n *    - remarkjs wiki: https://github.com/gnab/remark/wiki\n *\n *  Version: a.b.c.d.eeee\n *\n * ------------------------------------------------------- */\n@import url(https://fonts.googleapis.com/css?family=Noto+Serif&display=swap);\n@import url(https://fonts.googleapis.com/css?family=Cabin:600,600i&display=swap);\n@import url(https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap);\n\n\n:root {\n  /* Fonts */\n  --text-font-family: 'Noto Serif';\n  --text-font-is-google: 1;\n  --text-font-family-fallback: -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial;\n  --text-font-base: sans-serif;\n  --header-font-family: Cabin;\n  --header-font-is-google: 1;\n  --header-font-family-fallback: Georgia, serif;\n  --code-font-family: 'Source Code Pro';\n  --code-font-is-google: 1;\n  --base-font-size: 20px;\n  --text-font-size: 1rem;\n  --code-font-size: 0.9rem;\n  --code-inline-font-size: 1em;\n  --header-h1-font-size: 2.75rem;\n  --header-h2-font-size: 2.25rem;\n  --header-h3-font-size: 1.75rem;\n\n  /* Colors */\n  --text-color: #839496;\n  --header-color: #dc322f;\n  --background-color: #002b36;\n  --link-color: #b58900;\n  --text-bold-color: #d33682;\n  --code-highlight-color: #268bd240;\n  --inverse-text-color: #002b36;\n  --inverse-background-color: #fdf6e3;\n  --inverse-header-color: #002b36;\n  --inverse-link-color: #b58900;\n  --title-slide-background-color: #fdf6e3;\n  --title-slide-text-color: #002b36;\n  --header-background-color: #dc322f;\n  --header-background-text-color: #002b36;\n}\n\nhtml {\n  font-size: var(--base-font-size);\n}\n\nbody {\n  font-family: var(--text-font-family), var(--text-font-family-fallback), var(--text-font-base);\n  font-weight: normal;\n  color: var(--text-color);\n}\nh1, h2, h3 {\n  font-family: var(--header-font-family), var(--header-font-family-fallback);\n  font-weight: 600;\n  color: var(--header-color);\n}\n.remark-slide-content {\n  background-color: var(--background-color);\n  font-size: 1rem;\n  padding: 16px 64px 16px 64px;\n  width: 100%;\n  height: 100%;\n}\n.remark-slide-content h1 {\n  font-size: var(--header-h1-font-size);\n}\n.remark-slide-content h2 {\n  font-size: var(--header-h2-font-size);\n}\n.remark-slide-content h3 {\n  font-size: var(--header-h3-font-size);\n}\n.remark-code, .remark-inline-code {\n  font-family: var(--code-font-family), Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;\n}\n.remark-code {\n  font-size: var(--code-font-size);\n}\n.remark-inline-code {\n  font-size: var(--code-inline-font-size);\n  color: #6c71c4;\n}\n.remark-slide-number {\n  color: #586e75;\n  opacity: 1;\n  font-size: 0.9rem;\n}\nstrong {\n  font-weight: bold;\n  color: var(--text-bold-color);\n}\na, a > code {\n  color: var(--link-color);\n  text-decoration: none;\n}\n.footnote {\n  position: absolute;\n  bottom: 60px;\n  padding-right: 4em;\n  font-size: 0.9em;\n}\n.remark-code-line-highlighted {\n  background-color: var(--code-highlight-color);\n}\n.inverse {\n  background-color: var(--inverse-background-color);\n  color: var(--inverse-text-color);\n  \n}\n.inverse h1, .inverse h2, .inverse h3 {\n  color: var(--inverse-header-color);\n}\n.inverse a, .inverse a > code {\n  color: var(--inverse-link-color);\n}\n.title-slide, .title-slide h1, .title-slide h2, .title-slide h3 {\n  color: var(--title-slide-text-color);\n}\n.title-slide {\n  background-color: var(--title-slide-background-color);\n}\n.title-slide .remark-slide-number {\n  display: none;\n}\n/* Two-column layout */\n.left-column {\n  width: 20%;\n  height: 92%;\n  float: left;\n}\n.left-column h2, .left-column h3 {\n  color: #586e75;\n}\n.left-column h2:last-of-type, .left-column h3:last-child {\n  color: #93a1a1;\n}\n.right-column {\n  width: 75%;\n  float: right;\n  padding-top: 1em;\n}\n.pull-left {\n  float: left;\n  width: 47%;\n}\n.pull-right {\n  float: right;\n  width: 47%;\n}\n.pull-right + * {\n  clear: both;\n}\nimg, video, iframe {\n  max-width: 100%;\n}\nblockquote {\n  border-left: solid 5px #cb4b16;\n  padding-left: 1em;\n}\n.remark-slide table {\n  margin: auto;\n  border-top: 1px solid #657b83;\n  border-bottom: 1px solid #657b83;\n}\n.remark-slide table thead th {\n  border-bottom: 1px solid #657b83;\n}\nth, td {\n  padding: 5px;\n}\n.remark-slide table:not(.table-unshaded) thead,\n.remark-slide table:not(.table-unshaded) tfoot,\n.remark-slide table:not(.table-unshaded) tr:nth-child(even) {\n  background: #073642;\n}\ntable.dataTable tbody {\n  background-color: var(--background-color);\n  color: var(--text-color);\n}\ntable.dataTable.display tbody tr.odd {\n  background-color: var(--background-color);\n}\ntable.dataTable.display tbody tr.even {\n  background-color: #073642;\n}\ntable.dataTable.hover tbody tr:hover, table.dataTable.display tbody tr:hover {\n  background-color: rgba(255, 255, 255, 0.5);\n}\n.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_processing, .dataTables_wrapper .dataTables_paginate {\n  color: var(--text-color);\n}\n.dataTables_wrapper .dataTables_paginate .paginate_button {\n  color: var(--text-color) !important;\n}\n\n/* Horizontal alignment of code blocks */\n.remark-slide-content.left pre,\n.remark-slide-content.center pre,\n.remark-slide-content.right pre {\n  text-align: start;\n  width: max-content;\n  max-width: 100%;\n}\n.remark-slide-content.left pre,\n.remark-slide-content.right pre {\n  min-width: 50%;\n  min-width: min(40ch, 100%);\n}\n.remark-slide-content.center pre {\n  min-width: 66%;\n  min-width: min(50ch, 100%);\n}\n.remark-slide-content.left pre {\n  margin-left: unset;\n  margin-right: auto;\n}\n.remark-slide-content.center pre {\n  margin-left: auto;\n  margin-right: auto;\n}\n.remark-slide-content.right pre {\n  margin-left: auto;\n  margin-right: unset;\n}\n\n/* Slide Header Background for h1 elements */\n.remark-slide-content.header_background > h1 {\n  display: block;\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 100%;\n  background: var(--header-background-color);\n  color: var(--header-background-text-color);\n  padding: 2rem 64px 1.5rem 64px;\n  margin-top: 0;\n  box-sizing: border-box;\n}\n.remark-slide-content.header_background {\n  padding-top: 7rem;\n}\n\n@page { margin: 0; }\n@media print {\n  .remark-slide-scaler {\n    width: 100% !important;\n    height: 100% !important;\n    transform: scale(1) !important;\n    top: 0 !important;\n    left: 0 !important;\n  }\n}\n\n"
  },
  {
    "path": "tests/testthat/css/solarized_light.css",
    "content": "/* -------------------------------------------------------\n *\n *     !! This file was generated by xaringanthemer !!\n *\n *  Changes made to this file directly will be overwritten\n *  if you used xaringanthemer in your xaringan slides Rmd\n *\n *  Issues or likes?\n *    - https://github.com/gadenbuie/xaringanthemer\n *    - https://www.garrickadenbuie.com\n *\n *  Need help? Try:\n *    - vignette(package = \"xaringanthemer\")\n *    - ?xaringanthemer::style_xaringan\n *    - xaringan wiki: https://github.com/yihui/xaringan/wiki\n *    - remarkjs wiki: https://github.com/gnab/remark/wiki\n *\n *  Version: a.b.c.d.eeee\n *\n * ------------------------------------------------------- */\n@import url(https://fonts.googleapis.com/css?family=Noto+Serif&display=swap);\n@import url(https://fonts.googleapis.com/css?family=Cabin:600,600i&display=swap);\n@import url(https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap);\n\n\n:root {\n  /* Fonts */\n  --text-font-family: 'Noto Serif';\n  --text-font-is-google: 1;\n  --text-font-family-fallback: -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial;\n  --text-font-base: sans-serif;\n  --header-font-family: Cabin;\n  --header-font-is-google: 1;\n  --header-font-family-fallback: Georgia, serif;\n  --code-font-family: 'Source Code Pro';\n  --code-font-is-google: 1;\n  --base-font-size: 20px;\n  --text-font-size: 1rem;\n  --code-font-size: 0.9rem;\n  --code-inline-font-size: 1em;\n  --header-h1-font-size: 2.75rem;\n  --header-h2-font-size: 2.25rem;\n  --header-h3-font-size: 1.75rem;\n\n  /* Colors */\n  --text-color: #657b83;\n  --header-color: #dc322f;\n  --background-color: #fdf6e3;\n  --link-color: #b58900;\n  --text-bold-color: #d33682;\n  --code-highlight-color: #268bd240;\n  --inverse-text-color: #fdf6e3;\n  --inverse-background-color: #002b36;\n  --inverse-header-color: #fdf6e3;\n  --inverse-link-color: #b58900;\n  --title-slide-background-color: #002b36;\n  --title-slide-text-color: #fdf6e3;\n  --header-background-color: #dc322f;\n  --header-background-text-color: #fdf6e3;\n}\n\nhtml {\n  font-size: var(--base-font-size);\n}\n\nbody {\n  font-family: var(--text-font-family), var(--text-font-family-fallback), var(--text-font-base);\n  font-weight: normal;\n  color: var(--text-color);\n}\nh1, h2, h3 {\n  font-family: var(--header-font-family), var(--header-font-family-fallback);\n  font-weight: 600;\n  color: var(--header-color);\n}\n.remark-slide-content {\n  background-color: var(--background-color);\n  font-size: 1rem;\n  padding: 16px 64px 16px 64px;\n  width: 100%;\n  height: 100%;\n}\n.remark-slide-content h1 {\n  font-size: var(--header-h1-font-size);\n}\n.remark-slide-content h2 {\n  font-size: var(--header-h2-font-size);\n}\n.remark-slide-content h3 {\n  font-size: var(--header-h3-font-size);\n}\n.remark-code, .remark-inline-code {\n  font-family: var(--code-font-family), Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;\n}\n.remark-code {\n  font-size: var(--code-font-size);\n}\n.remark-inline-code {\n  font-size: var(--code-inline-font-size);\n  color: #6c71c4;\n}\n.remark-slide-number {\n  color: #93a1a1;\n  opacity: 1;\n  font-size: 0.9rem;\n}\nstrong {\n  font-weight: bold;\n  color: var(--text-bold-color);\n}\na, a > code {\n  color: var(--link-color);\n  text-decoration: none;\n}\n.footnote {\n  position: absolute;\n  bottom: 60px;\n  padding-right: 4em;\n  font-size: 0.9em;\n}\n.remark-code-line-highlighted {\n  background-color: var(--code-highlight-color);\n}\n.inverse {\n  background-color: var(--inverse-background-color);\n  color: var(--inverse-text-color);\n  \n}\n.inverse h1, .inverse h2, .inverse h3 {\n  color: var(--inverse-header-color);\n}\n.inverse a, .inverse a > code {\n  color: var(--inverse-link-color);\n}\n.title-slide, .title-slide h1, .title-slide h2, .title-slide h3 {\n  color: var(--title-slide-text-color);\n}\n.title-slide {\n  background-color: var(--title-slide-background-color);\n}\n.title-slide .remark-slide-number {\n  display: none;\n}\n/* Two-column layout */\n.left-column {\n  width: 20%;\n  height: 92%;\n  float: left;\n}\n.left-column h2, .left-column h3 {\n  color: #93a1a1;\n}\n.left-column h2:last-of-type, .left-column h3:last-child {\n  color: #586e75;\n}\n.right-column {\n  width: 75%;\n  float: right;\n  padding-top: 1em;\n}\n.pull-left {\n  float: left;\n  width: 47%;\n}\n.pull-right {\n  float: right;\n  width: 47%;\n}\n.pull-right + * {\n  clear: both;\n}\nimg, video, iframe {\n  max-width: 100%;\n}\nblockquote {\n  border-left: solid 5px #cb4b16;\n  padding-left: 1em;\n}\n.remark-slide table {\n  margin: auto;\n  border-top: 1px solid #839496;\n  border-bottom: 1px solid #839496;\n}\n.remark-slide table thead th {\n  border-bottom: 1px solid #839496;\n}\nth, td {\n  padding: 5px;\n}\n.remark-slide table:not(.table-unshaded) thead,\n.remark-slide table:not(.table-unshaded) tfoot,\n.remark-slide table:not(.table-unshaded) tr:nth-child(even) {\n  background: #eee8d5;\n}\ntable.dataTable tbody {\n  background-color: var(--background-color);\n  color: var(--text-color);\n}\ntable.dataTable.display tbody tr.odd {\n  background-color: var(--background-color);\n}\ntable.dataTable.display tbody tr.even {\n  background-color: #eee8d5;\n}\ntable.dataTable.hover tbody tr:hover, table.dataTable.display tbody tr:hover {\n  background-color: rgba(255, 255, 255, 0.5);\n}\n.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_processing, .dataTables_wrapper .dataTables_paginate {\n  color: var(--text-color);\n}\n.dataTables_wrapper .dataTables_paginate .paginate_button {\n  color: var(--text-color) !important;\n}\n\n/* Horizontal alignment of code blocks */\n.remark-slide-content.left pre,\n.remark-slide-content.center pre,\n.remark-slide-content.right pre {\n  text-align: start;\n  width: max-content;\n  max-width: 100%;\n}\n.remark-slide-content.left pre,\n.remark-slide-content.right pre {\n  min-width: 50%;\n  min-width: min(40ch, 100%);\n}\n.remark-slide-content.center pre {\n  min-width: 66%;\n  min-width: min(50ch, 100%);\n}\n.remark-slide-content.left pre {\n  margin-left: unset;\n  margin-right: auto;\n}\n.remark-slide-content.center pre {\n  margin-left: auto;\n  margin-right: auto;\n}\n.remark-slide-content.right pre {\n  margin-left: auto;\n  margin-right: unset;\n}\n\n/* Slide Header Background for h1 elements */\n.remark-slide-content.header_background > h1 {\n  display: block;\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 100%;\n  background: var(--header-background-color);\n  color: var(--header-background-text-color);\n  padding: 2rem 64px 1.5rem 64px;\n  margin-top: 0;\n  box-sizing: border-box;\n}\n.remark-slide-content.header_background {\n  padding-top: 7rem;\n}\n\n@page { margin: 0; }\n@media print {\n  .remark-slide-scaler {\n    width: 100% !important;\n    height: 100% !important;\n    transform: scale(1) !important;\n    top: 0 !important;\n    left: 0 !important;\n  }\n}\n\n"
  },
  {
    "path": "tests/testthat/css/xaringan.css",
    "content": "/* -------------------------------------------------------\n *\n *     !! This file was generated by xaringanthemer !!\n *\n *  Changes made to this file directly will be overwritten\n *  if you used xaringanthemer in your xaringan slides Rmd\n *\n *  Issues or likes?\n *    - https://github.com/gadenbuie/xaringanthemer\n *    - https://www.garrickadenbuie.com\n *\n *  Need help? Try:\n *    - vignette(package = \"xaringanthemer\")\n *    - ?xaringanthemer::style_xaringan\n *    - xaringan wiki: https://github.com/yihui/xaringan/wiki\n *    - remarkjs wiki: https://github.com/gnab/remark/wiki\n *\n *  Version: a.b.c.d.eeee\n *\n * ------------------------------------------------------- */\n@import url(https://fonts.googleapis.com/css?family=Noto+Serif&display=swap);\n@import url(https://fonts.googleapis.com/css?family=Cabin:600,600i&display=swap);\n@import url(https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap);\n\n\n:root {\n  /* Fonts */\n  --text-font-family: 'Noto Serif';\n  --text-font-is-google: 1;\n  --text-font-family-fallback: -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial;\n  --text-font-base: sans-serif;\n  --header-font-family: Cabin;\n  --header-font-is-google: 1;\n  --header-font-family-fallback: Georgia, serif;\n  --code-font-family: 'Source Code Pro';\n  --code-font-is-google: 1;\n  --base-font-size: 20px;\n  --text-font-size: 1rem;\n  --code-font-size: 0.9rem;\n  --code-inline-font-size: 1em;\n  --header-h1-font-size: 2.75rem;\n  --header-h2-font-size: 2.25rem;\n  --header-h3-font-size: 1.75rem;\n\n  /* Colors */\n  --text-color: #000;\n  --header-color: #000;\n  --background-color: #FFF;\n  --link-color: rgb(249, 38, 114);\n  --code-highlight-color: rgba(255,255,0,0.5);\n  --inverse-text-color: #d6d6d6;\n  --inverse-background-color: #272822;\n  --inverse-header-color: #f3f3f3;\n  --inverse-link-color: rgb(249, 38, 114);\n  --title-slide-background-color: #272822;\n  --title-slide-text-color: #d6d6d6;\n  --header-background-color: #000;\n  --header-background-text-color: #FFF;\n  --light-blue: #bad4ed;\n}\n\nhtml {\n  font-size: var(--base-font-size);\n}\n\nbody {\n  font-family: var(--text-font-family), var(--text-font-family-fallback), var(--text-font-base);\n  font-weight: normal;\n  color: var(--text-color);\n}\nh1, h2, h3 {\n  font-family: var(--header-font-family), var(--header-font-family-fallback);\n  font-weight: 600;\n  color: var(--header-color);\n}\n.remark-slide-content {\n  background-color: var(--background-color);\n  font-size: 1rem;\n  padding: 16px 64px 16px 64px;\n  width: 100%;\n  height: 100%;\n}\n.remark-slide-content h1 {\n  font-size: var(--header-h1-font-size);\n}\n.remark-slide-content h2 {\n  font-size: var(--header-h2-font-size);\n}\n.remark-slide-content h3 {\n  font-size: var(--header-h3-font-size);\n}\n.remark-code, .remark-inline-code {\n  font-family: var(--code-font-family), Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;\n}\n.remark-code {\n  font-size: var(--code-font-size);\n}\n.remark-inline-code {\n  font-size: var(--code-inline-font-size);\n  color: #000;\n}\n.remark-slide-number {\n  color: #272822;\n  opacity: 1;\n  font-size: 0.9rem;\n}\nstrong {\n  font-weight: bold;\n}\na, a > code {\n  color: var(--link-color);\n  text-decoration: none;\n}\n.footnote {\n  position: absolute;\n  bottom: 60px;\n  padding-right: 4em;\n  font-size: 0.9em;\n}\n.remark-code-line-highlighted {\n  background-color: var(--code-highlight-color);\n}\n.inverse {\n  background-color: var(--inverse-background-color);\n  color: var(--inverse-text-color);\n  \n}\n.inverse h1, .inverse h2, .inverse h3 {\n  color: var(--inverse-header-color);\n}\n.inverse a, .inverse a > code {\n  color: var(--inverse-link-color);\n}\n.title-slide, .title-slide h1, .title-slide h2, .title-slide h3 {\n  color: var(--title-slide-text-color);\n}\n.title-slide {\n  background-color: var(--title-slide-background-color);\n}\n.title-slide .remark-slide-number {\n  display: none;\n}\n/* Two-column layout */\n.left-column {\n  width: 20%;\n  height: 92%;\n  float: left;\n}\n.left-column h2, .left-column h3 {\n  color: #777;\n}\n.left-column h2:last-of-type, .left-column h3:last-child {\n  color: #000;\n}\n.right-column {\n  width: 75%;\n  float: right;\n  padding-top: 1em;\n}\n.pull-left {\n  float: left;\n  width: 47%;\n}\n.pull-right {\n  float: right;\n  width: 47%;\n}\n.pull-right + * {\n  clear: both;\n}\nimg, video, iframe {\n  max-width: 100%;\n}\nblockquote {\n  border-left: solid 5px lightgray;\n  padding-left: 1em;\n}\n.remark-slide table {\n  margin: auto;\n  border-top: 1px solid #666;\n  border-bottom: 1px solid #666;\n}\n.remark-slide table thead th {\n  border-bottom: 1px solid #ddd;\n}\nth, td {\n  padding: 5px;\n}\n.remark-slide table:not(.table-unshaded) thead,\n.remark-slide table:not(.table-unshaded) tfoot,\n.remark-slide table:not(.table-unshaded) tr:nth-child(even) {\n  background: #eee;\n}\ntable.dataTable tbody {\n  background-color: var(--background-color);\n  color: var(--text-color);\n}\ntable.dataTable.display tbody tr.odd {\n  background-color: var(--background-color);\n}\ntable.dataTable.display tbody tr.even {\n  background-color: #eee;\n}\ntable.dataTable.hover tbody tr:hover, table.dataTable.display tbody tr:hover {\n  background-color: rgba(255, 255, 255, 0.5);\n}\n.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_processing, .dataTables_wrapper .dataTables_paginate {\n  color: var(--text-color);\n}\n.dataTables_wrapper .dataTables_paginate .paginate_button {\n  color: var(--text-color) !important;\n}\n\n/* Horizontal alignment of code blocks */\n.remark-slide-content.left pre,\n.remark-slide-content.center pre,\n.remark-slide-content.right pre {\n  text-align: start;\n  width: max-content;\n  max-width: 100%;\n}\n.remark-slide-content.left pre,\n.remark-slide-content.right pre {\n  min-width: 50%;\n  min-width: min(40ch, 100%);\n}\n.remark-slide-content.center pre {\n  min-width: 66%;\n  min-width: min(50ch, 100%);\n}\n.remark-slide-content.left pre {\n  margin-left: unset;\n  margin-right: auto;\n}\n.remark-slide-content.center pre {\n  margin-left: auto;\n  margin-right: auto;\n}\n.remark-slide-content.right pre {\n  margin-left: auto;\n  margin-right: unset;\n}\n\n/* Slide Header Background for h1 elements */\n.remark-slide-content.header_background > h1 {\n  display: block;\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 100%;\n  background: var(--header-background-color);\n  color: var(--header-background-text-color);\n  padding: 2rem 64px 1.5rem 64px;\n  margin-top: 0;\n  box-sizing: border-box;\n}\n.remark-slide-content.header_background {\n  padding-top: 7rem;\n}\n\n@page { margin: 0; }\n@media print {\n  .remark-slide-scaler {\n    width: 100% !important;\n    height: 100% !important;\n    transform: scale(1) !important;\n    top: 0 !important;\n    left: 0 !important;\n  }\n}\n\n.light-blue {\n  color: var(--light-blue);\n}\n.bg-light-blue {\n  background-color: var(--light-blue);\n}\n"
  },
  {
    "path": "tests/testthat/helper-session.R",
    "content": "with_clean_session <- function(.f, args = list()) {\n  empty_wd <- tempfile()\n  dir.create(empty_wd)\n  owd <- setwd(empty_wd)\n  on.exit({setwd(owd); unlink(empty_wd, TRUE)})\n  args$.f <- .f\n  res <- callr::r_safe(function(.f, ...) {\n    tryCatch(\n      list(result = .f(...), error = NULL),\n      error = function(e) list(result = NULL, error = e$message)\n    )\n  }, args)\n  if (!is.null(res$error)) {\n    stop(res$error)\n  } else {\n    res$result\n  }\n}\n"
  },
  {
    "path": "tests/testthat/test-color.R",
    "content": "# test_that()\n\ndescribe(\"prepare_colors()\", {\n  it(\"returns NULL if NULL or missing\", {\n    expect_null(prepare_colors())\n    expect_null(prepare_colors(NULL))\n    expect_null(prepare_colors(list()))\n  })\n\n  it(\"requires a named vector or list\", {\n    expect_error(prepare_colors(\"#00FF00\"))\n  })\n\n  it(\"requires valid CSS names\", {\n    expect_error(prepare_colors(c(\"light blue\" = \"#88f\")))\n    expect_warning(prepare_colors(c(\"light/blue\" = \"#88f\")), \"light/blue\")\n    expect_warning(prepare_colors(c(\"-lightblue\" = \"#88f\")), \"-lightblue\")\n    expect_warning(prepare_colors(c(\"_lightblue\" = \"#88f\")), \"_lightblue\")\n\n    colors <- c(\"light_blue\" = \"#88f\", \"light-blue\" = \"#88f\")\n    expect_silent(\n      expect_equal(\n        prepare_colors(colors),\n        list(\n          list(color_name = \"light_blue\", value = \"#88f\"),\n          list(color_name = \"light-blue\", value = \"#88f\")\n        )\n      )\n    )\n  })\n\n\n  it(\"returns list with color_name and value for each color\", {\n    colors <- c('test' = \"#4ed4ed\")\n    prepared <- prepare_colors(colors)\n    expect_equal(names(prepared[[1]]), c(\"color_name\", \"value\"))\n    expect_equal(prepared[[1]]$color_name, names(colors)[[1]])\n    expect_equal(prepared[[1]]$value, colors[[1]])\n  })\n})\n\n\ndescribe(\"full_length_hex()\", {\n  it(\"makes 3-length hex to 6-length\", {\n    expect_equal(full_length_hex(\"#123\"), \"#112233\")\n  })\n\n  it(\"keeps length 6 hex\", {\n    expect_equal(full_length_hex(\"#123456\"), \"#123456\")\n  })\n\n  it(\"errors if not a hex color\", {\n    expect_error(full_length_hex(\"123abc\"))\n    expect_error(full_length_hex(\"#1234567\"))\n    expect_error(full_length_hex(\"#00000Z\"))\n  })\n})\n\ndescribe(\"check_color_is_hex\", {\n  it(\"returns TRUE when color is valid hex\", {\n    expect_true(check_color_is_hex(\"#123456\"))\n    expect_true(check_color_is_hex(\"#abc123\"))\n    expect_true(check_color_is_hex(\"#abc\"))\n    expect_true(check_color_is_hex(\"#123\"))\n  })\n\n  it(\"returns FALSE and warns if requested\", {\n    expect_false(check_color_is_hex(\"123456\", throw = NULL))\n    expect_false(check_color_is_hex(\"123\", throw = NULL))\n    expect_false(check_color_is_hex(\"apple\", throw = NULL))\n    expect_warning(check_color_is_hex(\"123456\"))\n    expect_warning(check_color_is_hex(\"123\", msg = \"{color} is bad\"), \"123 is bad\")\n    expect_warning(check_color_is_hex(\"apple\"))\n  })\n\n  it(\"errors if throw = stop\", {\n    expect_error(check_color_is_hex(\"123\", throw = stop), \"123 is not\")\n  })\n})\n\n\ndescribe(\"lighten_color() and darken_color()\", {\n  it(\"errors if strength not in [0, 1]\", {\n    expect_error(lighten_color(\"#123\", 9))\n    expect_error(darken_color(\"#123\", 9))\n  })\n\n  it(\"returns original color if strength = 0\", {\n    expect_equal(lighten_color(\"#808080\", 0), \"#808080\")\n    expect_equal(darken_color(\"#808080\", 0), \"#808080\")\n  })\n\n  it(\"returns entire blend color if strength = 0\", {\n    expect_equal(lighten_color(\"#808080\", 1), \"#FFFFFF\")\n    expect_equal(darken_color(\"#808080\", 1), \"#000000\")\n  })\n\n  it(\"returns midpoint if strength = 0.5\", {\n    expect_equal(lighten_color(\"#000000\", 0.5), \"#7F7F7F\")\n    expect_equal(darken_color(\"#FFFFFF\", 0.5), \"#7F7F7F\")\n  })\n})\n"
  },
  {
    "path": "tests/testthat/test-css.R",
    "content": "test_that(\"read theme settings from css variables\", {\n  expected_vars <- list(\n    background_color = \"#E9EBEE\",\n    text_color = \"#18273F\",\n    header_color = \"#23395b\",\n    text_bold_color = \"#23395b\",\n    inverse_background_color = \"#23395b\",\n    inverse_text_color = \"#E9EBEE\",\n    inverse_header_color = \"#E9EBEE\",\n    base_font_size = \"20px\",\n    text_font_size = \"1rem\",\n    header_h3_font_size = \"1.75rem\",\n    text_font_family = \"'Noto Serif'\",\n    text_font_is_google = TRUE,\n    header_font_family = \"Cabin\",\n    header_font_is_google = TRUE,\n    header_background_color = \"#23395b\",\n    header_background_text_color = \"#E9EBEE\",\n    code_font_family = \"'Source Code Pro'\",\n    code_font_is_google = TRUE\n  )\n\n  css_vars <- read_css_vars(testthat::test_path(\"css/mono_light.css\"))\n  for (var in names(expected_vars)) {\n    expect_equal(!!css_vars[[var]], !!expected_vars[[var]])\n  }\n})\n\ndescribe(\"find and choose xaringan themer files\", {\n  tmpdir <- tempfile()\n  dir.create(tmpdir)\n\n  mono_light_css <- normalizePath(test_path(\"css/mono_light.css\"))\n\n  xaringan_css <- normalizePath(test_path(\"css/xaringan.css\"))\n\n  owd <- setwd(tmpdir)\n  on.exit(setwd(owd))\n\n  file.copy(mono_light_css, tmpdir)\n\n  it(\"finds xaringan themer files with non-standard names\", {\n    candidates <- find_xaringan_themer_css()\n    picked <- choose_xaringan_themer_css(candidates)\n    expect_equal(candidates, \"./mono_light.css\")\n    expect_equal(picked, \"./mono_light.css\")\n  })\n\n  it(\"finds xaringan themer files in presence of other .css files\", {\n    writeLines(c(\n      \"html {\",\n      \"  color: red;\",\n      \"}\"\n    ), \"styles.css\")\n    expect_equal(find_xaringan_themer_css(), \"./mono_light.css\")\n    expect_equal(read_css_vars()$text_color, \"#18273F\")\n  })\n\n  it(\"finds all xaringan themer files\", {\n    file.copy(xaringan_css, \"xaringan-themer.css\")\n    candidates <- find_xaringan_themer_css()\n    picked <- choose_xaringan_themer_css(candidates)\n    expect_equal(candidates, c(\"./mono_light.css\", \"./xaringan-themer.css\"))\n    expect_equal(picked, \"./xaringan-themer.css\")\n    expect_equal(read_css_vars()$text_color, \"#000\")\n  })\n\n  it(\"chooses the first from the list if ambiguous\", {\n    file.rename(\"xaringan-themer.css\", \"xaringan.css\")\n    candidates <- find_xaringan_themer_css()\n    expect_message(picked <- choose_xaringan_themer_css(candidates))\n    expect_equal(candidates, c(\"./mono_light.css\", \"./xaringan.css\"))\n    expect_equal(picked, \"./mono_light.css\")\n    expect_message(expect_equal(read_css_vars()$text_color, \"#18273F\"))\n  })\n\n  it(\"throws error if no xaringan themer css files\", {\n    file.remove(\"xaringan.css\")\n    file.remove(\"mono_light.css\")\n    candidates <- find_xaringan_themer_css()\n    expect_equal(candidates, character())\n    expect_error(choose_xaringan_themer_css(candidates))\n  })\n})\n\ntest_that(\"css_get_root() returns null if no :root exists\", {\n  tmpfile <- tempfile(\"style\", fileext = \".css\")\n  writeLines(c(\n    \"html {\",\n    \"  color: red;\",\n    \"}\"\n  ), tmpfile)\n  expect_null(css_get_root(tmpfile))\n  unlink(tmpfile)\n})\n\ndescribe(\"css_get_padding()\", {\n  it(\"processes 1 element padding\", {\n    p <- css_get_padding(\"1em\")\n    expect_equal(p$top,    \"1em\")\n    expect_equal(p$right,  \"1em\")\n    expect_equal(p$bottom, \"1em\")\n    expect_equal(p$left,   \"1em\")\n  })\n  it(\"processes 2 element padding\", {\n    p <- css_get_padding(\"1em 2em\")\n    expect_equal(p$top,    \"1em\")\n    expect_equal(p$right,  \"2em\")\n    expect_equal(p$bottom, \"1em\")\n    expect_equal(p$left,   \"2em\")\n  })\n  it(\"processes 4 element padding\", {\n    p <- css_get_padding(\"1em 2em 3em 4em\")\n    expect_equal(p$top,    \"1em\")\n    expect_equal(p$right,  \"2em\")\n    expect_equal(p$bottom, \"3em\")\n    expect_equal(p$left,   \"4em\")\n  })\n  it(\"throws an error if padding is a vector\", {\n    expect_error(css_get_padding(c(\"1em\", \"2em\")))\n  })\n  it(\"throws an error if result is not 1, 2, 4 element\", {\n    expect_error(css_get_padding(\"1em 2em 3em\"))\n    expect_error(css_get_padding(\"1em 2em 3em 4em 5em\"))\n  })\n})\n"
  },
  {
    "path": "tests/testthat/test-ggplot2.R",
    "content": "test_that(\"requires_xaringanthemer_env() errors if no style function called\", {\n  expect_error(\n    with_clean_session(function() {\n      xaringanthemer::requires_xaringanthemer_env(NULL, FALSE)\n    })\n  )\n})\n\ndescribe(\"theme_xaringan()\", {\n\n  it(\"errors if no css file or style_xaringan theme called\", {\n    expect_error(\n      with_clean_session(function() {\n        xaringanthemer::theme_xaringan()\n      })\n    )\n  })\n\n  it(\"returns a theme using the style_xaringan colors\", {\n    theme <- with_clean_session(function() {\n      xaringanthemer::style_xaringan(\n        text_color = \"#000001\",\n        background_color = \"#000002\",\n        header_color = \"#000003\",\n        text_bold_color = \"#000004\",\n        text_font_family = \"Damogran\",\n        text_font_google = NULL,\n        header_font_family = \"Magrathea\",\n        header_font_google = NULL\n      )\n      xaringanthemer::theme_xaringan(\n        text_font_use_google = FALSE,\n        title_font_use_google = FALSE\n      )\n    })\n\n    expect_equal(theme$text$family, \"Damogran\")\n    expect_equal(theme$title$family, \"Magrathea\")\n    expect_equal(theme$title$colour, \"#000003\")\n    expect_equal(theme$plot.background$colour, \"#000002\")\n    expect_equal(theme$plot.background$fill, \"#000002\")\n  })\n\n  it(\"returns correct theme reading from a css file\", {\n    css <- xaringanthemer::style_xaringan(\n      text_color = \"#000001\",\n      background_color = \"#000002\",\n      header_color = \"#000003\",\n      text_bold_color = \"#000004\",\n      text_font_family = \"Damogran\",\n      text_font_google = NULL,\n      header_font_family = \"Magrathea\",\n      header_font_google = NULL,\n      outfile = NULL\n    )\n\n    theme <- with_clean_session(function(css) {\n      writeLines(css, \"xaringan-themer.css\")\n      xaringanthemer::theme_xaringan(\n        text_font_use_google = FALSE,\n        title_font_use_google = FALSE\n      )\n    }, list(css = css))\n\n    expect_equal(theme$text$family, \"Damogran\")\n    expect_equal(theme$title$family, \"Magrathea\")\n    expect_equal(theme$title$colour, \"#000003\")\n    expect_equal(theme$plot.background$colour, \"#000002\")\n    expect_equal(theme$plot.background$fill, \"#000002\")\n  })\n\n  it(\"works with 3-digit hex colors\", {\n    theme <- with_clean_session(function() {\n      xaringanthemer::style_xaringan(\n        text_color = \"#001\",\n        background_color = \"#002\",\n        header_color = \"#003\",\n        text_bold_color = \"#004\"\n      )\n      xaringanthemer::theme_xaringan(\n        text_font_use_google = FALSE,\n        title_font_use_google = FALSE\n      )\n    })\n\n    expect_equal(theme$title$colour, \"#000033\")\n    expect_equal(theme$plot.background$colour, \"#000022\")\n    expect_equal(theme$plot.background$fill, \"#000022\")\n  })\n\n  it(\"throws error for non-hex color functions\", {\n    expect_error(\n      with_clean_session(function() {\n        xaringanthemer::style_xaringan(\n          text_color = \"rgb(0, 0, 0)\",\n          outfile = NULL\n        )\n        xaringanthemer::theme_xaringan(\n          text_font_use_google = FALSE,\n          title_font_use_google = FALSE\n        )\n      })\n    )\n  })\n\n  it(\"correctly overwrites geom default values\", {\n    fonts <- with_clean_session(function() {\n      style <- xaringanthemer::style_xaringan(outfile = NULL)\n\n      g <- ggplot2::ggplot(mtcars, ggplot2::aes(x = cyl, y = disp, label = carb))\n      fonts <- list()\n      plot1 <- g + ggplot2::geom_text() + xaringanthemer::theme_xaringan()\n      fonts[[1]] <- plot1$layers[[1]]$geom$default_aes$family\n      plot2 <- g + ggplot2::geom_text() + xaringanthemer::theme_xaringan(text_font = \"Ranga\", text_font_use_google = TRUE)\n      fonts[[2]] <- plot2$layers[[1]]$geom$default_aes$family\n      fonts\n    })\n\n    expect_equal(fonts[[1]], \"Noto Sans\")\n    expect_equal(fonts[[2]], \"Ranga\")\n  })\n})\n\ndescribe(\"theme_xaringan_inverse()\", {\n\n  it(\"errors if no css file or style_xaringan theme called\", {\n    expect_error(\n      with_clean_session(function() {\n        xaringanthemer::theme_xaringan_inverse()\n      })\n    )\n  })\n\n  it(\"returns a theme using the style_xaringan colors\", {\n    theme <- with_clean_session(function() {\n      xaringanthemer::style_xaringan(\n        text_color = \"#000001\",\n        inverse_text_color = \"#100000\",\n        background_color = \"#000002\",\n        inverse_background_color = \"#200000\",\n        header_color = \"#000003\",\n        inverse_header_color = \"#300000\",\n        text_bold_color = \"#000004\",\n        text_font_family = \"Damogran\",\n        text_font_google = NULL,\n        header_font_family = \"Magrathea\",\n        header_font_google = NULL\n      )\n      xaringanthemer::theme_xaringan_inverse(\n        text_font_use_google = FALSE,\n        title_font_use_google = FALSE\n      )\n    })\n\n    expect_equal(theme$text$family, \"Damogran\")\n    expect_equal(theme$title$family, \"Magrathea\")\n    expect_equal(theme$title$colour, \"#300000\")\n    expect_equal(theme$plot.background$colour, \"#200000\")\n    expect_equal(theme$plot.background$fill, \"#200000\")\n  })\n\n  it(\"returns correct colors pulling from css file\", {\n    css <- xaringanthemer::style_xaringan(\n      text_color = \"#000001\",\n      inverse_text_color = \"#100000\",\n      background_color = \"#000002\",\n      inverse_background_color = \"#200000\",\n      header_color = \"#000003\",\n      inverse_header_color = \"#300000\",\n      text_bold_color = \"#000004\",\n      text_font_family = \"Damogran\",\n      text_font_google = NULL,\n      header_font_family = \"Magrathea\",\n      header_font_google = NULL,\n      outfile = NULL\n    )\n    theme <- with_clean_session(function(css) {\n      writeLines(css, \"basic.css\")\n      xaringanthemer::theme_xaringan_inverse(\n        text_font_use_google = FALSE,\n        title_font_use_google = FALSE\n      )\n    }, list(css = css))\n\n    expect_equal(theme$text$family, \"Damogran\")\n    expect_equal(theme$title$family, \"Magrathea\")\n    expect_equal(theme$title$colour, \"#300000\")\n    expect_equal(theme$plot.background$colour, \"#200000\")\n    expect_equal(theme$plot.background$fill, \"#200000\")\n  })\n\n  it(\"works with 3-digit hex colors\", {\n    theme <- with_clean_session(function() {\n      xaringanthemer::style_xaringan(\n        text_color = \"#001\",\n        background_color = \"#002\",\n        header_color = \"#003\",\n        inverse_text_color = \"#100\",\n        inverse_background_color = \"#200\",\n        inverse_header_color = \"#300\",\n        text_bold_color = \"#004\"\n      )\n      xaringanthemer::theme_xaringan_inverse(\n        text_font_use_google = FALSE,\n        title_font_use_google = FALSE\n      )\n    })\n\n    expect_equal(theme$title$colour, \"#330000\")\n    expect_equal(theme$plot.background$colour, \"#220000\")\n    expect_equal(theme$plot.background$fill, \"#220000\")\n  })\n})\n\ndescribe(\"theme_xaringan_base()\", {\n  it(\"accepts a regular text_font or title_font\", {\n    theme <- with_clean_session(function() {\n      xaringanthemer::theme_xaringan_base(\n        text_color = \"#000\",\n        accent_color = \"#1a2b3c\",\n        background_color = \"#FFF\",\n        text_font = \"sans\", title_font = \"serif\",\n        text_font_use_google = FALSE, title_font_use_google = FALSE\n      )\n    })\n    expect_equal(theme$title$colour, \"#1a2b3c\")\n    expect_equal(theme$title$family, \"serif\")\n    expect_equal(theme$plot.background$colour, \"#FFFFFF\")\n    expect_equal(theme$text$colour, \"#1A1A1A\")\n    expect_equal(theme$text$family, \"sans\")\n  })\n})\n\ntest_that(\"theme_xaringan_restore_defaults() restores defaults\", {\n  res <- with_clean_session(function() {\n    res <- list()\n\n    res$nothing <- list(xaringanthemer::theme_xaringan_restore_defaults())\n\n    res$original <- list(\n      colour = ggplot2::geom_line()$geom$default_aes$colour,\n      fill = ggplot2::geom_bar()$geom$default_aes$fill\n    )\n\n    old_defaults <- xaringanthemer::theme_xaringan_set_defaults(\n      text_color = \"#0088ff\",\n      background_color = \"#88ff00\",\n      accent_color = \"#FF8800\"\n    )\n\n    res$after_set <- list(\n      line_colour = ggplot2::geom_line()$geom$default_aes$colour,\n      bar_fill = ggplot2::geom_bar()$geom$default_aes$fill\n    )\n\n    xaringanthemer::theme_xaringan_restore_defaults()\n\n    res$after_restore <- list(\n      line_colour = ggplot2::geom_line()$geom$default_aes$colour,\n      bar_fill = ggplot2::geom_bar()$geom$default_aes$fill\n    )\n    res\n  })\n  expect_equal(res$nothing, list(NULL))\n  expect_equal(res$after_set$line_colour, \"#0088ff\")\n  expect_equal(res$after_set$bar_fill, \"#FF8800\")\n  expect_equal(res$after_restore$line_colour, res$original$colour)\n  expect_equal(res$after_restore$bar_fill, res$original$fill)\n})\n\ndescribe(\"theme_xaringan_get_value()\", {\n\n  it(\"errors if no css file or style_xaringan theme called\", {\n    expect_error(\n      with_clean_session(function() {\n        xaringanthemer::theme_xaringan_get_value(\"text_font_family\")\n      })\n    )\n  })\n\n  it(\"returns theme values\", {\n    theme <- with_clean_session(function() {\n      xaringanthemer::style_xaringan(\n        base_font_size = \"33px\",\n        text_font_size = \"23px\",\n        text_color = \"#000001\",\n        inverse_text_color = \"#100000\",\n        background_color = \"#000002\",\n        inverse_background_color = \"#200000\",\n        header_color = \"#000003\",\n        inverse_header_color = \"#300000\",\n        text_bold_color = \"#000004\",\n        text_font_family = \"Damogran\",\n        text_font_google = NULL,\n        header_font_family = \"Magrathea\",\n        header_font_google = NULL,\n        outfile = NULL\n      )\n      list(\n        text = xaringanthemer::theme_xaringan_get_value(c(\"text_font_family\", \"text_font_is_google\", \"text_color\", \"text_bold_color\")),\n        code_font_is_google = xaringanthemer::theme_xaringan_get_value(\"code_font_is_google\"),\n        inverse_text_color = xaringanthemer::theme_xaringan_get_value(\"inverse_text_color\"),\n        background_color = xaringanthemer::theme_xaringan_get_value(\"background_color\"),\n        header_color = xaringanthemer::theme_xaringan_get_value(\"header_color\"),\n        inverse_header_color = xaringanthemer::theme_xaringan_get_value(\"inverse_header_color\"),\n        base_font_size = xaringanthemer:::get_base_font_size(),\n        accent_color = xaringanthemer:::get_theme_accent_color(),\n        accent_color_inverse = xaringanthemer:::get_theme_accent_color(inverse = TRUE)\n      )\n    })\n\n    expect_equal(theme$text$text_font_family, \"Damogran\")\n    expect_equal(theme$text$text_color, \"#000001\")\n    expect_false(theme$text$text_font_is_google)\n    expect_true(theme$code_font_is_google)\n    expect_equal(theme$text$text_bold_color, \"#000004\")\n    expect_equal(theme$inverse_text_color, \"#100000\")\n    expect_equal(theme$background_color, \"#000002\")\n    expect_equal(theme$header_color, \"#000003\")\n    expect_equal(theme$inverse_header_color, \"#300000\")\n    expect_equal(theme$base_font_size, 33)\n    expect_equal(theme$accent_color, \"#000003\")\n    expect_equal(theme$accent_color_inverse, \"#300000\")\n  })\n\n  it(\"returns theme values from the css file\", {\n    expect_warning(\n      css <- xaringanthemer::style_xaringan(\n        base_font_size = \"1em\",\n        text_color = \"#000001\",\n        inverse_text_color = \"#100000\",\n        background_color = \"#000002\",\n        inverse_background_color = \"#200000\",\n        header_color = \"#000003\",\n        inverse_header_color = \"#300000\",\n        text_bold_color = \"#000004\",\n        text_font_family = \"Damogran\",\n        text_font_google = NULL,\n        header_font_family = \"Magrathea\",\n        header_font_google = NULL,\n        outfile = NULL\n      )\n    )\n    theme <- with_clean_session(function(css) {\n      writeLines(css, \"xaringan-themer.css\")\n      list(\n        text = xaringanthemer::theme_xaringan_get_value(c(\"text_font_family\", \"text_font_is_google\", \"text_color\", \"text_bold_color\")),\n        code_font_is_google = xaringanthemer::theme_xaringan_get_value(\"code_font_is_google\"),\n        inverse_text_color = xaringanthemer::theme_xaringan_get_value(\"inverse_text_color\"),\n        background_color = xaringanthemer::theme_xaringan_get_value(\"background_color\"),\n        header_color = xaringanthemer::theme_xaringan_get_value(\"header_color\"),\n        inverse_header_color = xaringanthemer::theme_xaringan_get_value(\"inverse_header_color\"),\n        base_font_size = xaringanthemer:::get_base_font_size(),\n        accent_color = xaringanthemer:::get_theme_accent_color(),\n        accent_color_inverse = xaringanthemer:::get_theme_accent_color(inverse = TRUE)\n      )\n    }, list(css = css))\n\n    expect_equal(theme$text$text_font_family, \"Damogran\")\n    expect_equal(theme$text$text_color, \"#000001\")\n    expect_false(theme$text$text_font_is_google)\n    expect_true(theme$code_font_is_google)\n    expect_equal(theme$text$text_bold_color, \"#000004\")\n    expect_equal(theme$inverse_text_color, \"#100000\")\n    expect_equal(theme$background_color, \"#000002\")\n    expect_equal(theme$header_color, \"#000003\")\n    expect_equal(theme$inverse_header_color, \"#300000\")\n    expect_equal(theme$base_font_size, 16)\n    expect_equal(theme$accent_color, \"#000003\")\n    expect_equal(theme$accent_color_inverse, \"#300000\")\n  })\n})\n\ndescribe(\"web_to_point()\", {\n  it(\"is invariant when x is pt\", {\n    expect_equal(web_to_point(\"24pt\", 11), 24)\n    expect_equal(web_to_point(\"24pt\", 11), 24)\n    expect_equal(web_to_point(\"24pt\", 11, scale = 3), 24)\n  })\n\n  it(\"scales px\", {\n    expect_equal(web_to_point(\"24px\", 10, 1), 24)\n    expect_equal(web_to_point(\"24px\", 10, 0.5), 12)\n  })\n\n  it(\"scales r/em\", {\n    expect_equal(web_to_point(\"2.4em\",  10, 1), 24)\n    expect_equal(web_to_point(\"2.4rem\", 10, 1), 24)\n    expect_equal(web_to_point(\"2.4em\",  10, 0.5), 12)\n    expect_equal(web_to_point(\"2.4rem\", 10, 0.5), 12)\n  })\n\n  it(\"returns NULL if input is NULL or poorly defined\", {\n    expect_null(web_to_point(NULL))\n    expect_null(web_to_point(\"NULL\", 1))\n  })\n})\n\ndescribe(\"get_theme_accent_color()\", {\n  it(\"errors if no color or default available\", {\n    expect_error(\n      with_clean_session(function() {\n        xaringanthemer:::get_theme_accent_color()\n      })\n    )\n  })\n})\n\ndescribe(\"scale_xaringan_*\", {\n  scales <- with_clean_session(function() {\n    xaringanthemer::style_xaringan(\n      background_color = \"#00FF00\",\n      inverse_background_color = \"#FF00FF\",\n      header_color = \"#FF0000\",\n      inverse_header_color = \"#0000FF\",\n      outfile = NULL\n    )\n    list(\n      discrete = list(\n        fill = xaringanthemer::scale_xaringan_fill_discrete(),\n        fill_inverse = xaringanthemer::scale_xaringan_fill_discrete(inverse = TRUE),\n        fill_reverse = xaringanthemer::scale_xaringan_fill_discrete(direction = -1),\n        color = xaringanthemer::scale_xaringan_color_discrete(),\n        color_inverse = xaringanthemer::scale_xaringan_color_discrete(inverse = TRUE),\n        color_reverse = xaringanthemer::scale_xaringan_color_discrete(direction = -1),\n        colour = xaringanthemer::scale_xaringan_colour_discrete(),\n        colour_inverse = xaringanthemer::scale_xaringan_colour_discrete(inverse = TRUE),\n        colour_reverse = xaringanthemer::scale_xaringan_colour_discrete(direction = -1)\n      ),\n      continuous = list(\n        fill = xaringanthemer::scale_xaringan_fill_continuous(),\n        fill_inverse = xaringanthemer::scale_xaringan_fill_continuous(inverse = TRUE),\n        fill_reverse = xaringanthemer::scale_xaringan_fill_continuous(begin = 1, end = 0),\n        color = xaringanthemer::scale_xaringan_color_continuous(),\n        color_inverse = xaringanthemer::scale_xaringan_color_continuous(inverse = TRUE),\n        color_reverse = xaringanthemer::scale_xaringan_color_continuous(begin = 1, end = 0),\n        colour = xaringanthemer::scale_xaringan_colour_continuous(),\n        colour_inverse = xaringanthemer::scale_xaringan_colour_continuous(inverse = TRUE),\n        colour_reverse = xaringanthemer::scale_xaringan_colour_continuous(begin = 1, end = 0)\n      )\n    )\n  })\n\n  it(\"discrete scales create ScaleDiscrete ggproto objects\", {\n    for (s in scales$discrete) {\n      expect_s3_class(s, \"ScaleDiscrete\")\n      expect_s3_class(s, \"ggproto\")\n    }\n  })\n\n  it(\"discrete scales use accent color as starting point\", {\n    expect_equal(scales$discrete$fill$palette(n = 1), \"#FF0000\")\n    expect_equal(scales$discrete$color$palette(n = 1), \"#FF0000\")\n    expect_equal(scales$discrete$colour$palette(n = 1), \"#FF0000\")\n    expect_equal(scales$discrete$fill_reverse$palette(n = 1), \"#FF0000\")\n    expect_equal(scales$discrete$color_reverse$palette(n = 1), \"#FF0000\")\n    expect_equal(scales$discrete$colour_reverse$palette(n = 1), \"#FF0000\")\n  })\n\n  it(\"discrete scales use inverse accent color as starting point\", {\n    expect_equal(scales$discrete$fill_inverse$palette(n = 1), \"#0000FF\")\n    expect_equal(scales$discrete$color_inverse$palette(n = 1), \"#0000FF\")\n    expect_equal(scales$discrete$colour_inverse$palette(n = 1), \"#0000FF\")\n  })\n\n  it(\"continuous scales create ScaleContinuous ggproto objects\", {\n    for (s in scales$continuous) {\n      expect_s3_class(s, \"ScaleContinuous\")\n      expect_s3_class(s, \"ggproto\")\n    }\n  })\n\n  it(\"continuous scales use accent color as starting point\", {\n    expect_equal(scales$continuous$fill$palette(x = 1), \"#FF0000\")\n    expect_equal(scales$continuous$color$palette(x = 1), \"#FF0000\")\n    expect_equal(scales$continuous$colour$palette(x = 1), \"#FF0000\")\n    expect_equal(scales$continuous$fill_reverse$palette(x = 1), \"#FF0000\")\n    expect_equal(scales$continuous$color_reverse$palette(x = 1), \"#FF0000\")\n    expect_equal(scales$continuous$colour_reverse$palette(x = 1), \"#FF0000\")\n  })\n\n  it(\"continuous scales use inverse accent color as starting point\", {\n    expect_equal(scales$continuous$fill_inverse$palette(x = 1), \"#0000FF\")\n    expect_equal(scales$continuous$color_inverse$palette(x = 1), \"#0000FF\")\n    expect_equal(scales$continuous$colour_inverse$palette(x = 1), \"#0000FF\")\n  })\n\n  it(\"continuous scales rescale low to high when begin = 0, end = 1\", {\n    expect_equal(scales$continuous$fill$rescaler(1:3), 0:2 / 2)\n    expect_equal(scales$continuous$color$rescaler(1:3), 0:2 / 2)\n    expect_equal(scales$continuous$colour$rescaler(1:3), 0:2 / 2)\n  })\n\n  it(\"continuous scales rescale high to low when begin = 1, end = 0\", {\n    expect_equal(scales$continuous$fill_reverse$rescaler(1:3), 2:0 / 2)\n    expect_equal(scales$continuous$color_reverse$rescaler(1:3), 2:0 / 2)\n    expect_equal(scales$continuous$colour_reverse$rescaler(1:3), 2:0 / 2)\n  })\n\n})\n\ntest_that(\"register_font() returns the name of the font family if {showtext} is missing\", {\n  text_font_family <- xaringanthemer_font_default(\"text_font_family\")\n\n  # Pretend like {showtext} is missing\n  mockery::stub(register_font, \"requires_package\", function(pkg, ...) pkg != \"showtext\")\n\n  family_showtext_missing <- register_font(text_font_family, google = TRUE)\n\n  expect_equal(family_showtext_missing, text_font_family)\n})\n\ntest_that(\"register_font() returns the name of the font family if {sysfonts} is missing\", {\n  skip_if_not_installed(\"showtext\")\n\n  text_font_family <- xaringanthemer_font_default(\"text_font_family\")\n\n  # Pretend like {sysfonts} is missing\n  mockery::stub(register_font, \"requires_package\", function(pkg, ...) pkg != \"sysfonts\")\n\n  family_sysfonts_missing <- register_font(text_font_family, google = TRUE)\n\n  expect_equal(family_sysfonts_missing, text_font_family)\n})\n"
  },
  {
    "path": "tests/testthat/test-helpers.R",
    "content": "test_that(\"element_description\", {\n  text_in <- c(\"multiple\", NA, \"\", \".remark-slide-content\", \"h1\", \"pre, code\")\n  text_out <- c(\n    \"Used in multiple CSS rules.\",\n    \"\",\n    \"\",\n    \"Modifies the `.remark-slide-content` class.\",\n    \"Modifies the `h1` element.\",\n    \"Modifies the `pre, code` elements.\"\n  )\n  expect_equal(element_description(text_in), text_out)\n})\n"
  },
  {
    "path": "tests/testthat/test-style_extra_css.R",
    "content": "# test_that()\n\n\n# style_extra_css() -------------------------------------------------------\n\ndescribe(\"style_extra_css\", {\n  css <- list(body = list(color = \"#123\"))\n\n  it(\"returns text if outfile is NULL\", {\n    expect_equal(\n      style_extra_css(css, NULL),\n      \"\\n\\n/* Extra CSS */\\nbody {\\n  color: #123;\\n}\"\n    )\n    expect_equal(\n      style_extra_css(css, NULL, heading = NULL),\n      \"\\nbody {\\n  color: #123;\\n}\"\n    )\n    expect_equal(\n      style_extra_css(css, NULL, append = FALSE, heading = NULL),\n      \"body {\\n  color: #123;\\n}\"\n    )\n    expect_equal(\n      style_extra_css(css, NULL, append = FALSE, heading = \"TEST TEST\"),\n      \"/* TEST TEST */\\nbody {\\n  color: #123;\\n}\"\n    )\n  })\n\n  tmpfile <- tempfile(fileext = \".css\")\n  first <- style_extra_css(\n    css = list(.first = list(color = \"#123\")),\n    outfile = tmpfile,\n    append = FALSE,\n    heading = \"First CSS\"\n  )\n  first_exp <- \"/* First CSS */\\n.first {\\n  color: #123;\\n}\"\n\n  it(\"writes text to the outfile\", {\n    expect_equal(first, first_exp)\n    expect_equal(\n      readLines(tmpfile, warn = FALSE),\n      strsplit(first_exp, \"\\n\")[[1]]\n    )\n  })\n\n  second <- style_extra_css(\n    css = list(.second = list(color = \"#321\")),\n    outfile = tmpfile,\n    append = TRUE,\n    heading = \"Second CSS\"\n  )\n  second_exp <- \"\\n\\n/* Second CSS */\\n.second {\\n  color: #321;\\n}\"\n\n  it(\"appends to existing outfile\", {\n    expect_equal(second, second_exp)\n    expect_equal(\n      readLines(tmpfile, warn = FALSE),\n      strsplit(paste0(first_exp, \"\\n\", second_exp), \"\\n\")[[1]]\n    )\n  })\n\n  third <- style_extra_css(\n    css = list(.third = list(color = \"#333\")),\n    outfile = tmpfile,\n    append = FALSE,\n    heading = \"Third CSS\"\n  )\n  third_exp <- \"/* Third CSS */\\n.third {\\n  color: #333;\\n}\"\n\n  it(\"over writes text in the outfile if append=FALSE\", {\n    expect_equal(third, third_exp)\n    expect_equal(\n      readLines(tmpfile, warn = FALSE),\n      strsplit(third_exp, \"\\n\")[[1]]\n    )\n  })\n\n  it(\"only adds prepends `heading` once\", {\n    css <- list(b = list(color = \"red\"), i = list(color = \"blue\"))\n    out <- style_extra_css(css, outfile = NULL, heading = \"Extra CSS\")\n    expect_equal(length(out), 1L)\n    expect_equal(sum(grepl(\"Extra CSS\", out)), 1L)\n  })\n})\n\n\n# list2css() --------------------------------------------------------------\n\ndescribe(\"list2css()\", {\n  it(\"converts lists to css\", {\n    css <- list(\n      \".remark-slide\" = list(\n        \"color\" = \"#FFF\",\n        \"font-size\" = \"30px\"\n      )\n    )\n    expected <- \".remark-slide {\n  color: #FFF;\n  font-size: 30px;\n}\"\n    expect_equal(list2css(css), expected)\n\n    css[[\".new-class\"]] <- list(\"background-color\" = \"#000\")\n    expected <- c(expected, \".new-class {\\n  background-color: #000;\\n}\")\n    expect_equal(list2css(css), expected)\n  })\n\n  it(\"errors if css list is not named\", {\n    css <- list(list(\n      \"color\" = \"#FFF\",\n      \"font-size\" = \"30px\"\n    ))\n    expect_error(list2css(css))\n  })\n\n  it(\"errors if css list has unnamed elements\", {\n    css <- list(\n      list(\n        \"color\" = \"#FFF\",\n        \"font-size\" = \"30px\"\n      ),\n      \".test\" = list(color = \"red\")\n    )\n    expect_error(list2css(css))\n  })\n\n  it(\"errors if css list has unnamed properties\", {\n    css <- list(\n      \".class\" = list(\n        color = \"#FFF\",\n        \"font-size\" = \"30px\"\n      ),\n      \".test\" = list(\"red\")\n    )\n    expect_error(list2css(css))\n\n    css <- list(\n      \".class\" = list(\n        \"#FFF\",\n        \"font-size\" = \"30px\"\n      ),\n      \".test\" = list(\"red\")\n    )\n    expect_error(list2css(css))\n  })\n\n  it(\"errors if not list within list\", {\n    css <- list(\n      \".class\" = list(\n        list(color = \"red\"),\n        \"font-size\" = \"30px\"\n      ),\n      \".test\" = list(\"red\")\n    )\n    expect_error(list2css(css))\n  })\n\n  it(\"errors if css contains unnamed elements\", {\n    expect_error(list2css(list(list(color = \"#bad\"))))\n    expect_error(\n      list2css(list(.a = list(color = \"#bad\"), list(`background-color` = \"#bad\"))),\n      \"elements.+must be named.+2 is\"\n    )\n    expect_error(\n      list2css(list(.a = list(color = \"#bad\"), list(`background-color` = \"#bad\"), list(`border-color` = \"#bad\"))),\n      \"elements.+must be named.+2, 3 are\"\n    )\n    expect_error(\n      list2css(list(body = list(\"#bad\"))),\n      \"elements.+must be named.+body.+has\"\n    )\n    expect_error(\n      list2css(list(body = list(\"#bad\"), thing = list(\"#bad\"))),\n      \"elements.+must be named.+body.+thing.+have\"\n    )\n  })\n\n  it(\"is okay for multiple entries with the same name\", {\n    expect_equal(\n      list2css(list(\"a\" = list(color = \"red\"), a = list(color = \"blue\"))),\n      c(\"a {\\n  color: red;\\n}\", \"a {\\n  color: blue;\\n}\")\n    )\n\n    expect_equal(\n      list2css(list(\"a\" = list(color = \"red\", color = \"blue\"))),\n      c(\"a {\\n  color: red;\\n  color: blue;\\n}\")\n    )\n  })\n})\n\n\n# list2fonts() ------------------------------------------------------------\n\nimport <- function(x) paste0(\"@import url(\", x, \");\")\n\ndescribe(\"list2fonts()\", {\n  lato_url <- \"https://fonts.googleapis.com/css?family=Lato&display=swap\"\n  worksans_url <- \"https://fonts.googleapis.com/css?family=Work+Sans&display=swap\"\n\n  it(\"handles a list or c() of font urls\", {\n    expect_equal(\n      list2fonts(list(lato_url, worksans_url)),\n      import(c(lato_url, worksans_url))\n    )\n    expect_equal(list2fonts(c(lato_url, lato_url)), rep(import(lato_url), 2))\n  })\n\n  it(\"handles single character font name\", {\n    expect_equal(list2fonts(lato_url), import(lato_url))\n  })\n\n  it(\"handles list of google fonts\", {\n    expect_equal(\n      list2fonts(list(google_font(\"Lato\"), google_font(\"Work Sans\"))),\n      import(c(lato_url, worksans_url))\n    )\n  })\n\n  it(\"handles mix of google_font() and bare string\", {\n    expect_equal(\n      list2fonts(list(google_font(\"Lato\"), worksans_url)),\n      import(c(lato_url, worksans_url))\n    )\n  })\n\n  it(\"handles bare google_font()\", {\n    expect_equal(\n      list2fonts(google_font(\"Lato\")),\n      import(lato_url)\n    )\n  })\n\n  it(\"throws an error when c() used to combine string and google_font()\", {\n    expect_error(\n      list2fonts(c(lato_url, google_font(\"Lato\"), google_font(\"Work Sans\"))),\n      \"Multiple fonts\"\n    )\n    expect_error(\n      list2fonts(c(google_font(\"Lato\"), google_font(\"Work Sans\"))),\n      \"Multiple fonts\"\n    )\n  })\n})\n"
  },
  {
    "path": "tests/testthat/test-style_xaringan.R",
    "content": "test_that(\"style_xaringan() writes to specified outfile\", {\n  tmpfile <- tempfile(fileext = \".css\")\n  expect_equal(style_xaringan(outfile = tmpfile), tmpfile)\n  expect_true(file.exists(tmpfile))\n  expect_true(grepl(\"xaringanthemer\", readLines(tmpfile)[3]))\n})\n\ntest_that(\"style_xaringan() warns if base_font_size is not absolute\", {\n  tmpfile <- tempfile(fileext = \".css\")\n  expect_warning(\n    style_xaringan(outfile = tmpfile, base_font_size = \"1em\"),\n    \"absolute units\"\n  )\n})\n"
  },
  {
    "path": "tests/testthat/test-themes.R",
    "content": "test_theme_file <- function(theme = \"duo\", theme_file = paste0(theme, \".css\"), ...) {\n  local_edition(2)\n  on.exit(local_edition(3))\n\n  theme_fun <- switch(\n    theme,\n    \"duo\" = style_duo,\n    \"duo_accent\" = style_duo_accent,\n    \"duo_accent_inverse\" = style_duo_accent_inverse,\n    \"mono_accent\" = style_mono_accent,\n    \"mono_accent_inverse\" = style_mono_accent_inverse,\n    \"mono_dark\" = style_mono_dark,\n    \"mono_light\" = style_mono_light,\n    \"solarized_dark\" = style_solarized_dark,\n    \"solarized_light\" = style_solarized_light,\n    style_xaringan\n  )\n\n  tmpfile <- tempfile()\n  on.exit(unlink(tmpfile), add = TRUE)\n\n  theme_fun(outfile = tmpfile, ..., text_font_google = google_font(\"Noto Serif\"))\n  theme_css <- readLines(tmpfile)\n  # Mask package version in test files\n  theme_css <- sub(\"( \\\\*  Version: )[\\\\d.-]+\", \"\\\\1a.b.c.d.eeee\", theme_css, perl = TRUE)\n  theme_css <- paste(theme_css, collapse = \"\\n\")\n  expect_known_output(cat(theme_css), test_path(\"css\", theme_file))\n}\n\ntest_that(\"style_duo()\",                 { test_theme_file(\"duo\") })\ntest_that(\"style_duo_accent()\",          { test_theme_file(\"duo_accent\") })\ntest_that(\"style_duo_accent_inverse()\",  { test_theme_file(\"duo_accent_inverse\") })\ntest_that(\"style_mono_accent()\",         { test_theme_file(\"mono_accent\") })\ntest_that(\"style_mono_accent_inverse()\", { test_theme_file(\"mono_accent_inverse\") })\ntest_that(\"style_mono_dark()\",           { test_theme_file(\"mono_dark\") })\ntest_that(\"style_mono_light()\",          { test_theme_file(\"mono_light\") })\ntest_that(\"style_solarized_dark()\",      { test_theme_file(\"solarized_dark\") })\ntest_that(\"style_solarized_light()\",     { test_theme_file(\"solarized_light\") })\ntest_that(\"google fonts in theme\", {\n  test_theme_file(\n    \"google_fonts\",\n    header_font_google = google_font(\"IBM Plex Serif\", \"700\"),\n    code_font_google = google_font(\"IBM Plex Mono\")\n  )\n})\n\ntest_that(\"header_background_auto = TRUE\", {\n  test_theme_file(\"duo\", \"duo-header_bg.css\", header_background_auto = TRUE)\n  test_theme_file(\"mono_light\", \"mono_light-header_bg.css\", header_background_auto = TRUE)\n  test_theme_file(\"solarized_dark\", \"solarized_dark-header_bg.css\", header_background_auto = TRUE)\n})\n\ntest_that(\"style colors are added to themes\", {\n  test_theme_file(\"xaringan\", colors = c('light-blue' = \"#bad4ed\"))\n})\n\ntest_that(\"setting google font overrides individual font\", {\n  theme_vars <- with_clean_session(function() {\n    xf <- xaringanthemer::style_xaringan(\n      text_font_family = \"Damogran\",\n      header_font_family = \"Magrathea\",\n      code_font_google = xaringanthemer::google_font(\"IBM Plex Mono\")\n    )\n    xaringanthemer:::read_css_vars(xf)\n  })\n\n  expect_equal(theme_vars$text_font_family, \"Damogran\")\n  expect_false(theme_vars$text_font_is_google)\n  expect_equal(theme_vars$header_font_family, \"Magrathea\")\n  expect_false(theme_vars$header_font_is_google)\n  expect_equal(theme_vars$code_font_family, \"'IBM Plex Mono'\")\n  expect_true(theme_vars$code_font_is_google)\n})\n\ntest_that(\"default fonts are correctly identified as google font\", {\n  theme_vars <- with_clean_session(function() {\n    xf <- xaringanthemer::style_xaringan()\n    xaringanthemer:::read_css_vars(xf)\n  })\n\n  expect_equal(theme_vars$text_font_family,\n    quote_elements_w_spaces(xaringanthemer_font_default(\"text_font_family\")))\n  expect_true(theme_vars$text_font_is_google)\n  expect_equal(theme_vars$header_font_family,\n    quote_elements_w_spaces(xaringanthemer_font_default(\"header_font_family\")))\n  expect_true(theme_vars$header_font_is_google)\n})\n\n\ntest_that(\"NULL output returns CSS as text\", {\n  expect_false(\n    with_clean_session(function() {\n      xaringanthemer::style_xaringan(outfile = NULL)\n      file.exists(\"xaringan-themer.css\")\n    })\n  )\n\n  xt <- with_clean_session(function() {\n    xaringanthemer::style_xaringan(outfile = NULL)\n  })\n\n  expect_type(xt, \"character\")\n  expect_true(any(grepl(\"generated by xaringanthemer\", xt)))\n})\n\n\ntest_that(\"style_xaringan() warns about non-hex colors used by theme_xaringan()\", {\n  expect_error(\n    with_clean_session(function() {\n      options(warn = 2)\n      xaringanthemer::style_xaringan(text_color = \"rgb(100, 100, 100)\", background_color = \"white\", outfile = NULL)\n    }),\n    regexp = \"Colors.+used by.+theme_xaringan\"\n  )\n})\n"
  },
  {
    "path": "tests/testthat/test-utils.R",
    "content": "test_that(\"printing google_font works\", {\n  expect_snapshot(\n    google_font(\"Josefin Sans\", \"400\", \"400i\", \"600i\", \"700\")\n  )\n})\n\ntest_that(\"requires_package()\", {\n  expect_true(requires_package(\"purrr\"))\n  expect_error(requires_package(\"notapackage\", \"myFunction\"), \"myFunction\")\n  expect_warning(expect_false(requires_package(\"notapackage\", required = FALSE)))\n})\n"
  },
  {
    "path": "tests/testthat/test-xaringanthemer-deprecated.R",
    "content": "test_that(\"deprecation warnings\", {\n  expect_warning(write_xaringan_theme(outfile = NULL))\n  expect_warning(write_extra_css(list(.test = list(prop = 'value')), outfile = NULL))\n  expect_warning(mono_light(outfile = NULL))\n  expect_warning(mono_dark(outfile = NULL))\n  expect_warning(mono_accent(outfile = NULL))\n  expect_warning(mono_accent_inverse(outfile = NULL))\n  expect_warning(duo(outfile = NULL))\n  expect_warning(duo_accent(outfile = NULL))\n  expect_warning(duo_accent_inverse(outfile = NULL))\n  expect_warning(solarized_light(outfile = NULL))\n  expect_warning(solarized_dark(outfile = NULL))\n})\n"
  },
  {
    "path": "tests/testthat.R",
    "content": "library(testthat)\nlibrary(xaringanthemer)\n\ntest_check(\"xaringanthemer\")\n"
  },
  {
    "path": "vignettes/.gitignore",
    "content": "*.html\n*.R\n\n/.quarto/\n"
  },
  {
    "path": "vignettes/fonts.Rmd",
    "content": "---\ntitle: Fonts\n---\n\n[adding-custom-css]: xaringanthemer.html#adding-custom-css\n\n```{r, results='asis', echo=FALSE}\ntvv <- xaringanthemer:::template_variables$variable\n```\n\n```{r child=\"../man/fragments/_fonts.Rmd\"}\n```\n"
  },
  {
    "path": "vignettes/ggplot2-themes.Rmd",
    "content": "---\ntitle: \"ggplot2 Themes\"\noutput: rmarkdown::html_vignette\nvignette: >\n  %\\VignetteIndexEntry{ggplot2 Themes}\n  %\\VignetteEngine{knitr::rmarkdown}\n  %\\VignetteEncoding{UTF-8}\n---\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  warning = FALSE,\n  comment = \"#>\",\n  fig.width = 6,\n  fig.height = 4\n)\n```\n\n```{css echo=FALSE}\nimg { max-width: 100%; border: none; }\n```\n\n**xaringanthemer** provides two [ggplot2] themes for your [xaringan] slides\nto help your data visualizations blend seamlessly into your slides.\nUse `theme_xaringan()` to create plots that match your primary slide style\nor `theme_xaringan_inverse()` to match the style of your inverse slides.\n\n<img src=\"https://raw.githubusercontent.com/gadenbuie/xaringanthemer/assets/theme-xaringan-inverse.png\" alt=\"Examples slides with ggplot2 plots that match the xaringanthemer theme\" data-external=\"1\" />\n\n### Key Features\n\n- The ggplot2 themes [uses the colors and themes](#setup-your-theme) from the **xaringanthemer** style functions, if you set your theme inside your slides. Otherwise, it [draws from the `xaringan-themer.css` file](#using-xaringan-themer-css).\n\n- The themes [pick appropriate colors](#colors) for titles, grid lines, and axis text,\n  and also sets the default colors of geoms like `ggplot2::geom_point()` and\n  `ggplot2::geom_text()`. There are also monotone\n  [color and fill scales](#scale-xaringan) based around the primary accent color\n  used in your xaringan theme.\n\n- If you use Google Fonts in your slides, the ggplot2 themes use the showtext\n  package to [automatically match the title and axis text fonts](#fonts)\n  of your plots to the heading and text fonts in your xaringan theme.\n\n- I've done my best to set up everything so that _it just works_, but sometimes\n  the showtext package adds a bit of complication to the routine data\n  visualization workflow. At the end of this vignette I include\n  [a few tips](#tips) for working with showtext.\n\n## Setup Your Theme\n\n`theme_xaringan()` is designed to automatically use\nthe fonts and colors you used for your slides' style theme.\nHere I'm going to use a moderately customized color theme\nbased on `style_mono_accent()`,\nthat results in the xaringan theme previewed in the slides above.\n\nI've also picked out a few fonts from [Google Fonts][google-fonts]\nthat I would probably never use in a real presentation,\nbut they're flashy enough to make it easy to see\nthat we're not using the standard default fonts.\n\n````markdown\n```{r xaringan-themer, include=FALSE, warning=FALSE}`r ''`\nlibrary(xaringanthemer)\nstyle_mono_accent(\n  base_color = \"#DC322F\",               # bright red\n  inverse_background_color = \"#002B36\", # dark dark blue\n  inverse_header_color = \"#31b09e\",     # light aqua green\n  inverse_text_color = \"#FFFFFF\",       # white\n  title_slide_background_color = \"var(--base)\",\n  text_font_google = google_font(\"Kelly Slab\"),\n  header_font_google = google_font(\"Oleo Script\")\n)\n```\n````\n\n```{r setup, include=FALSE}\nlibrary(xaringanthemer)\nstyle_mono_accent(\n  base_color = \"#DC322F\",\n  inverse_background_color = \"#002B36\",\n  inverse_header_color = \"#31b09e\",\n  inverse_text_color = \"#FFFFFF\",\n  title_slide_background_color = \"var(--base)\",\n  text_font_google = google_font(\"Kelly Slab\"),\n  header_font_google = google_font(\"Oleo Script\"),\n  outfile = NULL\n)\n```\n\nIf you use a hidden chunk like this one\ninside your slides' R Markdown source file,\n`theme_xaringan()` will know which colors and fonts you've picked.\n\nAdding `theme_xaringan()` to a ggplot,\nlike this demonstration plot using the `mpg` dataset from ggplot2,\nchanges the colors and fonts of your plot theme.\n\n```{r ggplot2-demo-1, out.width = \"48%\", fig.show=\"hide\"}\nlibrary(ggplot2)\n\ng_base <- ggplot(mpg) +\n  aes(hwy, cty) +\n  geom_point() +\n  labs(x = \"Highway MPG\", y = \"City MPG\", title = \"Fuel Efficiency\")\n\n# Basic plot with default theme\ng_base\n```\n\n```{r ggplot2-demo-2, fig.show=\"hide\"}\n# Fancy slide-matching themed plot\ng_base + theme_xaringan()\n```\n\n<img src=\"`r knitr::fig_chunk(\"ggplot2-demo-1\", \"png\")`\" width=\"48%\" /><img src=\"`r knitr::fig_chunk(\"ggplot2-demo-2\", \"png\")`\" width=\"48%\" />\n\nWith `theme_xaringan()` the fonts and colors match the slide theme.\nThe default colors of points (like other geometries) has been changed as well\nto match the slide colors.\n\nTo restore the previous default colors of ggplot2 geoms, call\n\n```{r eval=FALSE}\ntheme_xaringan_restore_defaults()\n```\n\nAdd `theme_xaringan_inverse()` to automatically create a plot\nthat matches the inverse slide style.\n\n```{r ggplot2-demo-inverse, fig.show=\"hide\"}\n# theme_xaringan() on the left, theme_xaringan_inverse() on the right\ng_base + theme_xaringan_inverse()\n```\n\n<img src=\"`r knitr::fig_chunk(\"ggplot2-demo-2\", \"png\")`\" width=\"48%\" /><img src=\"`r knitr::fig_chunk(\"ggplot2-demo-inverse\", \"png\")`\" width=\"48%\" />\n\n\n## Using `theme_xaringan()` without calling a style function {#using-xaringan-themer-css}\n\nOnce you've set up your custom xaringan theme,\nyou might want to use the theme's CSS file for new presentations\ninstead of rebuilding your theme with every new slide deck.\n\nIn these cases, `theme_xaringan()` will look for a CSS file\nwritten by **xaringanthemer** in your slides' directory\nor in a sub-folder under the same directory\nthat it can use to determine the colors and fonts used in your slides.\n\nIf you happen to have multiple slide themes\nwritten by **xaringanthemer** in the same directory,\nthe one named `xaringan-themer.css` will be used.\nIf xaringanthemer picks the wrong file,\nyou can use the `css_file` in `theme_xaringan()`\nto specify exactly which CSS file to use.\n\n```{r eval=FALSE}\ntheme_xaringan(css_file = \"my-slide-style.css\")\n```\n\nNote that you can use `theme_xaringan()` anywhere you want,\nnot just in xaringan slides!\n(For example, `theme_xaringan()` is working great in these vignettes!)\nThis means that you can use your plot theme in reports and websites\nwhile maintaining a consistent look and feel or brand.\n\nFinally, you don't even need a xaringanthemer CSS file.\nYou can specify the key ingredients for the theme\nas arguments to `theme_xaringan()`, namely\ntext, background, and accent colors as well as text and title fonts.\n\nThe R chunk below replicated the demonstrated theme,\nbut doesn't require a slide style to be set or stored in a CSS file.\n\n```{r eval=FALSE}\ntheme_xaringan(\n  text_color = \"#3D3E38\",\n  background_color = \"#FFFFFF\",\n  accent_color = \"#DC322F\",\n  text_font = \"Kelly Slab\",\n  text_font_use_google = TRUE,\n  title_font = \"Oleo Script\",\n  title_font_use_google = TRUE\n)\n```\n\n## Colors\n\nAs demonstrated above,\n`theme_xaringan()` and `theme_xaringan_inverse()`\nmodify the default colors and fonts of geometries.\nThis means that `geom_point()`, `geom_bar()`, `geom_text()`\nand other geoms used in your plots\nwill reasonably match your slide themes with no extra work.\n\n```{r demo-geom-defaults, fig.width = 10}\ng_diamonds <- ggplot(diamonds, aes(x = cut)) +\n  geom_bar() +\n  labs(x = NULL, y = NULL, title = \"Diamond Cut Quality\") +\n  ylim(0, 25000)\n\ng_diamonds + theme_xaringan()\n```\n\nWhenever `theme_xaringan()` or `theme_xaringan_inverse()` are called,\nthe default values of many of ggplot2 geoms are set by default.\nYou can opt out of this by setting `set_ggplot_defaults = FALSE`\nwhen using either theme.\nYou can also restore the geom aesthetic defaults to their original values\nbefore the first time `theme_xaringan()` or `theme_xaringan_inverse()`\nwere used by running\n\n```{r eval=FALSE}\ntheme_xaringan_restore_defaults()\n```\n\n### Custom Color and Fill Scales {#scale-xaringan}\n\nxaringanthemer includes monotone color and fill scales\nto match your ggplot2 theme.\nThe scale functions all follow the naming pattern\n`scale_xaringan_<aes>_<data_type>()`,\nwhere `<aes>` is replaced with either `color` or `fill`\nand `<data_type>` is one of `discrete` or `continuous`.\n\nThese scales use `colorspace::sequential_hcl()`\nto create a sequential, monotone color scale\nbased on the primary accent color in your slides.\nColor scales matching the inverse slides are possible\nby setting the argument `inverse = TRUE`.\n\n```{r scale-xaringan, fig.width = 9, fig.height = 5, out.width=\"48%\", fig.show=\"hold\", echo = TRUE}\nggplot(diamonds, aes(x = cut)) +\n  geom_bar(aes(fill = after_stat(count)), show.legend = FALSE) +\n  labs(x = NULL, y = \"Count\", title = \"Diamond Cut Quality\") +\n  theme_xaringan() +\n  scale_xaringan_fill_continuous()\n\nggplot(mpg, aes(x = hwy, y = cty)) +\n  geom_count(aes(color = after_stat(n)), show.legend = FALSE) +\n  labs(x = \"Highway MPG\", y = \"City MPG\", title = \"Fuel Efficiency\") +\n  theme_xaringan_inverse() +\n  scale_xaringan_color_continuous(breaks = seq(3, 12, 2), inverse = TRUE, begin = 1, end = 0)\n```\n\nIn general, these color scales aren't great\nat representing the underlying data.\nIn both examples above,\nthe color and fill scales duplicate information displayed via other aesthetics\n(the height of the bar or the size of the point).\nI recommend using these scales primarily for style,\nalthough the scales can be more or less effective\ndepending on your color scheme.\n\nThe scales come with a few more options:\n\n- Choose a different primary color using the `color` argument.\n\n- Use the inverse color slide theme color with `inverse = TRUE`\n  (only applies when `color` is not supplied).\n\n- Invert the direction of the discrete scales with `direction = -1`.\n\n- Control the range of the continuous color scale used with `begin` and `end`.\n  You can also invert the direction of the continuous color scale by setting\n  `begin = 1` and `end = 0`.\n\n## Fonts\n\n### Automatically match slide and plot fonts\n\nxaringanthemer uses the [showtext] and [sysfonts] packages by Yixuan Qiu\nto automatically download and register [Google Fonts][google-fonts]\nfor use with your ggplot2 plots.\n\nIn your slide theme,\nuse the `<type>_font_google` argument\nwith the `google_font(\"<font name>\")` helper\n(or the default xaringanthemer fonts)\nand `theme_xaringan()` will handle the rest.\nIn our demo theme, we used `style_mono_accent()` with\n\n- `text_font_google = google_font(\"Kelley Slab\")` and\n- `header_font_google = google_font(\"Oleo Script\")`.\n\n```{r text demo, fig.width = 10}\ng_diamonds_with_text <-\n  g_diamonds +\n  geom_text(aes(y = after_stat(count), label = format(after_stat(count), big.mark = \",\")),\n    vjust = -0.30, size = 8, stat = \"count\") +\n  labs(x = \"Cut\", y = \"Count\")\n\ng_diamonds_with_text + theme_xaringan()\n```\n\n`theme_xaringan()` applies the header font to the plot and axis titles\nand the text font to the axis ticks labels and any text geoms or annotations.\n\n### Manually specify plot fonts\n\nYou can also specify specific fonts for your plot theme.\nBoth `text_font` and `title_font` in `theme_xaringan()` and `theme_xaringan_inverse()`\naccept `google_font()`s directly.\n\n```{r text-demo-2, fig.width = 10}\ng_diamonds_with_text +\n  theme_xaringan(\n    text_font = google_font(\"Ranga\"),\n    title_font = google_font(\"Holtwood One SC\")\n  )\n```\n\n### Using fonts not in Google Fonts\n\nIf you want to use a font that isn't in the Google Fonts collection,\nyou need to manually register the font with sysfonts\nso that it can be used in your plots.\n\nI found a nice open source font called\n**Glacial Indifference**\nby Alfredo Marco Pradil\navailable at [fontlibrary.org](https://fontlibrary.org).\nIn my theme style function,\nI would use\n\n```\nstyle_mono_accent(\n  text_font_family = \"GlacialIndifferenceRegular\",\n  text_font_url = \"https://fontlibrary.org/face/glacial-indifference\"\n)\n```\n\nbut sysfonts won't know where to find the TTF font files for this font.\n\nTo register the font with sysfonts, we use `sysfonts::font_add()`,\nbut first we need to download the font file —\nthe `sysfonts::font_add()` function requires the font file to be local.\n\nBy inspecting the CSS file at the link I used in `text_font_url`,\nI found a direct URL for the `.ttf` files for _GlacialIndifferenceRegular_.\nI've included _Glacial Indifference_ in the xaringanthemer package.\n\n```{r sysfonts-custom-font, fig.width = 10}\n# Path to the local custom font file\nfont_temp <- system.file(\n  \"fonts/GlacialIndifferenceRegular.ttf\", package = \"xaringanthemer\"\n)\n\n# Register the font with sysfonts/showtext\nsysfonts::font_add(family = \"GlacialIndifferenceRegular\", regular = font_temp)\n\n# Now it's available for use!\ng_diamonds_with_text +\n  theme_xaringan(\n    text_font = \"GlacialIndifferenceRegular\",\n    title_font = \"GlacialIndifferenceRegular\"\n  )\n```\n\n## Tips for using the showtext package {#tips}\n\nWorking with fonts is notoriously frustrating,\nbut [showtext] and [sysfonts] do a great job ensuring that\nGoogle Fonts and custom fonts work on all platforms.\nAs you've seen in the examples above,\nthe process is mostly seamless,\nbut there are a few caveats and\nplaces where the methods used by these packages may interrupt a typical ggplot2 workflow.\n\n### R Markdown\n\nTo use the showtext package in R Markdown,\nknitr requires that the `fig.showtext` chunk option be set to `TRUE`,\neither in the chunk producing the figure or globally in the document.\n\nxaringanthemer tries to set this chunk option for you,\nbut in some circumstances it's possible to call `theme_xaringan()`\nin a way that xaringanthemer can't set this option for you.\nWhen this happens,\nxaringanthemer will produce an error:\n\n```\nError in verify_fig_showtext(fn) :\n  To use theme_xaringan_base() with knitr, you need to set the chunk\n  option `fig.showtext = TRUE` for this chunk. Or you can set this option\n  globally with `knitr::opts_chunk$set(fig.showtext = TRUE)`.\n```\n\nIf you find yourself facing this error,\nfollow the instructions and choose one of the two suggestions:\n\n1. Add `fig.showtext = TRUE` to the chunk producing the figure\n\n2. Or set the option globally in your `setup` chunk with\n   `knitr::opts_chunk$set(fig.showtext = TRUE)`.\n\n### MacOS\n\nOn MacOS, you'll need to have `xquartz` installed for `sysfonts` to work properly.\nIf you use [homebrew](https://brew.sh/),\nyou can install `xquartz` with\n\n```bash\nbrew cask install xquartz\n```\n\n### In RStudio\n\nshowtext and RStudio's graphic device don't always work well together.\nDepending on your version of RStudio,\nif you try to preview plots that use `theme_xaringan()`,\nthe fonts in the preview will still be the default sans font\nor you may not see a plot at all.\n\nTo work around this, open a new `quartz()` (MacOS) or `x11()` (Windows/Unix) plot device.\nThe plots will then render in a separate window.\nI usually create a `quartz()` device with a similar size ratio to my slides.\n\n```{r eval=FALSE}\n## On Windows\n# x11(width = 16 * 2/3, height = 9 * 2/3)\n\n## On MacOS\nquartz(width = 16 * 2/3, height = 9 * 2/3)\n## run plot code to preview in separate window\ndev.off() # call when done to close the device\n```\n\n\n[ggplot2]: https://ggplot2.tidyverse.org\n[xaringan]: https://github.com/yihui/xaringan\n[google-fonts]: https://fonts.google.com\n[showtext]: https://github.com/yixuan/showtext\n[sysfonts]: https://github.com/yixuan/sysfonts\n"
  },
  {
    "path": "vignettes/template-variables.Rmd",
    "content": "---\ntitle: \"Template Variables\"\noutput: \n  rmarkdown::html_vignette: default\nvignette: >\n  %\\VignetteIndexEntry{Template Variables}\n  %\\VignetteEncoding{UTF-8}\n  %\\VignetteEngine{knitr::rmarkdown}\n---\n\n```{r setup, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#>\"\n)\n```\n\nThe following table shows the template variables,\ntheir default values in the standard `xaringanthemer` theme,\nthe primary element to which the property is applied,\nand a brief description of the template variable.\n\nFor example, `background_color` by default sets the `background-color` CSS property of the `.remark-slide-content` class to `#FFF`.\n\nUse this table to find the template variable you would like to modify.\nYou can also use this table to find the CSS class or element associated with a particular template item.\n\nNote that some theme functions,\nlike `style_mono_accent()`,\nhave additional parameters \nand a specific set of default values unique to the theme.\nHowever, with any theme function \nyou can override the theme's defaults \nby directly setting any of the arguments listed below\nwhen calling the theme function.\n\nTo be concrete, \n`style_mono_accent()` has three additional arguments:\n`base_color` (the accent color), `white_color`, and `black_color`.\nIn this theme,\nthe background slide color defaults to `white_color`,\nbut you can choose a different slide background color\nby setting `background_color`, \nfor example `background_color = \"#EAEAEA\"`.\n\n```{r table, results = \"asis\", echo=FALSE}\ntv <- xaringanthemer:::template_variables\ntv$variable <- glue::glue_data(tv, \"`{variable}`\")\ntv[!is.na(tv$css_variable), \"css_variable\"] <- glue::glue(\"`{tv$css_variable[!is.na(tv$css_variable)]}`\")\ntv[is.na(tv$css_variable), \"css_variable\"] <- \"\"\ntv[is.na(tv$css_property), \"css_property\"] <- \"\"\ntv$default <- gsub(\"[{}]\", \"\", tv$default)\ntv <- tv[, c(\n  \"variable\", \"description\", \"element\", \"css_property\", \"default\", \"css_variable\"\n)]\nknitr::kable(\n  tv,\n  col.names = c(\"Variable\", \"Description\", \"Element\", \"CSS Property\", \"Default\", \"CSS Variable\")\n)\n```\n\n"
  },
  {
    "path": "vignettes/themes.Rmd",
    "content": "---\ntitle: Themes\n---\n\n```{r include=FALSE}\nlibrary(xaringanthemer)\nknitr::opts_chunk$set(results = \"asis\", echo=FALSE)\n```\n\n```{r child=\"../man/fragments/_themes.Rmd\"}\n```\n\n\n## Colors\n\n```{r child=\"../man/fragments/_colors.Rmd\"}\n```\n"
  },
  {
    "path": "vignettes/xaringanthemer.Rmd",
    "content": "---\ntitle: \"Xaringan CSS Theme Generator\"\noutput: rmarkdown::html_vignette\nvignette: >\n  %\\VignetteIndexEntry{Overview of xaringanthemer}\n  %\\VignetteEngine{knitr::rmarkdown}\n  %\\VignetteEncoding{UTF-8}\n---\n\n```{r setup, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  results = \"asis\",\n  echo = FALSE,\n  comment = \"#>\",\n  out.width = \"100%\"\n)\nlibrary(xaringanthemer)\n```\n\n```{css echo=FALSE}\nimg { max-width: 100%; }\n```\n\n[xaringan]: https://github.com/yihui/xaringan\n[remarkjs]: https://github.com/gnab/remark\n\nJump to: \n[Quick Intro](#quick-intro), \n[Themes](#themes), \n[Theme Settings](#theme-settings), \n[Fonts](#fonts),\n[Colors](#colors),\n[Adding Custom CSS](#adding-custom-css)\n\n## Quick Intro\n\n[theme-functions]: #themes\n[theme-settings]: #theme-settings\n[template-variables]: template-variables.html\n\n```{r child=\"../man/fragments/_quick-intro.Rmd\"}\n```\n\n## Themes\n\n```{r child=\"../man/fragments/_themes.Rmd\"}\n```\n\n## Theme Settings\n\nThe theme functions listed above are just wrappers around the central function of this package, `style_xaringan()`.\nIf you want to start from the default **xaringan** theme and make a few modifications, start there.\n\nAll of the theme template variables are repeated in each of the theme functions (instead of relying on `...`) so that you can use autocompletion to find and change the defaults for any theme function.\nTo override the default value of any theme functions, set the appropriate argument in the theme function.\nA table of all template variables is included in [`vignette(\"template-variables\", \"xaringanthemer\")`](template-variables.html).\n\nAs an example, try loading `xaringanthemer`, type out `style_duo_theme(` and then press <kbd>Tab</kbd> to see all of the theme options.\n\nAll of the theme options are named so that you first think of the element you want to change, then the property of that element.\n\nHere are some of the `text_` theme options:\n\n```{r, results='asis', echo=FALSE}\ntvv <- xaringanthemer:::template_variables$variable\ncat(paste0(\"- `\", tvv[grepl(\"^text_\", tvv)][1:5], \"`\"), sep = \"\\n\")\ncat(\"- *and more ...*\")\n```\n\nAnd here are the title slide theme options:\n\n```{r results='asis', echo=FALSE}\ncat(paste0(\"- `\", tvv[grepl(\"^title_slide_\", tvv)], \"`\"), sep = \"\\n\")\n```\n\n## Fonts\n\n[adding-custom-css]: #adding-custom-css\n\n```{r child=\"../man/fragments/_fonts.Rmd\"}\n```\n\n## Colors\n\n```{r child=\"../man/fragments/_colors.Rmd\"}\n```\n\n## Adding Custom CSS\n\nYou can also add custom CSS classes using the `extra_css` argument in the theme functions.\nThis argument takes a named list of CSS definitions each containing a named list of CSS property-value pairs.\n\n```r\nextra_css <- list(\n  \".small\" = list(\"font-size\" = \"90%\"),\n  \".full-width\" = list(\n    display = \"flex\",\n    width   = \"100%\",\n    flex    = \"1 1 auto\"\n  )\n)\n```\n\nIf you would rather keep your additional css definitions in a separate file, you can call `style_extra_css()` separately.\nJust be sure to include your new CSS file in the list of applied files in your YAML header.\n\n```r\nstyle_extra_css(css = extra_css, outfile = \"custom.css\")\n```\n\n```{r results='asis', echo=FALSE}\nextra_css <- list(\n  \".small\" = list(\"font-size\" = \"90%\"),\n  \".full-width\" = list(\n    display = \"flex\",\n    width   = \"100%\",\n    flex    = \"1 1 auto\"\n  )\n)\ncat(\n  \"\\n```css\",\n  \"/* Extra CSS */\",\n  xaringanthemer:::list2css(extra_css),\n  \"```\",\n  sep = \"\\n\"\n)\n```\n\nThis is most helpful when wanting to define helper classes to work with the [remark.js][remarkjs] `.class[]` syntax.\nUsing the above example, we could add slide text `.small[in smaller font size]`.\n\n```{r child=\"../man/fragments/_thanks.Rmd\"}\n```\n"
  },
  {
    "path": "xaringanthemer.Rproj",
    "content": "Version: 1.0\n\nRestoreWorkspace: Default\nSaveWorkspace: Default\nAlwaysSaveHistory: Default\n\nEnableCodeIndexing: Yes\nUseSpacesForTab: Yes\nNumSpacesForTab: 2\nEncoding: UTF-8\n\nRnwWeave: Sweave\nLaTeX: XeLaTeX\n\nAutoAppendNewline: Yes\nStripTrailingWhitespace: Yes\n\nBuildType: Package\nPackageUseDevtools: Yes\nPackageInstallArgs: --no-multiarch --with-keep.source\nPackageRoxygenize: rd,collate,namespace\n"
  }
]