Switch to Font Awesome 6 (Free)

This commit is contained in:
Daniel A. A. Pelsmaeker
2025-06-30 17:01:32 +02:00
parent e3e2b8d867
commit 71c2f3fb35
40 changed files with 33 additions and 26 deletions

View File

@@ -13,12 +13,15 @@
position: relative;
text-align: center;
font: var(--fa-font-regular);
> .label {
display: none;
}
&:before {
line-height: inherit;
content:var(--fa);
}
&.solid {
@@ -29,7 +32,7 @@
&.brands {
&:before {
font-family: 'Font Awesome 5 Brands';
font: var(--fa-font-brands);
}
}

View File

@@ -22,15 +22,13 @@
text-transform: none !important;
@if ($category == brands) {
font-family: 'Font Awesome 5 Brands';
font: var(--fa-font-brands);
}
@elseif ($category == solid) {
font-family: 'Font Awesome 5 Pro';
font-weight: 900;
font: var(--fa-font-solid);
}
@else {
font-family: 'Font Awesome 5 Pro';
font-weight: 400;
font: var(--fa-font-regular);
}
}