Just noticed updated my ionic project to beta.13.
For some reason none of the IOS or Android Ionicons are working.
Was there a change in how Ionicons is loaded in beta.13?
Thanks for the info. I tried to do the same but I am getting no icons at all. Could you please paste the resulting css file?
EDIT: I need to recreate my css file from the sass file, and also be aware that the ionicons names for ios have changed, they changed from -ios7- to -ios-, so I also need to renamed the icons to match the newer version names, that is why I was having no icons at all.
Im very new to sass so not sure how to go about recreating or recompiling the css from sass. It would be great if you can tell me the steps for doing this.
One of the first things I did was run ionic serve but i get a box where some of the new icons should be, which is why i was wondering if there is some step I missed.
Be sure to replace the ionicons related files inside the lib/ionic folder,
Replace the “ionic/fonts” folder with the newer ionicons version.
Also Replace the files inside “ionic/scss/ionicons”
be sure to backup your prokect just in case anything goes wrong.
I have already replaced the fonts and the scss files in their respective places (the same places you mentioned)
However other than those there is nothing else related to ionicons in the lib/ionic folder.
All the old icons still work fine and the new FourSquare icon shows up, but nothing else shows up (e.g. the Snapchat icon is just a box)
mmm will need to check in more detail, I got the boxy icons because of the reasons I already explained.
I guess the boxy icons are because of that fonts are not present in the css or svg files, does the snapchat icon is present in the scss and svg?
Also check in the resulting app css if the snapchat icon classes are there.
Your resulting css should point to the 2.0.0 version in the font face classes
So i went about restoring the backup of my project, then cloaning the ionicons repository locally. After which I replaced the scss and font files from this clone into my project.
Then I ran ionic serve again and still did not get the fonts to work. Getting blanks or boxes.
I guess ill wait for the next beta release which hopefully should have the new font files.
I tried it again. I copied the font files and the scss files into my ionic project. Ran ionic serve but the scss does not seem to re-compile and give me the icons. I get blanks or boxes everywhere.