resolvetosavelives / healthicons

A collection of open source icons for public health projects.
https://healthicons.org
MIT License
648 stars 49 forks source link

Icon filename on README #98

Closed troccoli closed 3 years ago

troccoli commented 3 years ago

Hello,

I have created a package to be able to use your icons in Blade template in Laravel. There are plenty of this kind of packages to use all sorts of icons. Have a look at https://github.com/blade-ui-kit/blade-icons#icon-packages.

My package is here and as you can see, I instruct the user to click on the icon they want on your website and note the dhis2 tag to find out what name they should use. I understand not all icon have a dhis2 tag, so here's my question.

Would it be possible to add the icon filename, e.g. blood_a_n, to the icons in the README? Maybe as a tooltip?

nburka commented 3 years ago

Troccoli, good question. Probably using the DHIS2 icon name isn't necessary, right? You just need a way for a person to find the icon, and then filename of the icon? We could show the directly in the modal. So something like:

Screen Shot 2021-06-26 at 4 53 40 PM
nburka commented 3 years ago

@troccoli would that do what you need? Could be useful for others looking for the file in the dir structure if they download the ZIP file too.

nburka commented 3 years ago

In case it's useful for you in the future, there's also a JSON representation of all of the icons here https://healthicons.org/icons/meta-data.json

troccoli commented 3 years ago

Sorry for late reply. The filename in the modal would be perfect @nburka . Thanks

nburka commented 3 years ago

@troccoli done! It's live now. Can I close this issue?

troccoli commented 3 years ago

Of course. Thank you very much

nburka commented 3 years ago

Thank you! It's cool to see that Blade template.