From 80bc52fc55b2937b855ac05d5861cefd24c5e6f6 Mon Sep 17 00:00:00 2001 From: codecalm Date: Fri, 18 Sep 2020 10:35:14 +0200 Subject: 3 new icons: `circle-square`, `circles`, `triangle-square-circle` Fixed icons: `circle`, `heart`, `hexagon`, `octagon`, `square-rotated`, `square`, `triangle` --- .github/icons.svg | 4 ++-- src/_icons/circle-square.svg | 7 +++++++ src/_icons/circle.svg | 1 + src/_icons/circles.svg | 8 ++++++++ src/_icons/heart.svg | 1 + src/_icons/hexagon.svg | 3 ++- src/_icons/octagon.svg | 1 + src/_icons/square-rotated.svg | 1 + src/_icons/square.svg | 1 + src/_icons/triangle-square-circle.svg | 8 ++++++++ src/_icons/triangle.svg | 1 + src/editor.html | 6 ++++++ src/style.scss | 4 ++++ tabler-sprite-nostroke.svg | 2 +- tabler-sprite.svg | 2 +- 15 files changed, 45 insertions(+), 5 deletions(-) create mode 100644 src/_icons/circle-square.svg create mode 100644 src/_icons/circles.svg create mode 100644 src/_icons/triangle-square-circle.svg diff --git a/.github/icons.svg b/.github/icons.svg index 3fe0b90..a6b07c1 100644 --- a/.github/icons.svg +++ b/.github/icons.svg @@ -721,7 +721,7 @@ - + @@ -2164,4 +2164,4 @@ - \ No newline at end of file + diff --git a/src/_icons/circle-square.svg b/src/_icons/circle-square.svg new file mode 100644 index 0000000..4f1d5a4 --- /dev/null +++ b/src/_icons/circle-square.svg @@ -0,0 +1,7 @@ +--- +category: Shapes +--- + + + + diff --git a/src/_icons/circle.svg b/src/_icons/circle.svg index 2d67f25..6e30820 100644 --- a/src/_icons/circle.svg +++ b/src/_icons/circle.svg @@ -1,4 +1,5 @@ --- +category: Shapes tags: [off, zero] --- diff --git a/src/_icons/circles.svg b/src/_icons/circles.svg new file mode 100644 index 0000000..c89e22c --- /dev/null +++ b/src/_icons/circles.svg @@ -0,0 +1,8 @@ +--- +category: Shapes +--- + + + + + diff --git a/src/_icons/heart.svg b/src/_icons/heart.svg index 125d8f1..be6343d 100644 --- a/src/_icons/heart.svg +++ b/src/_icons/heart.svg @@ -1,4 +1,5 @@ --- +category: Shapes tags: [love, emotion, like, favorite, relationship] --- diff --git a/src/_icons/hexagon.svg b/src/_icons/hexagon.svg index 19d929b..b1a40ce 100644 --- a/src/_icons/hexagon.svg +++ b/src/_icons/hexagon.svg @@ -1,5 +1,6 @@ --- +category: Shapes --- - + diff --git a/src/_icons/octagon.svg b/src/_icons/octagon.svg index c13d5e0..5ace1b8 100644 --- a/src/_icons/octagon.svg +++ b/src/_icons/octagon.svg @@ -1,4 +1,5 @@ --- +category: Shapes --- diff --git a/src/_icons/square-rotated.svg b/src/_icons/square-rotated.svg index 41668b6..dc22d16 100644 --- a/src/_icons/square-rotated.svg +++ b/src/_icons/square-rotated.svg @@ -1,4 +1,5 @@ --- +category: Shapes --- diff --git a/src/_icons/square.svg b/src/_icons/square.svg index b46fac1..1d8fae0 100644 --- a/src/_icons/square.svg +++ b/src/_icons/square.svg @@ -1,4 +1,5 @@ --- +category: Shapes tags: [checkbox] --- diff --git a/src/_icons/triangle-square-circle.svg b/src/_icons/triangle-square-circle.svg new file mode 100644 index 0000000..95f22e4 --- /dev/null +++ b/src/_icons/triangle-square-circle.svg @@ -0,0 +1,8 @@ +--- +category: Shapes +--- + + + + + diff --git a/src/_icons/triangle.svg b/src/_icons/triangle.svg index a6aa4f2..3bdd2e9 100644 --- a/src/_icons/triangle.svg +++ b/src/_icons/triangle.svg @@ -1,4 +1,5 @@ --- +category: Shapes tags: [delta] --- diff --git a/src/editor.html b/src/editor.html index 9b8e953..b6c3af7 100644 --- a/src/editor.html +++ b/src/editor.html @@ -62,6 +62,10 @@ layout: default Tab 3 +
+ +
+
@@ -116,6 +120,8 @@ layout: default $('.js-icon-manager svg').replaceWith($(this).find('>svg:eq(0)').clone()); + $('.js-textarea').val($(this)[0].innerHTML.trim()); + e.preventDefault(); return false; }) diff --git a/src/style.scss b/src/style.scss index 596669a..f4236f6 100644 --- a/src/style.scss +++ b/src/style.scss @@ -279,6 +279,10 @@ Components box-shadow: 0 0 0 3px rgba($primary, .1); border-color: rgba($primary, .4); } + + @at-root textarea#{&} { + min-height: 8rem; + } } .icon { diff --git a/tabler-sprite-nostroke.svg b/tabler-sprite-nostroke.svg index 9f52109..c5c6623 100644 --- a/tabler-sprite-nostroke.svg +++ b/tabler-sprite-nostroke.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/tabler-sprite.svg b/tabler-sprite.svg index 942f733..4dcd1d2 100644 --- a/tabler-sprite.svg +++ b/tabler-sprite.svg @@ -1 +1 @@ - \ No newline at end of file + -- cgit v1.2.1