upgrade fontawesome to v6.5.1 (#351)

This commit is contained in:
Mike Sawka 2024-02-27 19:58:03 -08:00 committed by GitHub
parent 98385b1e0d
commit 3fa6494493
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
11 changed files with 8 additions and 14 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,5 @@
/*!
* Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com
* Font Awesome Pro 6.5.1 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Commercial License)
* Copyright 2023 Fonticons, Inc.
*/

View File

@ -1,5 +1,5 @@
/*!
* Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com
* Font Awesome Pro 6.5.1 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Commercial License)
* Copyright 2023 Fonticons, Inc.
*/

View File

@ -1,5 +1,5 @@
/*!
* Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com
* Font Awesome Pro 6.5.1 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Commercial License)
* Copyright 2023 Fonticons, Inc.
*/

View File

@ -91,17 +91,11 @@ function loadBaseFonts() {
return;
}
isBaseFontsLoaded = true;
let faFont = new FontFace("FontAwesome", "url(public/fonts/fontawesome-webfont-4.7.woff2)", {
style: "normal",
weight: "normal",
});
let mmFont = new FontFace("Martian Mono", "url(public/fonts/MartianMono-VariableFont_wdth,wght.ttf)", {
style: "normal",
weight: "normal",
});
addToFontFaceSet(document.fonts, faFont);
addToFontFaceSet(document.fonts, mmFont);
faFont.load();
mmFont.load();
}