Skip to content

Commit

Permalink
Update _process-collection.scss
Browse files Browse the repository at this point in the history
  • Loading branch information
woodcox authored Apr 15, 2024
1 parent 012d588 commit c5aea3a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/generator/workers/_process-collection.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@
@if type-of($collection) == 'list' {
// Process each item in the list
@debug 'collection:' $collection;

$items: map-get($collection, 'items');
$output: map-get($collection, 'output');
$property: map-get($collection, 'property');
$use-css-vars: map-get($collection, 'css-vars');

$converted-map: (); // Initialize an empty map
@for $i from 1 through length($collection) { // Iterate through the list
$key: nth-or-null($collection, $i); // Get the key
Expand Down

0 comments on commit c5aea3a

Please sign in to comment.