aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2024-10-19 10:05:30 +0200
committerVolpeon <git@volpeon.ink>2024-10-19 10:05:30 +0200
commitade498d69a72234219b955a5ace3e135e1484afd (patch)
tree3fc9a453086c86dcedc9e0b52135d7779d0b4486 /src
parentFix (diff)
downloadiro-sass-ade498d69a72234219b955a5ace3e135e1484afd.tar.gz
iro-sass-ade498d69a72234219b955a5ace3e135e1484afd.tar.bz2
iro-sass-ade498d69a72234219b955a5ace3e135e1484afd.zip
Fix
Diffstat (limited to 'src')
-rw-r--r--src/_props.scss6
1 files changed, 3 insertions, 3 deletions
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 @@
87 } 87 }
88} 88}
89 89
90@mixin materialize($ref, $match-meta: null) { 90@mixin materialize($ref, $match-meta: nil) {
91 @if is-prop-ref($ref) { 91 @if is-prop-ref($ref) {
92 $name: list.nth($ref, 2); 92 $name: list.nth($ref, 2);
93 $value: get(list.nth($ref, 3)); 93 $value: get(list.nth($ref, 3));
94 $meta: get(list.nth($ref, 4)); 94 $meta: get(list.nth($ref, 4));
95 95
96 @if $meta == $match-meta { 96 @if $match-meta != nil and $meta == $match-meta {
97 @include materialize-helper($name, $value); 97 @include materialize-helper($name, $value);
98 } 98 }
99 } @else if meta.type-of($ref) == 'list' { 99 } @else if meta.type-of($ref) == 'list' {
@@ -103,7 +103,7 @@
103 $value: get(list.nth($r, 3)); 103 $value: get(list.nth($r, 3));
104 $meta: get(list.nth($r, 4)); 104 $meta: get(list.nth($r, 4));
105 105
106 @if $meta == $match-meta { 106 @if $match-meta != nil and $meta == $match-meta {
107 @include materialize-helper($name, $value); 107 @include materialize-helper($name, $value);
108 } 108 }
109 } 109 }