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 3fe0b903..a6b07c1b 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 00000000..4f1d5a41 --- /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 2d67f251..6e30820f 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 00000000..c89e22c9 --- /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 125d8f1e..be6343d6 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 19d929bf..b1a40cec 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 c13d5e03..5ace1b8a 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 41668b62..dc22d168 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 b46fac14..1d8fae07 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 00000000..95f22e49 --- /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 a6aa4f25..3bdd2e90 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 9b8e953e..b6c3af72 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 596669aa..f4236f60 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 9f521093..c5c66230 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 942f7339..4dcd1d28 100644 --- a/tabler-sprite.svg +++ b/tabler-sprite.svg @@ -1 +1 @@ - \ No newline at end of file + -- cgit v1.2.1