Skip to content

Instantly share code, notes, and snippets.

@pabli24
Last active May 7, 2023 11:32
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@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