Meteor materialize package: icons are missing (again)
See original GitHub issueI know about the issue #2224, however it doesn’t help, icons are still missing. I’m using a fresh Meteor 1.2.1 project. First of all I see that <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
line is already included in the HTML. The problem seems to be that the above CSS defines “Material Icons” font, while Materialize CSS expects the name “Material-Design-Icons”.
However what’s even more weird is that package.js
file in materialize repository actually adds icon files as assets to the project, but when I inspect the generated CSS, it gives an incorrect path:
@font-face {
font-family: "Material-Design-Icons";
src: url("packages/materialize_materialize/dist/font/material-design-icons/Material-Design-Icons.eot?") format("embedded-opentype") -- SNIP --
font-weight: normal;
font-style: normal;
}
Note that the CSS expects the font to be found at packages/materialize_materialize/dist/font/material-design-icons/Material-Design-Icons.eot
, but the real path is packages/materialize_materialize/font/material-design-icons/Material-Design-Icons.eot
(note the missing dist/
). Any ideas why dist/
gets added to the path?
Issue Analytics
- State:
- Created 8 years ago
- Comments:6 (1 by maintainers)
All the old font files are removed. The correct way to use the icons is through the Google Font link.
1+