From 9ec82004d8b989a3d1baae050d0df06b94c1c479 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 19 Oct 2024 10:03:03 +0200 Subject: Fix --- src/_props.scss | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/_props.scss b/src/_props.scss index 5099ab2..0bca5a3 100644 --- a/src/_props.scss +++ b/src/_props.scss @@ -98,12 +98,14 @@ } } @else if meta.type-of($ref) == 'list' { @each $r in $ref { - $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); + @if is-prop-ref($r) { + $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