Skip to content

Commit

Permalink
fix: rule order
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-berlin committed Jun 26, 2022
1 parent c090379 commit 91d455e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions mixins/_element.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@
$line-color: #000,
$line-width: 2px
) {
display: flex;
align-items: center;

@if meta.type-of($line-color) != color {
@error '❌ ===> #{$line-color} is not a color.';
}
Expand All @@ -27,6 +24,10 @@
@if meta.type-of($line-width) != number {
@error '❌ ===> #{$line-width} is not a number.';
}

display: flex;
align-items: center;

@content;

&::before,
Expand Down

0 comments on commit 91d455e

Please sign in to comment.