Skip to content

Commit

Permalink
refactor: simplify code
Browse files Browse the repository at this point in the history
  • Loading branch information
cotes2020 committed Jul 3, 2024
1 parent 5fcac78 commit 2470313
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 2 additions & 2 deletions _sass/addon/commons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ blockquote {
}
}

@include prompt('tip', '\f0eb', 'regular');
@include prompt('info', '\f06a', null, 180);
@include prompt('tip', '\f0eb', $fa-style: 'regular');
@include prompt('info', '\f06a', $rotate: 180);
@include prompt('warning', '\f06a');
@include prompt('danger', '\f071');
}
Expand Down
5 changes: 0 additions & 5 deletions _sass/addon/module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -194,11 +194,6 @@
&::before {
content: $fa-content;
color: var(--prompt-#{$type}-icon-color);

@if not $fa-style {
$fa-style: 'solid';
}

font: var(--fa-font-#{$fa-style});

@if $rotate != 0 {
Expand Down

0 comments on commit 2470313

Please sign in to comment.