Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo-mod-heroicons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Arazas <foo.dogsquared@gmail.com>2022-10-26 09:58:11 +0300
committerGitHub <noreply@github.com>2022-10-26 09:58:11 +0300
commitd924ae1bd579920faf331b90b1580359052e2835 (patch)
tree2903fa72dcc830cf2542f02703175323e9df118d /README.md
parentd1635e3c8e62528c52131c007152038d01286873 (diff)
Update followed module to v2.0.12 (#4)HEADmaster
* Update to Heroicons v2.0.12 * Update README.md
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 3 insertions, 4 deletions
diff --git a/README.md b/README.md
index d589e0c..59f33c4 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,5 @@
Heroicons is a set of free MIT-licensed high-quality SVG icons for you to use in your web projects.
-
-224 icons per style currently, more to come in the future. See https://github.com/refactoringui/heroicons
+Currently, this Hugo module mainly follows version v2.0.
## Use
@@ -16,8 +15,8 @@ The icons gets mounted in `assets/svg/heroicons`.
This means that they can be used like this in a Hugo template:
```html
-{{ $icon := resources.Get "svg/heroicons/outline/search.svg" }}
+{{ $icon := resources.Get "svg/heroicons/24/outline/search.svg" }}
{{ $icon.Content | safeHTML }}
```
-See https://github.com/refactoringui/heroicons/tree/master/src for a full list of icons.
+See https://github.com/tailwindlabs/heroicons/tree/master/src for a full list of icons and its folder structure.