Optimized Inter in the Admin

closes https://github.com/TryGhost/Team/issues/3257

- replaces the TTF with WOFF2 which is more compressed version
- adds a font file for italic style specifically so that the italic text is rendered consistently across different browsers
This commit is contained in:
Sodbileg Gansukh 2023-06-01 11:56:14 +08:00
parent c63b0e1a1a
commit 3ab851e3aa
4 changed files with 10 additions and 1 deletions

View File

@ -5,8 +5,17 @@
/* ---------------------------------------------------------- */
@font-face {
font-family: "Inter";
src: url("fonts/Inter.ttf") format("truetype-variations");
src: url("fonts/Inter-roman.var.woff2") format("woff2");
font-weight: 100 900;
font-style: normal;
font-named-instance: "Regular";
}
@font-face {
font-family: "Inter";
src: url("fonts/Inter-italic.var.woff2") format("woff2");
font-weight: 100 900;
font-style: italic;
font-named-instance: "Italic";
}

Binary file not shown.

Binary file not shown.