|
- <!DOCTYPE html>
- <!-- 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"><title>Changelog • 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.0/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.1.0/bootstrap.bundle.min.js"></script><link href="../deps/_IBM%20Plex%20Mono-0.4.0/font.css" rel="stylesheet"><link href="../deps/_Montserrat-0.4.0/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="Changelog"><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]>
- <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
- <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
- <![endif]--></head><body>
- <a href="#main" class="visually-hidden-focusable">Skip to contents</a>
-
-
- <nav class="navbar fixed-top navbar-light navbar-expand-lg bg-light"><div class="container">
-
- <a class="navbar-brand me-2" href="../index.html">xaringanthemer</a>
-
- <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Released version">0.4.1</small>
-
-
- <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
- <span class="navbar-toggler-icon"></span>
- </button>
-
- <div id="navbar" class="collapse navbar-collapse ms-2">
- <ul class="navbar-nav me-auto"><li class="nav-item">
- <a class="nav-link" href="../articles/xaringanthemer.html">Features</a>
- </li>
- <li class="nav-item">
- <a class="nav-link" href="../reference/index.html">Reference</a>
- </li>
- <li class="nav-item dropdown">
- <a href="#" class="nav-link dropdown-toggle" data-bs-toggle="dropdown" role="button" aria-expanded="false" aria-haspopup="true" id="dropdown-themes">Themes</a>
- <div class="dropdown-menu" aria-labelledby="dropdown-themes">
- <h6 class="dropdown-header" data-toc-skip>Themes</h6>
- <a class="dropdown-item" href="../articles/themes.html">Slide Themes</a>
- <a class="dropdown-item" href="../articles/ggplot2-themes.html">ggplot2 Themes</a>
- <div class="dropdown-divider"></div>
- <h6 class="dropdown-header" data-toc-skip>More Customization</h6>
- <a class="dropdown-item" href="../articles/fonts.html">Fonts</a>
- <a class="dropdown-item" href="../articles/template-variables.html">Template Variables</a>
- </div>
- </li>
- </ul><form class="form-inline my-2 my-lg-0" role="search">
- <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>
-
- <ul class="navbar-nav"><li class="active nav-item dropdown">
- <a href="#" class="nav-link dropdown-toggle" data-bs-toggle="dropdown" role="button" aria-expanded="false" aria-haspopup="true" id="dropdown--">
- <span class="far fa far fa-newspaper fa-lg"></span>
-
-
- </a>
- <div class="dropdown-menu" aria-labelledby="dropdown--">
- <a class="external-link dropdown-item" href="https://garrickadenbuie.com/blog/xaringanthemer-v0-3-0/">xaringanthemer 0.3.0</a>
- <div class="dropdown-divider"></div>
- <a class="dropdown-item" href="../news/index.html">Changelog</a>
- </div>
- </li>
- <li class="nav-item">
- <a class="external-link nav-link" href="https://github.com/gadenbuie/xaringanthemer">
- <span class="fab fa fab fa-github fa-lg"></span>
-
- </a>
- </li>
- <li class="nav-item">
- <a class="external-link nav-link" href="https://twitter.com/grrrck">
- <span class="fab fa fab fa-twitter fa-lg"></span>
-
- </a>
- </li>
- <li class="nav-item">
- <a class="external-link nav-link" href="https://www.garrickadenbuie.com">
- <span class="fas fa fas fa-home fa-lg"></span>
-
- </a>
- </li>
- </ul></div>
-
-
- </div>
- </nav><div class="container template-news">
- <div class="row">
- <main id="main" class="col-md-9"><div class="page-header">
- <img src="../logo.png" class="logo" alt=""><h1>Changelog</h1>
- <small>Source: <a href="https://github.com/gadenbuie/xaringanthemer/blob/HEAD/NEWS.md" class="external-link"><code>NEWS.md</code></a></small>
- </div>
-
- <div class="section level2">
- <h2 class="pkg-version" data-toc-text="0.4.1" id="xaringanthemer-041">xaringanthemer 0.4.1<a class="anchor" aria-label="anchor" href="#xaringanthemer-041"></a></h2><p class="text-muted">CRAN release: 2021-11-21</p>
- <ul><li><p>Text alignment in code blocks in <code>left</code>, <code>center</code>, or <code>right</code> aligned slides no longer matches the slide text. Instead, the code block width is reduced, if possible, and the block is pushed to the left, center, or right using margins (<a href="https://github.com/gadenbuie/xaringanthemer/issues/68" class="external-link">#68</a>).</p></li>
- <li><p>The style functions are now more permissive about color names in the <code>color</code> argument. Color names should be valid CSS classes that can also be used as CSS variable names, but the <code>style_</code> function only stops with an error if the color name contains spaces. (<a href="https://github.com/jdlom" class="external-link">@jdlom</a> <a href="https://github.com/gadenbuie/xaringanthemer/issues/69" class="external-link">#69</a>)</p></li>
- <li><p>Fixed an issue that caused problems rendering the xaringanthemer R Markdown template if the showtext package isn’t installed (thanks <a href="https://github.com/beatrizmilz" class="external-link">@beatrizmilz</a>, <a href="https://github.com/gadenbuie/xaringanthemer/issues/65" class="external-link">#65</a>).</p></li>
- </ul></div>
- <div class="section level2">
- <h2 class="pkg-version" data-toc-text="0.4.0" id="xaringanthemer-040">xaringanthemer 0.4.0<a class="anchor" aria-label="anchor" href="#xaringanthemer-040"></a></h2><p class="text-muted">CRAN release: 2021-06-24</p>
- <ul><li><p>Added <code>text_bold_font_weight</code> argument to xaringanthemer style functions with a corresponding CSS rule setting the <code>font-weight</code> property of <code><strong></code> elements (thanks <a href="https://github.com/matiasandina" class="external-link">@matiasandina</a>, <a href="https://github.com/gadenbuie/xaringanthemer/issues/50" class="external-link">#50</a>).</p></li>
- <li><p>The style functions gain a <code>link_decoration</code> argument to set the <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration" class="external-link"><code>text-decoration</code></a> property for links (<a href="https://github.com/gadenbuie/xaringanthemer/issues/57" class="external-link">#57</a>).</p></li>
- <li><p>Set slide number font size in <code>rem</code> so that increasing the font size at the slide level doesn’t result in giant slide numbers (<a href="https://github.com/gadenbuie/xaringanthemer/issues/53" class="external-link">#53</a>).</p></li>
- <li><p>The xaringanthemer slide skeleton (R Markdown template) will now render when packages that are used in the template but not in xaringanthemer’s Imports are not installed (<a href="https://github.com/gadenbuie/xaringanthemer/issues/52" class="external-link">#52</a>).</p></li>
- <li><p>xaringanthemer no longer sets the <code>fig.showtext</code> chunk option when the showtext package isn’t installed and also when <code>fig.showtext = FALSE</code> (thanks <a href="https://github.com/mikedecr" class="external-link">@mikedecr</a> <a href="https://github.com/gadenbuie/xaringanthemer/issues/36" class="external-link">#36</a>, <a href="https://github.com/gadenbuie/xaringanthemer/issues/56" class="external-link">#56</a>).</p></li>
- </ul></div>
- <div class="section level2">
- <h2 class="pkg-version" data-toc-text="0.3.3" id="xaringanthemer-033">xaringanthemer 0.3.3<a class="anchor" aria-label="anchor" href="#xaringanthemer-033"></a></h2><p class="text-muted">CRAN release: 2021-03-04</p>
- <ul><li><p>Add <code>inverse_link_color</code> to control color of links on inverse slides (thanks <a href="https://github.com/dmi3kno" class="external-link">@dmi3kno</a>, <a href="https://github.com/gadenbuie/xaringanthemer/issues/44" class="external-link">#44</a>)</p></li>
- <li><p>.pull-right[] now clears floats just for its immediate sibling</p></li>
- <li><p>Add <code>header_font_family_fallback</code> to control fallback fonts for headings (thanks <a href="https://github.com/mattwarkentin" class="external-link">@mattwarkentin</a>, <a href="https://github.com/gadenbuie/xaringanthemer/issues/41" class="external-link">#41</a>)</p></li>
- <li><p>New xaringanthemer presentation skeleton with a kitchen sink of typical slide elements with the goal of making it easier to preview new themes during development.</p></li>
- </ul></div>
- <div class="section level2">
- <h2 class="pkg-version" data-toc-text="0.3.0" id="xaringanthemer-030">xaringanthemer 0.3.0<a class="anchor" aria-label="anchor" href="#xaringanthemer-030"></a></h2><p class="text-muted">CRAN release: 2020-05-04</p>
- <ul><li><p>Adds <code><a href="../reference/theme_xaringan.html">theme_xaringan()</a></code>, a ggplot2 theme that automatically uses the colors and font styles of your xaringanthemer style. Also adds <code><a href="../reference/scale_xaringan.html">scale_xaringan_discrete()</a></code> and <code><a href="../reference/scale_xaringan.html">scale_xaringan_continuous()</a></code> functions that use your slides’ primary colors for the color or fill aesthetics. These theme functions can recover the primary colors used in a xaringanthemer (>= 0.3.0) CSS file even if you don’t call the style function directly in your slides.</p></li>
- <li><p>Renamed all xaringanthemer functions that create CSS styles to use the prefix “<code>style_</code>”. For example, <code><a href="../reference/xaringanthemer-deprecated.html">mono_light()</a></code> is now <code><a href="../reference/style_mono_light.html">style_mono_light()</a></code>. Additionally, <code><a href="../reference/xaringanthemer-deprecated.html">write_xaringan_theme()</a></code> is now <code><a href="../reference/style_xaringan.html">style_xaringan()</a></code> and <code><a href="../reference/xaringanthemer-deprecated.html">write_extra_css()</a></code> is <code><a href="../reference/style_extra_css.html">style_extra_css()</a></code>. Overall, this change makes the xarignanthemer API much cleaner and easier to navigate. Previous function names are deprecated but still work.</p></li>
- <li><p>Added <code>background_header_auto</code> parameter that adds a background under the first <code>h1</code> element (i.e. <code># Slide Title</code>) on a slide. When enabled, the background is added automatically to slides, as long as they aren’t <code>inverse</code>, <code>center</code>, <code>middle</code>, or <code>bottom</code>-styled slides. When disabled, you can still enable slide title headers by adding the <code>header_background</code> class to a slide. (thanks, <a href="https://github.com/Btibert3" class="external-link">@Btibert3</a>, <a href="https://github.com/gadenbuie/xaringanthemer/issues/10" class="external-link">#10</a>)</p></li>
- <li><p>The underlying template now uses the <code>whisker</code> package.</p></li>
- <li><p>xaringanthemer styles now use CSS variables throughout. Most of the settings used in defining a style are stored in CSS variables. The variable names are documented in their corresponding arguments. For example, the color selected for <code>background_color</code> is stored in the variable <code>--background-color</code>. These variables can be used in custom CSS rules or in other arguments in any style functions, for example as <code>var(--background-color)</code>.</p></li>
- <li><p>xaringanthemer now uses a different set of default fonts for heading and body fonts. The new defaults use <a href="https://fonts.google.com/specimen/Cabin" class="external-link">Cabin</a> for headings and <a href="https://fonts.google.com/specimen/Noto+Sans" class="external-link">Noto Sans</a> for body text. These fonts are easier to read on screens and at a distance during presentations, and they support a wide variety of languages and weights. Another reason for the change is that the xaringan (remarkjs) default body font, <em>Droid Serif</em>, is no longer officially included in Google Fonts.</p></li>
- <li><p>Additional colors can be provided in the <code>colors</code> argument, which takes a named vector of colors. The names become both CSS classes and CSS variables that can be used throughout your slide styles. For example, <code>colors = c(red = "#d34213")</code> creates a <code>.red</code> CSS class for red foreground text, a <code>.bg-red</code> CSS class for a red background, and a <code>--red</code> CSS variable that can be referenced as <code>var(--red)</code> in any <code>_color</code> argument of your style function.</p></li>
- </ul><div class="section level3">
- <h3 id="bugfixes-and-improvements-0-3-0">Bugfixes and Improvements<a class="anchor" aria-label="anchor" href="#bugfixes-and-improvements-0-3-0"></a></h3>
- <ul><li><p>Better handling of multiple <code>extra_fonts</code>, including improved error messages. (Thanks <a href="https://github.com/pat-s" class="external-link">@pat-s</a>, <a href="https://github.com/gadenbuie/xaringanthemer/issues/19" class="external-link">#19</a>).</p></li>
- <li><p><code><a href="../reference/style_extra_css.html">style_extra_css()</a></code> (previously <code><a href="../reference/xaringanthemer-deprecated.html">write_extra_css()</a></code>) gained an <code>append</code> argument so that it can append to or overwrite an existing file (thanks <a href="https://github.com/pat-s" class="external-link">@pat-s</a>, <a href="https://github.com/gadenbuie/xaringanthemer/issues/17" class="external-link">#17</a>).</p></li>
- <li><p>The underlying tibble holding the theme template variables was updated to work with <code>tibble 3.0.0</code> (thanks <a href="https://github.com/techisdead" class="external-link">@techisdead</a>, <a href="https://github.com/SymbolixAU" class="external-link">@SymbolixAU</a>, <a href="https://github.com/gadenbuie/xaringanthemer/issues/32" class="external-link">#32</a>).</p></li>
- <li><p>The <code>css-help</code> vignette was removed and may be re-written in the future.</p></li>
- <li><p>Style function arguments that accept CSS property values are now documented in the argument documentation, including a link to the MDN web docs page for the CSS property or value (<a href="https://github.com/gadenbuie/xaringanthemer/issues/33" class="external-link">#33</a>, thanks <a href="https://github.com/TrashBirdEcology" class="external-link">@TrashBirdEcology</a> <a href="https://github.com/gadenbuie/xaringanthemer/issues/18" class="external-link">#18</a>).</p></li>
- <li><p>Style functions return the CSS text directly when <code>outfile = NULL</code>.</p></li>
- </ul></div>
- </div>
- </main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
- </nav></aside></div>
-
-
- <footer><div class="pkgdown-footer-left">
- <p></p><p>Developed by <a href="https://www.garrickadenbuie.com" class="external-link">Garrick Aden-Buie</a>.</p>
- </div>
-
- <div class="pkgdown-footer-right">
- <p></p><p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.0.1.</p>
- </div>
-
- </footer></div>
-
-
-
-
-
- </body></html>
|