typeface-vazir
v1.0.1
Published
Easy to use font family
Downloads
13
Readme
Typeface package for Vazir font
npm i -S typeface-vazir
Fonts will be copied to node_modules/typeface-vazir/dist directory and you could add them easily to your project :
import 'typeface-vazir';
and use font-family: 'Vazir'
in your styling.
we used to do this with :
/* font converted using font-converter.net. thank you! */
@font-face {
font-family: 'Vazir';
src: url('./dist/Vazir-Thin-FD.woff') format('woff'), url('./dist/Vazir-Thin-FD.eot') format('eot'), url('./dist/Vazir-Thin-FD.ttf') format('truetype');
font-weight: 300
}
todo :
Make better decision between font weights currently 300,400,600,800 are supported