aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcodecalm <codecalm@gmail.com>2020-03-01 13:11:06 +0100
committercodecalm <codecalm@gmail.com>2020-03-01 13:11:06 +0100
commit3d8fa31469119b0d70ebebbde39fe113c50b66f4 (patch)
tree6b34a53139fa21445f5139fe382600b36dee657d
parentalign fixes, ajdustment icons (diff)
downloadtabler-icons-3d8fa31469119b0d70ebebbde39fe113c50b66f4.tar.xz
tranding icons
-rw-r--r--_config.yml2
-rw-r--r--_icons/activity.svg2
-rw-r--r--_icons/ajdustments.svg6
-rw-r--r--_icons/trending-down.svg6
-rw-r--r--_icons/trending-up.svg6
-rw-r--r--_includes/icon.html2
-rw-r--r--index.html1
-rw-r--r--style.scss7
8 files changed, 26 insertions, 6 deletions
diff --git a/_config.yml b/_config.yml
index 69ce589b..7582e66f 100644
--- a/_config.yml
+++ b/_config.yml
@@ -2,7 +2,7 @@ plugins:
- jekyll-last-modified-at
exclude:
- - .idea/*
+ - .idea
- package.json
defaults:
diff --git a/_icons/activity.svg b/_icons/activity.svg
index 4dca4a3f..08fbfab6 100644
--- a/_icons/activity.svg
+++ b/_icons/activity.svg
@@ -1,5 +1,5 @@
---
---
<svg>
- <polyline points="21 12 18 12 15 20 9 4 6 12 3 12" />
+ <polyline points="21 12 17 12 14 20 10 4 7 12 3 12" />
</svg>
diff --git a/_icons/ajdustments.svg b/_icons/ajdustments.svg
index dc535937..7a5120ee 100644
--- a/_icons/ajdustments.svg
+++ b/_icons/ajdustments.svg
@@ -1,9 +1,9 @@
---
---
<svg>
- <circle cx="6" cy="9" r="2"></circle>
- <line x1="6" y1="4" x2="6" y2="7"></line>
- <line x1="6" y1="11" x2="6" y2="20"></line>
+ <circle cx="6" cy="10" r="2"></circle>
+ <line x1="6" y1="4" x2="6" y2="8"></line>
+ <line x1="6" y1="12" x2="6" y2="20"></line>
<circle cx="12" cy="16" r="2"></circle>
<line x1="12" y1="4" x2="12" y2="14"></line>
diff --git a/_icons/trending-down.svg b/_icons/trending-down.svg
new file mode 100644
index 00000000..a1f179cf
--- /dev/null
+++ b/_icons/trending-down.svg
@@ -0,0 +1,6 @@
+---
+---
+<svg>
+ <polyline points="3 7 9 13 13 9 21 17" />
+ <polyline points="21 9 21 17 13 17" />
+</svg>
diff --git a/_icons/trending-up.svg b/_icons/trending-up.svg
new file mode 100644
index 00000000..6ebd42d7
--- /dev/null
+++ b/_icons/trending-up.svg
@@ -0,0 +1,6 @@
+---
+---
+<svg>
+ <polyline points="3 17 9 11 13 15 21 7" />
+ <polyline points="13 7 21 7 21 15" />
+</svg>
diff --git a/_includes/icon.html b/_includes/icon.html
index 22834ebc..5cedcd5d 100644
--- a/_includes/icon.html
+++ b/_includes/icon.html
@@ -1 +1 @@
-{% assign name = include.name %}{% assign icon = site.icons | where: "slug", name | first %}{% assign content = icon.content | replace: '<svg', '<svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"' %}{{ content }}
+{% assign name = include.name %}{% assign icon = site.icons | where: "slug", name | first %}{% assign replace-to = '<svg xmlns="http://www.w3.org/2000/svg" class="icon tabler-icon tabler-icon-ICON_NAME" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"' | replace: 'ICON_NAME', name %}{% assign content = icon.content | replace: '<svg', replace-to %}{{ content }}
diff --git a/index.html b/index.html
index a0e48712..1e5745b6 100644
--- a/index.html
+++ b/index.html
@@ -81,6 +81,7 @@
</div>
</div>
+ <h2 class="icon-subtitle">{{ site.icons.size }} icons</h2>
<div class="mb">
<div class="icons-list">
diff --git a/style.scss b/style.scss
index 8525ae50..503842b2 100644
--- a/style.scss
+++ b/style.scss
@@ -78,6 +78,13 @@ a {
font-weight: 600;
}
+.icon-subtitle {
+ font-size: 1rem;
+ line-height: 1;
+ margin: 0 0 1rem;
+ font-weight: 600;
+}
+
.icon-preview-wrap {
position: relative;