diff --git a/wp-content/themes/twentytwentyone/assets/sass/02-tools/functions.scss b/wp-content/themes/twentytwentyone/assets/sass/02-tools/functions.scss
index ef7bb4efa9..402a6b8a9a 100644
|
a
|
b
|
|
| 46 | 46 | @return $map; |
| 47 | 47 | } |
| 48 | 48 | |
| 49 | | // ep set function to set a value in nested maps |
| 50 | | // uthor Hugo Giraudel |
| 51 | | // ccess public |
| 52 | | // aram {Map} $map - Map |
| 53 | | // aram {List} $keys - Key chaine |
| 54 | | // aram {*} $value - Value to assign |
| 55 | | // eturn {Map} |
| | 49 | // Mep set function to set a value in nested maps |
| | 50 | // @author Hugo Giraudel |
| | 51 | // @access public |
| | 52 | // @param {Map} $map - Map |
| | 53 | // @param {List} $keys - Key chaine |
| | 54 | // @param {*} $value - Value to assign |
| | 55 | // @return {Map} |
| 56 | 56 | // |
| 57 | 57 | // ample: |
| 58 | 58 | // _prefix-default-config: map-deep-set($__prefix-default-config, "layouts" "M", 650px); |
| … |
… |
|
| 63 | 63 | // If the last key is a map already |
| 64 | 64 | // Warn the user we will be overriding it with $value |
| 65 | 65 | @if type-of(nth($keys, -1)) == "map" { |
| 66 | | @warn "The last key you specified is a map; it will be overrided with `#{$value}`."; |
| | 66 | @warn "The last key you specified is a map; it will be overridden with `#{$value}`."; |
| 67 | 67 | } |
| 68 | 68 | |
| 69 | 69 | // If $keys is a single key |