Skip to content

Instantly share code, notes, and snippets.

@RyanLua
Last active June 12, 2024 10:30
Show Gist options
  • Save RyanLua/d507e8ad7581fe264deb91606954b920 to your computer and use it in GitHub Desktop.
Save RyanLua/d507e8ad7581fe264deb91606954b920 to your computer and use it in GitHub Desktop.
Download badge for GitHub. Figma: https://www.figma.com/design/kpAlK7sW1sJV9mlhyzFqxB
Display the source blob
Display the rendered blob
Raw
<svg width="126" height="32" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#a)"><rect width="126" height="32" rx="6" fill="#2EA043"/><mask id="b" fill="#fff"><path d="M.5 0h35v32H.5V0Z"/></mask><path d="M34.5 0v32h2V0h-2Z" fill="#F0F6FC" fill-opacity=".1" mask="url(#b)"/><path fill-rule="evenodd" clip-rule="evenodd" d="M17.25 10v5.69l-1.97-1.97a.75.75 0 1 0-1.06 1.06l3.25 3.25a.75.75 0 0 0 1.06 0l3.25-3.25a.75.75 0 1 0-1.06-1.06l-1.97 1.97V10a.75.75 0 1 0-1.5 0Zm-5.74 11.49c.33.33.78.51 1.24.51h10.5A1.75 1.75 0 0 0 25 20.25v-2.5a.75.75 0 1 0-1.5 0v2.5a.25.25 0 0 1-.25.25h-10.5a.25.25 0 0 1-.25-.25v-2.5a.75.75 0 1 0-1.5 0v2.5c0 .46.18.9.51 1.24Z" fill="#fff"/><path d="M51.34 21.5H48.1v-10h3.34c.98 0 1.82.2 2.52.6.7.4 1.24.97 1.62 1.71.38.75.57 1.64.57 2.68 0 1.04-.2 1.93-.58 2.68a4 4 0 0 1-1.64 1.73c-.71.4-1.58.6-2.6.6Zm-1.73-1.32h1.64c.76 0 1.4-.14 1.9-.43s.88-.7 1.14-1.25c.25-.55.37-1.22.37-2.01 0-.79-.12-1.45-.37-2a2.66 2.66 0 0 0-1.11-1.25c-.5-.28-1.1-.42-1.83-.42H49.6v7.36Zm11.6 1.47a3.26 3.26 0 0 1-3.06-1.84 4.49 4.49 0 0 1-.44-2.03c0-.77.14-1.45.43-2.04a3.25 3.25 0 0 1 3.06-1.84 3.25 3.25 0 0 1 3.06 1.84c.3.59.44 1.27.44 2.04 0 .78-.15 1.46-.44 2.04a3.26 3.26 0 0 1-3.06 1.83Zm0-1.22c.45 0 .83-.12 1.13-.37.3-.24.52-.56.66-.96.15-.4.22-.84.22-1.32 0-.48-.07-.92-.22-1.32-.14-.4-.36-.73-.66-.97-.3-.24-.68-.37-1.13-.37-.46 0-.84.13-1.15.37-.3.24-.52.57-.67.97-.14.4-.21.84-.21 1.32 0 .48.07.92.21 1.32.15.4.37.72.67.96.3.25.69.37 1.15.37Zm6.65 1.07-2.2-7.5h1.5l1.47 5.5h.08l1.47-5.5h1.51l1.47 5.48h.07L74.69 14h1.5L74 21.5h-1.48l-1.53-5.41h-.11l-1.52 5.41h-1.49Zm11.32-4.45v4.45h-1.46V14h1.4v1.22h.1c.17-.4.44-.72.8-.96.38-.24.84-.36 1.4-.36.52 0 .96.11 1.35.32.38.22.68.53.9.95.2.42.31.94.31 1.56v4.77h-1.46v-4.6c0-.54-.14-.96-.42-1.27a1.5 1.5 0 0 0-1.17-.46c-.34 0-.64.07-.9.22-.27.14-.47.36-.63.64-.15.28-.22.62-.22 1.02Zm8.36-5.55v10h-1.46v-10h1.46Zm5.26 10.15a3.26 3.26 0 0 1-3.06-1.84 4.49 4.49 0 0 1-.44-2.03c0-.77.14-1.45.43-2.04a3.25 3.25 0 0 1 3.07-1.84 3.25 3.25 0 0 1 3.06 1.84c.29.59.43 1.27.43 2.04 0 .78-.14 1.46-.43 2.04a3.26 3.26 0 0 1-3.06 1.83Zm0-1.22c.46 0 .83-.12 1.13-.37.3-.24.52-.56.67-.96.14-.4.22-.84.22-1.32 0-.48-.08-.92-.22-1.32-.15-.4-.37-.73-.67-.97-.3-.24-.67-.37-1.13-.37-.46 0-.84.13-1.14.37-.3.24-.52.57-.67.97-.14.4-.22.84-.22 1.32 0 .48.08.92.22 1.32.15.4.37.72.67.96.3.25.68.37 1.14.37Zm7.44 1.24c-.47 0-.9-.1-1.29-.27a2.17 2.17 0 0 1-.91-.77 2.23 2.23 0 0 1-.33-1.25c0-.42.08-.77.24-1.04.16-.28.38-.5.66-.65.28-.16.59-.28.93-.36.34-.09.69-.15 1.04-.19l1.1-.13c.28-.03.48-.09.6-.17.14-.08.2-.2.2-.38v-.03c0-.43-.12-.76-.36-1-.24-.23-.6-.35-1.07-.35a1.75 1.75 0 0 0-1.74 1.04l-1.37-.3a2.64 2.64 0 0 1 1.8-1.72 4.25 4.25 0 0 1 2.25-.09c.33.07.65.2.94.38.3.19.54.45.73.8.19.34.28.78.28 1.33v4.98h-1.42v-1.03h-.06a2.25 2.25 0 0 1-1.15 1.01c-.3.13-.66.19-1.07.19Zm.32-1.18c.4 0 .75-.08 1.03-.24a1.62 1.62 0 0 0 .89-1.46v-.96a.76.76 0 0 1-.3.14 4.7 4.7 0 0 1-.5.12 58.46 58.46 0 0 1-1 .14c-.29.03-.55.1-.78.18-.23.08-.42.2-.56.37a.91.91 0 0 0-.2.62c0 .36.13.64.4.82.27.18.6.27 1.02.27Zm8.27 1.16a2.9 2.9 0 0 1-2.73-1.8 4.97 4.97 0 0 1-.4-2.09c0-.8.13-1.5.4-2.08a2.92 2.92 0 0 1 2.74-1.78c.47 0 .84.08 1.13.24.28.15.5.33.66.53.16.2.28.39.37.55h.09V11.5h1.46v10h-1.43v-1.17H111c-.09.16-.21.34-.38.55a2.11 2.11 0 0 1-1.79.77Zm.33-1.25c.42 0 .77-.1 1.06-.33.3-.23.51-.54.66-.93.16-.4.23-.86.23-1.39 0-.52-.07-.98-.22-1.37-.15-.39-.37-.7-.66-.91a1.73 1.73 0 0 0-1.08-.33c-.43 0-.8.12-1.1.34-.29.23-.5.54-.66.94-.14.4-.22.84-.22 1.33 0 .5.08.95.23 1.35.15.4.37.72.66.95.3.24.66.35 1.1.35Z" fill="#fff"/></g><rect x=".5" y=".5" width="125" height="31" rx="5.5" stroke="#F0F6FC" stroke-opacity=".1"/><defs><clipPath id="a"><rect width="126" height="32" rx="6" fill="#fff"/></clipPath></defs></svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment