diff options
author | codecalm <codecalm@gmail.com> | 2020-03-22 16:48:09 +0100 |
---|---|---|
committer | codecalm <codecalm@gmail.com> | 2020-03-22 16:48:09 +0100 |
commit | 50b07ba577243cfe941746402e0195121133b6b7 (patch) | |
tree | 1edb33b93ab79f26d8bf55f95536ce7d6616c092 /src/_includes | |
parent | gulp changelog generate, new icons (diff) | |
parent | Merge branches 'dev' and 'master' of https://github.com/tabler/tabler-icons i... (diff) | |
download | tabler-icons-50b07ba577243cfe941746402e0195121133b6b7.tar.xz |
Merge branches 'dev' and 'master' of https://github.com/tabler/tabler-icons
Diffstat (limited to 'src/_includes')
-rw-r--r-- | src/_includes/icon.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/_includes/icon.html b/src/_includes/icon.html index 25ec600..39b96aa 100644 --- a/src/_includes/icon.html +++ b/src/_includes/icon.html @@ -1,2 +1,2 @@ {% assign stroke = include.stroke | default: 2 %}{% assign width = 24 %}{% assign name = include.name %}{% assign icon = site.icons | where: "slug", name | first %}{% capture replace-to %}<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-{{ name }}" width="{{ width }}" height="{{ width }}" viewBox="0 0 24 24" stroke-width="{{ stroke }}" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"> - <rect x="0" y="0" width="24" height="24" stroke="none"></rect>{% endcapture %}{% assign content = icon.content | replace: '<svg>', replace-to %}{{ content }} + <path stroke="none" d="M0 0h24v24H0z"/>{% endcapture %}{% assign content = icon.content | replace: '<svg>', replace-to %}{{ content }} |