mirror of
https://github.com/mastodon/mastodon.git
synced 2026-09-12 22:28:05 -05:00
36 lines
863 B
SCSS
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;
|
|
}
|