[DESIGN] Add Inter font italic

This commit is contained in:
Elisabeth Dickinson 2021-03-03 16:48:48 +01:00
parent 234a70b83b
commit e16eea1862
3 changed files with 15 additions and 3 deletions

View File

@ -20,9 +20,21 @@
}
@font-face {
font-family: Inter;
src: url('fonts/Inter-VariableFont_slnt,wght.ttf') format("truetype-variations");
font-weight: 1 999;
font-family: 'Inter';
font-weight: 100 900;
font-display: swap;
font-style: normal;
font-named-instance: 'Regular';
src: url("Inter-roman.var.woff2?v=3.15") format("woff2");
}
@font-face {
font-family: 'Inter';
font-weight: 100 900;
font-display: swap;
font-style: italic;
font-named-instance: 'Italic';
src: url("Inter-italic.var.woff2?v=3.15") format("woff2");
}
//------------------------------------------------------------------------------