vue-file-toolbar-menu icon indicating copy to clipboard operation
vue-file-toolbar-menu copied to clipboard

Don't hardcode icons

Open ricardopolo opened this issue 4 years ago • 3 comments

In our project we have the package of icons from https://materialdesignicons.com/, the one used by Buefy and other big projects.

However this lib uses https://material.io/resources/icons/

This is suboptimal because we have two styles of icons. So my request would be:

  1. Be able to use other icons, like the ability to use a setting to select which package are you going to use. As example Buefy let you chose between Material Icons and Font Awesome
  2. Don't hardcode icons in the package. Currently, even If I managed to use other icons using HTML I would still have installed the icons I don't need because vue-file-toolbar-menu install them. Make them optional (this could apply to emojis too)

ricardopolo avatar Dec 15 '20 02:12 ricardopolo

Yes indeed it would be great. I can't spend much time on this unfortunately. Could you fork the project, tailor it to your needs and make a pull request?

motla avatar Dec 15 '20 07:12 motla

I dont have much time right now, but I will try do it it later. Thanks a lot!

ricardopolo avatar Dec 15 '20 22:12 ricardopolo

Will see if I can make some changes for it to support iconify. https://iconify.design/ https://github.com/antfu/unplugin-icons I think this is the best step forward for really making it independent from a specific icon package

Fanna1119 avatar Dec 09 '21 04:12 Fanna1119