mono Make font monospace (Default: false)Ĭopyright (c) 2014 Workshape.io Ltd. descent Offset applied to the baseline (Default: 0) round Setup SVG rounding (Default: 10e12) normalize Normalize icons sizes (Default: false) selector Use a selector instead of 'tag + prefix' (Default: null) t, -tag CSS base tag for icons (Default: i) p, -prefix CSS classname prefix for icons (Default: icon) jsonpath JSON output path (Defaults to /.json) j, -json Generate JSON map file if true (Default: true) htmltp HTML handlebars template path (Optional) types Font types - (Defaults to 'svg, ttf, woff, woff2, eot') htmlpath HTML output path (Defaults to /.html) Here you can easily choose a web-safe font from the dropdown. Finding the correct line to declare a CSS font is not always the easiest thing that is in top of people's head. Set the desired style for your text in the control panel and get your code instantly. html Generate HTML preview file if true (Default: true) Style your web text with this online font CSS generator. csstp CSS handlebars template path (Optional) cssfontsurl CSS fonts directory url (Defaults to relative path) csspath CSS output path (Defaults to /.css) c, -css Generate CSS file if true (Default: true) Remember to add the font in your WordPress theme or Html. You can choose any font from the Google fonts library just search the name. The next step is to choose the font from the dropdown. f, -fontspath Relative path to fonts directory to use in output files (Default. Add the text you want to generate css style for, this optional but I would advise you to add your text so you can check how the text actually looks. s, -silent Do not produce output logs other than errors (Default: false) n, -name Name to use for generated fonts and files (Default: icons) o, -out Output icon font set files to directory Use Quick usage icon-font-generator my-icons/*.svg -o icon-distĬli params Usage : icon-font-generator -o Įxample : icon-font-generator src/*.svg -o dist !! icon-font-generator v2.x.x >= requires Node.js >= v8.1.0 - is you wish to run on a lower version, use v1.1.2 Install npm install -g icon-font-generator !! If you're upgrading from v1.x.x to v2.x.x - here's the changelog and thoubleshooting: json file containing the icons to unicode characters map, which may be later used in styles, templates, etc. It also does a couple extra things such as creating a. This cli utility is ment to make webfont icon sets creation from the command line really simple - It wraps and pre-configures webfonts-generator, but allows for some degree of customisation. > Easy-to-use, pre-configured cli tool to generate webfont icon kits from a bunch of. ⚠️ This tool is deprecated in favour of its complete re-write - please use fantasticon instead
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |