itsm-icons
v1.0.0
Published
Repository with icons for ITSM project
Downloads
4
Readme
ITSM Icons
Чтоб установить зависимости выполните:
npm install
npm run build
Иконки должны находиться в папке:
assets/svg
Чтоб проверить шрифт откройте:
dst/template.html
Для запуска нового билда выполните:
npm run build
Чтоб залить в репозиторий новую версию иконок выполните:
Запускать команду только когда вы изменяли сами иконки!!!
npm run publish
Preparing SVG's
Beware that your SVG icons must have a high enough height. 500 is a minimum. If
you do not want to resize them, you can try to combine the fontHeight
and
the normalize
option to get them in a correct size.
Inkscape
Degroup every shapes (Ctrl+Shift+G), convert to pathes (Ctrl+Maj+C) and merge them (Ctrl++). Then save your SVG, prefer 'simple SVG' file type.
Illustrator
Save your file as SVG with the following settings:
- SVG Profiles: SVG 1.1
- Fonts Type: SVG
- Fonts Subsetting: None
- Options Image Location: Embed
- Advanced Options
- CSS Properties: Presentation Attributes
- Decimal Places: 1
- Encoding: UTF-8
- Output fewer elements: check
Leave the rest unchecked.
More in-depth information: http://www.adobe.com/inspire/2013/09/exporting-svg-illustrator.html