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

Add !default suffix to overridable variables #19

Closed
wants to merge 1 commit into from

Conversation

oliamb
Copy link

@oliamb oliamb commented Jan 31, 2015

With this push request, developer can redeclare $md-font-path, $md-css-prefix and $md-border-color in their own SCSS files before they import material-design-iconic-font. So this is now easy to leave the library files untouched (which will allow for easier/automated update of the dependencies).

The default values are used only if no global variable with the same name already exists.

This is the common behaviour using Sass. This way a developer can
declare other $md-font-path, $md-css-prefix and $md-border-color
without having to touch the library files. The default values are used
only if no global variable with the same name already exists.
@zavoloklom
Copy link
Owner

Fixed in 2.0 release

@zavoloklom zavoloklom closed this Jun 22, 2015
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

Successfully merging this pull request may close these issues.

2 participants