diff options
-rw-r--r-- | src/_props.scss | 14 |
1 files changed, 8 insertions, 6 deletions
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 @@ | |||
98 | } | 98 | } |
99 | } @else if meta.type-of($ref) == 'list' { | 99 | } @else if meta.type-of($ref) == 'list' { |
100 | @each $r in $ref { | 100 | @each $r in $ref { |
101 | $name: list.nth($r, 2); | 101 | @if is-prop-ref($r) { |
102 | $value: get(list.nth($r, 3)); | 102 | $name: list.nth($r, 2); |
103 | $meta: get(list.nth($r, 4)); | 103 | $value: get(list.nth($r, 3)); |
104 | 104 | $meta: get(list.nth($r, 4)); | |
105 | @if $meta == $match-meta { | 105 | |
106 | @include materialize-helper($name, $value); | 106 | @if $meta == $match-meta { |
107 | @include materialize-helper($name, $value); | ||
108 | } | ||
107 | } | 109 | } |
108 | } | 110 | } |
109 | } | 111 | } |