aboutsummaryrefslogtreecommitdiff
path: root/src/_includes/icon.html
diff options
context:
space:
mode:
authorcodecalm <codecalm@gmail.com>2020-03-21 20:02:57 +0100
committercodecalm <codecalm@gmail.com>2020-03-21 20:02:57 +0100
commit0908f417fe8cf18f6f88463eced6926c0e9d99de (patch)
treecbdbc01c6f21107991906537e4eeddaf79905f9c /src/_includes/icon.html
parentbuild new version (diff)
downloadtabler-icons-0908f417fe8cf18f6f88463eced6926c0e9d99de.tar.xz
16 new icons: `alarm`, `arrow-back`, `arrow-forward`, `artboard`, `award`, `bug`, `calendar-event`, `globe`, `help`, `mug`, `palette`, `pencil`, `record-mail`, `ruler`, `scissors`, `stack`
Fixed icons: `directions`, `disabled`, `disc`, `edit`, `switch-vertical`
Diffstat (limited to 'src/_includes/icon.html')
-rw-r--r--src/_includes/icon.html2
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 }}