<metaname="twitter:title"content="Version 5.20 :: Hugo Relearn Theme">
<metaname="twitter:description"content="5.20.0 (2023-08-26) Change Change The theme has updated its Swagger dependency to 5.4.1 for the openapi shortcode.">
<metaproperty="og:title"content="Version 5.20 :: Hugo Relearn Theme">
<metaproperty="og:description"content="5.20.0 (2023-08-26) Change Change The theme has updated its Swagger dependency to 5.4.1 for the openapi shortcode.">
<metaitemprop="name"content="Version 5.20 :: Hugo Relearn Theme">
<metaitemprop="description"content="5.20.0 (2023-08-26) Change Change The theme has updated its Swagger dependency to 5.4.1 for the openapi shortcode.">
<p><spanclass="badge cstyle note badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-exclamation-circle"></i></span><spanclass="badge-content">Change</span></span> Change of behavior, may require action</p>
</li>
<li>
<p><spanclass="badge cstyle info badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-plus-circle"></i></span><spanclass="badge-content">New</span></span> New behavior, often introducing new options</p>
</li>
</ul>
<hr>
<h2id="5-20-0">5.20.0 (2023-08-26)</h2>
<h3id="change">Change</h3>
<ul>
<li>
<p><spanclass="badge cstyle note badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-exclamation-circle"></i></span><spanclass="badge-content">Change</span></span> The theme has updated its Swagger dependency to 5.4.1 for the <ahref="/hugo-theme-relearn/shortcodes/openapi/index.html"><code>openapi</code> shortcode</a>.</p>
<p>With this comes a change in the light theme variants of <code>Relearn Bright</code>, <code>Relearn Light</code> and <code>Zen Light</code> by switching the syntaxhighlighting inside of openapi to a light scheme. This brings it more in sync with the code style used by the theme variants itself.</p>
<p>Additionally, the syntaxhighlighting inside of openapi for printing was switched to a light scheme for all theme variants.</p>
<p>If you dislike this change, you can revert this in your theme variants CSS by adding</p>
<p><spanclass="badge cstyle note badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-exclamation-circle"></i></span><spanclass="badge-content">Change</span></span> For consistency reasons, we renamed the CSS variable <code>--MENU-SECTION-HR-color</code> to <code>--MENU-SECTION-SEPARATOR-color</code>. You don’t need to change anything in your custom color stylesheet as the old name will be used as a fallback.</p>
</li>
</ul>
<h3id="new">New</h3>
<ul>
<li>
<p><spanclass="badge cstyle info badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-plus-circle"></i></span><spanclass="badge-content">New</span></span> The theme variants <code>Zen Light</code> and <code>Zen Dark</code> now add more contrast between menu, topbar and content by adding thin borders.</p>
<p>Those borders are now configurable by using the CSS variables <code>--MAIN-TOPBAR-BORDER-color</code>, <code>--MENU-BORDER-color</code>, <code>--MENU-TOPBAR-BORDER-color</code>, <code>--MENU-TOPBAR-SEPARATOR-color</code>, <code>--MENU-HEADER-SEPARATOR-color</code> and <code>--MENU-SECTION-ACTIVE-CATEGORY-BORDER-color</code>.</p>
<p>For existing variants nothing has changed visually.</p>
</li>
<li>
<p><spanclass="badge cstyle info badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-plus-circle"></i></span><spanclass="badge-content">New</span></span> The default values for the <ahref="/hugo-theme-relearn/authoring/markdown/index.html#image-effects">image effects</a> are <ahref="/hugo-theme-relearn/configuration/customization/imageeffects/index.html">now configurable</a> for your whole site via <code>hugo.toml</code> or for each page through front matter.</p>
</li>
<li>
<p><spanclass="badge cstyle info badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-plus-circle"></i></span><spanclass="badge-content">New</span></span> This release fixes a long-standing bug where Mermaid graphs could not be displayed if they were initially hidden - like in collapsed <code>expand</code> or inactive <code>tabs</code>.</p>
</li>
<li>
<p><spanclass="badge cstyle info badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-plus-circle"></i></span><spanclass="badge-content">New</span></span> Restored compatibility with Hugo versions lower than <spanclass="badge cstyle default badge-with-title"><spanclass="badge-title"><iclass="fa-fw fab fa-hackerrank"></i></span><spanclass="badge-content"style="background-color: fuchsia;">0.111.0</span></span> for the <ahref="/hugo-theme-relearn/shortcodes/highlight/index.html"><code>highlight</code> shortcode</a>. This does not change the minimum required Hugo version.</p>