Add example emoji svg files (#75)

* Stop ignoring `example/*.svg` files
* Add emoji example svg files
This commit is contained in:
Jon Grace-Cox
2022-08-14 13:02:41 -04:00
committed by GitHub
parent 34374dbc2b
commit 406138d08e
6 changed files with 116 additions and 0 deletions

1
.gitignore vendored
View File

@@ -116,5 +116,6 @@ demo.svg
htmlcov/
**/*.svg
!examples/*.svg
!anybadge/templates/*.svg
test_files/

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="117" height="20">
<linearGradient id="b" x2="0" y2="100%">
<stop offset="0" stop-color="#bbb" stop-opacity=".1"/>
<stop offset="1" stop-opacity=".1"/>
</linearGradient>
<mask id="anybadge_25">
<rect width="117" height="20" rx="3" fill="#fff"/>
</mask>
<g mask="url(#anybadge_25)">
<path fill="#555" d="M0 0h20v20H0z"/>
<path fill="#4c1" d="M20 0h97v20H20z"/>
<path fill="url(#b)" d="M0 0h117v20H0z"/>
</g>
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
<text x="11.0" y="15" fill="#010101" fill-opacity=".3">🔗</text>
<text x="10.0" y="14">🔗</text>
</g>
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
<text x="69.5" y="15" fill="#010101" fill-opacity=".3">Documentation</text>
<text x="68.5" y="14">Documentation</text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="119" height="20">
<linearGradient id="b" x2="0" y2="100%">
<stop offset="0" stop-color="#bbb" stop-opacity=".1"/>
<stop offset="1" stop-opacity=".1"/>
</linearGradient>
<mask id="anybadge_24">
<rect width="119" height="20" rx="3" fill="#fff"/>
</mask>
<g mask="url(#anybadge_24)">
<path fill="#555" d="M0 0h99v20H0z"/>
<path fill="#E05D44" d="M99 0h20v20H99z"/>
<path fill="url(#b)" d="M0 0h119v20H0z"/>
</g>
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
<text x="50.5" y="15" fill="#010101" fill-opacity=".3">Pipeline status</text>
<text x="49.5" y="14">Pipeline status</text>
</g>
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
<text x="110.0" y="15" fill="#010101" fill-opacity=".3">😟</text>
<text x="109.0" y="14">😟</text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="119" height="20">
<linearGradient id="b" x2="0" y2="100%">
<stop offset="0" stop-color="#bbb" stop-opacity=".1"/>
<stop offset="1" stop-opacity=".1"/>
</linearGradient>
<mask id="anybadge_22">
<rect width="119" height="20" rx="3" fill="#fff"/>
</mask>
<g mask="url(#anybadge_22)">
<path fill="#555" d="M0 0h99v20H0z"/>
<path fill="#4c1" d="M99 0h20v20H99z"/>
<path fill="url(#b)" d="M0 0h119v20H0z"/>
</g>
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
<text x="50.5" y="15" fill="#010101" fill-opacity=".3">Pipeline status</text>
<text x="49.5" y="14">Pipeline status</text>
</g>
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
<text x="110.0" y="15" fill="#010101" fill-opacity=".3">😄</text>
<text x="109.0" y="14">😄</text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="129" height="20">
<linearGradient id="b" x2="0" y2="100%">
<stop offset="0" stop-color="#bbb" stop-opacity=".1"/>
<stop offset="1" stop-opacity=".1"/>
</linearGradient>
<mask id="anybadge_23">
<rect width="129" height="20" rx="3" fill="#fff"/>
</mask>
<g mask="url(#anybadge_23)">
<path fill="#555" d="M0 0h99v20H0z"/>
<path fill="#4c1" d="M99 0h30v20H99z"/>
<path fill="url(#b)" d="M0 0h129v20H0z"/>
</g>
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
<text x="50.5" y="15" fill="#010101" fill-opacity=".3">Pipeline status</text>
<text x="49.5" y="14">Pipeline status</text>
</g>
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
<text x="115.0" y="15" fill="#010101" fill-opacity=".3">😄</text>
<text x="114.0" y="14">😄</text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

23
examples/pypi_link.svg Normal file
View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="55" height="20">
<linearGradient id="b" x2="0" y2="100%">
<stop offset="0" stop-color="#bbb" stop-opacity=".1"/>
<stop offset="1" stop-opacity=".1"/>
</linearGradient>
<mask id="anybadge_26">
<rect width="55" height="20" rx="3" fill="#fff"/>
</mask>
<g mask="url(#anybadge_26)">
<path fill="#555" d="M0 0h20v20H0z"/>
<path fill="#4c1" d="M20 0h35v20H20z"/>
<path fill="url(#b)" d="M0 0h55v20H0z"/>
</g>
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
<text x="11.0" y="15" fill="#010101" fill-opacity=".3">🔗</text>
<text x="10.0" y="14">🔗</text>
</g>
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
<text x="38.5" y="15" fill="#010101" fill-opacity=".3">PyPi</text>
<text x="37.5" y="14">PyPi</text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.0 KiB