matschik / vue-hero-icons

A set of free MIT-licensed high-quality SVG icons, sourced from @tailwindlabs/heroicons, as Vue 2 functional components.
https://vue-hero-icons.netlify.com
MIT License
100 stars 8 forks source link

Stroke width #162

Open oscarhandsome opened 2 years ago

oscarhandsome commented 2 years ago

Hi! and thanks for the cool icon library! @matschik At the attributes by default uses stroke-width="2" Can autor add supporting props as example :stroke-width="1", fill and currentColor works fine, but stroke nope. If it possible. I'm using this lib with tailwindcss and nuxt, and it will be great. Also, this article says that we need to change it into CSS like: svg path { stroke-width: 1; } It works. Or here is another solution. But I prefer to follow by methodology or add some details into props.

Sorry if I duplicated the question.