Skip to content

Commit

Permalink
fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alizedebray committed Oct 8, 2024
1 parent 1f3d132 commit 5cb42a8
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions packages/styles/tests/utilities/mixins.test.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,23 @@
@use 'tests/jest';
@use 'src/utilities/mixins';


.test {
@include mixins.generate-utilities('font-weight', '400', 'fw', 'normal');
@include mixins.generate-utilities('font-size', '1.5rem', 'fs', 'large', 'sm');
@include mixins.generate-responsive-utilities('row-gap', '48px', 'rg', '48');
@include mixins.generate-utilities(
$group: 'font-weight',
$tokens: (
post-utility-font-weight-normal: 400,
),
$properties: font-weight,
$prefix: 'fw'
);

@include mixins.generate-utilities(
$group: 'gutter',
$tokens: (
post-utility-gutter-12: 12px,
),
$properties: (--gutter-x, --gutter-y),
$prefix: 'g',
$infix: '-lg'
);
}

0 comments on commit 5cb42a8

Please sign in to comment.