Daemonite / material

Material Design for Bootstrap 4
http://daemonite.github.io/material/
MIT License
3.2k stars 721 forks source link

Argument `$map` of `map-get($map, $key)` must be a map #249

Open RTJ opened 4 years ago

RTJ commented 4 years ago

Just installing the library with yarn and loading it (SCSS) I get the following error:

@import "~daemonite-material/assets/scss/material";

no custom changes just loading i get this error:

@return map-get(map-get($theme-colors, $key), light); ^ Argument$mapofmap-get($map, $key)must be a map in _functions.scss (line 70, column 11)

Any idea why ??

djibe commented 4 years ago

And what happens if you use a Git clone of my fork instead ? https://github.com/djibe/material.git

b44x commented 4 years ago

I have the same problem :(

@djibe I checked and nothing helped.

  @return map-get(map-get($theme-colors, $key), color);
         ^
      Argument `$map` of `map-get($map, $key)` must be a map
      in /home/b4x/checkout/node_modules/daemonite-material/assets/scss/_functions.scss (line 81, column 11)