Compare commits

...
6 Commits
16 changed files with 294 additions and 255 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
"test",
"tests"
],
"version": "1.3.4",
"version": "1.3.6",
"name": "Ionicons",
"license": "MIT",
"authors": [
+2 -2
View File
@@ -1,7 +1,7 @@
{
"build_hash": "283bffe80f9777d67627afcd6d170661",
"build_hash": "86bb51843570cc8986fd6bd675c10071",
"prefix": "ion-",
"version": "1.3.4",
"version": "1.3.6",
"name": "Ionicons",
"icons": [
{
+2 -2
View File
@@ -1,7 +1,7 @@
{
"build_hash": "6720df1d45ed6c6639c66a398bfbea55",
"build_hash": "8db8ae6fbd314cd1b43058781ec5848f",
"prefix": "ion-",
"version": "1.3.4",
"version": "1.3.6",
"name": "Ionicons",
"icons": [
{
+3 -2
View File
@@ -13,6 +13,7 @@ MANIFEST_PATH = os.path.join(SCRIPT_PATH, '..', 'manifest.json')
BUILD_DATA_PATH = os.path.join(SCRIPT_PATH, '..', 'build_data.json')
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()
@@ -34,7 +35,6 @@ build_data['icons'] = []
font_name = manifest_data['name']
m.update(font_name + ';')
m.update(manifest_data['version'] + ';')
m.update(manifest_data['prefix'] + ';')
for dirname, dirnames, filenames in os.walk(INPUT_SVG_DIR):
@@ -107,11 +107,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
+2 -2
View File
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>Ionicons v1.3.4 Cheatsheet</title>
<title>Ionicons v1.3.6 Cheatsheet</title>
<style>
* {
-moz-box-sizing: border-box;
@@ -142,7 +142,7 @@
<body>
<div class="container">
<header>
<h1>Ionicons v1.3.4 Cheatsheet, 446 icons:</h1>
<h1>Ionicons v1.3.6 Cheatsheet, 446 icons:</h1>
<p><a href="http://ionicons.com/">Ionicons Homepage</a></p>
</header>
<div class="content">
+1 -1
View File
@@ -1,7 +1,7 @@
{
"repo": "driftyco/ionicons",
"development": {},
"version": "1.3.4",
"version": "1.3.6",
"styles": [
"css/ionicons.css"
],
+9 -3
View File
@@ -1,13 +1,13 @@
/*!
Ionicons, v1.3.4
Ionicons, v1.3.6
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.4");
src: url("../fonts/ionicons.eot?v=1.3.4#iefix") format("embedded-opentype"), url("../fonts/ionicons.ttf?v=1.3.4") format("truetype"), url("../fonts/ionicons.woff?v=1.3.4") format("woff"), url("../fonts/ionicons.svg?v=1.3.4#Ionicons") format("svg");
src: url("../fonts/ionicons.eot?v=1.3.6");
src: url("../fonts/ionicons.eot?v=1.3.6#iefix") format("embedded-opentype"), url("../fonts/ionicons.ttf?v=1.3.6") format("truetype"), url("../fonts/ionicons.woff?v=1.3.6") format("woff"), url("../fonts/ionicons.svg?v=1.3.6#Ionicons") format("svg");
font-weight: normal;
font-style: normal; }
@@ -471,6 +471,7 @@
font-weight: normal;
font-variant: normal;
text-transform: none;
text-rendering: auto;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; }
@@ -522,6 +523,11 @@
100% {
transform: rotate(359deg); } }
.ion-loading-a {
-webkit-animation-timing-function: steps(8, start);
-moz-animation-timing-function: steps(8, start);
animation-timing-function: steps(8, start); }
.ion-alert:before {
content: "\f101"; }
+2 -2
View File
File diff suppressed because one or more lines are too long
Binary file not shown.
+262 -237
View File
File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 192 KiB

After

Width:  |  Height:  |  Size: 198 KiB

Binary file not shown.
Binary file not shown.
+2 -2
View File
@@ -14,8 +14,8 @@ We intend for this icon pack to be used with [Ionic](http://ionicframework.com/)
1. Download and extract the font pack
2. Copy the `ionicons.css` to your project
3. Copy the `font` folder to your project
4. Ensure the font urls within `ionicons.css` properly reference the `font` path within your project.
3. Copy the `fonts` folder to your project
4. Ensure the font urls within `ionicons.css` properly reference the `fonts` path within your project.
5. Include a reference to the `ionicons.css` file from every webpage you need to use it.
Or install with [component](https://github.com/component/component):
+6
View File
@@ -41,6 +41,12 @@
@extend .#{$ionicons-prefix}spin;
}
.#{$ionicons-prefix}loading-a {
-webkit-animation-timing-function: steps(8, start);
-moz-animation-timing-function: steps(8, start);
animation-timing-function: steps(8, start);
}
.#{$ionicons-prefix}loading-a:before {
@extend .#{$ionicons-prefix}load-a:before;
}
+1
View File
@@ -20,6 +20,7 @@
font-weight: normal;
font-variant: normal;
text-transform: none;
text-rendering: auto;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
+1 -1
View File
@@ -3,7 +3,7 @@
$ionicons-font-path: "../fonts" !default;
$ionicons-font-family: "Ionicons" !default;
$ionicons-version: "1.3.4" !default;
$ionicons-version: "1.3.6" !default;
$ionicons-prefix: ion- !default;
$ionicon-var-alert: "\f101";