shinokada / svelte-heros-v2

Hero Icons v2 for Svelte. You can select outline and solid icons using the variation props. Svlete-Heros support major CSS framework. You can add additional CSS using the `class` props.
https://svelte-heros-v2.codewithshin.com
Apache License 2.0
41 stars 3 forks source link

[BUG]: strokeWidth defaults to 2 instead of 1.5 #13

Closed MCMattia closed 1 year ago

MCMattia commented 1 year ago

Description of the bug

Why does strokeWidth default to 2 whereas the icons from https://heroicons.com/ are always with strokeWidth of 1.5 ?

Steps To Reproduce

Use an svg from https://heroicons.com/ and then use an Icon from svelte-heros-v2. You will see that the strokeWidth is different

Additional Information

No response

shinokada commented 1 year ago

Fixed. svelte-heros-v2@0.3.19 Please let me know.

MCMattia commented 1 year ago

Thank you for the rapid fix. The icons from svelte-heros-v2 are now with the same strokeWidth as the icons on https://heroicons.com/