Skip to content

Changeable colour of imported SVG icons in QGIS #3

@zirneklitis

Description

@zirneklitis

Thank You for nice collection of mapping icons!
It would be nice to make the icons mere configurable – adding possibility to change fill and outline colour.
It can be achieved by replacing (RegEx syntax)
fill="[^"]+"\/>
with
fill="param(fill) #FFF" stroke="param(outline) #000" stroke-width="param(outline-width) 1"\/>

Image
Original icon. The icon's colour cannot be changed.

Image
_All icons are the same colour.

Image
It is possible to change fill colour as well as outline width and colour for the modified icons.

Image
Icons can be drawn in different colours.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions