Files
mastodon/app/javascript/styles/fonts/inter.scss
2026-08-28 12:24:55 +00:00

36 lines
863 B
SCSS

// Regular
@font-face {
font-family: Inter;
src: url('../../fonts/inter/inter-regular.woff2') format('woff2');
font-weight: 400;
font-style: normal;
font-display: swap;
}
// Italic
@font-face {
font-family: Inter;
src: url('../../fonts/inter/inter-italic.woff2') format('woff2');
font-weight: 400;
font-style: italic;
font-display: swap;
}
// Medium (native 500, mapped to 700 so that `font-weight: bold` uses it)
@font-face {
font-family: Inter;
src: url('../../fonts/inter/inter-medium.woff2') format('woff2');
font-weight: 700;
font-style: normal;
font-display: swap;
}
// Medium Italic (native 500, mapped to 700 so that `font-weight: bold` uses it)
@font-face {
font-family: Inter;
src: url('../../fonts/inter/inter-medium-italic.woff2') format('woff2');
font-weight: 700;
font-style: italic;
font-display: swap;
}