feat: update global font

This commit is contained in:
Devin Haska 2025-04-04 16:15:14 -07:00
parent 466183dcdc
commit 383e3e4c90
21 changed files with 120 additions and 97 deletions

View file

@ -8,17 +8,17 @@ const getFontUrl = (src) => path.join(ASSETS_FONTS_PATH, src);
const preloads = [
{
as: "font",
href: getFontUrl(fonts.display.weights.ExtraBold.path),
href: getFontUrl(fonts.display.styles.Regular.path),
crossorigin: true,
},
{
as: "font",
href: getFontUrl(fonts.display.weights.Bold.path),
href: getFontUrl(fonts.body.styles.Regular.path),
crossorigin: true,
},
{
as: "font",
href: getFontUrl(fonts.body.weights.Regular.path),
href: getFontUrl(fonts.monospace.styles.Regular.path),
crossorigin: true,
},
];