From 0b08875305e2255eac6f4a755cee524bbd7bbde4 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 19 Oct 2024 10:02:12 +0200 Subject: Non-recursive prop materialization --- src/_props.scss | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 @@ } } @else if meta.type-of($ref) == 'list' { @each $r in $ref { - @include materialize($r, $match-meta); + $name: list.nth($r, 2); + $value: get(list.nth($r, 3)); + $meta: get(list.nth($r, 4)); + + @if $meta == $match-meta { + @include materialize-helper($name, $value); + } } } } -- cgit v1.2.3-70-g09d2