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
parentd1635e3c8e62528c52131c007152038d01286873 (diff)
Update followed module to v2.0.12 (#4)HEADmaster
* Update to Heroicons v2.0.12 * Update README.md
-rw-r--r--README.md7
-rw-r--r--config.toml4
-rw-r--r--go.mod4
-rw-r--r--go.sum4
4 files changed, 10 insertions, 9 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.
diff --git a/config.toml b/config.toml
index 3d76466..3603742 100644
--- a/config.toml
+++ b/config.toml
@@ -1,6 +1,6 @@
[module]
[[module.imports]]
-path="github.com/refactoringui/heroicons"
+path="github.com/tailwindlabs/heroicons"
[[module.imports.mounts]]
source = "src"
-target = "assets/svg/heroicons" \ No newline at end of file
+target = "assets/svg/heroicons"
diff --git a/go.mod b/go.mod
index e2d8465..f63d152 100644
--- a/go.mod
+++ b/go.mod
@@ -2,4 +2,6 @@ module github.com/gohugoio/hugo-mod-heroicons
go 1.13
-require github.com/refactoringui/heroicons v0.4.2 // indirect
+require (
+ github.com/tailwindlabs/heroicons v2.0.12+incompatible // indirect
+)
diff --git a/go.sum b/go.sum
index 75a3799..7cb89d9 100644
--- a/go.sum
+++ b/go.sum
@@ -1,2 +1,2 @@
-github.com/refactoringui/heroicons v0.4.2 h1:gLYH0RH4nLh81yxAC/JgyvKIeK0d+sBVF/I2XkPb6U8=
-github.com/refactoringui/heroicons v0.4.2/go.mod h1:82HsLWQga7MkEl5aK8TctxPPIBlXrsyWcVTB57uipuk=
+github.com/tailwindlabs/heroicons v2.0.12+incompatible h1:/VP8gTvGj4if1VxmeW9M1OYCNUzCQBRMHPv58CF3s2s=
+github.com/tailwindlabs/heroicons v2.0.12+incompatible/go.mod h1:2SHGOdw86jviBkoeQINcTfkzAAao9dciip4RsMS9xIg=