summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-04-26 19:59:49 -0400
committerGitHub <noreply@github.com>2021-04-26 19:59:49 -0400
commit83e73800b0ebb9aef4dea676f4ed3751dd0b6e45 (patch)
tree91b99bad38a0ee6a16636141876b6bb728560ee3
parentf022febfe95ebbe5bc4e9e457353ceea642327b9 (diff)
Add tag icon (#1629)
-rw-r--r--ext/css/material.css1
-rw-r--r--ext/images/tag.svg1
-rw-r--r--resources/icons.svg28
3 files changed, 22 insertions, 8 deletions
diff --git a/ext/css/material.css b/ext/css/material.css
index 08345769..dd135065 100644
--- a/ext/css/material.css
+++ b/ext/css/material.css
@@ -238,6 +238,7 @@
.icon[data-icon=plus-thick] { --icon-image: url(/images/plus-thick.svg); }
.icon[data-icon=clipboard] { --icon-image: url(/images/clipboard.svg); }
.icon[data-icon=key] { --icon-image: url(/images/key.svg); }
+.icon[data-icon=tag] { --icon-image: url(/images/tag.svg); }
.icon[data-icon=material-down-arrow] {
--icon-image: url(/images/material-down-arrow.svg);
--icon-size: var(--material-arrow-dimension2) var(--material-arrow-dimension1);
diff --git a/ext/images/tag.svg b/ext/images/tag.svg
new file mode 100644
index 00000000..edbdcfbe
--- /dev/null
+++ b/ext/images/tag.svg
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><path d="M10 1a1.00008 1.00008 0 00-.70703.29297l-8 8c-.39037.39053-.39037 1.0235 0 1.4141l4 4c.39053.39037 1.0235.39037 1.4141 0l8-8a1.00007 1.00007 0 00.29297-.70703v-4c-.00006-.55226-.44774-.99994-1-1zm2.5 1.5c.55228 0 1 .44772 1 1s-.44772 1-1 1-1-.44772-1-1 .44772-1 1-1z"/></svg> \ No newline at end of file
diff --git a/resources/icons.svg b/resources/icons.svg
index 04690850..cdc777f8 100644
--- a/resources/icons.svg
+++ b/resources/icons.svg
@@ -25,11 +25,11 @@
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
- inkscape:zoom="22.627417"
- inkscape:cx="8.8116705"
- inkscape:cy="3.394636"
+ inkscape:zoom="45.254834"
+ inkscape:cx="9.5701833"
+ inkscape:cy="8.6676417"
inkscape:document-units="px"
- inkscape:current-layer="g5298"
+ inkscape:current-layer="layer52"
showgrid="true"
units="px"
inkscape:snap-center="true"
@@ -565,7 +565,7 @@
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title></dc:title>
+ <dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
@@ -1615,13 +1615,25 @@
inkscape:connector-curvature="0" />
</g>
<g
- style="display:inline"
+ style="display:none"
inkscape:groupmode="layer"
id="g5298"
inkscape:label="Double Down Chevron">
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
- d="M 3 0.5 L 1 2.5 L 8 9.5 L 15 2.5 L 13 0.5 L 8 5.5 L 3 0.5 z M 3 6.5 L 1 8.5 L 8 15.5 L 15 8.5 L 13 6.5 L 8 11.5 L 3 6.5 z "
- id="path5300" />
+ d="m 3,0.5 -2,2 7,7 7,-7 -2,-2 -5,5 z m 0,6 -2,2 7,7 7,-7 -2,-2 -5,5 z"
+ id="path5300"
+ inkscape:connector-curvature="0" />
+ </g>
+ <g
+ inkscape:groupmode="layer"
+ id="layer52"
+ inkscape:label="Tag">
+ <path
+ style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
+ d="M 10,1 C 9.734801,1.0000511 9.4804804,1.1054325 9.2929688,1.2929688 l -8,8 c -0.39036825,0.3905297 -0.39036825,1.0235322 0,1.4140622 l 4,4 c 0.3905298,0.390368 1.0235325,0.390368 1.4140624,0 L 14.707031,6.7070312 C 14.894567,6.5195196 14.999949,6.265199 15,6 V 2 C 14.999945,1.4477381 14.552262,1.0000552 14,1 Z m 2.5,1.5 c 0.552285,0 1,0.4477153 1,1 0,0.5522847 -0.447715,1 -1,1 -0.552285,0 -1,-0.4477153 -1,-1 0,-0.5522847 0.447715,-1 1,-1 z"
+ id="path1100"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="cccccccccccsssss" />
</g>
</svg>