Hello! I would like to request a new feature that sets stroke color to “unset”, while leaving stroke style as is, so that I can control the stroke color of it via CSS.
I noticed that I can unset the stroke paint in the Fill and Stroke dialog, but doing so also unsets stroke style, making it inconvenient for me, as I have to remove the “stroke” attribute in the final svg file in the end.
I’m aware that it’s better to file requests to bug tracker systems, but as the Report Bugs suggests I decided to send the request here for discussion before doing so. Thanks!
This is against svg spec. You can fix with !important
El 27 de mayo de 2023 14:48:26 CEST, "F.B. Hu" FishBoneEK@outlook.com escribió:
Hello! I would like to request a new feature that sets stroke color to “unset”, while leaving stroke style as is, so that I can control the stroke color of it via CSS.
I noticed that I can unset the stroke paint in the Fill and Stroke dialog, but doing so also unsets stroke style, making it inconvenient for me, as I have to remove the “stroke” attribute in the final svg file in the end.
I’m aware that it’s better to file requests to bug tracker systems, but as the Report Bugs suggests I decided to send the request here for discussion before doing so. Thanks! _______________________________________________ Inkscape Users mailing list -- inkscape-user@lists.inkscape.org To unsubscribe send an email to inkscape-user-leave@lists.inkscape.org
Jabier Arraiza said on Sat, 27 May 2023 20:57:06 +0200
This is against svg spec. You can fix with !important
All workarounds have side effects. !important has really nasty side effects. !important takes the "cascading" out of "cascading style sheets". A better workaround would be to leave everything unset and change the CSS, with an editor, as needed.
Is there a way for an SVG file to include an external CSS file, and if so, does Inkscape work properly with external CSS files?
Thanks,
SteveT
Steve Litt Autumn 2022 featured book: Thriving in Tough Times http://www.troubleshooters.com/bookstore/thrive.htm
If I remember OK you can since some years. But not dinamicaly, just on start.
You can also try CSS dialog if never use it.
Regards, Jabier.
El sáb, 27-05-2023 a las 20:19 -0400, Steve Litt escribió:
Jabier Arraiza said on Sat, 27 May 2023 20:57:06 +0200
This is against svg spec. You can fix with !important
All workarounds have side effects. !important has really nasty side effects. !important takes the "cascading" out of "cascading style sheets". A better workaround would be to leave everything unset and change the CSS, with an editor, as needed.
Is there a way for an SVG file to include an external CSS file, and if so, does Inkscape work properly with external CSS files?
Thanks,
SteveT
Steve Litt Autumn 2022 featured book: Thriving in Tough Times http://www.troubleshooters.com/bookstore/thrive.htm _______________________________________________ Inkscape Users mailing list -- inkscape-user@lists.inkscape.org To unsubscribe send an email to inkscape-user-leave@lists.inkscape.org
maybe you can try to set unsetted with css somethinh like stroke:#ff0000
El 27 de mayo de 2023 14:48:26 CEST, "F.B. Hu" FishBoneEK@outlook.com escribió:
Hello! I would like to request a new feature that sets stroke color to “unset”, while leaving stroke style as is, so that I can control the stroke color of it via CSS.
I noticed that I can unset the stroke paint in the Fill and Stroke dialog, but doing so also unsets stroke style, making it inconvenient for me, as I have to remove the “stroke” attribute in the final svg file in the end.
I’m aware that it’s better to file requests to bug tracker systems, but as the Report Bugs suggests I decided to send the request here for discussion before doing so. Thanks! _______________________________________________ Inkscape Users mailing list -- inkscape-user@lists.inkscape.org To unsubscribe send an email to inkscape-user-leave@lists.inkscape.org
Maybe can be a bug if stroke properties like width or dash-array become removed on unset
El 27 de mayo de 2023 21:00:47 CEST, Jabier Arraiza jabier.arraiza@marker.es escribió:
maybe you can try to set unsetted with css somethinh like stroke:#ff0000
El 27 de mayo de 2023 14:48:26 CEST, "F.B. Hu" FishBoneEK@outlook.com escribió:
Hello! I would like to request a new feature that sets stroke color to “unset”, while leaving stroke style as is, so that I can control the stroke color of it via CSS.
I noticed that I can unset the stroke paint in the Fill and Stroke dialog, but doing so also unsets stroke style, making it inconvenient for me, as I have to remove the “stroke” attribute in the final svg file in the end.
I’m aware that it’s better to file requests to bug tracker systems, but as the Report Bugs suggests I decided to send the request here for discussion before doing so. Thanks! _______________________________________________ Inkscape Users mailing list -- inkscape-user@lists.inkscape.org To unsubscribe send an email to inkscape-user-leave@lists.inkscape.org
participants (4)
-
F.B. Hu
-
Jabier Arraiza
-
Jabier Arraiza Cenoz
-
Steve Litt