diff options
author | codecalm <codecalm@gmail.com> | 2020-04-07 18:32:41 +0200 |
---|---|---|
committer | codecalm <codecalm@gmail.com> | 2020-04-07 18:32:41 +0200 |
commit | 171765dbdebdda8206081ee2e67302a179b4e998 (patch) | |
tree | 9aee097f99be9eab0df34e2317da497647364117 /src | |
parent | #12 mobile vibration icon (diff) | |
download | tabler-icons-171765dbdebdda8206081ee2e67302a179b4e998.tar.xz |
new icons, rotate, checks
Diffstat (limited to 'src')
-rw-r--r-- | src/_icons/check.svg | 2 | ||||
-rw-r--r-- | src/_icons/checks.svg | 7 | ||||
-rw-r--r-- | src/_icons/device-mobile-vibration.svg | 6 | ||||
-rw-r--r-- | src/_icons/rotate-2.svg | 7 | ||||
-rw-r--r-- | src/_icons/rotate-clockwise-2.svg | 7 | ||||
-rw-r--r-- | src/_icons/rotate-clockwise.svg | 2 | ||||
-rw-r--r-- | src/_icons/rotate.svg | 2 | ||||
-rw-r--r-- | src/_includes/toolbar.html | 12 | ||||
-rw-r--r-- | src/editor.html | 15 |
9 files changed, 41 insertions, 19 deletions
diff --git a/src/_icons/check.svg b/src/_icons/check.svg index ba7315f..00febeb 100644 --- a/src/_icons/check.svg +++ b/src/_icons/check.svg @@ -2,5 +2,5 @@ tags: [tick, "yes"] --- <svg> - <polyline points="20 7 10 17 5 12" /> + <path d="M5 12l5 5l10 -10" /> </svg> diff --git a/src/_icons/checks.svg b/src/_icons/checks.svg new file mode 100644 index 0000000..d0d7a9c --- /dev/null +++ b/src/_icons/checks.svg @@ -0,0 +1,7 @@ +--- +tags: [tick, "yes"] +--- +<svg> + <path d="M7 12l5 5l10 -10" /> + <path d="M2 12l5 5m5 -5l5 -5" /> +</svg> diff --git a/src/_icons/device-mobile-vibration.svg b/src/_icons/device-mobile-vibration.svg index 28466cf..a4ea18e 100644 --- a/src/_icons/device-mobile-vibration.svg +++ b/src/_icons/device-mobile-vibration.svg @@ -2,11 +2,11 @@ tags: [iphone, phone, smartphone, cellphone] --- <svg> - <g transform="rotate(0 12 12 )"> + <g transform="rotate(15 12 12)"> <rect x="7" y="4" width="10" height="16" rx="1" /> <line x1="11" y1="5" x2="13" y2="5" /> <line x1="12" y1="17" x2="12" y2="17.01" /> - <path d="M21 8l1 2l-1 2l1 2l-1 2"></path> - <path d="M3 8l-1 2l1 2l-1 2l1 2"></path> + <path d="M21 8l1 2l-1 2l1 2l-1 2" /> + <path d="M3 8l-1 2l1 2l-1 2l1 2" /> </g> </svg> diff --git a/src/_icons/rotate-2.svg b/src/_icons/rotate-2.svg new file mode 100644 index 0000000..ac489c0 --- /dev/null +++ b/src/_icons/rotate-2.svg @@ -0,0 +1,7 @@ +--- +tags: [refresh, synchronization, reload, restart, spinner, loader, ajax, update, arrows] +--- +<svg> + <path d="M12 4a8 8 0 0 0 -3 15.45m0 -4.45v5h-5" /> + <path d="M13 19.95a8 8 0 0 0 2 -15.35" stroke-dasharray=".001 4" /> +</svg> diff --git a/src/_icons/rotate-clockwise-2.svg b/src/_icons/rotate-clockwise-2.svg new file mode 100644 index 0000000..c17ed1d --- /dev/null +++ b/src/_icons/rotate-clockwise-2.svg @@ -0,0 +1,7 @@ +--- +tags: [refresh, synchronization, reload, restart, spinner, loader, ajax, update, arrows] +--- +<svg> + <path d="M12 4a8 8 0 0 1 3 15.45m0 -4.45v5h5" /> + <path d="M11 19.95a8 8 0 0 1 -2 -15.35" stroke-dasharray=".001 4" /> +</svg> diff --git a/src/_icons/rotate-clockwise.svg b/src/_icons/rotate-clockwise.svg index 07a01f3..282bbac 100644 --- a/src/_icons/rotate-clockwise.svg +++ b/src/_icons/rotate-clockwise.svg @@ -2,5 +2,5 @@ tags: [refresh, synchronization, reload, restart, spinner, loader, ajax, update, arrows] --- <svg> - <path d="M4 11a8.1 8.1 0 1 1 .5 4m-.5 5v-5h5" /> + <path d="M4.05 11a8 8 0 1 1 .5 4m-.5 5v-5h5" /> </svg> diff --git a/src/_icons/rotate.svg b/src/_icons/rotate.svg index c85d9b2..0d3cf67 100644 --- a/src/_icons/rotate.svg +++ b/src/_icons/rotate.svg @@ -2,5 +2,5 @@ tags: [refresh, synchronization, reload, restart, spinner, loader, ajax, update, arrows] --- <svg> - <path d="M20 11a8.1 8.1 0 1 0 -.5 4m.5 5v-5h-5" /> + <path d="M19.95 11a8 8 0 1 0 -.5 4m.5 5v-5h-5" /> </svg> diff --git a/src/_includes/toolbar.html b/src/_includes/toolbar.html new file mode 100644 index 0000000..afca900 --- /dev/null +++ b/src/_includes/toolbar.html @@ -0,0 +1,12 @@ +{% assign toolbar = include.toolbar | split: '|' %} + +<div class="toolbar"> + {% for group in toolbar %} + {% assign buttons = group | split: ',' %} + <div class="buttons"> + {% for button in buttons %} + <div class="button js-icon" data-icon="{{ button }}">{% include icon.html name=button %}</div> + {% endfor %} + </div> + {% endfor %} +</div> diff --git a/src/editor.html b/src/editor.html index ccb4f7e..e84b129 100644 --- a/src/editor.html +++ b/src/editor.html @@ -2,9 +2,6 @@ layout: default --- -{% assign 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' | split: '|' %} - - <div class="container"> <div class="box"> @@ -74,16 +71,8 @@ layout: default </div> <div class="mb"> - <div class="toolbar"> - {% for group in toolbar %} - {% assign buttons = group | split: ',' %} - <div class="buttons"> - {% for button in buttons %} - <div class="button js-icon" data-icon="{{ button }}">{% include icon.html name=button %}</div> - {% endfor %} - </div> - {% endfor %} - </div> + {% 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' %} </div> <h2 class="icon-subtitle">{{ site.icons.size }} icons</h2> |