mdbootstrap / material-design-for-bootstrap

Important! A new UI Kit version for Bootstrap 5 is available. Access the latest free version via the link below.
https://mdbootstrap.com/docs/standard/
MIT License
9.34k stars 1.15k forks source link

Compile with libsass/node-sass #35

Closed phortx closed 7 years ago

phortx commented 7 years ago

Can someone help me with compiling MDB with libsass (via node-sass)?

My libsass version is 3.13.1.

The error message is Error: ("lighten-5": #fafafa, "lighten-4": #f5f5f5, "lighten-3": #eeeeee, "lighten-2": #e0e0e0, "lighten-1": #bdbdbd, "base": #9e9e9e, "darken-1": #757575, "darken-2": #616161, "darken-3": #424242, "darken-4": #212121) isn't a valid CSS value.

The reason is @if map-has-key($curr_color, $type) { line in the `_colors.scss``

phortx commented 7 years ago

Fixed. See http://mdbootstrap.com/forums/topic/scss-compile-error/#post-12915