mkhairi / materialize-sass

Materializecss rubygem for Rails Asset Pipeline / Sprockets
http://materialize.labs.my/
MIT License
805 stars 243 forks source link

Fix lighten not working in combination with a base-color when extending #50

Closed LinuCC closed 9 years ago

LinuCC commented 9 years ago

For example

div.card {
  @extend .lime, .lighten-5;
}

Will not work, but

div.card {
  @extend .lime, .darken-5;
}

will, because lighten ones are declared before base-colors, while darken are declared after those, thus the base-colors overwrite the lighten-colors.

mkhairi commented 9 years ago

Thank for pr, but can you make this pull request on official materialize repo instead? all materialize assets from this gem will be replace from the that original sources for any updates.

LinuCC commented 9 years ago

Of course, should have figured it out myself.Thank you for the information, will look into it.

udiboy1209 commented 8 years ago

Which version has this fix been released in? Or has it been released yet? I just downloaded 0.97.2 and this bug is still there.

I however manually fixed it by replacing _color.scss with @LinuCC 's file