Merge pull request #64 from Virtlink/fontawesome-6

Switch to Font Awesome 6 (Free)
This commit is contained in:
⚔️ DR ⚔️
2025-11-01 12:50:58 -04:00
committed by GitHub
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);
}
}