From 0e61737c538bd95c4b93d9d616c95de042aec058 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Mon, 21 Feb 2022 00:24:22 +0100 Subject: [PATCH] variants: release generator to public #188 --- exampleSite/content/basics/generator/_index.en.md | 4 ++-- exampleSite/content/basics/generator/_index.pir.md | 1 - exampleSite/content/basics/migration/_index.en.md | 2 ++ 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/exampleSite/content/basics/generator/_index.en.md b/exampleSite/content/basics/generator/_index.en.md index c8b4d1e985..bff2d4a152 100644 --- a/exampleSite/content/basics/generator/_index.en.md +++ b/exampleSite/content/basics/generator/_index.en.md @@ -1,7 +1,6 @@ +++ title = "Stylesheet generator" weight = 26 -hidden = true +++ This interactive tool may help you to generate your own color variant stylesheet. @@ -12,8 +11,9 @@ The graph is interactive and reflect the current colors. You can click on any of The arrowed lines reflect how colors are inherited thru different parts of the theme if the descendent isn't overwritten. If you want to delete a color and let it inherit from its parent, just delete the value from the input field. -This is best seen in the `neon` variant with the differnet headings colors. There, colors for the heading `h1`, `h2`, `h3` and `h4` are explicitly set. `h5` is not set and inherits its value from `h4`. `h6` is also not set and inherits its value from `h5`. +To better understand this select the `neon` variant and modify the differnet heading colors. There, colors for the heading `h2`, `h3` and `h4` are explicitly set. `h5` is not set and inherits its value from `h4`. `h6` is also not set and inherits its value from `h5`. +Once you are satisfied, you can download the new variants file and install it in your site. ## Variant generator
Graph
diff --git a/exampleSite/content/basics/generator/_index.pir.md b/exampleSite/content/basics/generator/_index.pir.md index 014c1cdaf9..1a2af5ad95 100644 --- a/exampleSite/content/basics/generator/_index.pir.md +++ b/exampleSite/content/basics/generator/_index.pir.md @@ -1,6 +1,5 @@ +++ title = "Stylesheet generrrat'r" weight = 26 -hidden = true +++ {{< piratify >}} \ No newline at end of file diff --git a/exampleSite/content/basics/migration/_index.en.md b/exampleSite/content/basics/migration/_index.en.md index e09607d1be..fe9403dca8 100644 --- a/exampleSite/content/basics/migration/_index.en.md +++ b/exampleSite/content/basics/migration/_index.en.md @@ -34,6 +34,8 @@ This document shows you what's new in the latest release. For a detailed list of To see what's now possible, see the new variants `relearn-dark` and `neon` that are coming with this release. +- **New**: To make the creation of new variants easier for you, we've added a new interactive [theme variant generator]({{%relref "basics/generator" %}}). + - **New**: You can now configure multiple color variants in your `config.toml`. In this case, the first variant is the default chosen on first view and a theme switch will be shown in the menu footer. See the [documentation]({{%relref "basics/customization/#multiple-variants" %}}) for configuration. Note, that the new theme switch will not work with Internet Explorer 11 as it does not support CSS variables.