
The Inter font has evolved significantly since the Inter UI days, and has been renamed to merely "Inter". Update the font and family name to get the latest bug fixes and improvements. Fonts downloaded from https://github.com/rsms/inter/releases/tag/v3.19.
50 lines
1.3 KiB
SCSS
50 lines
1.3 KiB
SCSS
@font-face {
|
|
font-family: 'Inter';
|
|
font-style: normal;
|
|
font-display: auto;
|
|
font-weight: 400;
|
|
src: url("../fonts/Inter-Regular.woff2") format("woff2"),
|
|
url("../fonts/Inter-Regular.woff") format("woff");
|
|
}
|
|
@font-face {
|
|
font-family: 'Inter';
|
|
font-style: italic;
|
|
font-display: auto;
|
|
font-weight: 400;
|
|
src: url("../fonts/Inter-Italic.woff2") format("woff2"),
|
|
url("../fonts/Inter-Italic.woff") format("woff");
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Inter';
|
|
font-style: normal;
|
|
font-display: auto;
|
|
font-weight: 600;
|
|
src: url("../fonts/Inter-Medium.woff2") format("woff2"),
|
|
url("../fonts/Inter-Medium.woff") format("woff");
|
|
}
|
|
@font-face {
|
|
font-family: 'Inter';
|
|
font-style: italic;
|
|
font-display: auto;
|
|
font-weight: 600;
|
|
src: url("../fonts/Inter-MediumItalic.woff2") format("woff2"),
|
|
url("../fonts/Inter-MediumItalic.woff") format("woff");
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Inter';
|
|
font-style: normal;
|
|
font-display: auto;
|
|
font-weight: 800;
|
|
src: url("../fonts/Inter-Bold.woff2") format("woff2"),
|
|
url("../fonts/Inter-Bold.woff") format("woff");
|
|
}
|
|
@font-face {
|
|
font-family: 'Inter';
|
|
font-style: italic;
|
|
font-display: auto;
|
|
font-weight: 800;
|
|
src: url("../fonts/Inter-BoldItalic.woff2") format("woff2"),
|
|
url("../fonts/Inter-BoldItalic.woff") format("woff");
|
|
}
|