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:
Javi Martín
2020-09-10 21:27:22 +02:00
parent 9920d81424
commit 74e819e4e7
3 changed files with 4 additions and 4 deletions

View File

@@ -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,

View File

@@ -1060,7 +1060,7 @@
}
.comments-count {
@include has-fa-icon(comments, r);
@include has-fa-icon(comments, regular);
}
.question-title:not(:only-child) {

View File

@@ -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;