Use "regular" instead of "r" as parameter
Even if "r" is shorter, "regular" is easier to understand, and we're going to store these icons in a folder named "regular", which is the convention Font Awesome uses.
This commit is contained in:
@@ -2113,12 +2113,12 @@ table {
|
||||
|
||||
.responses-count {
|
||||
.show-children {
|
||||
@include has-fa-icon(plus-square, r);
|
||||
@include has-fa-icon(plus-square, regular);
|
||||
display: none;
|
||||
}
|
||||
|
||||
.collapse-children {
|
||||
@include has-fa-icon(minus-square, r);
|
||||
@include has-fa-icon(minus-square, regular);
|
||||
}
|
||||
|
||||
.show-children::before,
|
||||
|
||||
@@ -1060,7 +1060,7 @@
|
||||
}
|
||||
|
||||
.comments-count {
|
||||
@include has-fa-icon(comments, r);
|
||||
@include has-fa-icon(comments, regular);
|
||||
}
|
||||
|
||||
.question-title:not(:only-child) {
|
||||
|
||||
@@ -150,7 +150,7 @@
|
||||
@extend %fa-icon;
|
||||
font-family: "Font Awesome 5 Free";
|
||||
|
||||
@if $style == "r" {
|
||||
@if $style == "regular" {
|
||||
font-weight: normal;
|
||||
} @else {
|
||||
font-weight: bold;
|
||||
|
||||
Reference in New Issue
Block a user