-
Notifications
You must be signed in to change notification settings - Fork 15
Feature: Support outline icons #9
Comments
Sounds like a reasonable feature. Let's see if I come up with a good idea... |
If all is going well, I will release a new version with the requested feature in the next few days. |
See https://github.com/GerritErpenstein/ionic2-custom-icons-example/tree/feature/platform-specific for an example of the (yet unstable) release of the feature. |
@GerritErpenstein thx for this nice feature. Added it to my app and it works great (for tabs as well). It's nice with the (ion|md) suffix. At first I expected (ion|md) as prefix, like ionic internally does, but it's better your way, cuz then the icon are also sorted in my folder on the disc. Took me a while to find out you changed the path from: 'node_modules/ionic2-custom-icons/directive/scss/',
to: 'node_modules/ionic2-custom-icons/ionic/scss/', but as you said: docs weren't updated yet from One suggestion would be to be able to scale the custom icons of the tabs. They are really tiny, especially if I remove the text below the icon. Or is this possible with ionic2 out of the box? |
Hi @mavogel! Thanks for the kind feedback. I am still working on this feature. The next (beta) release will support inactive ("outline" for iOS) icons. After finishing that, I will update and rewrite the docs. Until then the feature branch in the ionic2-custom-icons-example contains a working example with the new features.
I will look into it. Ideally the size should be as close to the size of the original Ionic icon set as possible. |
I have just pushed a commit that should make the next release feature complete. Inactive ("outline") icons are fully supported now. The example app (in the platform-specific branch) has also been updated. Feel free to test the update and please let me know if you find any problems. Thanks! |
@GerritErpenstein thank for th update. Outline icons work fine for me now. It tried it with your |
@mavogel |
@GerritErpenstein my custom outline icons still appear with the fill, I tried the heart icon, the outline works for that, but for some icons, it does not. Try the svg I've attached (inside the .zip because .svg was not allowed) |
@sarahsga I have taken a look into your SVG. Please try to remove all SVG transforms. They have caused problems in the past. |
Do you think it would be easy to add support for outline stroke icons? It would be a nice to have for iOS.
The text was updated successfully, but these errors were encountered: