Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

larger icons? #5

Open
mattiLeBlanc opened this issue Aug 23, 2015 · 4 comments
Open

larger icons? #5

mattiLeBlanc opened this issue Aug 23, 2015 · 4 comments

Comments

@mattiLeBlanc
Copy link

Hi,

As I understand it icon-sets that are pulled in are 24px versions.
Printing them in your markup goes like this:

Looking at the Angular Material Docs ( https://material.angularjs.org/latest/#/api/material.components.icon/directive/mdIcon)
you set the icon size when you declare the icons sets and you don't need to reference the icon as ic_[name]_24px.

This was a bit confusing for me when I use your package.
Maybe you can add in the docs an example how to call an icon.

Also, if you would want to have the 48px version of the icon, you would have to include the material icons your self as documenten in the angular material md-icon page, right?

@donedgardo
Copy link

Yes, I can confirm trying to get bigger icons with "ic_[name]_48px" won't work.

@mattiLeBlanc
Copy link
Author

when I look at my network tab, I see the icons sets that are loaded in the sprite are all set to 24px only. So set is fixed. You probably have to duplicate the set and make your own with a bigger size

@mxab
Copy link
Member

mxab commented Dec 25, 2015

we currently only repackage the sprite files that come with the bower package. I haven't compared the 24 and 48 files, do they contain more detail?

@dohomi
Copy link
Member

dohomi commented Jan 12, 2016

I'd recommend to use the package: https://github.com/planet-training/material-design-icons-font which is font based version of the iconset and recommended by the Google icon team

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants