[Dextrose] [PATCH][sugar-artwork] Replace device feedback icon

Frederick Grose fgrose at gmail.com
Thu Feb 3 21:03:46 EST 2011


On Thu, Feb 3, 2011 at 8:52 PM, Anish Mangal <anish at activitycentral.org>wrote:

> you're right w.r.t. inkscape messages being in the svg
>
> w.r.t sugarizing, the commit contains the sugarized version. Check
> that your svg file doesn't contain entries like stroke_color or
> fill_color (instead of explicit colors like #666666 or #ffffff) while
> the committed change does. Having these entities in the svg image
> allows sugar to modify the colors of the icon to match the user's
> colors.
>

Here's a fresh attempt at sugar-iconifying:

<?xml version="1.0" ?><!DOCTYPE svg  PUBLIC '-//W3C//DTD SVG 1.1//EN'  '
http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd' [
 <!ENTITY stroke_color "#666666">
<!ENTITY fill_color "#ffffff">
]><svg height="55px" id="svg2" version="1.1" viewBox="0 0 55 55"
width="55px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"
xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="
http://purl.org/dc/elements/1.1/" xmlns:rdf="
http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="
http://www.w3.org/2000/svg"><metadata id="metadata18"><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/></cc:Work></rdf:RDF></metadata><defs
id="defs16"/><g id="emblem-question" style="display:block">
 <g id="_x3F__x3F__x3F__x3F__x3F__1_" style="display:inline">
<rect height="40" id="rect6"
style="fill:&fill_color;;stroke:&stroke_color;;stroke-width:3.5" width="40"
x="7.5" y="7.5"/>
 <g id="g8"
transform="matrix(0.89567418,0,0,0.87748738,-2.786551,1.0516569)">
<g id="g10" transform="translate(-1.2841326,0)">
 <path d="m 24.825,26.918 c 0,-1.271 1.413,-1.483 2.862,-1.87 1.412,-0.39
2.824,-0.954 2.824,-3.003 0,-1.554 -1.447,-2.687 -2.931,-2.687 -2.969,0
-3.428,3.497 -5.688,3.497 -1.273,0 -2.156,-0.987 -2.156,-2.542 0,-3.709
4.664,-5.829 7.843,-5.829 4.556,0 8.441,2.827 8.441,7.559 0,3.922
-2.471,6.217 -6.109,7.135 v 1.273 c 0,1.413 -1.059,2.438 -2.542,2.438
-1.591,0 -2.545,-1.024 -2.545,-2.438 v -3.533 z m -0.21,10.811 c 0,-1.52
1.236,-2.755 2.756,-2.755 1.52,0 2.754,1.235 2.754,2.755 0,1.518
-1.234,2.755 -2.754,2.755 -1.52,0 -2.756,-1.237 -2.756,-2.755 z" id="path12"
style="fill:&stroke_color;"/>
 </g>
</g>
<g id="g11"
transform="matrix(0.92437492,0,0,0.86373613,10.834898,6.6992787)"><path d="m
24.563,37.676 c 0,-1.547 1.26,-2.807 2.808,-2.807 1.547,0 2.808,1.26
2.808,2.807 0,1.549 -1.261,2.809 -2.808,2.809 -1.548,-10e-4 -2.808,-1.26
-2.808,-2.809 z m 0.216,-21.237 c 0,-1.512 1.116,-2.447 2.592,-2.447 1.44,0
2.591,0.972 2.591,2.447 v 13.858 c 0,1.477 -1.151,2.449 -2.591,2.449
-1.476,0 -2.592,-0.938 -2.592,-2.449 V 16.439 z" id="path13"
style="fill:&stroke_color;"/></g></g>
</g></svg>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/dextrose/attachments/20110203/0b65e665/attachment.html>


More information about the Dextrose mailing list