mirror of
https://github.com/ionic-team/ionicons.git
synced 2026-12-04 17:24:01 +01:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d4ccb8fde3 | ||
|
|
98339dfbfd | ||
|
|
591f013dd4 | ||
|
|
0dbe98229f | ||
|
|
0b1f3fdeae | ||
|
|
560be6a5df |
+1
-1
@@ -7,7 +7,7 @@
|
||||
"test",
|
||||
"tests"
|
||||
],
|
||||
"version": "1.3.4",
|
||||
"version": "1.3.6",
|
||||
"name": "Ionicons",
|
||||
"license": "MIT",
|
||||
"authors": [
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"build_hash": "283bffe80f9777d67627afcd6d170661",
|
||||
"build_hash": "86bb51843570cc8986fd6bd675c10071",
|
||||
"prefix": "ion-",
|
||||
"version": "1.3.4",
|
||||
"version": "1.3.6",
|
||||
"name": "Ionicons",
|
||||
"icons": [
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"build_hash": "6720df1d45ed6c6639c66a398bfbea55",
|
||||
"build_hash": "8db8ae6fbd314cd1b43058781ec5848f",
|
||||
"prefix": "ion-",
|
||||
"version": "1.3.4",
|
||||
"version": "1.3.6",
|
||||
"name": "Ionicons",
|
||||
"icons": [
|
||||
{
|
||||
|
||||
@@ -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
@@ -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
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"repo": "driftyco/ionicons",
|
||||
"development": {},
|
||||
"version": "1.3.4",
|
||||
"version": "1.3.6",
|
||||
"styles": [
|
||||
"css/ionicons.css"
|
||||
],
|
||||
|
||||
+9
-3
@@ -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"; }
|
||||
|
||||
|
||||
Vendored
+2
-2
File diff suppressed because one or more lines are too long
Binary file not shown.
+262
-237
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.
@@ -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):
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user