question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Meteor materialize package: icons are missing (again)

See original GitHub issue

I 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:closed
  • Created 8 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
Dogfalocommented, Mar 14, 2016

All the old font files are removed. The correct way to use the icons is through the Google Font link.

0reactions
cesarve77commented, Mar 10, 2016

1+

Read more comments on GitHub >

github_iconTop Results From Across the Web

Meteor materialize package: icons are missing · Issue #2224 - GitHub
I created new Meteor 1.2.1 project and I added official materialize package. I am not seeing material icons in my webpage.
Read more >
[SOLVED] Materialize:materialize Icon's not working - help
Using the materialize package and adding icons with <i class="material-icons">3d_rotation</i> doesn't seem to be working.
Read more >
What packages do I need when using materialize sass source ...
Issue 1: Waves effect does not disappear - After clicking on a button the wave appear but does not clear the transparency effect...
Read more >
Dogfalo/materialize - Gitter
I'm using meteor. As soon as I switched to the git checkout, all my front end collapsed, the browser was unable to render...
Read more >
A Jumbo List of 52 Great Web Development Tools - Paperform
From front-end to back-end, text editors to image optimisation apps, ... For that reason, we've gone beyond the traditional definition of ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found