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

sass variables should use !default for overriding #26

Closed
leemason opened this issue Feb 20, 2015 · 3 comments
Closed

sass variables should use !default for overriding #26

leemason opened this issue Feb 20, 2015 · 3 comments
Milestone

Comments

@leemason
Copy link

currently you have to edit the variables.scss file directly to change variables when including in a different sass project.

this can negated by simply adding !default after the variable declaration in the variables file which will allow sass to override it by defining the variable before importing the file:

in _variables.scss
$md-font-path: "../fonts" !default;

in another sass project
$md-font-path: "../fonts/icons";
@import "material-design-iconic-font";

@Ollo
Copy link

Ollo commented Apr 24, 2015

👍 I'm running into the same issue which makes this pretty un-usable via bower.

@jo4santos
Copy link

+1

@zavoloklom zavoloklom added this to the ver2 milestone Jun 18, 2015
@zavoloklom zavoloklom modified the milestones: 2.0.0, ver2 Jun 22, 2015
@zavoloklom
Copy link
Owner

Fixed in 2.0 release

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

No branches or pull requests

4 participants