0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-10 06:41:40 -05:00

add unlock icon

This commit is contained in:
Juan de la Cruz 2017-03-01 14:47:43 +01:00
parent bc305c66d9
commit 891dad0b11
2 changed files with 16 additions and 65 deletions

View file

@ -1,66 +1,4 @@
<?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"
width="500"
height="500"
viewBox="0 0 500.00001 500.00001"
id="svg2"
version="1.1"
sodipodi:docname="unlock.svg"
inkscape:version="0.91 r13725">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
showgrid="false"
units="px"
inkscape:zoom="1.3350176"
inkscape:cx="241.94883"
inkscape:cy="277.26996"
inkscape:window-width="1920"
inkscape:window-height="1056"
inkscape:window-x="1920"
inkscape:window-y="24"
inkscape:window-maximized="1"
inkscape:current-layer="svg2" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>
image/svg+xml
</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<use
id="use32130"
xlink:href="#symbol16714"
transform="matrix(0.48875855,0,0,0.48875855,266.5973,18.208584)"
x="0"
y="0"
width="100%"
height="100%" />
<path
d="m 249.02148,0.00195313 c -31.98741,0.029762 -33.06999,0.09423211 -45.36718,2.72070307 -13.01959,2.780767 -27.08478,7.5517408 -37.29102,12.6503908 -24.70445,12.341397 -46.95198,35.080795 -55.16992,56.390625 -6.21186,16.10787 -6.17357,15.719287 -6.83203,69.482418 l -0.60547,49.32227 -7.824219,3.94141 c -15.294597,7.7023 -27.396661,23.04352 -31.820313,40.33984 -1.859552,7.27077 -1.929687,11.22805 -1.929687,109.87305 0,100.34216 0.04026,102.47398 2.017578,109.60937 6.44316,23.25091 24.226309,40.4981 46.404301,45.00586 2.15208,0.43742 65.98111,0.72944 141.84179,0.64844 l 137.92969,-0.14649 6.59375,-2.5664 c 10.14139,-3.94553 16.97592,-8.51901 24.11719,-16.13867 7.55225,-8.05815 12.00747,-16.25545 14.77344,-27.1836 1.89703,-7.49515 1.95898,-10.93179 1.95898,-109.64844 0,-98.22631 -0.0704,-102.18332 -1.92969,-109.45312 -4.47217,-17.48603 -19.47318,-33.24179 -31.89258,-40.30078 -5.61714,-3.56886 -12.20499,-5.71876 -17.47656,-6.1211 -9.26907,-0.66208 -32.17578,-0.0664 -32.17578,-0.0664 l -0.0566,-0.084 -104.26758,0 -104.65234,0 -0.57227,-2.28125 c -0.31481,-1.25446 -0.42339,-21.83253 -0.24219,-45.73047 0.32586,-42.97586 0.35416,-43.515158 2.63868,-49.320308 8.81375,-22.39646 31.30164,-39.419551 61.66015,-46.675781 12.10516,-2.89335 60.05034,-3.704978 74.65039,-1.263672 26.84348,4.488549 49.6284,17.285698 61.76367,34.371094 4.15841,5.616741 14.90754,12.018908 25.82813,7.765625 12.58117,-7.863202 14.58271,-19.477615 8.58008,-30.121094 -3.498,-5.088429 -7.72279,-9.989639 -13.21879,-15.490224 C 350.85407,23.917227 334.78083,14.304414 312.11719,7.0332031 292.35371,0.69246012 285.84267,-0.03230688 249.02148,0.00195313 Z M 114.0957,227.40625 l 135.08985,0 c 134.2206,0 135.10951,0.0134 138.31445,1.99414 1.91419,1.18303 4.24806,4.04465 5.74023,7.03906 l 2.51368,5.04493 0,101.43164 0,101.42968 -2.70313,5.17578 c -2.02238,3.87128 -3.78753,5.7494 -7.00195,7.44922 l -4.29688,2.27344 -132.63867,-0.004 c -127.68782,-0.004 -132.74912,-0.0716 -135.57422,-1.82617 -4.08973,-2.54003 -6.98339,-5.88993 -8.75781,-10.13672 -1.33386,-3.19239 -1.51119,-15.64358 -1.49219,-104.65429 0.0241,-113.32621 -0.4919,-105.29742 7.19532,-112.04688 z m 136.69532,45.25586 c -11.15842,-0.30586 -22.57183,3.84903 -31.34961,13.33008 -6.38794,6.89975 -9.16193,12.49326 -10.72852,21.6289 -2.14792,12.52573 2.68663,26.14039 12.45313,35.06641 2.94613,2.6926 5.35742,5.59778 5.35742,6.45703 0,0.85922 -3.52201,15.62884 -7.82617,32.82031 -4.30415,17.19146 -7.82618,31.92651 -7.82618,32.7461 0,1.3099 4.72639,1.49023 39.07032,1.49023 21.48901,0 39.28773,-0.34781 39.55078,-0.77344 0.26306,-0.42565 -3.27101,-15.76123 -7.85157,-34.07812 l -8.32812,-33.30273 5.77344,-5.78516 c 9.7301,-9.75148 14.15407,-22.63864 11.97656,-34.88672 -3.78674,-21.29981 -21.67413,-34.20312 -40.27148,-34.71289 z"
id="path4498"
inkscape:connector-curvature="0"
sodipodi:nodetypes="sssscccsssssccsssscccccccsssscccssscsscccccccssssccssssssssssccss" />
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 500 500">
<use width="100%" height="100%" />
<path d="M249 0c-32 0-33 0-45.3 2.7-13 2.8-27 7.6-37.3 12.7-24.7 12.3-47 35-55.2 56.4-6.2 16-6.2 15.7-6.8 69.4l-.6 49.4-8 4c-15.2 7.6-27.3 23-31.7 40.2-1 7.3-1 11.3-1 110 0 100.3 0 102.4 2 109.5 7 23.3 24 40.5 47 45 2 .5 66 .8 142 .7l138-.2 7-2.5c10-4 17-8.5 24-16.2 8-8 12-16 15-27 2-7 2-11 2-109s0-102-2-109c-5-17-20-33-32-40-5-3-12-5-17-6H146l-.6-2c0-1-.2-21 0-45 .3-43 .3-44 2.6-50 8.8-22 31.3-39 61.7-46 12-3 60-4 74.5-1 26.8 4 49.6 17 61.8 34 4 6 15 12 25.8 8C384 78 386 66 380 55c-3.5-5-7.7-10-13.2-15.4C351 24 334.8 14.3 312 7c-19.5-6.3-26-7-63-7zM114 227.4h135.2c134.2 0 135 0 138.3 2 2 1.2 4.2 4 5.7 7l2.6 5v202.8l-2.7 5.2c-2 4-3 5.8-7 7.5l-4 2H249c-127.6 0-132.6 0-135.5-2-4-3-7-6-8.7-10-1.4-4-1.5-16-1.5-105 0-114-.5-106 7.2-112zm137 45.3c-11.2-.3-22.6 3.8-31.4 13.3-6.3 7-9 12.5-10.7 21.6-2 12.5 2 26.2 12 35 3 2.8 5 5.7 5 6.5 0 1-4 16-8 33s-8 32-8 33c0 2 4 2 39 2 21 0 39 0 39-1l-8-34-8-33 6-5c9-10 14-23 12-35-4-21-22-34-41-34z"/>
</svg>

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

@ -505,6 +505,19 @@
[:path
{:d
"m110.60416 499.33847c-22.177988-4.50776-39.962038-21.75589-46.405198-45.0068-1.977315-7.13539-2.016513-9.26603-2.016513-109.60819 0-98.645 0.06949-102.60306 1.929042-109.87383 4.423652-17.29632 16.524827-32.63809 31.819424-40.34039l7.825735-3.94103 0.60407-49.32264c0.65846-53.763135 0.62011-53.373185 6.83197-69.481055 8.21794-21.30983 30.46536-44.049766 55.16981-56.391163 10.20624-5.09865 24.27131-9.8702562 37.2909-12.6510232 12.29719-2.62647101 13.38097-2.69147701 45.36838-2.72123901 36.82119-0.03426 43.33148 0.691327 63.09496 7.03207001 22.66364 7.2712112 38.73778 16.8847932 54.33879 32.4988162 11.05888 11.068109 16.97809 19.704479 22.16356 32.337529 5.96869 14.54116 6.15544 16.63373 6.17191 69.157365 0.008 26.25671 0.33839 48.1887 0.73367 48.73773 0.39527 0.54903 4.20746 2.70218 8.47153 4.7848 15.26633 7.45624 27.42013 22.8142 31.8923 40.30023 1.85931 7.2698 1.92905 11.22683 1.92905 109.45314 0 98.71665-0.0614 102.15316-1.95844 109.64831-2.76597 10.92815-7.22084 19.12549-14.77309 27.18364-7.14127 7.61966-13.97588 12.19324-24.11727 16.13877l-6.5947 2.56569-137.92851 0.14728c-75.86068 0.081-139.6893-0.21059-141.84138-0.64801zm275.44488-42.36785c3.21442-1.69982 4.97898-3.57704 7.00136-7.44832l2.70384-5.17574 0-101.43074 0-101.43073-2.51453-5.046c-1.49217-2.99441-3.82602-5.85656-5.74021-7.03959-3.20494-1.98076-4.09399-1.99357-138.31459-1.99357l-135.08891 0-3.61136 3.17081c-7.68721 6.74946-7.17152-1.28062-7.19562 112.04559-0.019 89.01071 0.15867 101.46341 1.49253 104.6558 1.77442 4.24679 4.66753 7.5951 8.75726 10.13513 2.8251 1.7546 7.88585 1.82277 135.57367 1.82629l132.63902 0.004 4.29754-2.2726zM210.87134 414.7115c0-0.81959 3.52158-15.55592 7.82573-32.74738 4.30416-17.19147 7.82573-31.96021 7.82573-32.81943 0-0.85925-2.41047-3.76528-5.3566-6.45788-9.7665-8.92602-14.60162-22.54037-12.4537-35.0661 1.56659-9.13564 4.34066-14.72784 10.7286-21.62759 23.40741-25.28278 65.56256-12.69769 71.62135 21.382 2.17751 12.24808-2.24683 25.13545-11.97693 34.88693l-5.77232 5.785 8.32828 33.30344c4.58055 18.31689 8.11305 33.65168 7.84999 34.07733-0.26305 0.42563-18.0602 0.77387-39.54921 0.77387-34.34393 0-39.07092-0.18029-39.07092-1.49019zM354.66915 143.45686c0-49.238655-0.0768-50.006535-6.08212-60.826955-10.93104-19.69552-35.55506-34.687-65.08507-39.62477-14.60005-2.441306-62.54427-1.62974-74.64943 1.26361-30.35851 7.25623-52.8469 24.27954-61.66065 46.676-2.28452 5.80515-2.31336 6.34422-2.63922 49.320085-0.1812 23.89793-0.0718 44.47715 0.24301 45.73161l0.57244 2.28083 104.65052 0 104.65052 0 0-44.82041z"}]]))
(def unlock
(html
[:svg
{:viewBox "0 0 500 500"}
[:use
{:height "100%"
:width "100%"
:y "0"
:x "0"}]
[:path
{:d
"M249 0c-32 0-33 0-45.3 2.7-13 2.8-27 7.6-37.3 12.7-24.7 12.3-47 35-55.2 56.4-6.2 16-6.2 15.7-6.8 69.4l-.6 49.4-8 4c-15.2 7.6-27.3 23-31.7 40.2-1 7.3-1 11.3-1 110 0 100.3 0 102.4 2 109.5 7 23.3 24 40.5 47 45 2 .5 66 .8 142 .7l138-.2 7-2.5c10-4 17-8.5 24-16.2 8-8 12-16 15-27 2-7 2-11 2-109s0-102-2-109c-5-17-20-33-32-40-5-3-12-5-17-6H146l-.6-2c0-1-.2-21 0-45 .3-43 .3-44 2.6-50 8.8-22 31.3-39 61.7-46 12-3 60-4 74.5-1 26.8 4 49.6 17 61.8 34 4 6 15 12 25.8 8C384 78 386 66 380 55c-3.5-5-7.7-10-13.2-15.4C351 24 334.8 14.3 312 7c-19.5-6.3-26-7-63-7zM114 227.4h135.2c134.2 0 135 0 138.3 2 2 1.2 4.2 4 5.7 7l2.6 5v202.8l-2.7 5.2c-2 4-3 5.8-7 7.5l-4 2H249c-127.6 0-132.6 0-135.5-2-4-3-7-6-8.7-10-1.4-4-1.5-16-1.5-105 0-114-.5-106 7.2-112zm137 45.3c-11.2-.3-22.6 3.8-31.4 13.3-6.3 7-9 12.5-10.7 21.6-2 12.5 2 26.2 12 35 3 2.8 5 5.7 5 6.5 0 1-4 16-8 33s-8 32-8 33c0 2 4 2 39 2 21 0 39 0 39-1l-8-34-8-33 6-5c9-10 14-23 12-35-4-21-22-34-41-34z"}]]))
(def shapes
(html