aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 69ce589..7582e66 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 4dca4a3..08fbfab 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 dc53593..7a5120e 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 0000000..a1f179c
--- /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 0000000..6ebd42d
--- /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 22834eb..5cedcd5 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 a0e4871..1e5745b 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 8525ae5..503842b 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;