Add better font formats

This commit is contained in:
Özenç Bilgili 2020-05-17 16:43:35 +03:00
parent 7c0409a0fc
commit 7e1168c34f
4 changed files with 10 additions and 3 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -158,14 +158,21 @@ template {
/* fonts */ /* fonts */
--base-font-size: 18px; --base-font-size: 18px;
--font-weight-normal: 400; --font-weight-normal: 500;
--font-weight-bold: 900; --font-weight-bold: 900;
} }
@font-face { @font-face {
font-family: 'Metropolis'; font-family: 'Metropolis';
src: local('Metropolis-Bold'), url('../assets/fonts/Metropolis-Bold.otf'); src: local('Metropolis-Medium'), url('../assets/fonts/Metropolis-Medium.woff2');
font-weight: 700; font-weight: 500;
font-style: normal;
}
@font-face {
font-family: 'Metropolis';
src: local('Metropolis-Bold'), url('../assets/fonts/Metropolis-Black.woff2');
font-weight: 900;
font-style: normal; font-style: normal;
} }