Help with "unset" fill/stroke

Asked by Eric B. Hymowitz on 2017-10-30

Greetings. I'm very new to Inkscape and to artistry in general.

I'm trying to create an SVG, and my problem is two-fold:

1. In the finished SVG, I need the "fill" and "stroke" for my various objects to be "unset", so that my CSS can adjust the colors as needed. When I specify a "fill" or a "stroke" value, it overrides my CSS.
2. While I'm creating the SVG, I need to see what I'm doing. When I unset the "fill", a black rectangle is (by default) filled in black. When I unset the "stroke", it becomes ... some default value that I can't predict, usually either 0 or 1 inch.

So I guess I need to create some kind of situation where the values are different in my editing window than the saved values end up. Or I need some kind of "default" where my unset-fill rectangles are unfilled and my unset-stroke rectangles are 1px wide.

Or perhaps I'm doing this completely wrong.

Can somebody point me the way?

Question information

Language:
English Edit question
Status:
Answered
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Last query:
2017-10-30
Last reply:
2017-10-30
Hachmann (marenhachmann) said : #1

You're right, stroke width seems to be displayed as a default value of 1 - but in the XML, for the objects I tested with, the attribute is deleted completely, it's just what Inkscape shows as a value for a non-existent stroke. This value is used when then a stroke is reassigned to the object. I couldn't get it to show '0' for the objects I played with.

For just being able to see the paths you're editing (I think that was the actual issue?), you can switch the display mode to 'Outline' via View > Display mode > Outline.

Can you help with this problem?

Provide an answer of your own, or ask Eric B. Hymowitz for more information if necessary.

To post a message you must log in.