diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-08-07 11:49:36 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-07 11:49:36 -0400 |
commit | ad31b70b67be6a8a3d53769dacc748aa850330bc (patch) | |
tree | 8a11580b279ccb6e75244e2855be7204eb68f3a4 | |
parent | edb0aaf6b4fbaed298f81778ced68990ab4f5b9a (diff) |
Add accessibility icon (#1874)
-rw-r--r-- | ext/css/material.css | 1 | ||||
-rw-r--r-- | ext/images/accessibility.svg | 1 | ||||
-rw-r--r-- | resources/icons.svg | 45 |
3 files changed, 30 insertions, 17 deletions
diff --git a/ext/css/material.css b/ext/css/material.css index 3aa6b18b..43c47701 100644 --- a/ext/css/material.css +++ b/ext/css/material.css @@ -241,6 +241,7 @@ .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=accessibility] { --icon-image: url(/images/accessibility.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/accessibility.svg b/ext/images/accessibility.svg new file mode 100644 index 00000000..d07890c1 --- /dev/null +++ b/ext/images/accessibility.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="M8 1a1.5 1.5 0 00-1.5 1.5A1.5 1.5 0 008 4a1.5 1.5 0 001.5-1.5A1.5 1.5 0 008 1zM2.9297 4.002c-.43218.03031-.79568.33547-.90039.75586-.13403.53615.19225 1.0794.72852 1.2129l3.2422.81055s-.0117 2.2112-.25 3.2773c-.28252 1.2639-1.4043 3.5156-1.4043 3.5156-.23487.49944-.0207 1.0947.47852 1.3301.49944.23487 1.0947.0207 1.3301-.47852l1.8457-3.9219 1.8457 3.9219c.23534.49922.83063.71338 1.3301.47852.49922-.23534.71338-.83064.47852-1.3301 0 0-1.1218-2.2517-1.4043-3.5156-.23831-1.0661-.25-3.2773-.25-3.2773l3.2422-.81055c.53627-.13354.86254-.67675.72852-1.2129-.10471-.42039-.46821-.72555-.90039-.75586a1.00016 1.00016 0 00-.3125.02734s-2.5587.5577-3.8828.7207c-.57896.07128-1.171.07128-1.75 0-1.3241-.163-3.8828-.7207-3.8828-.7207a.99999.99999 0 00-.3125-.02734z"/></svg>
\ No newline at end of file diff --git a/resources/icons.svg b/resources/icons.svg index cdc777f8..75565008 100644 --- a/resources/icons.svg +++ b/resources/icons.svg @@ -1,23 +1,23 @@ <?xml version="1.0" encoding="UTF-8" standalone="no"?> <svg - xmlns:dc="http://purl.org/dc/elements/1.1/" - xmlns:cc="http://creativecommons.org/ns#" - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" - xmlns:svg="http://www.w3.org/2000/svg" - xmlns="http://www.w3.org/2000/svg" - xmlns:xlink="http://www.w3.org/1999/xlink" - xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" - xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" inkscape:export-filename="../ext/images/icon32.png" inkscape:export-ydpi="192" inkscape:export-xdpi="192" sodipodi:docname="icons.svg" - inkscape:version="0.92.4 (5da689c313, 2019-01-14)" + inkscape:version="1.1 (c68e22c387, 2021-05-23)" id="svg8" version="1.1" viewBox="0 0 16 16" height="16" - width="16"> + width="16" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns="http://www.w3.org/2000/svg" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:dc="http://purl.org/dc/elements/1.1/"> <sodipodi:namedview id="base" pagecolor="#ffffff" @@ -25,18 +25,18 @@ borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" - inkscape:zoom="45.254834" - inkscape:cx="9.5701833" - inkscape:cy="8.6676417" + inkscape:zoom="32" + inkscape:cx="4.203125" + inkscape:cy="5.734375" inkscape:document-units="px" - inkscape:current-layer="layer52" + inkscape:current-layer="layer53" showgrid="true" units="px" inkscape:snap-center="true" inkscape:window-width="1920" inkscape:window-height="1017" inkscape:window-x="-8" - inkscape:window-y="-2" + inkscape:window-y="-8" inkscape:window-maximized="1" viewbox-height="16" showguides="true" @@ -47,7 +47,8 @@ inkscape:object-paths="true" inkscape:snap-others="true" inkscape:snap-nodes="true" - inkscape:document-rotation="0"> + inkscape:document-rotation="0" + inkscape:pagecheckerboard="0"> <inkscape:grid type="xygrid" id="grid815" @@ -1628,7 +1629,8 @@ <g inkscape:groupmode="layer" id="layer52" - inkscape:label="Tag"> + inkscape:label="Tag" + style="display:none"> <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" @@ -1636,4 +1638,13 @@ inkscape:connector-curvature="0" sodipodi:nodetypes="cccccccccccsssss" /> </g> + <g + inkscape:groupmode="layer" + id="layer53" + inkscape:label="Accessibility"> + <path + id="path1189" + style="color:#000000;fill:#000000;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;-inkscape-stroke:none" + d="M 8 1 A 1.5 1.5 0 0 0 6.5 2.5 A 1.5 1.5 0 0 0 8 4 A 1.5 1.5 0 0 0 9.5 2.5 A 1.5 1.5 0 0 0 8 1 z M 2.9296875 4.0019531 C 2.4975111 4.0322637 2.1340063 4.3374185 2.0292969 4.7578125 C 1.8952685 5.2939576 2.2215444 5.8371676 2.7578125 5.9707031 L 6 6.78125 C 6 6.78125 5.988306 8.9924546 5.75 10.058594 C 5.4674801 11.322537 4.3457031 13.574219 4.3457031 13.574219 C 4.1108364 14.073662 4.3250011 14.668952 4.8242188 14.904297 C 5.3236618 15.139164 5.9189521 14.924997 6.1542969 14.425781 L 8 10.503906 L 9.8457031 14.425781 C 10.081048 14.924999 10.676338 15.139164 11.175781 14.904297 C 11.674999 14.668952 11.889164 14.073662 11.654297 13.574219 C 11.654297 13.574219 10.53252 11.322537 10.25 10.058594 C 10.011694 8.9924545 10 6.78125 10 6.78125 L 13.242188 5.9707031 C 13.778455 5.8371674 14.104731 5.2939574 13.970703 4.7578125 C 13.865994 4.3374184 13.50249 4.0322635 13.070312 4.0019531 C 12.965355 3.9945731 12.859893 4.0038029 12.757812 4.0292969 C 12.757812 4.0292969 10.199108 4.5869948 8.875 4.75 C 8.2960373 4.8212734 7.7039627 4.8212736 7.125 4.75 C 5.8008919 4.5869948 3.2421875 4.0292969 3.2421875 4.0292969 C 3.140108 4.0037991 3.034644 3.994571 2.9296875 4.0019531 z " /> + </g> </svg> |