Compare commits

...
13 Commits
Author SHA1 Message Date
Adam Bradley 560be6a5df do not auto-width animated icons 2013-11-15 13:19:13 -06:00
Adam Bradley aa72d6fec2 auto-width enabled, added ios7-close-empty 2013-11-14 10:20:30 -06:00
Adam Bradley 0ee2a4164b woof woff 2013-11-14 10:20:07 -06:00
Adam Bradley 1b9e40b929 v1.3.4 2013-11-14 10:19:46 -06:00
Max Lynch 7cbd168631 Turned woof into woff. Woof, woof 2013-11-08 12:50:09 -06:00
Ben Sperry e97eb07752 updated the "refresh" icon to look better when spinning 2013-11-08 10:48:33 -06:00
Ben Sperry 3ee6c3bcf4 updated close icon and added "close-empty" version 2013-11-08 08:55:22 -06:00
Adam Bradley cb0b555bc1 added ios7-close 2013-11-07 21:25:13 -06:00
Adam Bradley c0495b65b5 png files 2013-11-07 21:09:40 -06:00
Ben Sperry d0f58770cd added iOS 7 "close" icon 2013-11-07 21:08:25 -06:00
Adam Bradley 27a2783818 update generator to use use prefix for group 2013-11-07 20:53:58 -06:00
Adam Bradley 72428feb5e Merge pull request #35 from killercup/patch-1
Use Name Prefix For Base Style
2013-11-07 18:46:02 -08:00
Pascal 5207819363 Use Name Prefix For Base Style 2013-11-07 12:56:32 +01:00
464 changed files with 1946 additions and 2587 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
"test",
"tests"
],
"version": "1.3.2",
"version": "1.3.5",
"name": "Ionicons",
"license": "MIT",
"authors": [
+14 -2
View File
@@ -1,7 +1,7 @@
{
"build_hash": "76b440a661f5d99c6cb4fcb98f9f7dda",
"build_hash": "6720df1d45ed6c6639c66a398bfbea55",
"prefix": "ion-",
"version": "1.3.2",
"version": "1.3.5",
"name": "Ionicons",
"icons": [
{
@@ -624,6 +624,18 @@
"code": "0xf171",
"name": "ios7-clock-outline"
},
{
"code": "0xf2bc",
"name": "ios7-close"
},
{
"code": "0xf2bd",
"name": "ios7-close-empty"
},
{
"code": "0xf2bb",
"name": "ios7-close-outline"
},
{
"code": "0xf178",
"name": "ios7-cloud"
+2 -2
View File
@@ -57,7 +57,7 @@ def generate_scss(data):
group = [ '.%s' % (data['name'].lower()) ]
for ionicon in data['icons']:
group.append('.%s%s' % (css_prefix, ionicon['name']) )
group.append('.#{$ionicons-prefix}%s' % (ionicon['name']) )
d.append( ',\n'.join(group) )
@@ -150,7 +150,7 @@ def generate_component_json(data):
"fonts/%s.eot" % (data['name'].lower()),
"fonts/%s.svg" % (data['name'].lower()),
"fonts/%s.ttf" % (data['name'].lower()),
"fonts/%s.woof" % (data['name'].lower())
"fonts/%s.woff" % (data['name'].lower())
]
}
txt = json.dumps(d, indent=4, separators=(',', ': '))
+14 -2
View File
@@ -1,7 +1,7 @@
{
"build_hash": "fe84ca3ae75b9dbb9662bac01a7fc8a6",
"build_hash": "12febfa8c61b7232a63eed40ea673d0d",
"prefix": "ion-",
"version": "1.3.2",
"version": "1.3.5",
"name": "Ionicons",
"icons": [
{
@@ -624,6 +624,18 @@
"code": "0xf171",
"name": "ios7-clock-outline"
},
{
"code": "0xf2bc",
"name": "ios7-close"
},
{
"code": "0xf2bd",
"name": "ios7-close-empty"
},
{
"code": "0xf2bb",
"name": "ios7-close-outline"
},
{
"code": "0xf178",
"name": "ios7-cloud"
+4 -2
View File
@@ -11,8 +11,9 @@ INPUT_SVG_DIR = os.path.join(SCRIPT_PATH, '..', '..', 'src')
OUTPUT_FONT_DIR = os.path.join(SCRIPT_PATH, '..', '..', 'fonts')
MANIFEST_PATH = os.path.join(SCRIPT_PATH, '..', 'manifest.json')
BUILD_DATA_PATH = os.path.join(SCRIPT_PATH, '..', 'build_data.json')
AUTO_WIDTH = False
AUTO_WIDTH = True
KERNING = 15
STANDARD_WIDTH_ICONS = ['refresh', 'ios7-reload', 'load-a', 'load-b', 'load-c', 'load-d', 'loop']
cp = 0xf100
m = md5.new()
@@ -107,11 +108,12 @@ for dirname, dirnames, filenames in os.walk(INPUT_SVG_DIR):
os.unlink(tmpsvgfile.name)
# set glyph size explicitly or automatically depending on autowidth
if AUTO_WIDTH:
if AUTO_WIDTH and name not in STANDARD_WIDTH_ICONS:
glyph.left_side_bearing = glyph.right_side_bearing = 0
glyph.round()
else:
# force a manual size when autowidth is disabled
print " - Standard Width: %s" % (name)
glyph.width = 512
# resize glyphs if autowidth is enabled
+116 -2
View File
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>Ionicons v1.3.2 Cheatsheet</title>
<title>Ionicons v1.3.5 Cheatsheet</title>
<style>
* {
-moz-box-sizing: border-box;
@@ -142,7 +142,7 @@
<body>
<div class="container">
<header>
<h1>Ionicons v1.3.2 Cheatsheet, 443 icons:</h1>
<h1>Ionicons v1.3.5 Cheatsheet, 446 icons:</h1>
<p><a href="http://ionicons.com/">Ionicons Homepage</a></p>
</header>
<div class="content">
@@ -6036,6 +6036,120 @@
<input class="css" type="text" readonly="readonly" onClick="this.select();" value="\f171" />
</div>
</div>
<div class="icon-row">
<div class="preview-icon"><span class="step size-12">
<i class="icon ion-ios7-close"></i>
</span><span class="step size-14">
<i class="icon ion-ios7-close"></i>
</span><span class="step size-16">
<i class="icon ion-ios7-close"></i>
</span><span class="step size-18">
<i class="icon ion-ios7-close"></i>
</span><span class="step size-21">
<i class="icon ion-ios7-close"></i>
</span><span class="step size-24">
<i class="icon ion-ios7-close"></i>
</span><span class="step size-32">
<i class="icon ion-ios7-close"></i>
</span><span class="step size-48">
<i class="icon ion-ios7-close"></i>
</span><span class="step size-64">
<i class="icon ion-ios7-close"></i>
</span><span class="step size-96">
<i class="icon ion-ios7-close"></i>
</span>
</div>
<div class="preview-scale"><span class="step">12</span><span class="step">14</span><span class="step">16</span><span class="step">18</span><span class="step">21</span><span class="step">24</span><span class="step">32</span><span class="step">48</span><span class="step">64</span><span class="step">96</span></div>
<div class="usage">
<label>Classname:</label>
<input class="name" type="text" readonly="readonly" onClick="this.select();" value="ion-ios7-close" />
<label>Selectable:</label>
<span class="ion">&#xf2bc;</span>
<label>Escaped HTML:</label>
<input class="html" type="text" readonly="readonly" onClick="this.select();" value="&amp;#xf2bc;" />
<label>CSS Content:</label>
<input class="css" type="text" readonly="readonly" onClick="this.select();" value="\f2bc" />
</div>
</div>
<div class="icon-row">
<div class="preview-icon"><span class="step size-12">
<i class="icon ion-ios7-close-empty"></i>
</span><span class="step size-14">
<i class="icon ion-ios7-close-empty"></i>
</span><span class="step size-16">
<i class="icon ion-ios7-close-empty"></i>
</span><span class="step size-18">
<i class="icon ion-ios7-close-empty"></i>
</span><span class="step size-21">
<i class="icon ion-ios7-close-empty"></i>
</span><span class="step size-24">
<i class="icon ion-ios7-close-empty"></i>
</span><span class="step size-32">
<i class="icon ion-ios7-close-empty"></i>
</span><span class="step size-48">
<i class="icon ion-ios7-close-empty"></i>
</span><span class="step size-64">
<i class="icon ion-ios7-close-empty"></i>
</span><span class="step size-96">
<i class="icon ion-ios7-close-empty"></i>
</span>
</div>
<div class="preview-scale"><span class="step">12</span><span class="step">14</span><span class="step">16</span><span class="step">18</span><span class="step">21</span><span class="step">24</span><span class="step">32</span><span class="step">48</span><span class="step">64</span><span class="step">96</span></div>
<div class="usage">
<label>Classname:</label>
<input class="name" type="text" readonly="readonly" onClick="this.select();" value="ion-ios7-close-empty" />
<label>Selectable:</label>
<span class="ion">&#xf2bd;</span>
<label>Escaped HTML:</label>
<input class="html" type="text" readonly="readonly" onClick="this.select();" value="&amp;#xf2bd;" />
<label>CSS Content:</label>
<input class="css" type="text" readonly="readonly" onClick="this.select();" value="\f2bd" />
</div>
</div>
<div class="icon-row">
<div class="preview-icon"><span class="step size-12">
<i class="icon ion-ios7-close-outline"></i>
</span><span class="step size-14">
<i class="icon ion-ios7-close-outline"></i>
</span><span class="step size-16">
<i class="icon ion-ios7-close-outline"></i>
</span><span class="step size-18">
<i class="icon ion-ios7-close-outline"></i>
</span><span class="step size-21">
<i class="icon ion-ios7-close-outline"></i>
</span><span class="step size-24">
<i class="icon ion-ios7-close-outline"></i>
</span><span class="step size-32">
<i class="icon ion-ios7-close-outline"></i>
</span><span class="step size-48">
<i class="icon ion-ios7-close-outline"></i>
</span><span class="step size-64">
<i class="icon ion-ios7-close-outline"></i>
</span><span class="step size-96">
<i class="icon ion-ios7-close-outline"></i>
</span>
</div>
<div class="preview-scale"><span class="step">12</span><span class="step">14</span><span class="step">16</span><span class="step">18</span><span class="step">21</span><span class="step">24</span><span class="step">32</span><span class="step">48</span><span class="step">64</span><span class="step">96</span></div>
<div class="usage">
<label>Classname:</label>
<input class="name" type="text" readonly="readonly" onClick="this.select();" value="ion-ios7-close-outline" />
<label>Selectable:</label>
<span class="ion">&#xf2bb;</span>
<label>Escaped HTML:</label>
<input class="html" type="text" readonly="readonly" onClick="this.select();" value="&amp;#xf2bb;" />
<label>CSS Content:</label>
<input class="css" type="text" readonly="readonly" onClick="this.select();" value="\f2bb" />
</div>
</div>
<div class="icon-row">
<div class="preview-icon"><span class="step size-12">
<i class="icon ion-ios7-cloud"></i>
+2 -2
View File
@@ -1,7 +1,7 @@
{
"repo": "driftyco/ionicons",
"development": {},
"version": "1.3.2",
"version": "1.3.5",
"styles": [
"css/ionicons.css"
],
@@ -13,7 +13,7 @@
"fonts/ionicons.eot",
"fonts/ionicons.svg",
"fonts/ionicons.ttf",
"fonts/ionicons.woof"
"fonts/ionicons.woff"
],
"description": "The premium icon font for Ionic Framework."
}
+16 -4
View File
@@ -1,13 +1,13 @@
/*!
Ionicons, v1.3.2
/*
Ionicons, v1.3.5
Created by Ben Sperry for the Ionic Framework, http://ionicons.com/
https://twitter.com/helloimben https://twitter.com/ionicframework
MIT License: https://github.com/driftyco/ionicons
*/
@font-face {
font-family: "Ionicons";
src: url("../fonts/ionicons.eot?v=1.3.2");
src: url("../fonts/ionicons.eot?v=1.3.2#iefix") format("embedded-opentype"), url("../fonts/ionicons.ttf?v=1.3.2") format("truetype"), url("../fonts/ionicons.woff?v=1.3.2") format("woff"), url("../fonts/ionicons.svg?v=1.3.2#Ionicons") format("svg");
src: url("../fonts/ionicons.eot?v=1.3.5");
src: url("../fonts/ionicons.eot?v=1.3.5#iefix") format("embedded-opentype"), url("../fonts/ionicons.ttf?v=1.3.5") format("truetype"), url("../fonts/ionicons.woff?v=1.3.5") format("woff"), url("../fonts/ionicons.svg?v=1.3.5#Ionicons") format("svg");
font-weight: normal;
font-style: normal; }
@@ -173,6 +173,9 @@
.ion-ios7-circle-outline,
.ion-ios7-clock,
.ion-ios7-clock-outline,
.ion-ios7-close,
.ion-ios7-close-empty,
.ion-ios7-close-outline,
.ion-ios7-cloud,
.ion-ios7-cloud-download,
.ion-ios7-cloud-download-outline,
@@ -984,6 +987,15 @@
.ion-ios7-clock-outline:before {
content: "\f171"; }
.ion-ios7-close:before {
content: "\f2bc"; }
.ion-ios7-close-empty:before {
content: "\f2bd"; }
.ion-ios7-close-outline:before {
content: "\f2bb"; }
.ion-ios7-cloud:before {
content: "\f178"; }
+3 -3
View File
File diff suppressed because one or more lines are too long
Binary file not shown.
+1263 -2120
View File
File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 387 KiB

After

Width:  |  Height:  |  Size: 198 KiB

Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Executable
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Some files were not shown because too many files have changed in this diff Show More