Pictogrammers / pictogrammers.com

Code for Pictogrammers.com
https://pictogrammers.com
74 stars 16 forks source link

Draw.io support #117

Open acovaci opened 2 months ago

acovaci commented 2 months ago

Describe your suggested feature

Hi, I would love to use the icons on draw.io; the issue is that draw.io expects the SVG in a very specific format.

Luckily the change isn't massive, it would just need a class on the paths, and a style setting the colour on that class. E.g.:

<svg ... >
    <style>
        .icon {
            fill: inherit;
        }
    </style>

    <path class="icon" d="..."></path>
</svg>

This could be exposed as an extra option on the website, along the other download options.

Thanks!