SKProCH / Material.Icons

Strongly typed parsed icons set from materialdesignicons.com and display control implementations for different GUI frameworks.
MIT License
144 stars 15 forks source link

Adjust line thickness #37

Open ReIaxo opened 2 weeks ago

ReIaxo commented 2 weeks ago

Hi, is it possible to adjust the line thickness of the icons in wpf? The original Material Icons from google are adjustable (Weight/Grade/Optical size)

For me the icons from this package are all a little bit to thick.

I tried around a little with the style and renderTransform but with no result.

SKProCH commented 2 weeks ago

Hello, @ReIaxo

There is no way to actually adjust thickness out the box - since all the icons is svg paths, with explicitly defined geometry - currently its the only way to properly store the data i think.

RenderTransform or other ways can only linearly scale the icon.

You can customize an svg by yourself, and override a default one as described here https://github.com/SKProCH/Material.Icons/issues/20

ReIaxo commented 2 weeks ago

Okay, thank you. Yes I saw #20. We have to evaluate.

I found that the pictogrammers have some light icons. Unfortunatly there are way less of them.

Do you know the philosophy behind? I mean why the normal ones are that bold in difference to the Material 3 ones?

Is it possible to include them in this package?

SKProCH commented 2 weeks ago

Do you know the philosophy behind? I mean why the normal ones are that bold in difference to the Material 3 ones?

Tbh, no.

Is it possible to include them in this package?

By replacing MaterialIconDataProvider with a custom one currently it can work. But, I actually have an idea to allow users to include custom icons pack, i'll try to find some time in the weekend to research this.