ADD: some example badges

This commit is contained in:
Dominik Meyer 2020-12-26 16:48:21 +01:00
parent 89c586e342
commit e436a1c7c7
No known key found for this signature in database
GPG Key ID: B4C312B600606B64
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,19 @@
<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" width="109" height="20">
<linearGradient id="a" x2="0" y2="100%">
<stop offset="0" stop-color="#bbb" stop-opacity=".1"/>
<stop offset="2" stop-opacity=".1"/>
</linearGradient>
<rect rx="3" width="47" height="20" fill="#555"/> <!-- Comment -->
<rect rx="3" x="47" width="62" height="20" fill="#dfb317"/>
<path fill="#dfb317" d="M45 0h4v20h-4z"/>
<rect rx="3" width="109" height="20" fill="url(#a)"/>
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
<text x="23" y="15" fill="#010101" fill-opacity=".3">build</text>
<text x="23" y="14">build</text>
<text x="78" y="15" fill="#010101" fill-opacity=".3">pending</text>
<text x="78" y="14">pending</text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 797 B

View File

@ -0,0 +1,19 @@
<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" width="102" height="20">
<linearGradient id="a" x2="0" y2="100%">
<stop offset="0" stop-color="#bbb" stop-opacity=".1"/>
<stop offset="2" stop-opacity=".1"/>
</linearGradient>
<rect rx="3" width="70" height="20" fill="#555"/> <!-- Comment -->
<rect rx="3" x="70" width="32" height="20" fill="#e05d44"/>
<path fill="#e05d44" d="M68 0h4v20h-4z"/>
<rect rx="3" width="102" height="20" fill="url(#a)"/>
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
<text x="35" y="15" fill="#010101" fill-opacity=".3">coverage</text>
<text x="35" y="14">coverage</text>
<text x="86" y="15" fill="#010101" fill-opacity=".3">10%</text>
<text x="86" y="14">10%</text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 795 B