nkoterba / material-design-iconsets

SVG Iconsets for Angular Material Design
Creative Commons Attribution 4.0 International
51 stars 9 forks source link

Added Support for icons in the http://materialdesignicons.com/ #6

Closed Stexxen closed 9 years ago

Stexxen commented 9 years ago

Learned a bit of Gulp and thought this might be useful.

Adds Support for icons in the http://materialdesignicons.com/ Adds Command build-community which creates file mdi-icons.svg in iconsets

nkoterba commented 9 years ago

@Stexxen Thanks!

Yes, we were looking to add those icons as well though we've been updating our build environment to use other things.

I will take a look at this later this week/weekend and then pull it in unless I have any issues. Thanks for the contribution!

nkoterba commented 9 years ago

@Stexxen

I found an issue with one of the community icons. It must've been added recently but it was using ellipse svg path instead of path so your delete test.g.path[0].fill was crashing gulp since path was undefined. Updated the gulpfile based on your help to pull community, build the iconset and remove a standard set of 'style' svg attributes:

'fill' 'fill-opacity' 'stroke-width' 'stroke-linejoin'

Thanks again for your efforts and your contribution. I'm going to close this since I didn't want to pull request your pull request to update your repo so then I could update my repo. Just updated mine directly.

Stexxen commented 9 years ago

@nkoterba No worries, thanks for the mention on the Readme!