@guardian/threads
Version:
75 lines (62 loc) • 1.65 kB
CSS
/*
Modified variation of inter.css found at: https://github.com/rsms/inter/
Currently we support:
font-weight: 300, 400, 500, 600, 800, 900
Only include italic at 400
*/
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 300;
src: url('fonts/Inter-Light.woff2') format('woff2'),
url('fonts/Inter-Light.woff') format('woff');
}
@font-face {
font-family: 'Inter';
font-style: normal;
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-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-weight: 500;
src: url('fonts/Inter-Medium.woff2') format('woff2'),
url('fonts/Inter-Medium.woff') format('woff');
}
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 600;
src: url('fonts/Inter-SemiBold.woff2') format('woff2'),
url('fonts/Inter-SemiBold.woff') format('woff');
}
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 700;
src: url('fonts/Inter-Bold.woff2') format('woff2'),
url('fonts/Inter-Bold.woff') format('woff');
}
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 800;
src: url('fonts/Inter-ExtraBold.woff2') format('woff2'),
url('fonts/Inter-ExtraBold.woff') format('woff');
}
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 900;
src: url('fonts/Inter-Black.woff2') format('woff2'),
url('fonts/Inter-Black.woff') format('woff');
}