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 c5aea3a commit 51f27dd
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions src/generator/workers/_process-collection.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,15 @@
// 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');
@each $item in $collection {
// Extract values from the current collection
$items: map.get($item, "items");
$output: map.get($item, "output");
$property: map.get($item, "property");
$css-vars: map.get($item, "css-vars");

@debug "Items: #{$items}, Output: #{$output}, Property: #{$property}, CSS Vars: #{$css-vars}";
}

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

0 comments on commit 51f27dd

Please sign in to comment.