Skip to content

Commit

Permalink
fix(layout): create mixin (#14336)
Browse files Browse the repository at this point in the history
  • Loading branch information
ariellalgilmore committed Jul 27, 2023
1 parent a49b4b2 commit 1b83b44
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/styles/scss/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ $layout-tokens: (
),
);

:root {
@mixin emit-layout-tokens {
@each $group, $properties in $layout-tokens {
@each $property, $steps in $properties {
@each $step, $value in $steps {
Expand Down Expand Up @@ -102,3 +102,7 @@ $layout-tokens: (
}
}
}

:root {
@include emit-layout-tokens();
}

0 comments on commit 1b83b44

Please sign in to comment.