mirror of
https://github.com/mastodon/mastodon.git
synced 2026-07-28 15:47:25 -05:00
36 lines
871 B
SCSS
36 lines
871 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;
|
|
}
|
|
|
|
// SemiBold (native 600, mapped to 700 so that `font-weight: bold` uses it)
|
|
@font-face {
|
|
font-family: Inter;
|
|
src: url('../../fonts/inter/inter-semibold.woff2') format('woff2');
|
|
font-weight: 700;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
// SemiBold Italic (native 600, mapped to 700 so that `font-weight: bold` uses it)
|
|
@font-face {
|
|
font-family: Inter;
|
|
src: url('../../fonts/inter/inter-semibold-italic.woff2') format('woff2');
|
|
font-weight: 700;
|
|
font-style: italic;
|
|
font-display: swap;
|
|
}
|