Skip to content

Commit

Permalink
file extensions changed
Browse files Browse the repository at this point in the history
  • Loading branch information
keremciu committed May 9, 2016
1 parent 42b72bc commit 312d084
Show file tree
Hide file tree
Showing 14 changed files with 37 additions and 36 deletions.
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
.DS_Store
iconfont.sketchplugin/Contents/Sketch/manifest.json
/iconfont.sketchplugin/Contents/Sketch/manifest.json
iconfont.sketchplugin/Contents/Resources/bundle/*
iconfont.sketchplugin/Contents/Resources/bundle/*
19 changes: 11 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
[![Latest Version](https://img.shields.io/github/release/keremciu/sketch-iconfont.svg?style=flat-square)](https://github.com/keremciu/sketch-iconfont/releases)
[![Join the chat at https://gitter.im/keremciu/sketch-iconfont](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/keremciu/sketch-iconfont?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

### New Feature - 29 April 2016
![demo][demo-image]

Your teammates don't have your icon-fonts? don't worry now you can convert all icons with one command then share it.

[demo-image]: http://g.recordit.co/TU3az70acC.gif

## Use Icon Fonts in Sketch

This plugin helps you easily insert and manage icons from icon fonts - such as FontAwesome, Ion or Material Design Icons - in your Sketch designs.
Expand All @@ -13,12 +20,12 @@ The plugin itself has no font built-in. You will need to download and install th
### - Features
###### Why you need to use it

> `For The Designer:`
> `For The Designer:`
> When a designer wants to add an icon from an icon font - such as material design, fontawesome, etc. - they usually need to find a cheatsheet containing all the font's icons, and then manually copy+paste each one they wish to use into their design - or use a third-party application. Time consuming and cumbersome.
- You can now easily view and add any icon directly Sketch!

> `For The Developer:`
> `For The Developer:`
> When a developer wants to find out the name of an icon that was used by the Designer, they need to search through a lengthy list of icons, until they find it. Time consuming and cumbersome.
- You can now easily find out an icon's name directly in Sketch, without needing to perform a search!
Expand All @@ -30,7 +37,7 @@ The plugin itself has no font built-in. You will need to download and install th
### Using Sketch Toolbox

1. Install 'Sketch Iconfont' plugin directly from Sketch Toolbox.
2. Install a font containing an svg font file, or install a font bundle - such as the one provided here: https://github.com/keremciu/font-bundles
2. Install a font containing an svg font file, or install a font bundle - such as the one provided here: https://github.com/keremciu/font-bundles

### Manually

Expand All @@ -41,7 +48,7 @@ The plugin itself has no font built-in. You will need to download and install th
=======

### - Documentation
###### Its a little documentation about commands
###### Its a little documentation about commands

Command | Description
----------------------- | -----------------------------------------------------------------------------------------------
Expand All @@ -55,11 +62,7 @@ HTML of Selected Icon | To use an icon on web or mobile, select it and use thi

### - Minimum Dependencies

<<<<<<< HEAD
- OSX El Capitan.
=======
- OSX El Capitan & Yosemite ([#44](https://github.com/keremciu/sketch-iconfont/issues/44))
>>>>>>> 89a08fae005b6db0c5fbe0fa244fe0420e1304f3
- Sketch 3.4.4.

You can follow me on twitter to get updates.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "const/library.cocoascript";
@import "const/library.js";

var onRun = function(context) {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "const/library.cocoascript";
@import "const/library.js";

var handleFont = function(context) {
var handler = context.command.name()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "library.cocoascript";
@import "library.js";

var onRun = function(context) {

Expand Down Expand Up @@ -54,4 +54,4 @@ var onRun = function(context) {
// if (response == NSOKButton) {

// }
};
};
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "library.cocoascript";
@import "library.js";

var onRun = function(context) {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "library.cocoascript";
@import "library.js";

var onRun = function(context) {

Expand Down Expand Up @@ -91,4 +91,4 @@ var onRun = function(context) {
Library.create.file(manifest,manifestPath)

doc.showMessage("You've installed it, now go for it: Plugins > Icon Font > Grid Insert")
};
};

This file was deleted.

1 change: 1 addition & 0 deletions iconfont.sketchplugin/Contents/Sketch/const/remove.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "const/library.cocoascript";
@import "const/library.js";

var onRun = function(context) {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "const/library.cocoascript"
@import "const/library.js"

var onRun = function(context) {

Expand Down
16 changes: 8 additions & 8 deletions iconfont.sketchplugin/Contents/Sketch/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,46 +2,46 @@
"author" : "Kerem Sevencan",
"commands" : [
{
"script" : "convert.cocoascript",
"script" : "convert.js",
"handler" : "onRun",
"shortcut" : "cmd ctrl l",
"name" : "Convert Icons [Outlines]",
"identifier" : "convert"
},
{
"script" : "learn.cocoascript",
"script" : "learn.js",
"handler" : "onRun",
"shortcut" : "cmd ctrl u",
"name" : "HTML of Selected Icon",
"identifier" : "learn"
},
{
"script" : "add.cocoascript",
"script" : "add.js",
"handler" : "onRun",
"shortcut" : "cmd ctrl i",
"name" : "Name Insert",
"identifier" : "add"
},
{
"script" : "const/install.cocoascript",
"script" : "const/install.js",
"handler" : "onRun",
"name" : "Install a Font-Bundle",
"identifier" : "install"
},
{
"script" : "const/export.cocoascript",
"script" : "const/export.js",
"handler" : "onRun",
"name" : "Export your Font-Bundle",
"identifier" : "export"
},
{
"script" : "const/import.cocoascript",
"script" : "const/import.js",
"handler" : "onRun",
"name" : "Install a Font",
"identifier" : "import"
},
{
"script" : "const/remove.cocoascript",
"script" : "const/remove.js",
"handler" : "onRun",
"name" : "Remove a Font",
"identifier" : "remove"
Expand All @@ -55,7 +55,7 @@
]
},
"identifier" : "com.keremciu.sketch.iconfont",
"version" : "3.3.0",
"version" : "3.3.1",
"description" : "Use icon-fonts like a boss.",
"name" : "Icon Font",
"authorEmail" : "info@kerem.ws"
Expand Down
14 changes: 7 additions & 7 deletions iconfont.sketchplugin/Contents/Sketch/structure.json
Original file line number Diff line number Diff line change
@@ -1,46 +1,46 @@
{
"commands" : [
{
"script" : "learn.cocoascript",
"script" : "learn.js",
"handler" : "onRun",
"shortcut" : "cmd ctrl u",
"name" : "HTML of Selected Icon",
"identifier" : "learn"
},
{
"script" : "convert.cocoascript",
"script" : "convert.js",
"handler" : "onRun",
"shortcut" : "cmd ctrl u",
"name" : "Convert Icons [Outlines]",
"identifier" : "convert"
},
{
"script" : "add.cocoascript",
"script" : "add.js",
"handler" : "onRun",
"shortcut" : "cmd ctrl i",
"name" : "Name Insert",
"identifier" : "add"
},
{
"script" : "const/install.cocoascript",
"script" : "const/install.js",
"handler" : "onRun",
"name" : "Install a Font-Bundle",
"identifier" : "install"
},
{
"script" : "const/export.cocoascript",
"script" : "const/export.js",
"handler" : "onRun",
"name" : "Export your Font-Bundle",
"identifier" : "export"
},
{
"script" : "const/import.cocoascript",
"script" : "const/import.js",
"handler" : "onRun",
"name" : "Install a Font",
"identifier" : "import"
},
{
"script" : "const/remove.cocoascript",
"script" : "const/remove.js",
"handler" : "onRun",
"name" : "Remove a Font",
"identifier" : "remove"
Expand Down

0 comments on commit 312d084

Please sign in to comment.