hugo-theme-relearn/exampleSite/content/basics/releasenotes/5/20.en.md
2024-10-11 16:46:54 +02:00

2.5 KiB

+++ disableToc = false hidden = true title = "Version 5.20" type = "releasenotes" weight = -20 +++

5.20.0 (2023-08-26)

Change

  • {{% badge style="note" title=" " %}}Change{{% /badge %}} The theme has updated its Swagger dependency to 5.4.1 for the openapi shortcode.

    With this comes a change in the light theme variants of Relearn Bright, Relearn Light and Zen Light 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.

    Additionally, the syntaxhighlighting inside of openapi for printing was switched to a light scheme for all theme variants.

    If you dislike this change, you can revert this in your theme variants CSS by adding

    --OPENAPI-CODE-theme: obsidian;
    --PRINT-OPENAPI-CODE-theme: obsidian;
    
  • {{% badge style="note" title=" " %}}Change{{% /badge %}} For consistency reasons, we renamed the CSS variable --MENU-SECTION-HR-color to --MENU-SECTION-SEPARATOR-color. You don't need to change anything in your custom color stylesheet as the old name will be used as a fallback.

New

  • {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} The theme variants Zen Light and Zen Dark now add more contrast between menu, topbar and content by adding thin borders.

    Those borders are now configurable by using the CSS variables --MAIN-TOPBAR-BORDER-color, --MENU-BORDER-color, --MENU-TOPBAR-BORDER-color, --MENU-TOPBAR-SEPARATOR-color, --MENU-HEADER-SEPARATOR-color and --MENU-SECTION-ACTIVE-CATEGORY-BORDER-color.

    For existing variants nothing has changed visually.

  • {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} The default values for the image effects are now configurable for your whole site via hugo.toml or for each page through frontmatter.

  • {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} This release fixes a long unresolved bug where Mermaid graphs could not be displayed if they were initially hidden - like in collapsed expand or inactive tabs.

  • {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} Restored compatibility with Hugo versions lower than {{% badge color="fuchsia" icon="fa-fw fab fa-hackerrank" title=" " %}}0.111.0{{% /badge %}} for the highlight shortcode. This does not change the minimum required Hugo version.