Skip to content

planet-training/material-design-icons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google material design icons

Package to provide Google's material design icons for your Meteor app. Currently only the icon sprites are supported.

Usage

Example 1: use with angular material (ngMaterial)

The folder with all files of this package is available in the public url /packages/planettraining_material-design-icons/bower_components/material-design-icons/sprites/. Currently we only publish the svg-sprites. You can initialize the icons as following:

angular.module("MyApp")
  .config(themeIcons);

function themeIcons ($mdIconProvider) {

  $mdIconProvider
    .iconSet("social", "/packages/planettraining_material-design-icons/bower_components/material-design-icons/sprites/svg-sprite/svg-sprite-social.svg")
    .iconSet("action", "/packages/planettraining_material-design-icons/bower_components/material-design-icons/sprites/svg-sprite/svg-sprite-action.svg")
    .iconSet("communication", "/packages/planettraining_material-design-icons/bower_components/material-design-icons/sprites/svg-sprite/svg-sprite-communication.svg")
    .iconSet("content", "/packages/planettraining_material-design-icons/bower_components/material-design-icons/sprites/svg-sprite/svg-sprite-content.svg")
    .iconSet("toggle", "/packages/planettraining_material-design-icons/bower_components/material-design-icons/sprites/svg-sprite/svg-sprite-toggle.svg")
    .iconSet("navigation", "/packages/planettraining_material-design-icons/bower_components/material-design-icons/sprites/svg-sprite/svg-sprite-navigation.svg")
    .iconSet("image", "/packages/planettraining_material-design-icons/bower_components/material-design-icons/sprites/svg-sprite/svg-sprite-image.svg");

    // there are more icon sprites available, check out the material-design-icons page

};

Links

About

Package to provide material design icons for your app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published