repobadge/example-badges/coverage.svg

20 lines
795 B
XML

<?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>