michaelpwilson / angular-material-textangular

An Angular Material version of Text Angular
9 stars 6 forks source link

Google material design icons #4

Open michaelpwilson opened 8 years ago

michaelpwilson commented 8 years ago

We should use google material design icons instead:

https://design.google.com/icons/#ic_list

felixsteghofer commented 8 years ago

Is there any progress on this issue? I'm willing to contribute (also on other things) if you could give me the latest status.

michaelpwilson commented 8 years ago

Specifically for the task of using material icons rather than fontawesome, we basically need to change the iconClass values in src/textAngularSetup.js to the relevant material icon:

https://github.com/michaelpwilson/angular-material-textangular/blob/6e149601dde5eda52afdf46d7051ef650a898abf/src/textAngularSetup.js

Then instead of adding it as a class here, it needs to be as text eg. <i class="material-icons">&#xE896;</i>

michaelpwilson commented 8 years ago

PS: I haven't had anytime to work on this for a while now and from here on out I am putting my efforts into a pure angular material component called mdRichEditor.

My reasoning for doing this is because textAngular is well too heavy for what Angular Material would actually need.

Just wanted to put it out there as I think mdRichEditor is a much more logical approach to a wyswyg with Angular Material :+1: