antonreshetov / vue-unicons

1000+ Pixel-perfect svg icons for your next project as Vue components
https://antonreshetov.github.io/vue-unicons/
MIT License
1k stars 56 forks source link

Add the ability to set Unicon options globally. #26

Closed themustafaomar closed 4 years ago

themustafaomar commented 4 years ago

Add the ability to customize the Unicon component options globally. So we can now set the options like so:

Vue.use(Unicon, {
  fill: '#414154',
  height: 15,
  width: 15,
})
hmaesta commented 4 years ago

Any update on this? Would be a really nice enhancement 🙌

hmaesta commented 4 years ago

Hey @antonreshetov – this PR is super simple and it's a more-than-welcome feature, but it's waiting for a while. Besides, I answered some issues but the remain open - but should be closed.

I am not in a position of asking something – since I am not paying for this great work –, but if you need some help managing PRs and issues, I am available to help 😃

antonreshetov commented 4 years ago

@hmaesta Apparently, the author has removed the PR branch. I've made a new PR #37, so this feature has been added and will be released in a new version.