diff options
author | Volpeon <git@volpeon.ink> | 2024-10-25 19:59:10 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2024-10-25 19:59:10 +0200 |
commit | 54681629bf7d3d317df52f4327e0169925338bd5 (patch) | |
tree | 4ccff15226c534300cbb46d5ca86d46c5680fe76 /src/_props.scss | |
parent | Use list for prop metadata (diff) | |
download | iro-sass-54681629bf7d3d317df52f4327e0169925338bd5.tar.gz iro-sass-54681629bf7d3d317df52f4327e0169925338bd5.tar.bz2 iro-sass-54681629bf7d3d317df52f4327e0169925338bd5.zip |
Fix
Diffstat (limited to 'src/_props.scss')
-rw-r--r-- | src/_props.scss | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/_props.scss b/src/_props.scss index 42f866e..523e5b1 100644 --- a/src/_props.scss +++ b/src/_props.scss | |||
@@ -92,13 +92,13 @@ | |||
92 | } | 92 | } |
93 | } | 93 | } |
94 | 94 | ||
95 | @mixin materialize($ref, $match-meta: null) { | 95 | @mixin materialize($ref, $match-meta: nil) { |
96 | @if is-prop-ref($ref) { | 96 | @if is-prop-ref($ref) { |
97 | $name: list.nth($ref, 2); | 97 | $name: list.nth($ref, 2); |
98 | $value: get(list.nth($ref, 3)); | 98 | $value: get(list.nth($ref, 3)); |
99 | $meta: get(list.nth($ref, 4)); | 99 | $meta: get(list.nth($ref, 4)); |
100 | 100 | ||
101 | @if $match-meta == null or list.index($meta, $match-meta) != null { | 101 | @if $match-meta == nil or list.index($meta, $match-meta) != null { |
102 | @include materialize-helper($name, $value); | 102 | @include materialize-helper($name, $value); |
103 | } | 103 | } |
104 | } @else if meta.type-of($ref) == 'list' { | 104 | } @else if meta.type-of($ref) == 'list' { |
@@ -108,7 +108,7 @@ | |||
108 | $value: get(list.nth($r, 3)); | 108 | $value: get(list.nth($r, 3)); |
109 | $meta: get(list.nth($r, 4)); | 109 | $meta: get(list.nth($r, 4)); |
110 | 110 | ||
111 | @if $match-meta == null or list.index($meta, $match-meta) != null { | 111 | @if $match-meta == nil or list.index($meta, $match-meta) != null { |
112 | @include materialize-helper($name, $value); | 112 | @include materialize-helper($name, $value); |
113 | } | 113 | } |
114 | } | 114 | } |