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

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

Open
RTJ opened this issue Feb 11, 2020 · 2 comments
Open

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

RTJ opened this issue Feb 11, 2020 · 2 comments

Comments

@RTJ
Copy link

RTJ commented Feb 11, 2020

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
Copy link

djibe commented Feb 12, 2020

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

@b44x
Copy link

b44x commented Mar 1, 2020

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)

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

No branches or pull requests

3 participants