Merge pull request #3 from rkheftan/chore/font
chore: add font to project
This commit is contained in:
BIN
src/assets/fonts/eot/IRANYekanWebBold.eot
Normal file
BIN
src/assets/fonts/eot/IRANYekanWebBold.eot
Normal file
Binary file not shown.
BIN
src/assets/fonts/eot/IRANYekanWebMedium.eot
Normal file
BIN
src/assets/fonts/eot/IRANYekanWebMedium.eot
Normal file
Binary file not shown.
BIN
src/assets/fonts/eot/IRANYekanWebRegular.eot
Normal file
BIN
src/assets/fonts/eot/IRANYekanWebRegular.eot
Normal file
Binary file not shown.
BIN
src/assets/fonts/ttf/IRANYekanWebBold.ttf
Normal file
BIN
src/assets/fonts/ttf/IRANYekanWebBold.ttf
Normal file
Binary file not shown.
BIN
src/assets/fonts/ttf/IRANYekanWebMedium.ttf
Normal file
BIN
src/assets/fonts/ttf/IRANYekanWebMedium.ttf
Normal file
Binary file not shown.
BIN
src/assets/fonts/ttf/IRANYekanWebRegular.ttf
Normal file
BIN
src/assets/fonts/ttf/IRANYekanWebRegular.ttf
Normal file
Binary file not shown.
BIN
src/assets/fonts/woff/IRANYekanWebBold.woff
Normal file
BIN
src/assets/fonts/woff/IRANYekanWebBold.woff
Normal file
Binary file not shown.
BIN
src/assets/fonts/woff/IRANYekanWebMedium.woff
Normal file
BIN
src/assets/fonts/woff/IRANYekanWebMedium.woff
Normal file
Binary file not shown.
BIN
src/assets/fonts/woff/IRANYekanWebRegular.woff
Normal file
BIN
src/assets/fonts/woff/IRANYekanWebRegular.woff
Normal file
Binary file not shown.
BIN
src/assets/fonts/woff2/IRANYekanWebBold.woff2
Normal file
BIN
src/assets/fonts/woff2/IRANYekanWebBold.woff2
Normal file
Binary file not shown.
BIN
src/assets/fonts/woff2/IRANYekanWebMedium.woff2
Normal file
BIN
src/assets/fonts/woff2/IRANYekanWebMedium.woff2
Normal file
Binary file not shown.
BIN
src/assets/fonts/woff2/IRANYekanWebRegular.woff2
Normal file
BIN
src/assets/fonts/woff2/IRANYekanWebRegular.woff2
Normal file
Binary file not shown.
@@ -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');
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user