😎 Give your xaringan slides some style
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

754 lines
45KB

  1. <!DOCTYPE html>
  2. <!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="description" content='An "inverted" default xaringan theme with a two colors used
  3. for color accents on select elements (headers, bold text, etc.).'><title>Duotone Accent Inverse Theme — style_duo_accent_inverse • xaringanthemer</title><!-- favicons --><link rel="icon" type="image/png" sizes="16x16" href="../favicon-16x16.png"><link rel="icon" type="image/png" sizes="32x32" href="../favicon-32x32.png"><link rel="apple-touch-icon" type="image/png" sizes="180x180" href="../apple-touch-icon.png"><link rel="apple-touch-icon" type="image/png" sizes="120x120" href="../apple-touch-icon-120x120.png"><link rel="apple-touch-icon" type="image/png" sizes="76x76" href="../apple-touch-icon-76x76.png"><link rel="apple-touch-icon" type="image/png" sizes="60x60" href="../apple-touch-icon-60x60.png"><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.1.3/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.1.3/bootstrap.bundle.min.js"></script><link href="../deps/IBM_Plex_Mono-0.4.2/font.css" rel="stylesheet"><link href="../deps/Outfit-0.4.2/font.css" rel="stylesheet"><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- bootstrap-toc --><script src="https://cdn.rawgit.com/afeld/bootstrap-toc/v1.0.1/dist/bootstrap-toc.min.js"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><link href="../extra.css" rel="stylesheet"><meta property="og:title" content="Duotone Accent Inverse Theme — style_duo_accent_inverse"><meta property="og:description" content='An "inverted" default xaringan theme with a two colors used
  4. for color accents on select elements (headers, bold text, etc.).'><meta property="og:image" content="https://pkg.garrickadenbuie.com/xaringanthemer/logo.png"><meta name="twitter:card" content="summary"><meta name="twitter:creator" content="@grrrck"><meta name="twitter:site" content="@grrrck"><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
  5. <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
  6. <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  7. <![endif]--></head><body>
  8. <a href="#main" class="visually-hidden-focusable">Skip to contents</a>
  9. <nav class="navbar fixed-top navbar-light navbar-expand-lg bg-light"><div class="container">
  10. <a class="navbar-brand me-2" href="../index.html">xaringanthemer</a>
  11. <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Released version">0.4.2</small>
  12. <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
  13. <span class="navbar-toggler-icon"></span>
  14. </button>
  15. <div id="navbar" class="collapse navbar-collapse ms-3">
  16. <ul class="navbar-nav me-auto"><li class="nav-item">
  17. <a class="nav-link" href="../articles/xaringanthemer.html">Features</a>
  18. </li>
  19. <li class="active nav-item">
  20. <a class="nav-link" href="../reference/index.html">Reference</a>
  21. </li>
  22. <li class="nav-item dropdown">
  23. <a href="#" class="nav-link dropdown-toggle" data-bs-toggle="dropdown" role="button" aria-expanded="false" aria-haspopup="true" id="dropdown-themes">Themes</a>
  24. <div class="dropdown-menu" aria-labelledby="dropdown-themes">
  25. <h6 class="dropdown-header" data-toc-skip>Themes</h6>
  26. <a class="dropdown-item" href="../articles/themes.html">Slide Themes</a>
  27. <a class="dropdown-item" href="../articles/ggplot2-themes.html">ggplot2 Themes</a>
  28. <div class="dropdown-divider"></div>
  29. <h6 class="dropdown-header" data-toc-skip>More Customization</h6>
  30. <a class="dropdown-item" href="../articles/fonts.html">Fonts</a>
  31. <a class="dropdown-item" href="../articles/template-variables.html">Template Variables</a>
  32. </div>
  33. </li>
  34. </ul><form class="form-inline my-2 my-lg-0" role="search">
  35. <input type="search" class="form-control me-sm-2" aria-label="Toggle navigation" name="search-input" data-search-index="../search.json" id="search-input" placeholder="Search for" autocomplete="off"></form>
  36. <ul class="navbar-nav"><li class="nav-item dropdown">
  37. <a href="#" class="nav-link dropdown-toggle" data-bs-toggle="dropdown" role="button" aria-expanded="false" aria-haspopup="true" id="dropdown--">
  38. <span class="far fa far fa-newspaper fa-lg"></span>
  39. </a>
  40. <div class="dropdown-menu" aria-labelledby="dropdown--">
  41. <a class="external-link dropdown-item" href="https://garrickadenbuie.com/blog/xaringanthemer-v0-3-0/">xaringanthemer 0.3.0</a>
  42. <div class="dropdown-divider"></div>
  43. <a class="dropdown-item" href="../news/index.html">Changelog</a>
  44. </div>
  45. </li>
  46. <li class="nav-item">
  47. <a class="external-link nav-link" href="https://github.com/gadenbuie/xaringanthemer">
  48. <span class="fab fa fab fa-github fa-lg"></span>
  49. </a>
  50. </li>
  51. <li class="nav-item">
  52. <a class="external-link nav-link" href="https://twitter.com/grrrck">
  53. <span class="fab fa fab fa-twitter fa-lg"></span>
  54. </a>
  55. </li>
  56. <li class="nav-item">
  57. <a class="external-link nav-link" href="https://www.garrickadenbuie.com">
  58. <span class="fas fa fas fa-home fa-lg"></span>
  59. </a>
  60. </li>
  61. </ul></div>
  62. </div>
  63. </nav><div class="container template-reference-topic">
  64. <div class="row">
  65. <main id="main" class="col-md-9"><div class="page-header">
  66. <img src="../logo.png" class="logo" alt=""><h1>Duotone Accent Inverse Theme</h1>
  67. <small class="dont-index">Source: <a href="https://github.com/gadenbuie/xaringanthemer/blob/HEAD/R/style_duo_accent_inverse.R" class="external-link"><code>R/style_duo_accent_inverse.R</code></a></small>
  68. <div class="d-none name"><code>style_duo_accent_inverse.Rd</code></div>
  69. </div>
  70. <div class="ref-description section level2">
  71. <p>An "inverted" default xaringan theme with a two colors used
  72. for color accents on select elements (headers, bold text, etc.).</p>
  73. </div>
  74. <div class="section level2">
  75. <h2 id="ref-usage">Usage<a class="anchor" aria-label="anchor" href="#ref-usage"></a></h2>
  76. <div class="sourceCode"><pre class="sourceCode r"><code><span><span class="fu">style_duo_accent_inverse</span><span class="op">(</span></span>
  77. <span> primary_color <span class="op">=</span> <span class="st">"#035AA6"</span>,</span>
  78. <span> secondary_color <span class="op">=</span> <span class="st">"#03A696"</span>,</span>
  79. <span> white_color <span class="op">=</span> <span class="st">"#FFFFFF"</span>,</span>
  80. <span> black_color <span class="op">=</span> <span class="st">"#000000"</span>,</span>
  81. <span> text_color <span class="op">=</span> <span class="va">white_color</span>,</span>
  82. <span> header_color <span class="op">=</span> <span class="va">primary_color</span>,</span>
  83. <span> background_color <span class="op">=</span> <span class="va">black_color</span>,</span>
  84. <span> link_color <span class="op">=</span> <span class="fu"><a href="choose_dark_or_light.html">choose_dark_or_light</a></span><span class="op">(</span><span class="va">secondary_color</span>, <span class="va">secondary_color</span>, <span class="va">primary_color</span><span class="op">)</span>,</span>
  85. <span> text_bold_color <span class="op">=</span> <span class="fu"><a href="choose_dark_or_light.html">choose_dark_or_light</a></span><span class="op">(</span><span class="va">secondary_color</span>, <span class="va">secondary_color</span>, <span class="va">primary_color</span><span class="op">)</span>,</span>
  86. <span> text_slide_number_color <span class="op">=</span> <span class="va">primary_color</span>,</span>
  87. <span> padding <span class="op">=</span> <span class="st">"16px 64px 16px 64px"</span>,</span>
  88. <span> background_image <span class="op">=</span> <span class="cn">NULL</span>,</span>
  89. <span> background_size <span class="op">=</span> <span class="cn">NULL</span>,</span>
  90. <span> background_position <span class="op">=</span> <span class="cn">NULL</span>,</span>
  91. <span> code_highlight_color <span class="op">=</span> <span class="st">"rgba(255,255,0,0.5)"</span>,</span>
  92. <span> code_inline_color <span class="op">=</span> <span class="fu"><a href="choose_dark_or_light.html">choose_dark_or_light</a></span><span class="op">(</span><span class="va">secondary_color</span>, <span class="va">secondary_color</span>,</span>
  93. <span> <span class="va">primary_color</span><span class="op">)</span>,</span>
  94. <span> code_inline_background_color <span class="op">=</span> <span class="cn">NULL</span>,</span>
  95. <span> code_inline_font_size <span class="op">=</span> <span class="st">"1em"</span>,</span>
  96. <span> inverse_background_color <span class="op">=</span> <span class="va">secondary_color</span>,</span>
  97. <span> inverse_text_color <span class="op">=</span> <span class="fu"><a href="choose_dark_or_light.html">choose_dark_or_light</a></span><span class="op">(</span><span class="va">secondary_color</span>, <span class="va">black_color</span>, <span class="va">white_color</span><span class="op">)</span>,</span>
  98. <span> inverse_text_shadow <span class="op">=</span> <span class="cn">FALSE</span>,</span>
  99. <span> inverse_header_color <span class="op">=</span> <span class="va">inverse_text_color</span>,</span>
  100. <span> inverse_link_color <span class="op">=</span> <span class="va">link_color</span>,</span>
  101. <span> title_slide_text_color <span class="op">=</span> <span class="fu"><a href="choose_dark_or_light.html">choose_dark_or_light</a></span><span class="op">(</span><span class="va">primary_color</span>, <span class="va">black_color</span>, <span class="va">white_color</span><span class="op">)</span>,</span>
  102. <span> title_slide_background_color <span class="op">=</span> <span class="va">primary_color</span>,</span>
  103. <span> title_slide_background_image <span class="op">=</span> <span class="cn">NULL</span>,</span>
  104. <span> title_slide_background_size <span class="op">=</span> <span class="cn">NULL</span>,</span>
  105. <span> title_slide_background_position <span class="op">=</span> <span class="cn">NULL</span>,</span>
  106. <span> footnote_color <span class="op">=</span> <span class="cn">NULL</span>,</span>
  107. <span> footnote_font_size <span class="op">=</span> <span class="st">"0.9em"</span>,</span>
  108. <span> footnote_position_bottom <span class="op">=</span> <span class="st">"60px"</span>,</span>
  109. <span> left_column_subtle_color <span class="op">=</span> <span class="fu"><a href="apply_alpha.html">apply_alpha</a></span><span class="op">(</span><span class="va">primary_color</span>, <span class="fl">0.6</span><span class="op">)</span>,</span>
  110. <span> left_column_selected_color <span class="op">=</span> <span class="va">primary_color</span>,</span>
  111. <span> blockquote_left_border_color <span class="op">=</span> <span class="fu"><a href="apply_alpha.html">apply_alpha</a></span><span class="op">(</span><span class="va">secondary_color</span>, <span class="fl">0.5</span><span class="op">)</span>,</span>
  112. <span> table_border_color <span class="op">=</span> <span class="st">"#666"</span>,</span>
  113. <span> table_row_border_color <span class="op">=</span> <span class="st">"#ddd"</span>,</span>
  114. <span> table_row_even_background_color <span class="op">=</span> <span class="fu"><a href="lighten_darken_color.html">darken_color</a></span><span class="op">(</span><span class="fu"><a href="choose_dark_or_light.html">choose_dark_or_light</a></span><span class="op">(</span><span class="va">primary_color</span>,</span>
  115. <span> <span class="va">secondary_color</span>, <span class="va">primary_color</span><span class="op">)</span>, <span class="fl">0.2</span><span class="op">)</span>,</span>
  116. <span> base_font_size <span class="op">=</span> <span class="st">"20px"</span>,</span>
  117. <span> text_font_size <span class="op">=</span> <span class="st">"1rem"</span>,</span>
  118. <span> header_h1_font_size <span class="op">=</span> <span class="st">"2.75rem"</span>,</span>
  119. <span> header_h2_font_size <span class="op">=</span> <span class="st">"2.25rem"</span>,</span>
  120. <span> header_h3_font_size <span class="op">=</span> <span class="st">"1.75rem"</span>,</span>
  121. <span> header_background_auto <span class="op">=</span> <span class="cn">FALSE</span>,</span>
  122. <span> header_background_color <span class="op">=</span> <span class="va">header_color</span>,</span>
  123. <span> header_background_text_color <span class="op">=</span> <span class="va">background_color</span>,</span>
  124. <span> header_background_padding <span class="op">=</span> <span class="cn">NULL</span>,</span>
  125. <span> header_background_content_padding_top <span class="op">=</span> <span class="st">"7rem"</span>,</span>
  126. <span> header_background_ignore_classes <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="st">"normal"</span>, <span class="st">"inverse"</span>, <span class="st">"title"</span>, <span class="st">"middle"</span>, <span class="st">"bottom"</span><span class="op">)</span>,</span>
  127. <span> text_slide_number_font_size <span class="op">=</span> <span class="st">"0.9rem"</span>,</span>
  128. <span> text_font_google <span class="op">=</span> <span class="cn">NULL</span>,</span>
  129. <span> text_font_family <span class="op">=</span> <span class="fu"><a href="style_xaringan.html">xaringanthemer_font_default</a></span><span class="op">(</span><span class="st">"text_font_family"</span><span class="op">)</span>,</span>
  130. <span> text_font_weight <span class="op">=</span> <span class="fu"><a href="style_xaringan.html">xaringanthemer_font_default</a></span><span class="op">(</span><span class="st">"text_font_weight"</span><span class="op">)</span>,</span>
  131. <span> text_bold_font_weight <span class="op">=</span> <span class="st">"bold"</span>,</span>
  132. <span> text_font_url <span class="op">=</span> <span class="fu"><a href="style_xaringan.html">xaringanthemer_font_default</a></span><span class="op">(</span><span class="st">"text_font_url"</span><span class="op">)</span>,</span>
  133. <span> text_font_family_fallback <span class="op">=</span> <span class="fu"><a href="style_xaringan.html">xaringanthemer_font_default</a></span><span class="op">(</span><span class="st">"text_font_family_fallback"</span><span class="op">)</span>,</span>
  134. <span> text_font_base <span class="op">=</span> <span class="st">"sans-serif"</span>,</span>
  135. <span> header_font_google <span class="op">=</span> <span class="cn">NULL</span>,</span>
  136. <span> header_font_family <span class="op">=</span> <span class="fu"><a href="style_xaringan.html">xaringanthemer_font_default</a></span><span class="op">(</span><span class="st">"header_font_family"</span><span class="op">)</span>,</span>
  137. <span> header_font_weight <span class="op">=</span> <span class="fu"><a href="style_xaringan.html">xaringanthemer_font_default</a></span><span class="op">(</span><span class="st">"header_font_weight"</span><span class="op">)</span>,</span>
  138. <span> header_font_family_fallback <span class="op">=</span> <span class="st">"Georgia, serif"</span>,</span>
  139. <span> header_font_url <span class="op">=</span> <span class="fu"><a href="style_xaringan.html">xaringanthemer_font_default</a></span><span class="op">(</span><span class="st">"header_font_url"</span><span class="op">)</span>,</span>
  140. <span> code_font_google <span class="op">=</span> <span class="cn">NULL</span>,</span>
  141. <span> code_font_family <span class="op">=</span> <span class="fu"><a href="style_xaringan.html">xaringanthemer_font_default</a></span><span class="op">(</span><span class="st">"code_font_family"</span><span class="op">)</span>,</span>
  142. <span> code_font_size <span class="op">=</span> <span class="st">"0.9rem"</span>,</span>
  143. <span> code_font_url <span class="op">=</span> <span class="fu"><a href="style_xaringan.html">xaringanthemer_font_default</a></span><span class="op">(</span><span class="st">"code_font_url"</span><span class="op">)</span>,</span>
  144. <span> code_font_family_fallback <span class="op">=</span> <span class="fu"><a href="style_xaringan.html">xaringanthemer_font_default</a></span><span class="op">(</span><span class="st">"code_font_family_fallback"</span><span class="op">)</span>,</span>
  145. <span> link_decoration <span class="op">=</span> <span class="st">"none"</span>,</span>
  146. <span> colors <span class="op">=</span> <span class="cn">NULL</span>,</span>
  147. <span> extra_css <span class="op">=</span> <span class="cn">NULL</span>,</span>
  148. <span> extra_fonts <span class="op">=</span> <span class="cn">NULL</span>,</span>
  149. <span> outfile <span class="op">=</span> <span class="st">"xaringan-themer.css"</span></span>
  150. <span><span class="op">)</span></span></code></pre></div>
  151. </div>
  152. <div class="section level2">
  153. <h2 id="arguments">Arguments<a class="anchor" aria-label="anchor" href="#arguments"></a></h2>
  154. <dl><dt>primary_color</dt>
  155. <dd><p>Duotone Primary Color. Defaults to #035AA6. Used in
  156. multiple CSS rules. The value of this variable is also stored as a CSS
  157. variable that can be referenced with <code>var(--primary)</code> in any argument of a
  158. style function or in custom CSS.</p></dd>
  159. <dt>secondary_color</dt>
  160. <dd><p>Duotone Secondary Color. Defaults to #03A696. Used in
  161. multiple CSS rules. The value of this variable is also stored as a CSS
  162. variable that can be referenced with <code>var(--secondary)</code> in any argument of
  163. a style function or in custom CSS.</p></dd>
  164. <dt>white_color</dt>
  165. <dd><p>Brightest color used. Defaults to #FFFFFF. Used in
  166. multiple CSS rules. The value of this variable is also stored as a CSS
  167. variable that can be referenced with <code>var(--white)</code> in any argument of a
  168. style function or in custom CSS.</p></dd>
  169. <dt>black_color</dt>
  170. <dd><p>Darkest color used. Defaults to #000000. Used in multiple
  171. CSS rules. The value of this variable is also stored as a CSS variable
  172. that can be referenced with <code>var(--black)</code> in any argument of a style
  173. function or in custom CSS.</p></dd>
  174. <dt>text_color</dt>
  175. <dd><p>Text Color. Defaults to <code>white_color</code>. Modifies the <code>body</code>
  176. element. The value of this variable is also stored as a CSS variable that
  177. can be referenced with <code>var(--text_color)</code> in any argument of a style
  178. function or in custom CSS.</p></dd>
  179. <dt>header_color</dt>
  180. <dd><p>Header Color. Defaults to <code>primary_color</code>. Modifies the
  181. <code>h1, h2, h3</code> elements. The value of this variable is also stored as a CSS
  182. variable that can be referenced with <code>var(--header-color)</code> in any argument
  183. of a style function or in custom CSS.</p></dd>
  184. <dt>background_color</dt>
  185. <dd><p>Slide Background Color. Defaults to <code>black_color</code>.
  186. Modifies the <code>.remark-slide-content</code> class. The value of this variable is
  187. also stored as a CSS variable that can be referenced with
  188. <code>var(--background-color)</code> in any argument of a style function or in custom
  189. CSS.</p></dd>
  190. <dt>link_color</dt>
  191. <dd><p>Link Color. Defaults to
  192. <code>choose_dark_or_light(secondary_color, secondary_color, primary_color)</code>.
  193. Modifies the <code>a, a &gt; code</code> elements. The value of this variable is also
  194. stored as a CSS variable that can be referenced with <code>var(--link-color)</code>
  195. in any argument of a style function or in custom CSS.</p></dd>
  196. <dt>text_bold_color</dt>
  197. <dd><p>Bold Text Color. Defaults to
  198. <code>choose_dark_or_light(secondary_color, secondary_color, primary_color)</code>.
  199. Modifies the <code>strong</code> element. The value of this variable is also stored
  200. as a CSS variable that can be referenced with <code>var(--text-bold-color)</code> in
  201. any argument of a style function or in custom CSS.</p></dd>
  202. <dt>text_slide_number_color</dt>
  203. <dd><p>Slide Number Color. Defaults to
  204. <code>primary_color</code>. Modifies the <code>.remark-slide-number</code> class.</p></dd>
  205. <dt>padding</dt>
  206. <dd><p>Slide Padding in <code>top right [bottom left]</code> format. Defaults
  207. to 16px 64px 16px 64px. Modifies the <code>.remark-slide-content</code> class.
  208. Accepts CSS
  209. <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/padding" class="external-link">padding</a>
  210. property values.</p></dd>
  211. <dt>background_image</dt>
  212. <dd><p>Background image applied to each <em>and every</em> slide.
  213. Set <code>title_slide_background_image = "none"</code> to remove the background image
  214. from the title slide. Defaults to <code>NULL</code>. Modifies the
  215. <code>.remark-slide-content</code> class.</p></dd>
  216. <dt>background_size</dt>
  217. <dd><p>Background image size, requires <code>background_image</code> to
  218. be set. If <code>background_image</code> is set, <code>background_size</code> will default to
  219. <code>cover</code> so the background fills the screen. If both <code>background_image</code> and
  220. <code>background_position</code> are set, will default to 100 percent. Defaults to
  221. <code>NULL</code>. Modifies the <code>.remark-slide-content</code> class. Accepts CSS
  222. <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/background-size" class="external-link">background-size</a>
  223. property values.</p></dd>
  224. <dt>background_position</dt>
  225. <dd><p>Background image position, requires
  226. <code>background_image</code> to be set, and it is recommended to adjust
  227. <code>background_size</code>. Defaults to <code>NULL</code>. Modifies the
  228. <code>.remark-slide-content</code> class. Accepts CSS
  229. <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/background-position" class="external-link">background-position</a>
  230. property values.</p></dd>
  231. <dt>code_highlight_color</dt>
  232. <dd><p>Code Line Highlight. Defaults to
  233. rgba(255,255,0,0.5). Modifies the <code>.remark-code-line-highlighted</code> class.
  234. The value of this variable is also stored as a CSS variable that can be
  235. referenced with <code>var(--code-highlight-color)</code> in any argument of a style
  236. function or in custom CSS.</p></dd>
  237. <dt>code_inline_color</dt>
  238. <dd><p>Inline Code Color. Defaults to
  239. <code>choose_dark_or_light(secondary_color, secondary_color, primary_color)</code>.
  240. Modifies the <code>.remark-inline-code</code> class.</p></dd>
  241. <dt>code_inline_background_color</dt>
  242. <dd><p>Inline Code Background Color. Defaults
  243. to <code>NULL</code>. Modifies the <code>.remark-inline-code</code> class.</p></dd>
  244. <dt>code_inline_font_size</dt>
  245. <dd><p>Inline Code Text Font Size. Defaults to 1em.
  246. Modifies the <code>.remark-inline-code</code> class. Accepts CSS
  247. <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/font-size" class="external-link">font-size</a>
  248. property values. The value of this variable is also stored as a CSS
  249. variable that can be referenced with <code>var(--code-inline-font-size)</code> in any
  250. argument of a style function or in custom CSS.</p></dd>
  251. <dt>inverse_background_color</dt>
  252. <dd><p>Inverse Background Color. Defaults to
  253. <code>secondary_color</code>. Modifies the <code>.inverse</code> class. The value of this
  254. variable is also stored as a CSS variable that can be referenced with
  255. <code>var(--inverse-background-color)</code> in any argument of a style function or
  256. in custom CSS.</p></dd>
  257. <dt>inverse_text_color</dt>
  258. <dd><p>Inverse Text Color. Defaults to
  259. <code>choose_dark_or_light(secondary_color, black_color, white_color)</code>.
  260. Modifies the <code>.inverse</code> class. The value of this variable is also stored
  261. as a CSS variable that can be referenced with <code>var(--inverse-text-color)</code>
  262. in any argument of a style function or in custom CSS.</p></dd>
  263. <dt>inverse_text_shadow</dt>
  264. <dd><p>Enables Shadow on text of inverse slides.
  265. Defaults to <code>FALSE</code>. Modifies the <code>.inverse</code> class.</p></dd>
  266. <dt>inverse_header_color</dt>
  267. <dd><p>Inverse Header Color. Defaults to
  268. <code>inverse_text_color</code>. Modifies the <code>.inverse h1, .inverse h2, .inverse h3</code>
  269. classes. The value of this variable is also stored as a CSS variable that
  270. can be referenced with <code>var(--inverse-header-color)</code> in any argument of a
  271. style function or in custom CSS.</p></dd>
  272. <dt>inverse_link_color</dt>
  273. <dd><p>Inverse Link Color. Defaults to <code>link_color</code>.
  274. Modifies the <code>.inverse a, .inverse a &gt; code</code> classes. The value of this
  275. variable is also stored as a CSS variable that can be referenced with
  276. <code>var(--inverse-link-color)</code> in any argument of a style function or in
  277. custom CSS.</p></dd>
  278. <dt>title_slide_text_color</dt>
  279. <dd><p>Title Slide Text Color. Defaults to
  280. <code>choose_dark_or_light(primary_color, black_color, white_color)</code>. Modifies
  281. the <code>.title-slide</code> class. The value of this variable is also stored as a
  282. CSS variable that can be referenced with <code>var(--title-slide-text-color)</code>
  283. in any argument of a style function or in custom CSS.</p></dd>
  284. <dt>title_slide_background_color</dt>
  285. <dd><p>Title Slide Background Color. Defaults
  286. to <code>primary_color</code>. Modifies the <code>.title-slide</code> class. The value of this
  287. variable is also stored as a CSS variable that can be referenced with
  288. <code>var(--title-slide-background-color)</code> in any argument of a style function
  289. or in custom CSS.</p></dd>
  290. <dt>title_slide_background_image</dt>
  291. <dd><p>Title Slide Background Image URL.
  292. Defaults to <code>NULL</code>. Modifies the <code>.title-slide</code> class.</p></dd>
  293. <dt>title_slide_background_size</dt>
  294. <dd><p>Title Slide Background Image Size,
  295. defaults to "cover" if background image is set. Defaults to <code>NULL</code>.
  296. Modifies the <code>.title-slide</code> class. Accepts CSS
  297. <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/background-size" class="external-link">background-size</a>
  298. property values.</p></dd>
  299. <dt>title_slide_background_position</dt>
  300. <dd><p>Title Slide Background Image
  301. Position. Defaults to <code>NULL</code>. Modifies the <code>.title-slide</code> class. Accepts
  302. CSS
  303. <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/background-position" class="external-link">background-position</a>
  304. property values.</p></dd>
  305. <dt>footnote_color</dt>
  306. <dd><p>Footnote text color (if <code>NA</code>, then it will be the same
  307. color as <code>text_color</code>). Defaults to <code>NULL</code>. Modifies the <code>.footnote</code>
  308. class.</p></dd>
  309. <dt>footnote_font_size</dt>
  310. <dd><p>Footnote font size. Defaults to 0.9em. Modifies
  311. the <code>.footnote</code> class. Accepts CSS
  312. <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/font-size" class="external-link">font-size</a>
  313. property values.</p></dd>
  314. <dt>footnote_position_bottom</dt>
  315. <dd><p>Footnote location from bottom of screen.
  316. Defaults to 60px. Modifies the <code>.footnote</code> class. Accepts CSS
  317. <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/position_value" class="external-link">position</a>
  318. property values.</p></dd>
  319. <dt>left_column_subtle_color</dt>
  320. <dd><p>Left Column Text (not last). Defaults to
  321. <code>apply_alpha(primary_color, 0.6)</code>. Modifies the
  322. <code>.left-column h2, .left-column h3</code> classes.</p></dd>
  323. <dt>left_column_selected_color</dt>
  324. <dd><p>Left Column Current Selection. Defaults to
  325. <code>primary_color</code>. Modifies the
  326. <code>.left-column h2:last-of-type, .left-column h3:last-child</code> classes.</p></dd>
  327. <dt>blockquote_left_border_color</dt>
  328. <dd><p>Blockquote Left Border Color. Defaults
  329. to <code>apply_alpha(secondary_color, 0.5)</code>. Modifies the <code>blockquote</code> element.</p></dd>
  330. <dt>table_border_color</dt>
  331. <dd><p>Table top/bottom border. Defaults to #666.
  332. Modifies the <code>table: border-top, border-bottom</code> elements.</p></dd>
  333. <dt>table_row_border_color</dt>
  334. <dd><p>Table row inner bottom border. Defaults to
  335. #ddd. Modifies the <code>table thead th: border-bottom</code> elements.</p></dd>
  336. <dt>table_row_even_background_color</dt>
  337. <dd><p>Table Even Row Background Color.
  338. Defaults to
  339. <code>darken_color(choose_dark_or_light(primary_color, secondary_color, primary_color), 0.2)</code>.
  340. Modifies the <code>thead, tfoot, tr:nth-child(even)</code> elements.</p></dd>
  341. <dt>base_font_size</dt>
  342. <dd><p>Base Font Size for All Slide Elements (must be <code>px</code>).
  343. Defaults to 20px. Modifies the <code>html</code> element. The value of this variable
  344. is also stored as a CSS variable that can be referenced with
  345. <code>var(--base-font-size)</code> in any argument of a style function or in custom
  346. CSS.</p></dd>
  347. <dt>text_font_size</dt>
  348. <dd><p>Slide Body Text Font Size. Defaults to 1rem. Modifies
  349. the <code>.remark-slide-content</code> class. Accepts CSS
  350. <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/font-size" class="external-link">font-size</a>
  351. property values. The value of this variable is also stored as a CSS
  352. variable that can be referenced with <code>var(--text-font-size)</code> in any
  353. argument of a style function or in custom CSS.</p></dd>
  354. <dt>header_h1_font_size</dt>
  355. <dd><p>h1 Header Text Font Size. Defaults to 2.75rem.
  356. Modifies the <code>.remark-slide-content h1</code> class. Accepts CSS
  357. <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/font-size" class="external-link">font-size</a>
  358. property values. The value of this variable is also stored as a CSS
  359. variable that can be referenced with <code>var(--header-h1-font-size)</code> in any
  360. argument of a style function or in custom CSS.</p></dd>
  361. <dt>header_h2_font_size</dt>
  362. <dd><p>h2 Header Text Font Size. Defaults to 2.25rem.
  363. Modifies the <code>.remark-slide-content h2</code> class. Accepts CSS
  364. <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/font-size" class="external-link">font-size</a>
  365. property values. The value of this variable is also stored as a CSS
  366. variable that can be referenced with <code>var(--header-h2-font-size)</code> in any
  367. argument of a style function or in custom CSS.</p></dd>
  368. <dt>header_h3_font_size</dt>
  369. <dd><p>h3 Header Text Font Size. Defaults to 1.75rem.
  370. Modifies the <code>.remark-slide-content h3</code> class. Accepts CSS
  371. <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/font-size" class="external-link">font-size</a>
  372. property values. The value of this variable is also stored as a CSS
  373. variable that can be referenced with <code>var(--header-h3-font-size)</code> in any
  374. argument of a style function or in custom CSS.</p></dd>
  375. <dt>header_background_auto</dt>
  376. <dd><p>Add background under slide title automatically
  377. for h1 header elements. If not enabled, use <code>class: header_background</code> to
  378. enable. Defaults to <code>FALSE</code>.</p></dd>
  379. <dt>header_background_color</dt>
  380. <dd><p>Background Color for h1 Header with
  381. Background. Defaults to <code>header_color</code>. Modifies the
  382. <code>.remark-slide-content h1</code> class. The value of this variable is also
  383. stored as a CSS variable that can be referenced with
  384. <code>var(--header-background-color)</code> in any argument of a style function or in
  385. custom CSS.</p></dd>
  386. <dt>header_background_text_color</dt>
  387. <dd><p>Text Color for h1 Header with
  388. Background. Defaults to <code>background_color</code>. Modifies the
  389. <code>.remark-slide-content h1</code> class. The value of this variable is also
  390. stored as a CSS variable that can be referenced with
  391. <code>var(--header-background-text-color)</code> in any argument of a style function
  392. or in custom CSS.</p></dd>
  393. <dt>header_background_padding</dt>
  394. <dd><p>Padding for h1 Header with Background.
  395. Defaults to <code>NULL</code>. Modifies the <code>.remark-slide-content h1</code> class. Accepts
  396. CSS <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/padding" class="external-link">padding</a>
  397. property values.</p></dd>
  398. <dt>header_background_content_padding_top</dt>
  399. <dd><p>Top Padding for Content in
  400. Slide with Header with Background. Defaults to 7rem. Modifies the
  401. <code>.remark-slide-content</code> class.</p></dd>
  402. <dt>header_background_ignore_classes</dt>
  403. <dd><p>Slide Classes Where Header with
  404. Background will not be Applied. Defaults to
  405. <code>c('normal', 'inverse', 'title', 'middle', 'bottom')</code>. Modifies the
  406. <code>.remark-slide-content</code> class.</p></dd>
  407. <dt>text_slide_number_font_size</dt>
  408. <dd><p>Slide Number Text Font Size. Defaults to
  409. 0.9rem. Modifies the <code>.remark-slide-number</code> class. Accepts CSS
  410. <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/font-size" class="external-link">font-size</a>
  411. property values.</p></dd>
  412. <dt>text_font_google</dt>
  413. <dd><p>Use <code><a href="google_font.html">google_font()</a></code> to specify body font. Defaults
  414. to <code>NULL</code>. Modifies the <code>body</code> element.</p></dd>
  415. <dt>text_font_family</dt>
  416. <dd><p>Body Text Font Family (xaringan default is
  417. <code>'Droid Serif'</code>). Defaults to
  418. <code>xaringanthemer_font_default("text_font_family")</code>. Modifies the <code>body</code>
  419. element. The value of this variable is also stored as a CSS variable that
  420. can be referenced with <code>var(--text-font-family)</code> in any argument of a
  421. style function or in custom CSS.</p></dd>
  422. <dt>text_font_weight</dt>
  423. <dd><p>Body Text Font Weight. Defaults to
  424. <code>xaringanthemer_font_default("text_font_weight")</code>. Modifies the <code>body</code>
  425. element. Accepts CSS
  426. <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight" class="external-link">font-weight</a>
  427. property values.</p></dd>
  428. <dt>text_bold_font_weight</dt>
  429. <dd><p>Body Bold Text Font Weight. Defaults to bold.
  430. Modifies the <code>strong</code> element.</p></dd>
  431. <dt>text_font_url</dt>
  432. <dd><p>Body Text Font URL(s). Defaults to
  433. <code>xaringanthemer_font_default("text_font_url")</code>. Modifies the
  434. <code>@import url()</code> elements.</p></dd>
  435. <dt>text_font_family_fallback</dt>
  436. <dd><p>Body Text Font Fallbacks. Defaults to
  437. <code>xaringanthemer_font_default("text_font_family_fallback")</code>. Modifies the
  438. <code>body</code> element. The value of this variable is also stored as a CSS
  439. variable that can be referenced with <code>var(--text-font-family-fallback)</code> in
  440. any argument of a style function or in custom CSS.</p></dd>
  441. <dt>text_font_base</dt>
  442. <dd><p>Body Text Base Font (Total Failure Fallback). Defaults
  443. to sans-serif. Modifies the <code>body</code> element. The value of this variable is
  444. also stored as a CSS variable that can be referenced with
  445. <code>var(--text-font-base)</code> in any argument of a style function or in custom
  446. CSS.</p></dd>
  447. <dt>header_font_google</dt>
  448. <dd><p>Use <code><a href="google_font.html">google_font()</a></code> to specify header font.
  449. Defaults to <code>NULL</code>. Modifies the <code>body</code> element.</p></dd>
  450. <dt>header_font_family</dt>
  451. <dd><p>Header Font Family (xaringan default is
  452. <code>'Yanone Kaffeesatz'</code>). Defaults to
  453. <code>xaringanthemer_font_default("header_font_family")</code>. Modifies the
  454. <code>h1, h2, h3</code> elements. The value of this variable is also stored as a CSS
  455. variable that can be referenced with <code>var(--header-font-family)</code> in any
  456. argument of a style function or in custom CSS.</p></dd>
  457. <dt>header_font_weight</dt>
  458. <dd><p>Header Font Weight. Defaults to
  459. <code>xaringanthemer_font_default("header_font_weight")</code>. Modifies the
  460. <code>h1, h2, h3</code> elements. Accepts CSS
  461. <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight" class="external-link">font-weight</a>
  462. property values.</p></dd>
  463. <dt>header_font_family_fallback</dt>
  464. <dd><p>Header Font Family Fallback. Defaults to
  465. Georgia, serif. Modifies the <code>h1, h2, h3</code> elements. The value of this
  466. variable is also stored as a CSS variable that can be referenced with
  467. <code>var(--header-font-family-fallback)</code> in any argument of a style function
  468. or in custom CSS.</p></dd>
  469. <dt>header_font_url</dt>
  470. <dd><p>Header Font URL. Defaults to
  471. <code>xaringanthemer_font_default("header_font_url")</code>. Modifies the
  472. <code>@import url</code> elements.</p></dd>
  473. <dt>code_font_google</dt>
  474. <dd><p>Use <code><a href="google_font.html">google_font()</a></code> to specify code font. Defaults
  475. to <code>NULL</code>. Modifies the <code>body</code> element.</p></dd>
  476. <dt>code_font_family</dt>
  477. <dd><p>Code Font Family. Defaults to
  478. <code>xaringanthemer_font_default("code_font_family")</code>. Modifies the
  479. <code>.remark-code, .remark-inline-code</code> classes. The value of this variable is
  480. also stored as a CSS variable that can be referenced with
  481. <code>var(--code-font-family)</code> in any argument of a style function or in custom
  482. CSS.</p></dd>
  483. <dt>code_font_size</dt>
  484. <dd><p>Code Text Font Size. Defaults to 0.9rem. Modifies the
  485. <code>.remark-inline</code> class. Accepts CSS
  486. <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/font-size" class="external-link">font-size</a>
  487. property values. The value of this variable is also stored as a CSS
  488. variable that can be referenced with <code>var(--code-font-size)</code> in any
  489. argument of a style function or in custom CSS.</p></dd>
  490. <dt>code_font_url</dt>
  491. <dd><p>Code Font URL. Defaults to
  492. <code>xaringanthemer_font_default("code_font_url")</code>. Modifies the <code>@import url</code>
  493. elements.</p></dd>
  494. <dt>code_font_family_fallback</dt>
  495. <dd><p>Code Font Fallback. Defaults to
  496. <code>xaringanthemer_font_default("code_font_family_fallback")</code>. Modifies the
  497. <code>.remark-code, .remark-inline-code</code> classes.</p></dd>
  498. <dt>link_decoration</dt>
  499. <dd><p>Text decoration of links. Defaults to none. Modifies
  500. the <code>a, a &gt; code</code> elements. Accepts CSS
  501. <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration" class="external-link">text-decoration</a>
  502. property values.</p></dd>
  503. <dt>colors</dt>
  504. <dd><p>A named vector of custom colors. The names of the colors
  505. become CSS variables and classes that can be used within your slides.
  506. For example, <code>colors = c(blue = "#bad4ed")</code> adds a CSS variable
  507. <code>--blue</code>, a <code>.blue</code> CSS class that applies the color to the text or
  508. foreground color, and a <code>.bg-blue</code> CSS class that applies the color
  509. to the background.</p></dd>
  510. <dt>extra_css</dt>
  511. <dd><p>A named list of CSS definitions each containing a named list
  512. of CSS property-value pairs, i.e.
  513. <code>list(".class-id" = list("css-property" = "value"))</code>.</p></dd>
  514. <dt>extra_fonts</dt>
  515. <dd><p>A list of additional fonts to import, each list element
  516. can be either a URL as a character string or a call to
  517. <code><a href="google_font.html">google_font</a>()</code>. To use a font imported in <code>extra_fonts</code>, you
  518. will need to write custom CSS rules that apply the font to an element or
  519. class with the <code>font-family</code> property. See the <strong>Fonts</strong> section of
  520. <code><a href="../articles/xaringanthemer.html">vignette("xaringanthemer")</a></code> for an example.</p></dd>
  521. <dt>outfile</dt>
  522. <dd><p>Customized xaringan CSS output file name, default is "xaringan-themer.css"</p></dd>
  523. </dl></div>
  524. <div class="section level2">
  525. <h2 id="value">Value<a class="anchor" aria-label="anchor" href="#value"></a></h2>
  526. <p>The CSS styles are written to the file path provided in <code>outfile</code></p>
  527. <p>(by default to <code>xaringan-themer.css</code>). If <code>outfile</code> is <code>NULL</code>, the CSS is
  528. returned directly as a character string.</p>
  529. </div>
  530. <div class="section level2">
  531. <h2 id="usage">Usage<a class="anchor" aria-label="anchor" href="#usage"></a></h2>
  532. <p>To use the styles created by this theme function, make sure
  533. that you use <code>xaringan-themer.css</code> as your CSS file in your slides' YAML
  534. header. If you change the name of the output file using the <code>outfile</code>
  535. argument, use that name instead of the default file name.</p>
  536. <p></p><div class="sourceCode yaml"><pre><code><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="fu">output</span><span class="kw">:</span></span>
  537. <span id="cb1-2"><a href="#cb1-2" aria-hidden="true" tabindex="-1"></a><span class="at">xaringan:</span><span class="fu">:moon_reader</span><span class="kw">:</span></span>
  538. <span id="cb1-3"><a href="#cb1-3" aria-hidden="true" tabindex="-1"></a><span class="at"> </span><span class="fu">css</span><span class="kw">:</span><span class="at"> xaringan-themer.css</span></span></code></pre><p></p></div>
  539. </div>
  540. <div class="section level2">
  541. <h2 id="see-also">See also<a class="anchor" aria-label="anchor" href="#see-also"></a></h2>
  542. <div class="dont-index"><p>Other themes:
  543. <code><a href="style_duo_accent.html">style_duo_accent</a>()</code>,
  544. <code><a href="style_duo.html">style_duo</a>()</code>,
  545. <code><a href="style_mono_accent_inverse.html">style_mono_accent_inverse</a>()</code>,
  546. <code><a href="style_mono_accent.html">style_mono_accent</a>()</code>,
  547. <code><a href="style_mono_dark.html">style_mono_dark</a>()</code>,
  548. <code><a href="style_mono_light.html">style_mono_light</a>()</code>,
  549. <code><a href="style_solarized_dark.html">style_solarized_dark</a>()</code>,
  550. <code><a href="style_solarized_light.html">style_solarized_light</a>()</code>,
  551. <code><a href="style_xaringan.html">xaringanthemer_font_default</a>()</code></p>
  552. <p>Other Duotone themes:
  553. <code><a href="style_duo_accent.html">style_duo_accent</a>()</code>,
  554. <code><a href="style_duo.html">style_duo</a>()</code></p></div>
  555. </div>
  556. <div class="section level2">
  557. <h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2>
  558. <div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="co"># Create a xaringan style in a temporary file</span></span></span>
  559. <span class="r-in"><span><span class="va">xaringan_themer_css</span> <span class="op">&lt;-</span> <span class="fu"><a href="https://rdrr.io/r/base/tempfile.html" class="external-link">tempfile</a></span><span class="op">(</span><span class="st">"xaringan-themer-"</span>, fileext <span class="op">=</span> <span class="st">".css"</span><span class="op">)</span></span></span>
  560. <span class="r-in"><span></span></span>
  561. <span class="r-in"><span><span class="fu">style_duo_accent_inverse</span><span class="op">(</span></span></span>
  562. <span class="r-in"><span> primary_color <span class="op">=</span> <span class="st">"#006747"</span>,</span></span>
  563. <span class="r-in"><span> secondary_color <span class="op">=</span> <span class="st">"#cfc493"</span>,</span></span>
  564. <span class="r-in"><span> outfile <span class="op">=</span> <span class="va">xaringan_themer_css</span> <span class="co"># omit in your slides to write the</span></span></span>
  565. <span class="r-in"><span> <span class="co"># styles to xaringan-themer.css</span></span></span>
  566. <span class="r-in"><span><span class="op">)</span></span></span>
  567. <span class="r-in"><span></span></span>
  568. <span class="r-in"><span><span class="co"># View the CSS:</span></span></span>
  569. <span class="r-in"><span><span class="co"># file.edit(xaringan_themer_css)</span></span></span>
  570. </code></pre></div>
  571. </div>
  572. </main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
  573. </nav></aside></div>
  574. <footer><div class="pkgdown-footer-left">
  575. <p></p><p>Developed by <a href="https://www.garrickadenbuie.com" class="external-link">Garrick Aden-Buie</a>.</p>
  576. </div>
  577. <div class="pkgdown-footer-right">
  578. <p></p><p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.0.6.</p>
  579. </div>
  580. </footer></div>
  581. <script>window.jQuery('.navbar-brand + small').addClass(['badge', 'bg-secondary', 'text-light']).removeClass('text-muted')</script></body></html>