chore(fonts.css): font cleanup + optimization
This commit is contained in:
parent
0e565970a5
commit
3a0649ee9c
12 changed files with 27 additions and 10 deletions
BIN
src/assets/fonts/dm-bold-italic.woff2
Normal file
BIN
src/assets/fonts/dm-bold-italic.woff2
Normal file
Binary file not shown.
BIN
src/assets/fonts/dm-bold.woff2
Normal file
BIN
src/assets/fonts/dm-bold.woff2
Normal file
Binary file not shown.
BIN
src/assets/fonts/dm-regular-italic.woff2
Normal file
BIN
src/assets/fonts/dm-regular-italic.woff2
Normal file
Binary file not shown.
BIN
src/assets/fonts/dm-regular.woff2
Normal file
BIN
src/assets/fonts/dm-regular.woff2
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue