diff --git a/exampleSite/content/basics/migration/_index.en.md b/exampleSite/content/basics/migration/_index.en.md index a3648d6200..8066d5cf5e 100644 --- a/exampleSite/content/basics/migration/_index.en.md +++ b/exampleSite/content/basics/migration/_index.en.md @@ -18,6 +18,23 @@ This document shows you what's new in the latest release. For a detailed list of --- +## 5.20.0 (0000-00-00) {#0} + +- {{% badge style="note" title=" " %}}Change{{% /badge %}} The theme has updated its Swagger dependency to 5.4.1 for the [`openapi` shortcode]({{% relref "shortcodes/openapi" %}}). + + With this comes a change in the light variants of `Relearn Bright`, `Relearn Light` and `Zen Light` of the theme by switching the syntaxhighlightning inside of openapi to a light scheme. This brings it more in sync with the style used by the theme variants itself. + + Additionally, the syntaxhighlightning 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 + + ````css + --OPENAPI-CODE-theme: obsidian; + --PRINT-OPENAPI-CODE-theme: obsidian; + ```` + +--- + ## 5.19.0 (2023-08-12) {#5190} - {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} The [`highlight` shortcode]({{% relref "shortcodes/highlight" %}}) now accepts the new parameter `title`. This displays the code like a [single tab]({{% relref "shortcodes/tab" %}}). This is also available using codefences and makes it much easier to write nicer code samples. diff --git a/static/css/theme-relearn-bright.css b/static/css/theme-relearn-bright.css index fb2c19496e..bde62e076d 100644 --- a/static/css/theme-relearn-bright.css +++ b/static/css/theme-relearn-bright.css @@ -27,7 +27,7 @@ --BROWSER-theme: light; /* name of the theme for browser scrollbars of the main section */ --MERMAID-theme: default; /* name of the default Mermaid theme for this variant, can be overridden in config.toml */ --OPENAPI-theme: light; /* name of the default OpenAPI theme for this variant, can be overridden in config.toml */ - --OPENAPI-CODE-theme: obsidian; /* name of the default OpenAPI code theme for this variant, can be overridden in config.toml */ + --OPENAPI-CODE-theme: idea; /* name of the default OpenAPI code theme for this variant, can be overridden in config.toml */ --MENU-HEADER-BG-color: rgba( 0, 0, 0, 0 ); /* background color of menu header */ diff --git a/static/css/theme-relearn-light.css b/static/css/theme-relearn-light.css index eb79b1340c..6f36224549 100644 --- a/static/css/theme-relearn-light.css +++ b/static/css/theme-relearn-light.css @@ -27,7 +27,7 @@ --BROWSER-theme: light; /* name of the theme for browser scrollbars of the main section */ --MERMAID-theme: default; /* name of the default Mermaid theme for this variant, can be overridden in config.toml */ --OPENAPI-theme: light; /* name of the default OpenAPI theme for this variant, can be overridden in config.toml */ - --OPENAPI-CODE-theme: obsidian; /* name of the default OpenAPI code theme for this variant, can be overridden in config.toml */ + --OPENAPI-CODE-theme: idea; /* name of the default OpenAPI code theme for this variant, can be overridden in config.toml */ --MENU-HOME-LINK-color: rgba( 64, 64, 64, 1 ); /* home button color if configured */ --MENU-HOME-LINK-HOVER-color: rgba( 0, 0, 0, 1 ); /* hovered home button color if configured */ diff --git a/static/css/theme-zen-light.css b/static/css/theme-zen-light.css index 214c57723a..0cc87feb73 100644 --- a/static/css/theme-zen-light.css +++ b/static/css/theme-zen-light.css @@ -26,7 +26,7 @@ --BROWSER-theme: light; /* name of the theme for browser scrollbars of the main section */ --MERMAID-theme: default; /* name of the default Mermaid theme for this variant, can be overridden in config.toml */ --OPENAPI-theme: light; /* name of the default OpenAPI theme for this variant, can be overridden in config.toml */ - --OPENAPI-CODE-theme: obsidian; /* name of the default OpenAPI code theme for this variant, can be overridden in config.toml */ + --OPENAPI-CODE-theme: idea; /* name of the default OpenAPI code theme for this variant, can be overridden in config.toml */ --MENU-HEADER-BG-color: transparent; /* background color of menu header */ --MENU-HEADER-BORDER-color: transparent; /* separator color of menu header */ diff --git a/static/css/variant-internal.css b/static/css/variant-internal.css index bebbc5be92..bfc11c79ac 100644 --- a/static/css/variant-internal.css +++ b/static/css/variant-internal.css @@ -102,5 +102,5 @@ --INTERNAL-PRINT-MAIN-TEXT-color: var(--PRINT-MAIN-TEXT-color, rgba( 16, 16, 16, 1 )); --INTERNAL-PRINT-MERMAID-theme: var(--PRINT-MERMAID-theme, default); --INTERNAL-PRINT-OPENAPI-theme: var(--PRINT-OPENAPI-theme, var(--PRINT-SWAGGER-theme, light)); - --INTERNAL-PRINT-OPENAPI-CODE-theme: var(--PRINT-OPENAPI-CODE-theme, obsidian); + --INTERNAL-PRINT-OPENAPI-CODE-theme: var(--PRINT-OPENAPI-CODE-theme, idea); }