zulip/static/templates/favicon.svg.hbs

30 lines
1.7 KiB
Handlebars

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
<style>
@font-face {
font-family: 'Source Sans Pro';
font-style: normal;
font-weight: 700;
src: url({{{favicon_font_url}}}) format('truetype');
}
</style>
<linearGradient id="a" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="#50adff" />
<stop offset="1" stop-color="#7877fc" />
</linearGradient>
<path d="M688.52 150.67c0 33.91-15.23 64.04-38.44 82.31L424.79 434.17c-4.18 3.59-9.62-2.19-6.61-7.03l82.64-165.46c2.31-4.63-.69-10.33-5.44-10.33H174.86c-49.64 0-90.26-45.31-90.26-100.68 0-55.37 40.62-100.68 90.26-100.68h423.39c49.65 0 90.27 45.31 90.27 100.68zM174.86 723.13h423.39c49.64 0 90.26-45.31 90.26-100.68 0-55.37-40.62-100.68-90.26-100.68H277.73c-4.75 0-7.76-5.7-5.44-10.33l82.64-165.46c3.01-4.83-2.42-10.62-6.61-7.03L123.04 540.14c-23.21 18.27-38.44 48.4-38.44 82.31 0 55.37 40.62 100.68 90.26 100.68z" fill="url(#a)" transform="translate(8 8) scale(0.023769201057729446) translate(-386.56 -386.56)" />
<text x="15" y="15" text-anchor="end"
font-family="Source Sans Pro" font-weight="bold" letter-spacing="-0.5"
fill="white" stroke="white" stroke-width="2" stroke-linejoin="round" opacity=".5"
{{#if count_long}}font-size="9" textLength="14" lengthAdjust="spacingAndGlyphs"{{else}}font-size="11"{{/if}}>
{{count}}
</text>
<text x="15" y="15" text-anchor="end"
font-family="Source Sans Pro" font-weight="bold" letter-spacing="-0.5"
{{#if count_long}}font-size="9" textLength="14" lengthAdjust="spacingAndGlyphs"{{else}}font-size="11"{{/if}}>
{{count}}
</text>
{{#if have_pm}}
<circle cx="14" cy="4" r="2" fill="#f00" />
{{/if}}
</svg>