Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow SVG icon colors to be controlled in QGIS #34

Open
josephholler opened this issue Feb 5, 2021 · 3 comments
Open

Allow SVG icon colors to be controlled in QGIS #34

josephholler opened this issue Feb 5, 2021 · 3 comments

Comments

@josephholler
Copy link

If the repository owners are interested, you can try replacing all instances of fill="none" in the SVG files with fill="param(fill)" in the Maki icons allowing the icon color to be controlled with the fill color option in the QGIS Symbol Selector.

For example, I've done this for the Maki icons here: https://github.com/GIS4DEV/maki

A slightly different replacement would be needed for icons in the gis_lab set.

This way, the icons can be styled with any color, rather than just black.

@havatv
Copy link
Collaborator

havatv commented Feb 5, 2021

Great idea!
A PR would b ewelcome

@havatv
Copy link
Collaborator

havatv commented Feb 5, 2021

Greaimårovement!

A PR would be welcome

@roya0045
Copy link

Great idea! A PR would b ewelcome

Made a script to convert svg to controlable ones, may still need minor tweaks to handle canses where the primary color isn't black, shouldn't be too hard to tweak.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants