diff options
Diffstat (limited to 'src/_props.scss')
| -rw-r--r-- | src/_props.scss | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/_props.scss b/src/_props.scss index 7377c88..86530f7 100644 --- a/src/_props.scss +++ b/src/_props.scss | |||
| @@ -208,11 +208,15 @@ $iro-props-trees: (); | |||
| 208 | /// @param {string} $tree [$iro-props-default-tree] - ID of the property tree to use | 208 | /// @param {string} $tree [$iro-props-default-tree] - ID of the property tree to use |
| 209 | /// @param {string} $root [()] - Sub-tree to use for assignment | 209 | /// @param {string} $root [()] - Sub-tree to use for assignment |
| 210 | /// | 210 | /// |
| 211 | @mixin iro-props-assign-native($tree: $iro-props-default-tree, $root: (), $skip: ()) { | 211 | @mixin iro-props-assign-native($tree: $iro-props-default-tree, $root: (), $skip: (), $prefix: '') { |
| 212 | $map: iro-props-get($root, $tree); | 212 | $map: iro-props-get($root, $tree); |
| 213 | $map: map-remove($map, $skip...); | 213 | $map: map-remove($map, $skip...); |
| 214 | 214 | ||
| 215 | @include iro-props-assign-native-internal($map); | 215 | @if type-of($prefix) == list { |
| 216 | $prefix: iro-str-implode($prefix) | ||
| 217 | } | ||
| 218 | |||
| 219 | @include iro-props-assign-native-internal($map, $prefix); | ||
| 216 | } | 220 | } |
| 217 | 221 | ||
| 218 | /// | 222 | /// |
