mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-02-02 11:32:30 -06:00
Update docs.
This commit is contained in:
parent
0a47bab73a
commit
47b038a280
1 changed files with 7 additions and 12 deletions
|
@ -17,19 +17,14 @@ In addition to all the [default Hugo shortcodes](https://gohugo.io/content-manag
|
|||
|
||||
<!-- prettier-ignore-start -->
|
||||
| Parameter | Description |
|
||||
| -------------- | -------------------------------------------------------- |
|
||||
| `icon` | **Optional.** the icon to display on the left side. |
|
||||
| `iconColor` | **Optional.** the color for the icon in basic CSS style. |
|
||||
| `cardColor` | **Optional.** the color for the card background in basic CSS style. |
|
||||
| `textColor` | **Optional.** the color for the text in basic CSS style. |
|
||||
| -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
||||
| `icon` | **Optional.** the icon to display on the left side.<br>**Default:** `exclaimation triangle icon` (Check out the [icon shortcode](#icon) for more details on using icons.) |
|
||||
| `iconColor` | **Optional.** the color for the icon in basic CSS style.<br>Can be either hex values (`#FFFFFF`) or color names (`white`)<br>By default chosen based on the current color theme . |
|
||||
| `cardColor` | **Optional.** the color for the card background in basic CSS style.<br>Can be either hex values (`#FFFFFF`) or color names (`white`)<br>By default chosen based on the current color theme . |
|
||||
| `textColor` | **Optional.** the color for the text in basic CSS style.<br>Can be either hex values (`#FFFFFF`) or color names (`white`)<br>By default chosen based on the current color theme . |
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
Notes:
|
||||
|
||||
1. The colors can be either hex values (`#FFFFFF`) or color names (`white`).
|
||||
2. By default, the colors for the card, icon and text are decided based on the current color theme.
|
||||
3. By default, the alert is presented with an exclaimation triangle icon. To change the icon, include the icon name in the shortcode. Check out the [icon shortcode](#icon) for more details on using icons.
|
||||
4. The content of the alert is written in Markdown so you can format it however you please.
|
||||
The input is written in Markdown so you can format it however you please.
|
||||
|
||||
**Example 1:**
|
||||
|
||||
|
|
Loading…
Reference in a new issue