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

SCSS install instructions not working #90

Open
MauScheff opened this issue Jul 14, 2022 · 2 comments
Open

SCSS install instructions not working #90

MauScheff opened this issue Jul 14, 2022 · 2 comments

Comments

@MauScheff
Copy link

$material-design-icons-font-directory-path: '~material-design-icons-iconfont/dist/fonts/';

@import '~material-design-icons-iconfont/src/material-design-icons';

Leads to:

Error: File to import not found or unreadable:

@kambbado
Copy link

kambbado commented Aug 4, 2022

Try

$material-design-icons-font-directory-path: '~material-design-icons-iconfont/dist/fonts/';
@import 'material-design-icons-iconfont/src/material-design-icons';

Remove the ~ from the @import statement

@ajmas
Copy link

ajmas commented Oct 31, 2023

On my side, basing myself on the readme in the Google Materials icons project, this seems to work for me:

@import 'material-design-icons-iconfont/dist/material-design-icons.css';

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

3 participants