From ade498d69a72234219b955a5ace3e135e1484afd Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 19 Oct 2024 10:05:30 +0200 Subject: Fix --- src/_props.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/_props.scss b/src/_props.scss index 0bca5a3..66a1d85 100644 --- a/src/_props.scss +++ b/src/_props.scss @@ -87,13 +87,13 @@ } } -@mixin materialize($ref, $match-meta: null) { +@mixin materialize($ref, $match-meta: nil) { @if is-prop-ref($ref) { $name: list.nth($ref, 2); $value: get(list.nth($ref, 3)); $meta: get(list.nth($ref, 4)); - @if $meta == $match-meta { + @if $match-meta != nil and $meta == $match-meta { @include materialize-helper($name, $value); } } @else if meta.type-of($ref) == 'list' { @@ -103,7 +103,7 @@ $value: get(list.nth($r, 3)); $meta: get(list.nth($r, 4)); - @if $meta == $match-meta { + @if $match-meta != nil and $meta == $match-meta { @include materialize-helper($name, $value); } } -- cgit v1.2.3-70-g09d2