update fonts and add more wieghts

This commit is contained in:
Abhinav 2022-05-20 15:23:01 +05:30
parent 187713febd
commit a5950322bf
10 changed files with 28 additions and 7 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -1,27 +1,45 @@
/* Inter-regular - latin */
/* inter-regular - latin */
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 400;
src: local(''),
url('/fonts/Inter-Regular.ttf') format('truetype');
url('/fonts/inter-v11-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('/fonts/inter-v11-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* Inter-700 - latin */
@font-face {
/* inter-700 - latin */
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 700;
src: local(''),
url('/fonts/Inter-Bold.ttf') format('truetype');
}
url('/fonts/inter-v11-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('/fonts/inter-v11-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* inter-900 - latin */
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 900;
src: local(''),
url('/fonts/inter-v11-latin-900.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('/fonts/inter-v11-latin-900.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
html, body {
height: 100%;
flex: 1;
display: flex;
flex-direction: column;
font-family:Inter, Arial, sans-serif;
font-family:'Inter', sans-serif;
letter-spacing: -0.011em;
}
strong {
font-weight: 900;
}
#__next {

View file

@ -115,6 +115,9 @@ const darkThemeOptions = createTheme({
shape: {
borderRadius: 8,
},
typography: {
fontFamily: ['Inter', 'sans-serif'].join(','),
},
});
export default darkThemeOptions;