https://github.com/coderwelsch/icon-font-exporter
π Sketch Plugin. Export own icon fonts easily to icon fonts for the web. Supports config files.
https://github.com/coderwelsch/icon-font-exporter
Last synced: 7 days ago
JSON representation
π Sketch Plugin. Export own icon fonts easily to icon fonts for the web. Supports config files.
- Host: GitHub
- URL: https://github.com/coderwelsch/icon-font-exporter
- Owner: Coderwelsch
- License: mit
- Created: 2020-05-25T08:38:17.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-11T17:00:05.000Z (over 3 years ago)
- Last Synced: 2025-02-23T01:36:09.612Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 815 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README

# Icon Font Exporter
Plugin that lets you export your designed icons to a web icon font.
Psstβ¦ Itβs developer friendly! You can define `.sketchconfig.json` files for each Sketch project π β¦
## Installation
- [Download](../../releases/latest/download/icon-font-exporter.sketchplugin.zip) the latest release of the plugin
- Un-zip
- Double-click on icon-font-exporter.sketchplugin
## Using `.sketchconfig.json` Configuration
You can create a `.sketchconfig.json` file in the same directory as your sketch mockup, if you want to store and adjust the behaviour of the plugin. Currently it is limited to some basic options.
Folder Structure:
- `YourDesigns.sketch`
- `.sketchconfig.json`
### Example `.sketchconfig.json` config:
```js
{
"plugins": {
"icon-font-exporter": { // selector/name of the plugin (itβs like a namespaces
"pageName": "Icons", // name of the page in Sketch containing your icon artboards
"output": "/Users/YOUR_USER/your_website.com/src/webfonts/" // Output folder (example)
}
}
}
```
## Development Guide
_This plugin was created using `skpm`. For a detailed explanation on how things work, checkout the [skpm Readme](https://github.com/skpm/skpm/blob/master/README.md)._
### Usage
Install the dependencies
```bash
npm install
```
Once the installation is done, you can run some commands inside the project folder:
```bash
npm run build
```
To watch for changes:
```bash
npm run watch
```
Additionally, if you wish to run the plugin every time it is built:
```bash
npm run start
```