Skip to content

Commit

Permalink
fix(property.variant()): fix passing $dictionary argument by adding…
Browse files Browse the repository at this point in the history
… map `(dictionary: $dictionary)`.
  • Loading branch information
sciborrudnicki committed Aug 30, 2023
1 parent bdb6a81 commit df48216
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions property/_property.variant.mixin.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
$type-function,
$functions,
$execute,
$dictionary
(dictionary: $dictionary)
);
}
} @else {
Expand All @@ -68,7 +68,7 @@
$type-function,
$functions,
$execute,
$dictionary
(dictionary: $dictionary)
);
}
}
Expand Down
10 changes: 10 additions & 0 deletions property/_property.variant.mixin.spec.scss
Original file line number Diff line number Diff line change
Expand Up @@ -516,3 +516,13 @@ property.$type-function: map.merge(property.$type-function, (list: --var-get));
// .scroll-padding-block-end-10 {
// scroll-padding-block-end: 10%;
// }

// dictionary
// @include property.variant(
// (z-index: (aaa: (primary dark) a)),
// true,
// (),
// (class: (primary: p), var: (primary: n)),
// $type-function: (list: --var-get),
// $functions: (var: (get: meta.get-function(get, false, var))),
// );

0 comments on commit df48216

Please sign in to comment.