Skip to content

Instantly share code, notes, and snippets.

@kookster
Created May 26, 2013 14:39
Show Gist options
  • Save kookster/5652987 to your computer and use it in GitHub Desktop.
Save kookster/5652987 to your computer and use it in GitHub Desktop.
My latest, not cleaned up at all, version of the svg I am using to generate shields/badges.
Display the source blob
Display the rendered blob
Raw
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="Layer_1"
x="0px"
y="0px"
width="77px"
height="18px"
viewBox="0 1.25 77 18"
enable-background="new 0 1.25 77 18"
xml:space="preserve"
inkscape:version="0.48.2 r9819"
sodipodi:docname="travis_passing.svg"><metadata
id="metadata3190"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
id="defs3188" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="640"
inkscape:window-height="480"
id="namedview3186"
showgrid="false"
inkscape:zoom="4.5714286"
inkscape:cx="38.5"
inkscape:cy="9"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="0"
inkscape:current-layer="Layer_1" />
<g
id="Green">
<linearGradient
id="SVGID_1_"
gradientUnits="userSpaceOnUse"
x1="1042.501"
y1="3815"
x2="1042.501"
y2="3797"
gradientTransform="matrix(1 0 0 1 -988 -3795.5)">
<stop
offset="0"
style="stop-color:#23630A"
id="stop3145" />
<stop
offset="0.1"
style="stop-color:#31B70E"
id="stop3147" />
<stop
offset="0.96"
style="stop-color:#4AD115"
id="stop3149" />
<stop
offset="1"
style="stop-color:#9DED7D"
id="stop3151" />
</linearGradient>
<path
fill="url(#SVGID_1_)"
d="M32,19.25h42c1.657,0,3-1.343,3-3v-12c0-1.657-1.343-3-3-3H32V19.25z"
id="path3153" />
<linearGradient
id="SVGID_2_"
gradientUnits="userSpaceOnUse"
x1="852"
y1="3221.625"
x2="852"
y2="3203.7461"
gradientTransform="matrix(1 0 0 1 -836 -3202.5)">
<stop
offset="0"
style="stop-color:#2E2E2E"
id="stop3156" />
<stop
offset="0.1"
style="stop-color:#3F3F3F"
id="stop3158" />
<stop
offset="0.96"
style="stop-color:#5A5A5A"
id="stop3160" />
<stop
offset="1"
style="stop-color:#AAAAAA"
id="stop3162" />
</linearGradient>
<path
fill="url(#SVGID_2_)"
d="M32,19.25H3c-1.657,0-3-1.343-3-3v-12c0-1.657,1.343-3,3-3h29V19.25z"
id="path3164" />
<g
id="g3166">
<g
opacity="1"
id="g3168">
<text
x="35"
y="14.8"
transform="scale(1,0.93968341)"
fill="#23630A"
font-family="Open Sans"
font-size="10"
id="text3170">passing</text>
</g>
<g
id="g3172">
<text
x="35"
y="14"
transform="scale(1,0.93968341)"
fill="#FFFFFF"
font-family="Open Sans"
font-size="10"
id="text3174">passing</text>
<text
x="35"
y="14"
transform="scale(1,0.93968341)"
fill="#FFFFFF"
font-family="Open Sans"
font-size="10"
id="text31742">passing</text>
</g>
</g>
<g
id="g3176">
<g
opacity="0.5"
id="g3178">
<text
x="5"
y="14.8"
transform="scale(1,0.93968341)"
fill="#000000"
font-family="Open Sans"
font-size="10"
id="text3180">build</text>
</g>
<g
id="g3182">
<text
x="5"
y="14"
transform="scale(1,0.93968341)"
fill="#FFFFFF"
font-family="Open Sans"
font-size="10"
id="text3184">build</text>
<text
x="5"
y="14"
transform="scale(1,0.93968341)"
fill="#FFFFFF"
font-family="Open Sans"
font-size="10"
id="text31842">build</text>
</g>
</g>
</g>
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment