Added ko-fi icon support

This commit is contained in:
Gabriel Barceló Soteras
2022-10-13 20:53:42 +02:00
parent 6a3c4f9c21
commit b0f13f1601
3 changed files with 66 additions and 1 deletions

View File

@@ -10,7 +10,7 @@ tags: ["icons", "sample", "shortcodes"]
Blowfish has built-in support for a number of [FontAwesome 6](https://fontawesome.com/icons) icons. These can be included in your website through either the [icon partial]({{< ref "docs/partials#icon" >}}) or [icon shortcode]({{< ref "docs/shortcodes#icon" >}}).
Additionally, custom icons are also fully supported. Simply provide your own SVG icon assets by placing them in the `assets/icons/` directory in the root of your project. Any icons in the icons directory will then be available to use throughout the theme.
Additionally, custom icons are also fully supported. Simply provide your own SVG icon assets by placing them in the `assets/icons/` directory in the root of your project. Any icons in the icons directory will then be available to use throughout the theme. In order achieve automatic color filling every SVG path needs fill="currentColor" XML attribute.
The full list of built-in icons and their corresponding names can referenced below.
@@ -96,3 +96,4 @@ The full list of built-in icons and their corresponding names can referenced bel
| whatsapp | {{< icon whatsapp >}} |
| xmark | {{< icon xmark >}} |
| youtube | {{< icon youtube >}} |
| ko-fi | {{< icon ko-fi >}} |