Przeglądaj źródła

Deploy from Travis build 53 [ci skip]

Build URL: https://travis-ci.com/gadenbuie/xaringanthemer/builds/158480642
Commit: efe6ec9713
gh-pages
Garrick Aden-Buie 6 lat temu
rodzic
commit
3eaec7c455
11 zmienionych plików z 214 dodań i 1 usunięć
  1. +1
    -1
      dev/pkgdown.yml
  2. +22
    -0
      dev/reference/style_duo.html
  3. +22
    -0
      dev/reference/style_duo_accent.html
  4. +22
    -0
      dev/reference/style_duo_accent_inverse.html
  5. +21
    -0
      dev/reference/style_mono_accent.html
  6. +21
    -0
      dev/reference/style_mono_accent_inverse.html
  7. +21
    -0
      dev/reference/style_mono_dark.html
  8. +21
    -0
      dev/reference/style_mono_light.html
  9. +20
    -0
      dev/reference/style_solarized_dark.html
  10. +20
    -0
      dev/reference/style_solarized_light.html
  11. +23
    -0
      dev/reference/style_xaringan.html

+ 1
- 1
dev/pkgdown.yml Wyświetl plik

template-variables: template-variables.html template-variables: template-variables.html
themes: themes.html themes: themes.html
xaringanthemer: xaringanthemer.html xaringanthemer: xaringanthemer.html
last_built: 2020-04-05T11:41Z
last_built: 2020-04-05T12:05Z
urls: urls:
reference: https://pkg.garrickadenbuie.com/xaringanthemer//reference reference: https://pkg.garrickadenbuie.com/xaringanthemer//reference
article: https://pkg.garrickadenbuie.com/xaringanthemer//articles article: https://pkg.garrickadenbuie.com/xaringanthemer//articles

+ 22
- 0
dev/reference/style_duo.html Wyświetl plik

</tr> </tr>
</table> </table>


<h2 class="hasAnchor" id="usage"><a class="anchor" href="#usage"></a>Usage</h2>

<p>To use the styles created by this theme function, make sure
that you use <code>xaringan-themer.css</code> as your CSS file in your slides' YAML
header. If you change the name of the output file using the <code>outfile</code>
argument, use that name instead of the default file name.<div class="yaml"></p><pre>output:
xaringan::moon_reader:
css: xaringan-themer.css`
</pre><p></div></p>
<h2 class="hasAnchor" id="see-also"><a class="anchor" href="#see-also"></a>See also</h2> <h2 class="hasAnchor" id="see-also"><a class="anchor" href="#see-also"></a>See also</h2>


<div class='dont-index'><p>Other themes: <div class='dont-index'><p>Other themes:
<code><a href='style_duo_accent_inverse.html'>style_duo_accent_inverse</a>()</code>, <code><a href='style_duo_accent_inverse.html'>style_duo_accent_inverse</a>()</code>,
<code><a href='style_duo_accent.html'>style_duo_accent</a>()</code></p></div> <code><a href='style_duo_accent.html'>style_duo_accent</a>()</code></p></div>


<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2>
<pre class="examples"><div class='input'><span class='co'># Create a xaringan style in a temporary file</span>
<span class='no'>xaringan_themer_css</span> <span class='kw'>&lt;-</span> <span class='fu'><a href='https://rdrr.io/r/base/tempfile.html'>tempfile</a></span>(<span class='st'>"xaringan-themer-"</span>, <span class='kw'>fileext</span> <span class='kw'>=</span> <span class='st'>".css"</span>)

<span class='fu'>style_duo</span>(
<span class='kw'>primary_color</span> <span class='kw'>=</span> <span class='st'>"#1f4257"</span>,
<span class='kw'>secondary_color</span> <span class='kw'>=</span> <span class='st'>"#f97b64"</span>,
<span class='kw'>outfile</span> <span class='kw'>=</span> <span class='no'>xaringan_themer_css</span> <span class='co'># omit in your slides to write the</span>
<span class='co'># styles to xaringan-themer.css</span>
)

<span class='co'># View the CSS:</span>
<span class='co'># file.edit(xaringan_themer_css)</span></div></pre>
</div> </div>
<div class="col-md-3 hidden-xs hidden-sm" id="pkgdown-sidebar"> <div class="col-md-3 hidden-xs hidden-sm" id="pkgdown-sidebar">
<nav id="toc" data-toggle="toc" class="sticky-top"> <nav id="toc" data-toggle="toc" class="sticky-top">

+ 22
- 0
dev/reference/style_duo_accent.html Wyświetl plik

</tr> </tr>
</table> </table>


<h2 class="hasAnchor" id="usage"><a class="anchor" href="#usage"></a>Usage</h2>

<p>To use the styles created by this theme function, make sure
that you use <code>xaringan-themer.css</code> as your CSS file in your slides' YAML
header. If you change the name of the output file using the <code>outfile</code>
argument, use that name instead of the default file name.<div class="yaml"></p><pre>output:
xaringan::moon_reader:
css: xaringan-themer.css`
</pre><p></div></p>
<h2 class="hasAnchor" id="see-also"><a class="anchor" href="#see-also"></a>See also</h2> <h2 class="hasAnchor" id="see-also"><a class="anchor" href="#see-also"></a>See also</h2>


<div class='dont-index'><p>Other themes: <div class='dont-index'><p>Other themes:
<code><a href='style_duo_accent_inverse.html'>style_duo_accent_inverse</a>()</code>, <code><a href='style_duo_accent_inverse.html'>style_duo_accent_inverse</a>()</code>,
<code><a href='style_duo.html'>style_duo</a>()</code></p></div> <code><a href='style_duo.html'>style_duo</a>()</code></p></div>


<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2>
<pre class="examples"><div class='input'><span class='co'># Create a xaringan style in a temporary file</span>
<span class='no'>xaringan_themer_css</span> <span class='kw'>&lt;-</span> <span class='fu'><a href='https://rdrr.io/r/base/tempfile.html'>tempfile</a></span>(<span class='st'>"xaringan-themer-"</span>, <span class='kw'>fileext</span> <span class='kw'>=</span> <span class='st'>".css"</span>)

<span class='fu'>style_duo_accent</span>(
<span class='kw'>primary_color</span> <span class='kw'>=</span> <span class='st'>"#006747"</span>,
<span class='kw'>secondary_color</span> <span class='kw'>=</span> <span class='st'>"#cfc493"</span>,
<span class='kw'>outfile</span> <span class='kw'>=</span> <span class='no'>xaringan_themer_css</span> <span class='co'># omit in your slides to write the</span>
<span class='co'># styles to xaringan-themer.css</span>
)

<span class='co'># View the CSS:</span>
<span class='co'># file.edit(xaringan_themer_css)</span></div></pre>
</div> </div>
<div class="col-md-3 hidden-xs hidden-sm" id="pkgdown-sidebar"> <div class="col-md-3 hidden-xs hidden-sm" id="pkgdown-sidebar">
<nav id="toc" data-toggle="toc" class="sticky-top"> <nav id="toc" data-toggle="toc" class="sticky-top">

+ 22
- 0
dev/reference/style_duo_accent_inverse.html Wyświetl plik

</tr> </tr>
</table> </table>


<h2 class="hasAnchor" id="usage"><a class="anchor" href="#usage"></a>Usage</h2>

<p>To use the styles created by this theme function, make sure
that you use <code>xaringan-themer.css</code> as your CSS file in your slides' YAML
header. If you change the name of the output file using the <code>outfile</code>
argument, use that name instead of the default file name.<div class="yaml"></p><pre>output:
xaringan::moon_reader:
css: xaringan-themer.css`
</pre><p></div></p>
<h2 class="hasAnchor" id="see-also"><a class="anchor" href="#see-also"></a>See also</h2> <h2 class="hasAnchor" id="see-also"><a class="anchor" href="#see-also"></a>See also</h2>


<div class='dont-index'><p>Other themes: <div class='dont-index'><p>Other themes:
<code><a href='style_duo_accent.html'>style_duo_accent</a>()</code>, <code><a href='style_duo_accent.html'>style_duo_accent</a>()</code>,
<code><a href='style_duo.html'>style_duo</a>()</code></p></div> <code><a href='style_duo.html'>style_duo</a>()</code></p></div>


<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2>
<pre class="examples"><div class='input'><span class='co'># Create a xaringan style in a temporary file</span>
<span class='no'>xaringan_themer_css</span> <span class='kw'>&lt;-</span> <span class='fu'><a href='https://rdrr.io/r/base/tempfile.html'>tempfile</a></span>(<span class='st'>"xaringan-themer-"</span>, <span class='kw'>fileext</span> <span class='kw'>=</span> <span class='st'>".css"</span>)

<span class='fu'>style_duo_accent_inverse</span>(
<span class='kw'>primary_color</span> <span class='kw'>=</span> <span class='st'>"#006747"</span>,
<span class='kw'>secondary_color</span> <span class='kw'>=</span> <span class='st'>"#cfc493"</span>,
<span class='kw'>outfile</span> <span class='kw'>=</span> <span class='no'>xaringan_themer_css</span> <span class='co'># omit in your slides to write the</span>
<span class='co'># styles to xaringan-themer.css</span>
)

<span class='co'># View the CSS:</span>
<span class='co'># file.edit(xaringan_themer_css)</span></div></pre>
</div> </div>
<div class="col-md-3 hidden-xs hidden-sm" id="pkgdown-sidebar"> <div class="col-md-3 hidden-xs hidden-sm" id="pkgdown-sidebar">
<nav id="toc" data-toggle="toc" class="sticky-top"> <nav id="toc" data-toggle="toc" class="sticky-top">

+ 21
- 0
dev/reference/style_mono_accent.html Wyświetl plik

</tr> </tr>
</table> </table>


<h2 class="hasAnchor" id="usage"><a class="anchor" href="#usage"></a>Usage</h2>

<p>To use the styles created by this theme function, make sure
that you use <code>xaringan-themer.css</code> as your CSS file in your slides' YAML
header. If you change the name of the output file using the <code>outfile</code>
argument, use that name instead of the default file name.<div class="yaml"></p><pre>output:
xaringan::moon_reader:
css: xaringan-themer.css`
</pre><p></div></p>
<h2 class="hasAnchor" id="see-also"><a class="anchor" href="#see-also"></a>See also</h2> <h2 class="hasAnchor" id="see-also"><a class="anchor" href="#see-also"></a>See also</h2>


<div class='dont-index'><p>Other themes: <div class='dont-index'><p>Other themes:
<code><a href='style_mono_dark.html'>style_mono_dark</a>()</code>, <code><a href='style_mono_dark.html'>style_mono_dark</a>()</code>,
<code><a href='style_mono_light.html'>style_mono_light</a>()</code></p></div> <code><a href='style_mono_light.html'>style_mono_light</a>()</code></p></div>


<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2>
<pre class="examples"><div class='input'><span class='co'># Create a xaringan style in a temporary file</span>
<span class='no'>xaringan_themer_css</span> <span class='kw'>&lt;-</span> <span class='fu'><a href='https://rdrr.io/r/base/tempfile.html'>tempfile</a></span>(<span class='st'>"xaringan-themer-"</span>, <span class='kw'>fileext</span> <span class='kw'>=</span> <span class='st'>".css"</span>)

<span class='fu'>style_mono_accent</span>(
<span class='kw'>base_color</span> <span class='kw'>=</span> <span class='st'>"#43418A"</span>,
<span class='kw'>outfile</span> <span class='kw'>=</span> <span class='no'>xaringan_themer_css</span> <span class='co'># omit in your slides to write the</span>
<span class='co'># styles to xaringan-themer.css</span>
)

<span class='co'># View the CSS:</span>
<span class='co'># file.edit(xaringan_themer_css)</span></div></pre>
</div> </div>
<div class="col-md-3 hidden-xs hidden-sm" id="pkgdown-sidebar"> <div class="col-md-3 hidden-xs hidden-sm" id="pkgdown-sidebar">
<nav id="toc" data-toggle="toc" class="sticky-top"> <nav id="toc" data-toggle="toc" class="sticky-top">

+ 21
- 0
dev/reference/style_mono_accent_inverse.html Wyświetl plik

</tr> </tr>
</table> </table>


<h2 class="hasAnchor" id="usage"><a class="anchor" href="#usage"></a>Usage</h2>

<p>To use the styles created by this theme function, make sure
that you use <code>xaringan-themer.css</code> as your CSS file in your slides' YAML
header. If you change the name of the output file using the <code>outfile</code>
argument, use that name instead of the default file name.<div class="yaml"></p><pre>output:
xaringan::moon_reader:
css: xaringan-themer.css`
</pre><p></div></p>
<h2 class="hasAnchor" id="see-also"><a class="anchor" href="#see-also"></a>See also</h2> <h2 class="hasAnchor" id="see-also"><a class="anchor" href="#see-also"></a>See also</h2>


<div class='dont-index'><p>Other themes: <div class='dont-index'><p>Other themes:
<code><a href='style_mono_dark.html'>style_mono_dark</a>()</code>, <code><a href='style_mono_dark.html'>style_mono_dark</a>()</code>,
<code><a href='style_mono_light.html'>style_mono_light</a>()</code></p></div> <code><a href='style_mono_light.html'>style_mono_light</a>()</code></p></div>


<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2>
<pre class="examples"><div class='input'><span class='co'># Create a xaringan style in a temporary file</span>
<span class='no'>xaringan_themer_css</span> <span class='kw'>&lt;-</span> <span class='fu'><a href='https://rdrr.io/r/base/tempfile.html'>tempfile</a></span>(<span class='st'>"xaringan-themer-"</span>, <span class='kw'>fileext</span> <span class='kw'>=</span> <span class='st'>".css"</span>)

<span class='fu'>style_mono_accent_inverse</span>(
<span class='kw'>base_color</span> <span class='kw'>=</span> <span class='st'>"#3c989e"</span>,
<span class='kw'>outfile</span> <span class='kw'>=</span> <span class='no'>xaringan_themer_css</span> <span class='co'># omit in your slides to write the</span>
<span class='co'># styles to xaringan-themer.css</span>
)

<span class='co'># View the CSS:</span>
<span class='co'># file.edit(xaringan_themer_css)</span></div></pre>
</div> </div>
<div class="col-md-3 hidden-xs hidden-sm" id="pkgdown-sidebar"> <div class="col-md-3 hidden-xs hidden-sm" id="pkgdown-sidebar">
<nav id="toc" data-toggle="toc" class="sticky-top"> <nav id="toc" data-toggle="toc" class="sticky-top">

+ 21
- 0
dev/reference/style_mono_dark.html Wyświetl plik

</tr> </tr>
</table> </table>


<h2 class="hasAnchor" id="usage"><a class="anchor" href="#usage"></a>Usage</h2>

<p>To use the styles created by this theme function, make sure
that you use <code>xaringan-themer.css</code> as your CSS file in your slides' YAML
header. If you change the name of the output file using the <code>outfile</code>
argument, use that name instead of the default file name.<div class="yaml"></p><pre>output:
xaringan::moon_reader:
css: xaringan-themer.css`
</pre><p></div></p>
<h2 class="hasAnchor" id="see-also"><a class="anchor" href="#see-also"></a>See also</h2> <h2 class="hasAnchor" id="see-also"><a class="anchor" href="#see-also"></a>See also</h2>


<div class='dont-index'><p>Other themes: <div class='dont-index'><p>Other themes:
<code><a href='style_mono_accent.html'>style_mono_accent</a>()</code>, <code><a href='style_mono_accent.html'>style_mono_accent</a>()</code>,
<code><a href='style_mono_light.html'>style_mono_light</a>()</code></p></div> <code><a href='style_mono_light.html'>style_mono_light</a>()</code></p></div>


<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2>
<pre class="examples"><div class='input'><span class='co'># Create a xaringan style in a temporary file</span>
<span class='no'>xaringan_themer_css</span> <span class='kw'>&lt;-</span> <span class='fu'><a href='https://rdrr.io/r/base/tempfile.html'>tempfile</a></span>(<span class='st'>"xaringan-themer-"</span>, <span class='kw'>fileext</span> <span class='kw'>=</span> <span class='st'>".css"</span>)

<span class='fu'>style_mono_dark</span>(
<span class='kw'>base_color</span> <span class='kw'>=</span> <span class='st'>"#cbf7ed"</span>,
<span class='kw'>outfile</span> <span class='kw'>=</span> <span class='no'>xaringan_themer_css</span> <span class='co'># omit in your slides to write the</span>
<span class='co'># styles to xaringan-themer.css</span>
)

<span class='co'># View the CSS:</span>
<span class='co'># file.edit(xaringan_themer_css)</span></div></pre>
</div> </div>
<div class="col-md-3 hidden-xs hidden-sm" id="pkgdown-sidebar"> <div class="col-md-3 hidden-xs hidden-sm" id="pkgdown-sidebar">
<nav id="toc" data-toggle="toc" class="sticky-top"> <nav id="toc" data-toggle="toc" class="sticky-top">

+ 21
- 0
dev/reference/style_mono_light.html Wyświetl plik

</tr> </tr>
</table> </table>


<h2 class="hasAnchor" id="usage"><a class="anchor" href="#usage"></a>Usage</h2>

<p>To use the styles created by this theme function, make sure
that you use <code>xaringan-themer.css</code> as your CSS file in your slides' YAML
header. If you change the name of the output file using the <code>outfile</code>
argument, use that name instead of the default file name.<div class="yaml"></p><pre>output:
xaringan::moon_reader:
css: xaringan-themer.css`
</pre><p></div></p>
<h2 class="hasAnchor" id="see-also"><a class="anchor" href="#see-also"></a>See also</h2> <h2 class="hasAnchor" id="see-also"><a class="anchor" href="#see-also"></a>See also</h2>


<div class='dont-index'><p>Other themes: <div class='dont-index'><p>Other themes:
<code><a href='style_mono_accent.html'>style_mono_accent</a>()</code>, <code><a href='style_mono_accent.html'>style_mono_accent</a>()</code>,
<code><a href='style_mono_dark.html'>style_mono_dark</a>()</code></p></div> <code><a href='style_mono_dark.html'>style_mono_dark</a>()</code></p></div>


<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2>
<pre class="examples"><div class='input'><span class='co'># Create a xaringan style in a temporary file</span>
<span class='no'>xaringan_themer_css</span> <span class='kw'>&lt;-</span> <span class='fu'><a href='https://rdrr.io/r/base/tempfile.html'>tempfile</a></span>(<span class='st'>"xaringan-themer-"</span>, <span class='kw'>fileext</span> <span class='kw'>=</span> <span class='st'>".css"</span>)

<span class='fu'>style_mono_light</span>(
<span class='kw'>base_color</span> <span class='kw'>=</span> <span class='st'>"#23395b"</span>,
<span class='kw'>outfile</span> <span class='kw'>=</span> <span class='no'>xaringan_themer_css</span> <span class='co'># omit in your slides to write the</span>
<span class='co'># styles to xaringan-themer.css</span>
)

<span class='co'># View the CSS:</span>
<span class='co'># file.edit(xaringan_themer_css)</span></div></pre>
</div> </div>
<div class="col-md-3 hidden-xs hidden-sm" id="pkgdown-sidebar"> <div class="col-md-3 hidden-xs hidden-sm" id="pkgdown-sidebar">
<nav id="toc" data-toggle="toc" class="sticky-top"> <nav id="toc" data-toggle="toc" class="sticky-top">

+ 20
- 0
dev/reference/style_solarized_dark.html Wyświetl plik

</tr> </tr>
</table> </table>


<h2 class="hasAnchor" id="usage"><a class="anchor" href="#usage"></a>Usage</h2>

<p>To use the styles created by this theme function, make sure
that you use <code>xaringan-themer.css</code> as your CSS file in your slides' YAML
header. If you change the name of the output file using the <code>outfile</code>
argument, use that name instead of the default file name.<div class="yaml"></p><pre>output:
xaringan::moon_reader:
css: xaringan-themer.css`
</pre><p></div></p>
<h2 class="hasAnchor" id="references"><a class="anchor" href="#references"></a>References</h2> <h2 class="hasAnchor" id="references"><a class="anchor" href="#references"></a>References</h2>


<p><a href='http://ethanschoonover.com/solarized'>http://ethanschoonover.com/solarized</a></p> <p><a href='http://ethanschoonover.com/solarized'>http://ethanschoonover.com/solarized</a></p>
<p>Other Solarized themes: <p>Other Solarized themes:
<code><a href='style_solarized_light.html'>style_solarized_light</a>()</code></p></div> <code><a href='style_solarized_light.html'>style_solarized_light</a>()</code></p></div>


<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2>
<pre class="examples"><div class='input'><span class='co'># Create a xaringan style in a temporary file</span>
<span class='no'>xaringan_themer_css</span> <span class='kw'>&lt;-</span> <span class='fu'><a href='https://rdrr.io/r/base/tempfile.html'>tempfile</a></span>(<span class='st'>"xaringan-themer-"</span>, <span class='kw'>fileext</span> <span class='kw'>=</span> <span class='st'>".css"</span>)

<span class='fu'>style_solarized_dark</span>(
<span class='kw'>outfile</span> <span class='kw'>=</span> <span class='no'>xaringan_themer_css</span> <span class='co'># omit in your slides to write the</span>
<span class='co'># styles to xaringan-themer.css</span>
)

<span class='co'># View the CSS:</span>
<span class='co'># file.edit(xaringan_themer_css)</span></div></pre>
</div> </div>
<div class="col-md-3 hidden-xs hidden-sm" id="pkgdown-sidebar"> <div class="col-md-3 hidden-xs hidden-sm" id="pkgdown-sidebar">
<nav id="toc" data-toggle="toc" class="sticky-top"> <nav id="toc" data-toggle="toc" class="sticky-top">

+ 20
- 0
dev/reference/style_solarized_light.html Wyświetl plik

</tr> </tr>
</table> </table>


<h2 class="hasAnchor" id="usage"><a class="anchor" href="#usage"></a>Usage</h2>

<p>To use the styles created by this theme function, make sure
that you use <code>xaringan-themer.css</code> as your CSS file in your slides' YAML
header. If you change the name of the output file using the <code>outfile</code>
argument, use that name instead of the default file name.<div class="yaml"></p><pre>output:
xaringan::moon_reader:
css: xaringan-themer.css`
</pre><p></div></p>
<h2 class="hasAnchor" id="references"><a class="anchor" href="#references"></a>References</h2> <h2 class="hasAnchor" id="references"><a class="anchor" href="#references"></a>References</h2>


<p><a href='http://ethanschoonover.com/solarized'>http://ethanschoonover.com/solarized</a></p> <p><a href='http://ethanschoonover.com/solarized'>http://ethanschoonover.com/solarized</a></p>
<p>Other Solarized themes: <p>Other Solarized themes:
<code><a href='style_solarized_dark.html'>style_solarized_dark</a>()</code></p></div> <code><a href='style_solarized_dark.html'>style_solarized_dark</a>()</code></p></div>


<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2>
<pre class="examples"><div class='input'><span class='co'># Create a xaringan style in a temporary file</span>
<span class='no'>xaringan_themer_css</span> <span class='kw'>&lt;-</span> <span class='fu'><a href='https://rdrr.io/r/base/tempfile.html'>tempfile</a></span>(<span class='st'>"xaringan-themer-"</span>, <span class='kw'>fileext</span> <span class='kw'>=</span> <span class='st'>".css"</span>)

<span class='fu'>style_solarized_light</span>(
<span class='kw'>outfile</span> <span class='kw'>=</span> <span class='no'>xaringan_themer_css</span> <span class='co'># omit in your slides to write the</span>
<span class='co'># styles to xaringan-themer.css</span>
)

<span class='co'># View the CSS:</span>
<span class='co'># file.edit(xaringan_themer_css)</span></div></pre>
</div> </div>
<div class="col-md-3 hidden-xs hidden-sm" id="pkgdown-sidebar"> <div class="col-md-3 hidden-xs hidden-sm" id="pkgdown-sidebar">
<nav id="toc" data-toggle="toc" class="sticky-top"> <nav id="toc" data-toggle="toc" class="sticky-top">

+ 23
- 0
dev/reference/style_xaringan.html Wyświetl plik

</tr> </tr>
</table> </table>


<h2 class="hasAnchor" id="usage"><a class="anchor" href="#usage"></a>Usage</h2>

<p>To use the styles created by this theme function, make sure
that you use <code>xaringan-themer.css</code> as your CSS file in your slides' YAML
header. If you change the name of the output file using the <code>outfile</code>
argument, use that name instead of the default file name.<div class="yaml"></p><pre>output:
xaringan::moon_reader:
css: xaringan-themer.css`
</pre><p></div></p>
<h2 class="hasAnchor" id="see-also"><a class="anchor" href="#see-also"></a>See also</h2> <h2 class="hasAnchor" id="see-also"><a class="anchor" href="#see-also"></a>See also</h2>


<div class='dont-index'><p>Other themes: <div class='dont-index'><p>Other themes:
<code><a href='style_solarized_dark.html'>style_solarized_dark</a>()</code>, <code><a href='style_solarized_dark.html'>style_solarized_dark</a>()</code>,
<code><a href='style_solarized_light.html'>style_solarized_light</a>()</code></p></div> <code><a href='style_solarized_light.html'>style_solarized_light</a>()</code></p></div>


<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2>
<pre class="examples"><div class='input'><span class='co'># Create a xaringan style in a temporary file</span>
<span class='no'>xaringan_themer_css</span> <span class='kw'>&lt;-</span> <span class='fu'><a href='https://rdrr.io/r/base/tempfile.html'>tempfile</a></span>(<span class='st'>"xaringan-themer-"</span>, <span class='kw'>fileext</span> <span class='kw'>=</span> <span class='st'>".css"</span>)

<span class='fu'>style_xaringan</span>(
<span class='kw'>text_color</span> <span class='kw'>=</span> <span class='st'>"#002b3"</span>,
<span class='kw'>inverse_background_color</span> <span class='kw'>=</span> <span class='st'>"#31b09e"</span>,
<span class='kw'>inverse_text_color</span> <span class='kw'>=</span> <span class='st'>"#002b3"</span>,
<span class='kw'>outfile</span> <span class='kw'>=</span> <span class='no'>xaringan_themer_css</span> <span class='co'># omit in your slides to write the</span>
<span class='co'># styles to xaringan-themer.css</span>
)

<span class='co'># View the CSS:</span>
<span class='co'># file.edit(xaringan_themer_css)</span></div></pre>
</div> </div>
<div class="col-md-3 hidden-xs hidden-sm" id="pkgdown-sidebar"> <div class="col-md-3 hidden-xs hidden-sm" id="pkgdown-sidebar">
<nav id="toc" data-toggle="toc" class="sticky-top"> <nav id="toc" data-toggle="toc" class="sticky-top">

Ładowanie…
Anuluj
Zapisz