Skip to content

Commit

Permalink
fix: issue with stylelint
Browse files Browse the repository at this point in the history
  • Loading branch information
nmerget committed Jul 15, 2024
1 parent eff1df0 commit b432cd3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/foundations/scss/icons/_icon-helpers.scss
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ $default-icon-font-size: var(--db-icon-font-size, #{$default-icon-size-rem});
&::before {
--db-icon-margin-end: 0;
}
/* stylelint-disable-next-line at-rule-empty-line-before */
} @else {
&::after {
--db-icon-margin-start: 0;
Expand All @@ -109,10 +110,13 @@ $default-icon-font-size: var(--db-icon-font-size, #{$default-icon-size-rem});
&::before {
@if ($variant == "critical") {
--db-icon: "exclamation_mark_circle";
/* stylelint-disable-next-line at-rule-empty-line-before */
} @else if ($variant == "informational" or $variant == "neutral") {
--db-icon: "information_circle";
/* stylelint-disable-next-line at-rule-empty-line-before */
} @else if ($variant == "warning") {
--db-icon: "warning_triangle";
/* stylelint-disable-next-line at-rule-empty-line-before */
} @else if ($variant == "successful") {
--db-icon: "check_circle";
}
Expand Down

0 comments on commit b432cd3

Please sign in to comment.