Closed ghost closed 8 years ago
It seems you put single elements into this. mostly the
I just created an icon for use using inkscape, and found when I opened the svg file it had created, it had grouped an entire layer together with a
One problem I them had was that each of the elements had a style on them. This seems to effect the styling Polymer was trying to apply, so I manually deleted these styles, and that solved that problem.
I created the icon at 48 x 48 according to inkscape, but when I put size=48 into the appropriate attribute on this iron-iconset-svg element I only got the top quarter of it. Changing this to size 96 solve the problem, although I have no idea why
hmm. Ok thanks for the tips.
I will give it another shot based on the bits of advice you gave me.
I have an SVG, but when i look at the demo twitter icon, the format is completely different Can you give me some advise here please.
Here is my SVG:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="129px" height="40.5px" viewBox="223.14 367.445 129 40.5" enable-background="new 223.14 367.445 129 40.5" xml:space="preserve">
So looking at the demo the vector format looks completly differerent: