From 257b7c603d48a84d69d305658eace2accc6b88e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Thu, 1 Dec 2022 09:00:36 +0100 Subject: [PATCH] badge: fix minor issues in docs #410 --- exampleSite/content/shortcodes/badge.en.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/exampleSite/content/shortcodes/badge.en.md b/exampleSite/content/shortcodes/badge.en.md index 224c178fa1..8e1f5fad7f 100644 --- a/exampleSite/content/shortcodes/badge.en.md +++ b/exampleSite/content/shortcodes/badge.en.md @@ -54,16 +54,14 @@ While the examples are using shortcodes with named parameter you are free to als {{% /tab %}} {{< /tabs >}} -Once the button is clicked, it opens another browser tab for the given URL. - ### Parameter | Name | Default | Notes | |:----------------------|:----------------|:------------| -| **style** | `transparent` | The color scheme used to paint the badge.

- by severity: `info`, `note`, `tip`, `warning`
- by brand color: `primary`, `secondary`
- by color: `blue`, `green`, `grey`, `orange`, `red`
- by special color: `default`, `transparent` | +| **style** | `default` | The color scheme used to paint the badge.

- by severity: `info`, `note`, `tip`, `warning`
- by brand color: `primary`, `secondary`
- by color: `blue`, `green`, `grey`, `orange`, `red`
- by special color: `default`, `transparent` | | **icon** | see notes | [Font Awesome icon name]({{%relref "cont/icons#finding-an-icon" %}}) set to the left of the title. Depending on the **style** there may be a default icon. Any given value will overwrite the default.

- for severity styles: a nice matching icon for the severity
- for all other colors: _<empty>_

If you want no icon for a severity style, you have to set this parameter to `" "` (a non empty string filled with spaces) | | **title** | see notes | Arbitrary text for the badge title. Depending on the **style** there may be a default title. Any given value will overwrite the default.

- for severity styles: the matching title for the severity
- for all other colors: _<empty>_

If you want no title for a severity style, you have to set this parameter to `" "` (a non empty string filled with spaces) | -| _**<content>**_ | see notes | Arbitrary text for the badge| _**<content>**_ | | _<empty>_ | Arbitrary text to be displayed in box. | +| _**<content>**_ | _<empty>_ | Arbitrary text for the badge. | ## Examples