diff options
author | Gabriel Arazas <foo.dogsquared@gmail.com> | 2022-10-26 09:58:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-26 09:58:11 +0300 |
commit | d924ae1bd579920faf331b90b1580359052e2835 (patch) | |
tree | 2903fa72dcc830cf2542f02703175323e9df118d /README.md | |
parent | d1635e3c8e62528c52131c007152038d01286873 (diff) |
* Update to Heroicons v2.0.12
* Update README.md
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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. |