😎 Give your xaringan slides some style
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

530 lines
28KB

  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>Solarized Dark Theme — style_solarized_dark • 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="Solarized Dark Theme — style_solarized_dark" />
  27. <meta property="og:description" content="A dark theme based around on the solarized color scheme.
  28. Works well with &quot;highlightStyle: solarized-dark&quot; or
  29. &quot;highlighStyle: solarized-light&quot;." />
  30. <meta name="twitter:card" content="summary" />
  31. <meta name="robots" content="noindex">
  32. <!-- mathjax -->
  33. <script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script>
  34. <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>
  35. <!--[if lt IE 9]>
  36. <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
  37. <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  38. <![endif]-->
  39. </head>
  40. <body>
  41. <div class="container template-reference-topic">
  42. <header>
  43. <div class="navbar navbar-default navbar-fixed-top" role="navigation">
  44. <div class="container">
  45. <div class="navbar-header">
  46. <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
  47. <span class="sr-only">Toggle navigation</span>
  48. <span class="icon-bar"></span>
  49. <span class="icon-bar"></span>
  50. <span class="icon-bar"></span>
  51. </button>
  52. <span class="navbar-brand">
  53. <a class="navbar-link" href="../index.html">xaringanthemer</a>
  54. <span class="version label label-danger" data-toggle="tooltip" data-placement="bottom" title="In-development version">0.2.0.9100</span>
  55. </span>
  56. </div>
  57. <div id="navbar" class="navbar-collapse collapse">
  58. <ul class="nav navbar-nav">
  59. <li>
  60. <a href="../index.html">
  61. <span class="fa fa-home fa-lg"></span>
  62. </a>
  63. </li>
  64. <li>
  65. <a href="../articles/xaringanthemer.html">Get started</a>
  66. </li>
  67. <li>
  68. <a href="../reference/index.html">Reference</a>
  69. </li>
  70. <li>
  71. <a href="../articles/themes.html">Themes</a>
  72. </li>
  73. <li>
  74. <a href="../articles/fonts.html">Fonts</a>
  75. </li>
  76. <li>
  77. <a href="../articles/template-variables.html">Template Variables</a>
  78. </li>
  79. <li>
  80. <a href="../articles/css-help.html">CSS Help</a>
  81. </li>
  82. </ul>
  83. <ul class="nav navbar-nav navbar-right">
  84. <li>
  85. <a href="https://github.com/gadenbuie/xaringanthemer">
  86. <span class="fa fa-github fa-lg"></span>
  87. </a>
  88. </li>
  89. <li>
  90. <a href="https://twitter.com/grrrck">
  91. <span class="fa fa-twitter fa-lg"></span>
  92. </a>
  93. </li>
  94. </ul>
  95. </div><!--/.nav-collapse -->
  96. </div><!--/.container -->
  97. </div><!--/.navbar -->
  98. </header>
  99. <div class="row">
  100. <div class="col-md-9 contents">
  101. <div class="page-header">
  102. <h1>Solarized Dark Theme</h1>
  103. <small class="dont-index">Source: <a href='https://github.com/gadenbuie/xaringanthemer/blob/master/R/style_solarized_dark.R'><code>R/style_solarized_dark.R</code></a></small>
  104. <div class="hidden name"><code>style_solarized_dark.Rd</code></div>
  105. </div>
  106. <div class="ref-description">
  107. <p>A dark theme based around on the solarized color scheme.
  108. Works well with "<code>highlightStyle: solarized-dark</code>" or
  109. "<code>highlighStyle: solarized-light</code>".</p>
  110. </div>
  111. <pre class="usage"><span class='fu'>style_solarized_dark</span>(
  112. <span class='kw'>text_color</span> <span class='kw'>=</span> <span class='st'>"#839496"</span>,
  113. <span class='kw'>header_color</span> <span class='kw'>=</span> <span class='st'>"#dc322f"</span>,
  114. <span class='kw'>background_color</span> <span class='kw'>=</span> <span class='st'>"#002b36"</span>,
  115. <span class='kw'>link_color</span> <span class='kw'>=</span> <span class='st'>"#b58900"</span>,
  116. <span class='kw'>text_bold_color</span> <span class='kw'>=</span> <span class='st'>"#d33682"</span>,
  117. <span class='kw'>text_slide_number_color</span> <span class='kw'>=</span> <span class='st'>"#586e75"</span>,
  118. <span class='kw'>padding</span> <span class='kw'>=</span> <span class='st'>"16px 64px 16px 64px"</span>,
  119. <span class='kw'>background_image</span> <span class='kw'>=</span> <span class='kw'>NULL</span>,
  120. <span class='kw'>background_size</span> <span class='kw'>=</span> <span class='kw'>NULL</span>,
  121. <span class='kw'>background_position</span> <span class='kw'>=</span> <span class='kw'>NULL</span>,
  122. <span class='kw'>code_highlight_color</span> <span class='kw'>=</span> <span class='st'>"#268bd240"</span>,
  123. <span class='kw'>code_inline_color</span> <span class='kw'>=</span> <span class='st'>"#6c71c4"</span>,
  124. <span class='kw'>code_inline_background_color</span> <span class='kw'>=</span> <span class='kw'>NULL</span>,
  125. <span class='kw'>code_inline_font_size</span> <span class='kw'>=</span> <span class='st'>"1rem"</span>,
  126. <span class='kw'>inverse_background_color</span> <span class='kw'>=</span> <span class='st'>"#fdf6e3"</span>,
  127. <span class='kw'>inverse_text_color</span> <span class='kw'>=</span> <span class='st'>"#002b36"</span>,
  128. <span class='kw'>inverse_text_shadow</span> <span class='kw'>=</span> <span class='fl'>FALSE</span>,
  129. <span class='kw'>inverse_header_color</span> <span class='kw'>=</span> <span class='no'>inverse_text_color</span>,
  130. <span class='kw'>title_slide_text_color</span> <span class='kw'>=</span> <span class='no'>inverse_text_color</span>,
  131. <span class='kw'>title_slide_background_color</span> <span class='kw'>=</span> <span class='no'>inverse_background_color</span>,
  132. <span class='kw'>title_slide_background_image</span> <span class='kw'>=</span> <span class='kw'>NULL</span>,
  133. <span class='kw'>title_slide_background_size</span> <span class='kw'>=</span> <span class='kw'>NULL</span>,
  134. <span class='kw'>title_slide_background_position</span> <span class='kw'>=</span> <span class='kw'>NULL</span>,
  135. <span class='kw'>footnote_color</span> <span class='kw'>=</span> <span class='kw'>NULL</span>,
  136. <span class='kw'>footnote_font_size</span> <span class='kw'>=</span> <span class='st'>"0.9rem"</span>,
  137. <span class='kw'>footnote_position_bottom</span> <span class='kw'>=</span> <span class='st'>"60px"</span>,
  138. <span class='kw'>left_column_subtle_color</span> <span class='kw'>=</span> <span class='st'>"#586e75"</span>,
  139. <span class='kw'>left_column_selected_color</span> <span class='kw'>=</span> <span class='st'>"#93a1a1"</span>,
  140. <span class='kw'>blockquote_left_border_color</span> <span class='kw'>=</span> <span class='st'>"#cb4b16"</span>,
  141. <span class='kw'>table_border_color</span> <span class='kw'>=</span> <span class='st'>"#657b83"</span>,
  142. <span class='kw'>table_row_border_color</span> <span class='kw'>=</span> <span class='st'>"#657b83"</span>,
  143. <span class='kw'>table_row_even_background_color</span> <span class='kw'>=</span> <span class='st'>"#073642"</span>,
  144. <span class='kw'>base_font_size</span> <span class='kw'>=</span> <span class='st'>"20px"</span>,
  145. <span class='kw'>text_font_size</span> <span class='kw'>=</span> <span class='st'>"1rem"</span>,
  146. <span class='kw'>header_h1_font_size</span> <span class='kw'>=</span> <span class='st'>"2.75rem"</span>,
  147. <span class='kw'>header_h2_font_size</span> <span class='kw'>=</span> <span class='st'>"2.25rem"</span>,
  148. <span class='kw'>header_h3_font_size</span> <span class='kw'>=</span> <span class='st'>"1.75rem"</span>,
  149. <span class='kw'>header_background_auto</span> <span class='kw'>=</span> <span class='fl'>FALSE</span>,
  150. <span class='kw'>header_background_color</span> <span class='kw'>=</span> <span class='no'>header_color</span>,
  151. <span class='kw'>header_background_text_color</span> <span class='kw'>=</span> <span class='no'>background_color</span>,
  152. <span class='kw'>header_background_padding</span> <span class='kw'>=</span> <span class='kw'>NULL</span>,
  153. <span class='kw'>header_background_content_padding_top</span> <span class='kw'>=</span> <span class='st'>"7rem"</span>,
  154. <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>),
  155. <span class='kw'>text_slide_number_font_size</span> <span class='kw'>=</span> <span class='st'>"0.9rem"</span>,
  156. <span class='kw'>text_font_google</span> <span class='kw'>=</span> <span class='kw'>NULL</span>,
  157. <span class='kw'>text_font_family</span> <span class='kw'>=</span> <span class='st'>"Noto Sans"</span>,
  158. <span class='kw'>text_font_weight</span> <span class='kw'>=</span> <span class='st'>"normal"</span>,
  159. <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>,
  160. <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>,
  161. <span class='kw'>text_font_base</span> <span class='kw'>=</span> <span class='st'>"sans-serif"</span>,
  162. <span class='kw'>header_font_google</span> <span class='kw'>=</span> <span class='kw'>NULL</span>,
  163. <span class='kw'>header_font_family</span> <span class='kw'>=</span> <span class='st'>"Cabin"</span>,
  164. <span class='kw'>header_font_weight</span> <span class='kw'>=</span> <span class='st'>"600"</span>,
  165. <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>,
  166. <span class='kw'>code_font_google</span> <span class='kw'>=</span> <span class='kw'>NULL</span>,
  167. <span class='kw'>code_font_family</span> <span class='kw'>=</span> <span class='st'>"Source Code Pro"</span>,
  168. <span class='kw'>code_font_size</span> <span class='kw'>=</span> <span class='st'>"0.9rem"</span>,
  169. <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>,
  170. <span class='kw'>code_font_family_fallback</span> <span class='kw'>=</span> <span class='st'>"Menlo, Consolas, Monaco, Liberation Mono, Lucida Console"</span>,
  171. <span class='kw'>colors</span> <span class='kw'>=</span> <span class='kw'>NULL</span>,
  172. <span class='kw'>extra_css</span> <span class='kw'>=</span> <span class='kw'>NULL</span>,
  173. <span class='kw'>extra_fonts</span> <span class='kw'>=</span> <span class='kw'>NULL</span>,
  174. <span class='kw'>outfile</span> <span class='kw'>=</span> <span class='st'>"xaringan-themer.css"</span>
  175. )</pre>
  176. <h2 class="hasAnchor" id="arguments"><a class="anchor" href="#arguments"></a>Arguments</h2>
  177. <table class="ref-arguments">
  178. <colgroup><col class="name" /><col class="desc" /></colgroup>
  179. <tr>
  180. <th>text_color</th>
  181. <td><p>Text Color. Defaults to #839496. Modifies the <code>body</code> element.</p></td>
  182. </tr>
  183. <tr>
  184. <th>header_color</th>
  185. <td><p>Header Color. Defaults to #dc322f. Modifies the <code>h1, h2, h3</code> elements.</p></td>
  186. </tr>
  187. <tr>
  188. <th>background_color</th>
  189. <td><p>Slide Background Color. Defaults to #002b36. Modifies the <code>.remark-slide-content</code> class.</p></td>
  190. </tr>
  191. <tr>
  192. <th>link_color</th>
  193. <td><p>Link Color. Defaults to #b58900. Modifies the <code>a, a &gt; code</code> elements.</p></td>
  194. </tr>
  195. <tr>
  196. <th>text_bold_color</th>
  197. <td><p>Bold Text Color. Defaults to #d33682. Modifies the <code>strong</code> element.</p></td>
  198. </tr>
  199. <tr>
  200. <th>text_slide_number_color</th>
  201. <td><p>Slide Number Color. Defaults to #586e75. Modifies the <code>.remark-slide-number</code> class.</p></td>
  202. </tr>
  203. <tr>
  204. <th>padding</th>
  205. <td><p>Slide Padding in <code>top right [bottom left]</code> format. Defaults to 16px 64px 16px 64px. Modifies the <code>.remark-slide-content</code> class.</p></td>
  206. </tr>
  207. <tr>
  208. <th>background_image</th>
  209. <td><p>Background image applied to each <em>and every</em> slide. Set <code>title_slide_background_image = "none"</code> to remove the background image from the title slide. Defaults to <code>NULL</code>. Modifies the <code>.remark-slide-content</code> class.</p></td>
  210. </tr>
  211. <tr>
  212. <th>background_size</th>
  213. <td><p>Background image size, requires <code>background_image</code> to be set. If <code>background_image</code> is set, <code>background_size</code> will default to <code>cover</code> so the backround fills the screen. If both <code>background_image</code> and <code>background_position</code> are set, will default to 100 percent. Defaults to <code>NULL</code>. Modifies the <code>.remark-slide-content</code> class.</p></td>
  214. </tr>
  215. <tr>
  216. <th>background_position</th>
  217. <td><p>Background image position, requires <code>background_image</code> to be set, and it is recommended to adjust <code>background_size</code>. Defaults to <code>NULL</code>. Modifies the <code>.remark-slide-content</code> class.</p></td>
  218. </tr>
  219. <tr>
  220. <th>code_highlight_color</th>
  221. <td><p>Code Line Highlight. Defaults to #268bd240. Modifies the <code>.remark-code-line-highlighted</code> class.</p></td>
  222. </tr>
  223. <tr>
  224. <th>code_inline_color</th>
  225. <td><p>Inline Code Color. Defaults to #6c71c4. Modifies the <code>.remark-inline-code</code> class.</p></td>
  226. </tr>
  227. <tr>
  228. <th>code_inline_background_color</th>
  229. <td><p>Inline Code Background Color. Defaults to <code>NULL</code>. Modifies the <code>.remark-inline-code</code> class.</p></td>
  230. </tr>
  231. <tr>
  232. <th>code_inline_font_size</th>
  233. <td><p>Inline Code Text Font Size. Defaults to 1rem. Modifies the <code>.remark-inline-code</code> class.</p></td>
  234. </tr>
  235. <tr>
  236. <th>inverse_background_color</th>
  237. <td><p>Inverse Background Color. Defaults to #fdf6e3. Modifies the <code>.inverse</code> class.</p></td>
  238. </tr>
  239. <tr>
  240. <th>inverse_text_color</th>
  241. <td><p>Inverse Text Color. Defaults to #002b36. Modifies the <code>.inverse</code> class.</p></td>
  242. </tr>
  243. <tr>
  244. <th>inverse_text_shadow</th>
  245. <td><p>Enables Shadow on text of inverse slides. Defaults to <code>FALSE</code>. Modifies the <code>.inverse</code> class.</p></td>
  246. </tr>
  247. <tr>
  248. <th>inverse_header_color</th>
  249. <td><p>Inverse Header Color. Defaults to <code>inverse_text_color</code>. Modifies the <code>.inverse h1, .inverse h2, .inverse h3</code> classes.</p></td>
  250. </tr>
  251. <tr>
  252. <th>title_slide_text_color</th>
  253. <td><p>Title Slide Text Color. Defaults to <code>inverse_text_color</code>. Modifies the <code>.title-slide</code> class.</p></td>
  254. </tr>
  255. <tr>
  256. <th>title_slide_background_color</th>
  257. <td><p>Title Slide Background Color. Defaults to <code>inverse_background_color</code>. Modifies the <code>.title-slide</code> class.</p></td>
  258. </tr>
  259. <tr>
  260. <th>title_slide_background_image</th>
  261. <td><p>Title Slide Background Image URL. Defaults to <code>NULL</code>. Modifies the <code>.title-slide</code> class.</p></td>
  262. </tr>
  263. <tr>
  264. <th>title_slide_background_size</th>
  265. <td><p>Title Slide Background Image Size, defaults to "cover" if background image is set. Defaults to <code>NULL</code>. Modifies the <code>.title-slide</code> class.</p></td>
  266. </tr>
  267. <tr>
  268. <th>title_slide_background_position</th>
  269. <td><p>Title Slide Background Image Position. Defaults to <code>NULL</code>. Modifies the <code>.title-slide</code> class.</p></td>
  270. </tr>
  271. <tr>
  272. <th>footnote_color</th>
  273. <td><p>Footnote text color (if <code>NA</code>, then it will be the same color as <code>text_color</code>). Defaults to <code>NULL</code>. Modifies the <code>.footnote</code> class.</p></td>
  274. </tr>
  275. <tr>
  276. <th>footnote_font_size</th>
  277. <td><p>Footnote font size. Defaults to 0.9rem. Modifies the <code>.footnote</code> class.</p></td>
  278. </tr>
  279. <tr>
  280. <th>footnote_position_bottom</th>
  281. <td><p>Footnote location from bottom of screen. Defaults to 60px. Modifies the <code>.footnote</code> class.</p></td>
  282. </tr>
  283. <tr>
  284. <th>left_column_subtle_color</th>
  285. <td><p>Left Column Text (not last). Defaults to #586e75. Modifies the <code>.left-column h2, .left-column h3</code> classes.</p></td>
  286. </tr>
  287. <tr>
  288. <th>left_column_selected_color</th>
  289. <td><p>Left Column Current Selection. Defaults to #93a1a1. Modifies the <code>.left-column h2:last-of-type, .left-column h3:last-child</code> classes.</p></td>
  290. </tr>
  291. <tr>
  292. <th>blockquote_left_border_color</th>
  293. <td><p>Blockquote Left Border Color. Defaults to #cb4b16. Modifies the <code>blockquote</code> element.</p></td>
  294. </tr>
  295. <tr>
  296. <th>table_border_color</th>
  297. <td><p>Table top/bottom border. Defaults to #657b83. Modifies the <code>table: border-top, border-bottom</code> elements.</p></td>
  298. </tr>
  299. <tr>
  300. <th>table_row_border_color</th>
  301. <td><p>Table row inner bottom border. Defaults to #657b83. Modifies the <code>table thead th: border-bottom</code> elements.</p></td>
  302. </tr>
  303. <tr>
  304. <th>table_row_even_background_color</th>
  305. <td><p>Table Even Row Background Color. Defaults to #073642. Modifies the <code>thead, tfoot, tr:nth-child(even)</code> elements.</p></td>
  306. </tr>
  307. <tr>
  308. <th>base_font_size</th>
  309. <td><p>Base Font Size for All Slide Elements (must be <code>px</code>). Defaults to 20px. Modifies the <code>html</code> element.</p></td>
  310. </tr>
  311. <tr>
  312. <th>text_font_size</th>
  313. <td><p>Slide Body Text Font Size. Defaults to 1rem. Modifies the <code>.remark-slide-content</code> class.</p></td>
  314. </tr>
  315. <tr>
  316. <th>header_h1_font_size</th>
  317. <td><p>h1 Header Text Font Size. Defaults to 2.75rem. Modifies the <code>.remark-slide-content h1</code> class.</p></td>
  318. </tr>
  319. <tr>
  320. <th>header_h2_font_size</th>
  321. <td><p>h2 Header Text Font Size. Defaults to 2.25rem. Modifies the <code>.remark-slide-content h2</code> class.</p></td>
  322. </tr>
  323. <tr>
  324. <th>header_h3_font_size</th>
  325. <td><p>h3 Header Text Font Size. Defaults to 1.75rem. Modifies the <code>.remark-slide-content h3</code> class.</p></td>
  326. </tr>
  327. <tr>
  328. <th>header_background_auto</th>
  329. <td><p>Add background under slide title automatically for h1 header elements. If not enabled, use <code>class: header_background</code> to enable. Defaults to <code>FALSE</code>.</p></td>
  330. </tr>
  331. <tr>
  332. <th>header_background_color</th>
  333. <td><p>Background Color for h1 Header with Background. Defaults to <code>header_color</code>. Modifies the <code>.remark-slide-content h1</code> class.</p></td>
  334. </tr>
  335. <tr>
  336. <th>header_background_text_color</th>
  337. <td><p>Text Color for h1 Header with Background. Defaults to <code>background_color</code>. Modifies the <code>.remark-slide-content h1</code> class.</p></td>
  338. </tr>
  339. <tr>
  340. <th>header_background_padding</th>
  341. <td><p>Padding for h1 Header with Background. Defaults to <code>NULL</code>. Modifies the <code>.remark-slide-content h1</code> class.</p></td>
  342. </tr>
  343. <tr>
  344. <th>header_background_content_padding_top</th>
  345. <td><p>Top Padding for Content in Slide with Header with Background. Defaults to 7rem. Modifies the <code>.remark-slide-content</code> class.</p></td>
  346. </tr>
  347. <tr>
  348. <th>header_background_ignore_classes</th>
  349. <td><p>Slide Classes Where Header with Background will not be Applied. Defaults to <code><a href='https://rdrr.io/r/base/c.html'>c('normal', 'inverse', 'title', 'middle', 'bottom')</a></code>. Modifies the <code>.remark-slide-content</code> class.</p></td>
  350. </tr>
  351. <tr>
  352. <th>text_slide_number_font_size</th>
  353. <td><p>Slide Number Text Font Size. Defaults to 0.9rem. Modifies the <code>.remark-slide-number</code> class.</p></td>
  354. </tr>
  355. <tr>
  356. <th>text_font_google</th>
  357. <td><p>Use <code><a href='google_font.html'>google_font()</a></code> to specify body font. Defaults to <code>NULL</code>. Modifies the <code>body</code> element.</p></td>
  358. </tr>
  359. <tr>
  360. <th>text_font_family</th>
  361. <td><p>Body Text Font Family (xaringan default is <code>'Droid Serif'</code>). Defaults to Noto Sans. Modifies the <code>body</code> element.</p></td>
  362. </tr>
  363. <tr>
  364. <th>text_font_weight</th>
  365. <td><p>Body Text Font Weight. Defaults to normal. Modifies the <code>body</code> element.</p></td>
  366. </tr>
  367. <tr>
  368. <th>text_font_url</th>
  369. <td><p>Body Text Font URL(s). Defaults to https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&amp;display=swap. Modifies the <code>@import url()</code> elements.</p></td>
  370. </tr>
  371. <tr>
  372. <th>text_font_family_fallback</th>
  373. <td><p>Body Text Font Fallbacks. Defaults to -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Ubuntu, roboto, noto, segoe ui, arial. Modifies the <code>body</code> element.</p></td>
  374. </tr>
  375. <tr>
  376. <th>text_font_base</th>
  377. <td><p>Body Text Base Font (Total Failure Fallback). Defaults to sans-serif. Modifies the <code>body</code> element.</p></td>
  378. </tr>
  379. <tr>
  380. <th>header_font_google</th>
  381. <td><p>Use <code><a href='google_font.html'>google_font()</a></code> to specify header font. Defaults to <code>NULL</code>. Modifies the <code>body</code> element.</p></td>
  382. </tr>
  383. <tr>
  384. <th>header_font_family</th>
  385. <td><p>Header Font Family (xaringan default is <code>'Yanone Kaffeesatz'</code>). Defaults to Cabin. Modifies the <code>h1, h2, h3</code> elements.</p></td>
  386. </tr>
  387. <tr>
  388. <th>header_font_weight</th>
  389. <td><p>Header Font Weight. Defaults to 600. Modifies the <code>h1, h2, h3</code> elements.</p></td>
  390. </tr>
  391. <tr>
  392. <th>header_font_url</th>
  393. <td><p>Header Font URL. Defaults to https://fonts.googleapis.com/css?family=Cabin:600,600i&amp;display=swap. Modifies the <code>@import url</code> elements.</p></td>
  394. </tr>
  395. <tr>
  396. <th>code_font_google</th>
  397. <td><p>Use <code><a href='google_font.html'>google_font()</a></code> to specify code font. Defaults to <code>NULL</code>. Modifies the <code>body</code> element.</p></td>
  398. </tr>
  399. <tr>
  400. <th>code_font_family</th>
  401. <td><p>Code Font Family. Defaults to Source Code Pro. Modifies the <code>.remark-code, .remark-inline-code</code> classes.</p></td>
  402. </tr>
  403. <tr>
  404. <th>code_font_size</th>
  405. <td><p>Code Text Font Size. Defaults to 0.9rem. Modifies the <code>.remark-inline</code> class.</p></td>
  406. </tr>
  407. <tr>
  408. <th>code_font_url</th>
  409. <td><p>Code Font URL. Defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&amp;display=swap. Modifies the <code>@import url</code> elements.</p></td>
  410. </tr>
  411. <tr>
  412. <th>code_font_family_fallback</th>
  413. <td><p>Code Font Fallback. Defaults to Menlo, Consolas, Monaco, Liberation Mono, Lucida Console. Modifies the <code>.remark-code, .remark-inline-code</code> classes.</p></td>
  414. </tr>
  415. <tr>
  416. <th>colors</th>
  417. <td><p>A named vector of custom colors. The names of the colors
  418. become CSS variables and classes that can be used within your slides.
  419. For example, <code>colors = c(blue = "#bad4ed")</code> adds a CSS variable
  420. <code>--blue</code>, a <code>.blue</code> CSS class that applies the color to the text or
  421. foreground color, and a <code>.bg-blue</code> CSS class that applies the color
  422. to the background.</p></td>
  423. </tr>
  424. <tr>
  425. <th>extra_css</th>
  426. <td><p>A named list of CSS definitions each containing a named list
  427. of CSS property-value pairs, i.e.
  428. <code><a href='https://rdrr.io/r/base/list.html'>list(".class-id" = list("css-property" = "value"))</a></code></p></td>
  429. </tr>
  430. <tr>
  431. <th>extra_fonts</th>
  432. <td><p>A list of additional fonts to import, each list element
  433. can be either a URL as a character string or a call to
  434. <code><a href='google_font.html'>google_font</a>()</code></p></td>
  435. </tr>
  436. <tr>
  437. <th>outfile</th>
  438. <td><p>Customized xaringan CSS output file name, default is "xaringan-themer.css"</p></td>
  439. </tr>
  440. </table>
  441. <h2 class="hasAnchor" id="references"><a class="anchor" href="#references"></a>References</h2>
  442. <p><a href='http://ethanschoonover.com/solarized'>http://ethanschoonover.com/solarized</a></p>
  443. <h2 class="hasAnchor" id="see-also"><a class="anchor" href="#see-also"></a>See also</h2>
  444. <div class='dont-index'><p>Other themes:
  445. <code><a href='style_duo_accent_inverse.html'>style_duo_accent_inverse</a>()</code>,
  446. <code><a href='style_duo_accent.html'>style_duo_accent</a>()</code>,
  447. <code><a href='style_duo.html'>style_duo</a>()</code>,
  448. <code><a href='style_mono_accent_inverse.html'>style_mono_accent_inverse</a>()</code>,
  449. <code><a href='style_mono_accent.html'>style_mono_accent</a>()</code>,
  450. <code><a href='style_mono_dark.html'>style_mono_dark</a>()</code>,
  451. <code><a href='style_mono_light.html'>style_mono_light</a>()</code>,
  452. <code><a href='style_solarized_light.html'>style_solarized_light</a>()</code>,
  453. <code><a href='style_xaringan.html'>style_xaringan</a>()</code></p>
  454. <p>Other Solarized themes:
  455. <code><a href='style_solarized_light.html'>style_solarized_light</a>()</code></p></div>
  456. </div>
  457. <div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
  458. <h2>Contents</h2>
  459. <ul class="nav nav-pills nav-stacked">
  460. <li><a href="#arguments">Arguments</a></li>
  461. <li><a href="#references">References</a></li>
  462. <li><a href="#see-also">See also</a></li>
  463. </ul>
  464. </div>
  465. </div>
  466. <footer>
  467. <div class="copyright">
  468. <p>Developed by <a href='https://www.garrickadenbuie.com'>Garrick Aden-Buie</a>.</p>
  469. </div>
  470. <div class="pkgdown">
  471. <p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.4.1.</p>
  472. </div>
  473. </footer>
  474. </div>
  475. </body>
  476. </html>