Add Inter font style

This commit is contained in:
jeffvli 2023-07-18 17:38:41 -07:00
parent 179129b7cb
commit b8dfbf9d49
5 changed files with 13 additions and 1 deletions

View file

@ -26,3 +26,8 @@ export const fontEpilogue = (weight?: number) => css`
font-weight: ${weight || 400};
font-family: Epilogue, sans-serif;
`;
export const fontRoboto = (weight?: number) => css`
font-weight: ${weight || 400};
font-family: Roboto, sans-serif;
`;

View file

@ -142,6 +142,12 @@ button {
font-weight: 100 1000;
}
@font-face {
font-family: 'Inter';
src: url('../fonts/Inter-VariableFont_slnt,wght.ttf') format('truetype-variations');
font-weight: 100 1000;
}
@font-face {
font-family: 'Sora';
src: url('../fonts/Sora-VariableFont_wght.ttf') format('truetype-variations');