diff options
author | Volpeon <git@volpeon.ink> | 2024-10-19 10:02:12 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2024-10-19 10:02:12 +0200 |
commit | 0b08875305e2255eac6f4a755cee524bbd7bbde4 (patch) | |
tree | 36de933e9a21336685f3a3567b4f8a51beb7cff6 /src | |
parent | Fix (diff) | |
download | iro-sass-0b08875305e2255eac6f4a755cee524bbd7bbde4.tar.gz iro-sass-0b08875305e2255eac6f4a755cee524bbd7bbde4.tar.bz2 iro-sass-0b08875305e2255eac6f4a755cee524bbd7bbde4.zip |
Non-recursive prop materialization
Diffstat (limited to 'src')
-rw-r--r-- | src/_props.scss | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/_props.scss b/src/_props.scss index c61fd6b..5099ab2 100644 --- a/src/_props.scss +++ b/src/_props.scss | |||
@@ -98,7 +98,13 @@ | |||
98 | } | 98 | } |
99 | } @else if meta.type-of($ref) == 'list' { | 99 | } @else if meta.type-of($ref) == 'list' { |
100 | @each $r in $ref { | 100 | @each $r in $ref { |
101 | @include materialize($r, $match-meta); | 101 | $name: list.nth($r, 2); |
102 | $value: get(list.nth($r, 3)); | ||
103 | $meta: get(list.nth($r, 4)); | ||
104 | |||
105 | @if $meta == $match-meta { | ||
106 | @include materialize-helper($name, $value); | ||
107 | } | ||
102 | } | 108 | } |
103 | } | 109 | } |
104 | } | 110 | } |