Merge pull request #3 from rkheftan/chore/font

chore: add font to project
This commit is contained in:
SajadMRjl
2025-07-18 11:23:41 +03:30
committed by GitHub
14 changed files with 47 additions and 1 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.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,46 @@
@font-face {
font-family: iranyekan;
font-style: normal;
font-weight: bold;
src: url('./assets/fonts/eot/iranyekanwebbold.eot');
src:
url('./assets/fonts/eot/iranyekanwebbold.eot?#iefix')
format('embedded-opentype'),
/* IE6-8 */ url('./assets/fonts/woff/iranyekanwebbold.woff') format('woff'),
/* FF3.6+, IE9, Chrome6+, Saf5.1+*/
url('./assets/fonts/woff2/iranyekanwebbold.woff2') format('woff2'),
/* FF39+,Chrome36+, Opera24+*/
url('./assets/fonts/ttf/iranyekanwebbold.ttf') format('truetype');
}
@font-face {
font-family: iranyekan;
font-style: normal;
font-weight: normal;
src: url('./assets/fonts/eot/iranyekanwebregular.eot');
src:
url('./assets/fonts/eot/iranyekanwebregular.eot?#iefix')
format('embedded-opentype'),
/* IE6-8 */ url('./assets/fonts/woff/iranyekanwebregular.woff')
format('woff'),
/* FF3.6+, IE9, Chrome6+, Saf5.1+*/
url('./assets/fonts/woff2/iranyekanwebregular.woff2') format('woff2'),
/* FF39+,Chrome36+, Opera24+*/
url('./assets/fonts/ttf/iranyekanwebregular.ttf') format('truetype');
}
@font-face {
font-family: iranyekan;
font-style: normal;
font-weight: 500;
src: url('./assets/fonts/eot/iranyekanwebmedium.eot');
src:
url('./assets/fonts/eot/iranyekanwebmedium.eot?#iefix')
format('embedded-opentype'),
/* IE6-8 */ url('./assets/fonts/woff/iranyekanwebmedium.woff')
format('woff'),
/* FF3.6+, IE9, Chrome6+, Saf5.1+*/
url('./assets/fonts/woff2/iranyekanwebmedium.woff2') format('woff2'),
/* FF39+,Chrome36+, Opera24+*/
url('./assets/fonts/ttf/iranyekanwebmedium.ttf') format('truetype');
}

View File

@@ -1,6 +1,6 @@
// No need for a function, just a static object
export const typography = {
fontFamily: ['Roboto', 'sans-serif'].join(','),
fontFamily: ['iranyekan', 'sans-serif'].join(','),
fontWeightRegular: 400,
fontWeightMedium: 500,
fontWeightBold: 700,