Skip to content

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

Description

@RTJ

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 ??

Activity

  1. djibe commented on Feb 12, 2020

    @djibe

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

  2. b44x commented on Mar 1, 2020

    @b44x

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions