|
- <!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.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><link href="../deps/IBM_Plex_Mono-0.4.9/font.css" rel="stylesheet"><link href="../deps/Outfit-0.4.9/font.css" rel="stylesheet"><link href="../deps/font-awesome-6.4.2/css/all.min.css" rel="stylesheet"><link href="../deps/font-awesome-6.4.2/css/v4-shims.min.css" rel="stylesheet"><script src="../deps/headroom-0.11.0/headroom.min.js"></script><script src="../deps/headroom-0.11.0/jQuery.headroom.min.js"></script><script src="../deps/bootstrap-toc-1.0.1/bootstrap-toc.min.js"></script><script src="../deps/clipboard.js-2.0.11/clipboard.min.js"></script><script src="../deps/search-1.0.0/autocomplete.jquery.min.js"></script><script src="../deps/search-1.0.0/fuse.min.js"></script><script src="../deps/search-1.0.0/mark.min.js"></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"><meta name="robots" content="noindex"></head><body>
- <a href="#main" class="visually-hidden-focusable">Skip to contents</a>
-
-
- <nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
-
- <a class="navbar-brand me-2" href="../index.html">xaringanthemer</a>
-
- <small class="nav-text text-danger me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="In-development version">0.4.2.9000</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-3">
- <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">
- <button class="nav-link dropdown-toggle" type="button" id="dropdown-themes" data-bs-toggle="dropdown" aria-expanded="false" aria-haspopup="true">Themes</button>
- <ul class="dropdown-menu" aria-labelledby="dropdown-themes"><li><h6 class="dropdown-header" data-toc-skip>Themes</h6></li>
- <li><a class="dropdown-item" href="../articles/themes.html">Slide Themes</a></li>
- <li><a class="dropdown-item" href="../articles/ggplot2-themes.html">ggplot2 Themes</a></li>
- <li><hr class="dropdown-divider"></li>
- <li><h6 class="dropdown-header" data-toc-skip>More Customization</h6></li>
- <li><a class="dropdown-item" href="../articles/fonts.html">Fonts</a></li>
- <li><a class="dropdown-item" href="../articles/template-variables.html">Template Variables</a></li>
- </ul></li>
- </ul><ul class="navbar-nav"><li class="active nav-item dropdown">
- <button class="nav-link dropdown-toggle" type="button" id="dropdown-" data-bs-toggle="dropdown" aria-expanded="false" aria-haspopup="true"><span class="fa far fa-newspaper fa-lg"></span> </button>
- <ul class="dropdown-menu dropdown-menu-end" aria-labelledby="dropdown-"><li><a class="external-link dropdown-item" href="https://garrickadenbuie.com/blog/xaringanthemer-v0-3-0/">xaringanthemer 0.3.0</a></li>
- <li><hr class="dropdown-divider"></li>
- <li><a class="dropdown-item" href="../news/index.html">Changelog</a></li>
- </ul></li>
- <li class="nav-item"><a class="external-link nav-link" href="https://github.com/gadenbuie/xaringanthemer"><span class="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="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="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/main/NEWS.md" class="external-link"><code>NEWS.md</code></a></small>
- </div>
-
- <div class="section level2">
- <h2 class="pkg-version" data-toc-text="development version" id="xaringanthemer-development-version">xaringanthemer (development version)<a class="anchor" aria-label="anchor" href="#xaringanthemer-development-version"></a></h2>
- <ul><li>Update the spelling of <code>colour</code> for compatibility with ggplot2 >= 3.5.1 (<a href="https://github.com/teunbrand" class="external-link">@teunbrand</a> <a href="https://github.com/gadenbuie/xaringanthemer/issues/79" class="external-link">#79</a>).</li>
- </ul></div>
- <div class="section level2">
- <h2 class="pkg-version" data-toc-text="0.4.2" id="xaringanthemer-042">xaringanthemer 0.4.2<a class="anchor" aria-label="anchor" href="#xaringanthemer-042"></a></h2><p class="text-muted">CRAN release: 2022-08-20</p>
- <ul><li><p>Use <code>.table-unshaded</code> class on a tables to prevent xaringanthemer’s table heading and row shading (thanks <a href="https://github.com/dragonattheend" class="external-link">@dragonattheend</a>, <a href="https://github.com/gadenbuie/xaringanthemer/issues/74" class="external-link">#74</a>)</p></li>
- <li><p>Use <code>inverse_text_color</code> as the default for <code>inverse_header_color</code> in most places (<a href="https://github.com/gadenbuie/xaringanthemer/issues/60" class="external-link">#60</a>)</p></li>
- <li><p>Fixed a bug that happened when providing named values for key theme colors (<a href="https://github.com/gadenbuie/xaringanthemer/issues/62" class="external-link">#62</a>)</p></li>
- <li><p>Re-document for CRAN</p></li>
- </ul></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" aria-label="Table of contents"><h2>On this page</h2>
- </nav></aside></div>
-
-
- <footer><div class="pkgdown-footer-left">
- <p>Developed by <a href="https://www.garrickadenbuie.com" class="external-link">Garrick Aden-Buie</a>.</p>
- </div>
-
- <div class="pkgdown-footer-right">
- <p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.0.</p>
- </div>
-
- </footer></div>
-
-
-
- <script src="../doc-versions.js"></script></body></html>
|