Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
560be6a5df | ||
|
|
aa72d6fec2 | ||
|
|
0ee2a4164b | ||
|
|
1b9e40b929 | ||
|
|
7cbd168631 | ||
|
|
e97eb07752 | ||
|
|
3ee6c3bcf4 | ||
|
|
cb0b555bc1 | ||
|
|
c0495b65b5 | ||
|
|
d0f58770cd | ||
|
|
27a2783818 | ||
|
|
72428feb5e | ||
|
|
5207819363 |
@@ -7,7 +7,7 @@
|
||||
"test",
|
||||
"tests"
|
||||
],
|
||||
"version": "1.3.2",
|
||||
"version": "1.3.5",
|
||||
"name": "Ionicons",
|
||||
"license": "MIT",
|
||||
"authors": [
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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=(',', ': '))
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"></span>
|
||||
|
||||
<label>Escaped HTML:</label>
|
||||
<input class="html" type="text" readonly="readonly" onClick="this.select();" value="&#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"></span>
|
||||
|
||||
<label>Escaped HTML:</label>
|
||||
<input class="html" type="text" readonly="readonly" onClick="this.select();" value="&#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"></span>
|
||||
|
||||
<label>Escaped HTML:</label>
|
||||
<input class="html" type="text" readonly="readonly" onClick="this.select();" value="&#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>
|
||||
|
||||
@@ -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."
|
||||
}
|
||||
@@ -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"; }
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 387 KiB After Width: | Height: | Size: 198 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 8.9 KiB |
|
After Width: | Height: | Size: 8.7 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 8.5 KiB |
|
After Width: | Height: | Size: 9.9 KiB |
|
After Width: | Height: | Size: 9.4 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 8.4 KiB |
|
After Width: | Height: | Size: 8.4 KiB |
|
After Width: | Height: | Size: 8.1 KiB |
|
After Width: | Height: | Size: 8.5 KiB |
|
After Width: | Height: | Size: 9.6 KiB |
|
After Width: | Height: | Size: 9.7 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 9.2 KiB |
|
After Width: | Height: | Size: 9.0 KiB |
|
After Width: | Height: | Size: 8.5 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 9.9 KiB |
|
After Width: | Height: | Size: 7.8 KiB |
|
After Width: | Height: | Size: 7.4 KiB |
|
After Width: | Height: | Size: 8.9 KiB |
|
After Width: | Height: | Size: 9.0 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 9.7 KiB |
|
After Width: | Height: | Size: 8.8 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 8.8 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 9.6 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 9.0 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 8.2 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 5.5 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 9.3 KiB |
|
After Width: | Height: | Size: 13 KiB |