mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 03:44:29 +03:00
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:
parent
c63b0e1a1a
commit
3ab851e3aa
@ -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";
|
||||
}
|
||||
|
||||
|
||||
|
BIN
ghost/admin/public/assets/fonts/Inter-italic.var.woff2
Normal file
BIN
ghost/admin/public/assets/fonts/Inter-italic.var.woff2
Normal file
Binary file not shown.
BIN
ghost/admin/public/assets/fonts/Inter-roman.var.woff2
Normal file
BIN
ghost/admin/public/assets/fonts/Inter-roman.var.woff2
Normal file
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user