aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gulpfile.js4
-rw-r--r--src/_icons/currency-yen.svg7
-rw-r--r--src/editor.html2
3 files changed, 11 insertions, 2 deletions
diff --git a/gulpfile.js b/gulpfile.js
index 967de80..9a5b6e6 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -414,7 +414,9 @@ gulp.task('optimize', function (cb) {
.replace(/a\s?([0-9.]+)\s([0-9.]+)\s([0-9.]+)\s?([0-1])\s?([0-1])\s?(-?[0-9.]+)\s?(-?[0-9.]+)/g, 'a$1 $2 $3 $4 $5 $6 $7')
.replace(/\n\n+/g, "\n");
- fs.writeFileSync(file, svgFileContent);
+ if(svgFile.toString() !== svgFileContent) {
+ fs.writeFileSync(file, svgFileContent);
+ }
});
cb();
diff --git a/src/_icons/currency-yen.svg b/src/_icons/currency-yen.svg
new file mode 100644
index 0000000..15f8a69
--- /dev/null
+++ b/src/_icons/currency-yen.svg
@@ -0,0 +1,7 @@
+---
+---
+<svg>
+ <path d="M12 19v-7l-5 -7m8 0l-5 7" />
+ <line x1="8" y1="17" x2="16" y2="17" />
+ <line x1="8" y1="13" x2="16" y2="13" />
+</svg>
diff --git a/src/editor.html b/src/editor.html
index fcf7d73..8a55e13 100644
--- a/src/editor.html
+++ b/src/editor.html
@@ -72,7 +72,7 @@ layout: default
<div class="mb">
{% include toolbar.html toolbar='arrow-back-up,arrow-forward-up,printer,paint|bold,italic,underline,strikethrough|align-left,align-center,align-right,align-justified,line-height|list,list-check|link,photo,table|sort-ascending,sort-descending|indent-increase,indent-decrease|subscript,superscript|minus,omega,chart-area-line,pencil|eraser,settings' %}
- {% include toolbar.html toolbar='check,checks,x|currency-euro,currency-dollar,currency-bitcoin,currency-pound,currency-rupee' %}
+ {% include toolbar.html toolbar='check,checks,x|currency-euro,currency-dollar,currency-bitcoin,currency-pound,currency-rupee,currency-yen' %}
</div>
<h2 class="icon-subtitle">{{ site.icons.size }} icons</h2>