Archived
2
0

npm upgrade + bump fontawesome version.

This commit is contained in:
Miroslav Šedivý
2022-05-14 18:13:56 +02:00
parent 072d294468
commit c497b7325f
5 changed files with 21 additions and 21 deletions

View File

@ -2,7 +2,7 @@
@use "sass:math";
$fa-font-path: "~@fortawesome/fontawesome-free/webfonts";
$fa-font-path: "~@fortawesome/fontawesome-free/webfonts";
$fa-font-size-base: 16px;
$fa-font-display: auto;
$fa-css-prefix: fa;
@ -13,7 +13,7 @@ $fa-fw-width: math.div(20em, 16);
$fa-primary-opacity: 1;
$fa-secondary-opacity: .4;
$fa-family-default: 'Font Awesome 5 Free';
$fa-family-default: 'Font Awesome 6 Free';
// Import FA source files
@import "~@fortawesome/fontawesome-free/scss/brands";

View File

@ -212,7 +212,7 @@
&:before {
color: $background-tertiary;
font-weight: 900;
font-family: 'Font Awesome 5 Free';
font-family: 'Font Awesome 6 Free';
content: '\f3c1';
font-size: 8px;
line-height: 18px;

View File

@ -90,7 +90,7 @@
&::before {
content: '\f002';
font-weight: 900;
font-family: 'Font Awesome 5 Free';
font-family: 'Font Awesome 6 Free';
position: absolute;
width: 15px;
height: 15px;

View File

@ -77,7 +77,7 @@
&.self {
&::before {
font-family: 'Font Awesome 5 Free';
font-family: 'Font Awesome 6 Free';
font-weight: 900;
content: '\f2bd';
background: $background-floating;
@ -97,7 +97,7 @@
&.admin {
&::before {
display: block;
font-family: 'Font Awesome 5 Free';
font-family: 'Font Awesome 6 Free';
font-weight: 900;
content: '\f3ed';
color: $style-primary;
@ -114,7 +114,7 @@
&.host::after {
display: block;
font-family: 'Font Awesome 5 Free';
font-family: 'Font Awesome 6 Free';
font-weight: 900;
content: '\f521';
background: $style-primary;