chore(fonts.css): font cleanup + optimization

This commit is contained in:
Cory Dransfeldt 2025-05-18 14:02:07 -07:00
parent 0e565970a5
commit 3a0649ee9c
No known key found for this signature in database
12 changed files with 27 additions and 10 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -8,16 +8,32 @@
@font-face {
font-family: "DM Sans";
src: url("/assets/fonts/dm.woff2") format("woff2");
font-weight: 100 700;
src: url("/assets/fonts/dm-regular.woff2") format("woff2");
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "DM Sans";
src: url("/assets/fonts/dmi.woff2") format("woff2");
font-weight: 100 700;
src: url("/assets/fonts/dm-bold.woff2") format("woff2");
font-weight: 700;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "DM Sans";
src: url("/assets/fonts/dm-regular-italic.woff2") format("woff2");
font-weight: 400;
font-style: italic;
font-display: optional;
}
@font-face {
font-family: "DM Sans";
src: url("/assets/fonts/dm-bold-italic.woff2") format("woff2");
font-weight: 700;
font-style: italic;
font-display: optional;
}

View file

@ -3,9 +3,8 @@
<head>
<meta charset="utf-8" />
<link rel="preload" href="/assets/fonts/sg.woff2" as="font" type="font/woff2" crossorigin="anonymous" />
<link rel="preload" href="/assets/fonts/dm.woff2" as="font" type="font/woff2" crossorigin="anonymous" />
<link rel="preload" href="/assets/fonts/dmi.woff2" as="font" type="font/woff2" crossorigin="anonymous" />
<link rel="preload" href="/assets/fonts/ml.woff2" as="font" type="font/woff2" crossorigin="anonymous" />
<link rel="preload" href="/assets/fonts/dm-regular.woff2" as="font" type="font/woff2" crossorigin="anonymous" />
<link rel="preload" href="/assets/fonts/dm-bold.woff2" as="font" type="font/woff2" crossorigin="anonymous" />
<noscript>
<link rel="stylesheet" href="/assets/styles/noscript.css?v={% appVersion %}" type="text/css" />
</noscript>