Skip to content

Instantly share code, notes, and snippets.

@pabli24
Last active May 7, 2023 11:32
Show Gist options
  • Save pabli24/85c406ebfdb840cb0450e029b28948b8 to your computer and use it in GitHub Desktop.
Save pabli24/85c406ebfdb840cb0450e029b28948b8 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#27fdfd" d="M16 7.12h-1V1.87C15 .84 14.16 0 13.13 0H2.87C1.84 0 1 .84 1 1.87v5.25H0V9h1v5.13C1 15.16 1.84 16 2.87 16h10.26c1.03 0 1.87-.84 1.87-1.87V9h1V7.12Z"/><path fill="#285959" d="M14.25 7.12V2.18c0-.86-.7-1.56-1.55-1.56H3.3c-.85 0-1.55.7-1.55 1.56v4.94s-.06.57-1 .57v.75c.94 0 1 .56 1 .56v4.82c0 .86.7 1.56 1.55 1.56h9.4c.85 0 1.55-.7 1.55-1.56V9s.06-.56 1-.56v-.75c-.94 0-1-.57-1-.57Zm-6.94 6.9a7.7 7.7 0 0 1-3.32-.73l.54-2.17c.7.37 1.81.73 2.93.73 1.22 0 1.86-.5 1.86-1.27 0-.72-.56-1.14-1.96-1.63-1.94-.69-3.23-1.77-3.23-3.46 0-2 1.68-3.51 4.43-3.51 1.33 0 2.28.26 2.98.59l-.59 2.12c-.45-.23-1.3-.56-2.43-.56s-1.7.54-1.7 1.13c0 .75.64 1.08 2.17 1.65 2.06.76 3.02 1.84 3.02 3.48 0 1.96-1.5 3.63-4.7 3.63Z"/></svg>
@pabli24
Copy link
Author

pabli24 commented Jul 25, 2022

@vednoc
Copy link

vednoc commented Sep 14, 2022

Thank you for making this. I tried to reduce its size for USw and settled on the following:

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
    <path fill="#27fdfd" d="M512 228h-32V60c0-33-27-60-60-60H92C59 0 32 27 32 60v168H0v60h32v164c0 33 27 60 60 60h328c33 0 60-27 60-60V288h32z"/>
    <path fill="#285959" d="M106 20c-28 0-50 22-50 50v158s-2 18-32 18v24c30 0 32 18 32 18v154c0 28 22 50 50 50h300c28 0 50-22 50-50V288s2-18 32-18v-24c-30 0-32-18-32-18V70c0-28-22-50-50-50zm168 43c42 0 73 9 95 19l-19 68c-14-7-41-18-77-18s-55 17-55 36c0 24 21 35 70 53 66 24 96 59 96 112 0 62-48 116-150 116-43 0-85-12-106-24l17-69c22 12 58 23 94 23 39 0 59-16 59-40s-18-37-63-52c-62-23-103-57-103-111 0-64 54-113 142-113z"/>
</svg>

Changing its size could be done like so:

-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="32">

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment