From f11fb7d21bc48dabb37ce74147e7737ce6f4abfb Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Tue, 22 Dec 2020 13:45:25 +0100 Subject: [PATCH] prepare release --- CHANGELOG.md | 1 + exampleSite/content/shortcodes/hints.md | 8 +++++++- exampleSite/content/usage/menus.md | 4 +--- src/sass/_defaults.scss | 1 + 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 926bf8f..bb4f4a9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,3 +3,4 @@ - Use option `geekdocSearchShowParent` to group search results by parent #38 (@LukasHirt). This is changing the current behavior of prefixing search results with the parent by grouped nested lists. + - Add `ok` color option for `hint` shortcode diff --git a/exampleSite/content/shortcodes/hints.md b/exampleSite/content/shortcodes/hints.md index f7d84c5..a44d2c3 100644 --- a/exampleSite/content/shortcodes/hints.md +++ b/exampleSite/content/shortcodes/hints.md @@ -1,5 +1,5 @@ Hint shortcode can be used as hint/alerts/notification block. -There are 3 colors to choose: `info`, `warning` and `danger`. +There are four colors to choose: `info`, `ok`, `warning` and `danger`. ```tpl {{}} @@ -17,6 +17,12 @@ Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclima Ornateness bland it ex enc, est yeti am bongo detract re. {{< /hint >}} +{{< hint ok >}} +**Markdown content**\ +Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclimates investiture. +Ornateness bland it ex enc, est yeti am bongo detract re. +{{< /hint >}} + {{< hint warning >}} **Markdown content**\ Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclimates investiture. diff --git a/exampleSite/content/usage/menus.md b/exampleSite/content/usage/menus.md index cf8c72a..6e50ff4 100644 --- a/exampleSite/content/usage/menus.md +++ b/exampleSite/content/usage/menus.md @@ -29,8 +29,6 @@ content/ └── level-2-2.md ``` -Generated navigation: - [![Example file-tree menu](/media/file-tree.png)](/media/file-tree.png) ## Bundle menu @@ -70,7 +68,7 @@ As an advantage you can add icons to your menu entries e.g. `icon: "notification ### More menu -{{< hint info >}} +{{< hint ok >}} **Tip**\ The more menu is special type of the bundle menu and can be combined with the default file-tree menu. {{< /hint >}} diff --git a/src/sass/_defaults.scss b/src/sass/_defaults.scss index 9c7a7a8..7e4de89 100644 --- a/src/sass/_defaults.scss +++ b/src/sass/_defaults.scss @@ -52,6 +52,7 @@ $sm-breakpoint: $menu-width + $body-min-width + 3rem !default; // Panel colors $hint-colors: ( info: rgba(102, 187, 255, 1), + ok: rgba(139, 195, 74, 1), warning: rgba(255, 221, 102, 1), danger: rgba(255, 102, 102, 1), ) !default;