😎 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.

635 lines
29KB

  1. <!-- Generated by pkgdown: do not edit by hand -->
  2. <!DOCTYPE html>
  3. <html lang="en">
  4. <head>
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  8. <title>Monotone Accent Theme — style_mono_accent • xaringanthemer</title>
  9. <!-- jquery -->
  10. <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
  11. <!-- Bootstrap -->
  12. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" />
  13. <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script>
  14. <!-- Font Awesome icons -->
  15. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.7.1/css/all.min.css" integrity="sha256-nAmazAk6vS34Xqo0BSrTb+abbtFlgsFK7NKSi6o7Y78=" crossorigin="anonymous" />
  16. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.7.1/css/v4-shims.min.css" integrity="sha256-6qHlizsOWFskGlwVOKuns+D1nB6ssZrHQrNj1wGplHc=" crossorigin="anonymous" />
  17. <!-- clipboard.js -->
  18. <script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js" integrity="sha256-FiZwavyI2V6+EXO1U+xzLG3IKldpiTFf3153ea9zikQ=" crossorigin="anonymous"></script>
  19. <!-- headroom.js -->
  20. <script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.9.4/headroom.min.js" integrity="sha256-DJFC1kqIhelURkuza0AvYal5RxMtpzLjFhsnVIeuk+U=" crossorigin="anonymous"></script>
  21. <script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.9.4/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script>
  22. <!-- pkgdown -->
  23. <link href="../pkgdown.css" rel="stylesheet">
  24. <script src="../pkgdown.js"></script>
  25. <link href="../extra.css" rel="stylesheet">
  26. <meta property="og:title" content="Monotone Accent Theme — style_mono_accent" />
  27. <meta property="og:description" content="The default xaringan theme with a single color used for color
  28. accents on select elements (headers, bold text, etc.)." />
  29. <meta name="twitter:card" content="summary" />
  30. <meta name="robots" content="noindex">
  31. <!-- mathjax -->
  32. <script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script>
  33. <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>
  34. <!--[if lt IE 9]>
  35. <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
  36. <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  37. <![endif]-->
  38. </head>
  39. <body>
  40. <div class="container template-reference-topic">
  41. <header>
  42. <div class="navbar navbar-default navbar-fixed-top" role="navigation">
  43. <div class="container">
  44. <div class="navbar-header">
  45. <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
  46. <span class="sr-only">Toggle navigation</span>
  47. <span class="icon-bar"></span>
  48. <span class="icon-bar"></span>
  49. <span class="icon-bar"></span>
  50. </button>
  51. <span class="navbar-brand">
  52. <a class="navbar-link" href="../index.html">xaringanthemer</a>
  53. <span class="version label label-danger" data-toggle="tooltip" data-placement="bottom" title="In-development version">0.2.0.9100</span>
  54. </span>
  55. </div>
  56. <div id="navbar" class="navbar-collapse collapse">
  57. <ul class="nav navbar-nav">
  58. <li>
  59. <a href="../articles/xaringanthemer.html">Get started</a>
  60. </li>
  61. <li>
  62. <a href="../reference/index.html">Reference</a>
  63. </li>
  64. <li>
  65. <a href="../articles/themes.html">Themes</a>
  66. </li>
  67. <li>
  68. <a href="../articles/fonts.html">Fonts</a>
  69. </li>
  70. <li>
  71. <a href="../articles/template-variables.html">Template Variables</a>
  72. </li>
  73. <li>
  74. <a href="../articles/css-help.html">CSS Help</a>
  75. </li>
  76. </ul>
  77. <ul class="nav navbar-nav navbar-right">
  78. <li>
  79. <a href="../news/index.html">
  80. <span class="fa fa fa fa-newspaper-o fa-lg"></span>
  81. </a>
  82. </li>
  83. <li>
  84. <a href="https://github.com/gadenbuie/xaringanthemer">
  85. <span class="fa fa-github fa-lg"></span>
  86. </a>
  87. </li>
  88. <li>
  89. <a href="https://twitter.com/grrrck">
  90. <span class="fa fa-twitter fa-lg"></span>
  91. </a>
  92. </li>
  93. <li>
  94. <a href="https://www.garrickadenbuie.com">
  95. <span class="fa fa-home fa-lg"></span>
  96. </a>
  97. </li>
  98. </ul>
  99. </div><!--/.nav-collapse -->
  100. </div><!--/.container -->
  101. </div><!--/.navbar -->
  102. </header>
  103. <div class="row">
  104. <div class="col-md-9 contents">
  105. <div class="page-header">
  106. <h1>Monotone Accent Theme</h1>
  107. <small class="dont-index">Source: <a href='https://github.com/gadenbuie/xaringanthemer/blob/master/R/style_mono_accent.R'><code>R/style_mono_accent.R</code></a></small>
  108. <div class="hidden name"><code>style_mono_accent.Rd</code></div>
  109. </div>
  110. <div class="ref-description">
  111. <p>The default xaringan theme with a single color used for color
  112. accents on select elements (headers, bold text, etc.).</p>
  113. </div>
  114. <pre class="usage"><span class='fu'>style_mono_accent</span>(
  115. <span class='kw'>base_color</span> <span class='kw'>=</span> <span class='st'>"#43418A"</span>,
  116. <span class='kw'>white_color</span> <span class='kw'>=</span> <span class='st'>"#FFFFFF"</span>,
  117. <span class='kw'>black_color</span> <span class='kw'>=</span> <span class='st'>"#272822"</span>,
  118. <span class='kw'>text_color</span> <span class='kw'>=</span> <span class='no'>black_color</span>,
  119. <span class='kw'>header_color</span> <span class='kw'>=</span> <span class='no'>base_color</span>,
  120. <span class='kw'>background_color</span> <span class='kw'>=</span> <span class='no'>white_color</span>,
  121. <span class='kw'>link_color</span> <span class='kw'>=</span> <span class='no'>base_color</span>,
  122. <span class='kw'>text_bold_color</span> <span class='kw'>=</span> <span class='no'>base_color</span>,
  123. <span class='kw'>text_slide_number_color</span> <span class='kw'>=</span> <span class='no'>base_color</span>,
  124. <span class='kw'>padding</span> <span class='kw'>=</span> <span class='st'>"16px 64px 16px 64px"</span>,
  125. <span class='kw'>background_image</span> <span class='kw'>=</span> <span class='kw'>NULL</span>,
  126. <span class='kw'>background_size</span> <span class='kw'>=</span> <span class='kw'>NULL</span>,
  127. <span class='kw'>background_position</span> <span class='kw'>=</span> <span class='kw'>NULL</span>,
  128. <span class='kw'>code_highlight_color</span> <span class='kw'>=</span> <span class='st'>"rgba(255,255,0,0.5)"</span>,
  129. <span class='kw'>code_inline_color</span> <span class='kw'>=</span> <span class='no'>base_color</span>,
  130. <span class='kw'>code_inline_background_color</span> <span class='kw'>=</span> <span class='kw'>NULL</span>,
  131. <span class='kw'>code_inline_font_size</span> <span class='kw'>=</span> <span class='st'>"1em"</span>,
  132. <span class='kw'>inverse_background_color</span> <span class='kw'>=</span> <span class='no'>base_color</span>,
  133. <span class='kw'>inverse_text_color</span> <span class='kw'>=</span> <span class='no'>white_color</span>,
  134. <span class='kw'>inverse_text_shadow</span> <span class='kw'>=</span> <span class='fl'>FALSE</span>,
  135. <span class='kw'>inverse_header_color</span> <span class='kw'>=</span> <span class='no'>white_color</span>,
  136. <span class='kw'>title_slide_text_color</span> <span class='kw'>=</span> <span class='no'>inverse_text_color</span>,
  137. <span class='kw'>title_slide_background_color</span> <span class='kw'>=</span> <span class='no'>inverse_background_color</span>,
  138. <span class='kw'>title_slide_background_image</span> <span class='kw'>=</span> <span class='kw'>NULL</span>,
  139. <span class='kw'>title_slide_background_size</span> <span class='kw'>=</span> <span class='kw'>NULL</span>,
  140. <span class='kw'>title_slide_background_position</span> <span class='kw'>=</span> <span class='kw'>NULL</span>,
  141. <span class='kw'>footnote_color</span> <span class='kw'>=</span> <span class='kw'>NULL</span>,
  142. <span class='kw'>footnote_font_size</span> <span class='kw'>=</span> <span class='st'>"0.9em"</span>,
  143. <span class='kw'>footnote_position_bottom</span> <span class='kw'>=</span> <span class='st'>"60px"</span>,
  144. <span class='kw'>left_column_subtle_color</span> <span class='kw'>=</span> <span class='fu'><a href='apply_alpha.html'>apply_alpha</a></span>(<span class='no'>base_color</span>, <span class='fl'>0.6</span>),
  145. <span class='kw'>left_column_selected_color</span> <span class='kw'>=</span> <span class='no'>base_color</span>,
  146. <span class='kw'>blockquote_left_border_color</span> <span class='kw'>=</span> <span class='fu'><a href='apply_alpha.html'>apply_alpha</a></span>(<span class='no'>base_color</span>, <span class='fl'>0.5</span>),
  147. <span class='kw'>table_border_color</span> <span class='kw'>=</span> <span class='st'>"#666"</span>,
  148. <span class='kw'>table_row_border_color</span> <span class='kw'>=</span> <span class='st'>"#ddd"</span>,
  149. <span class='kw'>table_row_even_background_color</span> <span class='kw'>=</span> <span class='fu'><a href='lighten_darken_color.html'>lighten_color</a></span>(<span class='no'>base_color</span>, <span class='fl'>0.8</span>),
  150. <span class='kw'>base_font_size</span> <span class='kw'>=</span> <span class='st'>"20px"</span>,
  151. <span class='kw'>text_font_size</span> <span class='kw'>=</span> <span class='st'>"1rem"</span>,
  152. <span class='kw'>header_h1_font_size</span> <span class='kw'>=</span> <span class='st'>"2.75rem"</span>,
  153. <span class='kw'>header_h2_font_size</span> <span class='kw'>=</span> <span class='st'>"2.25rem"</span>,
  154. <span class='kw'>header_h3_font_size</span> <span class='kw'>=</span> <span class='st'>"1.75rem"</span>,
  155. <span class='kw'>header_background_auto</span> <span class='kw'>=</span> <span class='fl'>FALSE</span>,
  156. <span class='kw'>header_background_color</span> <span class='kw'>=</span> <span class='no'>header_color</span>,
  157. <span class='kw'>header_background_text_color</span> <span class='kw'>=</span> <span class='no'>background_color</span>,
  158. <span class='kw'>header_background_padding</span> <span class='kw'>=</span> <span class='kw'>NULL</span>,
  159. <span class='kw'>header_background_content_padding_top</span> <span class='kw'>=</span> <span class='st'>"7rem"</span>,
  160. <span class='kw'>header_background_ignore_classes</span> <span class='kw'>=</span> <span class='fu'><a href='https://rdrr.io/r/base/c.html'>c</a></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>),
  161. <span class='kw'>text_slide_number_font_size</span> <span class='kw'>=</span> <span class='st'>"0.9em"</span>,
  162. <span class='kw'>text_font_google</span> <span class='kw'>=</span> <span class='kw'>NULL</span>,
  163. <span class='kw'>text_font_family</span> <span class='kw'>=</span> <span class='st'>"Noto Sans"</span>,
  164. <span class='kw'>text_font_weight</span> <span class='kw'>=</span> <span class='st'>"normal"</span>,
  165. <span class='kw'>text_font_url</span> <span class='kw'>=</span> <span class='st'>"https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&amp;display=swap"</span>,
  166. <span class='kw'>text_font_family_fallback</span> <span class='kw'>=</span> <span class='st'>"-apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial"</span>,
  167. <span class='kw'>text_font_base</span> <span class='kw'>=</span> <span class='st'>"sans-serif"</span>,
  168. <span class='kw'>header_font_google</span> <span class='kw'>=</span> <span class='kw'>NULL</span>,
  169. <span class='kw'>header_font_family</span> <span class='kw'>=</span> <span class='st'>"Cabin"</span>,
  170. <span class='kw'>header_font_weight</span> <span class='kw'>=</span> <span class='st'>"600"</span>,
  171. <span class='kw'>header_font_url</span> <span class='kw'>=</span> <span class='st'>"https://fonts.googleapis.com/css?family=Cabin:600,600i&amp;display=swap"</span>,
  172. <span class='kw'>code_font_google</span> <span class='kw'>=</span> <span class='kw'>NULL</span>,
  173. <span class='kw'>code_font_family</span> <span class='kw'>=</span> <span class='st'>"Source Code Pro"</span>,
  174. <span class='kw'>code_font_size</span> <span class='kw'>=</span> <span class='st'>"0.9rem"</span>,
  175. <span class='kw'>code_font_url</span> <span class='kw'>=</span> <span class='st'>"https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&amp;display=swap"</span>,
  176. <span class='kw'>code_font_family_fallback</span> <span class='kw'>=</span> <span class='st'>"Menlo, Consolas, Monaco, Liberation Mono, Lucida Console"</span>,
  177. <span class='kw'>colors</span> <span class='kw'>=</span> <span class='kw'>NULL</span>,
  178. <span class='kw'>extra_css</span> <span class='kw'>=</span> <span class='kw'>NULL</span>,
  179. <span class='kw'>extra_fonts</span> <span class='kw'>=</span> <span class='kw'>NULL</span>,
  180. <span class='kw'>outfile</span> <span class='kw'>=</span> <span class='st'>"xaringan-themer.css"</span>
  181. )</pre>
  182. <h2 class="hasAnchor" id="arguments"><a class="anchor" href="#arguments"></a>Arguments</h2>
  183. <table class="ref-arguments">
  184. <colgroup><col class="name" /><col class="desc" /></colgroup>
  185. <tr>
  186. <th>base_color</th>
  187. <td><p>Monotone Base Color, works best with a strong color.
  188. Defaults to #43418A. Used in multiple CSS rules.</p></td>
  189. </tr>
  190. <tr>
  191. <th>white_color</th>
  192. <td><p>Brightest color used. Defaults to #FFFFFF. Used in
  193. multiple CSS rules.</p></td>
  194. </tr>
  195. <tr>
  196. <th>black_color</th>
  197. <td><p>Darkest color used. Defaults to #272822. Used in multiple
  198. CSS rules.</p></td>
  199. </tr>
  200. <tr>
  201. <th>text_color</th>
  202. <td><p>Text Color. Defaults to <code>black_color</code>. Modifies the <code>body</code>
  203. element.</p></td>
  204. </tr>
  205. <tr>
  206. <th>header_color</th>
  207. <td><p>Header Color. Defaults to <code>base_color</code>. Modifies the
  208. <code>h1, h2, h3</code> elements.</p></td>
  209. </tr>
  210. <tr>
  211. <th>background_color</th>
  212. <td><p>Slide Background Color. Defaults to <code>white_color</code>.
  213. Modifies the <code>.remark-slide-content</code> class.</p></td>
  214. </tr>
  215. <tr>
  216. <th>link_color</th>
  217. <td><p>Link Color. Defaults to <code>base_color</code>. Modifies the
  218. <code>a, a &gt; code</code> elements.</p></td>
  219. </tr>
  220. <tr>
  221. <th>text_bold_color</th>
  222. <td><p>Bold Text Color. Defaults to <code>base_color</code>. Modifies
  223. the <code>strong</code> element.</p></td>
  224. </tr>
  225. <tr>
  226. <th>text_slide_number_color</th>
  227. <td><p>Slide Number Color. Defaults to <code>base_color</code>.
  228. Modifies the <code>.remark-slide-number</code> class.</p></td>
  229. </tr>
  230. <tr>
  231. <th>padding</th>
  232. <td><p>Slide Padding in <code>top right [bottom left]</code> format. Defaults
  233. to 16px 64px 16px 64px. Modifies the <code>.remark-slide-content</code> class.</p></td>
  234. </tr>
  235. <tr>
  236. <th>background_image</th>
  237. <td><p>Background image applied to each <em>and every</em> slide.
  238. Set <code>title_slide_background_image = "none"</code> to remove the background image
  239. from the title slide. Defaults to <code>NULL</code>. Modifies the
  240. <code>.remark-slide-content</code> class.</p></td>
  241. </tr>
  242. <tr>
  243. <th>background_size</th>
  244. <td><p>Background image size, requires <code>background_image</code> to
  245. be set. If <code>background_image</code> is set, <code>background_size</code> will default to
  246. <code>cover</code> so the backround fills the screen. If both <code>background_image</code> and
  247. <code>background_position</code> are set, will default to 100 percent. Defaults to
  248. <code>NULL</code>. Modifies the <code>.remark-slide-content</code> class.</p></td>
  249. </tr>
  250. <tr>
  251. <th>background_position</th>
  252. <td><p>Background image position, requires
  253. <code>background_image</code> to be set, and it is recommended to adjust
  254. <code>background_size</code>. Defaults to <code>NULL</code>. Modifies the
  255. <code>.remark-slide-content</code> class.</p></td>
  256. </tr>
  257. <tr>
  258. <th>code_highlight_color</th>
  259. <td><p>Code Line Highlight. Defaults to
  260. rgba(255,255,0,0.5). Modifies the <code>.remark-code-line-highlighted</code> class.</p></td>
  261. </tr>
  262. <tr>
  263. <th>code_inline_color</th>
  264. <td><p>Inline Code Color. Defaults to <code>base_color</code>.
  265. Modifies the <code>.remark-inline-code</code> class.</p></td>
  266. </tr>
  267. <tr>
  268. <th>code_inline_background_color</th>
  269. <td><p>Inline Code Background Color. Defaults
  270. to <code>NULL</code>. Modifies the <code>.remark-inline-code</code> class.</p></td>
  271. </tr>
  272. <tr>
  273. <th>code_inline_font_size</th>
  274. <td><p>Inline Code Text Font Size. Defaults to 1em.
  275. Modifies the <code>.remark-inline-code</code> class.</p></td>
  276. </tr>
  277. <tr>
  278. <th>inverse_background_color</th>
  279. <td><p>Inverse Background Color. Defaults to
  280. <code>base_color</code>. Modifies the <code>.inverse</code> class.</p></td>
  281. </tr>
  282. <tr>
  283. <th>inverse_text_color</th>
  284. <td><p>Inverse Text Color. Defaults to <code>white_color</code>.
  285. Modifies the <code>.inverse</code> class.</p></td>
  286. </tr>
  287. <tr>
  288. <th>inverse_text_shadow</th>
  289. <td><p>Enables Shadow on text of inverse slides.
  290. Defaults to <code>FALSE</code>. Modifies the <code>.inverse</code> class.</p></td>
  291. </tr>
  292. <tr>
  293. <th>inverse_header_color</th>
  294. <td><p>Inverse Header Color. Defaults to <code>white_color</code>.
  295. Modifies the <code>.inverse h1, .inverse h2, .inverse h3</code> classes.</p></td>
  296. </tr>
  297. <tr>
  298. <th>title_slide_text_color</th>
  299. <td><p>Title Slide Text Color. Defaults to
  300. <code>inverse_text_color</code>. Modifies the <code>.title-slide</code> class.</p></td>
  301. </tr>
  302. <tr>
  303. <th>title_slide_background_color</th>
  304. <td><p>Title Slide Background Color. Defaults
  305. to <code>inverse_background_color</code>. Modifies the <code>.title-slide</code> class.</p></td>
  306. </tr>
  307. <tr>
  308. <th>title_slide_background_image</th>
  309. <td><p>Title Slide Background Image URL.
  310. Defaults to <code>NULL</code>. Modifies the <code>.title-slide</code> class.</p></td>
  311. </tr>
  312. <tr>
  313. <th>title_slide_background_size</th>
  314. <td><p>Title Slide Background Image Size,
  315. defaults to "cover" if background image is set. Defaults to <code>NULL</code>.
  316. Modifies the <code>.title-slide</code> class.</p></td>
  317. </tr>
  318. <tr>
  319. <th>title_slide_background_position</th>
  320. <td><p>Title Slide Background Image
  321. Position. Defaults to <code>NULL</code>. Modifies the <code>.title-slide</code> class.</p></td>
  322. </tr>
  323. <tr>
  324. <th>footnote_color</th>
  325. <td><p>Footnote text color (if <code>NA</code>, then it will be the same
  326. color as <code>text_color</code>). Defaults to <code>NULL</code>. Modifies the <code>.footnote</code>
  327. class.</p></td>
  328. </tr>
  329. <tr>
  330. <th>footnote_font_size</th>
  331. <td><p>Footnote font size. Defaults to 0.9em. Modifies
  332. the <code>.footnote</code> class.</p></td>
  333. </tr>
  334. <tr>
  335. <th>footnote_position_bottom</th>
  336. <td><p>Footnote location from bottom of screen.
  337. Defaults to 60px. Modifies the <code>.footnote</code> class.</p></td>
  338. </tr>
  339. <tr>
  340. <th>left_column_subtle_color</th>
  341. <td><p>Left Column Text (not last). Defaults to
  342. <code><a href='apply_alpha.html'>apply_alpha(base_color, 0.6)</a></code>. Modifies the
  343. <code>.left-column h2, .left-column h3</code> classes.</p></td>
  344. </tr>
  345. <tr>
  346. <th>left_column_selected_color</th>
  347. <td><p>Left Column Current Selection. Defaults to
  348. <code>base_color</code>. Modifies the
  349. <code>.left-column h2:last-of-type, .left-column h3:last-child</code> classes.</p></td>
  350. </tr>
  351. <tr>
  352. <th>blockquote_left_border_color</th>
  353. <td><p>Blockquote Left Border Color. Defaults
  354. to <code><a href='apply_alpha.html'>apply_alpha(base_color, 0.5)</a></code>. Modifies the <code>blockquote</code> element.</p></td>
  355. </tr>
  356. <tr>
  357. <th>table_border_color</th>
  358. <td><p>Table top/bottom border. Defaults to #666.
  359. Modifies the <code>table: border-top, border-bottom</code> elements.</p></td>
  360. </tr>
  361. <tr>
  362. <th>table_row_border_color</th>
  363. <td><p>Table row inner bottom border. Defaults to
  364. #ddd. Modifies the <code>table thead th: border-bottom</code> elements.</p></td>
  365. </tr>
  366. <tr>
  367. <th>table_row_even_background_color</th>
  368. <td><p>Table Even Row Background Color.
  369. Defaults to <code><a href='lighten_darken_color.html'>lighten_color(base_color, 0.8)</a></code>. Modifies the
  370. <code>thead, tfoot, tr:nth-child(even)</code> elements.</p></td>
  371. </tr>
  372. <tr>
  373. <th>base_font_size</th>
  374. <td><p>Base Font Size for All Slide Elements (must be <code>px</code>).
  375. Defaults to 20px. Modifies the <code>html</code> element.</p></td>
  376. </tr>
  377. <tr>
  378. <th>text_font_size</th>
  379. <td><p>Slide Body Text Font Size. Defaults to 1rem. Modifies
  380. the <code>.remark-slide-content</code> class.</p></td>
  381. </tr>
  382. <tr>
  383. <th>header_h1_font_size</th>
  384. <td><p>h1 Header Text Font Size. Defaults to 2.75rem.
  385. Modifies the <code>.remark-slide-content h1</code> class.</p></td>
  386. </tr>
  387. <tr>
  388. <th>header_h2_font_size</th>
  389. <td><p>h2 Header Text Font Size. Defaults to 2.25rem.
  390. Modifies the <code>.remark-slide-content h2</code> class.</p></td>
  391. </tr>
  392. <tr>
  393. <th>header_h3_font_size</th>
  394. <td><p>h3 Header Text Font Size. Defaults to 1.75rem.
  395. Modifies the <code>.remark-slide-content h3</code> class.</p></td>
  396. </tr>
  397. <tr>
  398. <th>header_background_auto</th>
  399. <td><p>Add background under slide title automatically
  400. for h1 header elements. If not enabled, use <code>class: header_background</code> to
  401. enable. Defaults to <code>FALSE</code>.</p></td>
  402. </tr>
  403. <tr>
  404. <th>header_background_color</th>
  405. <td><p>Background Color for h1 Header with
  406. Background. Defaults to <code>header_color</code>. Modifies the
  407. <code>.remark-slide-content h1</code> class.</p></td>
  408. </tr>
  409. <tr>
  410. <th>header_background_text_color</th>
  411. <td><p>Text Color for h1 Header with
  412. Background. Defaults to <code>background_color</code>. Modifies the
  413. <code>.remark-slide-content h1</code> class.</p></td>
  414. </tr>
  415. <tr>
  416. <th>header_background_padding</th>
  417. <td><p>Padding for h1 Header with Background.
  418. Defaults to <code>NULL</code>. Modifies the <code>.remark-slide-content h1</code> class.</p></td>
  419. </tr>
  420. <tr>
  421. <th>header_background_content_padding_top</th>
  422. <td><p>Top Padding for Content in
  423. Slide with Header with Background. Defaults to 7rem. Modifies the
  424. <code>.remark-slide-content</code> class.</p></td>
  425. </tr>
  426. <tr>
  427. <th>header_background_ignore_classes</th>
  428. <td><p>Slide Classes Where Header with
  429. Background will not be Applied. Defaults to
  430. <code><a href='https://rdrr.io/r/base/c.html'>c('normal', 'inverse', 'title', 'middle', 'bottom')</a></code>. Modifies the
  431. <code>.remark-slide-content</code> class.</p></td>
  432. </tr>
  433. <tr>
  434. <th>text_slide_number_font_size</th>
  435. <td><p>Slide Number Text Font Size. Defaults to
  436. 0.9em. Modifies the <code>.remark-slide-number</code> class.</p></td>
  437. </tr>
  438. <tr>
  439. <th>text_font_google</th>
  440. <td><p>Use <code><a href='google_font.html'>google_font()</a></code> to specify body font. Defaults
  441. to <code>NULL</code>. Modifies the <code>body</code> element.</p></td>
  442. </tr>
  443. <tr>
  444. <th>text_font_family</th>
  445. <td><p>Body Text Font Family (xaringan default is
  446. <code>'Droid Serif'</code>). Defaults to Noto Sans. Modifies the <code>body</code> element.</p></td>
  447. </tr>
  448. <tr>
  449. <th>text_font_weight</th>
  450. <td><p>Body Text Font Weight. Defaults to normal. Modifies
  451. the <code>body</code> element.</p></td>
  452. </tr>
  453. <tr>
  454. <th>text_font_url</th>
  455. <td><p>Body Text Font URL(s). Defaults to
  456. https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&amp;display=swap.
  457. Modifies the <code>@import url()</code> elements.</p></td>
  458. </tr>
  459. <tr>
  460. <th>text_font_family_fallback</th>
  461. <td><p>Body Text Font Fallbacks. Defaults to
  462. -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue,
  463. helvetica, Ubuntu, roboto, noto, segoe ui, arial. Modifies the <code>body</code>
  464. element.</p></td>
  465. </tr>
  466. <tr>
  467. <th>text_font_base</th>
  468. <td><p>Body Text Base Font (Total Failure Fallback). Defaults
  469. to sans-serif. Modifies the <code>body</code> element.</p></td>
  470. </tr>
  471. <tr>
  472. <th>header_font_google</th>
  473. <td><p>Use <code><a href='google_font.html'>google_font()</a></code> to specify header font.
  474. Defaults to <code>NULL</code>. Modifies the <code>body</code> element.</p></td>
  475. </tr>
  476. <tr>
  477. <th>header_font_family</th>
  478. <td><p>Header Font Family (xaringan default is
  479. <code>'Yanone Kaffeesatz'</code>). Defaults to Cabin. Modifies the <code>h1, h2, h3</code>
  480. elements.</p></td>
  481. </tr>
  482. <tr>
  483. <th>header_font_weight</th>
  484. <td><p>Header Font Weight. Defaults to 600. Modifies the
  485. <code>h1, h2, h3</code> elements.</p></td>
  486. </tr>
  487. <tr>
  488. <th>header_font_url</th>
  489. <td><p>Header Font URL. Defaults to
  490. https://fonts.googleapis.com/css?family=Cabin:600,600i&amp;display=swap.
  491. Modifies the <code>@import url</code> elements.</p></td>
  492. </tr>
  493. <tr>
  494. <th>code_font_google</th>
  495. <td><p>Use <code><a href='google_font.html'>google_font()</a></code> to specify code font. Defaults
  496. to <code>NULL</code>. Modifies the <code>body</code> element.</p></td>
  497. </tr>
  498. <tr>
  499. <th>code_font_family</th>
  500. <td><p>Code Font Family. Defaults to Source Code Pro.
  501. Modifies the <code>.remark-code, .remark-inline-code</code> classes.</p></td>
  502. </tr>
  503. <tr>
  504. <th>code_font_size</th>
  505. <td><p>Code Text Font Size. Defaults to 0.9rem. Modifies the
  506. <code>.remark-inline</code> class.</p></td>
  507. </tr>
  508. <tr>
  509. <th>code_font_url</th>
  510. <td><p>Code Font URL. Defaults to
  511. https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&amp;display=swap.
  512. Modifies the <code>@import url</code> elements.</p></td>
  513. </tr>
  514. <tr>
  515. <th>code_font_family_fallback</th>
  516. <td><p>Code Font Fallback. Defaults to Menlo,
  517. Consolas, Monaco, Liberation Mono, Lucida Console. Modifies the
  518. <code>.remark-code, .remark-inline-code</code> classes.</p></td>
  519. </tr>
  520. <tr>
  521. <th>colors</th>
  522. <td><p>A named vector of custom colors. The names of the colors
  523. become CSS variables and classes that can be used within your slides.
  524. For example, <code>colors = c(blue = "#bad4ed")</code> adds a CSS variable
  525. <code>--blue</code>, a <code>.blue</code> CSS class that applies the color to the text or
  526. foreground color, and a <code>.bg-blue</code> CSS class that applies the color
  527. to the background.</p></td>
  528. </tr>
  529. <tr>
  530. <th>extra_css</th>
  531. <td><p>A named list of CSS definitions each containing a named list
  532. of CSS property-value pairs, i.e.
  533. <code><a href='https://rdrr.io/r/base/list.html'>list(".class-id" = list("css-property" = "value"))</a></code></p></td>
  534. </tr>
  535. <tr>
  536. <th>extra_fonts</th>
  537. <td><p>A list of additional fonts to import, each list element
  538. can be either a URL as a character string or a call to
  539. <code><a href='google_font.html'>google_font</a>()</code></p></td>
  540. </tr>
  541. <tr>
  542. <th>outfile</th>
  543. <td><p>Customized xaringan CSS output file name, default is "xaringan-themer.css"</p></td>
  544. </tr>
  545. </table>
  546. <h2 class="hasAnchor" id="see-also"><a class="anchor" href="#see-also"></a>See also</h2>
  547. <div class='dont-index'><p>Other themes:
  548. <code><a href='style_duo_accent_inverse.html'>style_duo_accent_inverse</a>()</code>,
  549. <code><a href='style_duo_accent.html'>style_duo_accent</a>()</code>,
  550. <code><a href='style_duo.html'>style_duo</a>()</code>,
  551. <code><a href='style_mono_accent_inverse.html'>style_mono_accent_inverse</a>()</code>,
  552. <code><a href='style_mono_dark.html'>style_mono_dark</a>()</code>,
  553. <code><a href='style_mono_light.html'>style_mono_light</a>()</code>,
  554. <code><a href='style_solarized_dark.html'>style_solarized_dark</a>()</code>,
  555. <code><a href='style_solarized_light.html'>style_solarized_light</a>()</code>,
  556. <code><a href='style_xaringan.html'>style_xaringan</a>()</code></p>
  557. <p>Other Monotone themes:
  558. <code><a href='style_mono_accent_inverse.html'>style_mono_accent_inverse</a>()</code>,
  559. <code><a href='style_mono_dark.html'>style_mono_dark</a>()</code>,
  560. <code><a href='style_mono_light.html'>style_mono_light</a>()</code></p></div>
  561. </div>
  562. <div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
  563. <h2>Contents</h2>
  564. <ul class="nav nav-pills nav-stacked">
  565. <li><a href="#arguments">Arguments</a></li>
  566. <li><a href="#see-also">See also</a></li>
  567. </ul>
  568. </div>
  569. </div>
  570. <footer>
  571. <div class="copyright">
  572. <p>Developed by <a href='https://www.garrickadenbuie.com'>Garrick Aden-Buie</a>.</p>
  573. </div>
  574. <div class="pkgdown">
  575. <p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.4.1.</p>
  576. </div>
  577. </footer>
  578. </div>
  579. </body>
  580. </html>