diff --git a/src/functions/_map-deep-get.scss b/src/functions/_deep-get.scss similarity index 84% rename from src/functions/_map-deep-get.scss rename to src/functions/_deep-get.scss index 3ac91a6..51c7e19 100644 --- a/src/functions/_map-deep-get.scss +++ b/src/functions/_deep-get.scss @@ -9,9 +9,9 @@ /// @return {*} - Desired value -@function map-deep-get($map, $keys...) { +@function deep-get($map, $keys...) { @each $key in $keys { - $map: map-get($map, $key); + $map: map.get($map, $key); } @if ($map) { @return $map; @@ -19,4 +19,4 @@ @warn #{'The "' + $map + '" and "' + $key + '" are not found in the $gorko-config'}; @return null; -} \ No newline at end of file +}