diff options
Diffstat (limited to 'scss/_functions.scss')
| -rw-r--r-- | scss/_functions.scss | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/scss/_functions.scss b/scss/_functions.scss index 870f36790..f8e43702d 100644 --- a/scss/_functions.scss +++ b/scss/_functions.scss @@ -55,6 +55,16 @@ @return $result; } +// Merge multiple maps +@function map-merge-multiple($maps...) { + $merged-maps: (); + + @each $map in $maps { + $merged-maps: map-merge($merged-maps, $map); + } + @return $merged-maps; +} + // Replace `$search` with `$replace` in `$string` // Used on our SVG icon backgrounds for custom forms. // |
