Skip to content
프로젝트

liaohuqiu/icon-font-for-multiple-platforms

GitHub에서 보기

소개

Extra icons from Sketch file, generate font files, demos how to use font files on Web, iOS and Android.

웹 및 앱 개발

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Using icon font for multiple platforms

This project can make icon font files from Sketch file.

These font files can be used in Web, Android and iOS.

This project also demos how to use the font files on these platforms.

Thank you @Okernel for making this feature image:

Requirements

  • Mac
  • Sketch
  • npm

How to use

  1. Clone or download this project

  2. Install

    sh manage.sh install

  3. Make icon font from Sketch file

    sh manage.sh make
    

    cube-icons-sample.sketch is a sample Sketch file, you can change your own one.

  4. See what we have

    1. Web

      You can open samples/web/index.html in your browser, then you will see all the icons.

      You also can open it by:

      sh manage.sh open
      
    2. iOS project

      You can open XCode sample proejct under dirctory: samples/ios

    3. Android proejct

      You can open Android Studio sample proejct under dirctory: samples/android

Customize

  1. You can edit gulpfile.js to:

    1. Use you own Sketch icon file.

    2. Change the name of the icon files.

    3. Change the css class name.

    4. Other things you want.

  2. All the files under dirctory dist/ are generated by gulpfile.js according the file under dirctory '/templates'

    If can customize your own template files if you want.

License

MIT

Thanks

  1. This project is mainly based on https://github.com/cognitom/symbols-for-sketch.

  2. @Okernel's beautiful feature image.

    https://github.com/liaohuqiu/icon-font-for-multiple-platforms/issues/1

관련 프로젝트 살펴보기

불러오는 중…