svg url in img tags

This commit is contained in:
Laurent Payot
2023-06-02 13:26:47 +02:00
parent b8a9738695
commit 533ec7875b

View File

@@ -15,7 +15,7 @@ Super lightweight SVG identicon generator. No dependencies.
[![npm](https://badgen.net/npm/v/minidenticons)](https://www.npmjs.com/package/minidenticons)
[![license](https://badgen.net/github/license/laurentpayot/minidenticons)](https://github.com/laurentpayot/minidenticons/blob/main/LICENSE)
[![Minidenticons](img/minidenticons.svg)](https://laurentpayot.github.io/minidenticons/)
<img src="img/minidenticons.svg" style="width:100%" alt="Minidenticons">
## Why
@@ -64,9 +64,9 @@ By default the color saturation is set to 95% and the lightness is set to 45%. B
Play with [the demo](https://laurentpayot.github.io/minidenticons/) to find a combination of saturation and lightness that matches your website theme colors: light, dark or whatever :sunglasses:
![Minidenticons light](img/smileys-white.svg)
![Minidenticons dark](img/smileys-black.svg)
![Minidenticons weird](img/smileys-yellow.svg)
<img src="img/smileys-white.svg" style="width:100%" alt="Minidenticons light">
<img src="img/smileys-black.svg" style="width:100%" alt="Minidenticons dark">
<img src="img/smileys-yellow.svg" style="width:100%" alt="Minidenticons weird">
## Advanced usage with the `minidenticon()` function