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

bower install mdi got error #653

Closed
Gary-Pan opened this issue Jul 2, 2015 · 2 comments
Closed

bower install mdi got error #653

Gary-Pan opened this issue Jul 2, 2015 · 2 comments

Comments

@Gary-Pan
Copy link

Gary-Pan commented Jul 2, 2015

[Sass] Error in plugin 'gulp-sass'
Message:
bower_components/mdi/scss/_core.scss
1:1 Undefined variable: "$mdi-css-prefix".
Details:
column: 1
line: 1
file: /Users/Gary/U3D/bitbucket/mdi/bower_components/mdi/scss/_core.scss
status: 1
messageFormatted: bower_components/mdi/scss/_core.scss
1:1 Undefined variable: "$mdi-css-prefix".

@zckrs
Copy link
Collaborator

zckrs commented Jul 2, 2015

@zckrs zckrs closed this as completed Jul 2, 2015
@rictorres
Copy link
Contributor

I had the same issue, but the problem lives on MDI's bower.json config.

Solution
Add the following to the overrides section of your project's bower.json.

"overrides": {
  "mdi": {
    "main": [
      "fonts/*",
      "css/*"
    ]
  }
}

Also, check Templarian/MaterialDesign-Webfont#7

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